forked from urxp/dRally
-
Notifications
You must be signed in to change notification settings - Fork 3
/
___28470h.c
38 lines (31 loc) · 1.11 KB
/
___28470h.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include "drally.h"
extern __BYTE__ ___1a1ee4h[];
#define CARENCS ___185cbch
extern __DWORD__ ___185cbch[][0x40];
extern __POINTER__ ___1a01b8h[6];
extern __BYTE__ ___1a1ed0h[];
void ___2ab50h(void);
void ___259e0h_cdecl(int dx, int dy, int aFrameIdx, __POINTER__ aEncoded, int * aOffsets);
// SHOP PREV/NEXT CAR FRAME ARROW ANIMATION
void ___28470h(void){
___2ab50h();
___2ab50h();
___259e0h_cdecl(0x10, 0x8d, D(___1a1ed0h), ___1a01b8h[D(___1a1ee4h)], CARENCS[D(___1a1ee4h)]);
D(___1a1ed0h)++;
if((int)D(___1a1ed0h) > 0x3f) D(___1a1ed0h) = 0;
___2ab50h();
___2ab50h();
___259e0h_cdecl(0x10, 0x8d, D(___1a1ed0h), ___1a01b8h[D(___1a1ee4h)], CARENCS[D(___1a1ee4h)]);
D(___1a1ed0h)++;
if((int)D(___1a1ed0h) > 0x3f) D(___1a1ed0h) = 0;
___2ab50h();
___2ab50h();
___259e0h_cdecl(0x10, 0x8d, D(___1a1ed0h), ___1a01b8h[D(___1a1ee4h)], CARENCS[D(___1a1ee4h)]);
D(___1a1ed0h)++;
if((int)D(___1a1ed0h) > 0x3f) D(___1a1ed0h) = 0;
___2ab50h();
___2ab50h();
___259e0h_cdecl(0x10, 0x8d, D(___1a1ed0h), ___1a01b8h[D(___1a1ee4h)], CARENCS[D(___1a1ee4h)]);
D(___1a1ed0h)++;
if((int)D(___1a1ed0h) > 0x3f) D(___1a1ed0h) = 0;
}