-
Notifications
You must be signed in to change notification settings - Fork 13
/
___13bd4h.c
34 lines (24 loc) · 909 Bytes
/
___13bd4h.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
#include "drally.h"
#define COOXY(x,y) (0x280*(y)+(x))
#define COO14UV(u,v) (0x14*(v)+(u))
extern __BYTE__ * ___1a112ch__VESA101_ACTIVESCREEN_PTR;
extern __BYTE__ ___1a1e68h[];
extern __BYTE__ * ___1a10f4h;
void ___1398ch__VESA101_PRESENTRECTANGLE(__DWORD__ offset, __POINTER__ src, __DWORD__ w, __DWORD__ h);
void ___13bd4h_cdecl(__DWORD__ A1, __DWORD__ A2){
__DWORD__ m, n;
__BYTE__ * cursor;
__BYTE__ pix;
n = -1;
while(++n < 0x14) memset(&___1a112ch__VESA101_ACTIVESCREEN_PTR[COOXY(A1, A2+n)], 0xc4, 0x14);
cursor = &___1a10f4h[400*D(___1a1e68h)];
n = -1;
while(++n < 0x14){
m = -1;
while(++m < 0x14){
if((pix = cursor[COO14UV(m, n)])) ___1a112ch__VESA101_ACTIVESCREEN_PTR[COOXY(A1+m, A2+n)] = pix;
}
}
___1398ch__VESA101_PRESENTRECTANGLE(COOXY(A1, A2), &___1a112ch__VESA101_ACTIVESCREEN_PTR[COOXY(A1, A2)], 0x14, 0x14);
if(++D(___1a1e68h) > 0x31) D(___1a1e68h) = 0;
}