1 | .text:00403C7D loc_403C7D: ; CODE XREF: moveCamera+22Cj
|
---|
2 | .text:00403C7D mov eax, _vars
|
---|
3 | .text:00403C82 mov edx, camera__accel_x
|
---|
4 | .text:00403C88 mov ebx, camera__accel_y
|
---|
5 | .text:00403C8E mov ebp, eax
|
---|
6 | .text:00403C90 mov ecx, [eax+1E8h]
|
---|
7 | .text:00403C96 mov esi, 100
|
---|
8 | .text:00403C9B add edx, ecx
|
---|
9 | .text:00403C9D mov camera__accel_x, edx
|
---|
10 | .text:00403CA3 mov ecx, [eax+1ECh]
|
---|
11 | .text:00403CA9 mov eax, edx
|
---|
12 | .text:00403CAB cdq
|
---|
13 | .text:00403CAC idiv esi
|
---|
14 | .text:00403CAE add ebx, ecx
|
---|
15 | .text:00403CB0 mov camera__accel_y, ebx
|
---|
16 | .text:00403CB6 add [ebp+1E0h], eax
|
---|
17 | .text:00403CBC mov ebp, _vars
|
---|
18 | .text:00403CC2 mov eax, camera__accel_y
|
---|
19 | .text:00403CC7 cdq
|
---|
20 | .text:00403CC8 idiv esi
|
---|
21 | .text:00403CCA add [ebp+1E4h], eax
|
---|
22 | .text:00403CD0 mov eax, _vars
|
---|
23 | .text:00403CD5 mov esi, [eax+1E0h]
|
---|
24 | .text:00403CDB add eax, 1E0h
|
---|
25 | .text:00403CE0 cmp esi, 8
|
---|
26 | .text:00403CE3 jle short loc_403CEB
|
---|
27 | .text:00403CE5 mov dword ptr [eax], 8
|
---|
28 | .text:00403CEB
|
---|
29 | .text:00403CEB loc_403CEB: ; CODE XREF: moveCamera+2C3j
|
---|
30 | .text:00403CEB mov eax, _vars
|
---|
31 | .text:00403CF0 mov ecx, [eax+1E4h]
|
---|
32 | .text:00403CF6 add eax, 1E4h
|
---|
33 | .text:00403CFB cmp ecx, 8
|
---|
34 | .text:00403CFE jle short loc_403D06
|
---|
35 | .text:00403D00 mov dword ptr [eax], 8
|
---|
36 | .text:00403D06
|
---|
37 | .text:00403D06 loc_403D06: ; CODE XREF: moveCamera+258j
|
---|
38 | .text:00403D06 ; moveCamera+2DEj
|
---|