client/game/bbr.dll/lifted-0038.c (2197751B)
1 #define RECOMP_GENERATED_CODE 2 #include "recomp_types.h" 3 #include <math.h> 4 #include <stdio.h> 5 #include <stdlib.h> 6 #include <string.h> 7 8 void sub_250A7300(void) { 9 int _fpu_cmp = 0; 10 uint32_t _cf = 0; 11 int _df = 1; 12 uint32_t _flag_k = FK_NONE; 13 uint32_t _flag_a = 0, _flag_b = 0; 14 uint32_t _itail_tgt = 0; 15 RECOMP_REGS_LOCALS 16 RECOMP_ENTER(0x250A7300u); 17 18 L_250A7300: 19 SET_LO8(ecx, MEM8(0x25238598)); /* 0x250A7300: mov cl, byte ptr [0x25238598] */ 20 SET_LO8(eax, 1); /* 0x250A7306: mov al, 1 */ 21 /* test LO8(eax), LO8(ecx) */ /* 0x250A7308: test al, cl */ 22 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 23 _cf = 0; 24 _flag_k = FK_NARROW(FK_TEST, 24); 25 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A731E; /* 0x250A730A: jne 0x250a731e */ 26 L_250A730C: 27 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 28 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x250A730C: or cl, al */ 29 _cf = 0; 30 _flag_k = FK_NARROW(FK_TEST, 24); 31 MEM8(0x25238598) = (uint8_t)(LO8(ecx)); /* 0x250A730E: mov byte ptr [0x25238598], cl */ 32 ecx = 0x252385A0u; /* 0x250A7314: mov ecx, 0x252385a0 */ 33 goto L_250A7320; /* 0x250A7319: jmp 0x250a7320 */ 34 L_250A731E: 35 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A731E: ret */ 36 L_250A7320: 37 PUSH32(esp, ebp); /* 0x250A7320: push ebp */ 38 ebp = esp; /* 0x250A7321: mov ebp, esp */ 39 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 40 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41 esp = esp - 8; /* 0x250A7323: sub esp, 8 */ 42 _flag_k = FK_CMP; 43 PUSH32(esp, ebx); /* 0x250A7326: push ebx */ 44 PUSH32(esp, esi); /* 0x250A7327: push esi */ 45 esi = ecx; /* 0x250A7328: mov esi, ecx */ 46 ecx = MEM32(esi + 0x10); /* 0x250A732A: mov ecx, dword ptr [esi + 0x10] */ 47 /* test ecx, ecx */ /* 0x250A732D: test ecx, ecx */ 48 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 49 _cf = 0; 50 _flag_k = FK_TEST; 51 PUSH32(esp, edi); /* 0x250A732F: push edi */ 52 edi = MEM32(esi + 0x4); /* 0x250A7330: mov edi, dword ptr [esi + 4] */ 53 eax = MEM32(edi); /* 0x250A7333: mov eax, dword ptr [edi] */ 54 MEM32(ebp + (-0x4)) = eax; /* 0x250A7335: mov dword ptr [ebp - 4], eax */ 55 if (TEST_Z(_flag_a, _flag_b)) goto L_250A7395; /* 0x250A7338: je 0x250a7395 */ 56 L_250A733A: 57 ecx = eax; /* 0x250A733A: mov ecx, eax */ 58 /* cmp eax, ecx */ /* 0x250A733C: cmp eax, ecx */ 59 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 60 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 61 _flag_k = FK_CMP; 62 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7395; /* 0x250A733E: jne 0x250a7395 */ 63 L_250A7340: 64 /* cmp edi, edi */ /* 0x250A7340: cmp edi, edi */ 65 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 66 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 67 _flag_k = FK_CMP; 68 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7395; /* 0x250A7342: jne 0x250a7395 */ 69 L_250A7344: 70 ebx = MEM32(edi + 0x4); /* 0x250A7344: mov ebx, dword ptr [edi + 4] */ 71 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250A7347: cmp ebx, dword ptr [esi + 8] */ 72 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 73 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 74 _flag_k = FK_CMP; 75 edi = ebx; /* 0x250A734A: mov edi, ebx */ 76 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A736D; /* 0x250A734C: je 0x250a736d */ 77 L_250A734E: 78 eax = MEM32(edi + 0x8); /* 0x250A734E: mov eax, dword ptr [edi + 8] */ 79 PUSH32(esp, eax); /* 0x250A7351: push eax */ 80 ecx = esi; /* 0x250A7352: mov ecx, esi */ 81 RECOMP_ICALL(0x250AC7F0u); /* 0x250A7354: call 0x250ac7f0 */ /* not lifted */ 82 RECOMP_FLAGS_IN(); 83 edi = MEM32(edi); /* 0x250A7359: mov edi, dword ptr [edi] */ 84 PUSH32(esp, ebx); /* 0x250A735B: push ebx */ 85 RECOMP_ICALL(0x25137EECu); /* 0x250A735C: call 0x25137eec */ /* not lifted */ 86 RECOMP_FLAGS_IN(); 87 eax = MEM32(esi + 0x8); /* 0x250A7361: mov eax, dword ptr [esi + 8] */ 88 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 89 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 90 esp = esp + 4; /* 0x250A7364: add esp, 4 */ 91 _flag_k = FK_ADD; 92 /* cmp edi, eax */ /* 0x250A7367: cmp edi, eax */ 93 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 94 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 95 _flag_k = FK_CMP; 96 ebx = edi; /* 0x250A7369: mov ebx, edi */ 97 RECOMP_BACKEDGE(); 98 if (CMP_NE(_flag_a, _flag_b)) goto L_250A734E; /* 0x250A736B: jne 0x250a734e */ 99 L_250A736D: 100 ecx = MEM32(esi + 0x4); /* 0x250A736D: mov ecx, dword ptr [esi + 4] */ 101 edx = MEM32(esi + 0x8); /* 0x250A7370: mov edx, dword ptr [esi + 8] */ 102 MEM32(ecx + 0x4) = edx; /* 0x250A7373: mov dword ptr [ecx + 4], edx */ 103 eax = MEM32(esi + 0x4); /* 0x250A7376: mov eax, dword ptr [esi + 4] */ 104 MEM32(esi + 0x10) = 0; /* 0x250A7379: mov dword ptr [esi + 0x10], 0 */ 105 MEM32(eax) = eax; /* 0x250A7380: mov dword ptr [eax], eax */ 106 eax = MEM32(esi + 0x4); /* 0x250A7382: mov eax, dword ptr [esi + 4] */ 107 MEM32(eax + 0x8) = eax; /* 0x250A7385: mov dword ptr [eax + 8], eax */ 108 eax = ebp + (-0x8); /* 0x250A7388: lea eax, [ebp - 8] */ 109 PUSH32(esp, eax); /* 0x250A738B: push eax */ 110 ecx = esi; /* 0x250A738C: mov ecx, esi */ 111 RECOMP_ICALL(0x25085270u); /* 0x250A738E: call 0x25085270 */ /* not lifted */ 112 RECOMP_FLAGS_IN(); 113 goto L_250A73B6; /* 0x250A7393: jmp 0x250a73b6 */ 114 L_250A7395: 115 /* cmp eax, edi */ /* 0x250A7395: cmp eax, edi */ 116 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 118 _flag_k = FK_CMP; 119 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A73B6; /* 0x250A7397: je 0x250a73b6 */ 120 L_250A7399: 121 ecx = ebp + (-0x4); /* 0x250A7399: lea ecx, [ebp - 4] */ 122 ebx = eax; /* 0x250A739C: mov ebx, eax */ 123 RECOMP_ICALL(0x250DE300u); /* 0x250A739E: call 0x250de300 */ /* not lifted */ 124 RECOMP_FLAGS_IN(); 125 PUSH32(esp, ebx); /* 0x250A73A3: push ebx */ 126 ecx = ebp + (-0x8); /* 0x250A73A4: lea ecx, [ebp - 8] */ 127 PUSH32(esp, ecx); /* 0x250A73A7: push ecx */ 128 ecx = esi; /* 0x250A73A8: mov ecx, esi */ 129 RECOMP_ICALL(0x250985D0u); /* 0x250A73AA: call 0x250985d0 */ /* not lifted */ 130 RECOMP_FLAGS_IN(); 131 eax = MEM32(ebp + (-0x4)); /* 0x250A73AF: mov eax, dword ptr [ebp - 4] */ 132 /* cmp eax, edi */ /* 0x250A73B2: cmp eax, edi */ 133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 135 _flag_k = FK_CMP; 136 RECOMP_BACKEDGE(); 137 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7399; /* 0x250A73B4: jne 0x250a7399 */ 138 L_250A73B6: 139 edx = MEM32(esi + 0x4); /* 0x250A73B6: mov edx, dword ptr [esi + 4] */ 140 PUSH32(esp, edx); /* 0x250A73B9: push edx */ 141 RECOMP_ICALL(0x25137EECu); /* 0x250A73BA: call 0x25137eec */ /* not lifted */ 142 RECOMP_FLAGS_IN(); 143 eax = MEM32(esi + 0x8); /* 0x250A73BF: mov eax, dword ptr [esi + 8] */ 144 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 145 edi = 0; /* 0x250A73C2: xor edi, edi */ 146 _cf = 0; 147 _flag_k = FK_TEST; 148 PUSH32(esp, eax); /* 0x250A73C4: push eax */ 149 MEM32(esi + 0x4) = edi; /* 0x250A73C5: mov dword ptr [esi + 4], edi */ 150 MEM32(esi + 0x10) = edi; /* 0x250A73C8: mov dword ptr [esi + 0x10], edi */ 151 RECOMP_ICALL(0x25137EECu); /* 0x250A73CB: call 0x25137eec */ /* not lifted */ 152 RECOMP_FLAGS_IN(); 153 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 154 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 155 esp = esp + 8; /* 0x250A73D0: add esp, 8 */ 156 _flag_k = FK_ADD; 157 MEM32(esi + 0x8) = edi; /* 0x250A73D3: mov dword ptr [esi + 8], edi */ 158 edi = POP32_VAL(esp); /* 0x250A73D6: pop edi */ 159 esi = POP32_VAL(esp); /* 0x250A73D7: pop esi */ 160 ebx = POP32_VAL(esp); /* 0x250A73D8: pop ebx */ 161 esp = ebp; /* 0x250A73D9: mov esp, ebp */ 162 ebp = POP32_VAL(esp); /* 0x250A73DB: pop ebp */ 163 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A73DC: ret */ 164 RECOMP_REGS_OUT(); 165 } 166 167 void sub_250A7320(void) { 168 int _fpu_cmp = 0; 169 uint32_t _cf = 0; 170 int _df = 1; 171 uint32_t _flag_k = FK_NONE; 172 uint32_t _flag_a = 0, _flag_b = 0; 173 uint32_t _itail_tgt = 0; 174 RECOMP_REGS_LOCALS 175 RECOMP_ENTER(0x250A7320u); 176 177 L_250A7320: 178 PUSH32(esp, ebp); /* 0x250A7320: push ebp */ 179 ebp = esp; /* 0x250A7321: mov ebp, esp */ 180 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 182 esp = esp - 8; /* 0x250A7323: sub esp, 8 */ 183 _flag_k = FK_CMP; 184 PUSH32(esp, ebx); /* 0x250A7326: push ebx */ 185 PUSH32(esp, esi); /* 0x250A7327: push esi */ 186 esi = ecx; /* 0x250A7328: mov esi, ecx */ 187 ecx = MEM32(esi + 0x10); /* 0x250A732A: mov ecx, dword ptr [esi + 0x10] */ 188 /* test ecx, ecx */ /* 0x250A732D: test ecx, ecx */ 189 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 190 _cf = 0; 191 _flag_k = FK_TEST; 192 PUSH32(esp, edi); /* 0x250A732F: push edi */ 193 edi = MEM32(esi + 0x4); /* 0x250A7330: mov edi, dword ptr [esi + 4] */ 194 eax = MEM32(edi); /* 0x250A7333: mov eax, dword ptr [edi] */ 195 MEM32(ebp + (-0x4)) = eax; /* 0x250A7335: mov dword ptr [ebp - 4], eax */ 196 if (TEST_Z(_flag_a, _flag_b)) goto L_250A7395; /* 0x250A7338: je 0x250a7395 */ 197 L_250A733A: 198 ecx = eax; /* 0x250A733A: mov ecx, eax */ 199 /* cmp eax, ecx */ /* 0x250A733C: cmp eax, ecx */ 200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 202 _flag_k = FK_CMP; 203 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7395; /* 0x250A733E: jne 0x250a7395 */ 204 L_250A7340: 205 /* cmp edi, edi */ /* 0x250A7340: cmp edi, edi */ 206 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 208 _flag_k = FK_CMP; 209 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7395; /* 0x250A7342: jne 0x250a7395 */ 210 L_250A7344: 211 ebx = MEM32(edi + 0x4); /* 0x250A7344: mov ebx, dword ptr [edi + 4] */ 212 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250A7347: cmp ebx, dword ptr [esi + 8] */ 213 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 215 _flag_k = FK_CMP; 216 edi = ebx; /* 0x250A734A: mov edi, ebx */ 217 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A736D; /* 0x250A734C: je 0x250a736d */ 218 L_250A734E: 219 eax = MEM32(edi + 0x8); /* 0x250A734E: mov eax, dword ptr [edi + 8] */ 220 PUSH32(esp, eax); /* 0x250A7351: push eax */ 221 ecx = esi; /* 0x250A7352: mov ecx, esi */ 222 RECOMP_ICALL(0x250AC7F0u); /* 0x250A7354: call 0x250ac7f0 */ /* not lifted */ 223 RECOMP_FLAGS_IN(); 224 edi = MEM32(edi); /* 0x250A7359: mov edi, dword ptr [edi] */ 225 PUSH32(esp, ebx); /* 0x250A735B: push ebx */ 226 RECOMP_ICALL(0x25137EECu); /* 0x250A735C: call 0x25137eec */ /* not lifted */ 227 RECOMP_FLAGS_IN(); 228 eax = MEM32(esi + 0x8); /* 0x250A7361: mov eax, dword ptr [esi + 8] */ 229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 231 esp = esp + 4; /* 0x250A7364: add esp, 4 */ 232 _flag_k = FK_ADD; 233 /* cmp edi, eax */ /* 0x250A7367: cmp edi, eax */ 234 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 236 _flag_k = FK_CMP; 237 ebx = edi; /* 0x250A7369: mov ebx, edi */ 238 RECOMP_BACKEDGE(); 239 if (CMP_NE(_flag_a, _flag_b)) goto L_250A734E; /* 0x250A736B: jne 0x250a734e */ 240 L_250A736D: 241 ecx = MEM32(esi + 0x4); /* 0x250A736D: mov ecx, dword ptr [esi + 4] */ 242 edx = MEM32(esi + 0x8); /* 0x250A7370: mov edx, dword ptr [esi + 8] */ 243 MEM32(ecx + 0x4) = edx; /* 0x250A7373: mov dword ptr [ecx + 4], edx */ 244 eax = MEM32(esi + 0x4); /* 0x250A7376: mov eax, dword ptr [esi + 4] */ 245 MEM32(esi + 0x10) = 0; /* 0x250A7379: mov dword ptr [esi + 0x10], 0 */ 246 MEM32(eax) = eax; /* 0x250A7380: mov dword ptr [eax], eax */ 247 eax = MEM32(esi + 0x4); /* 0x250A7382: mov eax, dword ptr [esi + 4] */ 248 MEM32(eax + 0x8) = eax; /* 0x250A7385: mov dword ptr [eax + 8], eax */ 249 eax = ebp + (-0x8); /* 0x250A7388: lea eax, [ebp - 8] */ 250 PUSH32(esp, eax); /* 0x250A738B: push eax */ 251 ecx = esi; /* 0x250A738C: mov ecx, esi */ 252 RECOMP_ICALL(0x25085270u); /* 0x250A738E: call 0x25085270 */ /* not lifted */ 253 RECOMP_FLAGS_IN(); 254 goto L_250A73B6; /* 0x250A7393: jmp 0x250a73b6 */ 255 L_250A7395: 256 /* cmp eax, edi */ /* 0x250A7395: cmp eax, edi */ 257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 259 _flag_k = FK_CMP; 260 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A73B6; /* 0x250A7397: je 0x250a73b6 */ 261 L_250A7399: 262 ecx = ebp + (-0x4); /* 0x250A7399: lea ecx, [ebp - 4] */ 263 ebx = eax; /* 0x250A739C: mov ebx, eax */ 264 RECOMP_ICALL(0x250DE300u); /* 0x250A739E: call 0x250de300 */ /* not lifted */ 265 RECOMP_FLAGS_IN(); 266 PUSH32(esp, ebx); /* 0x250A73A3: push ebx */ 267 ecx = ebp + (-0x8); /* 0x250A73A4: lea ecx, [ebp - 8] */ 268 PUSH32(esp, ecx); /* 0x250A73A7: push ecx */ 269 ecx = esi; /* 0x250A73A8: mov ecx, esi */ 270 RECOMP_ICALL(0x250985D0u); /* 0x250A73AA: call 0x250985d0 */ /* not lifted */ 271 RECOMP_FLAGS_IN(); 272 eax = MEM32(ebp + (-0x4)); /* 0x250A73AF: mov eax, dword ptr [ebp - 4] */ 273 /* cmp eax, edi */ /* 0x250A73B2: cmp eax, edi */ 274 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 276 _flag_k = FK_CMP; 277 RECOMP_BACKEDGE(); 278 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7399; /* 0x250A73B4: jne 0x250a7399 */ 279 L_250A73B6: 280 edx = MEM32(esi + 0x4); /* 0x250A73B6: mov edx, dword ptr [esi + 4] */ 281 PUSH32(esp, edx); /* 0x250A73B9: push edx */ 282 RECOMP_ICALL(0x25137EECu); /* 0x250A73BA: call 0x25137eec */ /* not lifted */ 283 RECOMP_FLAGS_IN(); 284 eax = MEM32(esi + 0x8); /* 0x250A73BF: mov eax, dword ptr [esi + 8] */ 285 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 286 edi = 0; /* 0x250A73C2: xor edi, edi */ 287 _cf = 0; 288 _flag_k = FK_TEST; 289 PUSH32(esp, eax); /* 0x250A73C4: push eax */ 290 MEM32(esi + 0x4) = edi; /* 0x250A73C5: mov dword ptr [esi + 4], edi */ 291 MEM32(esi + 0x10) = edi; /* 0x250A73C8: mov dword ptr [esi + 0x10], edi */ 292 RECOMP_ICALL(0x25137EECu); /* 0x250A73CB: call 0x25137eec */ /* not lifted */ 293 RECOMP_FLAGS_IN(); 294 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 295 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 296 esp = esp + 8; /* 0x250A73D0: add esp, 8 */ 297 _flag_k = FK_ADD; 298 MEM32(esi + 0x8) = edi; /* 0x250A73D3: mov dword ptr [esi + 8], edi */ 299 edi = POP32_VAL(esp); /* 0x250A73D6: pop edi */ 300 esi = POP32_VAL(esp); /* 0x250A73D7: pop esi */ 301 ebx = POP32_VAL(esp); /* 0x250A73D8: pop ebx */ 302 esp = ebp; /* 0x250A73D9: mov esp, ebp */ 303 ebp = POP32_VAL(esp); /* 0x250A73DB: pop ebp */ 304 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A73DC: ret */ 305 RECOMP_REGS_OUT(); 306 } 307 308 void sub_250A73B6(void) { 309 int _fpu_cmp = 0; 310 uint32_t _cf = 0; 311 int _df = 1; 312 uint32_t _flag_k = FK_NONE; 313 uint32_t _flag_a = 0, _flag_b = 0; 314 uint32_t _itail_tgt = 0; 315 RECOMP_REGS_LOCALS 316 RECOMP_ENTER(0x250A73B6u); 317 318 L_250A73B6: 319 edx = MEM32(esi + 0x4); /* 0x250A73B6: mov edx, dword ptr [esi + 4] */ 320 PUSH32(esp, edx); /* 0x250A73B9: push edx */ 321 RECOMP_ICALL(0x25137EECu); /* 0x250A73BA: call 0x25137eec */ /* not lifted */ 322 RECOMP_FLAGS_IN(); 323 eax = MEM32(esi + 0x8); /* 0x250A73BF: mov eax, dword ptr [esi + 8] */ 324 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 325 edi = 0; /* 0x250A73C2: xor edi, edi */ 326 _cf = 0; 327 _flag_k = FK_TEST; 328 PUSH32(esp, eax); /* 0x250A73C4: push eax */ 329 MEM32(esi + 0x4) = edi; /* 0x250A73C5: mov dword ptr [esi + 4], edi */ 330 MEM32(esi + 0x10) = edi; /* 0x250A73C8: mov dword ptr [esi + 0x10], edi */ 331 RECOMP_ICALL(0x25137EECu); /* 0x250A73CB: call 0x25137eec */ /* not lifted */ 332 RECOMP_FLAGS_IN(); 333 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 334 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 335 esp = esp + 8; /* 0x250A73D0: add esp, 8 */ 336 _flag_k = FK_ADD; 337 MEM32(esi + 0x8) = edi; /* 0x250A73D3: mov dword ptr [esi + 8], edi */ 338 edi = POP32_VAL(esp); /* 0x250A73D6: pop edi */ 339 esi = POP32_VAL(esp); /* 0x250A73D7: pop esi */ 340 ebx = POP32_VAL(esp); /* 0x250A73D8: pop ebx */ 341 esp = ebp; /* 0x250A73D9: mov esp, ebp */ 342 ebp = POP32_VAL(esp); /* 0x250A73DB: pop ebp */ 343 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A73DC: ret */ 344 RECOMP_REGS_OUT(); 345 } 346 347 void sub_250A73E0(void) { 348 int _fpu_cmp = 0; 349 uint32_t _cf = 0; 350 int _df = 1; 351 uint32_t _flag_k = FK_NONE; 352 uint32_t _flag_a = 0, _flag_b = 0; 353 uint32_t _itail_tgt = 0; 354 RECOMP_REGS_LOCALS 355 RECOMP_ENTER(0x250A73E0u); 356 357 L_250A73E0: 358 RECOMP_ICALL(0x250A73F0u); /* 0x250A73E0: call 0x250a73f0 */ /* not lifted */ 359 RECOMP_FLAGS_IN(); 360 goto L_250A7420; /* 0x250A73E5: jmp 0x250a7420 */ 361 L_250A7420: 362 PUSH32(esp, 0x250A7430u); /* 0x250A7420: push 0x250a7430 */ 363 RECOMP_ICALL(0x251380B2u); /* 0x250A7425: call 0x251380b2 */ /* not lifted */ 364 RECOMP_FLAGS_IN(); 365 ecx = POP32_VAL(esp); /* 0x250A742A: pop ecx */ 366 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A742B: ret */ 367 RECOMP_REGS_OUT(); 368 } 369 370 void sub_250A73F0(void) { 371 int _fpu_cmp = 0; 372 uint32_t _cf = 0; 373 int _df = 1; 374 uint32_t _flag_k = FK_NONE; 375 uint32_t _flag_a = 0, _flag_b = 0; 376 uint32_t _itail_tgt = 0; 377 RECOMP_REGS_LOCALS 378 RECOMP_ENTER(0x250A73F0u); 379 380 L_250A73F0: 381 PUSH32(esp, ebp); /* 0x250A73F0: push ebp */ 382 ebp = esp; /* 0x250A73F1: mov ebp, esp */ 383 PUSH32(esp, ecx); /* 0x250A73F3: push ecx */ 384 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x250A73F4: mov al, byte ptr [ebp - 1] */ 385 MEM8(0x25238588) = (uint8_t)(LO8(eax)); /* 0x250A73F7: mov byte ptr [0x25238588], al */ 386 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 387 eax = 0; /* 0x250A73FC: xor eax, eax */ 388 _cf = 0; 389 _flag_k = FK_TEST; 390 MEM32(0x2523858C) = eax; /* 0x250A73FE: mov dword ptr [0x2523858c], eax */ 391 MEM32(0x25238590) = eax; /* 0x250A7403: mov dword ptr [0x25238590], eax */ 392 MEM32(0x25238594) = eax; /* 0x250A7408: mov dword ptr [0x25238594], eax */ 393 esp = ebp; /* 0x250A740D: mov esp, ebp */ 394 ebp = POP32_VAL(esp); /* 0x250A740F: pop ebp */ 395 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A7410: ret */ 396 RECOMP_REGS_OUT(); 397 } 398 399 void sub_250A7420(void) { 400 int _fpu_cmp = 0; 401 uint32_t _cf = 0; 402 int _df = 1; 403 uint32_t _flag_k = FK_NONE; 404 uint32_t _flag_a = 0, _flag_b = 0; 405 uint32_t _itail_tgt = 0; 406 RECOMP_REGS_LOCALS 407 RECOMP_ENTER(0x250A7420u); 408 409 L_250A7420: 410 PUSH32(esp, 0x250A7430u); /* 0x250A7420: push 0x250a7430 */ 411 RECOMP_ICALL(0x251380B2u); /* 0x250A7425: call 0x251380b2 */ /* not lifted */ 412 RECOMP_FLAGS_IN(); 413 ecx = POP32_VAL(esp); /* 0x250A742A: pop ecx */ 414 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A742B: ret */ 415 RECOMP_REGS_OUT(); 416 } 417 418 void sub_250A7430(void) { 419 int _fpu_cmp = 0; 420 uint32_t _cf = 0; 421 int _df = 1; 422 uint32_t _flag_k = FK_NONE; 423 uint32_t _flag_a = 0, _flag_b = 0; 424 uint32_t _itail_tgt = 0; 425 RECOMP_REGS_LOCALS 426 RECOMP_ENTER(0x250A7430u); 427 428 L_250A7430: 429 PUSH32(esp, ebp); /* 0x250A7430: push ebp */ 430 ebp = esp; /* 0x250A7431: mov ebp, esp */ 431 PUSH32(esp, ecx); /* 0x250A7433: push ecx */ 432 SET_LO8(ecx, MEM8(0x25238584)); /* 0x250A7434: mov cl, byte ptr [0x25238584] */ 433 SET_LO8(eax, 1); /* 0x250A743A: mov al, 1 */ 434 /* test LO8(eax), LO8(ecx) */ /* 0x250A743C: test al, cl */ 435 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 436 _cf = 0; 437 _flag_k = FK_NARROW(FK_TEST, 24); 438 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A746C; /* 0x250A743E: jne 0x250a746c */ 439 L_250A7440: 440 SET_LO8(edx, LO8(ecx)); /* 0x250A7440: mov dl, cl */ 441 _flag_a = (uint32_t)((LO8(edx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(edx) | LO8(eax))) << 24; 442 SET_LO8(edx, LO8(edx) | LO8(eax)); /* 0x250A7442: or dl, al */ 443 _cf = 0; 444 _flag_k = FK_NARROW(FK_TEST, 24); 445 eax = MEM32(0x2523858C); /* 0x250A7444: mov eax, dword ptr [0x2523858c] */ 446 PUSH32(esp, eax); /* 0x250A7449: push eax */ 447 MEM8(0x25238584) = (uint8_t)(LO8(edx)); /* 0x250A744A: mov byte ptr [0x25238584], dl */ 448 MEM32(ebp + (-0x4)) = eax; /* 0x250A7450: mov dword ptr [ebp - 4], eax */ 449 RECOMP_ICALL(0x25137EECu); /* 0x250A7453: call 0x25137eec */ /* not lifted */ 450 RECOMP_FLAGS_IN(); 451 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 452 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 453 esp = esp + 4; /* 0x250A7458: add esp, 4 */ 454 _flag_k = FK_ADD; 455 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 456 eax = 0; /* 0x250A745B: xor eax, eax */ 457 _cf = 0; 458 _flag_k = FK_TEST; 459 MEM32(0x2523858C) = eax; /* 0x250A745D: mov dword ptr [0x2523858c], eax */ 460 MEM32(0x25238590) = eax; /* 0x250A7462: mov dword ptr [0x25238590], eax */ 461 MEM32(0x25238594) = eax; /* 0x250A7467: mov dword ptr [0x25238594], eax */ 462 L_250A746C: 463 esp = ebp; /* 0x250A746C: mov esp, ebp */ 464 ebp = POP32_VAL(esp); /* 0x250A746E: pop ebp */ 465 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A746F: ret */ 466 RECOMP_REGS_OUT(); 467 } 468 469 void sub_250A7470(void) { 470 int _fpu_cmp = 0; 471 uint32_t _cf = 0; 472 int _df = 1; 473 uint32_t _flag_k = FK_NONE; 474 uint32_t _flag_a = 0, _flag_b = 0; 475 uint32_t _itail_tgt = 0; 476 RECOMP_REGS_LOCALS 477 RECOMP_ENTER(0x250A7470u); 478 479 L_250A7470: 480 RECOMP_ICALL(0x250A7480u); /* 0x250A7470: call 0x250a7480 */ /* not lifted */ 481 RECOMP_FLAGS_IN(); 482 goto L_250A74A0; /* 0x250A7475: jmp 0x250a74a0 */ 483 L_250A74A0: 484 PUSH32(esp, 0x250A74B0u); /* 0x250A74A0: push 0x250a74b0 */ 485 RECOMP_ICALL(0x251380B2u); /* 0x250A74A5: call 0x251380b2 */ /* not lifted */ 486 RECOMP_FLAGS_IN(); 487 ecx = POP32_VAL(esp); /* 0x250A74AA: pop ecx */ 488 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A74AB: ret */ 489 RECOMP_REGS_OUT(); 490 } 491 492 void sub_250A7480(void) { 493 int _fpu_cmp = 0; 494 uint32_t _cf = 0; 495 int _df = 1; 496 uint32_t _flag_k = FK_NONE; 497 uint32_t _flag_a = 0, _flag_b = 0; 498 uint32_t _itail_tgt = 0; 499 RECOMP_REGS_LOCALS 500 RECOMP_ENTER(0x250A7480u); 501 502 L_250A7480: 503 PUSH32(esp, ebp); /* 0x250A7480: push ebp */ 504 ebp = esp; /* 0x250A7481: mov ebp, esp */ 505 PUSH32(esp, ecx); /* 0x250A7483: push ecx */ 506 eax = ebp + (-0x1); /* 0x250A7484: lea eax, [ebp - 1] */ 507 PUSH32(esp, eax); /* 0x250A7487: push eax */ 508 ecx = ebp + (-0x2); /* 0x250A7488: lea ecx, [ebp - 2] */ 509 PUSH32(esp, ecx); /* 0x250A748B: push ecx */ 510 ecx = 0x25238570u; /* 0x250A748C: mov ecx, 0x25238570 */ 511 RECOMP_ICALL(0x250AC3D0u); /* 0x250A7491: call 0x250ac3d0 */ /* not lifted */ 512 RECOMP_FLAGS_IN(); 513 esp = ebp; /* 0x250A7496: mov esp, ebp */ 514 ebp = POP32_VAL(esp); /* 0x250A7498: pop ebp */ 515 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A7499: ret */ 516 RECOMP_REGS_OUT(); 517 } 518 519 void sub_250A74A0(void) { 520 int _fpu_cmp = 0; 521 uint32_t _cf = 0; 522 int _df = 1; 523 uint32_t _flag_k = FK_NONE; 524 uint32_t _flag_a = 0, _flag_b = 0; 525 uint32_t _itail_tgt = 0; 526 RECOMP_REGS_LOCALS 527 RECOMP_ENTER(0x250A74A0u); 528 529 L_250A74A0: 530 PUSH32(esp, 0x250A74B0u); /* 0x250A74A0: push 0x250a74b0 */ 531 RECOMP_ICALL(0x251380B2u); /* 0x250A74A5: call 0x251380b2 */ /* not lifted */ 532 RECOMP_FLAGS_IN(); 533 ecx = POP32_VAL(esp); /* 0x250A74AA: pop ecx */ 534 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A74AB: ret */ 535 RECOMP_REGS_OUT(); 536 } 537 538 void sub_250A74B0(void) { 539 int _fpu_cmp = 0; 540 uint32_t _cf = 0; 541 int _df = 1; 542 uint32_t _flag_k = FK_NONE; 543 uint32_t _flag_a = 0, _flag_b = 0; 544 uint32_t _itail_tgt = 0; 545 RECOMP_REGS_LOCALS 546 RECOMP_ENTER(0x250A74B0u); 547 548 L_250A74B0: 549 SET_LO8(ecx, MEM8(0x25238584)); /* 0x250A74B0: mov cl, byte ptr [0x25238584] */ 550 SET_LO8(eax, 2); /* 0x250A74B6: mov al, 2 */ 551 /* test LO8(eax), LO8(ecx) */ /* 0x250A74B8: test al, cl */ 552 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 553 _cf = 0; 554 _flag_k = FK_NARROW(FK_TEST, 24); 555 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A74CE; /* 0x250A74BA: jne 0x250a74ce */ 556 L_250A74BC: 557 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 558 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x250A74BC: or cl, al */ 559 _cf = 0; 560 _flag_k = FK_NARROW(FK_TEST, 24); 561 MEM8(0x25238584) = (uint8_t)(LO8(ecx)); /* 0x250A74BE: mov byte ptr [0x25238584], cl */ 562 ecx = 0x25238570u; /* 0x250A74C4: mov ecx, 0x25238570 */ 563 goto L_250A74D0; /* 0x250A74C9: jmp 0x250a74d0 */ 564 L_250A74CE: 565 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A74CE: ret */ 566 L_250A74D0: 567 PUSH32(esp, ebp); /* 0x250A74D0: push ebp */ 568 ebp = esp; /* 0x250A74D1: mov ebp, esp */ 569 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 571 esp = esp - 8; /* 0x250A74D3: sub esp, 8 */ 572 _flag_k = FK_CMP; 573 PUSH32(esp, ebx); /* 0x250A74D6: push ebx */ 574 PUSH32(esp, esi); /* 0x250A74D7: push esi */ 575 esi = ecx; /* 0x250A74D8: mov esi, ecx */ 576 ecx = MEM32(esi + 0x10); /* 0x250A74DA: mov ecx, dword ptr [esi + 0x10] */ 577 /* test ecx, ecx */ /* 0x250A74DD: test ecx, ecx */ 578 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 579 _cf = 0; 580 _flag_k = FK_TEST; 581 PUSH32(esp, edi); /* 0x250A74DF: push edi */ 582 edi = MEM32(esi + 0x4); /* 0x250A74E0: mov edi, dword ptr [esi + 4] */ 583 eax = MEM32(edi); /* 0x250A74E3: mov eax, dword ptr [edi] */ 584 MEM32(ebp + (-0x4)) = eax; /* 0x250A74E5: mov dword ptr [ebp - 4], eax */ 585 if (TEST_Z(_flag_a, _flag_b)) goto L_250A7545; /* 0x250A74E8: je 0x250a7545 */ 586 L_250A74EA: 587 ecx = eax; /* 0x250A74EA: mov ecx, eax */ 588 /* cmp eax, ecx */ /* 0x250A74EC: cmp eax, ecx */ 589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 591 _flag_k = FK_CMP; 592 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7545; /* 0x250A74EE: jne 0x250a7545 */ 593 L_250A74F0: 594 /* cmp edi, edi */ /* 0x250A74F0: cmp edi, edi */ 595 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 597 _flag_k = FK_CMP; 598 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7545; /* 0x250A74F2: jne 0x250a7545 */ 599 L_250A74F4: 600 ebx = MEM32(edi + 0x4); /* 0x250A74F4: mov ebx, dword ptr [edi + 4] */ 601 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250A74F7: cmp ebx, dword ptr [esi + 8] */ 602 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 604 _flag_k = FK_CMP; 605 edi = ebx; /* 0x250A74FA: mov edi, ebx */ 606 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A751D; /* 0x250A74FC: je 0x250a751d */ 607 L_250A74FE: 608 eax = MEM32(edi + 0x8); /* 0x250A74FE: mov eax, dword ptr [edi + 8] */ 609 PUSH32(esp, eax); /* 0x250A7501: push eax */ 610 ecx = esi; /* 0x250A7502: mov ecx, esi */ 611 RECOMP_ICALL(0x250AC7B0u); /* 0x250A7504: call 0x250ac7b0 */ /* not lifted */ 612 RECOMP_FLAGS_IN(); 613 edi = MEM32(edi); /* 0x250A7509: mov edi, dword ptr [edi] */ 614 PUSH32(esp, ebx); /* 0x250A750B: push ebx */ 615 RECOMP_ICALL(0x25137EECu); /* 0x250A750C: call 0x25137eec */ /* not lifted */ 616 RECOMP_FLAGS_IN(); 617 eax = MEM32(esi + 0x8); /* 0x250A7511: mov eax, dword ptr [esi + 8] */ 618 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 619 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 620 esp = esp + 4; /* 0x250A7514: add esp, 4 */ 621 _flag_k = FK_ADD; 622 /* cmp edi, eax */ /* 0x250A7517: cmp edi, eax */ 623 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 625 _flag_k = FK_CMP; 626 ebx = edi; /* 0x250A7519: mov ebx, edi */ 627 RECOMP_BACKEDGE(); 628 if (CMP_NE(_flag_a, _flag_b)) goto L_250A74FE; /* 0x250A751B: jne 0x250a74fe */ 629 L_250A751D: 630 ecx = MEM32(esi + 0x4); /* 0x250A751D: mov ecx, dword ptr [esi + 4] */ 631 edx = MEM32(esi + 0x8); /* 0x250A7520: mov edx, dword ptr [esi + 8] */ 632 MEM32(ecx + 0x4) = edx; /* 0x250A7523: mov dword ptr [ecx + 4], edx */ 633 eax = MEM32(esi + 0x4); /* 0x250A7526: mov eax, dword ptr [esi + 4] */ 634 MEM32(esi + 0x10) = 0; /* 0x250A7529: mov dword ptr [esi + 0x10], 0 */ 635 MEM32(eax) = eax; /* 0x250A7530: mov dword ptr [eax], eax */ 636 eax = MEM32(esi + 0x4); /* 0x250A7532: mov eax, dword ptr [esi + 4] */ 637 MEM32(eax + 0x8) = eax; /* 0x250A7535: mov dword ptr [eax + 8], eax */ 638 eax = ebp + (-0x8); /* 0x250A7538: lea eax, [ebp - 8] */ 639 PUSH32(esp, eax); /* 0x250A753B: push eax */ 640 ecx = esi; /* 0x250A753C: mov ecx, esi */ 641 RECOMP_ICALL(0x25085270u); /* 0x250A753E: call 0x25085270 */ /* not lifted */ 642 RECOMP_FLAGS_IN(); 643 goto L_250A7566; /* 0x250A7543: jmp 0x250a7566 */ 644 L_250A7545: 645 /* cmp eax, edi */ /* 0x250A7545: cmp eax, edi */ 646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 648 _flag_k = FK_CMP; 649 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7566; /* 0x250A7547: je 0x250a7566 */ 650 L_250A7549: 651 ecx = ebp + (-0x4); /* 0x250A7549: lea ecx, [ebp - 4] */ 652 ebx = eax; /* 0x250A754C: mov ebx, eax */ 653 RECOMP_ICALL(0x250A15A0u); /* 0x250A754E: call 0x250a15a0 */ /* not lifted */ 654 RECOMP_FLAGS_IN(); 655 PUSH32(esp, ebx); /* 0x250A7553: push ebx */ 656 ecx = ebp + (-0x8); /* 0x250A7554: lea ecx, [ebp - 8] */ 657 PUSH32(esp, ecx); /* 0x250A7557: push ecx */ 658 ecx = esi; /* 0x250A7558: mov ecx, esi */ 659 RECOMP_ICALL(0x2504FFF0u); /* 0x250A755A: call 0x2504fff0 */ /* not lifted */ 660 RECOMP_FLAGS_IN(); 661 eax = MEM32(ebp + (-0x4)); /* 0x250A755F: mov eax, dword ptr [ebp - 4] */ 662 /* cmp eax, edi */ /* 0x250A7562: cmp eax, edi */ 663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 665 _flag_k = FK_CMP; 666 RECOMP_BACKEDGE(); 667 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7549; /* 0x250A7564: jne 0x250a7549 */ 668 L_250A7566: 669 edx = MEM32(esi + 0x4); /* 0x250A7566: mov edx, dword ptr [esi + 4] */ 670 PUSH32(esp, edx); /* 0x250A7569: push edx */ 671 RECOMP_ICALL(0x25137EECu); /* 0x250A756A: call 0x25137eec */ /* not lifted */ 672 RECOMP_FLAGS_IN(); 673 eax = MEM32(esi + 0x8); /* 0x250A756F: mov eax, dword ptr [esi + 8] */ 674 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 675 edi = 0; /* 0x250A7572: xor edi, edi */ 676 _cf = 0; 677 _flag_k = FK_TEST; 678 PUSH32(esp, eax); /* 0x250A7574: push eax */ 679 MEM32(esi + 0x4) = edi; /* 0x250A7575: mov dword ptr [esi + 4], edi */ 680 MEM32(esi + 0x10) = edi; /* 0x250A7578: mov dword ptr [esi + 0x10], edi */ 681 RECOMP_ICALL(0x25137EECu); /* 0x250A757B: call 0x25137eec */ /* not lifted */ 682 RECOMP_FLAGS_IN(); 683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 684 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 685 esp = esp + 8; /* 0x250A7580: add esp, 8 */ 686 _flag_k = FK_ADD; 687 MEM32(esi + 0x8) = edi; /* 0x250A7583: mov dword ptr [esi + 8], edi */ 688 edi = POP32_VAL(esp); /* 0x250A7586: pop edi */ 689 esi = POP32_VAL(esp); /* 0x250A7587: pop esi */ 690 ebx = POP32_VAL(esp); /* 0x250A7588: pop ebx */ 691 esp = ebp; /* 0x250A7589: mov esp, ebp */ 692 ebp = POP32_VAL(esp); /* 0x250A758B: pop ebp */ 693 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A758C: ret */ 694 RECOMP_REGS_OUT(); 695 } 696 697 void sub_250A74D0(void) { 698 int _fpu_cmp = 0; 699 uint32_t _cf = 0; 700 int _df = 1; 701 uint32_t _flag_k = FK_NONE; 702 uint32_t _flag_a = 0, _flag_b = 0; 703 uint32_t _itail_tgt = 0; 704 RECOMP_REGS_LOCALS 705 RECOMP_ENTER(0x250A74D0u); 706 707 L_250A74D0: 708 PUSH32(esp, ebp); /* 0x250A74D0: push ebp */ 709 ebp = esp; /* 0x250A74D1: mov ebp, esp */ 710 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 712 esp = esp - 8; /* 0x250A74D3: sub esp, 8 */ 713 _flag_k = FK_CMP; 714 PUSH32(esp, ebx); /* 0x250A74D6: push ebx */ 715 PUSH32(esp, esi); /* 0x250A74D7: push esi */ 716 esi = ecx; /* 0x250A74D8: mov esi, ecx */ 717 ecx = MEM32(esi + 0x10); /* 0x250A74DA: mov ecx, dword ptr [esi + 0x10] */ 718 /* test ecx, ecx */ /* 0x250A74DD: test ecx, ecx */ 719 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 720 _cf = 0; 721 _flag_k = FK_TEST; 722 PUSH32(esp, edi); /* 0x250A74DF: push edi */ 723 edi = MEM32(esi + 0x4); /* 0x250A74E0: mov edi, dword ptr [esi + 4] */ 724 eax = MEM32(edi); /* 0x250A74E3: mov eax, dword ptr [edi] */ 725 MEM32(ebp + (-0x4)) = eax; /* 0x250A74E5: mov dword ptr [ebp - 4], eax */ 726 if (TEST_Z(_flag_a, _flag_b)) goto L_250A7545; /* 0x250A74E8: je 0x250a7545 */ 727 L_250A74EA: 728 ecx = eax; /* 0x250A74EA: mov ecx, eax */ 729 /* cmp eax, ecx */ /* 0x250A74EC: cmp eax, ecx */ 730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 732 _flag_k = FK_CMP; 733 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7545; /* 0x250A74EE: jne 0x250a7545 */ 734 L_250A74F0: 735 /* cmp edi, edi */ /* 0x250A74F0: cmp edi, edi */ 736 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 738 _flag_k = FK_CMP; 739 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7545; /* 0x250A74F2: jne 0x250a7545 */ 740 L_250A74F4: 741 ebx = MEM32(edi + 0x4); /* 0x250A74F4: mov ebx, dword ptr [edi + 4] */ 742 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250A74F7: cmp ebx, dword ptr [esi + 8] */ 743 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 745 _flag_k = FK_CMP; 746 edi = ebx; /* 0x250A74FA: mov edi, ebx */ 747 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A751D; /* 0x250A74FC: je 0x250a751d */ 748 L_250A74FE: 749 eax = MEM32(edi + 0x8); /* 0x250A74FE: mov eax, dword ptr [edi + 8] */ 750 PUSH32(esp, eax); /* 0x250A7501: push eax */ 751 ecx = esi; /* 0x250A7502: mov ecx, esi */ 752 RECOMP_ICALL(0x250AC7B0u); /* 0x250A7504: call 0x250ac7b0 */ /* not lifted */ 753 RECOMP_FLAGS_IN(); 754 edi = MEM32(edi); /* 0x250A7509: mov edi, dword ptr [edi] */ 755 PUSH32(esp, ebx); /* 0x250A750B: push ebx */ 756 RECOMP_ICALL(0x25137EECu); /* 0x250A750C: call 0x25137eec */ /* not lifted */ 757 RECOMP_FLAGS_IN(); 758 eax = MEM32(esi + 0x8); /* 0x250A7511: mov eax, dword ptr [esi + 8] */ 759 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 760 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 761 esp = esp + 4; /* 0x250A7514: add esp, 4 */ 762 _flag_k = FK_ADD; 763 /* cmp edi, eax */ /* 0x250A7517: cmp edi, eax */ 764 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 766 _flag_k = FK_CMP; 767 ebx = edi; /* 0x250A7519: mov ebx, edi */ 768 RECOMP_BACKEDGE(); 769 if (CMP_NE(_flag_a, _flag_b)) goto L_250A74FE; /* 0x250A751B: jne 0x250a74fe */ 770 L_250A751D: 771 ecx = MEM32(esi + 0x4); /* 0x250A751D: mov ecx, dword ptr [esi + 4] */ 772 edx = MEM32(esi + 0x8); /* 0x250A7520: mov edx, dword ptr [esi + 8] */ 773 MEM32(ecx + 0x4) = edx; /* 0x250A7523: mov dword ptr [ecx + 4], edx */ 774 eax = MEM32(esi + 0x4); /* 0x250A7526: mov eax, dword ptr [esi + 4] */ 775 MEM32(esi + 0x10) = 0; /* 0x250A7529: mov dword ptr [esi + 0x10], 0 */ 776 MEM32(eax) = eax; /* 0x250A7530: mov dword ptr [eax], eax */ 777 eax = MEM32(esi + 0x4); /* 0x250A7532: mov eax, dword ptr [esi + 4] */ 778 MEM32(eax + 0x8) = eax; /* 0x250A7535: mov dword ptr [eax + 8], eax */ 779 eax = ebp + (-0x8); /* 0x250A7538: lea eax, [ebp - 8] */ 780 PUSH32(esp, eax); /* 0x250A753B: push eax */ 781 ecx = esi; /* 0x250A753C: mov ecx, esi */ 782 RECOMP_ICALL(0x25085270u); /* 0x250A753E: call 0x25085270 */ /* not lifted */ 783 RECOMP_FLAGS_IN(); 784 goto L_250A7566; /* 0x250A7543: jmp 0x250a7566 */ 785 L_250A7545: 786 /* cmp eax, edi */ /* 0x250A7545: cmp eax, edi */ 787 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 789 _flag_k = FK_CMP; 790 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7566; /* 0x250A7547: je 0x250a7566 */ 791 L_250A7549: 792 ecx = ebp + (-0x4); /* 0x250A7549: lea ecx, [ebp - 4] */ 793 ebx = eax; /* 0x250A754C: mov ebx, eax */ 794 RECOMP_ICALL(0x250A15A0u); /* 0x250A754E: call 0x250a15a0 */ /* not lifted */ 795 RECOMP_FLAGS_IN(); 796 PUSH32(esp, ebx); /* 0x250A7553: push ebx */ 797 ecx = ebp + (-0x8); /* 0x250A7554: lea ecx, [ebp - 8] */ 798 PUSH32(esp, ecx); /* 0x250A7557: push ecx */ 799 ecx = esi; /* 0x250A7558: mov ecx, esi */ 800 RECOMP_ICALL(0x2504FFF0u); /* 0x250A755A: call 0x2504fff0 */ /* not lifted */ 801 RECOMP_FLAGS_IN(); 802 eax = MEM32(ebp + (-0x4)); /* 0x250A755F: mov eax, dword ptr [ebp - 4] */ 803 /* cmp eax, edi */ /* 0x250A7562: cmp eax, edi */ 804 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 806 _flag_k = FK_CMP; 807 RECOMP_BACKEDGE(); 808 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7549; /* 0x250A7564: jne 0x250a7549 */ 809 L_250A7566: 810 edx = MEM32(esi + 0x4); /* 0x250A7566: mov edx, dword ptr [esi + 4] */ 811 PUSH32(esp, edx); /* 0x250A7569: push edx */ 812 RECOMP_ICALL(0x25137EECu); /* 0x250A756A: call 0x25137eec */ /* not lifted */ 813 RECOMP_FLAGS_IN(); 814 eax = MEM32(esi + 0x8); /* 0x250A756F: mov eax, dword ptr [esi + 8] */ 815 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 816 edi = 0; /* 0x250A7572: xor edi, edi */ 817 _cf = 0; 818 _flag_k = FK_TEST; 819 PUSH32(esp, eax); /* 0x250A7574: push eax */ 820 MEM32(esi + 0x4) = edi; /* 0x250A7575: mov dword ptr [esi + 4], edi */ 821 MEM32(esi + 0x10) = edi; /* 0x250A7578: mov dword ptr [esi + 0x10], edi */ 822 RECOMP_ICALL(0x25137EECu); /* 0x250A757B: call 0x25137eec */ /* not lifted */ 823 RECOMP_FLAGS_IN(); 824 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 826 esp = esp + 8; /* 0x250A7580: add esp, 8 */ 827 _flag_k = FK_ADD; 828 MEM32(esi + 0x8) = edi; /* 0x250A7583: mov dword ptr [esi + 8], edi */ 829 edi = POP32_VAL(esp); /* 0x250A7586: pop edi */ 830 esi = POP32_VAL(esp); /* 0x250A7587: pop esi */ 831 ebx = POP32_VAL(esp); /* 0x250A7588: pop ebx */ 832 esp = ebp; /* 0x250A7589: mov esp, ebp */ 833 ebp = POP32_VAL(esp); /* 0x250A758B: pop ebp */ 834 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A758C: ret */ 835 RECOMP_REGS_OUT(); 836 } 837 838 void sub_250A7566(void) { 839 int _fpu_cmp = 0; 840 uint32_t _cf = 0; 841 int _df = 1; 842 uint32_t _flag_k = FK_NONE; 843 uint32_t _flag_a = 0, _flag_b = 0; 844 uint32_t _itail_tgt = 0; 845 RECOMP_REGS_LOCALS 846 RECOMP_ENTER(0x250A7566u); 847 848 L_250A7566: 849 edx = MEM32(esi + 0x4); /* 0x250A7566: mov edx, dword ptr [esi + 4] */ 850 PUSH32(esp, edx); /* 0x250A7569: push edx */ 851 RECOMP_ICALL(0x25137EECu); /* 0x250A756A: call 0x25137eec */ /* not lifted */ 852 RECOMP_FLAGS_IN(); 853 eax = MEM32(esi + 0x8); /* 0x250A756F: mov eax, dword ptr [esi + 8] */ 854 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 855 edi = 0; /* 0x250A7572: xor edi, edi */ 856 _cf = 0; 857 _flag_k = FK_TEST; 858 PUSH32(esp, eax); /* 0x250A7574: push eax */ 859 MEM32(esi + 0x4) = edi; /* 0x250A7575: mov dword ptr [esi + 4], edi */ 860 MEM32(esi + 0x10) = edi; /* 0x250A7578: mov dword ptr [esi + 0x10], edi */ 861 RECOMP_ICALL(0x25137EECu); /* 0x250A757B: call 0x25137eec */ /* not lifted */ 862 RECOMP_FLAGS_IN(); 863 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 865 esp = esp + 8; /* 0x250A7580: add esp, 8 */ 866 _flag_k = FK_ADD; 867 MEM32(esi + 0x8) = edi; /* 0x250A7583: mov dword ptr [esi + 8], edi */ 868 edi = POP32_VAL(esp); /* 0x250A7586: pop edi */ 869 esi = POP32_VAL(esp); /* 0x250A7587: pop esi */ 870 ebx = POP32_VAL(esp); /* 0x250A7588: pop ebx */ 871 esp = ebp; /* 0x250A7589: mov esp, ebp */ 872 ebp = POP32_VAL(esp); /* 0x250A758B: pop ebp */ 873 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A758C: ret */ 874 RECOMP_REGS_OUT(); 875 } 876 877 void sub_250A7590(void) { 878 int _fpu_cmp = 0; 879 uint32_t _cf = 0; 880 int _df = 1; 881 uint32_t _flag_k = FK_NONE; 882 uint32_t _flag_a = 0, _flag_b = 0; 883 uint32_t _itail_tgt = 0; 884 RECOMP_REGS_LOCALS 885 RECOMP_ENTER(0x250A7590u); 886 RECOMP_EH_ENTER(); 887 888 L_250A7590: 889 PUSH32(esp, ebp); /* 0x250A7590: push ebp */ 890 ebp = esp; /* 0x250A7591: mov ebp, esp */ 891 PUSH32(esp, 0xFFFFFFFFu); /* 0x250A7593: push -1 */ 892 PUSH32(esp, 0x25149F57u); /* 0x250A7595: push 0x25149f57 */ 893 eax = MEM32(FS_BASE + (0)); /* 0x250A759A: mov eax, dword ptr fs:[0] */ 894 PUSH32(esp, eax); /* 0x250A75A0: push eax */ 895 MEM32(FS_BASE + (0)) = esp; /* 0x250A75A1: mov dword ptr fs:[0], esp */ 896 PUSH32(esp, ecx); /* 0x250A75A8: push ecx */ 897 eax = 0xC830u; /* 0x250A75A9: mov eax, 0xc830 */ 898 RECOMP_ICALL(0x25138170u); /* 0x250A75AE: call 0x25138170 */ /* not lifted */ 899 RECOMP_FLAGS_IN(); 900 eax = MEM32(ebp + 0x18); /* 0x250A75B3: mov eax, dword ptr [ebp + 0x18] */ 901 PUSH32(esp, ebx); /* 0x250A75B6: push ebx */ 902 PUSH32(esp, esi); /* 0x250A75B7: push esi */ 903 PUSH32(esp, edi); /* 0x250A75B8: push edi */ 904 esi = ecx; /* 0x250A75B9: mov esi, ecx */ 905 ecx = MEM32(ebp + 0x14); /* 0x250A75BB: mov ecx, dword ptr [ebp + 0x14] */ 906 MEM32(ebp + (-0x10)) = esp; /* 0x250A75BE: mov dword ptr [ebp - 0x10], esp */ 907 PUSH32(esp, eax); /* 0x250A75C1: push eax */ 908 PUSH32(esp, ecx); /* 0x250A75C2: push ecx */ 909 ecx = esi; /* 0x250A75C3: mov ecx, esi */ 910 MEM32(ebp + (-0x14)) = esi; /* 0x250A75C5: mov dword ptr [ebp - 0x14], esi */ 911 RECOMP_ICALL(0x250AF120u); /* 0x250A75C8: call 0x250af120 */ /* not lifted */ 912 RECOMP_FLAGS_IN(); 913 eax = 0x497423F0u; /* 0x250A75CD: mov eax, 0x497423f0 */ 914 MEM32(esi + 0x40) = eax; /* 0x250A75D2: mov dword ptr [esi + 0x40], eax */ 915 MEM32(esi + 0x3C) = eax; /* 0x250A75D5: mov dword ptr [esi + 0x3c], eax */ 916 eax = 0xC97423F0u; /* 0x250A75D8: mov eax, 0xc97423f0 */ 917 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 918 ebx = 0; /* 0x250A75DD: xor ebx, ebx */ 919 _cf = 0; 920 _flag_k = FK_TEST; 921 MEM32(ebp + (-0x4)) = ebx; /* 0x250A75DF: mov dword ptr [ebp - 4], ebx */ 922 MEM32(esi + 0x48) = eax; /* 0x250A75E2: mov dword ptr [esi + 0x48], eax */ 923 MEM32(esi + 0x44) = eax; /* 0x250A75E5: mov dword ptr [esi + 0x44], eax */ 924 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A75E8: mov dl, byte ptr [ebp + 0x13] */ 925 MEM8(esi + 0x68) = (uint8_t)(LO8(ebx)); /* 0x250A75EB: mov byte ptr [esi + 0x68], bl */ 926 MEM8(esi + 0x69) = (uint8_t)(LO8(ebx)); /* 0x250A75EE: mov byte ptr [esi + 0x69], bl */ 927 MEM32(esi + 0x80) = ebx; /* 0x250A75F1: mov dword ptr [esi + 0x80], ebx */ 928 MEM32(esi + 0x84) = ebx; /* 0x250A75F7: mov dword ptr [esi + 0x84], ebx */ 929 MEM32(esi + 0x88) = ebx; /* 0x250A75FD: mov dword ptr [esi + 0x88], ebx */ 930 MEM32(esi + 0x90) = ebx; /* 0x250A7603: mov dword ptr [esi + 0x90], ebx */ 931 MEM32(esi + 0x94) = ebx; /* 0x250A7609: mov dword ptr [esi + 0x94], ebx */ 932 MEM8(esi + 0xA8) = (uint8_t)(LO8(edx)); /* 0x250A760F: mov byte ptr [esi + 0xa8], dl */ 933 MEM32(esi + 0xAC) = ebx; /* 0x250A7615: mov dword ptr [esi + 0xac], ebx */ 934 MEM32(esi + 0xB0) = ebx; /* 0x250A761B: mov dword ptr [esi + 0xb0], ebx */ 935 MEM32(esi + 0xB4) = ebx; /* 0x250A7621: mov dword ptr [esi + 0xb4], ebx */ 936 MEM32(esi + 0xC0) = ebx; /* 0x250A7627: mov dword ptr [esi + 0xc0], ebx */ 937 MEM32(esi + 0xC4) = ebx; /* 0x250A762D: mov dword ptr [esi + 0xc4], ebx */ 938 MEM32(esi + 0xC8) = ebx; /* 0x250A7633: mov dword ptr [esi + 0xc8], ebx */ 939 MEM32(esi + 0xCC) = ebx; /* 0x250A7639: mov dword ptr [esi + 0xcc], ebx */ 940 MEM32(esi + 0xD0) = ebx; /* 0x250A763F: mov dword ptr [esi + 0xd0], ebx */ 941 PUSH32(esp, 0xB8u); /* 0x250A7645: push 0xb8 */ 942 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A764A: mov byte ptr [ebp - 4], 2 */ 943 MEM32(esi + 0xD8) = ebx; /* 0x250A764E: mov dword ptr [esi + 0xd8], ebx */ 944 MEM8(esi + 0xDC) = (uint8_t)(LO8(ebx)); /* 0x250A7654: mov byte ptr [esi + 0xdc], bl */ 945 MEM32(esi) = 0x251563C8u; /* 0x250A765A: mov dword ptr [esi], 0x251563c8 */ 946 RECOMP_ICALL(0x251380D0u); /* 0x250A7660: call 0x251380d0 */ /* not lifted */ 947 RECOMP_FLAGS_IN(); 948 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 950 esp = esp + 4; /* 0x250A7665: add esp, 4 */ 951 _flag_k = FK_ADD; 952 MEM32(ebp + 0x18) = eax; /* 0x250A7668: mov dword ptr [ebp + 0x18], eax */ 953 /* cmp eax, ebx */ /* 0x250A766B: cmp eax, ebx */ 954 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 956 _flag_k = FK_CMP; 957 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A766D: mov byte ptr [ebp - 4], 3 */ 958 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A76D9; /* 0x250A7671: je 0x250a76d9 */ 959 L_250A7673: 960 PUSH32(esp, 1); /* 0x250A7673: push 1 */ 961 PUSH32(esp, 1); /* 0x250A7675: push 1 */ 962 PUSH32(esp, 0x3F800000u); /* 0x250A7677: push 0x3f800000 */ 963 PUSH32(esp, ebx); /* 0x250A767C: push ebx */ 964 PUSH32(esp, ebx); /* 0x250A767D: push ebx */ 965 ecx = ebp + (-0x34); /* 0x250A767E: lea ecx, [ebp - 0x34] */ 966 PUSH32(esp, ecx); /* 0x250A7681: push ecx */ 967 edx = ebp + (-0x28); /* 0x250A7682: lea edx, [ebp - 0x28] */ 968 PUSH32(esp, edx); /* 0x250A7685: push edx */ 969 PUSH32(esp, ebx); /* 0x250A7686: push ebx */ 970 ecx = ebp + (-0x40); /* 0x250A7687: lea ecx, [ebp - 0x40] */ 971 PUSH32(esp, ecx); /* 0x250A768A: push ecx */ 972 PUSH32(esp, ebx); /* 0x250A768B: push ebx */ 973 PUSH32(esp, 0x251B592Cu); /* 0x250A768C: push 0x251b592c */ 974 ecx = eax; /* 0x250A7691: mov ecx, eax */ 975 MEM32(ebp + (-0x34)) = 0x3F800000u; /* 0x250A7693: mov dword ptr [ebp - 0x34], 0x3f800000 */ 976 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x250A769A: mov dword ptr [ebp - 0x30], 0x3f800000 */ 977 MEM32(ebp + (-0x2C)) = 0x3F800000u; /* 0x250A76A1: mov dword ptr [ebp - 0x2c], 0x3f800000 */ 978 MEM32(ebp + (-0x28)) = 0x3F800000u; /* 0x250A76A8: mov dword ptr [ebp - 0x28], 0x3f800000 */ 979 MEM32(ebp + (-0x24)) = 0x3F800000u; /* 0x250A76AF: mov dword ptr [ebp - 0x24], 0x3f800000 */ 980 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x250A76B6: mov dword ptr [ebp - 0x20], 0x3f800000 */ 981 MEM32(ebp + (-0x40)) = 0x3F800000u; /* 0x250A76BD: mov dword ptr [ebp - 0x40], 0x3f800000 */ 982 MEM32(ebp + (-0x3C)) = 0x3F800000u; /* 0x250A76C4: mov dword ptr [ebp - 0x3c], 0x3f800000 */ 983 MEM32(ebp + (-0x38)) = 0x3F800000u; /* 0x250A76CB: mov dword ptr [ebp - 0x38], 0x3f800000 */ 984 RECOMP_ICALL(0x250E48F0u); /* 0x250A76D2: call 0x250e48f0 */ /* not lifted */ 985 RECOMP_FLAGS_IN(); 986 goto L_250A76DB; /* 0x250A76D7: jmp 0x250a76db */ 987 L_250A76D9: 988 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 989 eax = 0; /* 0x250A76D9: xor eax, eax */ 990 _cf = 0; 991 _flag_k = FK_TEST; 992 L_250A76DB: 993 MEM32(esi + 0x28) = eax; /* 0x250A76DB: mov dword ptr [esi + 0x28], eax */ 994 MEM32(0x252385BC) = ebx; /* 0x250A76DE: mov dword ptr [0x252385bc], ebx */ 995 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 996 eax = 0; /* 0x250A76E4: xor eax, eax */ 997 _cf = 0; 998 _flag_k = FK_TEST; 999 ecx = 0x200u; /* 0x250A76E6: mov ecx, 0x200 */ 1000 edi = ebp + (-0x840); /* 0x250A76EB: lea edi, [ebp - 0x840] */ 1001 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A76F1: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1002 ecx = 0x800u; /* 0x250A76F3: mov ecx, 0x800 */ 1003 edi = ebp + (-0x2840); /* 0x250A76F8: lea edi, [ebp - 0x2840] */ 1004 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A76FE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1005 eax = MEM32(ebp + 0xC); /* 0x250A7700: mov eax, dword ptr [ebp + 0xc] */ 1006 MEM8(esi + 0x66) = (uint8_t)(1); /* 0x250A7703: mov byte ptr [esi + 0x66], 1 */ 1007 MEM8(esi + 0xDD) = (uint8_t)(1); /* 0x250A7707: mov byte ptr [esi + 0xdd], 1 */ 1008 MEM8(esi + 0x67) = (uint8_t)(0); /* 0x250A770E: mov byte ptr [esi + 0x67], 0 */ 1009 MEM32(esi + 0x7C) = ebx; /* 0x250A7712: mov dword ptr [esi + 0x7c], ebx */ 1010 MEM32(esi + 0x98) = ebx; /* 0x250A7715: mov dword ptr [esi + 0x98], ebx */ 1011 MEM32(esi + 0xB8) = ebx; /* 0x250A771B: mov dword ptr [esi + 0xb8], ebx */ 1012 MEM32(esi + 0xBC) = ebx; /* 0x250A7721: mov dword ptr [esi + 0xbc], ebx */ 1013 MEM32(esi + 0x8C) = ebx; /* 0x250A7727: mov dword ptr [esi + 0x8c], ebx */ 1014 edx = MEM32(eax); /* 0x250A772D: mov edx, dword ptr [eax] */ 1015 ecx = MEM32(edx + 0x28); /* 0x250A772F: mov ecx, dword ptr [edx + 0x28] */ 1016 MEM32(ebp + 0x18) = ecx; /* 0x250A7732: mov dword ptr [ebp + 0x18], ecx */ 1017 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1018 ecx = 0; /* 0x250A7735: xor ecx, ecx */ 1019 _cf = 0; 1020 _flag_k = FK_TEST; 1021 MEM32(ebp + 0xC) = ecx; /* 0x250A7737: mov dword ptr [ebp + 0xc], ecx */ 1022 MEM32(ebp + (-0x18)) = eax; /* 0x250A773A: mov dword ptr [ebp - 0x18], eax */ 1023 L_250A773D: 1024 edi = MEM32(eax); /* 0x250A773D: mov edi, dword ptr [eax] */ 1025 /* cmp edi, ebx */ /* 0x250A773F: cmp edi, ebx */ 1026 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1028 _flag_k = FK_CMP; 1029 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A77F2; /* 0x250A7741: je 0x250a77f2 */ 1030 L_250A7747: 1031 edx = MEM32(edi + 0xC); /* 0x250A7747: mov edx, dword ptr [edi + 0xc] */ 1032 eax = 0x10u; /* 0x250A774A: mov eax, 0x10 */ 1033 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1035 eax = eax - edx; /* 0x250A774F: sub eax, edx */ 1036 _flag_k = FK_CMP; 1037 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A7751: cdq */ 1038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1040 eax = eax - edx; /* 0x250A7752: sub eax, edx */ 1041 _flag_k = FK_CMP; 1042 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x250A7754: sar eax, 1 */ 1043 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1044 eax = (uint32_t)((int32_t)eax >> 1u); 1045 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 1046 ecx = ecx & 0x80000003u; /* 0x250A7756: and ecx, 0x80000003 */ 1047 _cf = 0; 1048 _flag_k = FK_TEST; 1049 if (TEST_NS(_flag_a, _flag_b)) goto L_250A7763; /* 0x250A775C: jns 0x250a7763 */ 1050 L_250A775E: 1051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1052 ecx = ecx - 1; /* 0x250A775E: dec ecx */ 1053 _flag_k = FK_DEC; 1054 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 1055 ecx = ecx | 0xFFFFFFFCu; /* 0x250A775F: or ecx, 0xfffffffc */ 1056 _cf = 0; 1057 _flag_k = FK_TEST; 1058 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1059 ecx = ecx + 1; /* 0x250A7762: inc ecx */ 1060 _flag_k = FK_INC; 1061 L_250A7763: 1062 ebx = MEM32(edi + 0x8); /* 0x250A7763: mov ebx, dword ptr [edi + 8] */ 1063 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A7766: shl ecx, 4 */ 1064 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1065 ecx = ecx << 4u; /* 0x250A7766: shl ecx, 4 */ 1066 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1068 eax = eax + ecx; /* 0x250A7769: add eax, ecx */ 1069 _flag_k = FK_ADD; 1070 MEM32(ebp + (-0x1C)) = eax; /* 0x250A776B: mov dword ptr [ebp - 0x1c], eax */ 1071 eax = 0x10u; /* 0x250A776E: mov eax, 0x10 */ 1072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1074 eax = eax - ebx; /* 0x250A7773: sub eax, ebx */ 1075 _flag_k = FK_CMP; 1076 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A7775: cdq */ 1077 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1079 eax = eax - edx; /* 0x250A7776: sub eax, edx */ 1080 _flag_k = FK_CMP; 1081 ecx = eax; /* 0x250A7778: mov ecx, eax */ 1082 eax = MEM32(ebp + 0xC); /* 0x250A777A: mov eax, dword ptr [ebp + 0xc] */ 1083 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A777D: cdq */ 1084 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 1085 edx = edx & 3; /* 0x250A777E: and edx, 3 */ 1086 _cf = 0; 1087 _flag_k = FK_TEST; 1088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1090 eax = eax + edx; /* 0x250A7781: add eax, edx */ 1091 _flag_k = FK_ADD; 1092 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A7783: sar eax, 2 */ 1093 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1094 eax = (uint32_t)((int32_t)eax >> 2u); 1095 if (1u) _cf = (((ecx) >> 0) & 1u); /* 0x250A7786: sar ecx, 1 */ 1096 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1097 ecx = (uint32_t)((int32_t)ecx >> 1u); 1098 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A7788: shl eax, 4 */ 1099 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1100 eax = eax << 4u; /* 0x250A7788: shl eax, 4 */ 1101 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1102 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1103 ecx = ecx + eax; /* 0x250A778B: add ecx, eax */ 1104 _flag_k = FK_ADD; 1105 /* test ebx, ebx */ /* 0x250A778D: test ebx, ebx */ 1106 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 1107 _cf = 0; 1108 _flag_k = FK_TEST; 1109 MEM32(ebp + 0x14) = 0; /* 0x250A778F: mov dword ptr [ebp + 0x14], 0 */ 1110 if (TEST_LE(_flag_a, _flag_b)) goto L_250A77F0; /* 0x250A7796: jle 0x250a77f0 */ 1111 L_250A7798: 1112 eax = MEM32(ebp + (-0x1C)); /* 0x250A7798: mov eax, dword ptr [ebp - 0x1c] */ 1113 if (6u) _cf = (((ecx) >> 26) & 1u); /* 0x250A779B: shl ecx, 6 */ 1114 if (6u) { _flag_a = recomp_flags_pack((ecx << 6u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1115 ecx = ecx << 6u; /* 0x250A779B: shl ecx, 6 */ 1116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1117 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1118 ecx = ecx + eax; /* 0x250A779E: add ecx, eax */ 1119 _flag_k = FK_ADD; 1120 edx = ebp + ecx * 2 + (-0x2840); /* 0x250A77A0: lea edx, [ebp + ecx*2 - 0x2840] */ 1121 ebx = edi + 0xC; /* 0x250A77A7: lea ebx, [edi + 0xc] */ 1122 MEM32(ebp + (-0x1C)) = edx; /* 0x250A77AA: mov dword ptr [ebp - 0x1c], edx */ 1123 L_250A77AD: 1124 eax = MEM32(ebx); /* 0x250A77AD: mov eax, dword ptr [ebx] */ 1125 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1126 ecx = 0; /* 0x250A77AF: xor ecx, ecx */ 1127 _cf = 0; 1128 _flag_k = FK_TEST; 1129 /* test eax, eax */ /* 0x250A77B1: test eax, eax */ 1130 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1131 _cf = 0; 1132 _flag_k = FK_TEST; 1133 if (TEST_LE(_flag_a, _flag_b)) goto L_250A77D6; /* 0x250A77B3: jle 0x250a77d6 */ 1134 L_250A77B5: 1135 eax = MEM32(edi + 0xC); /* 0x250A77B5: mov eax, dword ptr [edi + 0xc] */ 1136 L_250A77B8: 1137 eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(ebp + 0x14)); /* 0x250A77B8: imul eax, dword ptr [ebp + 0x14] */ 1138 ebx = MEM32(edi); /* 0x250A77BC: mov ebx, dword ptr [edi] */ 1139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1141 eax = eax + ecx; /* 0x250A77BE: add eax, ecx */ 1142 _flag_k = FK_ADD; 1143 SET_LO16(eax, MEM16(ebx + eax * 2)); /* 0x250A77C0: mov ax, word ptr [ebx + eax*2] */ 1144 MEM16(edx) = (uint16_t)(LO16(eax)); /* 0x250A77C4: mov word ptr [edx], ax */ 1145 eax = edi + 0xC; /* 0x250A77C7: lea eax, [edi + 0xc] */ 1146 ebx = eax; /* 0x250A77CA: mov ebx, eax */ 1147 eax = MEM32(ebx); /* 0x250A77CC: mov eax, dword ptr [ebx] */ 1148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1149 ecx = ecx + 1; /* 0x250A77CE: inc ecx */ 1150 _flag_k = FK_INC; 1151 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 1152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1153 edx = edx + 2; /* 0x250A77CF: add edx, 2 */ 1154 _flag_k = FK_ADD; 1155 /* cmp ecx, eax */ /* 0x250A77D2: cmp ecx, eax */ 1156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1158 _flag_k = FK_CMP; 1159 RECOMP_BACKEDGE(); 1160 if (CMP_L(_flag_a, _flag_b)) goto L_250A77B8; /* 0x250A77D4: jl 0x250a77b8 */ 1161 L_250A77D6: 1162 eax = MEM32(ebp + 0x14); /* 0x250A77D6: mov eax, dword ptr [ebp + 0x14] */ 1163 edx = MEM32(ebp + (-0x1C)); /* 0x250A77D9: mov edx, dword ptr [ebp - 0x1c] */ 1164 ecx = MEM32(edi + 0x8); /* 0x250A77DC: mov ecx, dword ptr [edi + 8] */ 1165 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1166 eax = eax + 1; /* 0x250A77DF: inc eax */ 1167 _flag_k = FK_INC; 1168 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x80u); 1169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1170 edx = edx + 0x80u; /* 0x250A77E0: add edx, 0x80 */ 1171 _flag_k = FK_ADD; 1172 /* cmp eax, ecx */ /* 0x250A77E6: cmp eax, ecx */ 1173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1175 _flag_k = FK_CMP; 1176 MEM32(ebp + 0x14) = eax; /* 0x250A77E8: mov dword ptr [ebp + 0x14], eax */ 1177 MEM32(ebp + (-0x1C)) = edx; /* 0x250A77EB: mov dword ptr [ebp - 0x1c], edx */ 1178 RECOMP_BACKEDGE(); 1179 if (CMP_L(_flag_a, _flag_b)) goto L_250A77AD; /* 0x250A77EE: jl 0x250a77ad */ 1180 L_250A77F0: 1181 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1182 ebx = 0; /* 0x250A77F0: xor ebx, ebx */ 1183 _cf = 0; 1184 _flag_k = FK_TEST; 1185 L_250A77F2: 1186 ecx = MEM32(ebp + 0xC); /* 0x250A77F2: mov ecx, dword ptr [ebp + 0xc] */ 1187 eax = MEM32(ebp + (-0x18)); /* 0x250A77F5: mov eax, dword ptr [ebp - 0x18] */ 1188 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1189 ecx = ecx + 1; /* 0x250A77F8: inc ecx */ 1190 _flag_k = FK_INC; 1191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1192 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1193 eax = eax + 4; /* 0x250A77F9: add eax, 4 */ 1194 _flag_k = FK_ADD; 1195 /* cmp ecx, 0xCu */ /* 0x250A77FC: cmp ecx, 0xc */ 1196 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 1197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1198 _flag_k = FK_CMP; 1199 MEM32(ebp + 0xC) = ecx; /* 0x250A77FF: mov dword ptr [ebp + 0xc], ecx */ 1200 MEM32(ebp + (-0x18)) = eax; /* 0x250A7802: mov dword ptr [ebp - 0x18], eax */ 1201 RECOMP_BACKEDGE(); 1202 if (CMP_L(_flag_a, _flag_b)) goto L_250A773D; /* 0x250A7805: jl 0x250a773d */ 1203 L_250A780B: 1204 ecx = MEM32(ebp + 0x8); /* 0x250A780B: mov ecx, dword ptr [ebp + 8] */ 1205 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1206 eax = 0; /* 0x250A780E: xor eax, eax */ 1207 _cf = 0; 1208 _flag_k = FK_TEST; 1209 MEM32(ebp + (-0x18)) = eax; /* 0x250A7810: mov dword ptr [ebp - 0x18], eax */ 1210 MEM32(ebp + 0x14) = ecx; /* 0x250A7813: mov dword ptr [ebp + 0x14], ecx */ 1211 L_250A7816: 1212 edx = MEM32(ebp + 0x14); /* 0x250A7816: mov edx, dword ptr [ebp + 0x14] */ 1213 edi = MEM32(edx); /* 0x250A7819: mov edi, dword ptr [edx] */ 1214 /* cmp edi, ebx */ /* 0x250A781B: cmp edi, ebx */ 1215 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1217 _flag_k = FK_CMP; 1218 MEM32(ebp + 0xC) = edi; /* 0x250A781D: mov dword ptr [ebp + 0xc], edi */ 1219 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7897; /* 0x250A7820: je 0x250a7897 */ 1220 L_250A7822: 1221 ecx = eax; /* 0x250A7822: mov ecx, eax */ 1222 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 1223 ecx = ecx & 0x80000003u; /* 0x250A7824: and ecx, 0x80000003 */ 1224 _cf = 0; 1225 _flag_k = FK_TEST; 1226 if (TEST_NS(_flag_a, _flag_b)) goto L_250A7831; /* 0x250A782A: jns 0x250a7831 */ 1227 L_250A782C: 1228 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1229 ecx = ecx - 1; /* 0x250A782C: dec ecx */ 1230 _flag_k = FK_DEC; 1231 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 1232 ecx = ecx | 0xFFFFFFFCu; /* 0x250A782D: or ecx, 0xfffffffc */ 1233 _cf = 0; 1234 _flag_k = FK_TEST; 1235 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1236 ecx = ecx + 1; /* 0x250A7830: inc ecx */ 1237 _flag_k = FK_INC; 1238 L_250A7831: 1239 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A7831: cdq */ 1240 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 1241 edx = edx & 3; /* 0x250A7832: and edx, 3 */ 1242 _cf = 0; 1243 _flag_k = FK_TEST; 1244 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1245 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1246 eax = eax + edx; /* 0x250A7835: add eax, edx */ 1247 _flag_k = FK_ADD; 1248 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A7837: sar eax, 2 */ 1249 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1250 eax = (uint32_t)((int32_t)eax >> 2u); 1251 eax = eax * 8 + 0x2; /* 0x250A783A: lea eax, [eax*8 + 2] */ 1252 ecx = ecx * 8 + 0x2; /* 0x250A7841: lea ecx, [ecx*8 + 2] */ 1253 if (5u) _cf = (((eax) >> 27) & 1u); /* 0x250A7848: shl eax, 5 */ 1254 if (5u) { _flag_a = recomp_flags_pack((eax << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1255 eax = eax << 5u; /* 0x250A7848: shl eax, 5 */ 1256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1257 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1258 eax = eax + ecx; /* 0x250A784B: add eax, ecx */ 1259 _flag_k = FK_ADD; 1260 ecx = ebp + eax * 2 + (-0x840); /* 0x250A784D: lea ecx, [ebp + eax*2 - 0x840] */ 1261 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1262 edx = 0; /* 0x250A7854: xor edx, edx */ 1263 _cf = 0; 1264 _flag_k = FK_TEST; 1265 MEM32(ebp + 0x8) = ecx; /* 0x250A7856: mov dword ptr [ebp + 8], ecx */ 1266 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1267 eax = 0; /* 0x250A7859: xor eax, eax */ 1268 _cf = 0; 1269 _flag_k = FK_TEST; 1270 goto L_250A7869; /* 0x250A785B: jmp 0x250a7869 */ 1271 L_250A785D: 1272 edi = MEM32(ebp + 0xC); /* 0x250A785D: mov edi, dword ptr [ebp + 0xc] */ 1273 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1274 ebx = 0; /* 0x250A7860: xor ebx, ebx */ 1275 _cf = 0; 1276 _flag_k = FK_TEST; 1277 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1278 eax = 0; /* 0x250A7862: xor eax, eax */ 1279 _cf = 0; 1280 _flag_k = FK_TEST; 1281 goto L_250A7869; /* 0x250A7864: jmp 0x250a7869 */ 1282 L_250A7866: 1283 edi = MEM32(ebp + 0xC); /* 0x250A7866: mov edi, dword ptr [ebp + 0xc] */ 1284 L_250A7869: 1285 ebx = MEM32(edi + 0xC); /* 0x250A7869: mov ebx, dword ptr [edi + 0xc] */ 1286 edi = MEM32(edi); /* 0x250A786C: mov edi, dword ptr [edi] */ 1287 ebx = (uint32_t)((int32_t)ebx * (int32_t)edx); /* 0x250A786E: imul ebx, edx */ 1288 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 1289 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1290 ebx = ebx + eax; /* 0x250A7871: add ebx, eax */ 1291 _flag_k = FK_ADD; 1292 SET_LO16(edi, MEM16(edi + ebx * 2)); /* 0x250A7873: mov di, word ptr [edi + ebx*2] */ 1293 MEM16(ecx) = (uint16_t)(LO16(edi)); /* 0x250A7877: mov word ptr [ecx], di */ 1294 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1295 eax = eax + 1; /* 0x250A787A: inc eax */ 1296 _flag_k = FK_INC; 1297 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 1298 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1299 ecx = ecx + 2; /* 0x250A787B: add ecx, 2 */ 1300 _flag_k = FK_ADD; 1301 /* cmp eax, 4 */ /* 0x250A787E: cmp eax, 4 */ 1302 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1304 _flag_k = FK_CMP; 1305 RECOMP_BACKEDGE(); 1306 if (CMP_L(_flag_a, _flag_b)) goto L_250A7866; /* 0x250A7881: jl 0x250a7866 */ 1307 L_250A7883: 1308 ecx = MEM32(ebp + 0x8); /* 0x250A7883: mov ecx, dword ptr [ebp + 8] */ 1309 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 1310 edx = edx + 1; /* 0x250A7886: inc edx */ 1311 _flag_k = FK_INC; 1312 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x40u); 1313 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1314 ecx = ecx + 0x40u; /* 0x250A7887: add ecx, 0x40 */ 1315 _flag_k = FK_ADD; 1316 /* cmp edx, 4 */ /* 0x250A788A: cmp edx, 4 */ 1317 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 1318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1319 _flag_k = FK_CMP; 1320 MEM32(ebp + 0x8) = ecx; /* 0x250A788D: mov dword ptr [ebp + 8], ecx */ 1321 RECOMP_BACKEDGE(); 1322 if (CMP_L(_flag_a, _flag_b)) goto L_250A785D; /* 0x250A7890: jl 0x250a785d */ 1323 L_250A7892: 1324 eax = MEM32(ebp + (-0x18)); /* 0x250A7892: mov eax, dword ptr [ebp - 0x18] */ 1325 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1326 ebx = 0; /* 0x250A7895: xor ebx, ebx */ 1327 _cf = 0; 1328 _flag_k = FK_TEST; 1329 L_250A7897: 1330 edx = MEM32(ebp + 0x14); /* 0x250A7897: mov edx, dword ptr [ebp + 0x14] */ 1331 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1332 eax = eax + 1; /* 0x250A789A: inc eax */ 1333 _flag_k = FK_INC; 1334 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 1335 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1336 edx = edx + 4; /* 0x250A789B: add edx, 4 */ 1337 _flag_k = FK_ADD; 1338 /* cmp eax, 0xBu */ /* 0x250A789E: cmp eax, 0xb */ 1339 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBu); 1340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1341 _flag_k = FK_CMP; 1342 MEM32(ebp + (-0x18)) = eax; /* 0x250A78A1: mov dword ptr [ebp - 0x18], eax */ 1343 MEM32(ebp + 0x14) = edx; /* 0x250A78A4: mov dword ptr [ebp + 0x14], edx */ 1344 RECOMP_BACKEDGE(); 1345 if (CMP_L(_flag_a, _flag_b)) goto L_250A7816; /* 0x250A78A7: jl 0x250a7816 */ 1346 L_250A78AD: 1347 edx = MEM32(ebp + 0x18); /* 0x250A78AD: mov edx, dword ptr [ebp + 0x18] */ 1348 PUSH32(esp, ebx); /* 0x250A78B0: push ebx */ 1349 PUSH32(esp, edx); /* 0x250A78B1: push edx */ 1350 PUSH32(esp, ebx); /* 0x250A78B2: push ebx */ 1351 PUSH32(esp, 0x40u); /* 0x250A78B3: push 0x40 */ 1352 PUSH32(esp, 0x40u); /* 0x250A78B5: push 0x40 */ 1353 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A78B7: mov byte ptr [ebp - 4], 4 */ 1354 RECOMP_ICALL(0x25050FA0u); /* 0x250A78BB: call 0x25050fa0 */ /* not lifted */ 1355 RECOMP_FLAGS_IN(); 1356 edi = MEM32(ebp + 0x18); /* 0x250A78C0: mov edi, dword ptr [ebp + 0x18] */ 1357 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1358 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1359 esp = esp + 0x14u; /* 0x250A78C3: add esp, 0x14 */ 1360 _flag_k = FK_ADD; 1361 PUSH32(esp, 1); /* 0x250A78C6: push 1 */ 1362 PUSH32(esp, ebx); /* 0x250A78C8: push ebx */ 1363 PUSH32(esp, ebx); /* 0x250A78C9: push ebx */ 1364 PUSH32(esp, 0x80u); /* 0x250A78CA: push 0x80 */ 1365 PUSH32(esp, edi); /* 0x250A78CF: push edi */ 1366 ecx = ebp + (-0x2840); /* 0x250A78D0: lea ecx, [ebp - 0x2840] */ 1367 PUSH32(esp, ecx); /* 0x250A78D6: push ecx */ 1368 ecx = eax; /* 0x250A78D7: mov ecx, eax */ 1369 MEM32(esi + 0x70) = eax; /* 0x250A78D9: mov dword ptr [esi + 0x70], eax */ 1370 RECOMP_ICALL(0x250EBC10u); /* 0x250A78DC: call 0x250ebc10 */ /* not lifted */ 1371 RECOMP_FLAGS_IN(); 1372 goto L_250A78FB; /* 0x250A78E1: jmp 0x250a78fb */ 1373 L_250A78F3: 1374 esi = MEM32(ebp + (-0x14)); /* 0x250A78F3: mov esi, dword ptr [ebp - 0x14] */ 1375 edi = MEM32(ebp + 0x18); /* 0x250A78F6: mov edi, dword ptr [ebp + 0x18] */ 1376 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1377 ebx = 0; /* 0x250A78F9: xor ebx, ebx */ 1378 _cf = 0; 1379 _flag_k = FK_TEST; 1380 L_250A78FB: 1381 PUSH32(esp, ebx); /* 0x250A78FB: push ebx */ 1382 PUSH32(esp, edi); /* 0x250A78FC: push edi */ 1383 PUSH32(esp, ebx); /* 0x250A78FD: push ebx */ 1384 PUSH32(esp, 0x20u); /* 0x250A78FE: push 0x20 */ 1385 MEM32(ebp + (-0x4)) = 2; /* 0x250A7900: mov dword ptr [ebp - 4], 2 */ 1386 PUSH32(esp, 0x20u); /* 0x250A7907: push 0x20 */ 1387 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250A7909: mov byte ptr [ebp - 4], 6 */ 1388 RECOMP_ICALL(0x25050FA0u); /* 0x250A790D: call 0x25050fa0 */ /* not lifted */ 1389 RECOMP_FLAGS_IN(); 1390 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1391 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1392 esp = esp + 0x14u; /* 0x250A7912: add esp, 0x14 */ 1393 _flag_k = FK_ADD; 1394 PUSH32(esp, 1); /* 0x250A7915: push 1 */ 1395 PUSH32(esp, ebx); /* 0x250A7917: push ebx */ 1396 PUSH32(esp, ebx); /* 0x250A7918: push ebx */ 1397 PUSH32(esp, 0x40u); /* 0x250A7919: push 0x40 */ 1398 PUSH32(esp, edi); /* 0x250A791B: push edi */ 1399 ecx = ebp + (-0x840); /* 0x250A791C: lea ecx, [ebp - 0x840] */ 1400 PUSH32(esp, ecx); /* 0x250A7922: push ecx */ 1401 ecx = eax; /* 0x250A7923: mov ecx, eax */ 1402 MEM32(esi + 0x6C) = eax; /* 0x250A7925: mov dword ptr [esi + 0x6c], eax */ 1403 RECOMP_ICALL(0x250EBC10u); /* 0x250A7928: call 0x250ebc10 */ /* not lifted */ 1404 RECOMP_FLAGS_IN(); 1405 goto L_250A7944; /* 0x250A792D: jmp 0x250a7944 */ 1406 L_250A793F: 1407 esi = MEM32(ebp + (-0x14)); /* 0x250A793F: mov esi, dword ptr [ebp - 0x14] */ 1408 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1409 ebx = 0; /* 0x250A7942: xor ebx, ebx */ 1410 _cf = 0; 1411 _flag_k = FK_TEST; 1412 L_250A7944: 1413 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1414 eax = 0; /* 0x250A7944: xor eax, eax */ 1415 _cf = 0; 1416 _flag_k = FK_TEST; 1417 ecx = 0x2000u; /* 0x250A7946: mov ecx, 0x2000 */ 1418 edi = ebp + (-0xC840); /* 0x250A794B: lea edi, [ebp - 0xc840] */ 1419 MEM32(ebp + (-0x4)) = 2; /* 0x250A7951: mov dword ptr [ebp - 4], 2 */ 1420 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x250A7958: mov byte ptr [ebp - 4], 8 */ 1421 MEM32(ebp + 0x14) = 0x80u; /* 0x250A795C: mov dword ptr [ebp + 0x14], 0x80 */ 1422 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7963: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1423 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1424 edx = 0; /* 0x250A7965: xor edx, edx */ 1425 _cf = 0; 1426 _flag_k = FK_TEST; 1427 L_250A7967: 1428 eax = MEM32(ebp + 0x10); /* 0x250A7967: mov eax, dword ptr [ebp + 0x10] */ 1429 eax = MEM32(eax + 0x8); /* 0x250A796A: mov eax, dword ptr [eax + 8] */ 1430 /* cmp eax, 0x80u */ /* 0x250A796D: cmp eax, 0x80 */ 1431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 1432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1433 _flag_k = FK_CMP; 1434 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7979; /* 0x250A7972: jle 0x250a7979 */ 1435 L_250A7974: 1436 eax = 0x80u; /* 0x250A7974: mov eax, 0x80 */ 1437 L_250A7979: 1438 /* cmp edx, eax */ /* 0x250A7979: cmp edx, eax */ 1439 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1441 _flag_k = FK_CMP; 1442 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BE; /* 0x250A797B: jge 0x250a79be */ 1443 L_250A797D: 1444 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1445 ecx = 0; /* 0x250A797D: xor ecx, ecx */ 1446 _cf = 0; 1447 _flag_k = FK_TEST; 1448 L_250A797F: 1449 eax = MEM32(ebp + 0x10); /* 0x250A797F: mov eax, dword ptr [ebp + 0x10] */ 1450 eax = MEM32(eax + 0xC); /* 0x250A7982: mov eax, dword ptr [eax + 0xc] */ 1451 /* cmp eax, 0x80u */ /* 0x250A7985: cmp eax, 0x80 */ 1452 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 1453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1454 _flag_k = FK_CMP; 1455 edi = 0x80u; /* 0x250A798A: mov edi, 0x80 */ 1456 if (CMP_G(_flag_a, _flag_b)) goto L_250A7993; /* 0x250A798F: jg 0x250a7993 */ 1457 L_250A7991: 1458 edi = eax; /* 0x250A7991: mov edi, eax */ 1459 L_250A7993: 1460 /* cmp ecx, edi */ /* 0x250A7993: cmp ecx, edi */ 1461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1463 _flag_k = FK_CMP; 1464 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BB; /* 0x250A7995: jge 0x250a79bb */ 1465 L_250A7997: 1466 edi = MEM32(ebp + 0x10); /* 0x250A7997: mov edi, dword ptr [ebp + 0x10] */ 1467 eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x250A799A: imul eax, edx */ 1468 edi = MEM32(edi); /* 0x250A799D: mov edi, dword ptr [edi] */ 1469 ebx = edx + 0x1; /* 0x250A799F: lea ebx, [edx + 1] */ 1470 ebx = (uint32_t)((int32_t)ebx * (int32_t)MEM32(ebp + 0x14)); /* 0x250A79A2: imul ebx, dword ptr [ebp + 0x14] */ 1471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1472 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1473 eax = eax + ecx; /* 0x250A79A6: add eax, ecx */ 1474 _flag_k = FK_ADD; 1475 SET_LO16(eax, MEM16(edi + eax * 2)); /* 0x250A79A8: mov ax, word ptr [edi + eax*2] */ 1476 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 1477 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1478 ebx = ebx + ecx; /* 0x250A79AC: add ebx, ecx */ 1479 _flag_k = FK_ADD; 1480 MEM16(ebp + ebx * 2 + (-0xC83E)) = (uint16_t)(LO16(eax)); /* 0x250A79AE: mov word ptr [ebp + ebx*2 - 0xc83e], ax */ 1481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1482 ecx = ecx + 1; /* 0x250A79B6: inc ecx */ 1483 _flag_k = FK_INC; 1484 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1485 ebx = 0; /* 0x250A79B7: xor ebx, ebx */ 1486 _cf = 0; 1487 _flag_k = FK_TEST; 1488 RECOMP_BACKEDGE(); 1489 goto L_250A797F; /* 0x250A79B9: jmp 0x250a797f */ 1490 L_250A79BB: 1491 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 1492 edx = edx + 1; /* 0x250A79BB: inc edx */ 1493 _flag_k = FK_INC; 1494 RECOMP_BACKEDGE(); 1495 goto L_250A7967; /* 0x250A79BC: jmp 0x250a7967 */ 1496 L_250A79BE: 1497 edi = MEM32(ebp + 0x18); /* 0x250A79BE: mov edi, dword ptr [ebp + 0x18] */ 1498 PUSH32(esp, ebx); /* 0x250A79C1: push ebx */ 1499 PUSH32(esp, edi); /* 0x250A79C2: push edi */ 1500 PUSH32(esp, ebx); /* 0x250A79C3: push ebx */ 1501 PUSH32(esp, 0x80u); /* 0x250A79C4: push 0x80 */ 1502 PUSH32(esp, 0x80u); /* 0x250A79C9: push 0x80 */ 1503 RECOMP_ICALL(0x25050FA0u); /* 0x250A79CE: call 0x25050fa0 */ /* not lifted */ 1504 RECOMP_FLAGS_IN(); 1505 ecx = MEM32(ebp + 0x14); /* 0x250A79D3: mov ecx, dword ptr [ebp + 0x14] */ 1506 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1507 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1508 esp = esp + 0x14u; /* 0x250A79D6: add esp, 0x14 */ 1509 _flag_k = FK_ADD; 1510 PUSH32(esp, 1); /* 0x250A79D9: push 1 */ 1511 PUSH32(esp, ebx); /* 0x250A79DB: push ebx */ 1512 PUSH32(esp, ebx); /* 0x250A79DC: push ebx */ 1513 edx = ecx + ecx; /* 0x250A79DD: lea edx, [ecx + ecx] */ 1514 PUSH32(esp, edx); /* 0x250A79E0: push edx */ 1515 PUSH32(esp, edi); /* 0x250A79E1: push edi */ 1516 ecx = ebp + (-0xC840); /* 0x250A79E2: lea ecx, [ebp - 0xc840] */ 1517 PUSH32(esp, ecx); /* 0x250A79E8: push ecx */ 1518 ecx = eax; /* 0x250A79E9: mov ecx, eax */ 1519 MEM32(esi + 0x74) = eax; /* 0x250A79EB: mov dword ptr [esi + 0x74], eax */ 1520 RECOMP_ICALL(0x250EBC10u); /* 0x250A79EE: call 0x250ebc10 */ /* not lifted */ 1521 RECOMP_FLAGS_IN(); 1522 goto L_250A7A0A; /* 0x250A79F3: jmp 0x250a7a0a */ 1523 L_250A7A05: 1524 esi = MEM32(ebp + (-0x14)); /* 0x250A7A05: mov esi, dword ptr [ebp - 0x14] */ 1525 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1526 ebx = 0; /* 0x250A7A08: xor ebx, ebx */ 1527 _cf = 0; 1528 _flag_k = FK_TEST; 1529 L_250A7A0A: 1530 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 1531 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1532 eax = 0; /* 0x250A7A0F: xor eax, eax */ 1533 _cf = 0; 1534 _flag_k = FK_TEST; 1535 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 1536 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 1537 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1538 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 1539 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 1540 L_250A7A29: 1541 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 1542 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 1543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1544 _flag_k = FK_CMP; 1545 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 1546 L_250A7A2E: 1547 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 1548 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1549 eax = eax + 1; /* 0x250A7A36: inc eax */ 1550 _flag_k = FK_INC; 1551 RECOMP_BACKEDGE(); 1552 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 1553 L_250A7A39: 1554 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1555 eax = 0; /* 0x250A7A39: xor eax, eax */ 1556 _cf = 0; 1557 _flag_k = FK_TEST; 1558 L_250A7A3B: 1559 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 1560 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 1561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1562 _flag_k = FK_CMP; 1563 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 1564 L_250A7A40: 1565 edx = eax; /* 0x250A7A40: mov edx, eax */ 1566 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 1567 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1568 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 1569 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 1570 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1571 eax = eax + 1; /* 0x250A7A4D: inc eax */ 1572 _flag_k = FK_INC; 1573 RECOMP_BACKEDGE(); 1574 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 1575 L_250A7A50: 1576 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 1577 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 1578 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 1579 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 1580 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 1581 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 1582 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 1583 RECOMP_FLAGS_IN(); 1584 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1585 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1586 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 1587 _flag_k = FK_ADD; 1588 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 1589 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 1590 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 1591 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 1592 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 1593 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 1594 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 1595 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 1596 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 1597 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 1598 RECOMP_FLAGS_IN(); 1599 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 1600 L_250A7A8F: 1601 esi = MEM32(ebp + (-0x14)); /* 0x250A7A8F: mov esi, dword ptr [ebp - 0x14] */ 1602 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1603 ebx = 0; /* 0x250A7A92: xor ebx, ebx */ 1604 _cf = 0; 1605 _flag_k = FK_TEST; 1606 L_250A7A94: 1607 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 1608 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 1609 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 1610 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 1611 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 1612 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 1613 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 1614 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 1615 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 1616 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 1617 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 1618 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 1619 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 1620 RECOMP_FLAGS_IN(); 1621 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 1622 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 1623 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 1624 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 1625 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 1626 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 1627 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 1628 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 1629 RECOMP_FLAGS_IN(); 1630 edi = eax; /* 0x250A7ADF: mov edi, eax */ 1631 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1633 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 1634 _flag_k = FK_ADD; 1635 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 1636 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 1637 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1639 _flag_k = FK_CMP; 1640 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 1641 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 1642 L_250A7AEF: 1643 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 1644 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 1645 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 1646 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 1647 RECOMP_FLAGS_IN(); 1648 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 1649 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 1650 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 1651 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 1652 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1653 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1654 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 1655 _flag_k = FK_ADD; 1656 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 1657 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 1658 L_250A7B11: 1659 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 1660 L_250A7B17: 1661 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 1662 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 1663 eax = esi; /* 0x250A7B1B: mov eax, esi */ 1664 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 1665 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 1666 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 1667 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 1668 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 1669 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_EH_LEAVE(); RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 1670 _ljump: 1671 switch (_itail_tgt) { 1672 case 0x250A78F3u: goto L_250A78F3; 1673 case 0x250A793Fu: goto L_250A793F; 1674 case 0x250A7A05u: goto L_250A7A05; 1675 case 0x250A7A8Fu: goto L_250A7A8F; 1676 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_EH_LEAVE(); RECOMP_REGS_OUT(); return; } 1677 } 1678 RECOMP_EH_LEAVE(); RECOMP_REGS_OUT(); 1679 } 1680 1681 void sub_250A78E3(void) { 1682 int _fpu_cmp = 0; 1683 uint32_t _cf = 0; 1684 int _df = 1; 1685 uint32_t _flag_k = FK_NONE; 1686 uint32_t _flag_a = 0, _flag_b = 0; 1687 uint32_t _itail_tgt = 0; 1688 RECOMP_REGS_LOCALS 1689 RECOMP_ENTER(0x250A78E3u); 1690 1691 L_250A78E3: 1692 edx = MEM32(ebp + (-0x14)); /* 0x250A78E3: mov edx, dword ptr [ebp - 0x14] */ 1693 MEM32(edx + 0x70) = 0; /* 0x250A78E6: mov dword ptr [edx + 0x70], 0 */ 1694 eax = 0x250A78F3u; /* 0x250A78ED: mov eax, 0x250a78f3 */ 1695 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A78F2: ret */ 1696 RECOMP_REGS_OUT(); 1697 } 1698 1699 void sub_250A78F3(void) { 1700 int _fpu_cmp = 0; 1701 uint32_t _cf = 0; 1702 int _df = 1; 1703 uint32_t _flag_k = FK_NONE; 1704 uint32_t _flag_a = 0, _flag_b = 0; 1705 uint32_t _itail_tgt = 0; 1706 RECOMP_REGS_LOCALS 1707 RECOMP_ENTER(0x250A78F3u); 1708 1709 L_250A78F3: 1710 esi = MEM32(ebp + (-0x14)); /* 0x250A78F3: mov esi, dword ptr [ebp - 0x14] */ 1711 edi = MEM32(ebp + 0x18); /* 0x250A78F6: mov edi, dword ptr [ebp + 0x18] */ 1712 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1713 ebx = 0; /* 0x250A78F9: xor ebx, ebx */ 1714 _cf = 0; 1715 _flag_k = FK_TEST; 1716 PUSH32(esp, ebx); /* 0x250A78FB: push ebx */ 1717 PUSH32(esp, edi); /* 0x250A78FC: push edi */ 1718 PUSH32(esp, ebx); /* 0x250A78FD: push ebx */ 1719 PUSH32(esp, 0x20u); /* 0x250A78FE: push 0x20 */ 1720 MEM32(ebp + (-0x4)) = 2; /* 0x250A7900: mov dword ptr [ebp - 4], 2 */ 1721 PUSH32(esp, 0x20u); /* 0x250A7907: push 0x20 */ 1722 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250A7909: mov byte ptr [ebp - 4], 6 */ 1723 RECOMP_ICALL(0x25050FA0u); /* 0x250A790D: call 0x25050fa0 */ /* not lifted */ 1724 RECOMP_FLAGS_IN(); 1725 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1726 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1727 esp = esp + 0x14u; /* 0x250A7912: add esp, 0x14 */ 1728 _flag_k = FK_ADD; 1729 PUSH32(esp, 1); /* 0x250A7915: push 1 */ 1730 PUSH32(esp, ebx); /* 0x250A7917: push ebx */ 1731 PUSH32(esp, ebx); /* 0x250A7918: push ebx */ 1732 PUSH32(esp, 0x40u); /* 0x250A7919: push 0x40 */ 1733 PUSH32(esp, edi); /* 0x250A791B: push edi */ 1734 ecx = ebp + (-0x840); /* 0x250A791C: lea ecx, [ebp - 0x840] */ 1735 PUSH32(esp, ecx); /* 0x250A7922: push ecx */ 1736 ecx = eax; /* 0x250A7923: mov ecx, eax */ 1737 MEM32(esi + 0x6C) = eax; /* 0x250A7925: mov dword ptr [esi + 0x6c], eax */ 1738 RECOMP_ICALL(0x250EBC10u); /* 0x250A7928: call 0x250ebc10 */ /* not lifted */ 1739 RECOMP_FLAGS_IN(); 1740 goto L_250A7944; /* 0x250A792D: jmp 0x250a7944 */ 1741 L_250A7944: 1742 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1743 eax = 0; /* 0x250A7944: xor eax, eax */ 1744 _cf = 0; 1745 _flag_k = FK_TEST; 1746 ecx = 0x2000u; /* 0x250A7946: mov ecx, 0x2000 */ 1747 edi = ebp + (-0xC840); /* 0x250A794B: lea edi, [ebp - 0xc840] */ 1748 MEM32(ebp + (-0x4)) = 2; /* 0x250A7951: mov dword ptr [ebp - 4], 2 */ 1749 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x250A7958: mov byte ptr [ebp - 4], 8 */ 1750 MEM32(ebp + 0x14) = 0x80u; /* 0x250A795C: mov dword ptr [ebp + 0x14], 0x80 */ 1751 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7963: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1752 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1753 edx = 0; /* 0x250A7965: xor edx, edx */ 1754 _cf = 0; 1755 _flag_k = FK_TEST; 1756 L_250A7967: 1757 eax = MEM32(ebp + 0x10); /* 0x250A7967: mov eax, dword ptr [ebp + 0x10] */ 1758 eax = MEM32(eax + 0x8); /* 0x250A796A: mov eax, dword ptr [eax + 8] */ 1759 /* cmp eax, 0x80u */ /* 0x250A796D: cmp eax, 0x80 */ 1760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 1761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1762 _flag_k = FK_CMP; 1763 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7979; /* 0x250A7972: jle 0x250a7979 */ 1764 L_250A7974: 1765 eax = 0x80u; /* 0x250A7974: mov eax, 0x80 */ 1766 L_250A7979: 1767 /* cmp edx, eax */ /* 0x250A7979: cmp edx, eax */ 1768 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1770 _flag_k = FK_CMP; 1771 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BE; /* 0x250A797B: jge 0x250a79be */ 1772 L_250A797D: 1773 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1774 ecx = 0; /* 0x250A797D: xor ecx, ecx */ 1775 _cf = 0; 1776 _flag_k = FK_TEST; 1777 L_250A797F: 1778 eax = MEM32(ebp + 0x10); /* 0x250A797F: mov eax, dword ptr [ebp + 0x10] */ 1779 eax = MEM32(eax + 0xC); /* 0x250A7982: mov eax, dword ptr [eax + 0xc] */ 1780 /* cmp eax, 0x80u */ /* 0x250A7985: cmp eax, 0x80 */ 1781 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 1782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1783 _flag_k = FK_CMP; 1784 edi = 0x80u; /* 0x250A798A: mov edi, 0x80 */ 1785 if (CMP_G(_flag_a, _flag_b)) goto L_250A7993; /* 0x250A798F: jg 0x250a7993 */ 1786 L_250A7991: 1787 edi = eax; /* 0x250A7991: mov edi, eax */ 1788 L_250A7993: 1789 /* cmp ecx, edi */ /* 0x250A7993: cmp ecx, edi */ 1790 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1792 _flag_k = FK_CMP; 1793 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BB; /* 0x250A7995: jge 0x250a79bb */ 1794 L_250A7997: 1795 edi = MEM32(ebp + 0x10); /* 0x250A7997: mov edi, dword ptr [ebp + 0x10] */ 1796 eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x250A799A: imul eax, edx */ 1797 edi = MEM32(edi); /* 0x250A799D: mov edi, dword ptr [edi] */ 1798 ebx = edx + 0x1; /* 0x250A799F: lea ebx, [edx + 1] */ 1799 ebx = (uint32_t)((int32_t)ebx * (int32_t)MEM32(ebp + 0x14)); /* 0x250A79A2: imul ebx, dword ptr [ebp + 0x14] */ 1800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1801 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1802 eax = eax + ecx; /* 0x250A79A6: add eax, ecx */ 1803 _flag_k = FK_ADD; 1804 SET_LO16(eax, MEM16(edi + eax * 2)); /* 0x250A79A8: mov ax, word ptr [edi + eax*2] */ 1805 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 1806 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1807 ebx = ebx + ecx; /* 0x250A79AC: add ebx, ecx */ 1808 _flag_k = FK_ADD; 1809 MEM16(ebp + ebx * 2 + (-0xC83E)) = (uint16_t)(LO16(eax)); /* 0x250A79AE: mov word ptr [ebp + ebx*2 - 0xc83e], ax */ 1810 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1811 ecx = ecx + 1; /* 0x250A79B6: inc ecx */ 1812 _flag_k = FK_INC; 1813 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1814 ebx = 0; /* 0x250A79B7: xor ebx, ebx */ 1815 _cf = 0; 1816 _flag_k = FK_TEST; 1817 RECOMP_BACKEDGE(); 1818 goto L_250A797F; /* 0x250A79B9: jmp 0x250a797f */ 1819 L_250A79BB: 1820 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 1821 edx = edx + 1; /* 0x250A79BB: inc edx */ 1822 _flag_k = FK_INC; 1823 RECOMP_BACKEDGE(); 1824 goto L_250A7967; /* 0x250A79BC: jmp 0x250a7967 */ 1825 L_250A79BE: 1826 edi = MEM32(ebp + 0x18); /* 0x250A79BE: mov edi, dword ptr [ebp + 0x18] */ 1827 PUSH32(esp, ebx); /* 0x250A79C1: push ebx */ 1828 PUSH32(esp, edi); /* 0x250A79C2: push edi */ 1829 PUSH32(esp, ebx); /* 0x250A79C3: push ebx */ 1830 PUSH32(esp, 0x80u); /* 0x250A79C4: push 0x80 */ 1831 PUSH32(esp, 0x80u); /* 0x250A79C9: push 0x80 */ 1832 RECOMP_ICALL(0x25050FA0u); /* 0x250A79CE: call 0x25050fa0 */ /* not lifted */ 1833 RECOMP_FLAGS_IN(); 1834 ecx = MEM32(ebp + 0x14); /* 0x250A79D3: mov ecx, dword ptr [ebp + 0x14] */ 1835 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1836 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1837 esp = esp + 0x14u; /* 0x250A79D6: add esp, 0x14 */ 1838 _flag_k = FK_ADD; 1839 PUSH32(esp, 1); /* 0x250A79D9: push 1 */ 1840 PUSH32(esp, ebx); /* 0x250A79DB: push ebx */ 1841 PUSH32(esp, ebx); /* 0x250A79DC: push ebx */ 1842 edx = ecx + ecx; /* 0x250A79DD: lea edx, [ecx + ecx] */ 1843 PUSH32(esp, edx); /* 0x250A79E0: push edx */ 1844 PUSH32(esp, edi); /* 0x250A79E1: push edi */ 1845 ecx = ebp + (-0xC840); /* 0x250A79E2: lea ecx, [ebp - 0xc840] */ 1846 PUSH32(esp, ecx); /* 0x250A79E8: push ecx */ 1847 ecx = eax; /* 0x250A79E9: mov ecx, eax */ 1848 MEM32(esi + 0x74) = eax; /* 0x250A79EB: mov dword ptr [esi + 0x74], eax */ 1849 RECOMP_ICALL(0x250EBC10u); /* 0x250A79EE: call 0x250ebc10 */ /* not lifted */ 1850 RECOMP_FLAGS_IN(); 1851 goto L_250A7A0A; /* 0x250A79F3: jmp 0x250a7a0a */ 1852 L_250A7A0A: 1853 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 1854 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1855 eax = 0; /* 0x250A7A0F: xor eax, eax */ 1856 _cf = 0; 1857 _flag_k = FK_TEST; 1858 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 1859 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 1860 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1861 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 1862 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 1863 L_250A7A29: 1864 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 1865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 1866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1867 _flag_k = FK_CMP; 1868 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 1869 L_250A7A2E: 1870 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 1871 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1872 eax = eax + 1; /* 0x250A7A36: inc eax */ 1873 _flag_k = FK_INC; 1874 RECOMP_BACKEDGE(); 1875 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 1876 L_250A7A39: 1877 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1878 eax = 0; /* 0x250A7A39: xor eax, eax */ 1879 _cf = 0; 1880 _flag_k = FK_TEST; 1881 L_250A7A3B: 1882 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 1883 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 1884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1885 _flag_k = FK_CMP; 1886 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 1887 L_250A7A40: 1888 edx = eax; /* 0x250A7A40: mov edx, eax */ 1889 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 1890 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1891 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 1892 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 1893 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1894 eax = eax + 1; /* 0x250A7A4D: inc eax */ 1895 _flag_k = FK_INC; 1896 RECOMP_BACKEDGE(); 1897 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 1898 L_250A7A50: 1899 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 1900 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 1901 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 1902 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 1903 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 1904 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 1905 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 1906 RECOMP_FLAGS_IN(); 1907 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1908 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1909 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 1910 _flag_k = FK_ADD; 1911 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 1912 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 1913 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 1914 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 1915 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 1916 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 1917 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 1918 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 1919 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 1920 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 1921 RECOMP_FLAGS_IN(); 1922 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 1923 L_250A7A94: 1924 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 1925 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 1926 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 1927 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 1928 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 1929 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 1930 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 1931 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 1932 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 1933 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 1934 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 1935 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 1936 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 1937 RECOMP_FLAGS_IN(); 1938 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 1939 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 1940 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 1941 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 1942 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 1943 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 1944 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 1945 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 1946 RECOMP_FLAGS_IN(); 1947 edi = eax; /* 0x250A7ADF: mov edi, eax */ 1948 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1950 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 1951 _flag_k = FK_ADD; 1952 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 1953 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 1954 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1956 _flag_k = FK_CMP; 1957 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 1958 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 1959 L_250A7AEF: 1960 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 1961 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 1962 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 1963 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 1964 RECOMP_FLAGS_IN(); 1965 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 1966 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 1967 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 1968 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 1969 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1970 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1971 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 1972 _flag_k = FK_ADD; 1973 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 1974 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 1975 L_250A7B11: 1976 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 1977 L_250A7B17: 1978 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 1979 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 1980 eax = esi; /* 0x250A7B1B: mov eax, esi */ 1981 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 1982 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 1983 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 1984 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 1985 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 1986 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 1987 RECOMP_REGS_OUT(); 1988 } 1989 1990 void sub_250A78FB(void) { 1991 int _fpu_cmp = 0; 1992 uint32_t _cf = 0; 1993 int _df = 1; 1994 uint32_t _flag_k = FK_NONE; 1995 uint32_t _flag_a = 0, _flag_b = 0; 1996 uint32_t _itail_tgt = 0; 1997 RECOMP_REGS_LOCALS 1998 RECOMP_ENTER(0x250A78FBu); 1999 2000 L_250A78FB: 2001 PUSH32(esp, ebx); /* 0x250A78FB: push ebx */ 2002 PUSH32(esp, edi); /* 0x250A78FC: push edi */ 2003 PUSH32(esp, ebx); /* 0x250A78FD: push ebx */ 2004 PUSH32(esp, 0x20u); /* 0x250A78FE: push 0x20 */ 2005 MEM32(ebp + (-0x4)) = 2; /* 0x250A7900: mov dword ptr [ebp - 4], 2 */ 2006 PUSH32(esp, 0x20u); /* 0x250A7907: push 0x20 */ 2007 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250A7909: mov byte ptr [ebp - 4], 6 */ 2008 RECOMP_ICALL(0x25050FA0u); /* 0x250A790D: call 0x25050fa0 */ /* not lifted */ 2009 RECOMP_FLAGS_IN(); 2010 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2011 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2012 esp = esp + 0x14u; /* 0x250A7912: add esp, 0x14 */ 2013 _flag_k = FK_ADD; 2014 PUSH32(esp, 1); /* 0x250A7915: push 1 */ 2015 PUSH32(esp, ebx); /* 0x250A7917: push ebx */ 2016 PUSH32(esp, ebx); /* 0x250A7918: push ebx */ 2017 PUSH32(esp, 0x40u); /* 0x250A7919: push 0x40 */ 2018 PUSH32(esp, edi); /* 0x250A791B: push edi */ 2019 ecx = ebp + (-0x840); /* 0x250A791C: lea ecx, [ebp - 0x840] */ 2020 PUSH32(esp, ecx); /* 0x250A7922: push ecx */ 2021 ecx = eax; /* 0x250A7923: mov ecx, eax */ 2022 MEM32(esi + 0x6C) = eax; /* 0x250A7925: mov dword ptr [esi + 0x6c], eax */ 2023 RECOMP_ICALL(0x250EBC10u); /* 0x250A7928: call 0x250ebc10 */ /* not lifted */ 2024 RECOMP_FLAGS_IN(); 2025 goto L_250A7944; /* 0x250A792D: jmp 0x250a7944 */ 2026 L_250A7944: 2027 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2028 eax = 0; /* 0x250A7944: xor eax, eax */ 2029 _cf = 0; 2030 _flag_k = FK_TEST; 2031 ecx = 0x2000u; /* 0x250A7946: mov ecx, 0x2000 */ 2032 edi = ebp + (-0xC840); /* 0x250A794B: lea edi, [ebp - 0xc840] */ 2033 MEM32(ebp + (-0x4)) = 2; /* 0x250A7951: mov dword ptr [ebp - 4], 2 */ 2034 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x250A7958: mov byte ptr [ebp - 4], 8 */ 2035 MEM32(ebp + 0x14) = 0x80u; /* 0x250A795C: mov dword ptr [ebp + 0x14], 0x80 */ 2036 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7963: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2037 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2038 edx = 0; /* 0x250A7965: xor edx, edx */ 2039 _cf = 0; 2040 _flag_k = FK_TEST; 2041 L_250A7967: 2042 eax = MEM32(ebp + 0x10); /* 0x250A7967: mov eax, dword ptr [ebp + 0x10] */ 2043 eax = MEM32(eax + 0x8); /* 0x250A796A: mov eax, dword ptr [eax + 8] */ 2044 /* cmp eax, 0x80u */ /* 0x250A796D: cmp eax, 0x80 */ 2045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 2046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2047 _flag_k = FK_CMP; 2048 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7979; /* 0x250A7972: jle 0x250a7979 */ 2049 L_250A7974: 2050 eax = 0x80u; /* 0x250A7974: mov eax, 0x80 */ 2051 L_250A7979: 2052 /* cmp edx, eax */ /* 0x250A7979: cmp edx, eax */ 2053 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2055 _flag_k = FK_CMP; 2056 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BE; /* 0x250A797B: jge 0x250a79be */ 2057 L_250A797D: 2058 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2059 ecx = 0; /* 0x250A797D: xor ecx, ecx */ 2060 _cf = 0; 2061 _flag_k = FK_TEST; 2062 L_250A797F: 2063 eax = MEM32(ebp + 0x10); /* 0x250A797F: mov eax, dword ptr [ebp + 0x10] */ 2064 eax = MEM32(eax + 0xC); /* 0x250A7982: mov eax, dword ptr [eax + 0xc] */ 2065 /* cmp eax, 0x80u */ /* 0x250A7985: cmp eax, 0x80 */ 2066 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 2067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2068 _flag_k = FK_CMP; 2069 edi = 0x80u; /* 0x250A798A: mov edi, 0x80 */ 2070 if (CMP_G(_flag_a, _flag_b)) goto L_250A7993; /* 0x250A798F: jg 0x250a7993 */ 2071 L_250A7991: 2072 edi = eax; /* 0x250A7991: mov edi, eax */ 2073 L_250A7993: 2074 /* cmp ecx, edi */ /* 0x250A7993: cmp ecx, edi */ 2075 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2077 _flag_k = FK_CMP; 2078 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BB; /* 0x250A7995: jge 0x250a79bb */ 2079 L_250A7997: 2080 edi = MEM32(ebp + 0x10); /* 0x250A7997: mov edi, dword ptr [ebp + 0x10] */ 2081 eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x250A799A: imul eax, edx */ 2082 edi = MEM32(edi); /* 0x250A799D: mov edi, dword ptr [edi] */ 2083 ebx = edx + 0x1; /* 0x250A799F: lea ebx, [edx + 1] */ 2084 ebx = (uint32_t)((int32_t)ebx * (int32_t)MEM32(ebp + 0x14)); /* 0x250A79A2: imul ebx, dword ptr [ebp + 0x14] */ 2085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2086 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2087 eax = eax + ecx; /* 0x250A79A6: add eax, ecx */ 2088 _flag_k = FK_ADD; 2089 SET_LO16(eax, MEM16(edi + eax * 2)); /* 0x250A79A8: mov ax, word ptr [edi + eax*2] */ 2090 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 2091 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2092 ebx = ebx + ecx; /* 0x250A79AC: add ebx, ecx */ 2093 _flag_k = FK_ADD; 2094 MEM16(ebp + ebx * 2 + (-0xC83E)) = (uint16_t)(LO16(eax)); /* 0x250A79AE: mov word ptr [ebp + ebx*2 - 0xc83e], ax */ 2095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2096 ecx = ecx + 1; /* 0x250A79B6: inc ecx */ 2097 _flag_k = FK_INC; 2098 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2099 ebx = 0; /* 0x250A79B7: xor ebx, ebx */ 2100 _cf = 0; 2101 _flag_k = FK_TEST; 2102 RECOMP_BACKEDGE(); 2103 goto L_250A797F; /* 0x250A79B9: jmp 0x250a797f */ 2104 L_250A79BB: 2105 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2106 edx = edx + 1; /* 0x250A79BB: inc edx */ 2107 _flag_k = FK_INC; 2108 RECOMP_BACKEDGE(); 2109 goto L_250A7967; /* 0x250A79BC: jmp 0x250a7967 */ 2110 L_250A79BE: 2111 edi = MEM32(ebp + 0x18); /* 0x250A79BE: mov edi, dword ptr [ebp + 0x18] */ 2112 PUSH32(esp, ebx); /* 0x250A79C1: push ebx */ 2113 PUSH32(esp, edi); /* 0x250A79C2: push edi */ 2114 PUSH32(esp, ebx); /* 0x250A79C3: push ebx */ 2115 PUSH32(esp, 0x80u); /* 0x250A79C4: push 0x80 */ 2116 PUSH32(esp, 0x80u); /* 0x250A79C9: push 0x80 */ 2117 RECOMP_ICALL(0x25050FA0u); /* 0x250A79CE: call 0x25050fa0 */ /* not lifted */ 2118 RECOMP_FLAGS_IN(); 2119 ecx = MEM32(ebp + 0x14); /* 0x250A79D3: mov ecx, dword ptr [ebp + 0x14] */ 2120 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2122 esp = esp + 0x14u; /* 0x250A79D6: add esp, 0x14 */ 2123 _flag_k = FK_ADD; 2124 PUSH32(esp, 1); /* 0x250A79D9: push 1 */ 2125 PUSH32(esp, ebx); /* 0x250A79DB: push ebx */ 2126 PUSH32(esp, ebx); /* 0x250A79DC: push ebx */ 2127 edx = ecx + ecx; /* 0x250A79DD: lea edx, [ecx + ecx] */ 2128 PUSH32(esp, edx); /* 0x250A79E0: push edx */ 2129 PUSH32(esp, edi); /* 0x250A79E1: push edi */ 2130 ecx = ebp + (-0xC840); /* 0x250A79E2: lea ecx, [ebp - 0xc840] */ 2131 PUSH32(esp, ecx); /* 0x250A79E8: push ecx */ 2132 ecx = eax; /* 0x250A79E9: mov ecx, eax */ 2133 MEM32(esi + 0x74) = eax; /* 0x250A79EB: mov dword ptr [esi + 0x74], eax */ 2134 RECOMP_ICALL(0x250EBC10u); /* 0x250A79EE: call 0x250ebc10 */ /* not lifted */ 2135 RECOMP_FLAGS_IN(); 2136 goto L_250A7A0A; /* 0x250A79F3: jmp 0x250a7a0a */ 2137 L_250A7A0A: 2138 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 2139 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2140 eax = 0; /* 0x250A7A0F: xor eax, eax */ 2141 _cf = 0; 2142 _flag_k = FK_TEST; 2143 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 2144 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 2145 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2146 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 2147 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 2148 L_250A7A29: 2149 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 2150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 2151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2152 _flag_k = FK_CMP; 2153 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 2154 L_250A7A2E: 2155 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 2156 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2157 eax = eax + 1; /* 0x250A7A36: inc eax */ 2158 _flag_k = FK_INC; 2159 RECOMP_BACKEDGE(); 2160 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 2161 L_250A7A39: 2162 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2163 eax = 0; /* 0x250A7A39: xor eax, eax */ 2164 _cf = 0; 2165 _flag_k = FK_TEST; 2166 L_250A7A3B: 2167 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 2168 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 2169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2170 _flag_k = FK_CMP; 2171 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 2172 L_250A7A40: 2173 edx = eax; /* 0x250A7A40: mov edx, eax */ 2174 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 2175 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2176 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 2177 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 2178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2179 eax = eax + 1; /* 0x250A7A4D: inc eax */ 2180 _flag_k = FK_INC; 2181 RECOMP_BACKEDGE(); 2182 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 2183 L_250A7A50: 2184 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 2185 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 2186 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 2187 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 2188 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 2189 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 2190 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 2191 RECOMP_FLAGS_IN(); 2192 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2193 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2194 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 2195 _flag_k = FK_ADD; 2196 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 2197 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 2198 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 2199 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 2200 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 2201 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 2202 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 2203 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 2204 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 2205 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 2206 RECOMP_FLAGS_IN(); 2207 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 2208 L_250A7A94: 2209 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 2210 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 2211 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 2212 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 2213 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 2214 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 2215 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 2216 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 2217 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 2218 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 2219 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 2220 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 2221 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 2222 RECOMP_FLAGS_IN(); 2223 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 2224 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 2225 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 2226 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 2227 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 2228 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 2229 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 2230 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 2231 RECOMP_FLAGS_IN(); 2232 edi = eax; /* 0x250A7ADF: mov edi, eax */ 2233 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2234 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2235 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 2236 _flag_k = FK_ADD; 2237 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 2238 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 2239 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2241 _flag_k = FK_CMP; 2242 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 2243 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 2244 L_250A7AEF: 2245 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 2246 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 2247 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 2248 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 2249 RECOMP_FLAGS_IN(); 2250 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 2251 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 2252 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 2253 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 2254 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2255 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2256 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 2257 _flag_k = FK_ADD; 2258 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 2259 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 2260 L_250A7B11: 2261 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 2262 L_250A7B17: 2263 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 2264 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 2265 eax = esi; /* 0x250A7B1B: mov eax, esi */ 2266 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 2267 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 2268 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 2269 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 2270 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 2271 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 2272 RECOMP_REGS_OUT(); 2273 } 2274 2275 void sub_250A792F(void) { 2276 int _fpu_cmp = 0; 2277 uint32_t _cf = 0; 2278 int _df = 1; 2279 uint32_t _flag_k = FK_NONE; 2280 uint32_t _flag_a = 0, _flag_b = 0; 2281 uint32_t _itail_tgt = 0; 2282 RECOMP_REGS_LOCALS 2283 RECOMP_ENTER(0x250A792Fu); 2284 2285 L_250A792F: 2286 edx = MEM32(ebp + (-0x14)); /* 0x250A792F: mov edx, dword ptr [ebp - 0x14] */ 2287 MEM32(edx + 0x6C) = 0; /* 0x250A7932: mov dword ptr [edx + 0x6c], 0 */ 2288 eax = 0x250A793Fu; /* 0x250A7939: mov eax, 0x250a793f */ 2289 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A793E: ret */ 2290 RECOMP_REGS_OUT(); 2291 } 2292 2293 void sub_250A793F(void) { 2294 int _fpu_cmp = 0; 2295 uint32_t _cf = 0; 2296 int _df = 1; 2297 uint32_t _flag_k = FK_NONE; 2298 uint32_t _flag_a = 0, _flag_b = 0; 2299 uint32_t _itail_tgt = 0; 2300 RECOMP_REGS_LOCALS 2301 RECOMP_ENTER(0x250A793Fu); 2302 2303 L_250A793F: 2304 esi = MEM32(ebp + (-0x14)); /* 0x250A793F: mov esi, dword ptr [ebp - 0x14] */ 2305 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2306 ebx = 0; /* 0x250A7942: xor ebx, ebx */ 2307 _cf = 0; 2308 _flag_k = FK_TEST; 2309 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2310 eax = 0; /* 0x250A7944: xor eax, eax */ 2311 _cf = 0; 2312 _flag_k = FK_TEST; 2313 ecx = 0x2000u; /* 0x250A7946: mov ecx, 0x2000 */ 2314 edi = ebp + (-0xC840); /* 0x250A794B: lea edi, [ebp - 0xc840] */ 2315 MEM32(ebp + (-0x4)) = 2; /* 0x250A7951: mov dword ptr [ebp - 4], 2 */ 2316 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x250A7958: mov byte ptr [ebp - 4], 8 */ 2317 MEM32(ebp + 0x14) = 0x80u; /* 0x250A795C: mov dword ptr [ebp + 0x14], 0x80 */ 2318 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7963: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2319 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2320 edx = 0; /* 0x250A7965: xor edx, edx */ 2321 _cf = 0; 2322 _flag_k = FK_TEST; 2323 L_250A7967: 2324 eax = MEM32(ebp + 0x10); /* 0x250A7967: mov eax, dword ptr [ebp + 0x10] */ 2325 eax = MEM32(eax + 0x8); /* 0x250A796A: mov eax, dword ptr [eax + 8] */ 2326 /* cmp eax, 0x80u */ /* 0x250A796D: cmp eax, 0x80 */ 2327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 2328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2329 _flag_k = FK_CMP; 2330 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7979; /* 0x250A7972: jle 0x250a7979 */ 2331 L_250A7974: 2332 eax = 0x80u; /* 0x250A7974: mov eax, 0x80 */ 2333 L_250A7979: 2334 /* cmp edx, eax */ /* 0x250A7979: cmp edx, eax */ 2335 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2337 _flag_k = FK_CMP; 2338 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BE; /* 0x250A797B: jge 0x250a79be */ 2339 L_250A797D: 2340 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2341 ecx = 0; /* 0x250A797D: xor ecx, ecx */ 2342 _cf = 0; 2343 _flag_k = FK_TEST; 2344 L_250A797F: 2345 eax = MEM32(ebp + 0x10); /* 0x250A797F: mov eax, dword ptr [ebp + 0x10] */ 2346 eax = MEM32(eax + 0xC); /* 0x250A7982: mov eax, dword ptr [eax + 0xc] */ 2347 /* cmp eax, 0x80u */ /* 0x250A7985: cmp eax, 0x80 */ 2348 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 2349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2350 _flag_k = FK_CMP; 2351 edi = 0x80u; /* 0x250A798A: mov edi, 0x80 */ 2352 if (CMP_G(_flag_a, _flag_b)) goto L_250A7993; /* 0x250A798F: jg 0x250a7993 */ 2353 L_250A7991: 2354 edi = eax; /* 0x250A7991: mov edi, eax */ 2355 L_250A7993: 2356 /* cmp ecx, edi */ /* 0x250A7993: cmp ecx, edi */ 2357 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2359 _flag_k = FK_CMP; 2360 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BB; /* 0x250A7995: jge 0x250a79bb */ 2361 L_250A7997: 2362 edi = MEM32(ebp + 0x10); /* 0x250A7997: mov edi, dword ptr [ebp + 0x10] */ 2363 eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x250A799A: imul eax, edx */ 2364 edi = MEM32(edi); /* 0x250A799D: mov edi, dword ptr [edi] */ 2365 ebx = edx + 0x1; /* 0x250A799F: lea ebx, [edx + 1] */ 2366 ebx = (uint32_t)((int32_t)ebx * (int32_t)MEM32(ebp + 0x14)); /* 0x250A79A2: imul ebx, dword ptr [ebp + 0x14] */ 2367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2368 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2369 eax = eax + ecx; /* 0x250A79A6: add eax, ecx */ 2370 _flag_k = FK_ADD; 2371 SET_LO16(eax, MEM16(edi + eax * 2)); /* 0x250A79A8: mov ax, word ptr [edi + eax*2] */ 2372 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 2373 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2374 ebx = ebx + ecx; /* 0x250A79AC: add ebx, ecx */ 2375 _flag_k = FK_ADD; 2376 MEM16(ebp + ebx * 2 + (-0xC83E)) = (uint16_t)(LO16(eax)); /* 0x250A79AE: mov word ptr [ebp + ebx*2 - 0xc83e], ax */ 2377 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2378 ecx = ecx + 1; /* 0x250A79B6: inc ecx */ 2379 _flag_k = FK_INC; 2380 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2381 ebx = 0; /* 0x250A79B7: xor ebx, ebx */ 2382 _cf = 0; 2383 _flag_k = FK_TEST; 2384 RECOMP_BACKEDGE(); 2385 goto L_250A797F; /* 0x250A79B9: jmp 0x250a797f */ 2386 L_250A79BB: 2387 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2388 edx = edx + 1; /* 0x250A79BB: inc edx */ 2389 _flag_k = FK_INC; 2390 RECOMP_BACKEDGE(); 2391 goto L_250A7967; /* 0x250A79BC: jmp 0x250a7967 */ 2392 L_250A79BE: 2393 edi = MEM32(ebp + 0x18); /* 0x250A79BE: mov edi, dword ptr [ebp + 0x18] */ 2394 PUSH32(esp, ebx); /* 0x250A79C1: push ebx */ 2395 PUSH32(esp, edi); /* 0x250A79C2: push edi */ 2396 PUSH32(esp, ebx); /* 0x250A79C3: push ebx */ 2397 PUSH32(esp, 0x80u); /* 0x250A79C4: push 0x80 */ 2398 PUSH32(esp, 0x80u); /* 0x250A79C9: push 0x80 */ 2399 RECOMP_ICALL(0x25050FA0u); /* 0x250A79CE: call 0x25050fa0 */ /* not lifted */ 2400 RECOMP_FLAGS_IN(); 2401 ecx = MEM32(ebp + 0x14); /* 0x250A79D3: mov ecx, dword ptr [ebp + 0x14] */ 2402 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2403 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2404 esp = esp + 0x14u; /* 0x250A79D6: add esp, 0x14 */ 2405 _flag_k = FK_ADD; 2406 PUSH32(esp, 1); /* 0x250A79D9: push 1 */ 2407 PUSH32(esp, ebx); /* 0x250A79DB: push ebx */ 2408 PUSH32(esp, ebx); /* 0x250A79DC: push ebx */ 2409 edx = ecx + ecx; /* 0x250A79DD: lea edx, [ecx + ecx] */ 2410 PUSH32(esp, edx); /* 0x250A79E0: push edx */ 2411 PUSH32(esp, edi); /* 0x250A79E1: push edi */ 2412 ecx = ebp + (-0xC840); /* 0x250A79E2: lea ecx, [ebp - 0xc840] */ 2413 PUSH32(esp, ecx); /* 0x250A79E8: push ecx */ 2414 ecx = eax; /* 0x250A79E9: mov ecx, eax */ 2415 MEM32(esi + 0x74) = eax; /* 0x250A79EB: mov dword ptr [esi + 0x74], eax */ 2416 RECOMP_ICALL(0x250EBC10u); /* 0x250A79EE: call 0x250ebc10 */ /* not lifted */ 2417 RECOMP_FLAGS_IN(); 2418 goto L_250A7A0A; /* 0x250A79F3: jmp 0x250a7a0a */ 2419 L_250A7A0A: 2420 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 2421 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2422 eax = 0; /* 0x250A7A0F: xor eax, eax */ 2423 _cf = 0; 2424 _flag_k = FK_TEST; 2425 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 2426 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 2427 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2428 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 2429 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 2430 L_250A7A29: 2431 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 2432 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 2433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2434 _flag_k = FK_CMP; 2435 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 2436 L_250A7A2E: 2437 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 2438 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2439 eax = eax + 1; /* 0x250A7A36: inc eax */ 2440 _flag_k = FK_INC; 2441 RECOMP_BACKEDGE(); 2442 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 2443 L_250A7A39: 2444 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2445 eax = 0; /* 0x250A7A39: xor eax, eax */ 2446 _cf = 0; 2447 _flag_k = FK_TEST; 2448 L_250A7A3B: 2449 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 2450 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 2451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2452 _flag_k = FK_CMP; 2453 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 2454 L_250A7A40: 2455 edx = eax; /* 0x250A7A40: mov edx, eax */ 2456 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 2457 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2458 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 2459 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 2460 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2461 eax = eax + 1; /* 0x250A7A4D: inc eax */ 2462 _flag_k = FK_INC; 2463 RECOMP_BACKEDGE(); 2464 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 2465 L_250A7A50: 2466 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 2467 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 2468 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 2469 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 2470 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 2471 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 2472 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 2473 RECOMP_FLAGS_IN(); 2474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2476 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 2477 _flag_k = FK_ADD; 2478 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 2479 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 2480 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 2481 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 2482 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 2483 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 2484 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 2485 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 2486 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 2487 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 2488 RECOMP_FLAGS_IN(); 2489 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 2490 L_250A7A94: 2491 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 2492 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 2493 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 2494 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 2495 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 2496 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 2497 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 2498 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 2499 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 2500 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 2501 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 2502 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 2503 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 2504 RECOMP_FLAGS_IN(); 2505 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 2506 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 2507 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 2508 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 2509 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 2510 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 2511 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 2512 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 2513 RECOMP_FLAGS_IN(); 2514 edi = eax; /* 0x250A7ADF: mov edi, eax */ 2515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2517 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 2518 _flag_k = FK_ADD; 2519 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 2520 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 2521 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2523 _flag_k = FK_CMP; 2524 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 2525 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 2526 L_250A7AEF: 2527 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 2528 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 2529 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 2530 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 2531 RECOMP_FLAGS_IN(); 2532 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 2533 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 2534 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 2535 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 2536 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2537 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2538 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 2539 _flag_k = FK_ADD; 2540 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 2541 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 2542 L_250A7B11: 2543 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 2544 L_250A7B17: 2545 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 2546 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 2547 eax = esi; /* 0x250A7B1B: mov eax, esi */ 2548 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 2549 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 2550 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 2551 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 2552 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 2553 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 2554 RECOMP_REGS_OUT(); 2555 } 2556 2557 void sub_250A7944(void) { 2558 int _fpu_cmp = 0; 2559 uint32_t _cf = 0; 2560 int _df = 1; 2561 uint32_t _flag_k = FK_NONE; 2562 uint32_t _flag_a = 0, _flag_b = 0; 2563 uint32_t _itail_tgt = 0; 2564 RECOMP_REGS_LOCALS 2565 RECOMP_ENTER(0x250A7944u); 2566 2567 L_250A7944: 2568 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2569 eax = 0; /* 0x250A7944: xor eax, eax */ 2570 _cf = 0; 2571 _flag_k = FK_TEST; 2572 ecx = 0x2000u; /* 0x250A7946: mov ecx, 0x2000 */ 2573 edi = ebp + (-0xC840); /* 0x250A794B: lea edi, [ebp - 0xc840] */ 2574 MEM32(ebp + (-0x4)) = 2; /* 0x250A7951: mov dword ptr [ebp - 4], 2 */ 2575 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x250A7958: mov byte ptr [ebp - 4], 8 */ 2576 MEM32(ebp + 0x14) = 0x80u; /* 0x250A795C: mov dword ptr [ebp + 0x14], 0x80 */ 2577 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7963: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2578 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2579 edx = 0; /* 0x250A7965: xor edx, edx */ 2580 _cf = 0; 2581 _flag_k = FK_TEST; 2582 L_250A7967: 2583 eax = MEM32(ebp + 0x10); /* 0x250A7967: mov eax, dword ptr [ebp + 0x10] */ 2584 eax = MEM32(eax + 0x8); /* 0x250A796A: mov eax, dword ptr [eax + 8] */ 2585 /* cmp eax, 0x80u */ /* 0x250A796D: cmp eax, 0x80 */ 2586 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 2587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2588 _flag_k = FK_CMP; 2589 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7979; /* 0x250A7972: jle 0x250a7979 */ 2590 L_250A7974: 2591 eax = 0x80u; /* 0x250A7974: mov eax, 0x80 */ 2592 L_250A7979: 2593 /* cmp edx, eax */ /* 0x250A7979: cmp edx, eax */ 2594 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2596 _flag_k = FK_CMP; 2597 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BE; /* 0x250A797B: jge 0x250a79be */ 2598 L_250A797D: 2599 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2600 ecx = 0; /* 0x250A797D: xor ecx, ecx */ 2601 _cf = 0; 2602 _flag_k = FK_TEST; 2603 L_250A797F: 2604 eax = MEM32(ebp + 0x10); /* 0x250A797F: mov eax, dword ptr [ebp + 0x10] */ 2605 eax = MEM32(eax + 0xC); /* 0x250A7982: mov eax, dword ptr [eax + 0xc] */ 2606 /* cmp eax, 0x80u */ /* 0x250A7985: cmp eax, 0x80 */ 2607 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 2608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2609 _flag_k = FK_CMP; 2610 edi = 0x80u; /* 0x250A798A: mov edi, 0x80 */ 2611 if (CMP_G(_flag_a, _flag_b)) goto L_250A7993; /* 0x250A798F: jg 0x250a7993 */ 2612 L_250A7991: 2613 edi = eax; /* 0x250A7991: mov edi, eax */ 2614 L_250A7993: 2615 /* cmp ecx, edi */ /* 0x250A7993: cmp ecx, edi */ 2616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2618 _flag_k = FK_CMP; 2619 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BB; /* 0x250A7995: jge 0x250a79bb */ 2620 L_250A7997: 2621 edi = MEM32(ebp + 0x10); /* 0x250A7997: mov edi, dword ptr [ebp + 0x10] */ 2622 eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x250A799A: imul eax, edx */ 2623 edi = MEM32(edi); /* 0x250A799D: mov edi, dword ptr [edi] */ 2624 ebx = edx + 0x1; /* 0x250A799F: lea ebx, [edx + 1] */ 2625 ebx = (uint32_t)((int32_t)ebx * (int32_t)MEM32(ebp + 0x14)); /* 0x250A79A2: imul ebx, dword ptr [ebp + 0x14] */ 2626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2627 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2628 eax = eax + ecx; /* 0x250A79A6: add eax, ecx */ 2629 _flag_k = FK_ADD; 2630 SET_LO16(eax, MEM16(edi + eax * 2)); /* 0x250A79A8: mov ax, word ptr [edi + eax*2] */ 2631 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 2632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2633 ebx = ebx + ecx; /* 0x250A79AC: add ebx, ecx */ 2634 _flag_k = FK_ADD; 2635 MEM16(ebp + ebx * 2 + (-0xC83E)) = (uint16_t)(LO16(eax)); /* 0x250A79AE: mov word ptr [ebp + ebx*2 - 0xc83e], ax */ 2636 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2637 ecx = ecx + 1; /* 0x250A79B6: inc ecx */ 2638 _flag_k = FK_INC; 2639 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2640 ebx = 0; /* 0x250A79B7: xor ebx, ebx */ 2641 _cf = 0; 2642 _flag_k = FK_TEST; 2643 RECOMP_BACKEDGE(); 2644 goto L_250A797F; /* 0x250A79B9: jmp 0x250a797f */ 2645 L_250A79BB: 2646 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2647 edx = edx + 1; /* 0x250A79BB: inc edx */ 2648 _flag_k = FK_INC; 2649 RECOMP_BACKEDGE(); 2650 goto L_250A7967; /* 0x250A79BC: jmp 0x250a7967 */ 2651 L_250A79BE: 2652 edi = MEM32(ebp + 0x18); /* 0x250A79BE: mov edi, dword ptr [ebp + 0x18] */ 2653 PUSH32(esp, ebx); /* 0x250A79C1: push ebx */ 2654 PUSH32(esp, edi); /* 0x250A79C2: push edi */ 2655 PUSH32(esp, ebx); /* 0x250A79C3: push ebx */ 2656 PUSH32(esp, 0x80u); /* 0x250A79C4: push 0x80 */ 2657 PUSH32(esp, 0x80u); /* 0x250A79C9: push 0x80 */ 2658 RECOMP_ICALL(0x25050FA0u); /* 0x250A79CE: call 0x25050fa0 */ /* not lifted */ 2659 RECOMP_FLAGS_IN(); 2660 ecx = MEM32(ebp + 0x14); /* 0x250A79D3: mov ecx, dword ptr [ebp + 0x14] */ 2661 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2662 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2663 esp = esp + 0x14u; /* 0x250A79D6: add esp, 0x14 */ 2664 _flag_k = FK_ADD; 2665 PUSH32(esp, 1); /* 0x250A79D9: push 1 */ 2666 PUSH32(esp, ebx); /* 0x250A79DB: push ebx */ 2667 PUSH32(esp, ebx); /* 0x250A79DC: push ebx */ 2668 edx = ecx + ecx; /* 0x250A79DD: lea edx, [ecx + ecx] */ 2669 PUSH32(esp, edx); /* 0x250A79E0: push edx */ 2670 PUSH32(esp, edi); /* 0x250A79E1: push edi */ 2671 ecx = ebp + (-0xC840); /* 0x250A79E2: lea ecx, [ebp - 0xc840] */ 2672 PUSH32(esp, ecx); /* 0x250A79E8: push ecx */ 2673 ecx = eax; /* 0x250A79E9: mov ecx, eax */ 2674 MEM32(esi + 0x74) = eax; /* 0x250A79EB: mov dword ptr [esi + 0x74], eax */ 2675 RECOMP_ICALL(0x250EBC10u); /* 0x250A79EE: call 0x250ebc10 */ /* not lifted */ 2676 RECOMP_FLAGS_IN(); 2677 goto L_250A7A0A; /* 0x250A79F3: jmp 0x250a7a0a */ 2678 L_250A7A0A: 2679 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 2680 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2681 eax = 0; /* 0x250A7A0F: xor eax, eax */ 2682 _cf = 0; 2683 _flag_k = FK_TEST; 2684 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 2685 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 2686 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2687 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 2688 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 2689 L_250A7A29: 2690 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 2691 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 2692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2693 _flag_k = FK_CMP; 2694 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 2695 L_250A7A2E: 2696 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 2697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2698 eax = eax + 1; /* 0x250A7A36: inc eax */ 2699 _flag_k = FK_INC; 2700 RECOMP_BACKEDGE(); 2701 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 2702 L_250A7A39: 2703 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2704 eax = 0; /* 0x250A7A39: xor eax, eax */ 2705 _cf = 0; 2706 _flag_k = FK_TEST; 2707 L_250A7A3B: 2708 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 2709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 2710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2711 _flag_k = FK_CMP; 2712 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 2713 L_250A7A40: 2714 edx = eax; /* 0x250A7A40: mov edx, eax */ 2715 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 2716 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2717 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 2718 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 2719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2720 eax = eax + 1; /* 0x250A7A4D: inc eax */ 2721 _flag_k = FK_INC; 2722 RECOMP_BACKEDGE(); 2723 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 2724 L_250A7A50: 2725 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 2726 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 2727 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 2728 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 2729 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 2730 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 2731 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 2732 RECOMP_FLAGS_IN(); 2733 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2734 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2735 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 2736 _flag_k = FK_ADD; 2737 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 2738 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 2739 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 2740 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 2741 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 2742 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 2743 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 2744 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 2745 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 2746 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 2747 RECOMP_FLAGS_IN(); 2748 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 2749 L_250A7A94: 2750 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 2751 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 2752 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 2753 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 2754 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 2755 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 2756 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 2757 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 2758 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 2759 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 2760 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 2761 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 2762 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 2763 RECOMP_FLAGS_IN(); 2764 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 2765 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 2766 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 2767 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 2768 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 2769 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 2770 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 2771 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 2772 RECOMP_FLAGS_IN(); 2773 edi = eax; /* 0x250A7ADF: mov edi, eax */ 2774 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2776 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 2777 _flag_k = FK_ADD; 2778 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 2779 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 2780 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2782 _flag_k = FK_CMP; 2783 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 2784 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 2785 L_250A7AEF: 2786 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 2787 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 2788 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 2789 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 2790 RECOMP_FLAGS_IN(); 2791 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 2792 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 2793 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 2794 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 2795 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2796 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2797 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 2798 _flag_k = FK_ADD; 2799 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 2800 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 2801 L_250A7B11: 2802 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 2803 L_250A7B17: 2804 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 2805 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 2806 eax = esi; /* 0x250A7B1B: mov eax, esi */ 2807 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 2808 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 2809 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 2810 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 2811 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 2812 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 2813 RECOMP_REGS_OUT(); 2814 } 2815 2816 void sub_250A7967(void) { 2817 int _fpu_cmp = 0; 2818 uint32_t _cf = 0; 2819 int _df = 1; 2820 uint32_t _flag_k = FK_NONE; 2821 uint32_t _flag_a = 0, _flag_b = 0; 2822 uint32_t _itail_tgt = 0; 2823 RECOMP_REGS_LOCALS 2824 RECOMP_ENTER(0x250A7967u); 2825 2826 L_250A7967: 2827 eax = MEM32(ebp + 0x10); /* 0x250A7967: mov eax, dword ptr [ebp + 0x10] */ 2828 eax = MEM32(eax + 0x8); /* 0x250A796A: mov eax, dword ptr [eax + 8] */ 2829 /* cmp eax, 0x80u */ /* 0x250A796D: cmp eax, 0x80 */ 2830 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 2831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2832 _flag_k = FK_CMP; 2833 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7979; /* 0x250A7972: jle 0x250a7979 */ 2834 L_250A7974: 2835 eax = 0x80u; /* 0x250A7974: mov eax, 0x80 */ 2836 L_250A7979: 2837 /* cmp edx, eax */ /* 0x250A7979: cmp edx, eax */ 2838 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2840 _flag_k = FK_CMP; 2841 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BE; /* 0x250A797B: jge 0x250a79be */ 2842 L_250A797D: 2843 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2844 ecx = 0; /* 0x250A797D: xor ecx, ecx */ 2845 _cf = 0; 2846 _flag_k = FK_TEST; 2847 L_250A797F: 2848 eax = MEM32(ebp + 0x10); /* 0x250A797F: mov eax, dword ptr [ebp + 0x10] */ 2849 eax = MEM32(eax + 0xC); /* 0x250A7982: mov eax, dword ptr [eax + 0xc] */ 2850 /* cmp eax, 0x80u */ /* 0x250A7985: cmp eax, 0x80 */ 2851 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 2852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2853 _flag_k = FK_CMP; 2854 edi = 0x80u; /* 0x250A798A: mov edi, 0x80 */ 2855 if (CMP_G(_flag_a, _flag_b)) goto L_250A7993; /* 0x250A798F: jg 0x250a7993 */ 2856 L_250A7991: 2857 edi = eax; /* 0x250A7991: mov edi, eax */ 2858 L_250A7993: 2859 /* cmp ecx, edi */ /* 0x250A7993: cmp ecx, edi */ 2860 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2862 _flag_k = FK_CMP; 2863 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BB; /* 0x250A7995: jge 0x250a79bb */ 2864 L_250A7997: 2865 edi = MEM32(ebp + 0x10); /* 0x250A7997: mov edi, dword ptr [ebp + 0x10] */ 2866 eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x250A799A: imul eax, edx */ 2867 edi = MEM32(edi); /* 0x250A799D: mov edi, dword ptr [edi] */ 2868 ebx = edx + 0x1; /* 0x250A799F: lea ebx, [edx + 1] */ 2869 ebx = (uint32_t)((int32_t)ebx * (int32_t)MEM32(ebp + 0x14)); /* 0x250A79A2: imul ebx, dword ptr [ebp + 0x14] */ 2870 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2871 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2872 eax = eax + ecx; /* 0x250A79A6: add eax, ecx */ 2873 _flag_k = FK_ADD; 2874 SET_LO16(eax, MEM16(edi + eax * 2)); /* 0x250A79A8: mov ax, word ptr [edi + eax*2] */ 2875 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 2876 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2877 ebx = ebx + ecx; /* 0x250A79AC: add ebx, ecx */ 2878 _flag_k = FK_ADD; 2879 MEM16(ebp + ebx * 2 + (-0xC83E)) = (uint16_t)(LO16(eax)); /* 0x250A79AE: mov word ptr [ebp + ebx*2 - 0xc83e], ax */ 2880 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2881 ecx = ecx + 1; /* 0x250A79B6: inc ecx */ 2882 _flag_k = FK_INC; 2883 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2884 ebx = 0; /* 0x250A79B7: xor ebx, ebx */ 2885 _cf = 0; 2886 _flag_k = FK_TEST; 2887 RECOMP_BACKEDGE(); 2888 goto L_250A797F; /* 0x250A79B9: jmp 0x250a797f */ 2889 L_250A79BB: 2890 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2891 edx = edx + 1; /* 0x250A79BB: inc edx */ 2892 _flag_k = FK_INC; 2893 RECOMP_BACKEDGE(); 2894 goto L_250A7967; /* 0x250A79BC: jmp 0x250a7967 */ 2895 L_250A79BE: 2896 edi = MEM32(ebp + 0x18); /* 0x250A79BE: mov edi, dword ptr [ebp + 0x18] */ 2897 PUSH32(esp, ebx); /* 0x250A79C1: push ebx */ 2898 PUSH32(esp, edi); /* 0x250A79C2: push edi */ 2899 PUSH32(esp, ebx); /* 0x250A79C3: push ebx */ 2900 PUSH32(esp, 0x80u); /* 0x250A79C4: push 0x80 */ 2901 PUSH32(esp, 0x80u); /* 0x250A79C9: push 0x80 */ 2902 RECOMP_ICALL(0x25050FA0u); /* 0x250A79CE: call 0x25050fa0 */ /* not lifted */ 2903 RECOMP_FLAGS_IN(); 2904 ecx = MEM32(ebp + 0x14); /* 0x250A79D3: mov ecx, dword ptr [ebp + 0x14] */ 2905 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2906 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2907 esp = esp + 0x14u; /* 0x250A79D6: add esp, 0x14 */ 2908 _flag_k = FK_ADD; 2909 PUSH32(esp, 1); /* 0x250A79D9: push 1 */ 2910 PUSH32(esp, ebx); /* 0x250A79DB: push ebx */ 2911 PUSH32(esp, ebx); /* 0x250A79DC: push ebx */ 2912 edx = ecx + ecx; /* 0x250A79DD: lea edx, [ecx + ecx] */ 2913 PUSH32(esp, edx); /* 0x250A79E0: push edx */ 2914 PUSH32(esp, edi); /* 0x250A79E1: push edi */ 2915 ecx = ebp + (-0xC840); /* 0x250A79E2: lea ecx, [ebp - 0xc840] */ 2916 PUSH32(esp, ecx); /* 0x250A79E8: push ecx */ 2917 ecx = eax; /* 0x250A79E9: mov ecx, eax */ 2918 MEM32(esi + 0x74) = eax; /* 0x250A79EB: mov dword ptr [esi + 0x74], eax */ 2919 RECOMP_ICALL(0x250EBC10u); /* 0x250A79EE: call 0x250ebc10 */ /* not lifted */ 2920 RECOMP_FLAGS_IN(); 2921 goto L_250A7A0A; /* 0x250A79F3: jmp 0x250a7a0a */ 2922 L_250A7A0A: 2923 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 2924 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2925 eax = 0; /* 0x250A7A0F: xor eax, eax */ 2926 _cf = 0; 2927 _flag_k = FK_TEST; 2928 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 2929 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 2930 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2931 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 2932 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 2933 L_250A7A29: 2934 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 2935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 2936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2937 _flag_k = FK_CMP; 2938 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 2939 L_250A7A2E: 2940 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 2941 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2942 eax = eax + 1; /* 0x250A7A36: inc eax */ 2943 _flag_k = FK_INC; 2944 RECOMP_BACKEDGE(); 2945 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 2946 L_250A7A39: 2947 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2948 eax = 0; /* 0x250A7A39: xor eax, eax */ 2949 _cf = 0; 2950 _flag_k = FK_TEST; 2951 L_250A7A3B: 2952 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 2953 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 2954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2955 _flag_k = FK_CMP; 2956 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 2957 L_250A7A40: 2958 edx = eax; /* 0x250A7A40: mov edx, eax */ 2959 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 2960 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2961 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 2962 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 2963 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2964 eax = eax + 1; /* 0x250A7A4D: inc eax */ 2965 _flag_k = FK_INC; 2966 RECOMP_BACKEDGE(); 2967 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 2968 L_250A7A50: 2969 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 2970 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 2971 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 2972 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 2973 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 2974 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 2975 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 2976 RECOMP_FLAGS_IN(); 2977 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2978 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2979 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 2980 _flag_k = FK_ADD; 2981 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 2982 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 2983 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 2984 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 2985 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 2986 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 2987 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 2988 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 2989 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 2990 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 2991 RECOMP_FLAGS_IN(); 2992 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 2993 L_250A7A94: 2994 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 2995 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 2996 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 2997 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 2998 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 2999 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 3000 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 3001 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 3002 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 3003 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 3004 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 3005 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 3006 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 3007 RECOMP_FLAGS_IN(); 3008 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 3009 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 3010 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 3011 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 3012 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 3013 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 3014 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 3015 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 3016 RECOMP_FLAGS_IN(); 3017 edi = eax; /* 0x250A7ADF: mov edi, eax */ 3018 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3020 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 3021 _flag_k = FK_ADD; 3022 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 3023 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 3024 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3026 _flag_k = FK_CMP; 3027 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 3028 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 3029 L_250A7AEF: 3030 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 3031 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 3032 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 3033 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 3034 RECOMP_FLAGS_IN(); 3035 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 3036 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 3037 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 3038 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 3039 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3040 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3041 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 3042 _flag_k = FK_ADD; 3043 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 3044 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 3045 L_250A7B11: 3046 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 3047 L_250A7B17: 3048 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 3049 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 3050 eax = esi; /* 0x250A7B1B: mov eax, esi */ 3051 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 3052 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 3053 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 3054 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 3055 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 3056 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 3057 RECOMP_REGS_OUT(); 3058 } 3059 3060 void sub_250A797F(void) { 3061 int _fpu_cmp = 0; 3062 uint32_t _cf = 0; 3063 int _df = 1; 3064 uint32_t _flag_k = FK_NONE; 3065 uint32_t _flag_a = 0, _flag_b = 0; 3066 uint32_t _itail_tgt = 0; 3067 RECOMP_REGS_LOCALS 3068 RECOMP_ENTER(0x250A797Fu); 3069 3070 goto L_250A797F; 3071 L_250A7967: 3072 eax = MEM32(ebp + 0x10); /* 0x250A7967: mov eax, dword ptr [ebp + 0x10] */ 3073 eax = MEM32(eax + 0x8); /* 0x250A796A: mov eax, dword ptr [eax + 8] */ 3074 /* cmp eax, 0x80u */ /* 0x250A796D: cmp eax, 0x80 */ 3075 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 3076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3077 _flag_k = FK_CMP; 3078 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7979; /* 0x250A7972: jle 0x250a7979 */ 3079 L_250A7974: 3080 eax = 0x80u; /* 0x250A7974: mov eax, 0x80 */ 3081 L_250A7979: 3082 /* cmp edx, eax */ /* 0x250A7979: cmp edx, eax */ 3083 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 3084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3085 _flag_k = FK_CMP; 3086 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BE; /* 0x250A797B: jge 0x250a79be */ 3087 L_250A797D: 3088 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3089 ecx = 0; /* 0x250A797D: xor ecx, ecx */ 3090 _cf = 0; 3091 _flag_k = FK_TEST; 3092 L_250A797F: 3093 eax = MEM32(ebp + 0x10); /* 0x250A797F: mov eax, dword ptr [ebp + 0x10] */ 3094 eax = MEM32(eax + 0xC); /* 0x250A7982: mov eax, dword ptr [eax + 0xc] */ 3095 /* cmp eax, 0x80u */ /* 0x250A7985: cmp eax, 0x80 */ 3096 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 3097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3098 _flag_k = FK_CMP; 3099 edi = 0x80u; /* 0x250A798A: mov edi, 0x80 */ 3100 if (CMP_G(_flag_a, _flag_b)) goto L_250A7993; /* 0x250A798F: jg 0x250a7993 */ 3101 L_250A7991: 3102 edi = eax; /* 0x250A7991: mov edi, eax */ 3103 L_250A7993: 3104 /* cmp ecx, edi */ /* 0x250A7993: cmp ecx, edi */ 3105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3107 _flag_k = FK_CMP; 3108 if (CMP_GE(_flag_a, _flag_b)) goto L_250A79BB; /* 0x250A7995: jge 0x250a79bb */ 3109 L_250A7997: 3110 edi = MEM32(ebp + 0x10); /* 0x250A7997: mov edi, dword ptr [ebp + 0x10] */ 3111 eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x250A799A: imul eax, edx */ 3112 edi = MEM32(edi); /* 0x250A799D: mov edi, dword ptr [edi] */ 3113 ebx = edx + 0x1; /* 0x250A799F: lea ebx, [edx + 1] */ 3114 ebx = (uint32_t)((int32_t)ebx * (int32_t)MEM32(ebp + 0x14)); /* 0x250A79A2: imul ebx, dword ptr [ebp + 0x14] */ 3115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3116 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3117 eax = eax + ecx; /* 0x250A79A6: add eax, ecx */ 3118 _flag_k = FK_ADD; 3119 SET_LO16(eax, MEM16(edi + eax * 2)); /* 0x250A79A8: mov ax, word ptr [edi + eax*2] */ 3120 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 3121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3122 ebx = ebx + ecx; /* 0x250A79AC: add ebx, ecx */ 3123 _flag_k = FK_ADD; 3124 MEM16(ebp + ebx * 2 + (-0xC83E)) = (uint16_t)(LO16(eax)); /* 0x250A79AE: mov word ptr [ebp + ebx*2 - 0xc83e], ax */ 3125 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3126 ecx = ecx + 1; /* 0x250A79B6: inc ecx */ 3127 _flag_k = FK_INC; 3128 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3129 ebx = 0; /* 0x250A79B7: xor ebx, ebx */ 3130 _cf = 0; 3131 _flag_k = FK_TEST; 3132 RECOMP_BACKEDGE(); 3133 goto L_250A797F; /* 0x250A79B9: jmp 0x250a797f */ 3134 L_250A79BB: 3135 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 3136 edx = edx + 1; /* 0x250A79BB: inc edx */ 3137 _flag_k = FK_INC; 3138 RECOMP_BACKEDGE(); 3139 goto L_250A7967; /* 0x250A79BC: jmp 0x250a7967 */ 3140 L_250A79BE: 3141 edi = MEM32(ebp + 0x18); /* 0x250A79BE: mov edi, dword ptr [ebp + 0x18] */ 3142 PUSH32(esp, ebx); /* 0x250A79C1: push ebx */ 3143 PUSH32(esp, edi); /* 0x250A79C2: push edi */ 3144 PUSH32(esp, ebx); /* 0x250A79C3: push ebx */ 3145 PUSH32(esp, 0x80u); /* 0x250A79C4: push 0x80 */ 3146 PUSH32(esp, 0x80u); /* 0x250A79C9: push 0x80 */ 3147 RECOMP_ICALL(0x25050FA0u); /* 0x250A79CE: call 0x25050fa0 */ /* not lifted */ 3148 RECOMP_FLAGS_IN(); 3149 ecx = MEM32(ebp + 0x14); /* 0x250A79D3: mov ecx, dword ptr [ebp + 0x14] */ 3150 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3151 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3152 esp = esp + 0x14u; /* 0x250A79D6: add esp, 0x14 */ 3153 _flag_k = FK_ADD; 3154 PUSH32(esp, 1); /* 0x250A79D9: push 1 */ 3155 PUSH32(esp, ebx); /* 0x250A79DB: push ebx */ 3156 PUSH32(esp, ebx); /* 0x250A79DC: push ebx */ 3157 edx = ecx + ecx; /* 0x250A79DD: lea edx, [ecx + ecx] */ 3158 PUSH32(esp, edx); /* 0x250A79E0: push edx */ 3159 PUSH32(esp, edi); /* 0x250A79E1: push edi */ 3160 ecx = ebp + (-0xC840); /* 0x250A79E2: lea ecx, [ebp - 0xc840] */ 3161 PUSH32(esp, ecx); /* 0x250A79E8: push ecx */ 3162 ecx = eax; /* 0x250A79E9: mov ecx, eax */ 3163 MEM32(esi + 0x74) = eax; /* 0x250A79EB: mov dword ptr [esi + 0x74], eax */ 3164 RECOMP_ICALL(0x250EBC10u); /* 0x250A79EE: call 0x250ebc10 */ /* not lifted */ 3165 RECOMP_FLAGS_IN(); 3166 goto L_250A7A0A; /* 0x250A79F3: jmp 0x250a7a0a */ 3167 L_250A7A0A: 3168 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 3169 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3170 eax = 0; /* 0x250A7A0F: xor eax, eax */ 3171 _cf = 0; 3172 _flag_k = FK_TEST; 3173 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 3174 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 3175 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 3176 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 3177 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 3178 L_250A7A29: 3179 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 3180 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3182 _flag_k = FK_CMP; 3183 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 3184 L_250A7A2E: 3185 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 3186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3187 eax = eax + 1; /* 0x250A7A36: inc eax */ 3188 _flag_k = FK_INC; 3189 RECOMP_BACKEDGE(); 3190 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 3191 L_250A7A39: 3192 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3193 eax = 0; /* 0x250A7A39: xor eax, eax */ 3194 _cf = 0; 3195 _flag_k = FK_TEST; 3196 L_250A7A3B: 3197 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 3198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3200 _flag_k = FK_CMP; 3201 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 3202 L_250A7A40: 3203 edx = eax; /* 0x250A7A40: mov edx, eax */ 3204 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 3205 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3206 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 3207 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 3208 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3209 eax = eax + 1; /* 0x250A7A4D: inc eax */ 3210 _flag_k = FK_INC; 3211 RECOMP_BACKEDGE(); 3212 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 3213 L_250A7A50: 3214 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 3215 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 3216 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 3217 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 3218 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 3219 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 3220 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 3221 RECOMP_FLAGS_IN(); 3222 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3223 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3224 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 3225 _flag_k = FK_ADD; 3226 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 3227 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 3228 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 3229 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 3230 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 3231 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 3232 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 3233 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 3234 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 3235 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 3236 RECOMP_FLAGS_IN(); 3237 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 3238 L_250A7A94: 3239 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 3240 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 3241 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 3242 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 3243 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 3244 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 3245 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 3246 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 3247 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 3248 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 3249 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 3250 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 3251 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 3252 RECOMP_FLAGS_IN(); 3253 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 3254 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 3255 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 3256 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 3257 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 3258 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 3259 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 3260 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 3261 RECOMP_FLAGS_IN(); 3262 edi = eax; /* 0x250A7ADF: mov edi, eax */ 3263 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3264 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3265 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 3266 _flag_k = FK_ADD; 3267 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 3268 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 3269 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3271 _flag_k = FK_CMP; 3272 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 3273 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 3274 L_250A7AEF: 3275 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 3276 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 3277 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 3278 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 3279 RECOMP_FLAGS_IN(); 3280 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 3281 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 3282 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 3283 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 3284 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3285 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3286 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 3287 _flag_k = FK_ADD; 3288 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 3289 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 3290 L_250A7B11: 3291 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 3292 L_250A7B17: 3293 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 3294 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 3295 eax = esi; /* 0x250A7B1B: mov eax, esi */ 3296 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 3297 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 3298 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 3299 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 3300 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 3301 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 3302 RECOMP_REGS_OUT(); 3303 } 3304 3305 void sub_250A79F5(void) { 3306 int _fpu_cmp = 0; 3307 uint32_t _cf = 0; 3308 int _df = 1; 3309 uint32_t _flag_k = FK_NONE; 3310 uint32_t _flag_a = 0, _flag_b = 0; 3311 uint32_t _itail_tgt = 0; 3312 RECOMP_REGS_LOCALS 3313 RECOMP_ENTER(0x250A79F5u); 3314 3315 L_250A79F5: 3316 edx = MEM32(ebp + (-0x14)); /* 0x250A79F5: mov edx, dword ptr [ebp - 0x14] */ 3317 MEM32(edx + 0x74) = 0; /* 0x250A79F8: mov dword ptr [edx + 0x74], 0 */ 3318 eax = 0x250A7A05u; /* 0x250A79FF: mov eax, 0x250a7a05 */ 3319 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A7A04: ret */ 3320 RECOMP_REGS_OUT(); 3321 } 3322 3323 void sub_250A7A05(void) { 3324 int _fpu_cmp = 0; 3325 uint32_t _cf = 0; 3326 int _df = 1; 3327 uint32_t _flag_k = FK_NONE; 3328 uint32_t _flag_a = 0, _flag_b = 0; 3329 uint32_t _itail_tgt = 0; 3330 RECOMP_REGS_LOCALS 3331 RECOMP_ENTER(0x250A7A05u); 3332 3333 L_250A7A05: 3334 esi = MEM32(ebp + (-0x14)); /* 0x250A7A05: mov esi, dword ptr [ebp - 0x14] */ 3335 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3336 ebx = 0; /* 0x250A7A08: xor ebx, ebx */ 3337 _cf = 0; 3338 _flag_k = FK_TEST; 3339 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 3340 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3341 eax = 0; /* 0x250A7A0F: xor eax, eax */ 3342 _cf = 0; 3343 _flag_k = FK_TEST; 3344 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 3345 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 3346 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 3347 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 3348 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 3349 L_250A7A29: 3350 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 3351 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3353 _flag_k = FK_CMP; 3354 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 3355 L_250A7A2E: 3356 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 3357 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3358 eax = eax + 1; /* 0x250A7A36: inc eax */ 3359 _flag_k = FK_INC; 3360 RECOMP_BACKEDGE(); 3361 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 3362 L_250A7A39: 3363 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3364 eax = 0; /* 0x250A7A39: xor eax, eax */ 3365 _cf = 0; 3366 _flag_k = FK_TEST; 3367 L_250A7A3B: 3368 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 3369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3371 _flag_k = FK_CMP; 3372 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 3373 L_250A7A40: 3374 edx = eax; /* 0x250A7A40: mov edx, eax */ 3375 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 3376 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3377 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 3378 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 3379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3380 eax = eax + 1; /* 0x250A7A4D: inc eax */ 3381 _flag_k = FK_INC; 3382 RECOMP_BACKEDGE(); 3383 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 3384 L_250A7A50: 3385 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 3386 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 3387 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 3388 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 3389 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 3390 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 3391 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 3392 RECOMP_FLAGS_IN(); 3393 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3394 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3395 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 3396 _flag_k = FK_ADD; 3397 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 3398 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 3399 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 3400 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 3401 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 3402 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 3403 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 3404 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 3405 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 3406 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 3407 RECOMP_FLAGS_IN(); 3408 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 3409 L_250A7A94: 3410 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 3411 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 3412 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 3413 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 3414 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 3415 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 3416 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 3417 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 3418 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 3419 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 3420 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 3421 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 3422 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 3423 RECOMP_FLAGS_IN(); 3424 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 3425 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 3426 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 3427 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 3428 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 3429 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 3430 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 3431 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 3432 RECOMP_FLAGS_IN(); 3433 edi = eax; /* 0x250A7ADF: mov edi, eax */ 3434 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3435 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3436 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 3437 _flag_k = FK_ADD; 3438 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 3439 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 3440 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3442 _flag_k = FK_CMP; 3443 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 3444 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 3445 L_250A7AEF: 3446 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 3447 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 3448 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 3449 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 3450 RECOMP_FLAGS_IN(); 3451 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 3452 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 3453 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 3454 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 3455 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3457 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 3458 _flag_k = FK_ADD; 3459 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 3460 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 3461 L_250A7B11: 3462 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 3463 L_250A7B17: 3464 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 3465 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 3466 eax = esi; /* 0x250A7B1B: mov eax, esi */ 3467 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 3468 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 3469 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 3470 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 3471 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 3472 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 3473 RECOMP_REGS_OUT(); 3474 } 3475 3476 void sub_250A7A0A(void) { 3477 int _fpu_cmp = 0; 3478 uint32_t _cf = 0; 3479 int _df = 1; 3480 uint32_t _flag_k = FK_NONE; 3481 uint32_t _flag_a = 0, _flag_b = 0; 3482 uint32_t _itail_tgt = 0; 3483 RECOMP_REGS_LOCALS 3484 RECOMP_ENTER(0x250A7A0Au); 3485 3486 L_250A7A0A: 3487 ecx = 0x800u; /* 0x250A7A0A: mov ecx, 0x800 */ 3488 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3489 eax = 0; /* 0x250A7A0F: xor eax, eax */ 3490 _cf = 0; 3491 _flag_k = FK_TEST; 3492 edi = ebp + (-0x4840); /* 0x250A7A11: lea edi, [ebp - 0x4840] */ 3493 MEM32(ebp + (-0x4)) = 2; /* 0x250A7A17: mov dword ptr [ebp - 4], 2 */ 3494 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7A1E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 3495 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x250A7A20: mov byte ptr [ebp - 4], 0xa */ 3496 ecx = 0x83E0u; /* 0x250A7A24: mov ecx, 0x83e0 */ 3497 L_250A7A29: 3498 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 3499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3501 _flag_k = FK_CMP; 3502 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 3503 L_250A7A2E: 3504 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 3505 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3506 eax = eax + 1; /* 0x250A7A36: inc eax */ 3507 _flag_k = FK_INC; 3508 RECOMP_BACKEDGE(); 3509 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 3510 L_250A7A39: 3511 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3512 eax = 0; /* 0x250A7A39: xor eax, eax */ 3513 _cf = 0; 3514 _flag_k = FK_TEST; 3515 L_250A7A3B: 3516 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 3517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3519 _flag_k = FK_CMP; 3520 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 3521 L_250A7A40: 3522 edx = eax; /* 0x250A7A40: mov edx, eax */ 3523 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 3524 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3525 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 3526 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 3527 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3528 eax = eax + 1; /* 0x250A7A4D: inc eax */ 3529 _flag_k = FK_INC; 3530 RECOMP_BACKEDGE(); 3531 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 3532 L_250A7A50: 3533 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 3534 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 3535 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 3536 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 3537 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 3538 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 3539 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 3540 RECOMP_FLAGS_IN(); 3541 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3543 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 3544 _flag_k = FK_ADD; 3545 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 3546 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 3547 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 3548 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 3549 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 3550 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 3551 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 3552 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 3553 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 3554 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 3555 RECOMP_FLAGS_IN(); 3556 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 3557 L_250A7A94: 3558 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 3559 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 3560 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 3561 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 3562 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 3563 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 3564 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 3565 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 3566 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 3567 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 3568 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 3569 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 3570 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 3571 RECOMP_FLAGS_IN(); 3572 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 3573 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 3574 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 3575 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 3576 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 3577 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 3578 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 3579 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 3580 RECOMP_FLAGS_IN(); 3581 edi = eax; /* 0x250A7ADF: mov edi, eax */ 3582 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3583 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3584 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 3585 _flag_k = FK_ADD; 3586 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 3587 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 3588 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3590 _flag_k = FK_CMP; 3591 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 3592 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 3593 L_250A7AEF: 3594 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 3595 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 3596 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 3597 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 3598 RECOMP_FLAGS_IN(); 3599 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 3600 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 3601 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 3602 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 3603 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3604 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3605 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 3606 _flag_k = FK_ADD; 3607 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 3608 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 3609 L_250A7B11: 3610 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 3611 L_250A7B17: 3612 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 3613 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 3614 eax = esi; /* 0x250A7B1B: mov eax, esi */ 3615 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 3616 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 3617 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 3618 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 3619 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 3620 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 3621 RECOMP_REGS_OUT(); 3622 } 3623 3624 void sub_250A7A29(void) { 3625 int _fpu_cmp = 0; 3626 uint32_t _cf = 0; 3627 int _df = 1; 3628 uint32_t _flag_k = FK_NONE; 3629 uint32_t _flag_a = 0, _flag_b = 0; 3630 uint32_t _itail_tgt = 0; 3631 RECOMP_REGS_LOCALS 3632 RECOMP_ENTER(0x250A7A29u); 3633 3634 L_250A7A29: 3635 /* cmp eax, 0x40u */ /* 0x250A7A29: cmp eax, 0x40 */ 3636 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3638 _flag_k = FK_CMP; 3639 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A39; /* 0x250A7A2C: jge 0x250a7a39 */ 3640 L_250A7A2E: 3641 MEM16(ebp + eax * 2 + (-0x47C0)) = (uint16_t)(LO16(ecx)); /* 0x250A7A2E: mov word ptr [ebp + eax*2 - 0x47c0], cx */ 3642 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3643 eax = eax + 1; /* 0x250A7A36: inc eax */ 3644 _flag_k = FK_INC; 3645 RECOMP_BACKEDGE(); 3646 goto L_250A7A29; /* 0x250A7A37: jmp 0x250a7a29 */ 3647 L_250A7A39: 3648 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3649 eax = 0; /* 0x250A7A39: xor eax, eax */ 3650 _cf = 0; 3651 _flag_k = FK_TEST; 3652 L_250A7A3B: 3653 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 3654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3656 _flag_k = FK_CMP; 3657 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 3658 L_250A7A40: 3659 edx = eax; /* 0x250A7A40: mov edx, eax */ 3660 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 3661 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3662 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 3663 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 3664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3665 eax = eax + 1; /* 0x250A7A4D: inc eax */ 3666 _flag_k = FK_INC; 3667 RECOMP_BACKEDGE(); 3668 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 3669 L_250A7A50: 3670 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 3671 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 3672 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 3673 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 3674 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 3675 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 3676 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 3677 RECOMP_FLAGS_IN(); 3678 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3679 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3680 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 3681 _flag_k = FK_ADD; 3682 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 3683 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 3684 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 3685 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 3686 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 3687 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 3688 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 3689 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 3690 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 3691 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 3692 RECOMP_FLAGS_IN(); 3693 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 3694 L_250A7A94: 3695 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 3696 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 3697 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 3698 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 3699 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 3700 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 3701 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 3702 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 3703 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 3704 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 3705 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 3706 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 3707 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 3708 RECOMP_FLAGS_IN(); 3709 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 3710 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 3711 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 3712 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 3713 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 3714 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 3715 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 3716 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 3717 RECOMP_FLAGS_IN(); 3718 edi = eax; /* 0x250A7ADF: mov edi, eax */ 3719 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3720 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3721 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 3722 _flag_k = FK_ADD; 3723 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 3724 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 3725 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3727 _flag_k = FK_CMP; 3728 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 3729 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 3730 L_250A7AEF: 3731 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 3732 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 3733 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 3734 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 3735 RECOMP_FLAGS_IN(); 3736 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 3737 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 3738 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 3739 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 3740 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3741 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3742 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 3743 _flag_k = FK_ADD; 3744 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 3745 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 3746 L_250A7B11: 3747 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 3748 L_250A7B17: 3749 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 3750 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 3751 eax = esi; /* 0x250A7B1B: mov eax, esi */ 3752 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 3753 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 3754 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 3755 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 3756 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 3757 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 3758 RECOMP_REGS_OUT(); 3759 } 3760 3761 void sub_250A7A3B(void) { 3762 int _fpu_cmp = 0; 3763 uint32_t _cf = 0; 3764 int _df = 1; 3765 uint32_t _flag_k = FK_NONE; 3766 uint32_t _flag_a = 0, _flag_b = 0; 3767 uint32_t _itail_tgt = 0; 3768 RECOMP_REGS_LOCALS 3769 RECOMP_ENTER(0x250A7A3Bu); 3770 3771 L_250A7A3B: 3772 /* cmp eax, 0x40u */ /* 0x250A7A3B: cmp eax, 0x40 */ 3773 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 3774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3775 _flag_k = FK_CMP; 3776 if (CMP_GE(_flag_a, _flag_b)) goto L_250A7A50; /* 0x250A7A3E: jge 0x250a7a50 */ 3777 L_250A7A40: 3778 edx = eax; /* 0x250A7A40: mov edx, eax */ 3779 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7A42: shl edx, 7 */ 3780 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3781 edx = edx << 7u; /* 0x250A7A42: shl edx, 7 */ 3782 MEM16(ebp + edx + (-0x483E)) = (uint16_t)(LO16(ecx)); /* 0x250A7A45: mov word ptr [ebp + edx - 0x483e], cx */ 3783 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3784 eax = eax + 1; /* 0x250A7A4D: inc eax */ 3785 _flag_k = FK_INC; 3786 RECOMP_BACKEDGE(); 3787 goto L_250A7A3B; /* 0x250A7A4E: jmp 0x250a7a3b */ 3788 L_250A7A50: 3789 edi = MEM32(ebp + 0x18); /* 0x250A7A50: mov edi, dword ptr [ebp + 0x18] */ 3790 PUSH32(esp, ebx); /* 0x250A7A53: push ebx */ 3791 PUSH32(esp, edi); /* 0x250A7A54: push edi */ 3792 PUSH32(esp, ebx); /* 0x250A7A55: push ebx */ 3793 PUSH32(esp, 0x40u); /* 0x250A7A56: push 0x40 */ 3794 PUSH32(esp, 0x40u); /* 0x250A7A58: push 0x40 */ 3795 RECOMP_ICALL(0x25050FA0u); /* 0x250A7A5A: call 0x25050fa0 */ /* not lifted */ 3796 RECOMP_FLAGS_IN(); 3797 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3798 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3799 esp = esp + 0x14u; /* 0x250A7A5F: add esp, 0x14 */ 3800 _flag_k = FK_ADD; 3801 PUSH32(esp, 1); /* 0x250A7A62: push 1 */ 3802 PUSH32(esp, ebx); /* 0x250A7A64: push ebx */ 3803 PUSH32(esp, ebx); /* 0x250A7A65: push ebx */ 3804 PUSH32(esp, 0x80u); /* 0x250A7A66: push 0x80 */ 3805 PUSH32(esp, edi); /* 0x250A7A6B: push edi */ 3806 ecx = ebp + (-0x4840); /* 0x250A7A6C: lea ecx, [ebp - 0x4840] */ 3807 PUSH32(esp, ecx); /* 0x250A7A72: push ecx */ 3808 ecx = eax; /* 0x250A7A73: mov ecx, eax */ 3809 MEM32(esi + 0x78) = eax; /* 0x250A7A75: mov dword ptr [esi + 0x78], eax */ 3810 RECOMP_ICALL(0x250EBC10u); /* 0x250A7A78: call 0x250ebc10 */ /* not lifted */ 3811 RECOMP_FLAGS_IN(); 3812 goto L_250A7A94; /* 0x250A7A7D: jmp 0x250a7a94 */ 3813 L_250A7A94: 3814 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 3815 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 3816 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 3817 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 3818 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 3819 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 3820 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 3821 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 3822 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 3823 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 3824 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 3825 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 3826 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 3827 RECOMP_FLAGS_IN(); 3828 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 3829 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 3830 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 3831 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 3832 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 3833 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 3834 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 3835 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 3836 RECOMP_FLAGS_IN(); 3837 edi = eax; /* 0x250A7ADF: mov edi, eax */ 3838 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3839 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3840 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 3841 _flag_k = FK_ADD; 3842 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 3843 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 3844 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3846 _flag_k = FK_CMP; 3847 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 3848 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 3849 L_250A7AEF: 3850 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 3851 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 3852 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 3853 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 3854 RECOMP_FLAGS_IN(); 3855 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 3856 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 3857 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 3858 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 3859 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3860 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3861 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 3862 _flag_k = FK_ADD; 3863 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 3864 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 3865 L_250A7B11: 3866 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 3867 L_250A7B17: 3868 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 3869 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 3870 eax = esi; /* 0x250A7B1B: mov eax, esi */ 3871 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 3872 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 3873 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 3874 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 3875 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 3876 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 3877 RECOMP_REGS_OUT(); 3878 } 3879 3880 void sub_250A7A7F(void) { 3881 int _fpu_cmp = 0; 3882 uint32_t _cf = 0; 3883 int _df = 1; 3884 uint32_t _flag_k = FK_NONE; 3885 uint32_t _flag_a = 0, _flag_b = 0; 3886 uint32_t _itail_tgt = 0; 3887 RECOMP_REGS_LOCALS 3888 RECOMP_ENTER(0x250A7A7Fu); 3889 3890 L_250A7A7F: 3891 edx = MEM32(ebp + (-0x14)); /* 0x250A7A7F: mov edx, dword ptr [ebp - 0x14] */ 3892 MEM32(edx + 0x78) = 0; /* 0x250A7A82: mov dword ptr [edx + 0x78], 0 */ 3893 eax = 0x250A7A8Fu; /* 0x250A7A89: mov eax, 0x250a7a8f */ 3894 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A7A8E: ret */ 3895 RECOMP_REGS_OUT(); 3896 } 3897 3898 void sub_250A7A8F(void) { 3899 int _fpu_cmp = 0; 3900 uint32_t _cf = 0; 3901 int _df = 1; 3902 uint32_t _flag_k = FK_NONE; 3903 uint32_t _flag_a = 0, _flag_b = 0; 3904 uint32_t _itail_tgt = 0; 3905 RECOMP_REGS_LOCALS 3906 RECOMP_ENTER(0x250A7A8Fu); 3907 3908 L_250A7A8F: 3909 esi = MEM32(ebp + (-0x14)); /* 0x250A7A8F: mov esi, dword ptr [ebp - 0x14] */ 3910 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3911 ebx = 0; /* 0x250A7A92: xor ebx, ebx */ 3912 _cf = 0; 3913 _flag_k = FK_TEST; 3914 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 3915 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 3916 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 3917 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 3918 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 3919 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 3920 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 3921 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 3922 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 3923 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 3924 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 3925 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 3926 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 3927 RECOMP_FLAGS_IN(); 3928 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 3929 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 3930 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 3931 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 3932 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 3933 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 3934 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 3935 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 3936 RECOMP_FLAGS_IN(); 3937 edi = eax; /* 0x250A7ADF: mov edi, eax */ 3938 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3940 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 3941 _flag_k = FK_ADD; 3942 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 3943 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 3944 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3946 _flag_k = FK_CMP; 3947 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 3948 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 3949 L_250A7AEF: 3950 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 3951 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 3952 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 3953 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 3954 RECOMP_FLAGS_IN(); 3955 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 3956 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 3957 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 3958 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 3959 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3960 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3961 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 3962 _flag_k = FK_ADD; 3963 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 3964 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 3965 L_250A7B11: 3966 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 3967 L_250A7B17: 3968 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 3969 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 3970 eax = esi; /* 0x250A7B1B: mov eax, esi */ 3971 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 3972 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 3973 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 3974 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 3975 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 3976 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 3977 RECOMP_REGS_OUT(); 3978 } 3979 3980 void sub_250A7A94(void) { 3981 int _fpu_cmp = 0; 3982 uint32_t _cf = 0; 3983 int _df = 1; 3984 uint32_t _flag_k = FK_NONE; 3985 uint32_t _flag_a = 0, _flag_b = 0; 3986 uint32_t _itail_tgt = 0; 3987 RECOMP_REGS_LOCALS 3988 RECOMP_ENTER(0x250A7A94u); 3989 3990 L_250A7A94: 3991 eax = 0x437A0000u; /* 0x250A7A94: mov eax, 0x437a0000 */ 3992 MEM32(esi + 0x20) = eax; /* 0x250A7A99: mov dword ptr [esi + 0x20], eax */ 3993 MEM32(esi + 0x24) = eax; /* 0x250A7A9C: mov dword ptr [esi + 0x24], eax */ 3994 eax = 0x42C80000u; /* 0x250A7A9F: mov eax, 0x42c80000 */ 3995 ecx = esi; /* 0x250A7AA4: mov ecx, esi */ 3996 MEM32(ebp + (-0x4)) = 2; /* 0x250A7AA6: mov dword ptr [ebp - 4], 2 */ 3997 MEM32(esi + 0x18) = ebx; /* 0x250A7AAD: mov dword ptr [esi + 0x18], ebx */ 3998 MEM32(esi + 0x1C) = ebx; /* 0x250A7AB0: mov dword ptr [esi + 0x1c], ebx */ 3999 MEM32(esi + 0x2C) = ebx; /* 0x250A7AB3: mov dword ptr [esi + 0x2c], ebx */ 4000 MEM32(esi + 0x30) = ebx; /* 0x250A7AB6: mov dword ptr [esi + 0x30], ebx */ 4001 MEM32(esi + 0x34) = eax; /* 0x250A7AB9: mov dword ptr [esi + 0x34], eax */ 4002 MEM32(esi + 0x38) = eax; /* 0x250A7ABC: mov dword ptr [esi + 0x38], eax */ 4003 RECOMP_ICALL(0x250AC100u); /* 0x250A7ABF: call 0x250ac100 */ /* not lifted */ 4004 RECOMP_FLAGS_IN(); 4005 eax = MEM32(esi + 0x4C); /* 0x250A7AC4: mov eax, dword ptr [esi + 0x4c] */ 4006 ecx = MEM32(esi + 0x50); /* 0x250A7AC7: mov ecx, dword ptr [esi + 0x50] */ 4007 PUSH32(esp, 0xCu); /* 0x250A7ACA: push 0xc */ 4008 MEM32(esi + 0x54) = eax; /* 0x250A7ACC: mov dword ptr [esi + 0x54], eax */ 4009 MEM32(esi + 0x58) = ecx; /* 0x250A7ACF: mov dword ptr [esi + 0x58], ecx */ 4010 MEM8(esi + 0x64) = (uint8_t)(1); /* 0x250A7AD2: mov byte ptr [esi + 0x64], 1 */ 4011 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A7AD6: mov byte ptr [esi + 0x65], 1 */ 4012 RECOMP_ICALL(0x251380D0u); /* 0x250A7ADA: call 0x251380d0 */ /* not lifted */ 4013 RECOMP_FLAGS_IN(); 4014 edi = eax; /* 0x250A7ADF: mov edi, eax */ 4015 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4016 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4017 esp = esp + 4; /* 0x250A7AE1: add esp, 4 */ 4018 _flag_k = FK_ADD; 4019 MEM32(ebp + 0x10) = edi; /* 0x250A7AE4: mov dword ptr [ebp + 0x10], edi */ 4020 /* cmp edi, ebx */ /* 0x250A7AE7: cmp edi, ebx */ 4021 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4023 _flag_k = FK_CMP; 4024 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250A7AE9: mov byte ptr [ebp - 4], 0xc */ 4025 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B11; /* 0x250A7AED: je 0x250a7b11 */ 4026 L_250A7AEF: 4027 SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250A7AEF: mov dl, byte ptr [ebp + 0x13] */ 4028 PUSH32(esp, 0x3Cu); /* 0x250A7AF2: push 0x3c */ 4029 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x250A7AF4: mov byte ptr [edi], dl */ 4030 RECOMP_ICALL(0x251380D0u); /* 0x250A7AF6: call 0x251380d0 */ /* not lifted */ 4031 RECOMP_FLAGS_IN(); 4032 MEM32(eax) = eax; /* 0x250A7AFB: mov dword ptr [eax], eax */ 4033 MEM32(eax + 0x4) = eax; /* 0x250A7AFD: mov dword ptr [eax + 4], eax */ 4034 MEM32(edi + 0x4) = eax; /* 0x250A7B00: mov dword ptr [edi + 4], eax */ 4035 MEM32(edi + 0x8) = ebx; /* 0x250A7B03: mov dword ptr [edi + 8], ebx */ 4036 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4038 esp = esp + 4; /* 0x250A7B06: add esp, 4 */ 4039 _flag_k = FK_ADD; 4040 MEM32(esi + 0xA4) = edi; /* 0x250A7B09: mov dword ptr [esi + 0xa4], edi */ 4041 goto L_250A7B17; /* 0x250A7B0F: jmp 0x250a7b17 */ 4042 L_250A7B11: 4043 MEM32(esi + 0xA4) = ebx; /* 0x250A7B11: mov dword ptr [esi + 0xa4], ebx */ 4044 L_250A7B17: 4045 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 4046 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 4047 eax = esi; /* 0x250A7B1B: mov eax, esi */ 4048 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 4049 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 4050 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 4051 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 4052 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 4053 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 4054 RECOMP_REGS_OUT(); 4055 } 4056 4057 void sub_250A7B17(void) { 4058 int _fpu_cmp = 0; 4059 uint32_t _cf = 0; 4060 int _df = 1; 4061 uint32_t _flag_k = FK_NONE; 4062 uint32_t _flag_a = 0, _flag_b = 0; 4063 uint32_t _itail_tgt = 0; 4064 RECOMP_REGS_LOCALS 4065 RECOMP_ENTER(0x250A7B17u); 4066 4067 L_250A7B17: 4068 ecx = MEM32(ebp + (-0xC)); /* 0x250A7B17: mov ecx, dword ptr [ebp - 0xc] */ 4069 edi = POP32_VAL(esp); /* 0x250A7B1A: pop edi */ 4070 eax = esi; /* 0x250A7B1B: mov eax, esi */ 4071 esi = POP32_VAL(esp); /* 0x250A7B1D: pop esi */ 4072 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7B1E: mov dword ptr fs:[0], ecx */ 4073 ebx = POP32_VAL(esp); /* 0x250A7B25: pop ebx */ 4074 esp = ebp; /* 0x250A7B26: mov esp, ebp */ 4075 ebp = POP32_VAL(esp); /* 0x250A7B28: pop ebp */ 4076 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250A7B29: ret 0x14 */ 4077 RECOMP_REGS_OUT(); 4078 } 4079 4080 void sub_250A7B30(void) { 4081 int _fpu_cmp = 0; 4082 uint32_t _cf = 0; 4083 int _df = 1; 4084 uint32_t _flag_k = FK_NONE; 4085 uint32_t _flag_a = 0, _flag_b = 0; 4086 uint32_t _itail_tgt = 0; 4087 RECOMP_REGS_LOCALS 4088 RECOMP_ENTER(0x250A7B30u); 4089 4090 L_250A7B30: 4091 PUSH32(esp, ebp); /* 0x250A7B30: push ebp */ 4092 ebp = esp; /* 0x250A7B31: mov ebp, esp */ 4093 PUSH32(esp, 0xFFFFFFFFu); /* 0x250A7B33: push -1 */ 4094 PUSH32(esp, 0x25149F91u); /* 0x250A7B35: push 0x25149f91 */ 4095 eax = MEM32(FS_BASE + (0)); /* 0x250A7B3A: mov eax, dword ptr fs:[0] */ 4096 PUSH32(esp, eax); /* 0x250A7B40: push eax */ 4097 MEM32(FS_BASE + (0)) = esp; /* 0x250A7B41: mov dword ptr fs:[0], esp */ 4098 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 4099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4100 esp = esp - 0xCu; /* 0x250A7B48: sub esp, 0xc */ 4101 _flag_k = FK_CMP; 4102 PUSH32(esp, ebx); /* 0x250A7B4B: push ebx */ 4103 PUSH32(esp, esi); /* 0x250A7B4C: push esi */ 4104 esi = ecx; /* 0x250A7B4D: mov esi, ecx */ 4105 PUSH32(esp, edi); /* 0x250A7B4F: push edi */ 4106 MEM32(ebp + (-0x14)) = esi; /* 0x250A7B50: mov dword ptr [ebp - 0x14], esi */ 4107 MEM32(esi) = 0x251563C8u; /* 0x250A7B53: mov dword ptr [esi], 0x251563c8 */ 4108 ecx = MEM32(esi + 0x6C); /* 0x250A7B59: mov ecx, dword ptr [esi + 0x6c] */ 4109 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4110 edi = 0; /* 0x250A7B5C: xor edi, edi */ 4111 _cf = 0; 4112 _flag_k = FK_TEST; 4113 /* cmp ecx, edi */ /* 0x250A7B5E: cmp ecx, edi */ 4114 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4116 _flag_k = FK_CMP; 4117 MEM32(ebp + (-0x4)) = 2; /* 0x250A7B60: mov dword ptr [ebp - 4], 2 */ 4118 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B6E; /* 0x250A7B67: je 0x250a7b6e */ 4119 L_250A7B69: 4120 RECOMP_ICALL(0x250EBDE0u); /* 0x250A7B69: call 0x250ebde0 */ /* not lifted */ 4121 RECOMP_FLAGS_IN(); 4122 L_250A7B6E: 4123 ecx = MEM32(esi + 0x70); /* 0x250A7B6E: mov ecx, dword ptr [esi + 0x70] */ 4124 /* cmp ecx, edi */ /* 0x250A7B71: cmp ecx, edi */ 4125 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4127 _flag_k = FK_CMP; 4128 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B7A; /* 0x250A7B73: je 0x250a7b7a */ 4129 L_250A7B75: 4130 RECOMP_ICALL(0x250EBDE0u); /* 0x250A7B75: call 0x250ebde0 */ /* not lifted */ 4131 RECOMP_FLAGS_IN(); 4132 L_250A7B7A: 4133 ecx = MEM32(esi + 0x74); /* 0x250A7B7A: mov ecx, dword ptr [esi + 0x74] */ 4134 /* cmp ecx, edi */ /* 0x250A7B7D: cmp ecx, edi */ 4135 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4137 _flag_k = FK_CMP; 4138 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B86; /* 0x250A7B7F: je 0x250a7b86 */ 4139 L_250A7B81: 4140 RECOMP_ICALL(0x250EBDE0u); /* 0x250A7B81: call 0x250ebde0 */ /* not lifted */ 4141 RECOMP_FLAGS_IN(); 4142 L_250A7B86: 4143 ecx = MEM32(esi + 0x78); /* 0x250A7B86: mov ecx, dword ptr [esi + 0x78] */ 4144 /* cmp ecx, edi */ /* 0x250A7B89: cmp ecx, edi */ 4145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4147 _flag_k = FK_CMP; 4148 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B92; /* 0x250A7B8B: je 0x250a7b92 */ 4149 L_250A7B8D: 4150 RECOMP_ICALL(0x250EBDE0u); /* 0x250A7B8D: call 0x250ebde0 */ /* not lifted */ 4151 RECOMP_FLAGS_IN(); 4152 L_250A7B92: 4153 ecx = MEM32(esi + 0x7C); /* 0x250A7B92: mov ecx, dword ptr [esi + 0x7c] */ 4154 /* cmp ecx, edi */ /* 0x250A7B95: cmp ecx, edi */ 4155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4157 _flag_k = FK_CMP; 4158 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7B9E; /* 0x250A7B97: je 0x250a7b9e */ 4159 L_250A7B99: 4160 RECOMP_ICALL(0x250EBDE0u); /* 0x250A7B99: call 0x250ebde0 */ /* not lifted */ 4161 RECOMP_FLAGS_IN(); 4162 L_250A7B9E: 4163 ecx = MEM32(esi + 0x28); /* 0x250A7B9E: mov ecx, dword ptr [esi + 0x28] */ 4164 RECOMP_ICALL(0x250E6370u); /* 0x250A7BA1: call 0x250e6370 */ /* not lifted */ 4165 RECOMP_FLAGS_IN(); 4166 ebx = MEM32(esi + 0xA4); /* 0x250A7BA6: mov ebx, dword ptr [esi + 0xa4] */ 4167 /* cmp ebx, edi */ /* 0x250A7BAC: cmp ebx, edi */ 4168 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 4169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4170 _flag_k = FK_CMP; 4171 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7BED; /* 0x250A7BAE: je 0x250a7bed */ 4172 L_250A7BB0: 4173 eax = MEM32(ebx + 0x4); /* 0x250A7BB0: mov eax, dword ptr [ebx + 4] */ 4174 edi = MEM32(eax); /* 0x250A7BB3: mov edi, dword ptr [eax] */ 4175 /* cmp edi, eax */ /* 0x250A7BB5: cmp edi, eax */ 4176 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 4177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4178 _flag_k = FK_CMP; 4179 MEM32(ebp + (-0x10)) = eax; /* 0x250A7BB7: mov dword ptr [ebp - 0x10], eax */ 4180 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A7BD1; /* 0x250A7BBA: je 0x250a7bd1 */ 4181 L_250A7BBC: 4182 eax = edi; /* 0x250A7BBC: mov eax, edi */ 4183 edi = MEM32(edi); /* 0x250A7BBE: mov edi, dword ptr [edi] */ 4184 PUSH32(esp, eax); /* 0x250A7BC0: push eax */ 4185 eax = ebp + (-0x18); /* 0x250A7BC1: lea eax, [ebp - 0x18] */ 4186 PUSH32(esp, eax); /* 0x250A7BC4: push eax */ 4187 ecx = ebx; /* 0x250A7BC5: mov ecx, ebx */ 4188 RECOMP_ICALL(0x25085320u); /* 0x250A7BC7: call 0x25085320 */ /* not lifted */ 4189 RECOMP_FLAGS_IN(); 4190 /* cmp edi, MEM32(ebp + (-0x10)) */ /* 0x250A7BCC: cmp edi, dword ptr [ebp - 0x10] */ 4191 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 4192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4193 _flag_k = FK_CMP; 4194 RECOMP_BACKEDGE(); 4195 if (CMP_NE(_flag_a, _flag_b)) goto L_250A7BBC; /* 0x250A7BCF: jne 0x250a7bbc */ 4196 L_250A7BD1: 4197 eax = MEM32(ebx + 0x4); /* 0x250A7BD1: mov eax, dword ptr [ebx + 4] */ 4198 PUSH32(esp, eax); /* 0x250A7BD4: push eax */ 4199 RECOMP_ICALL(0x25137EECu); /* 0x250A7BD5: call 0x25137eec */ /* not lifted */ 4200 RECOMP_FLAGS_IN(); 4201 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4202 eax = 0; /* 0x250A7BDA: xor eax, eax */ 4203 _cf = 0; 4204 _flag_k = FK_TEST; 4205 PUSH32(esp, ebx); /* 0x250A7BDC: push ebx */ 4206 MEM32(ebx + 0x4) = eax; /* 0x250A7BDD: mov dword ptr [ebx + 4], eax */ 4207 MEM32(ebx + 0x8) = eax; /* 0x250A7BE0: mov dword ptr [ebx + 8], eax */ 4208 RECOMP_ICALL(0x25137EECu); /* 0x250A7BE3: call 0x25137eec */ /* not lifted */ 4209 RECOMP_FLAGS_IN(); 4210 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4211 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4212 esp = esp + 8; /* 0x250A7BE8: add esp, 8 */ 4213 _flag_k = FK_ADD; 4214 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4215 edi = 0; /* 0x250A7BEB: xor edi, edi */ 4216 _cf = 0; 4217 _flag_k = FK_TEST; 4218 L_250A7BED: 4219 eax = MEM32(esi + 0x98); /* 0x250A7BED: mov eax, dword ptr [esi + 0x98] */ 4220 PUSH32(esp, eax); /* 0x250A7BF3: push eax */ 4221 RECOMP_ICALL(0x25137EECu); /* 0x250A7BF4: call 0x25137eec */ /* not lifted */ 4222 RECOMP_FLAGS_IN(); 4223 eax = MEM32(esi + 0xAC); /* 0x250A7BF9: mov eax, dword ptr [esi + 0xac] */ 4224 PUSH32(esp, eax); /* 0x250A7BFF: push eax */ 4225 MEM32(ebp + (-0x14)) = eax; /* 0x250A7C00: mov dword ptr [ebp - 0x14], eax */ 4226 RECOMP_ICALL(0x25137EECu); /* 0x250A7C03: call 0x25137eec */ /* not lifted */ 4227 RECOMP_FLAGS_IN(); 4228 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4229 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4230 esp = esp + 8; /* 0x250A7C08: add esp, 8 */ 4231 _flag_k = FK_ADD; 4232 ecx = esi; /* 0x250A7C0B: mov ecx, esi */ 4233 MEM32(esi + 0xAC) = edi; /* 0x250A7C0D: mov dword ptr [esi + 0xac], edi */ 4234 MEM32(esi + 0xB0) = edi; /* 0x250A7C13: mov dword ptr [esi + 0xb0], edi */ 4235 MEM32(esi + 0xB4) = edi; /* 0x250A7C19: mov dword ptr [esi + 0xb4], edi */ 4236 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A7C1F: mov dword ptr [ebp - 4], 0xffffffff */ 4237 RECOMP_ICALL(0x250AF170u); /* 0x250A7C26: call 0x250af170 */ /* not lifted */ 4238 RECOMP_FLAGS_IN(); 4239 ecx = MEM32(ebp + (-0xC)); /* 0x250A7C2B: mov ecx, dword ptr [ebp - 0xc] */ 4240 edi = POP32_VAL(esp); /* 0x250A7C2E: pop edi */ 4241 esi = POP32_VAL(esp); /* 0x250A7C2F: pop esi */ 4242 ebx = POP32_VAL(esp); /* 0x250A7C30: pop ebx */ 4243 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7C31: mov dword ptr fs:[0], ecx */ 4244 esp = ebp; /* 0x250A7C38: mov esp, ebp */ 4245 ebp = POP32_VAL(esp); /* 0x250A7C3A: pop ebp */ 4246 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A7C3B: ret */ 4247 RECOMP_REGS_OUT(); 4248 } 4249 4250 void sub_250A7C40(void) { 4251 int _fpu_cmp = 0; 4252 uint32_t _cf = 0; 4253 int _df = 1; 4254 uint32_t _flag_k = FK_NONE; 4255 uint32_t _flag_a = 0, _flag_b = 0; 4256 uint32_t _itail_tgt = 0; 4257 RECOMP_REGS_LOCALS 4258 RECOMP_ENTER(0x250A7C40u); 4259 4260 L_250A7C40: 4261 PUSH32(esp, ebp); /* 0x250A7C40: push ebp */ 4262 ebp = esp; /* 0x250A7C41: mov ebp, esp */ 4263 PUSH32(esp, esi); /* 0x250A7C43: push esi */ 4264 esi = ecx; /* 0x250A7C44: mov esi, ecx */ 4265 eax = MEM32(esi + 0x98); /* 0x250A7C46: mov eax, dword ptr [esi + 0x98] */ 4266 PUSH32(esp, edi); /* 0x250A7C4C: push edi */ 4267 PUSH32(esp, eax); /* 0x250A7C4D: push eax */ 4268 RECOMP_ICALL(0x25137EECu); /* 0x250A7C4E: call 0x25137eec */ /* not lifted */ 4269 RECOMP_FLAGS_IN(); 4270 edi = MEM32(ebp + 0x8); /* 0x250A7C53: mov edi, dword ptr [ebp + 8] */ 4271 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4272 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4273 esp = esp + 4; /* 0x250A7C56: add esp, 4 */ 4274 _flag_k = FK_ADD; 4275 /* test edi, edi */ /* 0x250A7C59: test edi, edi */ 4276 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4277 _cf = 0; 4278 _flag_k = FK_TEST; 4279 if (TEST_Z(_flag_a, _flag_b)) goto L_250A7CAB; /* 0x250A7C5B: je 0x250a7cab */ 4280 L_250A7C5D: 4281 eax = MEM32(ebp + 0xC); /* 0x250A7C5D: mov eax, dword ptr [ebp + 0xc] */ 4282 ecx = MEM32(ebp + 0x10); /* 0x250A7C60: mov ecx, dword ptr [ebp + 0x10] */ 4283 MEM32(esi + 0x9C) = eax; /* 0x250A7C63: mov dword ptr [esi + 0x9c], eax */ 4284 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7); 4285 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4286 eax = eax + 7; /* 0x250A7C69: add eax, 7 */ 4287 _flag_k = FK_ADD; 4288 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A7C6C: cdq */ 4289 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(7); 4290 edx = edx & 7; /* 0x250A7C6D: and edx, 7 */ 4291 _cf = 0; 4292 _flag_k = FK_TEST; 4293 PUSH32(esp, ebx); /* 0x250A7C70: push ebx */ 4294 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4295 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4296 eax = eax + edx; /* 0x250A7C71: add eax, edx */ 4297 _flag_k = FK_ADD; 4298 ebx = eax; /* 0x250A7C73: mov ebx, eax */ 4299 if (3u) _cf = (((ebx) >> 2) & 1u); /* 0x250A7C75: sar ebx, 3 */ 4300 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4301 ebx = (uint32_t)((int32_t)ebx >> 3u); 4302 ebx = (uint32_t)((int32_t)ebx * (int32_t)ecx); /* 0x250A7C78: imul ebx, ecx */ 4303 PUSH32(esp, ebx); /* 0x250A7C7B: push ebx */ 4304 MEM32(esi + 0xA0) = ecx; /* 0x250A7C7C: mov dword ptr [esi + 0xa0], ecx */ 4305 RECOMP_ICALL(0x251380D0u); /* 0x250A7C82: call 0x251380d0 */ /* not lifted */ 4306 RECOMP_FLAGS_IN(); 4307 MEM32(esi + 0x98) = eax; /* 0x250A7C87: mov dword ptr [esi + 0x98], eax */ 4308 ecx = ebx; /* 0x250A7C8D: mov ecx, ebx */ 4309 edx = ecx; /* 0x250A7C8F: mov edx, ecx */ 4310 esi = edi; /* 0x250A7C91: mov esi, edi */ 4311 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x250A7C93: shr ecx, 2 */ 4312 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4313 ecx = ecx >> 2u; /* 0x250A7C93: shr ecx, 2 */ 4314 edi = eax; /* 0x250A7C96: mov edi, eax */ 4315 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A7C98: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 4316 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4317 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4318 esp = esp + 4; /* 0x250A7C9A: add esp, 4 */ 4319 _flag_k = FK_ADD; 4320 ecx = edx; /* 0x250A7C9D: mov ecx, edx */ 4321 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4322 ecx = ecx & 3; /* 0x250A7C9F: and ecx, 3 */ 4323 _cf = 0; 4324 _flag_k = FK_TEST; 4325 ebx = POP32_VAL(esp); /* 0x250A7CA2: pop ebx */ 4326 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x250A7CA3: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 4327 edi = POP32_VAL(esp); /* 0x250A7CA5: pop edi */ 4328 esi = POP32_VAL(esp); /* 0x250A7CA6: pop esi */ 4329 ebp = POP32_VAL(esp); /* 0x250A7CA7: pop ebp */ 4330 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250A7CA8: ret 0xc */ 4331 L_250A7CAB: 4332 edi = POP32_VAL(esp); /* 0x250A7CAB: pop edi */ 4333 MEM32(esi + 0x98) = 0; /* 0x250A7CAC: mov dword ptr [esi + 0x98], 0 */ 4334 esi = POP32_VAL(esp); /* 0x250A7CB6: pop esi */ 4335 ebp = POP32_VAL(esp); /* 0x250A7CB7: pop ebp */ 4336 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250A7CB8: ret 0xc */ 4337 RECOMP_REGS_OUT(); 4338 } 4339 4340 void sub_250A7CC0(void) { 4341 int _fpu_cmp = 0; 4342 uint32_t _cf = 0; 4343 int _df = 1; 4344 uint32_t _flag_k = FK_NONE; 4345 uint32_t _flag_a = 0, _flag_b = 0; 4346 uint32_t _itail_tgt = 0; 4347 RECOMP_REGS_LOCALS 4348 RECOMP_ENTER(0x250A7CC0u); 4349 4350 L_250A7CC0: 4351 PUSH32(esp, ebp); /* 0x250A7CC0: push ebp */ 4352 ebp = esp; /* 0x250A7CC1: mov ebp, esp */ 4353 eax = 0x2018u; /* 0x250A7CC3: mov eax, 0x2018 */ 4354 RECOMP_ICALL(0x25138170u); /* 0x250A7CC8: call 0x25138170 */ /* not lifted */ 4355 RECOMP_FLAGS_IN(); 4356 PUSH32(esp, edi); /* 0x250A7CCD: push edi */ 4357 edi = ecx; /* 0x250A7CCE: mov edi, ecx */ 4358 eax = MEM32(edi + 0x98); /* 0x250A7CD0: mov eax, dword ptr [edi + 0x98] */ 4359 /* test eax, eax */ /* 0x250A7CD6: test eax, eax */ 4360 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4361 _cf = 0; 4362 _flag_k = FK_TEST; 4363 MEM32(ebp + (-0x14)) = edi; /* 0x250A7CD8: mov dword ptr [ebp - 0x14], edi */ 4364 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A7CFB; /* 0x250A7CDB: jne 0x250a7cfb */ 4365 L_250A7CDD: 4366 ecx = MEM32(edi + 0x7C); /* 0x250A7CDD: mov ecx, dword ptr [edi + 0x7c] */ 4367 /* test ecx, ecx */ /* 0x250A7CE0: test ecx, ecx */ 4368 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4369 _cf = 0; 4370 _flag_k = FK_TEST; 4371 if (TEST_Z(_flag_a, _flag_b)) goto L_250A7E4D; /* 0x250A7CE2: je 0x250a7e4d */ 4372 L_250A7CE8: 4373 RECOMP_ICALL(0x250EBDE0u); /* 0x250A7CE8: call 0x250ebde0 */ /* not lifted */ 4374 RECOMP_FLAGS_IN(); 4375 MEM32(edi + 0x7C) = 0; /* 0x250A7CED: mov dword ptr [edi + 0x7c], 0 */ 4376 edi = POP32_VAL(esp); /* 0x250A7CF4: pop edi */ 4377 esp = ebp; /* 0x250A7CF5: mov esp, ebp */ 4378 ebp = POP32_VAL(esp); /* 0x250A7CF7: pop ebp */ 4379 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250A7CF8: ret 0x10 */ 4380 L_250A7CFB: 4381 eax = MEM32(edi + 0x7C); /* 0x250A7CFB: mov eax, dword ptr [edi + 0x7c] */ 4382 /* test eax, eax */ /* 0x250A7CFE: test eax, eax */ 4383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4384 _cf = 0; 4385 _flag_k = FK_TEST; 4386 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A7D17; /* 0x250A7D00: jne 0x250a7d17 */ 4387 L_250A7D02: 4388 PUSH32(esp, 0); /* 0x250A7D02: push 0 */ 4389 PUSH32(esp, 0xAu); /* 0x250A7D04: push 0xa */ 4390 PUSH32(esp, 0); /* 0x250A7D06: push 0 */ 4391 PUSH32(esp, 0x40u); /* 0x250A7D08: push 0x40 */ 4392 PUSH32(esp, 0x40u); /* 0x250A7D0A: push 0x40 */ 4393 RECOMP_ICALL(0x25050FA0u); /* 0x250A7D0C: call 0x25050fa0 */ /* not lifted */ 4394 RECOMP_FLAGS_IN(); 4395 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 4396 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4397 esp = esp + 0x14u; /* 0x250A7D11: add esp, 0x14 */ 4398 _flag_k = FK_ADD; 4399 MEM32(edi + 0x7C) = eax; /* 0x250A7D14: mov dword ptr [edi + 0x7c], eax */ 4400 L_250A7D17: 4401 ecx = MEM32(edi + 0x9C); /* 0x250A7D17: mov ecx, dword ptr [edi + 0x9c] */ 4402 eax = ecx + 0x7; /* 0x250A7D1D: lea eax, [ecx + 7] */ 4403 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A7D20: cdq */ 4404 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(7); 4405 edx = edx & 7; /* 0x250A7D21: and edx, 7 */ 4406 _cf = 0; 4407 _flag_k = FK_TEST; 4408 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4409 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4410 eax = eax + edx; /* 0x250A7D24: add eax, edx */ 4411 _flag_k = FK_ADD; 4412 edx = MEM32(ebp + 0xC); /* 0x250A7D26: mov edx, dword ptr [ebp + 0xc] */ 4413 PUSH32(esp, ebx); /* 0x250A7D29: push ebx */ 4414 ebx = MEM32(ebp + 0x10); /* 0x250A7D2A: mov ebx, dword ptr [ebp + 0x10] */ 4415 PUSH32(esp, esi); /* 0x250A7D2D: push esi */ 4416 esi = eax; /* 0x250A7D2E: mov esi, eax */ 4417 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 4418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4419 ebx = ebx - MEM32(ebp + 0x8); /* 0x250A7D30: sub ebx, dword ptr [ebp + 8] */ 4420 _flag_k = FK_CMP; 4421 eax = MEM32(ebp + 0x14); /* 0x250A7D33: mov eax, dword ptr [ebp + 0x14] */ 4422 if (3u) _cf = (((esi) >> 2) & 1u); /* 0x250A7D36: sar esi, 3 */ 4423 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4424 esi = (uint32_t)((int32_t)esi >> 3u); 4425 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4427 eax = eax - edx; /* 0x250A7D39: sub eax, edx */ 4428 _flag_k = FK_CMP; 4429 /* cmp ebx, 0x40u */ /* 0x250A7D3B: cmp ebx, 0x40 */ 4430 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x40u); 4431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4432 _flag_k = FK_CMP; 4433 MEM32(ebp + (-0x10)) = esi; /* 0x250A7D3E: mov dword ptr [ebp - 0x10], esi */ 4434 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7D48; /* 0x250A7D41: jle 0x250a7d48 */ 4435 L_250A7D43: 4436 ebx = 0x40u; /* 0x250A7D43: mov ebx, 0x40 */ 4437 L_250A7D48: 4438 /* cmp eax, 0x40u */ /* 0x250A7D48: cmp eax, 0x40 */ 4439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 4440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4441 _flag_k = FK_CMP; 4442 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7D52; /* 0x250A7D4B: jle 0x250a7d52 */ 4443 L_250A7D4D: 4444 eax = 0x40u; /* 0x250A7D4D: mov eax, 0x40 */ 4445 L_250A7D52: 4446 edx = MEM32(ebp + 0x8); /* 0x250A7D52: mov edx, dword ptr [ebp + 8] */ 4447 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 4448 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4449 edx = edx + ebx; /* 0x250A7D55: add edx, ebx */ 4450 _flag_k = FK_ADD; 4451 /* cmp edx, ecx */ /* 0x250A7D57: cmp edx, ecx */ 4452 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 4453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4454 _flag_k = FK_CMP; 4455 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7D60; /* 0x250A7D59: jle 0x250a7d60 */ 4456 L_250A7D5B: 4457 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 4458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4459 ecx = ecx - MEM32(ebp + 0x8); /* 0x250A7D5B: sub ecx, dword ptr [ebp + 8] */ 4460 _flag_k = FK_CMP; 4461 ebx = ecx; /* 0x250A7D5E: mov ebx, ecx */ 4462 L_250A7D60: 4463 edx = MEM32(ebp + 0xC); /* 0x250A7D60: mov edx, dword ptr [ebp + 0xc] */ 4464 ecx = MEM32(edi + 0xA0); /* 0x250A7D63: mov ecx, dword ptr [edi + 0xa0] */ 4465 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 4466 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4467 edx = edx + eax; /* 0x250A7D69: add edx, eax */ 4468 _flag_k = FK_ADD; 4469 /* cmp edx, ecx */ /* 0x250A7D6B: cmp edx, ecx */ 4470 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 4471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4472 _flag_k = FK_CMP; 4473 if (CMP_LE(_flag_a, _flag_b)) goto L_250A7D74; /* 0x250A7D6D: jle 0x250a7d74 */ 4474 L_250A7D6F: 4475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 4476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4477 ecx = ecx - MEM32(ebp + 0xC); /* 0x250A7D6F: sub ecx, dword ptr [ebp + 0xc] */ 4478 _flag_k = FK_CMP; 4479 eax = ecx; /* 0x250A7D72: mov eax, ecx */ 4480 L_250A7D74: 4481 SET_LO8(ecx, MEM8(edi + 0xDD)); /* 0x250A7D74: mov cl, byte ptr [edi + 0xdd] */ 4482 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4483 _cf = (LO8(ecx)) != 0; 4484 SET_LO8(ecx, (uint32_t)(-(int32_t)LO8(ecx))); /* 0x250A7D7A: neg cl */ 4485 _flag_k = FK_NARROW(FK_CMP, 24); 4486 { uint32_t _sa = ecx, _sb = ecx, _sc = _cf; /* 0x250A7D7C: sbb ecx, ecx */ 4487 ecx = _sc ? 0xFFFFFFFFu : 0; 4488 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4489 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFF4AABu); 4491 ecx = ecx & 0xFFFF4AABu; /* 0x250A7D7E: and ecx, 0xffff4aab */ 4492 _cf = 0; 4493 _flag_k = FK_TEST; 4494 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xF555u); 4495 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4496 ecx = ecx + 0xF555u; /* 0x250A7D84: add ecx, 0xf555 */ 4497 _flag_k = FK_ADD; 4498 /* test eax, eax */ /* 0x250A7D8A: test eax, eax */ 4499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4500 _cf = 0; 4501 _flag_k = FK_TEST; 4502 MEM32(ebp + (-0xC)) = ecx; /* 0x250A7D8C: mov dword ptr [ebp - 0xc], ecx */ 4503 if (TEST_LE(_flag_a, _flag_b)) goto L_250A7E2F; /* 0x250A7D8F: jle 0x250a7e2f */ 4504 L_250A7D95: 4505 ecx = esi; /* 0x250A7D95: mov ecx, esi */ 4506 ecx = (uint32_t)((int32_t)ecx * (int32_t)MEM32(ebp + 0xC)); /* 0x250A7D97: imul ecx, dword ptr [ebp + 0xc] */ 4507 edx = eax; /* 0x250A7D9B: mov edx, eax */ 4508 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250A7D9D: shl edx, 7 */ 4509 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4510 edx = edx << 7u; /* 0x250A7D9D: shl edx, 7 */ 4511 edx = ebp + edx + (-0x2098); /* 0x250A7DA0: lea edx, [ebp + edx - 0x2098] */ 4512 MEM32(ebp + (-0x4)) = ecx; /* 0x250A7DA7: mov dword ptr [ebp - 4], ecx */ 4513 MEM32(ebp + 0x10) = edx; /* 0x250A7DAA: mov dword ptr [ebp + 0x10], edx */ 4514 MEM32(ebp + (-0x8)) = eax; /* 0x250A7DAD: mov dword ptr [ebp - 8], eax */ 4515 L_250A7DB0: 4516 /* test ebx, ebx */ /* 0x250A7DB0: test ebx, ebx */ 4517 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 4518 _cf = 0; 4519 _flag_k = FK_TEST; 4520 if (TEST_LE(_flag_a, _flag_b)) goto L_250A7E15; /* 0x250A7DB2: jle 0x250a7e15 */ 4521 L_250A7DB4: 4522 eax = MEM32(edi + 0x98); /* 0x250A7DB4: mov eax, dword ptr [edi + 0x98] */ 4523 esi = MEM32(ebp + 0x8); /* 0x250A7DBA: mov esi, dword ptr [ebp + 8] */ 4524 edi = MEM32(ebp + 0x10); /* 0x250A7DBD: mov edi, dword ptr [ebp + 0x10] */ 4525 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4526 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4527 ecx = ecx + eax; /* 0x250A7DC0: add ecx, eax */ 4528 _flag_k = FK_ADD; 4529 MEM32(ebp + (-0x18)) = ecx; /* 0x250A7DC2: mov dword ptr [ebp - 0x18], ecx */ 4530 MEM32(ebp + 0x14) = ebx; /* 0x250A7DC5: mov dword ptr [ebp + 0x14], ebx */ 4531 L_250A7DC8: 4532 ecx = esi; /* 0x250A7DC8: mov ecx, esi */ 4533 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000007u); 4534 ecx = ecx & 0x80000007u; /* 0x250A7DCA: and ecx, 0x80000007 */ 4535 _cf = 0; 4536 _flag_k = FK_TEST; 4537 if (TEST_NS(_flag_a, _flag_b)) goto L_250A7DD7; /* 0x250A7DD0: jns 0x250a7dd7 */ 4538 L_250A7DD2: 4539 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4540 ecx = ecx - 1; /* 0x250A7DD2: dec ecx */ 4541 _flag_k = FK_DEC; 4542 _flag_a = (uint32_t)((ecx | 0xFFFFFFF8u)); _flag_b = (uint32_t)((ecx | 0xFFFFFFF8u)); 4543 ecx = ecx | 0xFFFFFFF8u; /* 0x250A7DD3: or ecx, 0xfffffff8 */ 4544 _cf = 0; 4545 _flag_k = FK_TEST; 4546 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4547 ecx = ecx + 1; /* 0x250A7DD6: inc ecx */ 4548 _flag_k = FK_INC; 4549 L_250A7DD7: 4550 SET_LO8(edx, 1); /* 0x250A7DD7: mov dl, 1 */ 4551 if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(edx)) >> (8 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250A7DD9: shl dl, cl */ 4552 if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(edx) << ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4553 SET_LO8(edx, LO8(edx) << ((LO8(ecx)) & 31)); /* 0x250A7DD9: shl dl, cl */ 4554 ecx = MEM32(ebp + (-0x18)); /* 0x250A7DDB: mov ecx, dword ptr [ebp - 0x18] */ 4555 eax = esi; /* 0x250A7DDE: mov eax, esi */ 4556 MEM8(ebp + 0xF) = (uint8_t)(LO8(edx)); /* 0x250A7DE0: mov byte ptr [ebp + 0xf], dl */ 4557 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A7DE3: cdq */ 4558 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(7); 4559 edx = edx & 7; /* 0x250A7DE4: and edx, 7 */ 4560 _cf = 0; 4561 _flag_k = FK_TEST; 4562 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4563 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4564 eax = eax + edx; /* 0x250A7DE7: add eax, edx */ 4565 _flag_k = FK_ADD; 4566 SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x250A7DE9: mov dl, byte ptr [ebp + 0xf] */ 4567 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x250A7DEC: sar eax, 3 */ 4568 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4569 eax = (uint32_t)((int32_t)eax >> 3u); 4570 /* test MEM8(eax + ecx), LO8(edx) */ /* 0x250A7DEF: test byte ptr [eax + ecx], dl */ 4571 _flag_a = (uint32_t)(MEM8(eax + ecx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4572 _cf = 0; 4573 _flag_k = FK_NARROW(FK_TEST, 24); 4574 eax = 0xF392u; /* 0x250A7DF2: mov eax, 0xf392 */ 4575 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A7DFC; /* 0x250A7DF7: jne 0x250a7dfc */ 4576 L_250A7DF9: 4577 eax = MEM32(ebp + (-0xC)); /* 0x250A7DF9: mov eax, dword ptr [ebp - 0xc] */ 4578 L_250A7DFC: 4579 MEM16(edi) = (uint16_t)(LO16(eax)); /* 0x250A7DFC: mov word ptr [edi], ax */ 4580 eax = MEM32(ebp + 0x14); /* 0x250A7DFF: mov eax, dword ptr [ebp + 0x14] */ 4581 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(2); 4582 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4583 edi = edi + 2; /* 0x250A7E02: add edi, 2 */ 4584 _flag_k = FK_ADD; 4585 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 4586 esi = esi + 1; /* 0x250A7E05: inc esi */ 4587 _flag_k = FK_INC; 4588 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4589 eax = eax - 1; /* 0x250A7E06: dec eax */ 4590 _flag_k = FK_DEC; 4591 MEM32(ebp + 0x14) = eax; /* 0x250A7E07: mov dword ptr [ebp + 0x14], eax */ 4592 RECOMP_BACKEDGE(); 4593 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A7DC8; /* 0x250A7E0A: jne 0x250a7dc8 */ 4594 L_250A7E0C: 4595 esi = MEM32(ebp + (-0x10)); /* 0x250A7E0C: mov esi, dword ptr [ebp - 0x10] */ 4596 edi = MEM32(ebp + (-0x14)); /* 0x250A7E0F: mov edi, dword ptr [ebp - 0x14] */ 4597 ecx = MEM32(ebp + (-0x4)); /* 0x250A7E12: mov ecx, dword ptr [ebp - 4] */ 4598 L_250A7E15: 4599 edx = MEM32(ebp + 0x10); /* 0x250A7E15: mov edx, dword ptr [ebp + 0x10] */ 4600 eax = MEM32(ebp + (-0x8)); /* 0x250A7E18: mov eax, dword ptr [ebp - 8] */ 4601 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 4602 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4603 ecx = ecx + esi; /* 0x250A7E1B: add ecx, esi */ 4604 _flag_k = FK_ADD; 4605 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x80u); 4606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4607 edx = edx - 0x80u; /* 0x250A7E1D: sub edx, 0x80 */ 4608 _flag_k = FK_CMP; 4609 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4610 eax = eax - 1; /* 0x250A7E23: dec eax */ 4611 _flag_k = FK_DEC; 4612 MEM32(ebp + (-0x4)) = ecx; /* 0x250A7E24: mov dword ptr [ebp - 4], ecx */ 4613 MEM32(ebp + 0x10) = edx; /* 0x250A7E27: mov dword ptr [ebp + 0x10], edx */ 4614 MEM32(ebp + (-0x8)) = eax; /* 0x250A7E2A: mov dword ptr [ebp - 8], eax */ 4615 RECOMP_BACKEDGE(); 4616 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A7DB0; /* 0x250A7E2D: jne 0x250a7db0 */ 4617 L_250A7E2F: 4618 ecx = MEM32(edi + 0x7C); /* 0x250A7E2F: mov ecx, dword ptr [edi + 0x7c] */ 4619 PUSH32(esp, 1); /* 0x250A7E32: push 1 */ 4620 PUSH32(esp, 0); /* 0x250A7E34: push 0 */ 4621 PUSH32(esp, 0); /* 0x250A7E36: push 0 */ 4622 PUSH32(esp, 0x80u); /* 0x250A7E38: push 0x80 */ 4623 PUSH32(esp, 0xAu); /* 0x250A7E3D: push 0xa */ 4624 eax = ebp + (-0x2018); /* 0x250A7E3F: lea eax, [ebp - 0x2018] */ 4625 PUSH32(esp, eax); /* 0x250A7E45: push eax */ 4626 RECOMP_ICALL(0x250EBC10u); /* 0x250A7E46: call 0x250ebc10 */ /* not lifted */ 4627 RECOMP_FLAGS_IN(); 4628 esi = POP32_VAL(esp); /* 0x250A7E4B: pop esi */ 4629 ebx = POP32_VAL(esp); /* 0x250A7E4C: pop ebx */ 4630 L_250A7E4D: 4631 edi = POP32_VAL(esp); /* 0x250A7E4D: pop edi */ 4632 esp = ebp; /* 0x250A7E4E: mov esp, ebp */ 4633 ebp = POP32_VAL(esp); /* 0x250A7E50: pop ebp */ 4634 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250A7E51: ret 0x10 */ 4635 RECOMP_REGS_OUT(); 4636 } 4637 4638 void sub_250A7E60(void) { 4639 int _fpu_cmp = 0; 4640 uint32_t _cf = 0; 4641 int _df = 1; 4642 uint32_t _flag_k = FK_NONE; 4643 uint32_t _flag_a = 0, _flag_b = 0; 4644 uint32_t _itail_tgt = 0; 4645 RECOMP_REGS_LOCALS 4646 RECOMP_ENTER(0x250A7E60u); 4647 4648 L_250A7E60: 4649 PUSH32(esp, ebp); /* 0x250A7E60: push ebp */ 4650 ebp = esp; /* 0x250A7E61: mov ebp, esp */ 4651 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250A7E63: mov al, byte ptr [ebp + 8] */ 4652 MEM8(ecx + 0x68) = (uint8_t)(LO8(eax)); /* 0x250A7E66: mov byte ptr [ecx + 0x68], al */ 4653 ebp = POP32_VAL(esp); /* 0x250A7E69: pop ebp */ 4654 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A7E6A: ret 4 */ 4655 RECOMP_REGS_OUT(); 4656 } 4657 4658 void sub_250A7E70(void) { 4659 int _fpu_cmp = 0; 4660 uint32_t _cf = 0; 4661 int _df = 1; 4662 uint32_t _flag_k = FK_NONE; 4663 uint32_t _flag_a = 0, _flag_b = 0; 4664 uint32_t _itail_tgt = 0; 4665 RECOMP_REGS_LOCALS 4666 RECOMP_ENTER(0x250A7E70u); 4667 4668 L_250A7E70: 4669 PUSH32(esp, ebp); /* 0x250A7E70: push ebp */ 4670 ebp = esp; /* 0x250A7E71: mov ebp, esp */ 4671 PUSH32(esp, 0xFFFFFFFFu); /* 0x250A7E73: push -1 */ 4672 PUSH32(esp, 0x25149FA8u); /* 0x250A7E75: push 0x25149fa8 */ 4673 eax = MEM32(FS_BASE + (0)); /* 0x250A7E7A: mov eax, dword ptr fs:[0] */ 4674 PUSH32(esp, eax); /* 0x250A7E80: push eax */ 4675 MEM32(FS_BASE + (0)) = esp; /* 0x250A7E81: mov dword ptr fs:[0], esp */ 4676 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x2Cu); 4677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4678 esp = esp - 0x2Cu; /* 0x250A7E88: sub esp, 0x2c */ 4679 _flag_k = FK_CMP; 4680 SET_LO8(eax, MEM8(0x251B58DC)); /* 0x250A7E8B: mov al, byte ptr [0x251b58dc] */ 4681 /* test LO8(eax), LO8(eax) */ /* 0x250A7E90: test al, al */ 4682 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4683 _cf = 0; 4684 _flag_k = FK_NARROW(FK_TEST, 24); 4685 PUSH32(esp, esi); /* 0x250A7E92: push esi */ 4686 PUSH32(esp, edi); /* 0x250A7E93: push edi */ 4687 edi = ecx; /* 0x250A7E94: mov edi, ecx */ 4688 if (TEST_Z(_flag_a, _flag_b)) goto L_250A7EA4; /* 0x250A7E96: je 0x250a7ea4 */ 4689 L_250A7E98: 4690 RECOMP_ICALL(0x250AC100u); /* 0x250A7E98: call 0x250ac100 */ /* not lifted */ 4691 RECOMP_FLAGS_IN(); 4692 MEM8(0x251B58DC) = (uint8_t)(0); /* 0x250A7E9D: mov byte ptr [0x251b58dc], 0 */ 4693 L_250A7EA4: 4694 fp_push(*(float*)&MEM32(edi + 0x48)); /* 0x250A7EA4: fld dword ptr [edi + 0x48] */ 4695 esi = edi + 0x3C; /* 0x250A7EA7: lea esi, [edi + 0x3c] */ 4696 _st[0] -= (double)*(float*)ADDR(esi + 0x4); /* 0x250A7EAA: fsub dword ptr [esi + 4] */ 4697 eax = ebp + (-0x28); /* 0x250A7EAD: lea eax, [ebp - 0x28] */ 4698 PUSH32(esp, eax); /* 0x250A7EB0: push eax */ 4699 ecx = esi; /* 0x250A7EB1: mov ecx, esi */ 4700 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250A7EB3: fmul dword ptr [0x25151788] */ 4701 MEM32(ebp + (-0x10)) = 0; /* 0x250A7EB9: mov dword ptr [ebp - 0x10], 0 */ 4702 _st[0] = (double)*(float*)ADDR(ebp + 0xC) - _st[0]; /* 0x250A7EC0: fsubr dword ptr [ebp + 0xc] */ 4703 fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x250A7EC3: fld dword ptr [esi + 8] */ 4704 _st[0] -= (double)*(float*)ADDR(esi); /* 0x250A7EC6: fsub dword ptr [esi] */ 4705 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250A7EC8: fmul dword ptr [0x25151788] */ 4706 _st[0] = (double)*(float*)ADDR(ebp + 0x8) - _st[0]; /* 0x250A7ECE: fsubr dword ptr [ebp + 8] */ 4707 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250A7ED1: fstp dword ptr [ebp - 0x18] */ 4708 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250A7ED4: fstp dword ptr [ebp - 0x14] */ 4709 RECOMP_ICALL(0x250A8040u); /* 0x250A7ED7: call 0x250a8040 */ /* not lifted */ 4710 RECOMP_FLAGS_IN(); 4711 ecx = ebp + (-0x18); /* 0x250A7EDC: lea ecx, [ebp - 0x18] */ 4712 PUSH32(esp, ecx); /* 0x250A7EDF: push ecx */ 4713 edx = ebp + (-0x38); /* 0x250A7EE0: lea edx, [ebp - 0x38] */ 4714 PUSH32(esp, edx); /* 0x250A7EE3: push edx */ 4715 ecx = eax; /* 0x250A7EE4: mov ecx, eax */ 4716 MEM32(ebp + (-0x4)) = 0; /* 0x250A7EE6: mov dword ptr [ebp - 4], 0 */ 4717 RECOMP_ICALL(0x250A8070u); /* 0x250A7EED: call 0x250a8070 */ /* not lifted */ 4718 RECOMP_FLAGS_IN(); 4719 edx = MEM32(eax); /* 0x250A7EF2: mov edx, dword ptr [eax] */ 4720 ecx = esi; /* 0x250A7EF4: mov ecx, esi */ 4721 MEM32(ecx) = edx; /* 0x250A7EF6: mov dword ptr [ecx], edx */ 4722 edx = MEM32(eax + 0x4); /* 0x250A7EF8: mov edx, dword ptr [eax + 4] */ 4723 MEM32(ecx + 0x4) = edx; /* 0x250A7EFB: mov dword ptr [ecx + 4], edx */ 4724 edx = MEM32(eax + 0x8); /* 0x250A7EFE: mov edx, dword ptr [eax + 8] */ 4725 MEM32(ecx + 0x8) = edx; /* 0x250A7F01: mov dword ptr [ecx + 8], edx */ 4726 eax = MEM32(eax + 0xC); /* 0x250A7F04: mov eax, dword ptr [eax + 0xc] */ 4727 MEM32(ecx + 0xC) = eax; /* 0x250A7F07: mov dword ptr [ecx + 0xc], eax */ 4728 eax = MEM32(0x252385B8); /* 0x250A7F0A: mov eax, dword ptr [0x252385b8] */ 4729 /* test eax, eax */ /* 0x250A7F0F: test eax, eax */ 4730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4731 _cf = 0; 4732 _flag_k = FK_TEST; 4733 if (TEST_Z(_flag_a, _flag_b)) goto L_250A802C; /* 0x250A7F11: je 0x250a802c */ 4734 L_250A7F17: 4735 fp_push((double)(int32_t)MEM32(eax + 0x825C)); /* 0x250A7F17: fild dword ptr [eax + 0x825c] */ 4736 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0xC) = _v; } /* 0x250A7F1D: fstp dword ptr [ebp + 0xc] */ 4737 fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x250A7F20: fld dword ptr [esi + 8] */ 4738 _st[0] -= (double)*(float*)ADDR(esi); /* 0x250A7F23: fsub dword ptr [esi] */ 4739 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0xC)); /* 0x250A7F25: fcomp dword ptr [ebp + 0xc] */ 4740 fp_pop(); 4741 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A7F28: fnstsw ax */ 4742 /* test HI8(eax), 0x41u */ /* 0x250A7F2A: test ah, 0x41 */ 4743 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4744 _cf = 0; 4745 _flag_k = FK_NARROW(FK_TEST, 24); 4746 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A7F3F; /* 0x250A7F2D: jne 0x250a7f3f */ 4747 L_250A7F2F: 4748 fp_push(*(float*)&MEM32(edi + 0x44)); /* 0x250A7F2F: fld dword ptr [edi + 0x44] */ 4749 _st[0] -= (double)*(float*)ADDR(esi); /* 0x250A7F32: fsub dword ptr [esi] */ 4750 MEM32(esi) = 0; /* 0x250A7F34: mov dword ptr [esi], 0 */ 4751 { float _v = (float)fp_pop(); *(float*)ADDR(edi + 0x44) = _v; } /* 0x250A7F3A: fstp dword ptr [edi + 0x44] */ 4752 goto L_250A7F97; /* 0x250A7F3D: jmp 0x250a7f97 */ 4753 L_250A7F3F: 4754 fp_push(*(float*)&MEM32(esi)); /* 0x250A7F3F: fld dword ptr [esi] */ 4755 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A7F41: fcomp dword ptr [0x2515177c] */ 4756 fp_pop(); 4757 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A7F47: fnstsw ax */ 4758 /* test HI8(eax), 1 */ /* 0x250A7F49: test ah, 1 */ 4759 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4760 _cf = 0; 4761 _flag_k = FK_NARROW(FK_TEST, 24); 4762 if (TEST_Z(_flag_a, _flag_b)) goto L_250A7F6C; /* 0x250A7F4C: je 0x250a7f6c */ 4763 L_250A7F4E: 4764 fp_push(*(float*)&MEM32(esi)); /* 0x250A7F4E: fld dword ptr [esi] */ 4765 ecx = MEM32(esi + 0x4); /* 0x250A7F50: mov ecx, dword ptr [esi + 4] */ 4766 edx = MEM32(esi + 0xC); /* 0x250A7F53: mov edx, dword ptr [esi + 0xc] */ 4767 _st[0] = -_st[0]; /* 0x250A7F56: fchs */ 4768 fp_push(_st[0]); /* 0x250A7F58: fld st(0) */ 4769 MEM32(esi + 0x4) = ecx; /* 0x250A7F5A: mov dword ptr [esi + 4], ecx */ 4770 _st[0] += (double)*(float*)ADDR(esi); /* 0x250A7F5D: fadd dword ptr [esi] */ 4771 MEM32(esi + 0xC) = edx; /* 0x250A7F5F: mov dword ptr [esi + 0xc], edx */ 4772 { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250A7F62: fstp dword ptr [esi] */ 4773 _st[0] += (double)*(float*)ADDR(esi + 0x8); /* 0x250A7F64: fadd dword ptr [esi + 8] */ 4774 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x250A7F67: fstp dword ptr [esi + 8] */ 4775 goto L_250A7F97; /* 0x250A7F6A: jmp 0x250a7f97 */ 4776 L_250A7F6C: 4777 fp_push(*(float*)&MEM32(edi + 0x44)); /* 0x250A7F6C: fld dword ptr [edi + 0x44] */ 4778 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0xC)); /* 0x250A7F6F: fcomp dword ptr [ebp + 0xc] */ 4779 fp_pop(); 4780 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A7F72: fnstsw ax */ 4781 /* test HI8(eax), 0x41u */ /* 0x250A7F74: test ah, 0x41 */ 4782 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4783 _cf = 0; 4784 _flag_k = FK_NARROW(FK_TEST, 24); 4785 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A7F97; /* 0x250A7F77: jne 0x250a7f97 */ 4786 L_250A7F79: 4787 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x250A7F79: fld dword ptr [ebp + 0xc] */ 4788 eax = MEM32(esi + 0x4); /* 0x250A7F7C: mov eax, dword ptr [esi + 4] */ 4789 _st[0] -= (double)*(float*)ADDR(edi + 0x44); /* 0x250A7F7F: fsub dword ptr [edi + 0x44] */ 4790 ecx = MEM32(esi + 0xC); /* 0x250A7F82: mov ecx, dword ptr [esi + 0xc] */ 4791 fp_push(_st[0]); /* 0x250A7F85: fld st(0) */ 4792 MEM32(esi + 0x4) = eax; /* 0x250A7F87: mov dword ptr [esi + 4], eax */ 4793 _st[0] += (double)*(float*)ADDR(esi); /* 0x250A7F8A: fadd dword ptr [esi] */ 4794 MEM32(esi + 0xC) = ecx; /* 0x250A7F8C: mov dword ptr [esi + 0xc], ecx */ 4795 { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250A7F8F: fstp dword ptr [esi] */ 4796 _st[0] += (double)*(float*)ADDR(esi + 0x8); /* 0x250A7F91: fadd dword ptr [esi + 8] */ 4797 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x250A7F94: fstp dword ptr [esi + 8] */ 4798 L_250A7F97: 4799 edx = MEM32(0x252385B8); /* 0x250A7F97: mov edx, dword ptr [0x252385b8] */ 4800 fp_push((double)(int32_t)MEM32(edx + 0x8260)); /* 0x250A7F9D: fild dword ptr [edx + 0x8260] */ 4801 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0xC) = _v; } /* 0x250A7FA3: fstp dword ptr [ebp + 0xc] */ 4802 fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x250A7FA6: fld dword ptr [esi + 0xc] */ 4803 _st[0] -= (double)*(float*)ADDR(esi + 0x4); /* 0x250A7FA9: fsub dword ptr [esi + 4] */ 4804 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0xC)); /* 0x250A7FAC: fcomp dword ptr [ebp + 0xc] */ 4805 fp_pop(); 4806 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A7FAF: fnstsw ax */ 4807 /* test HI8(eax), 0x41u */ /* 0x250A7FB1: test ah, 0x41 */ 4808 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4809 _cf = 0; 4810 _flag_k = FK_NARROW(FK_TEST, 24); 4811 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A7FD8; /* 0x250A7FB4: jne 0x250a7fd8 */ 4812 L_250A7FB6: 4813 fp_push(*(float*)&MEM32(edi + 0x48)); /* 0x250A7FB6: fld dword ptr [edi + 0x48] */ 4814 _st[0] -= (double)*(float*)ADDR(edi + 0x40); /* 0x250A7FB9: fsub dword ptr [edi + 0x40] */ 4815 MEM32(edi + 0x40) = 0; /* 0x250A7FBC: mov dword ptr [edi + 0x40], 0 */ 4816 { float _v = (float)fp_pop(); *(float*)ADDR(edi + 0x48) = _v; } /* 0x250A7FC3: fstp dword ptr [edi + 0x48] */ 4817 edi = POP32_VAL(esp); /* 0x250A7FC6: pop edi */ 4818 esi = POP32_VAL(esp); /* 0x250A7FC7: pop esi */ 4819 ecx = MEM32(ebp + (-0xC)); /* 0x250A7FC8: mov ecx, dword ptr [ebp - 0xc] */ 4820 MEM32(FS_BASE + (0)) = ecx; /* 0x250A7FCB: mov dword ptr fs:[0], ecx */ 4821 esp = ebp; /* 0x250A7FD2: mov esp, ebp */ 4822 ebp = POP32_VAL(esp); /* 0x250A7FD4: pop ebp */ 4823 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A7FD5: ret 8 */ 4824 L_250A7FD8: 4825 fp_push(*(float*)&MEM32(edi + 0x40)); /* 0x250A7FD8: fld dword ptr [edi + 0x40] */ 4826 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A7FDB: fcomp dword ptr [0x2515177c] */ 4827 fp_pop(); 4828 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A7FE1: fnstsw ax */ 4829 /* test HI8(eax), 1 */ /* 0x250A7FE3: test ah, 1 */ 4830 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4831 _cf = 0; 4832 _flag_k = FK_NARROW(FK_TEST, 24); 4833 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8001; /* 0x250A7FE6: je 0x250a8001 */ 4834 L_250A7FE8: 4835 fp_push(*(float*)&MEM32(edi + 0x40)); /* 0x250A7FE8: fld dword ptr [edi + 0x40] */ 4836 eax = MEM32(esi); /* 0x250A7FEB: mov eax, dword ptr [esi] */ 4837 ecx = MEM32(esi + 0x8); /* 0x250A7FED: mov ecx, dword ptr [esi + 8] */ 4838 _st[0] = -_st[0]; /* 0x250A7FF0: fchs */ 4839 fp_push(_st[0]); /* 0x250A7FF2: fld st(0) */ 4840 MEM32(esi) = eax; /* 0x250A7FF4: mov dword ptr [esi], eax */ 4841 _st[0] += (double)*(float*)ADDR(esi + 0x4); /* 0x250A7FF6: fadd dword ptr [esi + 4] */ 4842 MEM32(esi + 0x8) = ecx; /* 0x250A7FF9: mov dword ptr [esi + 8], ecx */ 4843 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250A7FFC: fstp dword ptr [esi + 4] */ 4844 goto L_250A8026; /* 0x250A7FFF: jmp 0x250a8026 */ 4845 L_250A8001: 4846 fp_push(*(float*)&MEM32(edi + 0x48)); /* 0x250A8001: fld dword ptr [edi + 0x48] */ 4847 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0xC)); /* 0x250A8004: fcomp dword ptr [ebp + 0xc] */ 4848 fp_pop(); 4849 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8007: fnstsw ax */ 4850 /* test HI8(eax), 0x41u */ /* 0x250A8009: test ah, 0x41 */ 4851 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4852 _cf = 0; 4853 _flag_k = FK_NARROW(FK_TEST, 24); 4854 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A802C; /* 0x250A800C: jne 0x250a802c */ 4855 L_250A800E: 4856 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x250A800E: fld dword ptr [ebp + 0xc] */ 4857 edx = MEM32(esi); /* 0x250A8011: mov edx, dword ptr [esi] */ 4858 _st[0] -= (double)*(float*)ADDR(edi + 0x48); /* 0x250A8013: fsub dword ptr [edi + 0x48] */ 4859 eax = MEM32(esi + 0x8); /* 0x250A8016: mov eax, dword ptr [esi + 8] */ 4860 fp_push(_st[0]); /* 0x250A8019: fld st(0) */ 4861 MEM32(esi) = edx; /* 0x250A801B: mov dword ptr [esi], edx */ 4862 _st[0] += (double)*(float*)ADDR(esi + 0x4); /* 0x250A801D: fadd dword ptr [esi + 4] */ 4863 MEM32(esi + 0x8) = eax; /* 0x250A8020: mov dword ptr [esi + 8], eax */ 4864 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250A8023: fstp dword ptr [esi + 4] */ 4865 L_250A8026: 4866 _st[0] += (double)*(float*)ADDR(esi + 0xC); /* 0x250A8026: fadd dword ptr [esi + 0xc] */ 4867 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0xC) = _v; } /* 0x250A8029: fstp dword ptr [esi + 0xc] */ 4868 L_250A802C: 4869 ecx = MEM32(ebp + (-0xC)); /* 0x250A802C: mov ecx, dword ptr [ebp - 0xc] */ 4870 edi = POP32_VAL(esp); /* 0x250A802F: pop edi */ 4871 esi = POP32_VAL(esp); /* 0x250A8030: pop esi */ 4872 MEM32(FS_BASE + (0)) = ecx; /* 0x250A8031: mov dword ptr fs:[0], ecx */ 4873 esp = ebp; /* 0x250A8038: mov esp, ebp */ 4874 ebp = POP32_VAL(esp); /* 0x250A803A: pop ebp */ 4875 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A803B: ret 8 */ 4876 RECOMP_REGS_OUT(); 4877 } 4878 4879 void sub_250A8040(void) { 4880 int _fpu_cmp = 0; 4881 uint32_t _cf = 0; 4882 int _df = 1; 4883 uint32_t _flag_k = FK_NONE; 4884 uint32_t _flag_a = 0, _flag_b = 0; 4885 uint32_t _itail_tgt = 0; 4886 RECOMP_REGS_LOCALS 4887 RECOMP_ENTER(0x250A8040u); 4888 4889 L_250A8040: 4890 PUSH32(esp, ebp); /* 0x250A8040: push ebp */ 4891 ebp = esp; /* 0x250A8041: mov ebp, esp */ 4892 PUSH32(esp, ecx); /* 0x250A8043: push ecx */ 4893 fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x250A8044: fld dword ptr [ecx + 0xc] */ 4894 eax = MEM32(ebp + 0x8); /* 0x250A8047: mov eax, dword ptr [ebp + 8] */ 4895 _st[0] -= (double)*(float*)ADDR(ecx + 0x4); /* 0x250A804A: fsub dword ptr [ecx + 4] */ 4896 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4897 edx = 0; /* 0x250A804D: xor edx, edx */ 4898 _cf = 0; 4899 _flag_k = FK_TEST; 4900 fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250A804F: fld dword ptr [ecx + 8] */ 4901 MEM32(ebp + (-0x4)) = edx; /* 0x250A8052: mov dword ptr [ebp - 4], edx */ 4902 _st[0] -= (double)*(float*)ADDR(ecx); /* 0x250A8055: fsub dword ptr [ecx] */ 4903 MEM32(eax) = edx; /* 0x250A8057: mov dword ptr [eax], edx */ 4904 MEM32(eax + 0x4) = edx; /* 0x250A8059: mov dword ptr [eax + 4], edx */ 4905 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x8) = _v; } /* 0x250A805C: fstp dword ptr [eax + 8] */ 4906 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0xC) = _v; } /* 0x250A805F: fstp dword ptr [eax + 0xc] */ 4907 esp = ebp; /* 0x250A8062: mov esp, ebp */ 4908 ebp = POP32_VAL(esp); /* 0x250A8064: pop ebp */ 4909 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A8065: ret 4 */ 4910 RECOMP_REGS_OUT(); 4911 } 4912 4913 void sub_250A8070(void) { 4914 int _fpu_cmp = 0; 4915 uint32_t _cf = 0; 4916 int _df = 1; 4917 uint32_t _flag_k = FK_NONE; 4918 uint32_t _flag_a = 0, _flag_b = 0; 4919 uint32_t _itail_tgt = 0; 4920 RECOMP_REGS_LOCALS 4921 RECOMP_ENTER(0x250A8070u); 4922 4923 L_250A8070: 4924 PUSH32(esp, ebp); /* 0x250A8070: push ebp */ 4925 ebp = esp; /* 0x250A8071: mov ebp, esp */ 4926 PUSH32(esp, ecx); /* 0x250A8073: push ecx */ 4927 eax = MEM32(ebp + 0xC); /* 0x250A8074: mov eax, dword ptr [ebp + 0xc] */ 4928 fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x250A8077: fld dword ptr [ecx + 0xc] */ 4929 _st[0] += (double)*(float*)ADDR(eax + 0x4); /* 0x250A807A: fadd dword ptr [eax + 4] */ 4930 MEM32(ebp + (-0x4)) = 0; /* 0x250A807D: mov dword ptr [ebp - 4], 0 */ 4931 fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250A8084: fld dword ptr [ecx + 8] */ 4932 _st[0] += (double)*(float*)ADDR(eax); /* 0x250A8087: fadd dword ptr [eax] */ 4933 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8089: fld dword ptr [ecx + 4] */ 4934 _st[0] += (double)*(float*)ADDR(eax + 0x4); /* 0x250A808C: fadd dword ptr [eax + 4] */ 4935 fp_push(*(float*)&MEM32(eax)); /* 0x250A808F: fld dword ptr [eax] */ 4936 eax = MEM32(ebp + 0x8); /* 0x250A8091: mov eax, dword ptr [ebp + 8] */ 4937 _st[0] += (double)*(float*)ADDR(ecx); /* 0x250A8094: fadd dword ptr [ecx] */ 4938 { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x250A8096: fstp dword ptr [eax] */ 4939 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x4) = _v; } /* 0x250A8098: fstp dword ptr [eax + 4] */ 4940 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x8) = _v; } /* 0x250A809B: fstp dword ptr [eax + 8] */ 4941 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0xC) = _v; } /* 0x250A809E: fstp dword ptr [eax + 0xc] */ 4942 esp = ebp; /* 0x250A80A1: mov esp, ebp */ 4943 ebp = POP32_VAL(esp); /* 0x250A80A3: pop ebp */ 4944 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A80A4: ret 8 */ 4945 RECOMP_REGS_OUT(); 4946 } 4947 4948 void sub_250A80B0(void) { 4949 int _fpu_cmp = 0; 4950 uint32_t _cf = 0; 4951 int _df = 1; 4952 uint32_t _flag_k = FK_NONE; 4953 uint32_t _flag_a = 0, _flag_b = 0; 4954 uint32_t _itail_tgt = 0; 4955 RECOMP_REGS_LOCALS 4956 RECOMP_ENTER(0x250A80B0u); 4957 4958 L_250A80B0: 4959 PUSH32(esp, ebp); /* 0x250A80B0: push ebp */ 4960 ebp = esp; /* 0x250A80B1: mov ebp, esp */ 4961 eax = MEM32(ebp + 0x8); /* 0x250A80B3: mov eax, dword ptr [ebp + 8] */ 4962 ecx = MEM32(ebp + 0xC); /* 0x250A80B6: mov ecx, dword ptr [ebp + 0xc] */ 4963 MEM32(0x252385B4) = eax; /* 0x250A80B9: mov dword ptr [0x252385b4], eax */ 4964 MEM32(0x252385B8) = ecx; /* 0x250A80BE: mov dword ptr [0x252385b8], ecx */ 4965 RECOMP_ICALL(0x250ABFB0u); /* 0x250A80C4: call 0x250abfb0 */ /* not lifted */ 4966 RECOMP_FLAGS_IN(); 4967 MEM8(0x251B58DC) = (uint8_t)(1); /* 0x250A80C9: mov byte ptr [0x251b58dc], 1 */ 4968 ebp = POP32_VAL(esp); /* 0x250A80D0: pop ebp */ 4969 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A80D1: ret */ 4970 RECOMP_REGS_OUT(); 4971 } 4972 4973 void sub_250A80E0(void) { 4974 int _fpu_cmp = 0; 4975 uint32_t _cf = 0; 4976 int _df = 1; 4977 uint32_t _flag_k = FK_NONE; 4978 uint32_t _flag_a = 0, _flag_b = 0; 4979 uint32_t _itail_tgt = 0; 4980 RECOMP_REGS_LOCALS 4981 RECOMP_ENTER(0x250A80E0u); 4982 4983 L_250A80E0: 4984 PUSH32(esp, ebp); /* 0x250A80E0: push ebp */ 4985 ebp = esp; /* 0x250A80E1: mov ebp, esp */ 4986 PUSH32(esp, ebx); /* 0x250A80E3: push ebx */ 4987 PUSH32(esp, esi); /* 0x250A80E4: push esi */ 4988 esi = MEM32(ebp + 0x8); /* 0x250A80E5: mov esi, dword ptr [ebp + 8] */ 4989 fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x250A80E8: fld dword ptr [esi + 8] */ 4990 _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x250A80EB: fmul dword ptr [0x25151928] */ 4991 RECOMP_ICALL(0x251380E8u); /* 0x250A80F1: call 0x251380e8 */ /* not lifted */ 4992 RECOMP_FLAGS_IN(); 4993 fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250A80F6: fld dword ptr [esi + 4] */ 4994 _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x250A80F9: fmul dword ptr [0x25151928] */ 4995 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4996 ebx = 0; /* 0x250A80FF: xor ebx, ebx */ 4997 _cf = 0; 4998 _flag_k = FK_TEST; 4999 SET_HI8(ebx, LO8(eax)); /* 0x250A8101: mov bh, al */ 5000 RECOMP_ICALL(0x251380E8u); /* 0x250A8103: call 0x251380e8 */ /* not lifted */ 5001 RECOMP_FLAGS_IN(); 5002 fp_push(*(float*)&MEM32(esi)); /* 0x250A8108: fld dword ptr [esi] */ 5003 _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x250A810A: fmul dword ptr [0x25151928] */ 5004 SET_LO8(ebx, LO8(eax)); /* 0x250A8110: mov bl, al */ 5005 if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x250A8112: shl ebx, 8 */ 5006 if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5007 ebx = ebx << 8u; /* 0x250A8112: shl ebx, 8 */ 5008 RECOMP_ICALL(0x251380E8u); /* 0x250A8115: call 0x251380e8 */ /* not lifted */ 5009 RECOMP_FLAGS_IN(); 5010 esi = POP32_VAL(esp); /* 0x250A811A: pop esi */ 5011 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu); 5012 eax = eax & 0xFFu; /* 0x250A811B: and eax, 0xff */ 5013 _cf = 0; 5014 _flag_k = FK_TEST; 5015 _flag_a = (uint32_t)((ebx | eax)); _flag_b = (uint32_t)((ebx | eax)); 5016 ebx = ebx | eax; /* 0x250A8120: or ebx, eax */ 5017 _cf = 0; 5018 _flag_k = FK_TEST; 5019 MEM32(0x252385BC) = ebx; /* 0x250A8122: mov dword ptr [0x252385bc], ebx */ 5020 ebx = POP32_VAL(esp); /* 0x250A8128: pop ebx */ 5021 ebp = POP32_VAL(esp); /* 0x250A8129: pop ebp */ 5022 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A812A: ret */ 5023 RECOMP_REGS_OUT(); 5024 } 5025 5026 void sub_250A8130(void) { 5027 int _fpu_cmp = 0; 5028 uint32_t _cf = 0; 5029 int _df = 1; 5030 uint32_t _flag_k = FK_NONE; 5031 uint32_t _flag_a = 0, _flag_b = 0; 5032 uint32_t _itail_tgt = 0; 5033 RECOMP_REGS_LOCALS 5034 RECOMP_ENTER(0x250A8130u); 5035 5036 L_250A8130: 5037 PUSH32(esp, ebp); /* 0x250A8130: push ebp */ 5038 ebp = esp; /* 0x250A8131: mov ebp, esp */ 5039 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 5040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5041 esp = esp - 0xCu; /* 0x250A8133: sub esp, 0xc */ 5042 _flag_k = FK_CMP; 5043 edx = MEM32(0x252385B8); /* 0x250A8136: mov edx, dword ptr [0x252385b8] */ 5044 /* test edx, edx */ /* 0x250A813C: test edx, edx */ 5045 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5046 _cf = 0; 5047 _flag_k = FK_TEST; 5048 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8178; /* 0x250A813E: je 0x250a8178 */ 5049 L_250A8140: 5050 fp_push((double)(int32_t)MEM32(edx + 0x825C)); /* 0x250A8140: fild dword ptr [edx + 0x825c] */ 5051 fp_push(*(float*)&MEM32(ecx + 0x44)); /* 0x250A8146: fld dword ptr [ecx + 0x44] */ 5052 _st[0] -= (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A8149: fsub dword ptr [ecx + 0x3c] */ 5053 _fpu_cmp = FPU_CMP(_st[0], _st[1]); /* 0x250A814C: fcompp */ 5054 fp_pop(); fp_pop(); 5055 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A814E: fnstsw ax */ 5056 /* test HI8(eax), 0x41u */ /* 0x250A8150: test ah, 0x41 */ 5057 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5058 _cf = 0; 5059 _flag_k = FK_NARROW(FK_TEST, 24); 5060 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A815C; /* 0x250A8153: jne 0x250a815c */ 5061 L_250A8155: 5062 MEM32(ebp + 0x8) = 0; /* 0x250A8155: mov dword ptr [ebp + 8], 0 */ 5063 L_250A815C: 5064 fp_push((double)(int32_t)MEM32(edx + 0x8260)); /* 0x250A815C: fild dword ptr [edx + 0x8260] */ 5065 fp_push(*(float*)&MEM32(ecx + 0x48)); /* 0x250A8162: fld dword ptr [ecx + 0x48] */ 5066 _st[0] -= (double)*(float*)ADDR(ecx + 0x40); /* 0x250A8165: fsub dword ptr [ecx + 0x40] */ 5067 _fpu_cmp = FPU_CMP(_st[0], _st[1]); /* 0x250A8168: fcompp */ 5068 fp_pop(); fp_pop(); 5069 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A816A: fnstsw ax */ 5070 /* test HI8(eax), 0x41u */ /* 0x250A816C: test ah, 0x41 */ 5071 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5072 _cf = 0; 5073 _flag_k = FK_NARROW(FK_TEST, 24); 5074 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A8178; /* 0x250A816F: jne 0x250a8178 */ 5075 L_250A8171: 5076 MEM32(ebp + 0xC) = 0; /* 0x250A8171: mov dword ptr [ebp + 0xc], 0 */ 5077 L_250A8178: 5078 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x250A8178: fild dword ptr [ebp + 8] */ 5079 _st[0] *= (double)*(float*)ADDR(0x25154758); /* 0x250A817B: fmul dword ptr [0x25154758] */ 5080 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x250A8181: fild dword ptr [ebp + 0xc] */ 5081 _st[0] *= (double)*(float*)ADDR(0x25154758); /* 0x250A8184: fmul dword ptr [0x25154758] */ 5082 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250A818A: fstp dword ptr [ebp - 8] */ 5083 fp_push(_st[0]); /* 0x250A818D: fld st(0) */ 5084 _st[0] += (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A818F: fadd dword ptr [ecx + 0x3c] */ 5085 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x3C) = _v; } /* 0x250A8192: fstp dword ptr [ecx + 0x3c] */ 5086 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250A8195: fld dword ptr [ebp - 8] */ 5087 _st[0] += (double)*(float*)ADDR(ecx + 0x40); /* 0x250A8198: fadd dword ptr [ecx + 0x40] */ 5088 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x40) = _v; } /* 0x250A819B: fstp dword ptr [ecx + 0x40] */ 5089 _st[0] += (double)*(float*)ADDR(ecx + 0x44); /* 0x250A819E: fadd dword ptr [ecx + 0x44] */ 5090 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x44) = _v; } /* 0x250A81A1: fstp dword ptr [ecx + 0x44] */ 5091 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250A81A4: fld dword ptr [ebp - 8] */ 5092 _st[0] += (double)*(float*)ADDR(ecx + 0x48); /* 0x250A81A7: fadd dword ptr [ecx + 0x48] */ 5093 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x48) = _v; } /* 0x250A81AA: fstp dword ptr [ecx + 0x48] */ 5094 edx = MEM32(0x252385B8); /* 0x250A81AD: mov edx, dword ptr [0x252385b8] */ 5095 /* test edx, edx */ /* 0x250A81B3: test edx, edx */ 5096 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5097 _cf = 0; 5098 _flag_k = FK_TEST; 5099 if (TEST_Z(_flag_a, _flag_b)) goto L_250A829B; /* 0x250A81B5: je 0x250a829b */ 5100 L_250A81BB: 5101 fp_push((double)(int32_t)MEM32(edx + 0x8260)); /* 0x250A81BB: fild dword ptr [edx + 0x8260] */ 5102 fp_push(*(float*)&MEM32(ecx + 0x48)); /* 0x250A81C1: fld dword ptr [ecx + 0x48] */ 5103 _st[0] -= (double)*(float*)ADDR(ecx + 0x40); /* 0x250A81C4: fsub dword ptr [ecx + 0x40] */ 5104 _fpu_cmp = FPU_CMP(_st[0], _st[1]); /* 0x250A81C7: fcompp */ 5105 fp_pop(); fp_pop(); 5106 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A81C9: fnstsw ax */ 5107 /* test HI8(eax), 0x41u */ /* 0x250A81CB: test ah, 0x41 */ 5108 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5109 _cf = 0; 5110 _flag_k = FK_NARROW(FK_TEST, 24); 5111 if (TEST_Z(_flag_a, _flag_b)) goto L_250A823E; /* 0x250A81CE: je 0x250a823e */ 5112 L_250A81D0: 5113 fp_push(*(float*)&MEM32(ecx + 0x3C)); /* 0x250A81D0: fld dword ptr [ecx + 0x3c] */ 5114 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A81D3: fcomp dword ptr [0x2515177c] */ 5115 fp_pop(); 5116 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A81D9: fnstsw ax */ 5117 /* test HI8(eax), 1 */ /* 0x250A81DB: test ah, 1 */ 5118 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5119 _cf = 0; 5120 _flag_k = FK_NARROW(FK_TEST, 24); 5121 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8207; /* 0x250A81DE: je 0x250a8207 */ 5122 L_250A81E0: 5123 fp_push(*(float*)&MEM32(ecx + 0x3C)); /* 0x250A81E0: fld dword ptr [ecx + 0x3c] */ 5124 edx = MEM32(ecx + 0x48); /* 0x250A81E3: mov edx, dword ptr [ecx + 0x48] */ 5125 eax = MEM32(ecx + 0x40); /* 0x250A81E6: mov eax, dword ptr [ecx + 0x40] */ 5126 _st[0] = -_st[0]; /* 0x250A81E9: fchs */ 5127 fp_push(_st[0]); /* 0x250A81EB: fld st(0) */ 5128 MEM32(ecx + 0x40) = eax; /* 0x250A81ED: mov dword ptr [ecx + 0x40], eax */ 5129 _st[0] += (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A81F0: fadd dword ptr [ecx + 0x3c] */ 5130 MEM32(ecx + 0x48) = edx; /* 0x250A81F3: mov dword ptr [ecx + 0x48], edx */ 5131 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x3C) = _v; } /* 0x250A81F6: fstp dword ptr [ecx + 0x3c] */ 5132 _st[0] += (double)*(float*)ADDR(ecx + 0x44); /* 0x250A81F9: fadd dword ptr [ecx + 0x44] */ 5133 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x44) = _v; } /* 0x250A81FC: fstp dword ptr [ecx + 0x44] */ 5134 edx = MEM32(0x252385B8); /* 0x250A81FF: mov edx, dword ptr [0x252385b8] */ 5135 goto L_250A823E; /* 0x250A8205: jmp 0x250a823e */ 5136 L_250A8207: 5137 fp_push((double)(int32_t)MEM32(edx + 0x825C)); /* 0x250A8207: fild dword ptr [edx + 0x825c] */ 5138 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx + 0x44)); /* 0x250A820D: fcom dword ptr [ecx + 0x44] */ 5139 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8210: fnstsw ax */ 5140 /* test HI8(eax), 1 */ /* 0x250A8212: test ah, 1 */ 5141 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5142 _cf = 0; 5143 _flag_k = FK_NARROW(FK_TEST, 24); 5144 if (TEST_Z(_flag_a, _flag_b)) goto L_250A823C; /* 0x250A8215: je 0x250a823c */ 5145 L_250A8217: 5146 _st[0] -= (double)*(float*)ADDR(ecx + 0x44); /* 0x250A8217: fsub dword ptr [ecx + 0x44] */ 5147 edx = MEM32(ecx + 0x48); /* 0x250A821A: mov edx, dword ptr [ecx + 0x48] */ 5148 eax = MEM32(ecx + 0x40); /* 0x250A821D: mov eax, dword ptr [ecx + 0x40] */ 5149 fp_push(_st[0]); /* 0x250A8220: fld st(0) */ 5150 _st[0] += (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A8222: fadd dword ptr [ecx + 0x3c] */ 5151 MEM32(ecx + 0x40) = eax; /* 0x250A8225: mov dword ptr [ecx + 0x40], eax */ 5152 MEM32(ecx + 0x48) = edx; /* 0x250A8228: mov dword ptr [ecx + 0x48], edx */ 5153 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x3C) = _v; } /* 0x250A822B: fstp dword ptr [ecx + 0x3c] */ 5154 _st[0] += (double)*(float*)ADDR(ecx + 0x44); /* 0x250A822E: fadd dword ptr [ecx + 0x44] */ 5155 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x44) = _v; } /* 0x250A8231: fstp dword ptr [ecx + 0x44] */ 5156 edx = MEM32(0x252385B8); /* 0x250A8234: mov edx, dword ptr [0x252385b8] */ 5157 goto L_250A823E; /* 0x250A823A: jmp 0x250a823e */ 5158 L_250A823C: 5159 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A823C: fstp st(0) */ 5160 L_250A823E: 5161 fp_push((double)(int32_t)MEM32(edx + 0x8260)); /* 0x250A823E: fild dword ptr [edx + 0x8260] */ 5162 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A8244: fstp dword ptr [ebp + 8] */ 5163 fp_push(*(float*)&MEM32(ecx + 0x48)); /* 0x250A8247: fld dword ptr [ecx + 0x48] */ 5164 _st[0] -= (double)*(float*)ADDR(ecx + 0x40); /* 0x250A824A: fsub dword ptr [ecx + 0x40] */ 5165 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x250A824D: fcomp dword ptr [ebp + 8] */ 5166 fp_pop(); 5167 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8250: fnstsw ax */ 5168 /* test HI8(eax), 0x41u */ /* 0x250A8252: test ah, 0x41 */ 5169 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5170 _cf = 0; 5171 _flag_k = FK_NARROW(FK_TEST, 24); 5172 if (TEST_Z(_flag_a, _flag_b)) goto L_250A829B; /* 0x250A8255: je 0x250a829b */ 5173 L_250A8257: 5174 fp_push(*(float*)&MEM32(ecx + 0x40)); /* 0x250A8257: fld dword ptr [ecx + 0x40] */ 5175 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A825A: fcomp dword ptr [0x2515177c] */ 5176 fp_pop(); 5177 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8260: fnstsw ax */ 5178 /* test HI8(eax), 1 */ /* 0x250A8262: test ah, 1 */ 5179 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5180 _cf = 0; 5181 _flag_k = FK_NARROW(FK_TEST, 24); 5182 if (TEST_Z(_flag_a, _flag_b)) goto L_250A826E; /* 0x250A8265: je 0x250a826e */ 5183 L_250A8267: 5184 fp_push(*(float*)&MEM32(ecx + 0x40)); /* 0x250A8267: fld dword ptr [ecx + 0x40] */ 5185 _st[0] = -_st[0]; /* 0x250A826A: fchs */ 5186 goto L_250A8281; /* 0x250A826C: jmp 0x250a8281 */ 5187 L_250A826E: 5188 fp_push(*(float*)&MEM32(ecx + 0x48)); /* 0x250A826E: fld dword ptr [ecx + 0x48] */ 5189 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x250A8271: fcomp dword ptr [ebp + 8] */ 5190 fp_pop(); 5191 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8274: fnstsw ax */ 5192 /* test HI8(eax), 0x41u */ /* 0x250A8276: test ah, 0x41 */ 5193 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5194 _cf = 0; 5195 _flag_k = FK_NARROW(FK_TEST, 24); 5196 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A829B; /* 0x250A8279: jne 0x250a829b */ 5197 L_250A827B: 5198 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A827B: fld dword ptr [ebp + 8] */ 5199 _st[0] -= (double)*(float*)ADDR(ecx + 0x48); /* 0x250A827E: fsub dword ptr [ecx + 0x48] */ 5200 L_250A8281: 5201 eax = MEM32(ecx + 0x3C); /* 0x250A8281: mov eax, dword ptr [ecx + 0x3c] */ 5202 fp_push(_st[0]); /* 0x250A8284: fld st(0) */ 5203 MEM32(ecx + 0x3C) = eax; /* 0x250A8286: mov dword ptr [ecx + 0x3c], eax */ 5204 _st[0] += (double)*(float*)ADDR(ecx + 0x40); /* 0x250A8289: fadd dword ptr [ecx + 0x40] */ 5205 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x40) = _v; } /* 0x250A828C: fstp dword ptr [ecx + 0x40] */ 5206 edx = MEM32(ecx + 0x44); /* 0x250A828F: mov edx, dword ptr [ecx + 0x44] */ 5207 MEM32(ecx + 0x44) = edx; /* 0x250A8292: mov dword ptr [ecx + 0x44], edx */ 5208 _st[0] += (double)*(float*)ADDR(ecx + 0x48); /* 0x250A8295: fadd dword ptr [ecx + 0x48] */ 5209 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x48) = _v; } /* 0x250A8298: fstp dword ptr [ecx + 0x48] */ 5210 L_250A829B: 5211 esp = ebp; /* 0x250A829B: mov esp, ebp */ 5212 ebp = POP32_VAL(esp); /* 0x250A829D: pop ebp */ 5213 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A829E: ret 8 */ 5214 RECOMP_REGS_OUT(); 5215 } 5216 5217 void sub_250A82B0(void) { 5218 int _fpu_cmp = 0; 5219 uint32_t _cf = 0; 5220 int _df = 1; 5221 uint32_t _flag_k = FK_NONE; 5222 uint32_t _flag_a = 0, _flag_b = 0; 5223 uint32_t _itail_tgt = 0; 5224 RECOMP_REGS_LOCALS 5225 RECOMP_ENTER(0x250A82B0u); 5226 5227 L_250A82B0: 5228 PUSH32(esp, ebp); /* 0x250A82B0: push ebp */ 5229 ebp = esp; /* 0x250A82B1: mov ebp, esp */ 5230 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x250A82B3: fild dword ptr [ebp + 8] */ 5231 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x2C) = _v; } /* 0x250A82B6: fstp dword ptr [ecx + 0x2c] */ 5232 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x250A82B9: fild dword ptr [ebp + 0xc] */ 5233 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x30) = _v; } /* 0x250A82BC: fstp dword ptr [ecx + 0x30] */ 5234 ebp = POP32_VAL(esp); /* 0x250A82BF: pop ebp */ 5235 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A82C0: ret 8 */ 5236 RECOMP_REGS_OUT(); 5237 } 5238 5239 void sub_250A82D0(void) { 5240 int _fpu_cmp = 0; 5241 uint32_t _cf = 0; 5242 int _df = 1; 5243 uint32_t _flag_k = FK_NONE; 5244 uint32_t _flag_a = 0, _flag_b = 0; 5245 uint32_t _itail_tgt = 0; 5246 RECOMP_REGS_LOCALS 5247 RECOMP_ENTER(0x250A82D0u); 5248 5249 L_250A82D0: 5250 PUSH32(esp, ebp); /* 0x250A82D0: push ebp */ 5251 ebp = esp; /* 0x250A82D1: mov ebp, esp */ 5252 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x250A82D3: fild dword ptr [ebp + 8] */ 5253 { float _v = (float)_st[0]; *(float*)ADDR(ecx + 0x34) = _v; } /* 0x250A82D6: fst dword ptr [ecx + 0x34] */ 5254 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x250A82D9: fild dword ptr [ebp + 0xc] */ 5255 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A82DC: fst dword ptr [ebp + 8] */ 5256 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x38) = _v; } /* 0x250A82DF: fstp dword ptr [ecx + 0x38] */ 5257 fp_push(*(float*)&MEM32(ecx + 0x44)); /* 0x250A82E2: fld dword ptr [ecx + 0x44] */ 5258 _st[0] -= (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A82E5: fsub dword ptr [ecx + 0x3c] */ 5259 _st[0] = _st[1] / _st[0]; /* 0x250A82E8: fdivr st(1) */ 5260 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x5C) = _v; } /* 0x250A82EA: fstp dword ptr [ecx + 0x5c] */ 5261 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A82ED: fstp st(0) */ 5262 fp_push(*(float*)&MEM32(ecx + 0x48)); /* 0x250A82EF: fld dword ptr [ecx + 0x48] */ 5263 _st[0] -= (double)*(float*)ADDR(ecx + 0x40); /* 0x250A82F2: fsub dword ptr [ecx + 0x40] */ 5264 _st[0] = (double)*(float*)ADDR(ebp + 0x8) / _st[0]; /* 0x250A82F5: fdivr dword ptr [ebp + 8] */ 5265 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x60) = _v; } /* 0x250A82F8: fstp dword ptr [ecx + 0x60] */ 5266 ebp = POP32_VAL(esp); /* 0x250A82FB: pop ebp */ 5267 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A82FC: ret 8 */ 5268 RECOMP_REGS_OUT(); 5269 } 5270 5271 void sub_250A8300(void) { 5272 int _fpu_cmp = 0; 5273 uint32_t _cf = 0; 5274 int _df = 1; 5275 uint32_t _flag_k = FK_NONE; 5276 uint32_t _flag_a = 0, _flag_b = 0; 5277 uint32_t _itail_tgt = 0; 5278 RECOMP_REGS_LOCALS 5279 RECOMP_ENTER(0x250A8300u); 5280 5281 L_250A8300: 5282 PUSH32(esp, ebp); /* 0x250A8300: push ebp */ 5283 ebp = esp; /* 0x250A8301: mov ebp, esp */ 5284 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x250A8303: fild dword ptr [ebp + 8] */ 5285 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5286 edx = 0; /* 0x250A8306: xor edx, edx */ 5287 _cf = 0; 5288 _flag_k = FK_TEST; 5289 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A8308: fst dword ptr [ebp + 8] */ 5290 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x54) = _v; } /* 0x250A830B: fstp dword ptr [ecx + 0x54] */ 5291 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x250A830E: fild dword ptr [ebp + 0xc] */ 5292 { float _v = (float)_st[0]; *(float*)ADDR(ecx + 0x58) = _v; } /* 0x250A8311: fst dword ptr [ecx + 0x58] */ 5293 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A8314: fld dword ptr [ebp + 8] */ 5294 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A8317: fcomp dword ptr [0x2515177c] */ 5295 fp_pop(); 5296 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A831D: fnstsw ax */ 5297 /* test HI8(eax), 1 */ /* 0x250A831F: test ah, 1 */ 5298 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5299 _cf = 0; 5300 _flag_k = FK_NARROW(FK_TEST, 24); 5301 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8327; /* 0x250A8322: je 0x250a8327 */ 5302 L_250A8324: 5303 MEM32(ecx + 0x54) = edx; /* 0x250A8324: mov dword ptr [ecx + 0x54], edx */ 5304 L_250A8327: 5305 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A8327: fcomp dword ptr [0x2515177c] */ 5306 fp_pop(); 5307 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A832D: fnstsw ax */ 5308 /* test HI8(eax), 1 */ /* 0x250A832F: test ah, 1 */ 5309 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5310 _cf = 0; 5311 _flag_k = FK_NARROW(FK_TEST, 24); 5312 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8337; /* 0x250A8332: je 0x250a8337 */ 5313 L_250A8334: 5314 MEM32(ecx + 0x58) = edx; /* 0x250A8334: mov dword ptr [ecx + 0x58], edx */ 5315 L_250A8337: 5316 fp_push(*(float*)&MEM32(ecx + 0x54)); /* 0x250A8337: fld dword ptr [ecx + 0x54] */ 5317 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx + 0x4C)); /* 0x250A833A: fcomp dword ptr [ecx + 0x4c] */ 5318 fp_pop(); 5319 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A833D: fnstsw ax */ 5320 /* test HI8(eax), 0x41u */ /* 0x250A833F: test ah, 0x41 */ 5321 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5322 _cf = 0; 5323 _flag_k = FK_NARROW(FK_TEST, 24); 5324 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A834A; /* 0x250A8342: jne 0x250a834a */ 5325 L_250A8344: 5326 eax = MEM32(ecx + 0x4C); /* 0x250A8344: mov eax, dword ptr [ecx + 0x4c] */ 5327 MEM32(ecx + 0x54) = eax; /* 0x250A8347: mov dword ptr [ecx + 0x54], eax */ 5328 L_250A834A: 5329 fp_push(*(float*)&MEM32(ecx + 0x58)); /* 0x250A834A: fld dword ptr [ecx + 0x58] */ 5330 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx + 0x50)); /* 0x250A834D: fcomp dword ptr [ecx + 0x50] */ 5331 fp_pop(); 5332 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8350: fnstsw ax */ 5333 /* test HI8(eax), 0x41u */ /* 0x250A8352: test ah, 0x41 */ 5334 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5335 _cf = 0; 5336 _flag_k = FK_NARROW(FK_TEST, 24); 5337 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A835D; /* 0x250A8355: jne 0x250a835d */ 5338 L_250A8357: 5339 edx = MEM32(ecx + 0x50); /* 0x250A8357: mov edx, dword ptr [ecx + 0x50] */ 5340 MEM32(ecx + 0x58) = edx; /* 0x250A835A: mov dword ptr [ecx + 0x58], edx */ 5341 L_250A835D: 5342 ebp = POP32_VAL(esp); /* 0x250A835D: pop ebp */ 5343 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A835E: ret 8 */ 5344 RECOMP_REGS_OUT(); 5345 } 5346 5347 void sub_250A8370(void) { 5348 int _fpu_cmp = 0; 5349 uint32_t _cf = 0; 5350 int _df = 1; 5351 uint32_t _flag_k = FK_NONE; 5352 uint32_t _flag_a = 0, _flag_b = 0; 5353 uint32_t _itail_tgt = 0; 5354 RECOMP_REGS_LOCALS 5355 RECOMP_ENTER(0x250A8370u); 5356 5357 L_250A8370: 5358 PUSH32(esp, ebp); /* 0x250A8370: push ebp */ 5359 ebp = esp; /* 0x250A8371: mov ebp, esp */ 5360 SET_LO8(eax, MEM8(0x251B58DC)); /* 0x250A8373: mov al, byte ptr [0x251b58dc] */ 5361 /* test LO8(eax), LO8(eax) */ /* 0x250A8378: test al, al */ 5362 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5363 _cf = 0; 5364 _flag_k = FK_NARROW(FK_TEST, 24); 5365 PUSH32(esp, esi); /* 0x250A837A: push esi */ 5366 esi = ecx; /* 0x250A837B: mov esi, ecx */ 5367 if (TEST_Z(_flag_a, _flag_b)) goto L_250A838B; /* 0x250A837D: je 0x250a838b */ 5368 L_250A837F: 5369 RECOMP_ICALL(0x250AC100u); /* 0x250A837F: call 0x250ac100 */ /* not lifted */ 5370 RECOMP_FLAGS_IN(); 5371 MEM8(0x251B58DC) = (uint8_t)(0); /* 0x250A8384: mov byte ptr [0x251b58dc], 0 */ 5372 L_250A838B: 5373 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A838B: fld dword ptr [ebp + 8] */ 5374 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x80)); /* 0x250A838E: fcomp dword ptr [esi + 0x80] */ 5375 fp_pop(); 5376 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8394: fnstsw ax */ 5377 /* test HI8(eax), 0x40u */ /* 0x250A8396: test ah, 0x40 */ 5378 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 5379 _cf = 0; 5380 _flag_k = FK_NARROW(FK_TEST, 24); 5381 if (TEST_Z(_flag_a, _flag_b)) goto L_250A83BB; /* 0x250A8399: je 0x250a83bb */ 5382 L_250A839B: 5383 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x250A839B: fld dword ptr [ebp + 0xc] */ 5384 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x84)); /* 0x250A839E: fcomp dword ptr [esi + 0x84] */ 5385 fp_pop(); 5386 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A83A4: fnstsw ax */ 5387 /* test HI8(eax), 0x40u */ /* 0x250A83A6: test ah, 0x40 */ 5388 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 5389 _cf = 0; 5390 _flag_k = FK_NARROW(FK_TEST, 24); 5391 if (TEST_Z(_flag_a, _flag_b)) goto L_250A83BB; /* 0x250A83A9: je 0x250a83bb */ 5392 L_250A83AB: 5393 fp_push(*(float*)&MEM32(ebp + 0x10)); /* 0x250A83AB: fld dword ptr [ebp + 0x10] */ 5394 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x88)); /* 0x250A83AE: fcomp dword ptr [esi + 0x88] */ 5395 fp_pop(); 5396 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A83B4: fnstsw ax */ 5397 /* test HI8(eax), 0x40u */ /* 0x250A83B6: test ah, 0x40 */ 5398 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 5399 _cf = 0; 5400 _flag_k = FK_NARROW(FK_TEST, 24); 5401 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A83DA; /* 0x250A83B9: jne 0x250a83da */ 5402 L_250A83BB: 5403 eax = MEM32(ebp + 0x8); /* 0x250A83BB: mov eax, dword ptr [ebp + 8] */ 5404 ecx = MEM32(ebp + 0xC); /* 0x250A83BE: mov ecx, dword ptr [ebp + 0xc] */ 5405 edx = MEM32(ebp + 0x10); /* 0x250A83C1: mov edx, dword ptr [ebp + 0x10] */ 5406 MEM32(esi + 0x80) = eax; /* 0x250A83C4: mov dword ptr [esi + 0x80], eax */ 5407 MEM32(esi + 0x84) = ecx; /* 0x250A83CA: mov dword ptr [esi + 0x84], ecx */ 5408 MEM32(esi + 0x88) = edx; /* 0x250A83D0: mov dword ptr [esi + 0x88], edx */ 5409 MEM8(esi + 0x65) = (uint8_t)(1); /* 0x250A83D6: mov byte ptr [esi + 0x65], 1 */ 5410 L_250A83DA: 5411 esi = POP32_VAL(esp); /* 0x250A83DA: pop esi */ 5412 ebp = POP32_VAL(esp); /* 0x250A83DB: pop ebp */ 5413 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250A83DC: ret 0xc */ 5414 RECOMP_REGS_OUT(); 5415 } 5416 5417 void sub_250A83E0(void) { 5418 int _fpu_cmp = 0; 5419 uint32_t _cf = 0; 5420 int _df = 1; 5421 uint32_t _flag_k = FK_NONE; 5422 uint32_t _flag_a = 0, _flag_b = 0; 5423 uint32_t _itail_tgt = 0; 5424 RECOMP_REGS_LOCALS 5425 RECOMP_ENTER(0x250A83E0u); 5426 5427 L_250A83E0: 5428 PUSH32(esp, ebp); /* 0x250A83E0: push ebp */ 5429 ebp = esp; /* 0x250A83E1: mov ebp, esp */ 5430 eax = MEM32(ebp + 0x8); /* 0x250A83E3: mov eax, dword ptr [ebp + 8] */ 5431 MEM32(ecx + 0x8C) = eax; /* 0x250A83E6: mov dword ptr [ecx + 0x8c], eax */ 5432 ebp = POP32_VAL(esp); /* 0x250A83EC: pop ebp */ 5433 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A83ED: ret 4 */ 5434 RECOMP_REGS_OUT(); 5435 } 5436 5437 void sub_250A83F0(void) { 5438 int _fpu_cmp = 0; 5439 uint32_t _cf = 0; 5440 int _df = 1; 5441 uint32_t _flag_k = FK_NONE; 5442 uint32_t _flag_a = 0, _flag_b = 0; 5443 uint32_t _itail_tgt = 0; 5444 RECOMP_REGS_LOCALS 5445 RECOMP_ENTER(0x250A83F0u); 5446 5447 L_250A83F0: 5448 PUSH32(esp, ebp); /* 0x250A83F0: push ebp */ 5449 ebp = esp; /* 0x250A83F1: mov ebp, esp */ 5450 eax = MEM32(ebp + 0x8); /* 0x250A83F3: mov eax, dword ptr [ebp + 8] */ 5451 edx = MEM32(eax); /* 0x250A83F6: mov edx, dword ptr [eax] */ 5452 MEM32(ecx + 0x90) = edx; /* 0x250A83F8: mov dword ptr [ecx + 0x90], edx */ 5453 eax = MEM32(eax + 0x4); /* 0x250A83FE: mov eax, dword ptr [eax + 4] */ 5454 MEM32(ecx + 0x94) = eax; /* 0x250A8401: mov dword ptr [ecx + 0x94], eax */ 5455 ebp = POP32_VAL(esp); /* 0x250A8407: pop ebp */ 5456 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A8408: ret 4 */ 5457 RECOMP_REGS_OUT(); 5458 } 5459 5460 void sub_250A8410(void) { 5461 int _fpu_cmp = 0; 5462 uint32_t _cf = 0; 5463 int _df = 1; 5464 uint32_t _flag_k = FK_NONE; 5465 uint32_t _flag_a = 0, _flag_b = 0; 5466 uint32_t _itail_tgt = 0; 5467 RECOMP_REGS_LOCALS 5468 RECOMP_ENTER(0x250A8410u); 5469 5470 L_250A8410: 5471 PUSH32(esp, ebp); /* 0x250A8410: push ebp */ 5472 ebp = esp; /* 0x250A8411: mov ebp, esp */ 5473 PUSH32(esp, 0xFFFFFFFFu); /* 0x250A8413: push -1 */ 5474 PUSH32(esp, 0x25149FD8u); /* 0x250A8415: push 0x25149fd8 */ 5475 eax = MEM32(FS_BASE + (0)); /* 0x250A841A: mov eax, dword ptr fs:[0] */ 5476 PUSH32(esp, eax); /* 0x250A8420: push eax */ 5477 MEM32(FS_BASE + (0)) = esp; /* 0x250A8421: mov dword ptr fs:[0], esp */ 5478 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xA4u); 5479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5480 esp = esp - 0xA4u; /* 0x250A8428: sub esp, 0xa4 */ 5481 _flag_k = FK_CMP; 5482 eax = MEM32(ebp + 0xC); /* 0x250A842E: mov eax, dword ptr [ebp + 0xc] */ 5483 fp_push(*(float*)&MEM32(eax)); /* 0x250A8431: fld dword ptr [eax] */ 5484 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A8433: fmul dword ptr [0x25151924] */ 5485 _st[0] -= (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A8439: fsub dword ptr [ecx + 0x3c] */ 5486 fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250A843C: fld dword ptr [eax + 8] */ 5487 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A843F: fmul dword ptr [0x25151924] */ 5488 _st[0] -= (double)*(float*)ADDR(ecx + 0x40); /* 0x250A8445: fsub dword ptr [ecx + 0x40] */ 5489 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0xC) = _v; } /* 0x250A8448: fstp dword ptr [ebp + 0xc] */ 5490 fp_push(*(float*)&MEM32(ecx + 0x44)); /* 0x250A844B: fld dword ptr [ecx + 0x44] */ 5491 _st[0] -= (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A844E: fsub dword ptr [ecx + 0x3c] */ 5492 _st[0] = _st[1] / _st[0]; /* 0x250A8451: fdivr st(1) */ 5493 _st[0] *= (double)*(float*)ADDR(ecx + 0x34); /* 0x250A8453: fmul dword ptr [ecx + 0x34] */ 5494 _st[0] += (double)*(float*)ADDR(ecx + 0x2C); /* 0x250A8456: fadd dword ptr [ecx + 0x2c] */ 5495 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250A8459: fstp dword ptr [ebp - 0x18] */ 5496 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A845C: fstp st(0) */ 5497 fp_push(*(float*)&MEM32(ecx + 0x48)); /* 0x250A845E: fld dword ptr [ecx + 0x48] */ 5498 _st[0] -= (double)*(float*)ADDR(ecx + 0x40); /* 0x250A8461: fsub dword ptr [ecx + 0x40] */ 5499 _st[0] = (double)*(float*)ADDR(ebp + 0xC) / _st[0]; /* 0x250A8464: fdivr dword ptr [ebp + 0xc] */ 5500 _st[0] = (double)*(float*)ADDR(0x251517A4) - _st[0]; /* 0x250A8467: fsubr dword ptr [0x251517a4] */ 5501 _st[0] *= (double)*(float*)ADDR(ecx + 0x38); /* 0x250A846D: fmul dword ptr [ecx + 0x38] */ 5502 _st[0] += (double)*(float*)ADDR(ecx + 0x30); /* 0x250A8470: fadd dword ptr [ecx + 0x30] */ 5503 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250A8473: fstp dword ptr [ebp - 0x14] */ 5504 fp_push((double)(int32_t)MEM32(ebp + 0x18)); /* 0x250A8476: fild dword ptr [ebp + 0x18] */ 5505 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A8479: fstp dword ptr [ebp - 0x20] */ 5506 fp_push((double)(int32_t)MEM32(ebp + 0x1C)); /* 0x250A847C: fild dword ptr [ebp + 0x1c] */ 5507 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x1C) = _v; } /* 0x250A847F: fst dword ptr [ebp + 0x1c] */ 5508 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250A8482: fmul dword ptr [0x25151788] */ 5509 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0xC) = _v; } /* 0x250A8488: fst dword ptr [ebp + 0xc] */ 5510 _st[0] += (double)*(float*)ADDR(ebp + (-0x14)); /* 0x250A848B: fadd dword ptr [ebp - 0x14] */ 5511 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A848E: fld dword ptr [ebp - 0x20] */ 5512 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250A8491: fmul dword ptr [0x25151788] */ 5513 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x18) = _v; } /* 0x250A8497: fst dword ptr [ebp + 0x18] */ 5514 _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250A849A: fadd dword ptr [ebp - 0x18] */ 5515 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250A849D: fld dword ptr [ebp - 0x14] */ 5516 _st[0] -= (double)*(float*)ADDR(ebp + 0xC); /* 0x250A84A0: fsub dword ptr [ebp + 0xc] */ 5517 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250A84A3: fld dword ptr [ebp - 0x18] */ 5518 _st[0] -= (double)*(float*)ADDR(ebp + 0x18); /* 0x250A84A6: fsub dword ptr [ebp + 0x18] */ 5519 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x250A84A9: fstp dword ptr [ebp - 0x30] */ 5520 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250A84AC: fstp dword ptr [ebp - 0x2c] */ 5521 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A84AF: fstp dword ptr [ebp - 0x28] */ 5522 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A84B2: fstp dword ptr [ebp - 0x24] */ 5523 fp_push(*(float*)&MEM32(ecx + 0x58)); /* 0x250A84B5: fld dword ptr [ecx + 0x58] */ 5524 eax = MEM32(ecx + 0x2C); /* 0x250A84B8: mov eax, dword ptr [ecx + 0x2c] */ 5525 _st[0] += (double)*(float*)ADDR(ecx + 0x30); /* 0x250A84BB: fadd dword ptr [ecx + 0x30] */ 5526 MEM32(ebp + (-0x4)) = 0; /* 0x250A84BE: mov dword ptr [ebp - 4], 0 */ 5527 fp_push(*(float*)&MEM32(ecx + 0x34)); /* 0x250A84C5: fld dword ptr [ecx + 0x34] */ 5528 MEM32(ebp + (-0x40)) = eax; /* 0x250A84C8: mov dword ptr [ebp - 0x40], eax */ 5529 _st[0] += (double)*(float*)ADDR(ecx + 0x2C); /* 0x250A84CB: fadd dword ptr [ecx + 0x2c] */ 5530 fp_push(*(float*)&MEM32(ecx + 0x30)); /* 0x250A84CE: fld dword ptr [ecx + 0x30] */ 5531 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x250A84D1: fstp dword ptr [ebp - 0x3c] */ 5532 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x250A84D4: fstp dword ptr [ebp - 0x38] */ 5533 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x250A84D7: fstp dword ptr [ebp - 0x34] */ 5534 ecx = ebp + (-0x40); /* 0x250A84DA: lea ecx, [ebp - 0x40] */ 5535 PUSH32(esp, ecx); /* 0x250A84DD: push ecx */ 5536 edx = ebp + (-0x1C); /* 0x250A84DE: lea edx, [ebp - 0x1c] */ 5537 PUSH32(esp, edx); /* 0x250A84E1: push edx */ 5538 ecx = ebp + (-0x30); /* 0x250A84E2: lea ecx, [ebp - 0x30] */ 5539 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A84E5: mov byte ptr [ebp - 4], 1 */ 5540 RECOMP_ICALL(0x250A8650u); /* 0x250A84E9: call 0x250a8650 */ /* not lifted */ 5541 RECOMP_FLAGS_IN(); 5542 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250A84EE: fld dword ptr [ebp - 0x1c] */ 5543 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x14))); /* 0x250A84F1: fcomp dword ptr [ebp - 0x14] */ 5544 fp_pop(); 5545 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A84F4: mov byte ptr [ebp - 4], 3 */ 5546 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A84F8: fnstsw ax */ 5547 /* test HI8(eax), 0x41u */ /* 0x250A84FA: test ah, 0x41 */ 5548 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5549 _cf = 0; 5550 _flag_k = FK_NARROW(FK_TEST, 24); 5551 if (TEST_Z(_flag_a, _flag_b)) goto L_250A863C; /* 0x250A84FD: je 0x250a863c */ 5552 L_250A8503: 5553 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250A8503: fld dword ptr [ebp - 0x18] */ 5554 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x10))); /* 0x250A8506: fcomp dword ptr [ebp - 0x10] */ 5555 fp_pop(); 5556 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8509: fnstsw ax */ 5557 /* test HI8(eax), 0x41u */ /* 0x250A850B: test ah, 0x41 */ 5558 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5559 _cf = 0; 5560 _flag_k = FK_NARROW(FK_TEST, 24); 5561 if (TEST_Z(_flag_a, _flag_b)) goto L_250A863C; /* 0x250A850E: je 0x250a863c */ 5562 L_250A8514: 5563 fp_push((double)(int32_t)MEM32(ebp + 0x20)); /* 0x250A8514: fild dword ptr [ebp + 0x20] */ 5564 ecx = MEM32(ebp + (-0x18)); /* 0x250A8517: mov ecx, dword ptr [ebp - 0x18] */ 5565 edx = MEM32(ebp + (-0x14)); /* 0x250A851A: mov edx, dword ptr [ebp - 0x14] */ 5566 eax = MEM32(ebp + (-0x1C)); /* 0x250A851D: mov eax, dword ptr [ebp - 0x1c] */ 5567 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0xC) = _v; } /* 0x250A8520: fstp dword ptr [ebp + 0xc] */ 5568 MEM32(ebp + (-0xAC)) = ecx; /* 0x250A8523: mov dword ptr [ebp - 0xac], ecx */ 5569 fp_push((double)(int32_t)MEM32(ebp + 0x10)); /* 0x250A8529: fild dword ptr [ebp + 0x10] */ 5570 MEM32(ebp + (-0x94)) = edx; /* 0x250A852C: mov dword ptr [ebp - 0x94], edx */ 5571 MEM32(ebp + (-0x90)) = ecx; /* 0x250A8532: mov dword ptr [ebp - 0x90], ecx */ 5572 ecx = MEM32(ebp + (-0x10)); /* 0x250A8538: mov ecx, dword ptr [ebp - 0x10] */ 5573 _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x250A853B: fadd dword ptr [ebp - 0x1c] */ 5574 MEM32(ebp + (-0x78)) = edx; /* 0x250A853E: mov dword ptr [ebp - 0x78], edx */ 5575 MEM32(ebp + (-0x74)) = ecx; /* 0x250A8541: mov dword ptr [ebp - 0x74], ecx */ 5576 MEM32(ebp + (-0xB0)) = eax; /* 0x250A8544: mov dword ptr [ebp - 0xb0], eax */ 5577 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250A854A: fsub dword ptr [ebp - 0x30] */ 5578 eax = MEM32(ebp + 0x28); /* 0x250A854D: mov eax, dword ptr [ebp + 0x28] */ 5579 PUSH32(esp, 0); /* 0x250A8550: push 0 */ 5580 MEM32(ebp + (-0xA0)) = eax; /* 0x250A8552: mov dword ptr [ebp - 0xa0], eax */ 5581 _st[0] /= (double)*(float*)ADDR(ebp + 0xC); /* 0x250A8558: fdiv dword ptr [ebp + 0xc] */ 5582 MEM32(ebp + (-0x84)) = eax; /* 0x250A855B: mov dword ptr [ebp - 0x84], eax */ 5583 MEM32(ebp + (-0x68)) = eax; /* 0x250A8561: mov dword ptr [ebp - 0x68], eax */ 5584 MEM32(ebp + (-0x4C)) = eax; /* 0x250A8564: mov dword ptr [ebp - 0x4c], eax */ 5585 MEM32(ebp + (-0xA8)) = 0x3C23D70Au; /* 0x250A8567: mov dword ptr [ebp - 0xa8], 0x3c23d70a */ 5586 MEM32(ebp + (-0xA4)) = 0x42C80000u; /* 0x250A8571: mov dword ptr [ebp - 0xa4], 0x42c80000 */ 5587 MEM32(ebp + (-0x8C)) = 0x3C23D70Au; /* 0x250A857B: mov dword ptr [ebp - 0x8c], 0x3c23d70a */ 5588 MEM32(ebp + (-0x88)) = 0x42C80000u; /* 0x250A8585: mov dword ptr [ebp - 0x88], 0x42c80000 */ 5589 MEM32(ebp + (-0x70)) = 0x3C23D70Au; /* 0x250A858F: mov dword ptr [ebp - 0x70], 0x3c23d70a */ 5590 MEM32(ebp + (-0x6C)) = 0x42C80000u; /* 0x250A8596: mov dword ptr [ebp - 0x6c], 0x42c80000 */ 5591 MEM32(ebp + (-0x54)) = 0x3C23D70Au; /* 0x250A859D: mov dword ptr [ebp - 0x54], 0x3c23d70a */ 5592 MEM32(ebp + (-0x50)) = 0x42C80000u; /* 0x250A85A4: mov dword ptr [ebp - 0x50], 0x42c80000 */ 5593 PUSH32(esp, 4); /* 0x250A85AB: push 4 */ 5594 eax = ebp + (-0xB0); /* 0x250A85AD: lea eax, [ebp - 0xb0] */ 5595 fp_push((double)(int32_t)MEM32(ebp + 0x24)); /* 0x250A85B3: fild dword ptr [ebp + 0x24] */ 5596 fp_push((double)(int32_t)MEM32(ebp + 0x14)); /* 0x250A85B6: fild dword ptr [ebp + 0x14] */ 5597 _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250A85B9: fadd dword ptr [ebp - 0x18] */ 5598 _st[0] -= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250A85BC: fsub dword ptr [ebp - 0x2c] */ 5599 _st[0] /= _st[1]; /* 0x250A85BF: fdiv st(1) */ 5600 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250A85C1: fld dword ptr [ebp - 0x14] */ 5601 _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x250A85C4: fsub dword ptr [ebp - 0x1c] */ 5602 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A85C7: fadd dword ptr [ebp - 0x20] */ 5603 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A85CA: fld dword ptr [ebp - 0x28] */ 5604 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250A85CD: fsub dword ptr [ebp - 0x30] */ 5605 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250A85D0: fsubp st(1) */ 5606 _st[0] /= (double)*(float*)ADDR(ebp + 0xC); /* 0x250A85D2: fdiv dword ptr [ebp + 0xc] */ 5607 _st[0] += _st[3]; /* 0x250A85D5: fadd st(3) */ 5608 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x18) = _v; } /* 0x250A85D7: fst dword ptr [ebp + 0x18] */ 5609 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250A85DA: fld dword ptr [ebp - 0x10] */ 5610 edx = MEM32(ebp + 0x18); /* 0x250A85DD: mov edx, dword ptr [ebp + 0x18] */ 5611 _st[0] -= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250A85E0: fsub dword ptr [ebp - 0x18] */ 5612 MEM32(ebp + (-0x64)) = edx; /* 0x250A85E3: mov dword ptr [ebp - 0x64], edx */ 5613 edx = MEM32(ebp + (-0x1C)); /* 0x250A85E6: mov edx, dword ptr [ebp - 0x1c] */ 5614 MEM32(ebp + (-0x5C)) = edx; /* 0x250A85E9: mov dword ptr [ebp - 0x5c], edx */ 5615 _st[0] += (double)*(float*)ADDR(ebp + 0x1C); /* 0x250A85EC: fadd dword ptr [ebp + 0x1c] */ 5616 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A85EF: fld dword ptr [ebp - 0x24] */ 5617 _st[0] -= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250A85F2: fsub dword ptr [ebp - 0x2c] */ 5618 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250A85F5: fsubp st(1) */ 5619 _st[0] /= _st[3]; /* 0x250A85F7: fdiv st(3) */ 5620 _st[0] += _st[2]; /* 0x250A85F9: fadd st(2) */ 5621 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0xC) = _v; } /* 0x250A85FB: fstp dword ptr [ebp + 0xc] */ 5622 ecx = MEM32(ebp + 0xC); /* 0x250A85FE: mov ecx, dword ptr [ebp + 0xc] */ 5623 fp_push(_st[3]); /* 0x250A8601: fld st(3) */ 5624 edx = MEM32(ebp + 0xC); /* 0x250A8603: mov edx, dword ptr [ebp + 0xc] */ 5625 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x250A8606: fstp dword ptr [ebp - 0x9c] */ 5626 fp_push(_st[1]); /* 0x250A860C: fld st(1) */ 5627 MEM32(ebp + (-0x60)) = ecx; /* 0x250A860E: mov dword ptr [ebp - 0x60], ecx */ 5628 ecx = MEM32(ebp + (-0x10)); /* 0x250A8611: mov ecx, dword ptr [ebp - 0x10] */ 5629 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x98)) = _v; } /* 0x250A8614: fstp dword ptr [ebp - 0x98] */ 5630 MEM32(ebp + (-0x58)) = ecx; /* 0x250A861A: mov dword ptr [ebp - 0x58], ecx */ 5631 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x250A861D: fstp dword ptr [ebp - 0x80] */ 5632 MEM32(ebp + (-0x44)) = edx; /* 0x250A8620: mov dword ptr [ebp - 0x44], edx */ 5633 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250A8623: fstp dword ptr [ebp - 0x7c] */ 5634 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8626: fstp st(0) */ 5635 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x250A8628: fstp dword ptr [ebp - 0x48] */ 5636 ecx = MEM32(0x25238B58); /* 0x250A862B: mov ecx, dword ptr [0x25238b58] */ 5637 PUSH32(esp, eax); /* 0x250A8631: push eax */ 5638 PUSH32(esp, 0x144u); /* 0x250A8632: push 0x144 */ 5639 RECOMP_ICALL(0x250E85D0u); /* 0x250A8637: call 0x250e85d0 */ /* not lifted */ 5640 RECOMP_FLAGS_IN(); 5641 L_250A863C: 5642 ecx = MEM32(ebp + (-0xC)); /* 0x250A863C: mov ecx, dword ptr [ebp - 0xc] */ 5643 MEM32(FS_BASE + (0)) = ecx; /* 0x250A863F: mov dword ptr fs:[0], ecx */ 5644 esp = ebp; /* 0x250A8646: mov esp, ebp */ 5645 ebp = POP32_VAL(esp); /* 0x250A8648: pop ebp */ 5646 RECOMP_FLAGS_OUT(); esp += 40; { RECOMP_REGS_OUT(); return; } /* 0x250A8649: ret 0x24 */ 5647 RECOMP_REGS_OUT(); 5648 } 5649 5650 void sub_250A8650(void) { 5651 int _fpu_cmp = 0; 5652 uint32_t _cf = 0; 5653 int _df = 1; 5654 uint32_t _flag_k = FK_NONE; 5655 uint32_t _flag_a = 0, _flag_b = 0; 5656 uint32_t _itail_tgt = 0; 5657 RECOMP_REGS_LOCALS 5658 RECOMP_ENTER(0x250A8650u); 5659 5660 L_250A8650: 5661 PUSH32(esp, ebp); /* 0x250A8650: push ebp */ 5662 ebp = esp; /* 0x250A8651: mov ebp, esp */ 5663 PUSH32(esp, ecx); /* 0x250A8653: push ecx */ 5664 fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x250A8654: fld dword ptr [ecx + 0xc] */ 5665 PUSH32(esp, ebx); /* 0x250A8657: push ebx */ 5666 PUSH32(esp, esi); /* 0x250A8658: push esi */ 5667 PUSH32(esp, edi); /* 0x250A8659: push edi */ 5668 edi = MEM32(ebp + 0xC); /* 0x250A865A: mov edi, dword ptr [ebp + 0xc] */ 5669 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edi + 0xC)); /* 0x250A865D: fcomp dword ptr [edi + 0xc] */ 5670 fp_pop(); 5671 esi = ecx + 0xC; /* 0x250A8660: lea esi, [ecx + 0xc] */ 5672 edx = edi + 0xC; /* 0x250A8663: lea edx, [edi + 0xc] */ 5673 MEM32(ebp + (-0x4)) = 0; /* 0x250A8666: mov dword ptr [ebp - 4], 0 */ 5674 MEM32(ebp + 0xC) = esi; /* 0x250A866D: mov dword ptr [ebp + 0xc], esi */ 5675 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8670: fnstsw ax */ 5676 /* test HI8(eax), 1 */ /* 0x250A8672: test ah, 1 */ 5677 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5678 _cf = 0; 5679 _flag_k = FK_NARROW(FK_TEST, 24); 5680 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A867A; /* 0x250A8675: jne 0x250a867a */ 5681 L_250A8677: 5682 MEM32(ebp + 0xC) = edx; /* 0x250A8677: mov dword ptr [ebp + 0xc], edx */ 5683 L_250A867A: 5684 fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250A867A: fld dword ptr [ecx + 8] */ 5685 edx = ecx + 0x8; /* 0x250A867D: lea edx, [ecx + 8] */ 5686 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edi + 0x8)); /* 0x250A8680: fcomp dword ptr [edi + 8] */ 5687 fp_pop(); 5688 esi = edi + 0x8; /* 0x250A8683: lea esi, [edi + 8] */ 5689 ebx = edx; /* 0x250A8686: mov ebx, edx */ 5690 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8688: fnstsw ax */ 5691 /* test HI8(eax), 1 */ /* 0x250A868A: test ah, 1 */ 5692 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5693 _cf = 0; 5694 _flag_k = FK_NARROW(FK_TEST, 24); 5695 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A8691; /* 0x250A868D: jne 0x250a8691 */ 5696 L_250A868F: 5697 ebx = esi; /* 0x250A868F: mov ebx, esi */ 5698 L_250A8691: 5699 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8691: fld dword ptr [ecx + 4] */ 5700 edx = ecx + 0x4; /* 0x250A8694: lea edx, [ecx + 4] */ 5701 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edi + 0x4)); /* 0x250A8697: fcomp dword ptr [edi + 4] */ 5702 fp_pop(); 5703 esi = edi + 0x4; /* 0x250A869A: lea esi, [edi + 4] */ 5704 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A869D: fnstsw ax */ 5705 /* test HI8(eax), 0x41u */ /* 0x250A869F: test ah, 0x41 */ 5706 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5707 _cf = 0; 5708 _flag_k = FK_NARROW(FK_TEST, 24); 5709 if (TEST_Z(_flag_a, _flag_b)) goto L_250A86A6; /* 0x250A86A2: je 0x250a86a6 */ 5710 L_250A86A4: 5711 edx = esi; /* 0x250A86A4: mov edx, esi */ 5712 L_250A86A6: 5713 fp_push(*(float*)&MEM32(ecx)); /* 0x250A86A6: fld dword ptr [ecx] */ 5714 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edi)); /* 0x250A86A8: fcomp dword ptr [edi] */ 5715 fp_pop(); 5716 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A86AA: fnstsw ax */ 5717 /* test HI8(eax), 0x41u */ /* 0x250A86AC: test ah, 0x41 */ 5718 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5719 _cf = 0; 5720 _flag_k = FK_NARROW(FK_TEST, 24); 5721 if (TEST_Z(_flag_a, _flag_b)) goto L_250A86B3; /* 0x250A86AF: je 0x250a86b3 */ 5722 L_250A86B1: 5723 ecx = edi; /* 0x250A86B1: mov ecx, edi */ 5724 L_250A86B3: 5725 eax = MEM32(ebp + 0xC); /* 0x250A86B3: mov eax, dword ptr [ebp + 0xc] */ 5726 fp_push(*(float*)&MEM32(eax)); /* 0x250A86B6: fld dword ptr [eax] */ 5727 eax = MEM32(ebp + 0x8); /* 0x250A86B8: mov eax, dword ptr [ebp + 8] */ 5728 fp_push(*(float*)&MEM32(ebx)); /* 0x250A86BB: fld dword ptr [ebx] */ 5729 edi = POP32_VAL(esp); /* 0x250A86BD: pop edi */ 5730 fp_push(*(float*)&MEM32(edx)); /* 0x250A86BE: fld dword ptr [edx] */ 5731 esi = POP32_VAL(esp); /* 0x250A86C0: pop esi */ 5732 fp_push(*(float*)&MEM32(ecx)); /* 0x250A86C1: fld dword ptr [ecx] */ 5733 ebx = POP32_VAL(esp); /* 0x250A86C3: pop ebx */ 5734 { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x250A86C4: fstp dword ptr [eax] */ 5735 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x4) = _v; } /* 0x250A86C6: fstp dword ptr [eax + 4] */ 5736 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x8) = _v; } /* 0x250A86C9: fstp dword ptr [eax + 8] */ 5737 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0xC) = _v; } /* 0x250A86CC: fstp dword ptr [eax + 0xc] */ 5738 esp = ebp; /* 0x250A86CF: mov esp, ebp */ 5739 ebp = POP32_VAL(esp); /* 0x250A86D1: pop ebp */ 5740 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A86D2: ret 8 */ 5741 RECOMP_REGS_OUT(); 5742 } 5743 5744 void sub_250A86E0(void) { 5745 int _fpu_cmp = 0; 5746 uint32_t _cf = 0; 5747 int _df = 1; 5748 uint32_t _flag_k = FK_NONE; 5749 uint32_t _flag_a = 0, _flag_b = 0; 5750 uint32_t _itail_tgt = 0; 5751 RECOMP_REGS_LOCALS 5752 RECOMP_ENTER(0x250A86E0u); 5753 5754 L_250A86E0: 5755 PUSH32(esp, ebp); /* 0x250A86E0: push ebp */ 5756 ebp = esp; /* 0x250A86E1: mov ebp, esp */ 5757 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xB4u); 5758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5759 esp = esp - 0xB4u; /* 0x250A86E3: sub esp, 0xb4 */ 5760 _flag_k = FK_CMP; 5761 eax = MEM32(ebp + 0xC); /* 0x250A86E9: mov eax, dword ptr [ebp + 0xc] */ 5762 fp_push(*(float*)&MEM32(eax)); /* 0x250A86EC: fld dword ptr [eax] */ 5763 edx = MEM32(ebp + 0x10); /* 0x250A86EE: mov edx, dword ptr [ebp + 0x10] */ 5764 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A86F1: fmul dword ptr [0x25151924] */ 5765 MEM32(ebp + (-0xAC)) = 0x3C23D70Au; /* 0x250A86F7: mov dword ptr [ebp - 0xac], 0x3c23d70a */ 5766 MEM32(ebp + (-0xA8)) = 0x42C80000u; /* 0x250A8701: mov dword ptr [ebp - 0xa8], 0x42c80000 */ 5767 MEM32(ebp + (-0xA4)) = edx; /* 0x250A870B: mov dword ptr [ebp - 0xa4], edx */ 5768 _st[0] -= (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A8711: fsub dword ptr [ecx + 0x3c] */ 5769 fp_push(*(float*)&MEM32(ecx + 0x44)); /* 0x250A8714: fld dword ptr [ecx + 0x44] */ 5770 _st[0] -= (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A8717: fsub dword ptr [ecx + 0x3c] */ 5771 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250A871A: fdivp st(1) */ 5772 _st[0] *= (double)*(float*)ADDR(ecx + 0x34); /* 0x250A871C: fmul dword ptr [ecx + 0x34] */ 5773 _st[0] += (double)*(float*)ADDR(ecx + 0x2C); /* 0x250A871F: fadd dword ptr [ecx + 0x2c] */ 5774 fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250A8722: fld dword ptr [eax + 8] */ 5775 eax = ebp + (-0x9C); /* 0x250A8725: lea eax, [ebp - 0x9c] */ 5776 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A872B: fmul dword ptr [0x25151924] */ 5777 _st[0] -= (double)*(float*)ADDR(ecx + 0x40); /* 0x250A8731: fsub dword ptr [ecx + 0x40] */ 5778 fp_push(*(float*)&MEM32(ecx + 0x48)); /* 0x250A8734: fld dword ptr [ecx + 0x48] */ 5779 _st[0] -= (double)*(float*)ADDR(ecx + 0x40); /* 0x250A8737: fsub dword ptr [ecx + 0x40] */ 5780 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250A873A: fdivp st(1) */ 5781 _st[0] = (double)*(float*)ADDR(0x251517A4) - _st[0]; /* 0x250A873C: fsubr dword ptr [0x251517a4] */ 5782 _st[0] *= (double)*(float*)ADDR(ecx + 0x38); /* 0x250A8742: fmul dword ptr [ecx + 0x38] */ 5783 _st[0] += (double)*(float*)ADDR(ecx + 0x30); /* 0x250A8745: fadd dword ptr [ecx + 0x30] */ 5784 fp_push(*(float*)&MEM32(ebp + 0x14)); /* 0x250A8748: fld dword ptr [ebp + 0x14] */ 5785 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A874B: fmul dword ptr [0x25151924] */ 5786 fp_push(*(float*)&MEM32(ecx + 0x44)); /* 0x250A8751: fld dword ptr [ecx + 0x44] */ 5787 _st[0] -= (double)*(float*)ADDR(ecx + 0x3C); /* 0x250A8754: fsub dword ptr [ecx + 0x3c] */ 5788 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250A8757: fdivp st(1) */ 5789 _st[0] *= (double)*(float*)ADDR(ecx + 0x34); /* 0x250A8759: fmul dword ptr [ecx + 0x34] */ 5790 fp_push(_st[2]); /* 0x250A875C: fld st(2) */ 5791 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x250A875E: fstp dword ptr [ebp - 0xb4] */ 5792 ecx = 8; /* 0x250A8764: mov ecx, 8 */ 5793 fp_push(_st[1]); /* 0x250A8769: fld st(1) */ 5794 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x250A876B: fstp dword ptr [ebp - 0xb0] */ 5795 fp_push(*(float*)&MEM32(ebp + 0x18)); /* 0x250A8771: fld dword ptr [ebp + 0x18] */ 5796 _st[0] *= (double)*(float*)ADDR(0x25151A9C); /* 0x250A8774: fmul dword ptr [0x25151a9c] */ 5797 _st[0] -= (double)*(float*)ADDR(ebp + 0x1C); /* 0x250A877A: fsub dword ptr [ebp + 0x1c] */ 5798 fp_push(*(float*)&MEM32(ebp + 0x1C)); /* 0x250A877D: fld dword ptr [ebp + 0x1c] */ 5799 _st[0] *= (double)*(float*)ADDR(0x251563FC); /* 0x250A8780: fmul dword ptr [0x251563fc] */ 5800 L_250A8786: 5801 fp_push(_st[1]); /* 0x250A8786: fld st(1) */ 5802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 5803 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5804 eax = eax + 0x14u; /* 0x250A8788: add eax, 0x14 */ 5805 _flag_k = FK_ADD; 5806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5807 ecx = ecx - 1; /* 0x250A878B: dec ecx */ 5808 _flag_k = FK_DEC; 5809 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A878C: fsin */ 5810 _st[0] *= _st[3]; /* 0x250A878E: fmul st(3) */ 5811 _st[0] += _st[5]; /* 0x250A8790: fadd st(5) */ 5812 { float _v = (float)fp_pop(); *(float*)ADDR(eax + (-0x18)) = _v; } /* 0x250A8792: fstp dword ptr [eax - 0x18] */ 5813 fp_push(_st[1]); /* 0x250A8795: fld st(1) */ 5814 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A8797: fcos */ 5815 _st[0] *= _st[3]; /* 0x250A8799: fmul st(3) */ 5816 _st[0] = _st[4] - _st[0]; /* 0x250A879B: fsubr st(4) */ 5817 { float _v = (float)fp_pop(); *(float*)ADDR(eax + (-0x14)) = _v; } /* 0x250A879D: fstp dword ptr [eax - 0x14] */ 5818 MEM32(eax + (-0x10)) = 0x3C23D70Au; /* 0x250A87A0: mov dword ptr [eax - 0x10], 0x3c23d70a */ 5819 MEM32(eax + (-0xC)) = 0x42C80000u; /* 0x250A87A7: mov dword ptr [eax - 0xc], 0x42c80000 */ 5820 MEM32(eax + (-0x8)) = edx; /* 0x250A87AE: mov dword ptr [eax - 8], edx */ 5821 fp_push(_st[0]); /* 0x250A87B1: fld st(0) */ 5822 { double _v = fp_pop(); _st[1] += _v; } /* 0x250A87B3: faddp st(2) */ 5823 RECOMP_BACKEDGE(); 5824 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A8786; /* 0x250A87B5: jne 0x250a8786 */ 5825 L_250A87B7: 5826 ecx = MEM32(0x25238B58); /* 0x250A87B7: mov ecx, dword ptr [0x25238b58] */ 5827 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A87BD: fstp st(0) */ 5828 PUSH32(esp, 0); /* 0x250A87BF: push 0 */ 5829 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A87C1: fstp st(0) */ 5830 PUSH32(esp, 9); /* 0x250A87C3: push 9 */ 5831 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A87C5: fstp st(0) */ 5832 eax = ebp + (-0xB4); /* 0x250A87C7: lea eax, [ebp - 0xb4] */ 5833 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A87CD: fstp st(0) */ 5834 PUSH32(esp, eax); /* 0x250A87CF: push eax */ 5835 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A87D0: fstp st(0) */ 5836 PUSH32(esp, 0x44u); /* 0x250A87D2: push 0x44 */ 5837 RECOMP_ICALL(0x250E85D0u); /* 0x250A87D4: call 0x250e85d0 */ /* not lifted */ 5838 RECOMP_FLAGS_IN(); 5839 esp = ebp; /* 0x250A87D9: mov esp, ebp */ 5840 ebp = POP32_VAL(esp); /* 0x250A87DB: pop ebp */ 5841 RECOMP_FLAGS_OUT(); esp += 28; { RECOMP_REGS_OUT(); return; } /* 0x250A87DC: ret 0x18 */ 5842 RECOMP_REGS_OUT(); 5843 } 5844 5845 void sub_250A87E0(void) { 5846 int _fpu_cmp = 0; 5847 uint32_t _cf = 0; 5848 int _df = 1; 5849 uint32_t _flag_k = FK_NONE; 5850 uint32_t _flag_a = 0, _flag_b = 0; 5851 uint32_t _itail_tgt = 0; 5852 RECOMP_REGS_LOCALS 5853 RECOMP_ENTER(0x250A87E0u); 5854 5855 L_250A87E0: 5856 PUSH32(esp, ebp); /* 0x250A87E0: push ebp */ 5857 ebp = esp; /* 0x250A87E1: mov ebp, esp */ 5858 PUSH32(esp, esi); /* 0x250A87E3: push esi */ 5859 esi = MEM32(ebp + 0x10); /* 0x250A87E4: mov esi, dword ptr [ebp + 0x10] */ 5860 PUSH32(esp, 0x00FFFFFFu); /* 0x250A87E7: push 0xffffff */ 5861 eax = esi; /* 0x250A87EC: mov eax, esi */ 5862 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A87EE: cdq */ 5863 PUSH32(esp, 0x20u); /* 0x250A87EF: push 0x20 */ 5864 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 5865 edx = edx & 3; /* 0x250A87F1: and edx, 3 */ 5866 _cf = 0; 5867 _flag_k = FK_TEST; 5868 PUSH32(esp, 0x20u); /* 0x250A87F4: push 0x20 */ 5869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5870 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5871 eax = eax + edx; /* 0x250A87F6: add eax, edx */ 5872 _flag_k = FK_ADD; 5873 PUSH32(esp, 8); /* 0x250A87F8: push 8 */ 5874 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A87FA: sar eax, 2 */ 5875 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5876 eax = (uint32_t)((int32_t)eax >> 2u); 5877 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x250A87FD: shl eax, 3 */ 5878 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5879 eax = eax << 3u; /* 0x250A87FD: shl eax, 3 */ 5880 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x80000003u); 5881 esi = esi & 0x80000003u; /* 0x250A8800: and esi, 0x80000003 */ 5882 _cf = 0; 5883 _flag_k = FK_TEST; 5884 PUSH32(esp, 8); /* 0x250A8806: push 8 */ 5885 PUSH32(esp, eax); /* 0x250A8808: push eax */ 5886 if (TEST_NS(_flag_a, _flag_b)) goto L_250A8810; /* 0x250A8809: jns 0x250a8810 */ 5887 L_250A880B: 5888 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 5889 esi = esi - 1; /* 0x250A880B: dec esi */ 5890 _flag_k = FK_DEC; 5891 _flag_a = (uint32_t)((esi | 0xFFFFFFFCu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFCu)); 5892 esi = esi | 0xFFFFFFFCu; /* 0x250A880C: or esi, 0xfffffffc */ 5893 _cf = 0; 5894 _flag_k = FK_TEST; 5895 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 5896 esi = esi + 1; /* 0x250A880F: inc esi */ 5897 _flag_k = FK_INC; 5898 L_250A8810: 5899 eax = MEM32(ebp + 0xC); /* 0x250A8810: mov eax, dword ptr [ebp + 0xc] */ 5900 edx = MEM32(ebp + 0x8); /* 0x250A8813: mov edx, dword ptr [ebp + 8] */ 5901 if (3u) _cf = (((esi) >> 29) & 1u); /* 0x250A8816: shl esi, 3 */ 5902 if (3u) { _flag_a = recomp_flags_pack((esi << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5903 esi = esi << 3u; /* 0x250A8816: shl esi, 3 */ 5904 PUSH32(esp, esi); /* 0x250A8819: push esi */ 5905 PUSH32(esp, eax); /* 0x250A881A: push eax */ 5906 PUSH32(esp, edx); /* 0x250A881B: push edx */ 5907 RECOMP_ICALL(0x250A8410u); /* 0x250A881C: call 0x250a8410 */ /* not lifted */ 5908 RECOMP_FLAGS_IN(); 5909 esi = POP32_VAL(esp); /* 0x250A8821: pop esi */ 5910 ebp = POP32_VAL(esp); /* 0x250A8822: pop ebp */ 5911 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250A8823: ret 0xc */ 5912 RECOMP_REGS_OUT(); 5913 } 5914 5915 void sub_250A8830(void) { 5916 int _fpu_cmp = 0; 5917 uint32_t _cf = 0; 5918 int _df = 1; 5919 uint32_t _flag_k = FK_NONE; 5920 uint32_t _flag_a = 0, _flag_b = 0; 5921 uint32_t _itail_tgt = 0; 5922 RECOMP_REGS_LOCALS 5923 RECOMP_ENTER(0x250A8830u); 5924 5925 L_250A8830: 5926 PUSH32(esp, ebp); /* 0x250A8830: push ebp */ 5927 ebp = esp; /* 0x250A8831: mov ebp, esp */ 5928 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x70u); 5929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5930 esp = esp - 0x70u; /* 0x250A8833: sub esp, 0x70 */ 5931 _flag_k = FK_CMP; 5932 PUSH32(esp, esi); /* 0x250A8836: push esi */ 5933 esi = ecx; /* 0x250A8837: mov esi, ecx */ 5934 SET_LO8(eax, MEM8(esi + 0xDE)); /* 0x250A8839: mov al, byte ptr [esi + 0xde] */ 5935 /* test LO8(eax), LO8(eax) */ /* 0x250A883F: test al, al */ 5936 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5937 _cf = 0; 5938 _flag_k = FK_NARROW(FK_TEST, 24); 5939 PUSH32(esp, edi); /* 0x250A8841: push edi */ 5940 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A8894; /* 0x250A8842: jne 0x250a8894 */ 5941 L_250A8844: 5942 eax = MEM32(esi + 0x6C); /* 0x250A8844: mov eax, dword ptr [esi + 0x6c] */ 5943 /* test eax, eax */ /* 0x250A8847: test eax, eax */ 5944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5945 _cf = 0; 5946 _flag_k = FK_TEST; 5947 PUSH32(esp, 0xAu); /* 0x250A8849: push 0xa */ 5948 PUSH32(esp, 0); /* 0x250A884B: push 0 */ 5949 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8855; /* 0x250A884D: je 0x250a8855 */ 5950 L_250A884F: 5951 eax = MEM32(eax + 0x28); /* 0x250A884F: mov eax, dword ptr [eax + 0x28] */ 5952 PUSH32(esp, eax); /* 0x250A8852: push eax */ 5953 goto L_250A8857; /* 0x250A8853: jmp 0x250a8857 */ 5954 L_250A8855: 5955 PUSH32(esp, 0); /* 0x250A8855: push 0 */ 5956 L_250A8857: 5957 edi = MEM32(ebp + 0x8); /* 0x250A8857: mov edi, dword ptr [ebp + 8] */ 5958 ecx = MEM32(edi + 0x8); /* 0x250A885A: mov ecx, dword ptr [edi + 8] */ 5959 RECOMP_ICALL(0x250EFF90u); /* 0x250A885D: call 0x250eff90 */ /* not lifted */ 5960 RECOMP_FLAGS_IN(); 5961 ecx = edi; /* 0x250A8862: mov ecx, edi */ 5962 RECOMP_ICALL(0x250E05D0u); /* 0x250A8864: call 0x250e05d0 */ /* not lifted */ 5963 RECOMP_FLAGS_IN(); 5964 eax = MEM32(ebp + 0xC); /* 0x250A8869: mov eax, dword ptr [ebp + 0xc] */ 5965 fp_push(*(float*)&MEM32(eax)); /* 0x250A886C: fld dword ptr [eax] */ 5966 PUSH32(esp, 0xAu); /* 0x250A886E: push 0xa */ 5967 ecx = ebp + (-0x10); /* 0x250A8870: lea ecx, [ebp - 0x10] */ 5968 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250A8873: fstp dword ptr [ebp - 0x10] */ 5969 fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250A8876: fld dword ptr [eax + 8] */ 5970 PUSH32(esp, ecx); /* 0x250A8879: push ecx */ 5971 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250A887A: fstp dword ptr [ebp - 8] */ 5972 PUSH32(esp, edi); /* 0x250A887D: push edi */ 5973 ecx = esi; /* 0x250A887E: mov ecx, esi */ 5974 MEM32(ebp + (-0xC)) = 0; /* 0x250A8880: mov dword ptr [ebp - 0xc], 0 */ 5975 RECOMP_ICALL(0x250A87E0u); /* 0x250A8887: call 0x250a87e0 */ /* not lifted */ 5976 RECOMP_FLAGS_IN(); 5977 edi = POP32_VAL(esp); /* 0x250A888C: pop edi */ 5978 esi = POP32_VAL(esp); /* 0x250A888D: pop esi */ 5979 esp = ebp; /* 0x250A888E: mov esp, ebp */ 5980 ebp = POP32_VAL(esp); /* 0x250A8890: pop ebp */ 5981 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250A8891: ret 0x10 */ 5982 L_250A8894: 5983 eax = MEM32(ebp + 0xC); /* 0x250A8894: mov eax, dword ptr [ebp + 0xc] */ 5984 fp_push(*(float*)&MEM32(eax)); /* 0x250A8897: fld dword ptr [eax] */ 5985 MEM32(ebp + (-0x68)) = 0x3C23D70Au; /* 0x250A8899: mov dword ptr [ebp - 0x68], 0x3c23d70a */ 5986 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A88A0: fmul dword ptr [0x25151924] */ 5987 MEM32(ebp + (-0x64)) = 0x42C80000u; /* 0x250A88A6: mov dword ptr [ebp - 0x64], 0x42c80000 */ 5988 MEM32(ebp + (-0x60)) = 0; /* 0x250A88AD: mov dword ptr [ebp - 0x60], 0 */ 5989 MEM32(ebp + (-0x5C)) = 0; /* 0x250A88B4: mov dword ptr [ebp - 0x5c], 0 */ 5990 _st[0] -= (double)*(float*)ADDR(esi + 0x3C); /* 0x250A88BB: fsub dword ptr [esi + 0x3c] */ 5991 MEM32(ebp + (-0x50)) = 0x3C23D70Au; /* 0x250A88BE: mov dword ptr [ebp - 0x50], 0x3c23d70a */ 5992 fp_push(*(float*)&MEM32(esi + 0x44)); /* 0x250A88C5: fld dword ptr [esi + 0x44] */ 5993 MEM32(ebp + (-0x4C)) = 0x42C80000u; /* 0x250A88C8: mov dword ptr [ebp - 0x4c], 0x42c80000 */ 5994 _st[0] -= (double)*(float*)ADDR(esi + 0x3C); /* 0x250A88CF: fsub dword ptr [esi + 0x3c] */ 5995 MEM32(ebp + (-0x48)) = 0x3F800000u; /* 0x250A88D2: mov dword ptr [ebp - 0x48], 0x3f800000 */ 5996 MEM32(ebp + (-0x44)) = 0; /* 0x250A88D9: mov dword ptr [ebp - 0x44], 0 */ 5997 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250A88E0: fdivp st(1) */ 5998 MEM32(ebp + (-0x38)) = 0x3C23D70Au; /* 0x250A88E2: mov dword ptr [ebp - 0x38], 0x3c23d70a */ 5999 MEM32(ebp + (-0x34)) = 0x42C80000u; /* 0x250A88E9: mov dword ptr [ebp - 0x34], 0x42c80000 */ 6000 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x250A88F0: mov dword ptr [ebp - 0x30], 0x3f800000 */ 6001 _st[0] *= (double)*(float*)ADDR(esi + 0x34); /* 0x250A88F7: fmul dword ptr [esi + 0x34] */ 6002 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250A88FA: fadd dword ptr [esi + 0x2c] */ 6003 fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250A88FD: fld dword ptr [eax + 8] */ 6004 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A8900: fmul dword ptr [0x25151924] */ 6005 _st[0] -= (double)*(float*)ADDR(esi + 0x40); /* 0x250A8906: fsub dword ptr [esi + 0x40] */ 6006 fp_push(*(float*)&MEM32(esi + 0x48)); /* 0x250A8909: fld dword ptr [esi + 0x48] */ 6007 _st[0] -= (double)*(float*)ADDR(esi + 0x40); /* 0x250A890C: fsub dword ptr [esi + 0x40] */ 6008 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250A890F: fdivp st(1) */ 6009 _st[0] = (double)*(float*)ADDR(0x251517A4) - _st[0]; /* 0x250A8911: fsubr dword ptr [0x251517a4] */ 6010 _st[0] *= (double)*(float*)ADDR(esi + 0x38); /* 0x250A8917: fmul dword ptr [esi + 0x38] */ 6011 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250A891A: fadd dword ptr [esi + 0x30] */ 6012 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250A891D: fstp dword ptr [ebp - 0xc] */ 6013 fp_push(*(float*)&MEM32(ebp + 0x10)); /* 0x250A8920: fld dword ptr [ebp + 0x10] */ 6014 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A8923: fmul qword ptr [0x25151790] */ 6015 fp_push(_st[0]); /* 0x250A8929: fld st(0) */ 6016 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A892B: fsin */ 6017 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250A892D: fstp dword ptr [ebp - 4] */ 6018 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A8930: fcos */ 6019 fp_push(_st[0]); /* 0x250A8932: fld st(0) */ 6020 _st[0] *= (double)*(float*)ADDR(0x25156400); /* 0x250A8934: fmul dword ptr [0x25156400] */ 6021 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A893A: fstp dword ptr [ebp + 8] */ 6022 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250A893D: fld dword ptr [ebp - 4] */ 6023 _st[0] *= (double)*(float*)ADDR(0x25156400); /* 0x250A8940: fmul dword ptr [0x25156400] */ 6024 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x250A8946: fstp dword ptr [ebp + 0x10] */ 6025 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A8949: fld dword ptr [ebp + 8] */ 6026 _st[0] -= (double)*(float*)ADDR(ebp + 0x10); /* 0x250A894C: fsub dword ptr [ebp + 0x10] */ 6027 _st[0] += _st[2]; /* 0x250A894F: fadd st(2) */ 6028 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250A8951: fstp dword ptr [ebp - 0x70] */ 6029 fp_push(*(float*)&MEM32(ebp + 0x10)); /* 0x250A8954: fld dword ptr [ebp + 0x10] */ 6030 _st[0] += (double)*(float*)ADDR(ebp + 0x8); /* 0x250A8957: fadd dword ptr [ebp + 8] */ 6031 _st[0] += (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250A895A: fadd dword ptr [ebp - 0xc] */ 6032 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x250A895D: fstp dword ptr [ebp - 0x6c] */ 6033 _st[0] *= (double)*(float*)ADDR(0x25151FD8); /* 0x250A8960: fmul dword ptr [0x25151fd8] */ 6034 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0xC) = _v; } /* 0x250A8966: fst dword ptr [ebp + 0xc] */ 6035 _st[0] -= (double)*(float*)ADDR(ebp + 0x10); /* 0x250A8969: fsub dword ptr [ebp + 0x10] */ 6036 _st[0] += _st[1]; /* 0x250A896C: fadd st(1) */ 6037 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250A896E: fstp dword ptr [ebp - 0x58] */ 6038 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250A8971: fld dword ptr [ebp - 4] */ 6039 _st[0] *= (double)*(float*)ADDR(0x25151FD8); /* 0x250A8974: fmul dword ptr [0x25151fd8] */ 6040 fp_push(_st[0]); /* 0x250A897A: fld st(0) */ 6041 _st[0] += (double)*(float*)ADDR(ebp + 0x8); /* 0x250A897C: fadd dword ptr [ebp + 8] */ 6042 _st[0] += (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250A897F: fadd dword ptr [ebp - 0xc] */ 6043 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250A8982: fstp dword ptr [ebp - 0x54] */ 6044 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x250A8985: fld dword ptr [ebp + 0xc] */ 6045 _st[0] -= _st[1]; /* 0x250A8988: fsub st(1) */ 6046 _st[0] += _st[2]; /* 0x250A898A: fadd st(2) */ 6047 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x250A898C: fstp dword ptr [ebp - 0x40] */ 6048 fp_push(_st[0]); /* 0x250A898F: fld st(0) */ 6049 _st[0] += (double)*(float*)ADDR(ebp + 0xC); /* 0x250A8991: fadd dword ptr [ebp + 0xc] */ 6050 _st[0] += (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250A8994: fadd dword ptr [ebp - 0xc] */ 6051 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x250A8997: fstp dword ptr [ebp - 0x3c] */ 6052 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A899A: fld dword ptr [ebp + 8] */ 6053 eax = MEM32(ebp + 0x14); /* 0x250A899D: mov eax, dword ptr [ebp + 0x14] */ 6054 _st[0] -= _st[1]; /* 0x250A89A0: fsub st(1) */ 6055 edx = eax; /* 0x250A89A2: mov edx, eax */ 6056 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x80000003u); 6057 edx = edx & 0x80000003u; /* 0x250A89A4: and edx, 0x80000003 */ 6058 _cf = 0; 6059 _flag_k = FK_TEST; 6060 MEM32(ebp + (-0x2C)) = 0x3F800000u; /* 0x250A89AA: mov dword ptr [ebp - 0x2c], 0x3f800000 */ 6061 _st[0] += _st[2]; /* 0x250A89B1: fadd st(2) */ 6062 MEM32(ebp + (-0x20)) = 0x3C23D70Au; /* 0x250A89B3: mov dword ptr [ebp - 0x20], 0x3c23d70a */ 6063 MEM32(ebp + (-0x1C)) = 0x42C80000u; /* 0x250A89BA: mov dword ptr [ebp - 0x1c], 0x42c80000 */ 6064 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A89C1: fstp dword ptr [ebp - 0x28] */ 6065 MEM32(ebp + (-0x18)) = 0; /* 0x250A89C4: mov dword ptr [ebp - 0x18], 0 */ 6066 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x250A89CB: mov dword ptr [ebp - 0x14], 0x3f800000 */ 6067 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A89D2: fstp st(0) */ 6068 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A89D4: fstp st(0) */ 6069 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x250A89D6: fld dword ptr [ebp + 0xc] */ 6070 _st[0] += (double)*(float*)ADDR(ebp + 0x10); /* 0x250A89D9: fadd dword ptr [ebp + 0x10] */ 6071 _st[0] += (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250A89DC: fadd dword ptr [ebp - 0xc] */ 6072 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A89DF: fstp dword ptr [ebp - 0x24] */ 6073 if (TEST_NS(_flag_a, _flag_b)) goto L_250A89E9; /* 0x250A89E2: jns 0x250a89e9 */ 6074 L_250A89E4: 6075 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6076 edx = edx - 1; /* 0x250A89E4: dec edx */ 6077 _flag_k = FK_DEC; 6078 _flag_a = (uint32_t)((edx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((edx | 0xFFFFFFFCu)); 6079 edx = edx | 0xFFFFFFFCu; /* 0x250A89E5: or edx, 0xfffffffc */ 6080 _cf = 0; 6081 _flag_k = FK_TEST; 6082 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6083 edx = edx + 1; /* 0x250A89E8: inc edx */ 6084 _flag_k = FK_INC; 6085 L_250A89E9: 6086 MEM32(ebp + 0x8) = edx; /* 0x250A89E9: mov dword ptr [ebp + 8], edx */ 6087 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x250A89EC: fild dword ptr [ebp + 8] */ 6088 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A89EF: cdq */ 6089 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 6090 edx = edx & 3; /* 0x250A89F0: and edx, 3 */ 6091 _cf = 0; 6092 _flag_k = FK_TEST; 6093 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6094 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6095 eax = eax + edx; /* 0x250A89F3: add eax, edx */ 6096 _flag_k = FK_ADD; 6097 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A89F5: fmul dword ptr [0x25151924] */ 6098 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A89FB: sar eax, 2 */ 6099 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6100 eax = (uint32_t)((int32_t)eax >> 2u); 6101 MEM32(ebp + 0xC) = eax; /* 0x250A89FE: mov dword ptr [ebp + 0xc], eax */ 6102 eax = ebp + (-0x5C); /* 0x250A8A01: lea eax, [ebp - 0x5c] */ 6103 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x250A8A04: fild dword ptr [ebp + 0xc] */ 6104 ecx = 4; /* 0x250A8A07: mov ecx, 4 */ 6105 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A8A0C: fmul dword ptr [0x25151924] */ 6106 L_250A8A12: 6107 fp_push(*(float*)&MEM32(eax + (-0x4))); /* 0x250A8A12: fld dword ptr [eax - 4] */ 6108 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u); 6109 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6110 eax = eax + 0x18u; /* 0x250A8A15: add eax, 0x18 */ 6111 _flag_k = FK_ADD; 6112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6113 ecx = ecx - 1; /* 0x250A8A18: dec ecx */ 6114 _flag_k = FK_DEC; 6115 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A8A19: fmul dword ptr [0x25151924] */ 6116 _st[0] += _st[2]; /* 0x250A8A1F: fadd st(2) */ 6117 { float _v = (float)fp_pop(); *(float*)ADDR(eax + (-0x1C)) = _v; } /* 0x250A8A21: fstp dword ptr [eax - 0x1c] */ 6118 fp_push(*(float*)&MEM32(eax + (-0x18))); /* 0x250A8A24: fld dword ptr [eax - 0x18] */ 6119 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A8A27: fmul dword ptr [0x25151924] */ 6120 _st[0] += _st[1]; /* 0x250A8A2D: fadd st(1) */ 6121 { float _v = (float)fp_pop(); *(float*)ADDR(eax + (-0x18)) = _v; } /* 0x250A8A2F: fstp dword ptr [eax - 0x18] */ 6122 RECOMP_BACKEDGE(); 6123 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A8A12; /* 0x250A8A32: jne 0x250a8a12 */ 6124 L_250A8A34: 6125 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8A34: fstp st(0) */ 6126 PUSH32(esp, ebx); /* 0x250A8A36: push ebx */ 6127 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8A37: fstp st(0) */ 6128 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6129 ebx = 0; /* 0x250A8A39: xor ebx, ebx */ 6130 _cf = 0; 6131 _flag_k = FK_TEST; 6132 fp_push(*(float*)&MEM32(esi + 0x58)); /* 0x250A8A3B: fld dword ptr [esi + 0x58] */ 6133 ecx = ebp + (-0x70); /* 0x250A8A3E: lea ecx, [ebp - 0x70] */ 6134 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250A8A41: fadd dword ptr [esi + 0x30] */ 6135 edi = 4; /* 0x250A8A44: mov edi, 4 */ 6136 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250A8A49: fld dword ptr [esi + 0x2c] */ 6137 _st[0] += (double)*(float*)ADDR(esi + 0x34); /* 0x250A8A4C: fadd dword ptr [esi + 0x34] */ 6138 L_250A8A4F: 6139 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A4F: fld dword ptr [ecx + 4] */ 6140 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 6141 SET_LO8(edx, 0); /* 0x250A8A52: xor dl, dl */ 6142 _cf = 0; 6143 _flag_k = FK_NARROW(FK_TEST, 24); 6144 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x30)); /* 0x250A8A54: fcomp dword ptr [esi + 0x30] */ 6145 fp_pop(); 6146 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A57: fnstsw ax */ 6147 /* test HI8(eax), 1 */ /* 0x250A8A59: test ah, 1 */ 6148 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6149 _cf = 0; 6150 _flag_k = FK_NARROW(FK_TEST, 24); 6151 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A66; /* 0x250A8A5C: je 0x250a8a66 */ 6152 L_250A8A5E: 6153 eax = MEM32(esi + 0x30); /* 0x250A8A5E: mov eax, dword ptr [esi + 0x30] */ 6154 MEM32(ecx + 0x4) = eax; /* 0x250A8A61: mov dword ptr [ecx + 4], eax */ 6155 SET_LO8(edx, 1); /* 0x250A8A64: mov dl, 1 */ 6156 L_250A8A66: 6157 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A66: fld dword ptr [ecx + 4] */ 6158 _fpu_cmp = FPU_CMP(_st[0], _st[2]); /* 0x250A8A69: fcomp st(2) */ 6159 fp_pop(); 6160 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A6B: fnstsw ax */ 6161 /* test HI8(eax), 0x41u */ /* 0x250A8A6D: test ah, 0x41 */ 6162 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6163 _cf = 0; 6164 _flag_k = FK_NARROW(FK_TEST, 24); 6165 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A8A79; /* 0x250A8A70: jne 0x250a8a79 */ 6166 L_250A8A72: 6167 fp_push(_st[1]); /* 0x250A8A72: fld st(1) */ 6168 SET_LO8(edx, 1); /* 0x250A8A74: mov dl, 1 */ 6169 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250A8A76: fstp dword ptr [ecx + 4] */ 6170 L_250A8A79: 6171 fp_push(*(float*)&MEM32(ecx)); /* 0x250A8A79: fld dword ptr [ecx] */ 6172 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x2C)); /* 0x250A8A7B: fcomp dword ptr [esi + 0x2c] */ 6173 fp_pop(); 6174 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A7E: fnstsw ax */ 6175 /* test HI8(eax), 1 */ /* 0x250A8A80: test ah, 1 */ 6176 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6177 _cf = 0; 6178 _flag_k = FK_NARROW(FK_TEST, 24); 6179 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A8C; /* 0x250A8A83: je 0x250a8a8c */ 6180 L_250A8A85: 6181 edx = MEM32(esi + 0x2C); /* 0x250A8A85: mov edx, dword ptr [esi + 0x2c] */ 6182 MEM32(ecx) = edx; /* 0x250A8A88: mov dword ptr [ecx], edx */ 6183 SET_LO8(edx, 1); /* 0x250A8A8A: mov dl, 1 */ 6184 L_250A8A8C: 6185 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx)); /* 0x250A8A8C: fcom dword ptr [ecx] */ 6186 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A8E: fnstsw ax */ 6187 /* test HI8(eax), 1 */ /* 0x250A8A90: test ah, 1 */ 6188 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6189 _cf = 0; 6190 _flag_k = FK_NARROW(FK_TEST, 24); 6191 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A99; /* 0x250A8A93: je 0x250a8a99 */ 6192 L_250A8A95: 6193 { float _v = (float)_st[0]; *(float*)ADDR(ecx) = _v; } /* 0x250A8A95: fst dword ptr [ecx] */ 6194 goto L_250A8A9D; /* 0x250A8A97: jmp 0x250a8a9d */ 6195 L_250A8A99: 6196 /* test LO8(edx), LO8(edx) */ /* 0x250A8A99: test dl, dl */ 6197 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6198 _cf = 0; 6199 _flag_k = FK_NARROW(FK_TEST, 24); 6200 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A9E; /* 0x250A8A9B: je 0x250a8a9e */ 6201 L_250A8A9D: 6202 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 6203 ebx = ebx + 1; /* 0x250A8A9D: inc ebx */ 6204 _flag_k = FK_INC; 6205 L_250A8A9E: 6206 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 6207 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6208 ecx = ecx + 0x18u; /* 0x250A8A9E: add ecx, 0x18 */ 6209 _flag_k = FK_ADD; 6210 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6211 edi = edi - 1; /* 0x250A8AA1: dec edi */ 6212 _flag_k = FK_DEC; 6213 RECOMP_BACKEDGE(); 6214 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A8A4F; /* 0x250A8AA2: jne 0x250a8a4f */ 6215 L_250A8AA4: 6216 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA4: fstp st(0) */ 6217 /* cmp ebx, 4 */ /* 0x250A8AA6: cmp ebx, 4 */ 6218 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 6219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6220 _flag_k = FK_CMP; 6221 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA9: fstp st(0) */ 6222 ebx = POP32_VAL(esp); /* 0x250A8AAB: pop ebx */ 6223 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A8AC6; /* 0x250A8AAC: je 0x250a8ac6 */ 6224 L_250A8AAE: 6225 ecx = MEM32(0x25238B58); /* 0x250A8AAE: mov ecx, dword ptr [0x25238b58] */ 6226 PUSH32(esp, 0); /* 0x250A8AB4: push 0 */ 6227 PUSH32(esp, 4); /* 0x250A8AB6: push 4 */ 6228 eax = ebp + (-0x70); /* 0x250A8AB8: lea eax, [ebp - 0x70] */ 6229 PUSH32(esp, eax); /* 0x250A8ABB: push eax */ 6230 PUSH32(esp, 0x104u); /* 0x250A8ABC: push 0x104 */ 6231 RECOMP_ICALL(0x250E85D0u); /* 0x250A8AC1: call 0x250e85d0 */ /* not lifted */ 6232 RECOMP_FLAGS_IN(); 6233 L_250A8AC6: 6234 edi = POP32_VAL(esp); /* 0x250A8AC6: pop edi */ 6235 esi = POP32_VAL(esp); /* 0x250A8AC7: pop esi */ 6236 esp = ebp; /* 0x250A8AC8: mov esp, ebp */ 6237 ebp = POP32_VAL(esp); /* 0x250A8ACA: pop ebp */ 6238 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250A8ACB: ret 0x10 */ 6239 RECOMP_REGS_OUT(); 6240 } 6241 6242 void sub_250A89CB(void) { 6243 int _fpu_cmp = 0; 6244 uint32_t _cf = 0; 6245 int _df = 1; 6246 uint32_t _flag_k = FK_NONE; 6247 uint32_t _flag_a = 0, _flag_b = 0; 6248 uint32_t _itail_tgt = 0; 6249 RECOMP_REGS_LOCALS 6250 RECOMP_ENTER(0x250A89CBu); 6251 6252 L_250A89CB: 6253 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x250A89CB: mov dword ptr [ebp - 0x14], 0x3f800000 */ 6254 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A89D2: fstp st(0) */ 6255 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A89D4: fstp st(0) */ 6256 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x250A89D6: fld dword ptr [ebp + 0xc] */ 6257 _st[0] += (double)*(float*)ADDR(ebp + 0x10); /* 0x250A89D9: fadd dword ptr [ebp + 0x10] */ 6258 _st[0] += (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250A89DC: fadd dword ptr [ebp - 0xc] */ 6259 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A89DF: fstp dword ptr [ebp - 0x24] */ 6260 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A89E9; /* 0x250A89E2: jns 0x250a89e9 */ 6261 L_250A89E4: 6262 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6263 edx = edx - 1; /* 0x250A89E4: dec edx */ 6264 _flag_k = FK_DEC; 6265 _flag_a = (uint32_t)((edx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((edx | 0xFFFFFFFCu)); 6266 edx = edx | 0xFFFFFFFCu; /* 0x250A89E5: or edx, 0xfffffffc */ 6267 _cf = 0; 6268 _flag_k = FK_TEST; 6269 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6270 edx = edx + 1; /* 0x250A89E8: inc edx */ 6271 _flag_k = FK_INC; 6272 L_250A89E9: 6273 MEM32(ebp + 0x8) = edx; /* 0x250A89E9: mov dword ptr [ebp + 8], edx */ 6274 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x250A89EC: fild dword ptr [ebp + 8] */ 6275 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A89EF: cdq */ 6276 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 6277 edx = edx & 3; /* 0x250A89F0: and edx, 3 */ 6278 _cf = 0; 6279 _flag_k = FK_TEST; 6280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6282 eax = eax + edx; /* 0x250A89F3: add eax, edx */ 6283 _flag_k = FK_ADD; 6284 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A89F5: fmul dword ptr [0x25151924] */ 6285 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A89FB: sar eax, 2 */ 6286 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6287 eax = (uint32_t)((int32_t)eax >> 2u); 6288 MEM32(ebp + 0xC) = eax; /* 0x250A89FE: mov dword ptr [ebp + 0xc], eax */ 6289 eax = ebp + (-0x5C); /* 0x250A8A01: lea eax, [ebp - 0x5c] */ 6290 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x250A8A04: fild dword ptr [ebp + 0xc] */ 6291 ecx = 4; /* 0x250A8A07: mov ecx, 4 */ 6292 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A8A0C: fmul dword ptr [0x25151924] */ 6293 L_250A8A12: 6294 fp_push(*(float*)&MEM32(eax + (-0x4))); /* 0x250A8A12: fld dword ptr [eax - 4] */ 6295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u); 6296 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6297 eax = eax + 0x18u; /* 0x250A8A15: add eax, 0x18 */ 6298 _flag_k = FK_ADD; 6299 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6300 ecx = ecx - 1; /* 0x250A8A18: dec ecx */ 6301 _flag_k = FK_DEC; 6302 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A8A19: fmul dword ptr [0x25151924] */ 6303 _st[0] += _st[2]; /* 0x250A8A1F: fadd st(2) */ 6304 { float _v = (float)fp_pop(); *(float*)ADDR(eax + (-0x1C)) = _v; } /* 0x250A8A21: fstp dword ptr [eax - 0x1c] */ 6305 fp_push(*(float*)&MEM32(eax + (-0x18))); /* 0x250A8A24: fld dword ptr [eax - 0x18] */ 6306 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A8A27: fmul dword ptr [0x25151924] */ 6307 _st[0] += _st[1]; /* 0x250A8A2D: fadd st(1) */ 6308 { float _v = (float)fp_pop(); *(float*)ADDR(eax + (-0x18)) = _v; } /* 0x250A8A2F: fstp dword ptr [eax - 0x18] */ 6309 RECOMP_BACKEDGE(); 6310 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A8A12; /* 0x250A8A32: jne 0x250a8a12 */ 6311 L_250A8A34: 6312 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8A34: fstp st(0) */ 6313 PUSH32(esp, ebx); /* 0x250A8A36: push ebx */ 6314 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8A37: fstp st(0) */ 6315 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6316 ebx = 0; /* 0x250A8A39: xor ebx, ebx */ 6317 _cf = 0; 6318 _flag_k = FK_TEST; 6319 fp_push(*(float*)&MEM32(esi + 0x58)); /* 0x250A8A3B: fld dword ptr [esi + 0x58] */ 6320 ecx = ebp + (-0x70); /* 0x250A8A3E: lea ecx, [ebp - 0x70] */ 6321 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250A8A41: fadd dword ptr [esi + 0x30] */ 6322 edi = 4; /* 0x250A8A44: mov edi, 4 */ 6323 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250A8A49: fld dword ptr [esi + 0x2c] */ 6324 _st[0] += (double)*(float*)ADDR(esi + 0x34); /* 0x250A8A4C: fadd dword ptr [esi + 0x34] */ 6325 L_250A8A4F: 6326 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A4F: fld dword ptr [ecx + 4] */ 6327 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 6328 SET_LO8(edx, 0); /* 0x250A8A52: xor dl, dl */ 6329 _cf = 0; 6330 _flag_k = FK_NARROW(FK_TEST, 24); 6331 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x30)); /* 0x250A8A54: fcomp dword ptr [esi + 0x30] */ 6332 fp_pop(); 6333 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A57: fnstsw ax */ 6334 /* test HI8(eax), 1 */ /* 0x250A8A59: test ah, 1 */ 6335 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6336 _cf = 0; 6337 _flag_k = FK_NARROW(FK_TEST, 24); 6338 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A66; /* 0x250A8A5C: je 0x250a8a66 */ 6339 L_250A8A5E: 6340 eax = MEM32(esi + 0x30); /* 0x250A8A5E: mov eax, dword ptr [esi + 0x30] */ 6341 MEM32(ecx + 0x4) = eax; /* 0x250A8A61: mov dword ptr [ecx + 4], eax */ 6342 SET_LO8(edx, 1); /* 0x250A8A64: mov dl, 1 */ 6343 L_250A8A66: 6344 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A66: fld dword ptr [ecx + 4] */ 6345 _fpu_cmp = FPU_CMP(_st[0], _st[2]); /* 0x250A8A69: fcomp st(2) */ 6346 fp_pop(); 6347 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A6B: fnstsw ax */ 6348 /* test HI8(eax), 0x41u */ /* 0x250A8A6D: test ah, 0x41 */ 6349 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6350 _cf = 0; 6351 _flag_k = FK_NARROW(FK_TEST, 24); 6352 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A8A79; /* 0x250A8A70: jne 0x250a8a79 */ 6353 L_250A8A72: 6354 fp_push(_st[1]); /* 0x250A8A72: fld st(1) */ 6355 SET_LO8(edx, 1); /* 0x250A8A74: mov dl, 1 */ 6356 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250A8A76: fstp dword ptr [ecx + 4] */ 6357 L_250A8A79: 6358 fp_push(*(float*)&MEM32(ecx)); /* 0x250A8A79: fld dword ptr [ecx] */ 6359 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x2C)); /* 0x250A8A7B: fcomp dword ptr [esi + 0x2c] */ 6360 fp_pop(); 6361 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A7E: fnstsw ax */ 6362 /* test HI8(eax), 1 */ /* 0x250A8A80: test ah, 1 */ 6363 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6364 _cf = 0; 6365 _flag_k = FK_NARROW(FK_TEST, 24); 6366 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A8C; /* 0x250A8A83: je 0x250a8a8c */ 6367 L_250A8A85: 6368 edx = MEM32(esi + 0x2C); /* 0x250A8A85: mov edx, dword ptr [esi + 0x2c] */ 6369 MEM32(ecx) = edx; /* 0x250A8A88: mov dword ptr [ecx], edx */ 6370 SET_LO8(edx, 1); /* 0x250A8A8A: mov dl, 1 */ 6371 L_250A8A8C: 6372 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx)); /* 0x250A8A8C: fcom dword ptr [ecx] */ 6373 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A8E: fnstsw ax */ 6374 /* test HI8(eax), 1 */ /* 0x250A8A90: test ah, 1 */ 6375 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6376 _cf = 0; 6377 _flag_k = FK_NARROW(FK_TEST, 24); 6378 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A99; /* 0x250A8A93: je 0x250a8a99 */ 6379 L_250A8A95: 6380 { float _v = (float)_st[0]; *(float*)ADDR(ecx) = _v; } /* 0x250A8A95: fst dword ptr [ecx] */ 6381 goto L_250A8A9D; /* 0x250A8A97: jmp 0x250a8a9d */ 6382 L_250A8A99: 6383 /* test LO8(edx), LO8(edx) */ /* 0x250A8A99: test dl, dl */ 6384 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6385 _cf = 0; 6386 _flag_k = FK_NARROW(FK_TEST, 24); 6387 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A9E; /* 0x250A8A9B: je 0x250a8a9e */ 6388 L_250A8A9D: 6389 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 6390 ebx = ebx + 1; /* 0x250A8A9D: inc ebx */ 6391 _flag_k = FK_INC; 6392 L_250A8A9E: 6393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 6394 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6395 ecx = ecx + 0x18u; /* 0x250A8A9E: add ecx, 0x18 */ 6396 _flag_k = FK_ADD; 6397 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6398 edi = edi - 1; /* 0x250A8AA1: dec edi */ 6399 _flag_k = FK_DEC; 6400 RECOMP_BACKEDGE(); 6401 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A8A4F; /* 0x250A8AA2: jne 0x250a8a4f */ 6402 L_250A8AA4: 6403 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA4: fstp st(0) */ 6404 /* cmp ebx, 4 */ /* 0x250A8AA6: cmp ebx, 4 */ 6405 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 6406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6407 _flag_k = FK_CMP; 6408 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA9: fstp st(0) */ 6409 ebx = POP32_VAL(esp); /* 0x250A8AAB: pop ebx */ 6410 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A8AC6; /* 0x250A8AAC: je 0x250a8ac6 */ 6411 L_250A8AAE: 6412 ecx = MEM32(0x25238B58); /* 0x250A8AAE: mov ecx, dword ptr [0x25238b58] */ 6413 PUSH32(esp, 0); /* 0x250A8AB4: push 0 */ 6414 PUSH32(esp, 4); /* 0x250A8AB6: push 4 */ 6415 eax = ebp + (-0x70); /* 0x250A8AB8: lea eax, [ebp - 0x70] */ 6416 PUSH32(esp, eax); /* 0x250A8ABB: push eax */ 6417 PUSH32(esp, 0x104u); /* 0x250A8ABC: push 0x104 */ 6418 RECOMP_ICALL(0x250E85D0u); /* 0x250A8AC1: call 0x250e85d0 */ /* not lifted */ 6419 RECOMP_FLAGS_IN(); 6420 L_250A8AC6: 6421 edi = POP32_VAL(esp); /* 0x250A8AC6: pop edi */ 6422 esi = POP32_VAL(esp); /* 0x250A8AC7: pop esi */ 6423 esp = ebp; /* 0x250A8AC8: mov esp, ebp */ 6424 ebp = POP32_VAL(esp); /* 0x250A8ACA: pop ebp */ 6425 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250A8ACB: ret 0x10 */ 6426 RECOMP_REGS_OUT(); 6427 } 6428 6429 void sub_250A8A4F(void) { 6430 int _fpu_cmp = 0; 6431 uint32_t _cf = 0; 6432 int _df = 1; 6433 uint32_t _flag_k = FK_NONE; 6434 uint32_t _flag_a = 0, _flag_b = 0; 6435 uint32_t _itail_tgt = 0; 6436 RECOMP_REGS_LOCALS 6437 RECOMP_ENTER(0x250A8A4Fu); 6438 6439 L_250A8A4F: 6440 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A4F: fld dword ptr [ecx + 4] */ 6441 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 6442 SET_LO8(edx, 0); /* 0x250A8A52: xor dl, dl */ 6443 _cf = 0; 6444 _flag_k = FK_NARROW(FK_TEST, 24); 6445 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x30)); /* 0x250A8A54: fcomp dword ptr [esi + 0x30] */ 6446 fp_pop(); 6447 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A57: fnstsw ax */ 6448 /* test HI8(eax), 1 */ /* 0x250A8A59: test ah, 1 */ 6449 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6450 _cf = 0; 6451 _flag_k = FK_NARROW(FK_TEST, 24); 6452 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A66; /* 0x250A8A5C: je 0x250a8a66 */ 6453 L_250A8A5E: 6454 eax = MEM32(esi + 0x30); /* 0x250A8A5E: mov eax, dword ptr [esi + 0x30] */ 6455 MEM32(ecx + 0x4) = eax; /* 0x250A8A61: mov dword ptr [ecx + 4], eax */ 6456 SET_LO8(edx, 1); /* 0x250A8A64: mov dl, 1 */ 6457 L_250A8A66: 6458 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A66: fld dword ptr [ecx + 4] */ 6459 _fpu_cmp = FPU_CMP(_st[0], _st[2]); /* 0x250A8A69: fcomp st(2) */ 6460 fp_pop(); 6461 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A6B: fnstsw ax */ 6462 /* test HI8(eax), 0x41u */ /* 0x250A8A6D: test ah, 0x41 */ 6463 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6464 _cf = 0; 6465 _flag_k = FK_NARROW(FK_TEST, 24); 6466 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A8A79; /* 0x250A8A70: jne 0x250a8a79 */ 6467 L_250A8A72: 6468 fp_push(_st[1]); /* 0x250A8A72: fld st(1) */ 6469 SET_LO8(edx, 1); /* 0x250A8A74: mov dl, 1 */ 6470 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250A8A76: fstp dword ptr [ecx + 4] */ 6471 L_250A8A79: 6472 fp_push(*(float*)&MEM32(ecx)); /* 0x250A8A79: fld dword ptr [ecx] */ 6473 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x2C)); /* 0x250A8A7B: fcomp dword ptr [esi + 0x2c] */ 6474 fp_pop(); 6475 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A7E: fnstsw ax */ 6476 /* test HI8(eax), 1 */ /* 0x250A8A80: test ah, 1 */ 6477 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6478 _cf = 0; 6479 _flag_k = FK_NARROW(FK_TEST, 24); 6480 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A8C; /* 0x250A8A83: je 0x250a8a8c */ 6481 L_250A8A85: 6482 edx = MEM32(esi + 0x2C); /* 0x250A8A85: mov edx, dword ptr [esi + 0x2c] */ 6483 MEM32(ecx) = edx; /* 0x250A8A88: mov dword ptr [ecx], edx */ 6484 SET_LO8(edx, 1); /* 0x250A8A8A: mov dl, 1 */ 6485 L_250A8A8C: 6486 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx)); /* 0x250A8A8C: fcom dword ptr [ecx] */ 6487 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A8E: fnstsw ax */ 6488 /* test HI8(eax), 1 */ /* 0x250A8A90: test ah, 1 */ 6489 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6490 _cf = 0; 6491 _flag_k = FK_NARROW(FK_TEST, 24); 6492 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A99; /* 0x250A8A93: je 0x250a8a99 */ 6493 L_250A8A95: 6494 { float _v = (float)_st[0]; *(float*)ADDR(ecx) = _v; } /* 0x250A8A95: fst dword ptr [ecx] */ 6495 goto L_250A8A9D; /* 0x250A8A97: jmp 0x250a8a9d */ 6496 L_250A8A99: 6497 /* test LO8(edx), LO8(edx) */ /* 0x250A8A99: test dl, dl */ 6498 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6499 _cf = 0; 6500 _flag_k = FK_NARROW(FK_TEST, 24); 6501 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A9E; /* 0x250A8A9B: je 0x250a8a9e */ 6502 L_250A8A9D: 6503 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 6504 ebx = ebx + 1; /* 0x250A8A9D: inc ebx */ 6505 _flag_k = FK_INC; 6506 L_250A8A9E: 6507 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 6508 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6509 ecx = ecx + 0x18u; /* 0x250A8A9E: add ecx, 0x18 */ 6510 _flag_k = FK_ADD; 6511 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6512 edi = edi - 1; /* 0x250A8AA1: dec edi */ 6513 _flag_k = FK_DEC; 6514 RECOMP_BACKEDGE(); 6515 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A8A4F; /* 0x250A8AA2: jne 0x250a8a4f */ 6516 L_250A8AA4: 6517 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA4: fstp st(0) */ 6518 /* cmp ebx, 4 */ /* 0x250A8AA6: cmp ebx, 4 */ 6519 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 6520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6521 _flag_k = FK_CMP; 6522 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA9: fstp st(0) */ 6523 ebx = POP32_VAL(esp); /* 0x250A8AAB: pop ebx */ 6524 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A8AC6; /* 0x250A8AAC: je 0x250a8ac6 */ 6525 L_250A8AAE: 6526 ecx = MEM32(0x25238B58); /* 0x250A8AAE: mov ecx, dword ptr [0x25238b58] */ 6527 PUSH32(esp, 0); /* 0x250A8AB4: push 0 */ 6528 PUSH32(esp, 4); /* 0x250A8AB6: push 4 */ 6529 eax = ebp + (-0x70); /* 0x250A8AB8: lea eax, [ebp - 0x70] */ 6530 PUSH32(esp, eax); /* 0x250A8ABB: push eax */ 6531 PUSH32(esp, 0x104u); /* 0x250A8ABC: push 0x104 */ 6532 RECOMP_ICALL(0x250E85D0u); /* 0x250A8AC1: call 0x250e85d0 */ /* not lifted */ 6533 RECOMP_FLAGS_IN(); 6534 L_250A8AC6: 6535 edi = POP32_VAL(esp); /* 0x250A8AC6: pop edi */ 6536 esi = POP32_VAL(esp); /* 0x250A8AC7: pop esi */ 6537 esp = ebp; /* 0x250A8AC8: mov esp, ebp */ 6538 ebp = POP32_VAL(esp); /* 0x250A8ACA: pop ebp */ 6539 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250A8ACB: ret 0x10 */ 6540 RECOMP_REGS_OUT(); 6541 } 6542 6543 void sub_250A8A9D(void) { 6544 int _fpu_cmp = 0; 6545 uint32_t _cf = 0; 6546 int _df = 1; 6547 uint32_t _flag_k = FK_NONE; 6548 uint32_t _flag_a = 0, _flag_b = 0; 6549 uint32_t _itail_tgt = 0; 6550 RECOMP_REGS_LOCALS 6551 RECOMP_ENTER(0x250A8A9Du); 6552 6553 goto L_250A8A9D; 6554 L_250A8A4F: 6555 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A4F: fld dword ptr [ecx + 4] */ 6556 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 6557 SET_LO8(edx, 0); /* 0x250A8A52: xor dl, dl */ 6558 _cf = 0; 6559 _flag_k = FK_NARROW(FK_TEST, 24); 6560 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x30)); /* 0x250A8A54: fcomp dword ptr [esi + 0x30] */ 6561 fp_pop(); 6562 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A57: fnstsw ax */ 6563 /* test HI8(eax), 1 */ /* 0x250A8A59: test ah, 1 */ 6564 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6565 _cf = 0; 6566 _flag_k = FK_NARROW(FK_TEST, 24); 6567 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A66; /* 0x250A8A5C: je 0x250a8a66 */ 6568 L_250A8A5E: 6569 eax = MEM32(esi + 0x30); /* 0x250A8A5E: mov eax, dword ptr [esi + 0x30] */ 6570 MEM32(ecx + 0x4) = eax; /* 0x250A8A61: mov dword ptr [ecx + 4], eax */ 6571 SET_LO8(edx, 1); /* 0x250A8A64: mov dl, 1 */ 6572 L_250A8A66: 6573 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A66: fld dword ptr [ecx + 4] */ 6574 _fpu_cmp = FPU_CMP(_st[0], _st[2]); /* 0x250A8A69: fcomp st(2) */ 6575 fp_pop(); 6576 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A6B: fnstsw ax */ 6577 /* test HI8(eax), 0x41u */ /* 0x250A8A6D: test ah, 0x41 */ 6578 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6579 _cf = 0; 6580 _flag_k = FK_NARROW(FK_TEST, 24); 6581 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A8A79; /* 0x250A8A70: jne 0x250a8a79 */ 6582 L_250A8A72: 6583 fp_push(_st[1]); /* 0x250A8A72: fld st(1) */ 6584 SET_LO8(edx, 1); /* 0x250A8A74: mov dl, 1 */ 6585 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250A8A76: fstp dword ptr [ecx + 4] */ 6586 L_250A8A79: 6587 fp_push(*(float*)&MEM32(ecx)); /* 0x250A8A79: fld dword ptr [ecx] */ 6588 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x2C)); /* 0x250A8A7B: fcomp dword ptr [esi + 0x2c] */ 6589 fp_pop(); 6590 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A7E: fnstsw ax */ 6591 /* test HI8(eax), 1 */ /* 0x250A8A80: test ah, 1 */ 6592 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6593 _cf = 0; 6594 _flag_k = FK_NARROW(FK_TEST, 24); 6595 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A8C; /* 0x250A8A83: je 0x250a8a8c */ 6596 L_250A8A85: 6597 edx = MEM32(esi + 0x2C); /* 0x250A8A85: mov edx, dword ptr [esi + 0x2c] */ 6598 MEM32(ecx) = edx; /* 0x250A8A88: mov dword ptr [ecx], edx */ 6599 SET_LO8(edx, 1); /* 0x250A8A8A: mov dl, 1 */ 6600 L_250A8A8C: 6601 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx)); /* 0x250A8A8C: fcom dword ptr [ecx] */ 6602 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A8E: fnstsw ax */ 6603 /* test HI8(eax), 1 */ /* 0x250A8A90: test ah, 1 */ 6604 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6605 _cf = 0; 6606 _flag_k = FK_NARROW(FK_TEST, 24); 6607 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A99; /* 0x250A8A93: je 0x250a8a99 */ 6608 L_250A8A95: 6609 { float _v = (float)_st[0]; *(float*)ADDR(ecx) = _v; } /* 0x250A8A95: fst dword ptr [ecx] */ 6610 goto L_250A8A9D; /* 0x250A8A97: jmp 0x250a8a9d */ 6611 L_250A8A99: 6612 /* test LO8(edx), LO8(edx) */ /* 0x250A8A99: test dl, dl */ 6613 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6614 _cf = 0; 6615 _flag_k = FK_NARROW(FK_TEST, 24); 6616 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A9E; /* 0x250A8A9B: je 0x250a8a9e */ 6617 L_250A8A9D: 6618 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 6619 ebx = ebx + 1; /* 0x250A8A9D: inc ebx */ 6620 _flag_k = FK_INC; 6621 L_250A8A9E: 6622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 6623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6624 ecx = ecx + 0x18u; /* 0x250A8A9E: add ecx, 0x18 */ 6625 _flag_k = FK_ADD; 6626 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6627 edi = edi - 1; /* 0x250A8AA1: dec edi */ 6628 _flag_k = FK_DEC; 6629 RECOMP_BACKEDGE(); 6630 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A8A4F; /* 0x250A8AA2: jne 0x250a8a4f */ 6631 L_250A8AA4: 6632 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA4: fstp st(0) */ 6633 /* cmp ebx, 4 */ /* 0x250A8AA6: cmp ebx, 4 */ 6634 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 6635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6636 _flag_k = FK_CMP; 6637 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA9: fstp st(0) */ 6638 ebx = POP32_VAL(esp); /* 0x250A8AAB: pop ebx */ 6639 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A8AC6; /* 0x250A8AAC: je 0x250a8ac6 */ 6640 L_250A8AAE: 6641 ecx = MEM32(0x25238B58); /* 0x250A8AAE: mov ecx, dword ptr [0x25238b58] */ 6642 PUSH32(esp, 0); /* 0x250A8AB4: push 0 */ 6643 PUSH32(esp, 4); /* 0x250A8AB6: push 4 */ 6644 eax = ebp + (-0x70); /* 0x250A8AB8: lea eax, [ebp - 0x70] */ 6645 PUSH32(esp, eax); /* 0x250A8ABB: push eax */ 6646 PUSH32(esp, 0x104u); /* 0x250A8ABC: push 0x104 */ 6647 RECOMP_ICALL(0x250E85D0u); /* 0x250A8AC1: call 0x250e85d0 */ /* not lifted */ 6648 RECOMP_FLAGS_IN(); 6649 L_250A8AC6: 6650 edi = POP32_VAL(esp); /* 0x250A8AC6: pop edi */ 6651 esi = POP32_VAL(esp); /* 0x250A8AC7: pop esi */ 6652 esp = ebp; /* 0x250A8AC8: mov esp, ebp */ 6653 ebp = POP32_VAL(esp); /* 0x250A8ACA: pop ebp */ 6654 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250A8ACB: ret 0x10 */ 6655 RECOMP_REGS_OUT(); 6656 } 6657 6658 void sub_250A8A9E(void) { 6659 int _fpu_cmp = 0; 6660 uint32_t _cf = 0; 6661 int _df = 1; 6662 uint32_t _flag_k = FK_NONE; 6663 uint32_t _flag_a = 0, _flag_b = 0; 6664 uint32_t _itail_tgt = 0; 6665 RECOMP_REGS_LOCALS 6666 RECOMP_ENTER(0x250A8A9Eu); 6667 6668 goto L_250A8A9E; 6669 L_250A8A4F: 6670 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A4F: fld dword ptr [ecx + 4] */ 6671 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 6672 SET_LO8(edx, 0); /* 0x250A8A52: xor dl, dl */ 6673 _cf = 0; 6674 _flag_k = FK_NARROW(FK_TEST, 24); 6675 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x30)); /* 0x250A8A54: fcomp dword ptr [esi + 0x30] */ 6676 fp_pop(); 6677 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A57: fnstsw ax */ 6678 /* test HI8(eax), 1 */ /* 0x250A8A59: test ah, 1 */ 6679 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6680 _cf = 0; 6681 _flag_k = FK_NARROW(FK_TEST, 24); 6682 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A66; /* 0x250A8A5C: je 0x250a8a66 */ 6683 L_250A8A5E: 6684 eax = MEM32(esi + 0x30); /* 0x250A8A5E: mov eax, dword ptr [esi + 0x30] */ 6685 MEM32(ecx + 0x4) = eax; /* 0x250A8A61: mov dword ptr [ecx + 4], eax */ 6686 SET_LO8(edx, 1); /* 0x250A8A64: mov dl, 1 */ 6687 L_250A8A66: 6688 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250A8A66: fld dword ptr [ecx + 4] */ 6689 _fpu_cmp = FPU_CMP(_st[0], _st[2]); /* 0x250A8A69: fcomp st(2) */ 6690 fp_pop(); 6691 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A6B: fnstsw ax */ 6692 /* test HI8(eax), 0x41u */ /* 0x250A8A6D: test ah, 0x41 */ 6693 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6694 _cf = 0; 6695 _flag_k = FK_NARROW(FK_TEST, 24); 6696 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A8A79; /* 0x250A8A70: jne 0x250a8a79 */ 6697 L_250A8A72: 6698 fp_push(_st[1]); /* 0x250A8A72: fld st(1) */ 6699 SET_LO8(edx, 1); /* 0x250A8A74: mov dl, 1 */ 6700 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250A8A76: fstp dword ptr [ecx + 4] */ 6701 L_250A8A79: 6702 fp_push(*(float*)&MEM32(ecx)); /* 0x250A8A79: fld dword ptr [ecx] */ 6703 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x2C)); /* 0x250A8A7B: fcomp dword ptr [esi + 0x2c] */ 6704 fp_pop(); 6705 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A7E: fnstsw ax */ 6706 /* test HI8(eax), 1 */ /* 0x250A8A80: test ah, 1 */ 6707 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6708 _cf = 0; 6709 _flag_k = FK_NARROW(FK_TEST, 24); 6710 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A8C; /* 0x250A8A83: je 0x250a8a8c */ 6711 L_250A8A85: 6712 edx = MEM32(esi + 0x2C); /* 0x250A8A85: mov edx, dword ptr [esi + 0x2c] */ 6713 MEM32(ecx) = edx; /* 0x250A8A88: mov dword ptr [ecx], edx */ 6714 SET_LO8(edx, 1); /* 0x250A8A8A: mov dl, 1 */ 6715 L_250A8A8C: 6716 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx)); /* 0x250A8A8C: fcom dword ptr [ecx] */ 6717 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A8A8E: fnstsw ax */ 6718 /* test HI8(eax), 1 */ /* 0x250A8A90: test ah, 1 */ 6719 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6720 _cf = 0; 6721 _flag_k = FK_NARROW(FK_TEST, 24); 6722 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A99; /* 0x250A8A93: je 0x250a8a99 */ 6723 L_250A8A95: 6724 { float _v = (float)_st[0]; *(float*)ADDR(ecx) = _v; } /* 0x250A8A95: fst dword ptr [ecx] */ 6725 goto L_250A8A9D; /* 0x250A8A97: jmp 0x250a8a9d */ 6726 L_250A8A99: 6727 /* test LO8(edx), LO8(edx) */ /* 0x250A8A99: test dl, dl */ 6728 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6729 _cf = 0; 6730 _flag_k = FK_NARROW(FK_TEST, 24); 6731 if (TEST_Z(_flag_a, _flag_b)) goto L_250A8A9E; /* 0x250A8A9B: je 0x250a8a9e */ 6732 L_250A8A9D: 6733 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 6734 ebx = ebx + 1; /* 0x250A8A9D: inc ebx */ 6735 _flag_k = FK_INC; 6736 L_250A8A9E: 6737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 6738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6739 ecx = ecx + 0x18u; /* 0x250A8A9E: add ecx, 0x18 */ 6740 _flag_k = FK_ADD; 6741 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6742 edi = edi - 1; /* 0x250A8AA1: dec edi */ 6743 _flag_k = FK_DEC; 6744 RECOMP_BACKEDGE(); 6745 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A8A4F; /* 0x250A8AA2: jne 0x250a8a4f */ 6746 L_250A8AA4: 6747 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA4: fstp st(0) */ 6748 /* cmp ebx, 4 */ /* 0x250A8AA6: cmp ebx, 4 */ 6749 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 6750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6751 _flag_k = FK_CMP; 6752 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A8AA9: fstp st(0) */ 6753 ebx = POP32_VAL(esp); /* 0x250A8AAB: pop ebx */ 6754 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A8AC6; /* 0x250A8AAC: je 0x250a8ac6 */ 6755 L_250A8AAE: 6756 ecx = MEM32(0x25238B58); /* 0x250A8AAE: mov ecx, dword ptr [0x25238b58] */ 6757 PUSH32(esp, 0); /* 0x250A8AB4: push 0 */ 6758 PUSH32(esp, 4); /* 0x250A8AB6: push 4 */ 6759 eax = ebp + (-0x70); /* 0x250A8AB8: lea eax, [ebp - 0x70] */ 6760 PUSH32(esp, eax); /* 0x250A8ABB: push eax */ 6761 PUSH32(esp, 0x104u); /* 0x250A8ABC: push 0x104 */ 6762 RECOMP_ICALL(0x250E85D0u); /* 0x250A8AC1: call 0x250e85d0 */ /* not lifted */ 6763 RECOMP_FLAGS_IN(); 6764 L_250A8AC6: 6765 edi = POP32_VAL(esp); /* 0x250A8AC6: pop edi */ 6766 esi = POP32_VAL(esp); /* 0x250A8AC7: pop esi */ 6767 esp = ebp; /* 0x250A8AC8: mov esp, ebp */ 6768 ebp = POP32_VAL(esp); /* 0x250A8ACA: pop ebp */ 6769 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250A8ACB: ret 0x10 */ 6770 RECOMP_REGS_OUT(); 6771 } 6772 6773 void sub_250A8AD0(void) { 6774 int _fpu_cmp = 0; 6775 uint32_t _cf = 0; 6776 int _df = 1; 6777 uint32_t _flag_k = FK_NONE; 6778 uint32_t _flag_a = 0, _flag_b = 0; 6779 uint32_t _itail_tgt = 0; 6780 RECOMP_REGS_LOCALS 6781 RECOMP_ENTER(0x250A8AD0u); 6782 6783 L_250A8AD0: 6784 PUSH32(esp, ebp); /* 0x250A8AD0: push ebp */ 6785 L_250A8AD1: 6786 ebp = esp; /* 0x250A8AD1: mov ebp, esp */ 6787 L_250A8AD3: 6788 PUSH32(esp, 0xFFFFFFFFu); /* 0x250A8AD3: push -1 */ 6789 L_250A8AD5: 6790 PUSH32(esp, 0x2514A01Eu); /* 0x250A8AD5: push 0x2514a01e */ 6791 L_250A8ADA: 6792 eax = MEM32(FS_BASE + (0)); /* 0x250A8ADA: mov eax, dword ptr fs:[0] */ 6793 L_250A8AE0: 6794 PUSH32(esp, eax); /* 0x250A8AE0: push eax */ 6795 L_250A8AE1: 6796 MEM32(FS_BASE + (0)) = esp; /* 0x250A8AE1: mov dword ptr fs:[0], esp */ 6797 L_250A8AE8: 6798 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x11Cu); 6799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6800 esp = esp - 0x11Cu; /* 0x250A8AE8: sub esp, 0x11c */ 6801 _flag_k = FK_CMP; 6802 L_250A8AEE: 6803 PUSH32(esp, ebx); /* 0x250A8AEE: push ebx */ 6804 L_250A8AEF: 6805 ebx = MEM32(ebp + 0x8); /* 0x250A8AEF: mov ebx, dword ptr [ebp + 8] */ 6806 L_250A8AF2: 6807 PUSH32(esp, esi); /* 0x250A8AF2: push esi */ 6808 L_250A8AF3: 6809 esi = ecx; /* 0x250A8AF3: mov esi, ecx */ 6810 L_250A8AF5: 6811 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A8AF5: mov al, byte ptr [esi + 0xdd] */ 6812 L_250A8AFB: 6813 /* test LO8(eax), LO8(eax) */ /* 0x250A8AFB: test al, al */ 6814 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6815 _cf = 0; 6816 _flag_k = FK_NARROW(FK_TEST, 24); 6817 L_250A8AFD: 6818 PUSH32(esp, edi); /* 0x250A8AFD: push edi */ 6819 L_250A8AFE: 6820 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F37; /* 0x250A8AFE: je 0x250a8f37 */ 6821 L_250A8B04: 6822 eax = MEM32(0x252385B4); /* 0x250A8B04: mov eax, dword ptr [0x252385b4] */ 6823 L_250A8B09: 6824 /* test eax, eax */ /* 0x250A8B09: test eax, eax */ 6825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6826 _cf = 0; 6827 _flag_k = FK_TEST; 6828 L_250A8B0B: 6829 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B37; /* 0x250A8B0B: jne 0x250a8b37 */ 6830 L_250A8B0D: 6831 eax = MEM32(0x2523858C); /* 0x250A8B0D: mov eax, dword ptr [0x2523858c] */ 6832 L_250A8B12: 6833 /* test eax, eax */ /* 0x250A8B12: test eax, eax */ 6834 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6835 _cf = 0; 6836 _flag_k = FK_TEST; 6837 L_250A8B14: 6838 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B37; /* 0x250A8B14: je 0x250a8b37 */ 6839 L_250A8B16: 6840 ecx = MEM32(0x25238590); /* 0x250A8B16: mov ecx, dword ptr [0x25238590] */ 6841 L_250A8B1C: 6842 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6844 ecx = ecx - eax; /* 0x250A8B1C: sub ecx, eax */ 6845 _flag_k = FK_CMP; 6846 L_250A8B1E: 6847 eax = 0x92492493u; /* 0x250A8B1E: mov eax, 0x92492493 */ 6848 L_250A8B23: 6849 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A8B23: imul ecx */ 6850 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 6851 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 6852 L_250A8B25: 6853 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 6854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6855 edx = edx + ecx; /* 0x250A8B25: add edx, ecx */ 6856 _flag_k = FK_ADD; 6857 L_250A8B27: 6858 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250A8B27: sar edx, 5 */ 6859 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6860 edx = (uint32_t)((int32_t)edx >> 5u); 6861 L_250A8B2A: 6862 eax = edx; /* 0x250A8B2A: mov eax, edx */ 6863 L_250A8B2C: 6864 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A8B2C: shr eax, 0x1f */ 6865 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6866 eax = eax >> 31u; /* 0x250A8B2C: shr eax, 0x1f */ 6867 L_250A8B2F: 6868 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 6869 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6870 edx = edx + eax; /* 0x250A8B2F: add edx, eax */ 6871 _flag_k = FK_ADD; 6872 L_250A8B31: 6873 MEM8(ebp + (-0x15)) = (uint8_t)(1); /* 0x250A8B31: mov byte ptr [ebp - 0x15], 1 */ 6874 L_250A8B35: 6875 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B3B; /* 0x250A8B35: jne 0x250a8b3b */ 6876 L_250A8B37: 6877 MEM8(ebp + (-0x15)) = (uint8_t)(0); /* 0x250A8B37: mov byte ptr [ebp - 0x15], 0 */ 6878 L_250A8B3B: 6879 ecx = MEM32(ebp + 0xC); /* 0x250A8B3B: mov ecx, dword ptr [ebp + 0xc] */ 6880 L_250A8B3E: 6881 eax = MEM32(ecx + 0x4); /* 0x250A8B3E: mov eax, dword ptr [ecx + 4] */ 6882 L_250A8B41: 6883 edi = MEM32(eax); /* 0x250A8B41: mov edi, dword ptr [eax] */ 6884 L_250A8B43: 6885 /* cmp edi, eax */ /* 0x250A8B43: cmp edi, eax */ 6886 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6888 _flag_k = FK_CMP; 6889 L_250A8B45: 6890 MEM32(ebp + (-0x1C)) = edi; /* 0x250A8B45: mov dword ptr [ebp - 0x1c], edi */ 6891 L_250A8B48: 6892 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F37; /* 0x250A8B48: je 0x250a8f37 */ 6893 L_250A8B4E: 6894 goto L_250A8B53; /* 0x250A8B4E: jmp 0x250a8b53 */ 6895 L_250A8B50: 6896 edi = MEM32(ebp + (-0x1C)); /* 0x250A8B50: mov edi, dword ptr [ebp - 0x1c] */ 6897 L_250A8B53: 6898 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A8B53: cmp dword ptr [edi + 0x34], 9 */ 6899 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 6900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6901 _flag_k = FK_CMP; 6902 L_250A8B57: 6903 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8B57: je 0x250a8f26 */ 6904 L_250A8B5D: 6905 eax = MEM32(edi + 0x18); /* 0x250A8B5D: mov eax, dword ptr [edi + 0x18] */ 6906 L_250A8B60: 6907 edx = MEM32(edi + 0x10); /* 0x250A8B60: mov edx, dword ptr [edi + 0x10] */ 6908 L_250A8B63: 6909 MEM32(ebp + (-0x14)) = eax; /* 0x250A8B63: mov dword ptr [ebp - 0x14], eax */ 6910 L_250A8B66: 6911 SET_LO8(eax, MEM8(esi + 0xDE)); /* 0x250A8B66: mov al, byte ptr [esi + 0xde] */ 6912 L_250A8B6C: 6913 /* test LO8(eax), LO8(eax) */ /* 0x250A8B6C: test al, al */ 6914 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6915 _cf = 0; 6916 _flag_k = FK_NARROW(FK_TEST, 24); 6917 L_250A8B6E: 6918 MEM32(ebp + (-0x10)) = edx; /* 0x250A8B6E: mov dword ptr [ebp - 0x10], edx */ 6919 L_250A8B71: 6920 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B8D; /* 0x250A8B71: je 0x250a8b8d */ 6921 L_250A8B73: 6922 ecx = MEM32(esi + 0x94); /* 0x250A8B73: mov ecx, dword ptr [esi + 0x94] */ 6923 L_250A8B79: 6924 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x250A8B79: cmp ecx, dword ptr [edi + 0xc] */ 6925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 6926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6927 _flag_k = FK_CMP; 6928 L_250A8B7C: 6929 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B8D; /* 0x250A8B7C: jne 0x250a8b8d */ 6930 L_250A8B7E: 6931 edx = MEM32(esi + 0x90); /* 0x250A8B7E: mov edx, dword ptr [esi + 0x90] */ 6932 L_250A8B84: 6933 /* cmp edx, MEM32(edi + 0x8) */ /* 0x250A8B84: cmp edx, dword ptr [edi + 8] */ 6934 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6936 _flag_k = FK_CMP; 6937 L_250A8B87: 6938 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x250A8B87: mov byte ptr [ebp + 0xb], 1 */ 6939 L_250A8B8B: 6940 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B91; /* 0x250A8B8B: je 0x250a8b91 */ 6941 L_250A8B8D: 6942 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x250A8B8D: mov byte ptr [ebp + 0xb], 0 */ 6943 L_250A8B91: 6944 eax = MEM32(0x25238574); /* 0x250A8B91: mov eax, dword ptr [0x25238574] */ 6945 L_250A8B96: 6946 MEM32(ebp + (-0x30)) = eax; /* 0x250A8B96: mov dword ptr [ebp - 0x30], eax */ 6947 L_250A8B99: 6948 eax = edi + 0x8; /* 0x250A8B99: lea eax, [edi + 8] */ 6949 L_250A8B9C: 6950 PUSH32(esp, eax); /* 0x250A8B9C: push eax */ 6951 L_250A8B9D: 6952 ecx = ebp + (-0x44); /* 0x250A8B9D: lea ecx, [ebp - 0x44] */ 6953 L_250A8BA0: 6954 PUSH32(esp, ecx); /* 0x250A8BA0: push ecx */ 6955 L_250A8BA1: 6956 ecx = 0x25238570u; /* 0x250A8BA1: mov ecx, 0x25238570 */ 6957 L_250A8BA6: 6958 RECOMP_ICALL(0x250A33E0u); /* 0x250A8BA6: call 0x250a33e0 */ /* not lifted */ 6959 RECOMP_FLAGS_IN(); 6960 L_250A8BAB: 6961 ecx = MEM32(eax); /* 0x250A8BAB: mov ecx, dword ptr [eax] */ 6962 L_250A8BAD: 6963 edx = MEM32(ebp + (-0x30)); /* 0x250A8BAD: mov edx, dword ptr [ebp - 0x30] */ 6964 L_250A8BB0: 6965 /* cmp ecx, edx */ /* 0x250A8BB0: cmp ecx, edx */ 6966 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6968 _flag_k = FK_CMP; 6969 L_250A8BB2: 6970 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x250A8BB2: mov cl, byte ptr [ebp + 0xb] */ 6971 L_250A8BB5: 6972 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8BB5: setne al */ 6973 L_250A8BB8: 6974 /* test LO8(ecx), LO8(ecx) */ /* 0x250A8BB8: test cl, cl */ 6975 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 6976 _cf = 0; 6977 _flag_k = FK_NARROW(FK_TEST, 24); 6978 L_250A8BBA: 6979 MEM8(ebp + (-0x29)) = (uint8_t)(LO8(eax)); /* 0x250A8BBA: mov byte ptr [ebp - 0x29], al */ 6980 L_250A8BBD: 6981 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BBD: jne 0x250a8dcb */ 6982 L_250A8BC3: 6983 /* test LO8(eax), LO8(eax) */ /* 0x250A8BC3: test al, al */ 6984 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6985 _cf = 0; 6986 _flag_k = FK_NARROW(FK_TEST, 24); 6987 L_250A8BC5: 6988 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BC5: jne 0x250a8dcb */ 6989 L_250A8BCB: 6990 SET_LO8(eax, MEM8(ebp + (-0x15))); /* 0x250A8BCB: mov al, byte ptr [ebp - 0x15] */ 6991 L_250A8BCE: 6992 /* test LO8(eax), LO8(eax) */ /* 0x250A8BCE: test al, al */ 6993 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6994 _cf = 0; 6995 _flag_k = FK_NARROW(FK_TEST, 24); 6996 L_250A8BD0: 6997 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8C1A; /* 0x250A8BD0: je 0x250a8c1a */ 6998 L_250A8BD2: 6999 eax = MEM32(edi + 0x38); /* 0x250A8BD2: mov eax, dword ptr [edi + 0x38] */ 7000 L_250A8BD5: 7001 ecx = ebp + 0x8; /* 0x250A8BD5: lea ecx, [ebp + 8] */ 7002 L_250A8BD8: 7003 PUSH32(esp, ecx); /* 0x250A8BD8: push ecx */ 7004 L_250A8BD9: 7005 edx = ebp + (-0x40); /* 0x250A8BD9: lea edx, [ebp - 0x40] */ 7006 L_250A8BDC: 7007 PUSH32(esp, edx); /* 0x250A8BDC: push edx */ 7008 L_250A8BDD: 7009 ecx = 0x252385A0u; /* 0x250A8BDD: mov ecx, 0x252385a0 */ 7010 L_250A8BE2: 7011 MEM32(ebp + 0x8) = eax; /* 0x250A8BE2: mov dword ptr [ebp + 8], eax */ 7012 L_250A8BE5: 7013 RECOMP_ICALL(0x250AC4E0u); /* 0x250A8BE5: call 0x250ac4e0 */ /* not lifted */ 7014 RECOMP_FLAGS_IN(); 7015 L_250A8BEA: 7016 eax = MEM32(eax); /* 0x250A8BEA: mov eax, dword ptr [eax] */ 7017 L_250A8BEC: 7018 /* cmp eax, MEM32(0x252385A4) */ /* 0x250A8BEC: cmp eax, dword ptr [0x252385a4] */ 7019 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385A4)); 7020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7021 _flag_k = FK_CMP; 7022 L_250A8BF2: 7023 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8BF2: je 0x250a8f26 */ 7024 L_250A8BF8: 7025 eax = MEM32(eax + 0x10); /* 0x250A8BF8: mov eax, dword ptr [eax + 0x10] */ 7026 L_250A8BFB: 7027 ecx = MEM32(0x2523858C); /* 0x250A8BFB: mov ecx, dword ptr [0x2523858c] */ 7028 L_250A8C01: 7029 edx = eax * 8; /* 0x250A8C01: lea edx, [eax*8] */ 7030 L_250A8C08: 7031 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7033 edx = edx - eax; /* 0x250A8C08: sub edx, eax */ 7034 _flag_k = FK_CMP; 7035 L_250A8C0A: 7036 eax = MEM32(ecx + edx * 8 + 0x2C); /* 0x250A8C0A: mov eax, dword ptr [ecx + edx*8 + 0x2c] */ 7037 L_250A8C0E: 7038 /* cmp eax, MEM32(0x252385C0) */ /* 0x250A8C0E: cmp eax, dword ptr [0x252385c0] */ 7039 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 7040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7041 _flag_k = FK_CMP; 7042 L_250A8C14: 7043 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8F26; /* 0x250A8C14: jne 0x250a8f26 */ 7044 L_250A8C1A: 7045 eax = MEM32(edi + 0x34); /* 0x250A8C1A: mov eax, dword ptr [edi + 0x34] */ 7046 L_250A8C1D: 7047 /* cmp eax, 8 */ /* 0x250A8C1D: cmp eax, 8 */ 7048 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 7049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7050 _flag_k = FK_CMP; 7051 L_250A8C20: 7052 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A8F26; /* 0x250A8C20: ja 0x250a8f26 */ 7053 L_250A8C26: 7054 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x250A9540)); goto _ljump; } 7055 L_250A8C2D: 7056 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C2D: mov ecx, dword ptr [ebp - 0x10] */ 7057 L_250A8C30: 7058 edx = MEM32(ebp + (-0x14)); /* 0x250A8C30: mov edx, dword ptr [ebp - 0x14] */ 7059 L_250A8C33: 7060 PUSH32(esp, 0); /* 0x250A8C33: push 0 */ 7061 L_250A8C35: 7062 eax = ebp + (-0xC8); /* 0x250A8C35: lea eax, [ebp - 0xc8] */ 7063 L_250A8C3B: 7064 PUSH32(esp, eax); /* 0x250A8C3B: push eax */ 7065 L_250A8C3C: 7066 MEM32(ebp + (-0xC8)) = ecx; /* 0x250A8C3C: mov dword ptr [ebp - 0xc8], ecx */ 7067 L_250A8C42: 7068 PUSH32(esp, ebx); /* 0x250A8C42: push ebx */ 7069 L_250A8C43: 7070 ecx = esi; /* 0x250A8C43: mov ecx, esi */ 7071 L_250A8C45: 7072 MEM32(ebp + (-0xC4)) = 0; /* 0x250A8C45: mov dword ptr [ebp - 0xc4], 0 */ 7073 L_250A8C4F: 7074 MEM32(ebp + (-0xC0)) = edx; /* 0x250A8C4F: mov dword ptr [ebp - 0xc0], edx */ 7075 L_250A8C55: 7076 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C55: call 0x250a87e0 */ /* not lifted */ 7077 RECOMP_FLAGS_IN(); 7078 L_250A8C5A: 7079 goto L_250A8F26; /* 0x250A8C5A: jmp 0x250a8f26 */ 7080 L_250A8C5F: 7081 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C5F: mov ecx, dword ptr [ebp - 0x10] */ 7082 L_250A8C62: 7083 edx = MEM32(ebp + (-0x14)); /* 0x250A8C62: mov edx, dword ptr [ebp - 0x14] */ 7084 L_250A8C65: 7085 PUSH32(esp, 1); /* 0x250A8C65: push 1 */ 7086 L_250A8C67: 7087 eax = ebp + (-0xEC); /* 0x250A8C67: lea eax, [ebp - 0xec] */ 7088 L_250A8C6D: 7089 PUSH32(esp, eax); /* 0x250A8C6D: push eax */ 7090 L_250A8C6E: 7091 MEM32(ebp + (-0xEC)) = ecx; /* 0x250A8C6E: mov dword ptr [ebp - 0xec], ecx */ 7092 L_250A8C74: 7093 PUSH32(esp, ebx); /* 0x250A8C74: push ebx */ 7094 L_250A8C75: 7095 ecx = esi; /* 0x250A8C75: mov ecx, esi */ 7096 L_250A8C77: 7097 MEM32(ebp + (-0xE8)) = 0; /* 0x250A8C77: mov dword ptr [ebp - 0xe8], 0 */ 7098 L_250A8C81: 7099 MEM32(ebp + (-0xE4)) = edx; /* 0x250A8C81: mov dword ptr [ebp - 0xe4], edx */ 7100 L_250A8C87: 7101 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C87: call 0x250a87e0 */ /* not lifted */ 7102 RECOMP_FLAGS_IN(); 7103 L_250A8C8C: 7104 goto L_250A8F26; /* 0x250A8C8C: jmp 0x250a8f26 */ 7105 L_250A8C91: 7106 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C91: mov ecx, dword ptr [ebp - 0x10] */ 7107 L_250A8C94: 7108 edx = MEM32(ebp + (-0x14)); /* 0x250A8C94: mov edx, dword ptr [ebp - 0x14] */ 7109 L_250A8C97: 7110 PUSH32(esp, 2); /* 0x250A8C97: push 2 */ 7111 L_250A8C99: 7112 eax = ebp + (-0xD4); /* 0x250A8C99: lea eax, [ebp - 0xd4] */ 7113 L_250A8C9F: 7114 PUSH32(esp, eax); /* 0x250A8C9F: push eax */ 7115 L_250A8CA0: 7116 MEM32(ebp + (-0xD4)) = ecx; /* 0x250A8CA0: mov dword ptr [ebp - 0xd4], ecx */ 7117 L_250A8CA6: 7118 PUSH32(esp, ebx); /* 0x250A8CA6: push ebx */ 7119 L_250A8CA7: 7120 ecx = esi; /* 0x250A8CA7: mov ecx, esi */ 7121 L_250A8CA9: 7122 MEM32(ebp + (-0xD0)) = 0; /* 0x250A8CA9: mov dword ptr [ebp - 0xd0], 0 */ 7123 L_250A8CB3: 7124 MEM32(ebp + (-0xCC)) = edx; /* 0x250A8CB3: mov dword ptr [ebp - 0xcc], edx */ 7125 L_250A8CB9: 7126 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CB9: call 0x250a87e0 */ /* not lifted */ 7127 RECOMP_FLAGS_IN(); 7128 L_250A8CBE: 7129 goto L_250A8F26; /* 0x250A8CBE: jmp 0x250a8f26 */ 7130 L_250A8CC3: 7131 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CC3: mov ecx, dword ptr [ebp - 0x10] */ 7132 L_250A8CC6: 7133 edx = MEM32(ebp + (-0x14)); /* 0x250A8CC6: mov edx, dword ptr [ebp - 0x14] */ 7134 L_250A8CC9: 7135 PUSH32(esp, 3); /* 0x250A8CC9: push 3 */ 7136 L_250A8CCB: 7137 eax = ebp + (-0xF8); /* 0x250A8CCB: lea eax, [ebp - 0xf8] */ 7138 L_250A8CD1: 7139 PUSH32(esp, eax); /* 0x250A8CD1: push eax */ 7140 L_250A8CD2: 7141 MEM32(ebp + (-0xF8)) = ecx; /* 0x250A8CD2: mov dword ptr [ebp - 0xf8], ecx */ 7142 L_250A8CD8: 7143 PUSH32(esp, ebx); /* 0x250A8CD8: push ebx */ 7144 L_250A8CD9: 7145 ecx = esi; /* 0x250A8CD9: mov ecx, esi */ 7146 L_250A8CDB: 7147 MEM32(ebp + (-0xF4)) = 0; /* 0x250A8CDB: mov dword ptr [ebp - 0xf4], 0 */ 7148 L_250A8CE5: 7149 MEM32(ebp + (-0xF0)) = edx; /* 0x250A8CE5: mov dword ptr [ebp - 0xf0], edx */ 7150 L_250A8CEB: 7151 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CEB: call 0x250a87e0 */ /* not lifted */ 7152 RECOMP_FLAGS_IN(); 7153 L_250A8CF0: 7154 goto L_250A8F26; /* 0x250A8CF0: jmp 0x250a8f26 */ 7155 L_250A8CF5: 7156 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CF5: mov ecx, dword ptr [ebp - 0x10] */ 7157 L_250A8CF8: 7158 edx = MEM32(ebp + (-0x14)); /* 0x250A8CF8: mov edx, dword ptr [ebp - 0x14] */ 7159 L_250A8CFB: 7160 PUSH32(esp, 4); /* 0x250A8CFB: push 4 */ 7161 L_250A8CFD: 7162 eax = ebp + (-0x104); /* 0x250A8CFD: lea eax, [ebp - 0x104] */ 7163 L_250A8D03: 7164 PUSH32(esp, eax); /* 0x250A8D03: push eax */ 7165 L_250A8D04: 7166 MEM32(ebp + (-0x104)) = ecx; /* 0x250A8D04: mov dword ptr [ebp - 0x104], ecx */ 7167 L_250A8D0A: 7168 PUSH32(esp, ebx); /* 0x250A8D0A: push ebx */ 7169 L_250A8D0B: 7170 ecx = esi; /* 0x250A8D0B: mov ecx, esi */ 7171 L_250A8D0D: 7172 MEM32(ebp + (-0x100)) = 0; /* 0x250A8D0D: mov dword ptr [ebp - 0x100], 0 */ 7173 L_250A8D17: 7174 MEM32(ebp + (-0xFC)) = edx; /* 0x250A8D17: mov dword ptr [ebp - 0xfc], edx */ 7175 L_250A8D1D: 7176 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D1D: call 0x250a87e0 */ /* not lifted */ 7177 RECOMP_FLAGS_IN(); 7178 L_250A8D22: 7179 goto L_250A8F26; /* 0x250A8D22: jmp 0x250a8f26 */ 7180 L_250A8D27: 7181 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D27: mov ecx, dword ptr [ebp - 0x10] */ 7182 L_250A8D2A: 7183 edx = MEM32(ebp + (-0x14)); /* 0x250A8D2A: mov edx, dword ptr [ebp - 0x14] */ 7184 L_250A8D2D: 7185 PUSH32(esp, 5); /* 0x250A8D2D: push 5 */ 7186 L_250A8D2F: 7187 eax = ebp + (-0x98); /* 0x250A8D2F: lea eax, [ebp - 0x98] */ 7188 L_250A8D35: 7189 PUSH32(esp, eax); /* 0x250A8D35: push eax */ 7190 L_250A8D36: 7191 MEM32(ebp + (-0x98)) = ecx; /* 0x250A8D36: mov dword ptr [ebp - 0x98], ecx */ 7192 L_250A8D3C: 7193 PUSH32(esp, ebx); /* 0x250A8D3C: push ebx */ 7194 L_250A8D3D: 7195 ecx = esi; /* 0x250A8D3D: mov ecx, esi */ 7196 L_250A8D3F: 7197 MEM32(ebp + (-0x94)) = 0; /* 0x250A8D3F: mov dword ptr [ebp - 0x94], 0 */ 7198 L_250A8D49: 7199 MEM32(ebp + (-0x90)) = edx; /* 0x250A8D49: mov dword ptr [ebp - 0x90], edx */ 7200 L_250A8D4F: 7201 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D4F: call 0x250a87e0 */ /* not lifted */ 7202 RECOMP_FLAGS_IN(); 7203 L_250A8D54: 7204 goto L_250A8F26; /* 0x250A8D54: jmp 0x250a8f26 */ 7205 L_250A8D59: 7206 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D59: mov ecx, dword ptr [ebp - 0x10] */ 7207 L_250A8D5C: 7208 edx = MEM32(ebp + (-0x14)); /* 0x250A8D5C: mov edx, dword ptr [ebp - 0x14] */ 7209 L_250A8D5F: 7210 PUSH32(esp, 6); /* 0x250A8D5F: push 6 */ 7211 L_250A8D61: 7212 eax = ebp + (-0x50); /* 0x250A8D61: lea eax, [ebp - 0x50] */ 7213 L_250A8D64: 7214 PUSH32(esp, eax); /* 0x250A8D64: push eax */ 7215 L_250A8D65: 7216 MEM32(ebp + (-0x50)) = ecx; /* 0x250A8D65: mov dword ptr [ebp - 0x50], ecx */ 7217 L_250A8D68: 7218 PUSH32(esp, ebx); /* 0x250A8D68: push ebx */ 7219 L_250A8D69: 7220 ecx = esi; /* 0x250A8D69: mov ecx, esi */ 7221 L_250A8D6B: 7222 MEM32(ebp + (-0x4C)) = 0; /* 0x250A8D6B: mov dword ptr [ebp - 0x4c], 0 */ 7223 L_250A8D72: 7224 MEM32(ebp + (-0x48)) = edx; /* 0x250A8D72: mov dword ptr [ebp - 0x48], edx */ 7225 L_250A8D75: 7226 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D75: call 0x250a87e0 */ /* not lifted */ 7227 RECOMP_FLAGS_IN(); 7228 L_250A8D7A: 7229 goto L_250A8F26; /* 0x250A8D7A: jmp 0x250a8f26 */ 7230 L_250A8D7F: 7231 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D7F: mov ecx, dword ptr [ebp - 0x10] */ 7232 L_250A8D82: 7233 edx = MEM32(ebp + (-0x14)); /* 0x250A8D82: mov edx, dword ptr [ebp - 0x14] */ 7234 L_250A8D85: 7235 PUSH32(esp, 6); /* 0x250A8D85: push 6 */ 7236 L_250A8D87: 7237 eax = ebp + (-0x5C); /* 0x250A8D87: lea eax, [ebp - 0x5c] */ 7238 L_250A8D8A: 7239 PUSH32(esp, eax); /* 0x250A8D8A: push eax */ 7240 L_250A8D8B: 7241 MEM32(ebp + (-0x5C)) = ecx; /* 0x250A8D8B: mov dword ptr [ebp - 0x5c], ecx */ 7242 L_250A8D8E: 7243 PUSH32(esp, ebx); /* 0x250A8D8E: push ebx */ 7244 L_250A8D8F: 7245 ecx = esi; /* 0x250A8D8F: mov ecx, esi */ 7246 L_250A8D91: 7247 MEM32(ebp + (-0x58)) = 0; /* 0x250A8D91: mov dword ptr [ebp - 0x58], 0 */ 7248 L_250A8D98: 7249 MEM32(ebp + (-0x54)) = edx; /* 0x250A8D98: mov dword ptr [ebp - 0x54], edx */ 7250 L_250A8D9B: 7251 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D9B: call 0x250a87e0 */ /* not lifted */ 7252 RECOMP_FLAGS_IN(); 7253 L_250A8DA0: 7254 goto L_250A8F26; /* 0x250A8DA0: jmp 0x250a8f26 */ 7255 L_250A8DA5: 7256 ecx = MEM32(ebp + (-0x10)); /* 0x250A8DA5: mov ecx, dword ptr [ebp - 0x10] */ 7257 L_250A8DA8: 7258 edx = MEM32(ebp + (-0x14)); /* 0x250A8DA8: mov edx, dword ptr [ebp - 0x14] */ 7259 L_250A8DAB: 7260 PUSH32(esp, 7); /* 0x250A8DAB: push 7 */ 7261 L_250A8DAD: 7262 eax = ebp + (-0x74); /* 0x250A8DAD: lea eax, [ebp - 0x74] */ 7263 L_250A8DB0: 7264 PUSH32(esp, eax); /* 0x250A8DB0: push eax */ 7265 L_250A8DB1: 7266 MEM32(ebp + (-0x74)) = ecx; /* 0x250A8DB1: mov dword ptr [ebp - 0x74], ecx */ 7267 L_250A8DB4: 7268 PUSH32(esp, ebx); /* 0x250A8DB4: push ebx */ 7269 L_250A8DB5: 7270 ecx = esi; /* 0x250A8DB5: mov ecx, esi */ 7271 L_250A8DB7: 7272 MEM32(ebp + (-0x70)) = 0; /* 0x250A8DB7: mov dword ptr [ebp - 0x70], 0 */ 7273 L_250A8DBE: 7274 MEM32(ebp + (-0x6C)) = edx; /* 0x250A8DBE: mov dword ptr [ebp - 0x6c], edx */ 7275 L_250A8DC1: 7276 RECOMP_ICALL(0x250A87E0u); /* 0x250A8DC1: call 0x250a87e0 */ /* not lifted */ 7277 RECOMP_FLAGS_IN(); 7278 L_250A8DC6: 7279 goto L_250A8F26; /* 0x250A8DC6: jmp 0x250a8f26 */ 7280 L_250A8DCB: 7281 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x1Cu); 7282 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7283 edi = edi + 0x1Cu; /* 0x250A8DCB: add edi, 0x1c */ 7284 _flag_k = FK_ADD; 7285 L_250A8DCE: 7286 ecx = edi; /* 0x250A8DCE: mov ecx, edi */ 7287 L_250A8DD0: 7288 edx = MEM32(ecx); /* 0x250A8DD0: mov edx, dword ptr [ecx] */ 7289 L_250A8DD2: 7290 eax = MEM32(ecx + 0x4); /* 0x250A8DD2: mov eax, dword ptr [ecx + 4] */ 7291 L_250A8DD5: 7292 ecx = MEM32(ecx + 0x8); /* 0x250A8DD5: mov ecx, dword ptr [ecx + 8] */ 7293 L_250A8DD8: 7294 MEM32(ebp + (-0x8C)) = edx; /* 0x250A8DD8: mov dword ptr [ebp - 0x8c], edx */ 7295 L_250A8DDE: 7296 edx = ebp + (-0x28); /* 0x250A8DDE: lea edx, [ebp - 0x28] */ 7297 L_250A8DE1: 7298 MEM32(ebp + (-0x84)) = ecx; /* 0x250A8DE1: mov dword ptr [ebp - 0x84], ecx */ 7299 L_250A8DE7: 7300 PUSH32(esp, edx); /* 0x250A8DE7: push edx */ 7301 L_250A8DE8: 7302 ecx = ebp + (-0x8C); /* 0x250A8DE8: lea ecx, [ebp - 0x8c] */ 7303 L_250A8DEE: 7304 MEM32(ebp + (-0x28)) = 0; /* 0x250A8DEE: mov dword ptr [ebp - 0x28], 0 */ 7305 L_250A8DF5: 7306 MEM32(ebp + (-0x24)) = 0; /* 0x250A8DF5: mov dword ptr [ebp - 0x24], 0 */ 7307 L_250A8DFC: 7308 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x250A8DFC: mov dword ptr [ebp - 0x20], 0x3f800000 */ 7309 L_250A8E03: 7310 MEM32(ebp + (-0x88)) = eax; /* 0x250A8E03: mov dword ptr [ebp - 0x88], eax */ 7311 L_250A8E09: 7312 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A8E09: call dword ptr [0x25151564] */ 7313 RECOMP_FLAGS_IN(); 7314 L_250A8E0F: 7315 ecx = MEM32(eax); /* 0x250A8E0F: mov ecx, dword ptr [eax] */ 7316 L_250A8E11: 7317 MEM32(ebp + (-0xAC)) = ecx; /* 0x250A8E11: mov dword ptr [ebp - 0xac], ecx */ 7318 L_250A8E17: 7319 edx = MEM32(eax + 0x4); /* 0x250A8E17: mov edx, dword ptr [eax + 4] */ 7320 L_250A8E1A: 7321 MEM32(ebp + (-0xA8)) = edx; /* 0x250A8E1A: mov dword ptr [ebp - 0xa8], edx */ 7322 L_250A8E20: 7323 eax = MEM32(eax + 0x8); /* 0x250A8E20: mov eax, dword ptr [eax + 8] */ 7324 L_250A8E23: 7325 ecx = ebp + (-0xAC); /* 0x250A8E23: lea ecx, [ebp - 0xac] */ 7326 L_250A8E29: 7327 PUSH32(esp, ecx); /* 0x250A8E29: push ecx */ 7328 L_250A8E2A: 7329 edx = ebp + (-0xB8); /* 0x250A8E2A: lea edx, [ebp - 0xb8] */ 7330 L_250A8E30: 7331 PUSH32(esp, edx); /* 0x250A8E30: push edx */ 7332 L_250A8E31: 7333 ecx = edi; /* 0x250A8E31: mov ecx, edi */ 7334 L_250A8E33: 7335 MEM32(ebp + (-0xA4)) = eax; /* 0x250A8E33: mov dword ptr [ebp - 0xa4], eax */ 7336 L_250A8E39: 7337 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250A8E39: call dword ptr [0x25151570] */ 7338 RECOMP_FLAGS_IN(); 7339 L_250A8E3F: 7340 fp_push(*(float*)&MEM32(edi + 0xC)); /* 0x250A8E3F: fld dword ptr [edi + 0xc] */ 7341 L_250A8E42: 7342 ecx = MEM32(eax); /* 0x250A8E42: mov ecx, dword ptr [eax] */ 7343 L_250A8E44: 7344 _st[0] += _st[0]; /* 0x250A8E44: fadd st(0), st(0) */ 7345 L_250A8E46: 7346 MEM32(ebp + (-0x3C)) = ecx; /* 0x250A8E46: mov dword ptr [ebp - 0x3c], ecx */ 7347 L_250A8E49: 7348 edx = MEM32(eax + 0x4); /* 0x250A8E49: mov edx, dword ptr [eax + 4] */ 7349 L_250A8E4C: 7350 MEM32(ebp + (-0x38)) = edx; /* 0x250A8E4C: mov dword ptr [ebp - 0x38], edx */ 7351 L_250A8E4F: 7352 eax = MEM32(eax + 0x8); /* 0x250A8E4F: mov eax, dword ptr [eax + 8] */ 7353 L_250A8E52: 7354 PUSH32(esp, ecx); /* 0x250A8E52: push ecx */ 7355 L_250A8E53: 7356 ecx = ebp + (-0xAC); /* 0x250A8E53: lea ecx, [ebp - 0xac] */ 7357 L_250A8E59: 7358 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8E59: fstp dword ptr [esp] */ 7359 L_250A8E5C: 7360 MEM32(ebp + (-0x34)) = eax; /* 0x250A8E5C: mov dword ptr [ebp - 0x34], eax */ 7361 L_250A8E5F: 7362 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E5F: call dword ptr [0x25151510] */ 7363 RECOMP_FLAGS_IN(); 7364 L_250A8E65: 7365 PUSH32(esp, 0x40000000u); /* 0x250A8E65: push 0x40000000 */ 7366 L_250A8E6A: 7367 ecx = ebp + (-0x3C); /* 0x250A8E6A: lea ecx, [ebp - 0x3c] */ 7368 L_250A8E6D: 7369 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E6D: call dword ptr [0x25151510] */ 7370 RECOMP_FLAGS_IN(); 7371 L_250A8E73: 7372 ecx = ebp + (-0xAC); /* 0x250A8E73: lea ecx, [ebp - 0xac] */ 7373 L_250A8E79: 7374 PUSH32(esp, ecx); /* 0x250A8E79: push ecx */ 7375 L_250A8E7A: 7376 ecx = ebp + (-0x28); /* 0x250A8E7A: lea ecx, [ebp - 0x28] */ 7377 L_250A8E7D: 7378 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E7D: call dword ptr [0x251514f8] */ 7379 RECOMP_FLAGS_IN(); 7380 L_250A8E83: 7381 edx = ebp + (-0x3C); /* 0x250A8E83: lea edx, [ebp - 0x3c] */ 7382 L_250A8E86: 7383 PUSH32(esp, edx); /* 0x250A8E86: push edx */ 7384 L_250A8E87: 7385 ecx = ebp + (-0x28); /* 0x250A8E87: lea ecx, [ebp - 0x28] */ 7386 L_250A8E8A: 7387 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E8A: call dword ptr [0x251514f8] */ 7388 RECOMP_FLAGS_IN(); 7389 L_250A8E90: 7390 eax = MEM32(esi + 0x70); /* 0x250A8E90: mov eax, dword ptr [esi + 0x70] */ 7391 L_250A8E93: 7392 /* test eax, eax */ /* 0x250A8E93: test eax, eax */ 7393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7394 _cf = 0; 7395 _flag_k = FK_TEST; 7396 L_250A8E95: 7397 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8EA1; /* 0x250A8E95: je 0x250a8ea1 */ 7398 L_250A8E97: 7399 eax = MEM32(eax + 0x28); /* 0x250A8E97: mov eax, dword ptr [eax + 0x28] */ 7400 L_250A8E9A: 7401 PUSH32(esp, 0xAu); /* 0x250A8E9A: push 0xa */ 7402 L_250A8E9C: 7403 PUSH32(esp, 0); /* 0x250A8E9C: push 0 */ 7404 L_250A8E9E: 7405 PUSH32(esp, eax); /* 0x250A8E9E: push eax */ 7406 L_250A8E9F: 7407 goto L_250A8EA7; /* 0x250A8E9F: jmp 0x250a8ea7 */ 7408 L_250A8EA1: 7409 PUSH32(esp, 0xAu); /* 0x250A8EA1: push 0xa */ 7410 L_250A8EA3: 7411 PUSH32(esp, 0); /* 0x250A8EA3: push 0 */ 7412 L_250A8EA5: 7413 PUSH32(esp, 0); /* 0x250A8EA5: push 0 */ 7414 L_250A8EA7: 7415 ecx = MEM32(ebx + 0x8); /* 0x250A8EA7: mov ecx, dword ptr [ebx + 8] */ 7416 L_250A8EAA: 7417 RECOMP_ICALL(0x250EFF90u); /* 0x250A8EAA: call 0x250eff90 */ /* not lifted */ 7418 RECOMP_FLAGS_IN(); 7419 L_250A8EAF: 7420 ecx = ebx; /* 0x250A8EAF: mov ecx, ebx */ 7421 L_250A8EB1: 7422 RECOMP_ICALL(0x250E05D0u); /* 0x250A8EB1: call 0x250e05d0 */ /* not lifted */ 7423 RECOMP_FLAGS_IN(); 7424 L_250A8EB6: 7425 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A8EB6: fld dword ptr [ebp - 0x28] */ 7426 L_250A8EB9: 7427 _st[0] = -_st[0]; /* 0x250A8EB9: fchs */ 7428 L_250A8EBB: 7429 eax = MEM32(ebp + (-0x10)); /* 0x250A8EBB: mov eax, dword ptr [ebp - 0x10] */ 7430 L_250A8EBE: 7431 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A8EBE: fld dword ptr [ebp - 0x20] */ 7432 L_250A8EC1: 7433 ecx = MEM32(ebp + (-0x14)); /* 0x250A8EC1: mov ecx, dword ptr [ebp - 0x14] */ 7434 L_250A8EC4: 7435 _st[0] = -_st[0]; /* 0x250A8EC4: fchs */ 7436 L_250A8EC6: 7437 MEM32(ebp + (-0x80)) = eax; /* 0x250A8EC6: mov dword ptr [ebp - 0x80], eax */ 7438 L_250A8EC9: 7439 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A8EC9: fpatan */ 7440 L_250A8ECB: 7441 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x250A8ECB: mov al, byte ptr [ebp - 0x29] */ 7442 L_250A8ECE: 7443 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7444 edx = 0; /* 0x250A8ECE: xor edx, edx */ 7445 _cf = 0; 7446 _flag_k = FK_TEST; 7447 L_250A8ED0: 7448 /* test LO8(eax), LO8(eax) */ /* 0x250A8ED0: test al, al */ 7449 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7450 _cf = 0; 7451 _flag_k = FK_NARROW(FK_TEST, 24); 7452 L_250A8ED2: 7453 SET_LO8(edx, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8ED2: setne dl */ 7454 L_250A8ED5: 7455 eax = ebp + (-0x80); /* 0x250A8ED5: lea eax, [ebp - 0x80] */ 7456 L_250A8ED8: 7457 MEM32(ebp + (-0x78)) = ecx; /* 0x250A8ED8: mov dword ptr [ebp - 0x78], ecx */ 7458 L_250A8EDB: 7459 MEM32(ebp + (-0x7C)) = 0; /* 0x250A8EDB: mov dword ptr [ebp - 0x7c], 0 */ 7460 L_250A8EE2: 7461 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 7462 edx = edx + 1; /* 0x250A8EE2: inc edx */ 7463 _flag_k = FK_INC; 7464 L_250A8EE3: 7465 PUSH32(esp, edx); /* 0x250A8EE3: push edx */ 7466 L_250A8EE4: 7467 PUSH32(esp, ecx); /* 0x250A8EE4: push ecx */ 7468 L_250A8EE5: 7469 ecx = esi; /* 0x250A8EE5: mov ecx, esi */ 7470 L_250A8EE7: 7471 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A8EE7: fmul dword ptr [0x25156404] */ 7472 L_250A8EED: 7473 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A8EED: fadd dword ptr [0x25151788] */ 7474 L_250A8EF3: 7475 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8EF3: fstp dword ptr [esp] */ 7476 L_250A8EF6: 7477 PUSH32(esp, eax); /* 0x250A8EF6: push eax */ 7478 L_250A8EF7: 7479 PUSH32(esp, ebx); /* 0x250A8EF7: push ebx */ 7480 L_250A8EF8: 7481 RECOMP_ICALL(0x250A8830u); /* 0x250A8EF8: call 0x250a8830 */ /* not lifted */ 7482 RECOMP_FLAGS_IN(); 7483 L_250A8EFD: 7484 eax = MEM32(esi + 0x6C); /* 0x250A8EFD: mov eax, dword ptr [esi + 0x6c] */ 7485 L_250A8F00: 7486 /* test eax, eax */ /* 0x250A8F00: test eax, eax */ 7487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7488 _cf = 0; 7489 _flag_k = FK_TEST; 7490 L_250A8F02: 7491 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F0E; /* 0x250A8F02: je 0x250a8f0e */ 7492 L_250A8F04: 7493 eax = MEM32(eax + 0x28); /* 0x250A8F04: mov eax, dword ptr [eax + 0x28] */ 7494 L_250A8F07: 7495 PUSH32(esp, 0xAu); /* 0x250A8F07: push 0xa */ 7496 L_250A8F09: 7497 PUSH32(esp, 0); /* 0x250A8F09: push 0 */ 7498 L_250A8F0B: 7499 PUSH32(esp, eax); /* 0x250A8F0B: push eax */ 7500 L_250A8F0C: 7501 goto L_250A8F14; /* 0x250A8F0C: jmp 0x250a8f14 */ 7502 L_250A8F0E: 7503 PUSH32(esp, 0xAu); /* 0x250A8F0E: push 0xa */ 7504 L_250A8F10: 7505 PUSH32(esp, 0); /* 0x250A8F10: push 0 */ 7506 L_250A8F12: 7507 PUSH32(esp, 0); /* 0x250A8F12: push 0 */ 7508 L_250A8F14: 7509 ecx = MEM32(ebx + 0x8); /* 0x250A8F14: mov ecx, dword ptr [ebx + 8] */ 7510 L_250A8F17: 7511 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F17: call 0x250eff90 */ /* not lifted */ 7512 RECOMP_FLAGS_IN(); 7513 L_250A8F1C: 7514 ecx = ebx; /* 0x250A8F1C: mov ecx, ebx */ 7515 L_250A8F1E: 7516 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F1E: call 0x250e05d0 */ /* not lifted */ 7517 RECOMP_FLAGS_IN(); 7518 L_250A8F23: 7519 edi = MEM32(ebp + (-0x1C)); /* 0x250A8F23: mov edi, dword ptr [ebp - 0x1c] */ 7520 L_250A8F26: 7521 ecx = MEM32(ebp + 0xC); /* 0x250A8F26: mov ecx, dword ptr [ebp + 0xc] */ 7522 L_250A8F29: 7523 edi = MEM32(edi); /* 0x250A8F29: mov edi, dword ptr [edi] */ 7524 L_250A8F2B: 7525 /* cmp edi, MEM32(ecx + 0x4) */ /* 0x250A8F2B: cmp edi, dword ptr [ecx + 4] */ 7526 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7528 _flag_k = FK_CMP; 7529 L_250A8F2E: 7530 MEM32(ebp + (-0x1C)) = edi; /* 0x250A8F2E: mov dword ptr [ebp - 0x1c], edi */ 7531 L_250A8F31: 7532 RECOMP_BACKEDGE(); 7533 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B50; /* 0x250A8F31: jne 0x250a8b50 */ 7534 L_250A8F37: 7535 eax = MEM32(esi + 0xAC); /* 0x250A8F37: mov eax, dword ptr [esi + 0xac] */ 7536 L_250A8F3D: 7537 /* test eax, eax */ /* 0x250A8F3D: test eax, eax */ 7538 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7539 _cf = 0; 7540 _flag_k = FK_TEST; 7541 L_250A8F3F: 7542 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F3F: je 0x250a90b9 */ 7543 L_250A8F45: 7544 ecx = MEM32(esi + 0xB0); /* 0x250A8F45: mov ecx, dword ptr [esi + 0xb0] */ 7545 L_250A8F4B: 7546 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7548 ecx = ecx - eax; /* 0x250A8F4B: sub ecx, eax */ 7549 _flag_k = FK_CMP; 7550 L_250A8F4D: 7551 eax = 0x66666667u; /* 0x250A8F4D: mov eax, 0x66666667 */ 7552 L_250A8F52: 7553 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A8F52: imul ecx */ 7554 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 7555 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 7556 L_250A8F54: 7557 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A8F54: sar edx, 3 */ 7558 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7559 edx = (uint32_t)((int32_t)edx >> 3u); 7560 L_250A8F57: 7561 eax = edx; /* 0x250A8F57: mov eax, edx */ 7562 L_250A8F59: 7563 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A8F59: shr eax, 0x1f */ 7564 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7565 eax = eax >> 31u; /* 0x250A8F59: shr eax, 0x1f */ 7566 L_250A8F5C: 7567 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7568 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7569 edx = edx + eax; /* 0x250A8F5C: add edx, eax */ 7570 _flag_k = FK_ADD; 7571 L_250A8F5E: 7572 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F5E: je 0x250a90b9 */ 7573 L_250A8F64: 7574 eax = MEM32(esi + 0x70); /* 0x250A8F64: mov eax, dword ptr [esi + 0x70] */ 7575 L_250A8F67: 7576 /* test eax, eax */ /* 0x250A8F67: test eax, eax */ 7577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7578 _cf = 0; 7579 _flag_k = FK_TEST; 7580 L_250A8F69: 7581 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F75; /* 0x250A8F69: je 0x250a8f75 */ 7582 L_250A8F6B: 7583 eax = MEM32(eax + 0x28); /* 0x250A8F6B: mov eax, dword ptr [eax + 0x28] */ 7584 L_250A8F6E: 7585 PUSH32(esp, 0xAu); /* 0x250A8F6E: push 0xa */ 7586 L_250A8F70: 7587 PUSH32(esp, 0); /* 0x250A8F70: push 0 */ 7588 L_250A8F72: 7589 PUSH32(esp, eax); /* 0x250A8F72: push eax */ 7590 L_250A8F73: 7591 goto L_250A8F7B; /* 0x250A8F73: jmp 0x250a8f7b */ 7592 L_250A8F75: 7593 PUSH32(esp, 0xAu); /* 0x250A8F75: push 0xa */ 7594 L_250A8F77: 7595 PUSH32(esp, 0); /* 0x250A8F77: push 0 */ 7596 L_250A8F79: 7597 PUSH32(esp, 0); /* 0x250A8F79: push 0 */ 7598 L_250A8F7B: 7599 ecx = MEM32(ebx + 0x8); /* 0x250A8F7B: mov ecx, dword ptr [ebx + 8] */ 7600 L_250A8F7E: 7601 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F7E: call 0x250eff90 */ /* not lifted */ 7602 RECOMP_FLAGS_IN(); 7603 L_250A8F83: 7604 ecx = ebx; /* 0x250A8F83: mov ecx, ebx */ 7605 L_250A8F85: 7606 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F85: call 0x250e05d0 */ /* not lifted */ 7607 RECOMP_FLAGS_IN(); 7608 L_250A8F8A: 7609 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7610 eax = 0; /* 0x250A8F8A: xor eax, eax */ 7611 _cf = 0; 7612 _flag_k = FK_TEST; 7613 L_250A8F8C: 7614 MEM32(ebp + (-0x128)) = 4; /* 0x250A8F8C: mov dword ptr [ebp - 0x128], 4 */ 7615 L_250A8F96: 7616 MEM32(ebp + (-0x124)) = 7; /* 0x250A8F96: mov dword ptr [ebp - 0x124], 7 */ 7617 L_250A8FA0: 7618 MEM32(ebp + (-0x120)) = 0xAu; /* 0x250A8FA0: mov dword ptr [ebp - 0x120], 0xa */ 7619 L_250A8FAA: 7620 MEM32(ebp + (-0x11C)) = 3; /* 0x250A8FAA: mov dword ptr [ebp - 0x11c], 3 */ 7621 L_250A8FB4: 7622 MEM32(ebp + (-0x118)) = 6; /* 0x250A8FB4: mov dword ptr [ebp - 0x118], 6 */ 7623 L_250A8FBE: 7624 MEM32(ebp + (-0x114)) = 9; /* 0x250A8FBE: mov dword ptr [ebp - 0x114], 9 */ 7625 L_250A8FC8: 7626 MEM32(ebp + (-0x110)) = 5; /* 0x250A8FC8: mov dword ptr [ebp - 0x110], 5 */ 7627 L_250A8FD2: 7628 MEM32(ebp + (-0x10C)) = 8; /* 0x250A8FD2: mov dword ptr [ebp - 0x10c], 8 */ 7629 L_250A8FDC: 7630 MEM32(ebp + (-0x108)) = 0xBu; /* 0x250A8FDC: mov dword ptr [ebp - 0x108], 0xb */ 7631 L_250A8FE6: 7632 MEM32(ebp + 0x8) = eax; /* 0x250A8FE6: mov dword ptr [ebp + 8], eax */ 7633 L_250A8FE9: 7634 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 7635 L_250A8FEC: 7636 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 7637 L_250A8FF2: 7638 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 7639 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7640 _cf = 0; 7641 _flag_k = FK_TEST; 7642 L_250A8FF4: 7643 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 7644 L_250A8FFA: 7645 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 7646 L_250A9000: 7647 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7649 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 7650 _flag_k = FK_CMP; 7651 L_250A9002: 7652 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 7653 L_250A9007: 7654 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 7655 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 7656 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 7657 L_250A9009: 7658 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 7659 L_250A900C: 7660 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 7661 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7662 edx = (uint32_t)((int32_t)edx >> 3u); 7663 L_250A900F: 7664 ecx = edx; /* 0x250A900F: mov ecx, edx */ 7665 L_250A9011: 7666 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 7667 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7668 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 7669 L_250A9014: 7670 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 7671 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7672 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 7673 _flag_k = FK_ADD; 7674 L_250A9016: 7675 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 7676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7678 _flag_k = FK_CMP; 7679 L_250A9018: 7680 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 7681 L_250A901E: 7682 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 7683 L_250A9021: 7684 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 7685 L_250A9027: 7686 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 7687 L_250A902A: 7688 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 7689 L_250A902D: 7690 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7691 eax = eax - 1; /* 0x250A902D: dec eax */ 7692 _flag_k = FK_DEC; 7693 L_250A902E: 7694 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 7695 L_250A9030: 7696 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7697 eax = eax - 1; /* 0x250A9030: dec eax */ 7698 _flag_k = FK_DEC; 7699 L_250A9031: 7700 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 7701 L_250A9033: 7702 eax = 2; /* 0x250A9033: mov eax, 2 */ 7703 L_250A9038: 7704 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 7705 L_250A903A: 7706 eax = 1; /* 0x250A903A: mov eax, 1 */ 7707 L_250A903F: 7708 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 7709 L_250A9041: 7710 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7711 eax = 0; /* 0x250A9041: xor eax, eax */ 7712 _cf = 0; 7713 _flag_k = FK_TEST; 7714 L_250A9043: 7715 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 7716 L_250A9046: 7717 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7718 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 7719 _cf = 0; 7720 _flag_k = FK_TEST; 7721 L_250A9048: 7722 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 7723 edx = edx - 1; /* 0x250A9048: dec edx */ 7724 _flag_k = FK_DEC; 7725 L_250A9049: 7726 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 7727 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 7728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7729 _flag_k = FK_CMP; 7730 L_250A904C: 7731 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 7732 L_250A904E: 7733 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 7734 L_250A9055: 7735 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7736 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 7737 _cf = 0; 7738 _flag_k = FK_TEST; 7739 L_250A9057: 7740 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 7741 L_250A9059: 7742 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 7743 L_250A905E: 7744 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 7745 L_250A9060: 7746 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 7747 L_250A9065: 7748 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 7749 L_250A9068: 7750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7751 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7752 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 7753 _flag_k = FK_ADD; 7754 L_250A906A: 7755 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 7756 L_250A9071: 7757 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 7758 L_250A9076: 7759 eax = ecx; /* 0x250A9076: mov eax, ecx */ 7760 L_250A9078: 7761 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 7762 L_250A9079: 7763 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 7764 L_250A907B: 7765 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 7766 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 7767 _cf = 0; 7768 _flag_k = FK_TEST; 7769 L_250A907E: 7770 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 7771 L_250A9080: 7772 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7774 eax = eax + edx; /* 0x250A9080: add eax, edx */ 7775 _flag_k = FK_ADD; 7776 L_250A9082: 7777 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 7778 L_250A9084: 7779 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 7780 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7781 eax = (uint32_t)((int32_t)eax >> 2u); 7782 L_250A9087: 7783 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 7784 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7785 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 7786 L_250A908A: 7787 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 7788 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 7789 _cf = 0; 7790 _flag_k = FK_TEST; 7791 L_250A9090: 7792 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 7793 L_250A9092: 7794 PUSH32(esp, eax); /* 0x250A9092: push eax */ 7795 L_250A9093: 7796 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 7797 L_250A9095: 7798 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7799 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 7800 _flag_k = FK_DEC; 7801 L_250A9096: 7802 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 7803 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 7804 _cf = 0; 7805 _flag_k = FK_TEST; 7806 L_250A9099: 7807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7808 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 7809 _flag_k = FK_INC; 7810 L_250A909A: 7811 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 7812 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7813 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 7814 L_250A909D: 7815 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 7816 L_250A909E: 7817 PUSH32(esp, edi); /* 0x250A909E: push edi */ 7818 L_250A909F: 7819 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 7820 L_250A90A0: 7821 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 7822 L_250A90A2: 7823 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 7824 RECOMP_FLAGS_IN(); 7825 L_250A90A7: 7826 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 7827 L_250A90AA: 7828 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 7829 L_250A90AD: 7830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7831 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 7832 _flag_k = FK_INC; 7833 L_250A90AE: 7834 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 7835 L_250A90B1: 7836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 7837 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7838 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 7839 _flag_k = FK_ADD; 7840 L_250A90B4: 7841 RECOMP_BACKEDGE(); 7842 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 7843 L_250A90B9: 7844 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 7845 L_250A90BC: 7846 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 7847 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7848 _cf = 0; 7849 _flag_k = FK_NARROW(FK_TEST, 24); 7850 L_250A90BE: 7851 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 7852 L_250A90C4: 7853 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 7854 L_250A90C7: 7855 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 7856 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7857 _cf = 0; 7858 _flag_k = FK_TEST; 7859 L_250A90C9: 7860 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 7861 L_250A90CF: 7862 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 7863 L_250A90D2: 7864 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 7865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7866 _cf = 0; 7867 _flag_k = FK_TEST; 7868 L_250A90D4: 7869 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 7870 L_250A90D6: 7871 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 7872 L_250A90D9: 7873 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 7874 L_250A90DB: 7875 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 7876 L_250A90DD: 7877 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 7878 L_250A90DE: 7879 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 7880 L_250A90E0: 7881 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 7882 L_250A90E2: 7883 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 7884 L_250A90E4: 7885 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 7886 L_250A90E6: 7887 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 7888 L_250A90E9: 7889 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 7890 RECOMP_FLAGS_IN(); 7891 L_250A90EE: 7892 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 7893 L_250A90F0: 7894 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 7895 RECOMP_FLAGS_IN(); 7896 L_250A90F5: 7897 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7898 edi = 0; /* 0x250A90F5: xor edi, edi */ 7899 _cf = 0; 7900 _flag_k = FK_TEST; 7901 L_250A90F7: 7902 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 7903 L_250A90FA: 7904 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 7905 L_250A9100: 7906 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 7907 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7908 _cf = 0; 7909 _flag_k = FK_TEST; 7910 L_250A9102: 7911 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 7912 L_250A9104: 7913 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 7914 L_250A910A: 7915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7917 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 7918 _flag_k = FK_CMP; 7919 L_250A910C: 7920 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 7921 L_250A9111: 7922 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 7923 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 7924 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 7925 L_250A9113: 7926 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 7927 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7928 edx = (uint32_t)((int32_t)edx >> 3u); 7929 L_250A9116: 7930 eax = edx; /* 0x250A9116: mov eax, edx */ 7931 L_250A9118: 7932 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 7933 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7934 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 7935 L_250A911B: 7936 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7937 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7938 edx = edx + eax; /* 0x250A911B: add edx, eax */ 7939 _flag_k = FK_ADD; 7940 L_250A911D: 7941 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 7942 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7944 _flag_k = FK_CMP; 7945 L_250A911F: 7946 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 7947 L_250A9121: 7948 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 7949 L_250A9127: 7950 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 7951 L_250A912A: 7952 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 7953 L_250A912D: 7954 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 7955 L_250A9130: 7956 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 7957 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7958 _cf = 0; 7959 _flag_k = FK_TEST; 7960 L_250A9132: 7961 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 7962 L_250A9134: 7963 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 7964 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 7965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7966 _flag_k = FK_CMP; 7967 L_250A9137: 7968 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 7969 L_250A913C: 7970 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 7971 L_250A913E: 7972 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 7973 L_250A9143: 7974 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 7975 L_250A9144: 7976 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 7977 L_250A9149: 7978 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 7979 L_250A914E: 7980 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 7981 L_250A9150: 7982 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 7983 L_250A9152: 7984 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 7985 L_250A9154: 7986 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 7987 L_250A9156: 7988 PUSH32(esp, eax); /* 0x250A9156: push eax */ 7989 L_250A9157: 7990 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 7991 L_250A9158: 7992 ecx = esi; /* 0x250A9158: mov ecx, esi */ 7993 L_250A915A: 7994 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 7995 RECOMP_FLAGS_IN(); 7996 L_250A915F: 7997 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 7998 L_250A9162: 7999 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8000 edi = edi + 1; /* 0x250A9162: inc edi */ 8001 _flag_k = FK_INC; 8002 L_250A9163: 8003 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 8004 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8005 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 8006 _flag_k = FK_ADD; 8007 L_250A9166: 8008 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 8009 L_250A9169: 8010 RECOMP_BACKEDGE(); 8011 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 8012 L_250A916B: 8013 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 8014 L_250A916E: 8015 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 8016 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8017 _cf = 0; 8018 _flag_k = FK_NARROW(FK_TEST, 24); 8019 L_250A9170: 8020 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 8021 L_250A9172: 8022 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 8023 L_250A9178: 8024 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 8025 L_250A917D: 8026 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 8027 L_250A9183: 8028 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 8029 L_250A9188: 8030 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 8031 L_250A918E: 8032 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 8033 L_250A9190: 8034 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 8035 L_250A9192: 8036 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 8037 L_250A9195: 8038 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 8039 L_250A9197: 8040 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 8041 L_250A919A: 8042 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 8043 L_250A919D: 8044 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 8045 L_250A91A2: 8046 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 8047 L_250A91A4: 8048 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 8049 L_250A91A6: 8050 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 8051 L_250A91A8: 8052 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 8053 L_250A91AB: 8054 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 8055 L_250A91AD: 8056 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 8057 L_250A91B0: 8058 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 8059 L_250A91B1: 8060 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 8061 L_250A91B2: 8062 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 8063 L_250A91B4: 8064 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 8065 L_250A91B7: 8066 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 8067 L_250A91BA: 8068 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 8069 L_250A91BC: 8070 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 8071 L_250A91BF: 8072 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 8073 L_250A91C5: 8074 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 8075 L_250A91C8: 8076 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 8077 L_250A91CB: 8078 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 8079 L_250A91D1: 8080 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 8081 L_250A91D4: 8082 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 8083 L_250A91D7: 8084 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 8085 RECOMP_FLAGS_IN(); 8086 L_250A91DC: 8087 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 8088 L_250A91E2: 8089 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 8090 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8091 _cf = 0; 8092 _flag_k = FK_NARROW(FK_TEST, 24); 8093 L_250A91E4: 8094 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 8095 L_250A91EA: 8096 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 8097 L_250A91F0: 8098 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 8099 L_250A91F6: 8100 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 8101 L_250A91FC: 8102 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 8103 L_250A91FE: 8104 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 8105 L_250A9200: 8106 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 8107 L_250A9202: 8108 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 8109 L_250A9209: 8110 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 8111 L_250A920C: 8112 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 8113 L_250A920F: 8114 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 8115 RECOMP_FLAGS_IN(); 8116 L_250A9214: 8117 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 8118 L_250A9217: 8119 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 8120 L_250A921C: 8121 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 8122 L_250A9222: 8123 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 8124 L_250A9228: 8125 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 8126 L_250A922A: 8127 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 8128 L_250A922C: 8129 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8130 edi = 0; /* 0x250A922C: xor edi, edi */ 8131 _cf = 0; 8132 _flag_k = FK_TEST; 8133 L_250A922E: 8134 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 8135 L_250A9230: 8136 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 8137 L_250A9233: 8138 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 8139 L_250A923A: 8140 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 8141 L_250A923D: 8142 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 8143 L_250A9240: 8144 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 8145 RECOMP_FLAGS_IN(); 8146 L_250A9245: 8147 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 8148 L_250A9248: 8149 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 8150 L_250A924E: 8151 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 8152 L_250A9254: 8153 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 8154 L_250A925A: 8155 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 8156 L_250A925C: 8157 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 8158 L_250A925E: 8159 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 8160 L_250A9260: 8161 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 8162 L_250A9264: 8163 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 8164 L_250A926B: 8165 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 8166 L_250A9271: 8167 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 8168 L_250A9274: 8169 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 8170 RECOMP_FLAGS_IN(); 8171 L_250A9279: 8172 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 8173 L_250A927C: 8174 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 8175 L_250A9282: 8176 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 8177 L_250A9288: 8178 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 8179 L_250A928E: 8180 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 8181 L_250A9290: 8182 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 8183 L_250A9292: 8184 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 8185 L_250A9294: 8186 PUSH32(esp, edi); /* 0x250A9294: push edi */ 8187 L_250A9295: 8188 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 8189 L_250A9299: 8190 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 8191 L_250A929F: 8192 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 8193 L_250A92A9: 8194 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 8195 L_250A92AC: 8196 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 8197 L_250A92B2: 8198 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 8199 RECOMP_FLAGS_IN(); 8200 L_250A92B7: 8201 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 8202 L_250A92BD: 8203 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 8204 L_250A92C2: 8205 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 8206 L_250A92C8: 8207 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 8208 L_250A92CE: 8209 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 8210 L_250A92D0: 8211 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 8212 L_250A92D1: 8213 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 8214 L_250A92D3: 8215 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 8216 L_250A92D4: 8217 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 8218 L_250A92D8: 8219 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 8220 L_250A92DE: 8221 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 8222 L_250A92E8: 8223 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 8224 L_250A92EB: 8225 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 8226 L_250A92F1: 8227 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 8228 RECOMP_FLAGS_IN(); 8229 L_250A92F6: 8230 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 8231 L_250A92FC: 8232 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 8233 L_250A92FF: 8234 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 8235 L_250A9301: 8236 PUSH32(esp, edi); /* 0x250A9301: push edi */ 8237 L_250A9302: 8238 PUSH32(esp, edi); /* 0x250A9302: push edi */ 8239 L_250A9303: 8240 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 8241 L_250A9307: 8242 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 8243 RECOMP_FLAGS_IN(); 8244 L_250A930C: 8245 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 8246 L_250A930E: 8247 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 8248 RECOMP_FLAGS_IN(); 8249 L_250A9313: 8250 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 8251 L_250A9316: 8252 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 8253 L_250A9319: 8254 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 8255 L_250A931B: 8256 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 8257 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8259 _flag_k = FK_CMP; 8260 L_250A931D: 8261 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 8262 L_250A9323: 8263 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 8264 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 8265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8266 _flag_k = FK_CMP; 8267 L_250A9327: 8268 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 8269 L_250A932D: 8270 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 8271 L_250A9330: 8272 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 8273 L_250A9333: 8274 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 8275 L_250A9336: 8276 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 8277 L_250A9339: 8278 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 8279 L_250A933B: 8280 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 8281 L_250A933E: 8282 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 8283 L_250A9341: 8284 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 8285 L_250A9344: 8286 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 8287 L_250A9347: 8288 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 8289 L_250A934A: 8290 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 8291 L_250A934B: 8292 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 8293 L_250A934E: 8294 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 8295 L_250A9355: 8296 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 8297 L_250A935C: 8298 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 8299 L_250A9363: 8300 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 8301 L_250A9366: 8302 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 8303 L_250A9369: 8304 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 8305 RECOMP_FLAGS_IN(); 8306 L_250A936F: 8307 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 8308 L_250A9371: 8309 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 8310 L_250A9374: 8311 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 8312 L_250A9377: 8313 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 8314 L_250A937A: 8315 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 8316 L_250A937D: 8317 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 8318 L_250A9380: 8319 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 8320 L_250A9382: 8321 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 8322 L_250A9388: 8323 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 8324 L_250A938B: 8325 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 8326 L_250A938E: 8327 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 8328 L_250A9391: 8329 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 8330 L_250A9394: 8331 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 8332 L_250A9395: 8333 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 8334 L_250A939B: 8335 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 8336 L_250A93A1: 8337 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 8338 L_250A93A7: 8339 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 8340 RECOMP_FLAGS_IN(); 8341 L_250A93AD: 8342 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 8343 L_250A93B0: 8344 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 8345 L_250A93B2: 8346 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 8347 L_250A93B4: 8348 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 8349 L_250A93B7: 8350 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 8351 L_250A93BA: 8352 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 8353 L_250A93BD: 8354 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 8355 L_250A93BF: 8356 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 8357 L_250A93C2: 8358 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 8359 L_250A93C5: 8360 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 8361 L_250A93CA: 8362 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 8363 L_250A93CD: 8364 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 8365 L_250A93D0: 8366 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 8367 L_250A93D3: 8368 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 8369 L_250A93D6: 8370 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 8371 L_250A93D8: 8372 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 8373 L_250A93DB: 8374 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 8375 L_250A93DE: 8376 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 8377 L_250A93E0: 8378 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 8379 L_250A93E3: 8380 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 8381 L_250A93E5: 8382 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 8383 RECOMP_FLAGS_IN(); 8384 L_250A93EB: 8385 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 8386 L_250A93EE: 8387 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 8388 L_250A93EF: 8389 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 8390 L_250A93F2: 8391 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 8392 RECOMP_FLAGS_IN(); 8393 L_250A93F8: 8394 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 8395 L_250A93FB: 8396 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 8397 L_250A93FC: 8398 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 8399 L_250A93FF: 8400 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 8401 RECOMP_FLAGS_IN(); 8402 L_250A9405: 8403 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 8404 L_250A9408: 8405 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 8406 L_250A940A: 8407 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 8408 L_250A940D: 8409 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 8410 L_250A9410: 8411 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 8412 L_250A9413: 8413 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 8414 L_250A9415: 8415 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 8416 L_250A9418: 8417 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 8418 L_250A941A: 8419 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 8420 L_250A9420: 8421 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 8422 L_250A9421: 8423 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 8424 L_250A942B: 8425 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 8426 L_250A9431: 8427 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 8428 L_250A9437: 8429 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 8430 L_250A943D: 8431 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 8432 L_250A9440: 8433 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 8434 L_250A9443: 8435 PUSH32(esp, edx); /* 0x250A9443: push edx */ 8436 L_250A9444: 8437 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 8438 L_250A9447: 8439 PUSH32(esp, eax); /* 0x250A9447: push eax */ 8440 L_250A9448: 8441 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 8442 L_250A944D: 8443 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 8444 L_250A9453: 8445 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 8446 L_250A9454: 8447 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 8448 L_250A9455: 8449 ecx = esi; /* 0x250A9455: mov ecx, esi */ 8450 L_250A9457: 8451 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 8452 RECOMP_FLAGS_IN(); 8453 L_250A945C: 8454 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 8455 L_250A945F: 8456 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 8457 L_250A9461: 8458 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 8459 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8461 _flag_k = FK_CMP; 8462 L_250A9464: 8463 RECOMP_BACKEDGE(); 8464 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 8465 L_250A946A: 8466 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 8467 L_250A9470: 8468 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 8469 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8470 _cf = 0; 8471 _flag_k = FK_NARROW(FK_TEST, 24); 8472 L_250A9472: 8473 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 8474 L_250A9476: 8475 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 8476 L_250A9478: 8477 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 8478 L_250A947B: 8479 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 8480 L_250A9480: 8481 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 8482 L_250A9486: 8483 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 8484 L_250A9488: 8485 PUSH32(esp, edx); /* 0x250A9488: push edx */ 8486 L_250A9489: 8487 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 8488 L_250A948B: 8489 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 8490 L_250A948D: 8491 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 8492 RECOMP_FLAGS_IN(); 8493 L_250A9492: 8494 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 8495 L_250A9498: 8496 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 8497 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8498 _cf = 0; 8499 _flag_k = FK_NARROW(FK_TEST, 24); 8500 L_250A949A: 8501 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 8502 L_250A949E: 8503 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 8504 L_250A94A0: 8505 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 8506 L_250A94A3: 8507 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 8508 L_250A94A8: 8509 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 8510 L_250A94AE: 8511 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 8512 L_250A94B0: 8513 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 8514 L_250A94B1: 8515 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 8516 L_250A94B3: 8517 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 8518 L_250A94B5: 8519 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 8520 RECOMP_FLAGS_IN(); 8521 L_250A94BA: 8522 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 8523 L_250A94BD: 8524 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 8525 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8526 _cf = 0; 8527 _flag_k = FK_NARROW(FK_TEST, 24); 8528 L_250A94BF: 8529 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 8530 L_250A94C3: 8531 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 8532 L_250A94C5: 8533 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 8534 L_250A94CB: 8535 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 8536 L_250A94D0: 8537 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 8538 L_250A94D6: 8539 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 8540 L_250A94D8: 8541 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 8542 L_250A94D9: 8543 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 8544 L_250A94DB: 8545 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 8546 RECOMP_FLAGS_IN(); 8547 L_250A94E0: 8548 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 8549 L_250A94E3: 8550 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 8551 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8552 _cf = 0; 8553 _flag_k = FK_NARROW(FK_TEST, 24); 8554 L_250A94E5: 8555 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 8556 L_250A94E9: 8557 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 8558 L_250A94EB: 8559 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 8560 L_250A94EE: 8561 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 8562 L_250A94F3: 8563 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 8564 L_250A94F9: 8565 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 8566 L_250A94FB: 8567 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 8568 L_250A94FC: 8569 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 8570 L_250A94FE: 8571 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 8572 RECOMP_FLAGS_IN(); 8573 L_250A9503: 8574 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 8575 L_250A9506: 8576 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 8577 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8578 _cf = 0; 8579 _flag_k = FK_NARROW(FK_TEST, 24); 8580 L_250A9508: 8581 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 8582 L_250A950F: 8583 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 8584 L_250A9511: 8585 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 8586 L_250A9514: 8587 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 8588 L_250A951A: 8589 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 8590 L_250A9520: 8591 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 8592 L_250A9522: 8593 PUSH32(esp, eax); /* 0x250A9522: push eax */ 8594 L_250A9523: 8595 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 8596 L_250A9525: 8597 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 8598 RECOMP_FLAGS_IN(); 8599 L_250A952A: 8600 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 8601 L_250A952D: 8602 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 8603 L_250A952E: 8604 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 8605 L_250A952F: 8606 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 8607 L_250A9530: 8608 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 8609 L_250A9537: 8610 esp = ebp; /* 0x250A9537: mov esp, ebp */ 8611 L_250A9539: 8612 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 8613 L_250A953A: 8614 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 8615 _ljump: 8616 switch (_itail_tgt) { 8617 case 0x250A8AD0u: goto L_250A8AD0; 8618 case 0x250A8AD1u: goto L_250A8AD1; 8619 case 0x250A8AD3u: goto L_250A8AD3; 8620 case 0x250A8AD5u: goto L_250A8AD5; 8621 case 0x250A8ADAu: goto L_250A8ADA; 8622 case 0x250A8AE0u: goto L_250A8AE0; 8623 case 0x250A8AE1u: goto L_250A8AE1; 8624 case 0x250A8AE8u: goto L_250A8AE8; 8625 case 0x250A8AEEu: goto L_250A8AEE; 8626 case 0x250A8AEFu: goto L_250A8AEF; 8627 case 0x250A8AF2u: goto L_250A8AF2; 8628 case 0x250A8AF3u: goto L_250A8AF3; 8629 case 0x250A8AF5u: goto L_250A8AF5; 8630 case 0x250A8AFBu: goto L_250A8AFB; 8631 case 0x250A8AFDu: goto L_250A8AFD; 8632 case 0x250A8AFEu: goto L_250A8AFE; 8633 case 0x250A8B04u: goto L_250A8B04; 8634 case 0x250A8B09u: goto L_250A8B09; 8635 case 0x250A8B0Bu: goto L_250A8B0B; 8636 case 0x250A8B0Du: goto L_250A8B0D; 8637 case 0x250A8B12u: goto L_250A8B12; 8638 case 0x250A8B14u: goto L_250A8B14; 8639 case 0x250A8B16u: goto L_250A8B16; 8640 case 0x250A8B1Cu: goto L_250A8B1C; 8641 case 0x250A8B1Eu: goto L_250A8B1E; 8642 case 0x250A8B23u: goto L_250A8B23; 8643 case 0x250A8B25u: goto L_250A8B25; 8644 case 0x250A8B27u: goto L_250A8B27; 8645 case 0x250A8B2Au: goto L_250A8B2A; 8646 case 0x250A8B2Cu: goto L_250A8B2C; 8647 case 0x250A8B2Fu: goto L_250A8B2F; 8648 case 0x250A8B31u: goto L_250A8B31; 8649 case 0x250A8B35u: goto L_250A8B35; 8650 case 0x250A8B37u: goto L_250A8B37; 8651 case 0x250A8B3Bu: goto L_250A8B3B; 8652 case 0x250A8B3Eu: goto L_250A8B3E; 8653 case 0x250A8B41u: goto L_250A8B41; 8654 case 0x250A8B43u: goto L_250A8B43; 8655 case 0x250A8B45u: goto L_250A8B45; 8656 case 0x250A8B48u: goto L_250A8B48; 8657 case 0x250A8B4Eu: goto L_250A8B4E; 8658 case 0x250A8B50u: goto L_250A8B50; 8659 case 0x250A8B53u: goto L_250A8B53; 8660 case 0x250A8B57u: goto L_250A8B57; 8661 case 0x250A8B5Du: goto L_250A8B5D; 8662 case 0x250A8B60u: goto L_250A8B60; 8663 case 0x250A8B63u: goto L_250A8B63; 8664 case 0x250A8B66u: goto L_250A8B66; 8665 case 0x250A8B6Cu: goto L_250A8B6C; 8666 case 0x250A8B6Eu: goto L_250A8B6E; 8667 case 0x250A8B71u: goto L_250A8B71; 8668 case 0x250A8B73u: goto L_250A8B73; 8669 case 0x250A8B79u: goto L_250A8B79; 8670 case 0x250A8B7Cu: goto L_250A8B7C; 8671 case 0x250A8B7Eu: goto L_250A8B7E; 8672 case 0x250A8B84u: goto L_250A8B84; 8673 case 0x250A8B87u: goto L_250A8B87; 8674 case 0x250A8B8Bu: goto L_250A8B8B; 8675 case 0x250A8B8Du: goto L_250A8B8D; 8676 case 0x250A8B91u: goto L_250A8B91; 8677 case 0x250A8B96u: goto L_250A8B96; 8678 case 0x250A8B99u: goto L_250A8B99; 8679 case 0x250A8B9Cu: goto L_250A8B9C; 8680 case 0x250A8B9Du: goto L_250A8B9D; 8681 case 0x250A8BA0u: goto L_250A8BA0; 8682 case 0x250A8BA1u: goto L_250A8BA1; 8683 case 0x250A8BA6u: goto L_250A8BA6; 8684 case 0x250A8BABu: goto L_250A8BAB; 8685 case 0x250A8BADu: goto L_250A8BAD; 8686 case 0x250A8BB0u: goto L_250A8BB0; 8687 case 0x250A8BB2u: goto L_250A8BB2; 8688 case 0x250A8BB5u: goto L_250A8BB5; 8689 case 0x250A8BB8u: goto L_250A8BB8; 8690 case 0x250A8BBAu: goto L_250A8BBA; 8691 case 0x250A8BBDu: goto L_250A8BBD; 8692 case 0x250A8BC3u: goto L_250A8BC3; 8693 case 0x250A8BC5u: goto L_250A8BC5; 8694 case 0x250A8BCBu: goto L_250A8BCB; 8695 case 0x250A8BCEu: goto L_250A8BCE; 8696 case 0x250A8BD0u: goto L_250A8BD0; 8697 case 0x250A8BD2u: goto L_250A8BD2; 8698 case 0x250A8BD5u: goto L_250A8BD5; 8699 case 0x250A8BD8u: goto L_250A8BD8; 8700 case 0x250A8BD9u: goto L_250A8BD9; 8701 case 0x250A8BDCu: goto L_250A8BDC; 8702 case 0x250A8BDDu: goto L_250A8BDD; 8703 case 0x250A8BE2u: goto L_250A8BE2; 8704 case 0x250A8BE5u: goto L_250A8BE5; 8705 case 0x250A8BEAu: goto L_250A8BEA; 8706 case 0x250A8BECu: goto L_250A8BEC; 8707 case 0x250A8BF2u: goto L_250A8BF2; 8708 case 0x250A8BF8u: goto L_250A8BF8; 8709 case 0x250A8BFBu: goto L_250A8BFB; 8710 case 0x250A8C01u: goto L_250A8C01; 8711 case 0x250A8C08u: goto L_250A8C08; 8712 case 0x250A8C0Au: goto L_250A8C0A; 8713 case 0x250A8C0Eu: goto L_250A8C0E; 8714 case 0x250A8C14u: goto L_250A8C14; 8715 case 0x250A8C1Au: goto L_250A8C1A; 8716 case 0x250A8C1Du: goto L_250A8C1D; 8717 case 0x250A8C20u: goto L_250A8C20; 8718 case 0x250A8C26u: goto L_250A8C26; 8719 case 0x250A8C2Du: goto L_250A8C2D; 8720 case 0x250A8C30u: goto L_250A8C30; 8721 case 0x250A8C33u: goto L_250A8C33; 8722 case 0x250A8C35u: goto L_250A8C35; 8723 case 0x250A8C3Bu: goto L_250A8C3B; 8724 case 0x250A8C3Cu: goto L_250A8C3C; 8725 case 0x250A8C42u: goto L_250A8C42; 8726 case 0x250A8C43u: goto L_250A8C43; 8727 case 0x250A8C45u: goto L_250A8C45; 8728 case 0x250A8C4Fu: goto L_250A8C4F; 8729 case 0x250A8C55u: goto L_250A8C55; 8730 case 0x250A8C5Au: goto L_250A8C5A; 8731 case 0x250A8C5Fu: goto L_250A8C5F; 8732 case 0x250A8C62u: goto L_250A8C62; 8733 case 0x250A8C65u: goto L_250A8C65; 8734 case 0x250A8C67u: goto L_250A8C67; 8735 case 0x250A8C6Du: goto L_250A8C6D; 8736 case 0x250A8C6Eu: goto L_250A8C6E; 8737 case 0x250A8C74u: goto L_250A8C74; 8738 case 0x250A8C75u: goto L_250A8C75; 8739 case 0x250A8C77u: goto L_250A8C77; 8740 case 0x250A8C81u: goto L_250A8C81; 8741 case 0x250A8C87u: goto L_250A8C87; 8742 case 0x250A8C8Cu: goto L_250A8C8C; 8743 case 0x250A8C91u: goto L_250A8C91; 8744 case 0x250A8C94u: goto L_250A8C94; 8745 case 0x250A8C97u: goto L_250A8C97; 8746 case 0x250A8C99u: goto L_250A8C99; 8747 case 0x250A8C9Fu: goto L_250A8C9F; 8748 case 0x250A8CA0u: goto L_250A8CA0; 8749 case 0x250A8CA6u: goto L_250A8CA6; 8750 case 0x250A8CA7u: goto L_250A8CA7; 8751 case 0x250A8CA9u: goto L_250A8CA9; 8752 case 0x250A8CB3u: goto L_250A8CB3; 8753 case 0x250A8CB9u: goto L_250A8CB9; 8754 case 0x250A8CBEu: goto L_250A8CBE; 8755 case 0x250A8CC3u: goto L_250A8CC3; 8756 case 0x250A8CC6u: goto L_250A8CC6; 8757 case 0x250A8CC9u: goto L_250A8CC9; 8758 case 0x250A8CCBu: goto L_250A8CCB; 8759 case 0x250A8CD1u: goto L_250A8CD1; 8760 case 0x250A8CD2u: goto L_250A8CD2; 8761 case 0x250A8CD8u: goto L_250A8CD8; 8762 case 0x250A8CD9u: goto L_250A8CD9; 8763 case 0x250A8CDBu: goto L_250A8CDB; 8764 case 0x250A8CE5u: goto L_250A8CE5; 8765 case 0x250A8CEBu: goto L_250A8CEB; 8766 case 0x250A8CF0u: goto L_250A8CF0; 8767 case 0x250A8CF5u: goto L_250A8CF5; 8768 case 0x250A8CF8u: goto L_250A8CF8; 8769 case 0x250A8CFBu: goto L_250A8CFB; 8770 case 0x250A8CFDu: goto L_250A8CFD; 8771 case 0x250A8D03u: goto L_250A8D03; 8772 case 0x250A8D04u: goto L_250A8D04; 8773 case 0x250A8D0Au: goto L_250A8D0A; 8774 case 0x250A8D0Bu: goto L_250A8D0B; 8775 case 0x250A8D0Du: goto L_250A8D0D; 8776 case 0x250A8D17u: goto L_250A8D17; 8777 case 0x250A8D1Du: goto L_250A8D1D; 8778 case 0x250A8D22u: goto L_250A8D22; 8779 case 0x250A8D27u: goto L_250A8D27; 8780 case 0x250A8D2Au: goto L_250A8D2A; 8781 case 0x250A8D2Du: goto L_250A8D2D; 8782 case 0x250A8D2Fu: goto L_250A8D2F; 8783 case 0x250A8D35u: goto L_250A8D35; 8784 case 0x250A8D36u: goto L_250A8D36; 8785 case 0x250A8D3Cu: goto L_250A8D3C; 8786 case 0x250A8D3Du: goto L_250A8D3D; 8787 case 0x250A8D3Fu: goto L_250A8D3F; 8788 case 0x250A8D49u: goto L_250A8D49; 8789 case 0x250A8D4Fu: goto L_250A8D4F; 8790 case 0x250A8D54u: goto L_250A8D54; 8791 case 0x250A8D59u: goto L_250A8D59; 8792 case 0x250A8D5Cu: goto L_250A8D5C; 8793 case 0x250A8D5Fu: goto L_250A8D5F; 8794 case 0x250A8D61u: goto L_250A8D61; 8795 case 0x250A8D64u: goto L_250A8D64; 8796 case 0x250A8D65u: goto L_250A8D65; 8797 case 0x250A8D68u: goto L_250A8D68; 8798 case 0x250A8D69u: goto L_250A8D69; 8799 case 0x250A8D6Bu: goto L_250A8D6B; 8800 case 0x250A8D72u: goto L_250A8D72; 8801 case 0x250A8D75u: goto L_250A8D75; 8802 case 0x250A8D7Au: goto L_250A8D7A; 8803 case 0x250A8D7Fu: goto L_250A8D7F; 8804 case 0x250A8D82u: goto L_250A8D82; 8805 case 0x250A8D85u: goto L_250A8D85; 8806 case 0x250A8D87u: goto L_250A8D87; 8807 case 0x250A8D8Au: goto L_250A8D8A; 8808 case 0x250A8D8Bu: goto L_250A8D8B; 8809 case 0x250A8D8Eu: goto L_250A8D8E; 8810 case 0x250A8D8Fu: goto L_250A8D8F; 8811 case 0x250A8D91u: goto L_250A8D91; 8812 case 0x250A8D98u: goto L_250A8D98; 8813 case 0x250A8D9Bu: goto L_250A8D9B; 8814 case 0x250A8DA0u: goto L_250A8DA0; 8815 case 0x250A8DA5u: goto L_250A8DA5; 8816 case 0x250A8DA8u: goto L_250A8DA8; 8817 case 0x250A8DABu: goto L_250A8DAB; 8818 case 0x250A8DADu: goto L_250A8DAD; 8819 case 0x250A8DB0u: goto L_250A8DB0; 8820 case 0x250A8DB1u: goto L_250A8DB1; 8821 case 0x250A8DB4u: goto L_250A8DB4; 8822 case 0x250A8DB5u: goto L_250A8DB5; 8823 case 0x250A8DB7u: goto L_250A8DB7; 8824 case 0x250A8DBEu: goto L_250A8DBE; 8825 case 0x250A8DC1u: goto L_250A8DC1; 8826 case 0x250A8DC6u: goto L_250A8DC6; 8827 case 0x250A8DCBu: goto L_250A8DCB; 8828 case 0x250A8DCEu: goto L_250A8DCE; 8829 case 0x250A8DD0u: goto L_250A8DD0; 8830 case 0x250A8DD2u: goto L_250A8DD2; 8831 case 0x250A8DD5u: goto L_250A8DD5; 8832 case 0x250A8DD8u: goto L_250A8DD8; 8833 case 0x250A8DDEu: goto L_250A8DDE; 8834 case 0x250A8DE1u: goto L_250A8DE1; 8835 case 0x250A8DE7u: goto L_250A8DE7; 8836 case 0x250A8DE8u: goto L_250A8DE8; 8837 case 0x250A8DEEu: goto L_250A8DEE; 8838 case 0x250A8DF5u: goto L_250A8DF5; 8839 case 0x250A8DFCu: goto L_250A8DFC; 8840 case 0x250A8E03u: goto L_250A8E03; 8841 case 0x250A8E09u: goto L_250A8E09; 8842 case 0x250A8E0Fu: goto L_250A8E0F; 8843 case 0x250A8E11u: goto L_250A8E11; 8844 case 0x250A8E17u: goto L_250A8E17; 8845 case 0x250A8E1Au: goto L_250A8E1A; 8846 case 0x250A8E20u: goto L_250A8E20; 8847 case 0x250A8E23u: goto L_250A8E23; 8848 case 0x250A8E29u: goto L_250A8E29; 8849 case 0x250A8E2Au: goto L_250A8E2A; 8850 case 0x250A8E30u: goto L_250A8E30; 8851 case 0x250A8E31u: goto L_250A8E31; 8852 case 0x250A8E33u: goto L_250A8E33; 8853 case 0x250A8E39u: goto L_250A8E39; 8854 case 0x250A8E3Fu: goto L_250A8E3F; 8855 case 0x250A8E42u: goto L_250A8E42; 8856 case 0x250A8E44u: goto L_250A8E44; 8857 case 0x250A8E46u: goto L_250A8E46; 8858 case 0x250A8E49u: goto L_250A8E49; 8859 case 0x250A8E4Cu: goto L_250A8E4C; 8860 case 0x250A8E4Fu: goto L_250A8E4F; 8861 case 0x250A8E52u: goto L_250A8E52; 8862 case 0x250A8E53u: goto L_250A8E53; 8863 case 0x250A8E59u: goto L_250A8E59; 8864 case 0x250A8E5Cu: goto L_250A8E5C; 8865 case 0x250A8E5Fu: goto L_250A8E5F; 8866 case 0x250A8E65u: goto L_250A8E65; 8867 case 0x250A8E6Au: goto L_250A8E6A; 8868 case 0x250A8E6Du: goto L_250A8E6D; 8869 case 0x250A8E73u: goto L_250A8E73; 8870 case 0x250A8E79u: goto L_250A8E79; 8871 case 0x250A8E7Au: goto L_250A8E7A; 8872 case 0x250A8E7Du: goto L_250A8E7D; 8873 case 0x250A8E83u: goto L_250A8E83; 8874 case 0x250A8E86u: goto L_250A8E86; 8875 case 0x250A8E87u: goto L_250A8E87; 8876 case 0x250A8E8Au: goto L_250A8E8A; 8877 case 0x250A8E90u: goto L_250A8E90; 8878 case 0x250A8E93u: goto L_250A8E93; 8879 case 0x250A8E95u: goto L_250A8E95; 8880 case 0x250A8E97u: goto L_250A8E97; 8881 case 0x250A8E9Au: goto L_250A8E9A; 8882 case 0x250A8E9Cu: goto L_250A8E9C; 8883 case 0x250A8E9Eu: goto L_250A8E9E; 8884 case 0x250A8E9Fu: goto L_250A8E9F; 8885 case 0x250A8EA1u: goto L_250A8EA1; 8886 case 0x250A8EA3u: goto L_250A8EA3; 8887 case 0x250A8EA5u: goto L_250A8EA5; 8888 case 0x250A8EA7u: goto L_250A8EA7; 8889 case 0x250A8EAAu: goto L_250A8EAA; 8890 case 0x250A8EAFu: goto L_250A8EAF; 8891 case 0x250A8EB1u: goto L_250A8EB1; 8892 case 0x250A8EB6u: goto L_250A8EB6; 8893 case 0x250A8EB9u: goto L_250A8EB9; 8894 case 0x250A8EBBu: goto L_250A8EBB; 8895 case 0x250A8EBEu: goto L_250A8EBE; 8896 case 0x250A8EC1u: goto L_250A8EC1; 8897 case 0x250A8EC4u: goto L_250A8EC4; 8898 case 0x250A8EC6u: goto L_250A8EC6; 8899 case 0x250A8EC9u: goto L_250A8EC9; 8900 case 0x250A8ECBu: goto L_250A8ECB; 8901 case 0x250A8ECEu: goto L_250A8ECE; 8902 case 0x250A8ED0u: goto L_250A8ED0; 8903 case 0x250A8ED2u: goto L_250A8ED2; 8904 case 0x250A8ED5u: goto L_250A8ED5; 8905 case 0x250A8ED8u: goto L_250A8ED8; 8906 case 0x250A8EDBu: goto L_250A8EDB; 8907 case 0x250A8EE2u: goto L_250A8EE2; 8908 case 0x250A8EE3u: goto L_250A8EE3; 8909 case 0x250A8EE4u: goto L_250A8EE4; 8910 case 0x250A8EE5u: goto L_250A8EE5; 8911 case 0x250A8EE7u: goto L_250A8EE7; 8912 case 0x250A8EEDu: goto L_250A8EED; 8913 case 0x250A8EF3u: goto L_250A8EF3; 8914 case 0x250A8EF6u: goto L_250A8EF6; 8915 case 0x250A8EF7u: goto L_250A8EF7; 8916 case 0x250A8EF8u: goto L_250A8EF8; 8917 case 0x250A8EFDu: goto L_250A8EFD; 8918 case 0x250A8F00u: goto L_250A8F00; 8919 case 0x250A8F02u: goto L_250A8F02; 8920 case 0x250A8F04u: goto L_250A8F04; 8921 case 0x250A8F07u: goto L_250A8F07; 8922 case 0x250A8F09u: goto L_250A8F09; 8923 case 0x250A8F0Bu: goto L_250A8F0B; 8924 case 0x250A8F0Cu: goto L_250A8F0C; 8925 case 0x250A8F0Eu: goto L_250A8F0E; 8926 case 0x250A8F10u: goto L_250A8F10; 8927 case 0x250A8F12u: goto L_250A8F12; 8928 case 0x250A8F14u: goto L_250A8F14; 8929 case 0x250A8F17u: goto L_250A8F17; 8930 case 0x250A8F1Cu: goto L_250A8F1C; 8931 case 0x250A8F1Eu: goto L_250A8F1E; 8932 case 0x250A8F23u: goto L_250A8F23; 8933 case 0x250A8F26u: goto L_250A8F26; 8934 case 0x250A8F29u: goto L_250A8F29; 8935 case 0x250A8F2Bu: goto L_250A8F2B; 8936 case 0x250A8F2Eu: goto L_250A8F2E; 8937 case 0x250A8F31u: goto L_250A8F31; 8938 case 0x250A8F37u: goto L_250A8F37; 8939 case 0x250A8F3Du: goto L_250A8F3D; 8940 case 0x250A8F3Fu: goto L_250A8F3F; 8941 case 0x250A8F45u: goto L_250A8F45; 8942 case 0x250A8F4Bu: goto L_250A8F4B; 8943 case 0x250A8F4Du: goto L_250A8F4D; 8944 case 0x250A8F52u: goto L_250A8F52; 8945 case 0x250A8F54u: goto L_250A8F54; 8946 case 0x250A8F57u: goto L_250A8F57; 8947 case 0x250A8F59u: goto L_250A8F59; 8948 case 0x250A8F5Cu: goto L_250A8F5C; 8949 case 0x250A8F5Eu: goto L_250A8F5E; 8950 case 0x250A8F64u: goto L_250A8F64; 8951 case 0x250A8F67u: goto L_250A8F67; 8952 case 0x250A8F69u: goto L_250A8F69; 8953 case 0x250A8F6Bu: goto L_250A8F6B; 8954 case 0x250A8F6Eu: goto L_250A8F6E; 8955 case 0x250A8F70u: goto L_250A8F70; 8956 case 0x250A8F72u: goto L_250A8F72; 8957 case 0x250A8F73u: goto L_250A8F73; 8958 case 0x250A8F75u: goto L_250A8F75; 8959 case 0x250A8F77u: goto L_250A8F77; 8960 case 0x250A8F79u: goto L_250A8F79; 8961 case 0x250A8F7Bu: goto L_250A8F7B; 8962 case 0x250A8F7Eu: goto L_250A8F7E; 8963 case 0x250A8F83u: goto L_250A8F83; 8964 case 0x250A8F85u: goto L_250A8F85; 8965 case 0x250A8F8Au: goto L_250A8F8A; 8966 case 0x250A8F8Cu: goto L_250A8F8C; 8967 case 0x250A8F96u: goto L_250A8F96; 8968 case 0x250A8FA0u: goto L_250A8FA0; 8969 case 0x250A8FAAu: goto L_250A8FAA; 8970 case 0x250A8FB4u: goto L_250A8FB4; 8971 case 0x250A8FBEu: goto L_250A8FBE; 8972 case 0x250A8FC8u: goto L_250A8FC8; 8973 case 0x250A8FD2u: goto L_250A8FD2; 8974 case 0x250A8FDCu: goto L_250A8FDC; 8975 case 0x250A8FE6u: goto L_250A8FE6; 8976 case 0x250A8FE9u: goto L_250A8FE9; 8977 case 0x250A8FECu: goto L_250A8FEC; 8978 case 0x250A8FF2u: goto L_250A8FF2; 8979 case 0x250A8FF4u: goto L_250A8FF4; 8980 case 0x250A8FFAu: goto L_250A8FFA; 8981 case 0x250A9000u: goto L_250A9000; 8982 case 0x250A9002u: goto L_250A9002; 8983 case 0x250A9007u: goto L_250A9007; 8984 case 0x250A9009u: goto L_250A9009; 8985 case 0x250A900Cu: goto L_250A900C; 8986 case 0x250A900Fu: goto L_250A900F; 8987 case 0x250A9011u: goto L_250A9011; 8988 case 0x250A9014u: goto L_250A9014; 8989 case 0x250A9016u: goto L_250A9016; 8990 case 0x250A9018u: goto L_250A9018; 8991 case 0x250A901Eu: goto L_250A901E; 8992 case 0x250A9021u: goto L_250A9021; 8993 case 0x250A9027u: goto L_250A9027; 8994 case 0x250A902Au: goto L_250A902A; 8995 case 0x250A902Du: goto L_250A902D; 8996 case 0x250A902Eu: goto L_250A902E; 8997 case 0x250A9030u: goto L_250A9030; 8998 case 0x250A9031u: goto L_250A9031; 8999 case 0x250A9033u: goto L_250A9033; 9000 case 0x250A9038u: goto L_250A9038; 9001 case 0x250A903Au: goto L_250A903A; 9002 case 0x250A903Fu: goto L_250A903F; 9003 case 0x250A9041u: goto L_250A9041; 9004 case 0x250A9043u: goto L_250A9043; 9005 case 0x250A9046u: goto L_250A9046; 9006 case 0x250A9048u: goto L_250A9048; 9007 case 0x250A9049u: goto L_250A9049; 9008 case 0x250A904Cu: goto L_250A904C; 9009 case 0x250A904Eu: goto L_250A904E; 9010 case 0x250A9055u: goto L_250A9055; 9011 case 0x250A9057u: goto L_250A9057; 9012 case 0x250A9059u: goto L_250A9059; 9013 case 0x250A905Eu: goto L_250A905E; 9014 case 0x250A9060u: goto L_250A9060; 9015 case 0x250A9065u: goto L_250A9065; 9016 case 0x250A9068u: goto L_250A9068; 9017 case 0x250A906Au: goto L_250A906A; 9018 case 0x250A9071u: goto L_250A9071; 9019 case 0x250A9076u: goto L_250A9076; 9020 case 0x250A9078u: goto L_250A9078; 9021 case 0x250A9079u: goto L_250A9079; 9022 case 0x250A907Bu: goto L_250A907B; 9023 case 0x250A907Eu: goto L_250A907E; 9024 case 0x250A9080u: goto L_250A9080; 9025 case 0x250A9082u: goto L_250A9082; 9026 case 0x250A9084u: goto L_250A9084; 9027 case 0x250A9087u: goto L_250A9087; 9028 case 0x250A908Au: goto L_250A908A; 9029 case 0x250A9090u: goto L_250A9090; 9030 case 0x250A9092u: goto L_250A9092; 9031 case 0x250A9093u: goto L_250A9093; 9032 case 0x250A9095u: goto L_250A9095; 9033 case 0x250A9096u: goto L_250A9096; 9034 case 0x250A9099u: goto L_250A9099; 9035 case 0x250A909Au: goto L_250A909A; 9036 case 0x250A909Du: goto L_250A909D; 9037 case 0x250A909Eu: goto L_250A909E; 9038 case 0x250A909Fu: goto L_250A909F; 9039 case 0x250A90A0u: goto L_250A90A0; 9040 case 0x250A90A2u: goto L_250A90A2; 9041 case 0x250A90A7u: goto L_250A90A7; 9042 case 0x250A90AAu: goto L_250A90AA; 9043 case 0x250A90ADu: goto L_250A90AD; 9044 case 0x250A90AEu: goto L_250A90AE; 9045 case 0x250A90B1u: goto L_250A90B1; 9046 case 0x250A90B4u: goto L_250A90B4; 9047 case 0x250A90B9u: goto L_250A90B9; 9048 case 0x250A90BCu: goto L_250A90BC; 9049 case 0x250A90BEu: goto L_250A90BE; 9050 case 0x250A90C4u: goto L_250A90C4; 9051 case 0x250A90C7u: goto L_250A90C7; 9052 case 0x250A90C9u: goto L_250A90C9; 9053 case 0x250A90CFu: goto L_250A90CF; 9054 case 0x250A90D2u: goto L_250A90D2; 9055 case 0x250A90D4u: goto L_250A90D4; 9056 case 0x250A90D6u: goto L_250A90D6; 9057 case 0x250A90D9u: goto L_250A90D9; 9058 case 0x250A90DBu: goto L_250A90DB; 9059 case 0x250A90DDu: goto L_250A90DD; 9060 case 0x250A90DEu: goto L_250A90DE; 9061 case 0x250A90E0u: goto L_250A90E0; 9062 case 0x250A90E2u: goto L_250A90E2; 9063 case 0x250A90E4u: goto L_250A90E4; 9064 case 0x250A90E6u: goto L_250A90E6; 9065 case 0x250A90E9u: goto L_250A90E9; 9066 case 0x250A90EEu: goto L_250A90EE; 9067 case 0x250A90F0u: goto L_250A90F0; 9068 case 0x250A90F5u: goto L_250A90F5; 9069 case 0x250A90F7u: goto L_250A90F7; 9070 case 0x250A90FAu: goto L_250A90FA; 9071 case 0x250A9100u: goto L_250A9100; 9072 case 0x250A9102u: goto L_250A9102; 9073 case 0x250A9104u: goto L_250A9104; 9074 case 0x250A910Au: goto L_250A910A; 9075 case 0x250A910Cu: goto L_250A910C; 9076 case 0x250A9111u: goto L_250A9111; 9077 case 0x250A9113u: goto L_250A9113; 9078 case 0x250A9116u: goto L_250A9116; 9079 case 0x250A9118u: goto L_250A9118; 9080 case 0x250A911Bu: goto L_250A911B; 9081 case 0x250A911Du: goto L_250A911D; 9082 case 0x250A911Fu: goto L_250A911F; 9083 case 0x250A9121u: goto L_250A9121; 9084 case 0x250A9127u: goto L_250A9127; 9085 case 0x250A912Au: goto L_250A912A; 9086 case 0x250A912Du: goto L_250A912D; 9087 case 0x250A9130u: goto L_250A9130; 9088 case 0x250A9132u: goto L_250A9132; 9089 case 0x250A9134u: goto L_250A9134; 9090 case 0x250A9137u: goto L_250A9137; 9091 case 0x250A913Cu: goto L_250A913C; 9092 case 0x250A913Eu: goto L_250A913E; 9093 case 0x250A9143u: goto L_250A9143; 9094 case 0x250A9144u: goto L_250A9144; 9095 case 0x250A9149u: goto L_250A9149; 9096 case 0x250A914Eu: goto L_250A914E; 9097 case 0x250A9150u: goto L_250A9150; 9098 case 0x250A9152u: goto L_250A9152; 9099 case 0x250A9154u: goto L_250A9154; 9100 case 0x250A9156u: goto L_250A9156; 9101 case 0x250A9157u: goto L_250A9157; 9102 case 0x250A9158u: goto L_250A9158; 9103 case 0x250A915Au: goto L_250A915A; 9104 case 0x250A915Fu: goto L_250A915F; 9105 case 0x250A9162u: goto L_250A9162; 9106 case 0x250A9163u: goto L_250A9163; 9107 case 0x250A9166u: goto L_250A9166; 9108 case 0x250A9169u: goto L_250A9169; 9109 case 0x250A916Bu: goto L_250A916B; 9110 case 0x250A916Eu: goto L_250A916E; 9111 case 0x250A9170u: goto L_250A9170; 9112 case 0x250A9172u: goto L_250A9172; 9113 case 0x250A9178u: goto L_250A9178; 9114 case 0x250A917Du: goto L_250A917D; 9115 case 0x250A9183u: goto L_250A9183; 9116 case 0x250A9188u: goto L_250A9188; 9117 case 0x250A918Eu: goto L_250A918E; 9118 case 0x250A9190u: goto L_250A9190; 9119 case 0x250A9192u: goto L_250A9192; 9120 case 0x250A9195u: goto L_250A9195; 9121 case 0x250A9197u: goto L_250A9197; 9122 case 0x250A919Au: goto L_250A919A; 9123 case 0x250A919Du: goto L_250A919D; 9124 case 0x250A91A2u: goto L_250A91A2; 9125 case 0x250A91A4u: goto L_250A91A4; 9126 case 0x250A91A6u: goto L_250A91A6; 9127 case 0x250A91A8u: goto L_250A91A8; 9128 case 0x250A91ABu: goto L_250A91AB; 9129 case 0x250A91ADu: goto L_250A91AD; 9130 case 0x250A91B0u: goto L_250A91B0; 9131 case 0x250A91B1u: goto L_250A91B1; 9132 case 0x250A91B2u: goto L_250A91B2; 9133 case 0x250A91B4u: goto L_250A91B4; 9134 case 0x250A91B7u: goto L_250A91B7; 9135 case 0x250A91BAu: goto L_250A91BA; 9136 case 0x250A91BCu: goto L_250A91BC; 9137 case 0x250A91BFu: goto L_250A91BF; 9138 case 0x250A91C5u: goto L_250A91C5; 9139 case 0x250A91C8u: goto L_250A91C8; 9140 case 0x250A91CBu: goto L_250A91CB; 9141 case 0x250A91D1u: goto L_250A91D1; 9142 case 0x250A91D4u: goto L_250A91D4; 9143 case 0x250A91D7u: goto L_250A91D7; 9144 case 0x250A91DCu: goto L_250A91DC; 9145 case 0x250A91E2u: goto L_250A91E2; 9146 case 0x250A91E4u: goto L_250A91E4; 9147 case 0x250A91EAu: goto L_250A91EA; 9148 case 0x250A91F0u: goto L_250A91F0; 9149 case 0x250A91F6u: goto L_250A91F6; 9150 case 0x250A91FCu: goto L_250A91FC; 9151 case 0x250A91FEu: goto L_250A91FE; 9152 case 0x250A9200u: goto L_250A9200; 9153 case 0x250A9202u: goto L_250A9202; 9154 case 0x250A9209u: goto L_250A9209; 9155 case 0x250A920Cu: goto L_250A920C; 9156 case 0x250A920Fu: goto L_250A920F; 9157 case 0x250A9214u: goto L_250A9214; 9158 case 0x250A9217u: goto L_250A9217; 9159 case 0x250A921Cu: goto L_250A921C; 9160 case 0x250A9222u: goto L_250A9222; 9161 case 0x250A9228u: goto L_250A9228; 9162 case 0x250A922Au: goto L_250A922A; 9163 case 0x250A922Cu: goto L_250A922C; 9164 case 0x250A922Eu: goto L_250A922E; 9165 case 0x250A9230u: goto L_250A9230; 9166 case 0x250A9233u: goto L_250A9233; 9167 case 0x250A923Au: goto L_250A923A; 9168 case 0x250A923Du: goto L_250A923D; 9169 case 0x250A9240u: goto L_250A9240; 9170 case 0x250A9245u: goto L_250A9245; 9171 case 0x250A9248u: goto L_250A9248; 9172 case 0x250A924Eu: goto L_250A924E; 9173 case 0x250A9254u: goto L_250A9254; 9174 case 0x250A925Au: goto L_250A925A; 9175 case 0x250A925Cu: goto L_250A925C; 9176 case 0x250A925Eu: goto L_250A925E; 9177 case 0x250A9260u: goto L_250A9260; 9178 case 0x250A9264u: goto L_250A9264; 9179 case 0x250A926Bu: goto L_250A926B; 9180 case 0x250A9271u: goto L_250A9271; 9181 case 0x250A9274u: goto L_250A9274; 9182 case 0x250A9279u: goto L_250A9279; 9183 case 0x250A927Cu: goto L_250A927C; 9184 case 0x250A9282u: goto L_250A9282; 9185 case 0x250A9288u: goto L_250A9288; 9186 case 0x250A928Eu: goto L_250A928E; 9187 case 0x250A9290u: goto L_250A9290; 9188 case 0x250A9292u: goto L_250A9292; 9189 case 0x250A9294u: goto L_250A9294; 9190 case 0x250A9295u: goto L_250A9295; 9191 case 0x250A9299u: goto L_250A9299; 9192 case 0x250A929Fu: goto L_250A929F; 9193 case 0x250A92A9u: goto L_250A92A9; 9194 case 0x250A92ACu: goto L_250A92AC; 9195 case 0x250A92B2u: goto L_250A92B2; 9196 case 0x250A92B7u: goto L_250A92B7; 9197 case 0x250A92BDu: goto L_250A92BD; 9198 case 0x250A92C2u: goto L_250A92C2; 9199 case 0x250A92C8u: goto L_250A92C8; 9200 case 0x250A92CEu: goto L_250A92CE; 9201 case 0x250A92D0u: goto L_250A92D0; 9202 case 0x250A92D1u: goto L_250A92D1; 9203 case 0x250A92D3u: goto L_250A92D3; 9204 case 0x250A92D4u: goto L_250A92D4; 9205 case 0x250A92D8u: goto L_250A92D8; 9206 case 0x250A92DEu: goto L_250A92DE; 9207 case 0x250A92E8u: goto L_250A92E8; 9208 case 0x250A92EBu: goto L_250A92EB; 9209 case 0x250A92F1u: goto L_250A92F1; 9210 case 0x250A92F6u: goto L_250A92F6; 9211 case 0x250A92FCu: goto L_250A92FC; 9212 case 0x250A92FFu: goto L_250A92FF; 9213 case 0x250A9301u: goto L_250A9301; 9214 case 0x250A9302u: goto L_250A9302; 9215 case 0x250A9303u: goto L_250A9303; 9216 case 0x250A9307u: goto L_250A9307; 9217 case 0x250A930Cu: goto L_250A930C; 9218 case 0x250A930Eu: goto L_250A930E; 9219 case 0x250A9313u: goto L_250A9313; 9220 case 0x250A9316u: goto L_250A9316; 9221 case 0x250A9319u: goto L_250A9319; 9222 case 0x250A931Bu: goto L_250A931B; 9223 case 0x250A931Du: goto L_250A931D; 9224 case 0x250A9323u: goto L_250A9323; 9225 case 0x250A9327u: goto L_250A9327; 9226 case 0x250A932Du: goto L_250A932D; 9227 case 0x250A9330u: goto L_250A9330; 9228 case 0x250A9333u: goto L_250A9333; 9229 case 0x250A9336u: goto L_250A9336; 9230 case 0x250A9339u: goto L_250A9339; 9231 case 0x250A933Bu: goto L_250A933B; 9232 case 0x250A933Eu: goto L_250A933E; 9233 case 0x250A9341u: goto L_250A9341; 9234 case 0x250A9344u: goto L_250A9344; 9235 case 0x250A9347u: goto L_250A9347; 9236 case 0x250A934Au: goto L_250A934A; 9237 case 0x250A934Bu: goto L_250A934B; 9238 case 0x250A934Eu: goto L_250A934E; 9239 case 0x250A9355u: goto L_250A9355; 9240 case 0x250A935Cu: goto L_250A935C; 9241 case 0x250A9363u: goto L_250A9363; 9242 case 0x250A9366u: goto L_250A9366; 9243 case 0x250A9369u: goto L_250A9369; 9244 case 0x250A936Fu: goto L_250A936F; 9245 case 0x250A9371u: goto L_250A9371; 9246 case 0x250A9374u: goto L_250A9374; 9247 case 0x250A9377u: goto L_250A9377; 9248 case 0x250A937Au: goto L_250A937A; 9249 case 0x250A937Du: goto L_250A937D; 9250 case 0x250A9380u: goto L_250A9380; 9251 case 0x250A9382u: goto L_250A9382; 9252 case 0x250A9388u: goto L_250A9388; 9253 case 0x250A938Bu: goto L_250A938B; 9254 case 0x250A938Eu: goto L_250A938E; 9255 case 0x250A9391u: goto L_250A9391; 9256 case 0x250A9394u: goto L_250A9394; 9257 case 0x250A9395u: goto L_250A9395; 9258 case 0x250A939Bu: goto L_250A939B; 9259 case 0x250A93A1u: goto L_250A93A1; 9260 case 0x250A93A7u: goto L_250A93A7; 9261 case 0x250A93ADu: goto L_250A93AD; 9262 case 0x250A93B0u: goto L_250A93B0; 9263 case 0x250A93B2u: goto L_250A93B2; 9264 case 0x250A93B4u: goto L_250A93B4; 9265 case 0x250A93B7u: goto L_250A93B7; 9266 case 0x250A93BAu: goto L_250A93BA; 9267 case 0x250A93BDu: goto L_250A93BD; 9268 case 0x250A93BFu: goto L_250A93BF; 9269 case 0x250A93C2u: goto L_250A93C2; 9270 case 0x250A93C5u: goto L_250A93C5; 9271 case 0x250A93CAu: goto L_250A93CA; 9272 case 0x250A93CDu: goto L_250A93CD; 9273 case 0x250A93D0u: goto L_250A93D0; 9274 case 0x250A93D3u: goto L_250A93D3; 9275 case 0x250A93D6u: goto L_250A93D6; 9276 case 0x250A93D8u: goto L_250A93D8; 9277 case 0x250A93DBu: goto L_250A93DB; 9278 case 0x250A93DEu: goto L_250A93DE; 9279 case 0x250A93E0u: goto L_250A93E0; 9280 case 0x250A93E3u: goto L_250A93E3; 9281 case 0x250A93E5u: goto L_250A93E5; 9282 case 0x250A93EBu: goto L_250A93EB; 9283 case 0x250A93EEu: goto L_250A93EE; 9284 case 0x250A93EFu: goto L_250A93EF; 9285 case 0x250A93F2u: goto L_250A93F2; 9286 case 0x250A93F8u: goto L_250A93F8; 9287 case 0x250A93FBu: goto L_250A93FB; 9288 case 0x250A93FCu: goto L_250A93FC; 9289 case 0x250A93FFu: goto L_250A93FF; 9290 case 0x250A9405u: goto L_250A9405; 9291 case 0x250A9408u: goto L_250A9408; 9292 case 0x250A940Au: goto L_250A940A; 9293 case 0x250A940Du: goto L_250A940D; 9294 case 0x250A9410u: goto L_250A9410; 9295 case 0x250A9413u: goto L_250A9413; 9296 case 0x250A9415u: goto L_250A9415; 9297 case 0x250A9418u: goto L_250A9418; 9298 case 0x250A941Au: goto L_250A941A; 9299 case 0x250A9420u: goto L_250A9420; 9300 case 0x250A9421u: goto L_250A9421; 9301 case 0x250A942Bu: goto L_250A942B; 9302 case 0x250A9431u: goto L_250A9431; 9303 case 0x250A9437u: goto L_250A9437; 9304 case 0x250A943Du: goto L_250A943D; 9305 case 0x250A9440u: goto L_250A9440; 9306 case 0x250A9443u: goto L_250A9443; 9307 case 0x250A9444u: goto L_250A9444; 9308 case 0x250A9447u: goto L_250A9447; 9309 case 0x250A9448u: goto L_250A9448; 9310 case 0x250A944Du: goto L_250A944D; 9311 case 0x250A9453u: goto L_250A9453; 9312 case 0x250A9454u: goto L_250A9454; 9313 case 0x250A9455u: goto L_250A9455; 9314 case 0x250A9457u: goto L_250A9457; 9315 case 0x250A945Cu: goto L_250A945C; 9316 case 0x250A945Fu: goto L_250A945F; 9317 case 0x250A9461u: goto L_250A9461; 9318 case 0x250A9464u: goto L_250A9464; 9319 case 0x250A946Au: goto L_250A946A; 9320 case 0x250A9470u: goto L_250A9470; 9321 case 0x250A9472u: goto L_250A9472; 9322 case 0x250A9476u: goto L_250A9476; 9323 case 0x250A9478u: goto L_250A9478; 9324 case 0x250A947Bu: goto L_250A947B; 9325 case 0x250A9480u: goto L_250A9480; 9326 case 0x250A9486u: goto L_250A9486; 9327 case 0x250A9488u: goto L_250A9488; 9328 case 0x250A9489u: goto L_250A9489; 9329 case 0x250A948Bu: goto L_250A948B; 9330 case 0x250A948Du: goto L_250A948D; 9331 case 0x250A9492u: goto L_250A9492; 9332 case 0x250A9498u: goto L_250A9498; 9333 case 0x250A949Au: goto L_250A949A; 9334 case 0x250A949Eu: goto L_250A949E; 9335 case 0x250A94A0u: goto L_250A94A0; 9336 case 0x250A94A3u: goto L_250A94A3; 9337 case 0x250A94A8u: goto L_250A94A8; 9338 case 0x250A94AEu: goto L_250A94AE; 9339 case 0x250A94B0u: goto L_250A94B0; 9340 case 0x250A94B1u: goto L_250A94B1; 9341 case 0x250A94B3u: goto L_250A94B3; 9342 case 0x250A94B5u: goto L_250A94B5; 9343 case 0x250A94BAu: goto L_250A94BA; 9344 case 0x250A94BDu: goto L_250A94BD; 9345 case 0x250A94BFu: goto L_250A94BF; 9346 case 0x250A94C3u: goto L_250A94C3; 9347 case 0x250A94C5u: goto L_250A94C5; 9348 case 0x250A94CBu: goto L_250A94CB; 9349 case 0x250A94D0u: goto L_250A94D0; 9350 case 0x250A94D6u: goto L_250A94D6; 9351 case 0x250A94D8u: goto L_250A94D8; 9352 case 0x250A94D9u: goto L_250A94D9; 9353 case 0x250A94DBu: goto L_250A94DB; 9354 case 0x250A94E0u: goto L_250A94E0; 9355 case 0x250A94E3u: goto L_250A94E3; 9356 case 0x250A94E5u: goto L_250A94E5; 9357 case 0x250A94E9u: goto L_250A94E9; 9358 case 0x250A94EBu: goto L_250A94EB; 9359 case 0x250A94EEu: goto L_250A94EE; 9360 case 0x250A94F3u: goto L_250A94F3; 9361 case 0x250A94F9u: goto L_250A94F9; 9362 case 0x250A94FBu: goto L_250A94FB; 9363 case 0x250A94FCu: goto L_250A94FC; 9364 case 0x250A94FEu: goto L_250A94FE; 9365 case 0x250A9503u: goto L_250A9503; 9366 case 0x250A9506u: goto L_250A9506; 9367 case 0x250A9508u: goto L_250A9508; 9368 case 0x250A950Fu: goto L_250A950F; 9369 case 0x250A9511u: goto L_250A9511; 9370 case 0x250A9514u: goto L_250A9514; 9371 case 0x250A951Au: goto L_250A951A; 9372 case 0x250A9520u: goto L_250A9520; 9373 case 0x250A9522u: goto L_250A9522; 9374 case 0x250A9523u: goto L_250A9523; 9375 case 0x250A9525u: goto L_250A9525; 9376 case 0x250A952Au: goto L_250A952A; 9377 case 0x250A952Du: goto L_250A952D; 9378 case 0x250A952Eu: goto L_250A952E; 9379 case 0x250A952Fu: goto L_250A952F; 9380 case 0x250A9530u: goto L_250A9530; 9381 case 0x250A9537u: goto L_250A9537; 9382 case 0x250A9539u: goto L_250A9539; 9383 case 0x250A953Au: goto L_250A953A; 9384 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 9385 } 9386 RECOMP_REGS_OUT(); 9387 } 9388 9389 void sub_250A8B50(void) { 9390 int _fpu_cmp = 0; 9391 uint32_t _cf = 0; 9392 int _df = 1; 9393 uint32_t _flag_k = FK_NONE; 9394 uint32_t _flag_a = 0, _flag_b = 0; 9395 uint32_t _itail_tgt = 0; 9396 RECOMP_REGS_LOCALS 9397 RECOMP_ENTER(0x250A8B50u); 9398 9399 L_250A8B50: 9400 edi = MEM32(ebp + (-0x1C)); /* 0x250A8B50: mov edi, dword ptr [ebp - 0x1c] */ 9401 L_250A8B53: 9402 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A8B53: cmp dword ptr [edi + 0x34], 9 */ 9403 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 9404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9405 _flag_k = FK_CMP; 9406 L_250A8B57: 9407 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8B57: je 0x250a8f26 */ 9408 L_250A8B5D: 9409 eax = MEM32(edi + 0x18); /* 0x250A8B5D: mov eax, dword ptr [edi + 0x18] */ 9410 L_250A8B60: 9411 edx = MEM32(edi + 0x10); /* 0x250A8B60: mov edx, dword ptr [edi + 0x10] */ 9412 L_250A8B63: 9413 MEM32(ebp + (-0x14)) = eax; /* 0x250A8B63: mov dword ptr [ebp - 0x14], eax */ 9414 L_250A8B66: 9415 SET_LO8(eax, MEM8(esi + 0xDE)); /* 0x250A8B66: mov al, byte ptr [esi + 0xde] */ 9416 L_250A8B6C: 9417 /* test LO8(eax), LO8(eax) */ /* 0x250A8B6C: test al, al */ 9418 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9419 _cf = 0; 9420 _flag_k = FK_NARROW(FK_TEST, 24); 9421 L_250A8B6E: 9422 MEM32(ebp + (-0x10)) = edx; /* 0x250A8B6E: mov dword ptr [ebp - 0x10], edx */ 9423 L_250A8B71: 9424 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B8D; /* 0x250A8B71: je 0x250a8b8d */ 9425 L_250A8B73: 9426 ecx = MEM32(esi + 0x94); /* 0x250A8B73: mov ecx, dword ptr [esi + 0x94] */ 9427 L_250A8B79: 9428 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x250A8B79: cmp ecx, dword ptr [edi + 0xc] */ 9429 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 9430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9431 _flag_k = FK_CMP; 9432 L_250A8B7C: 9433 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B8D; /* 0x250A8B7C: jne 0x250a8b8d */ 9434 L_250A8B7E: 9435 edx = MEM32(esi + 0x90); /* 0x250A8B7E: mov edx, dword ptr [esi + 0x90] */ 9436 L_250A8B84: 9437 /* cmp edx, MEM32(edi + 0x8) */ /* 0x250A8B84: cmp edx, dword ptr [edi + 8] */ 9438 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9440 _flag_k = FK_CMP; 9441 L_250A8B87: 9442 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x250A8B87: mov byte ptr [ebp + 0xb], 1 */ 9443 L_250A8B8B: 9444 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B91; /* 0x250A8B8B: je 0x250a8b91 */ 9445 L_250A8B8D: 9446 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x250A8B8D: mov byte ptr [ebp + 0xb], 0 */ 9447 L_250A8B91: 9448 eax = MEM32(0x25238574); /* 0x250A8B91: mov eax, dword ptr [0x25238574] */ 9449 L_250A8B96: 9450 MEM32(ebp + (-0x30)) = eax; /* 0x250A8B96: mov dword ptr [ebp - 0x30], eax */ 9451 L_250A8B99: 9452 eax = edi + 0x8; /* 0x250A8B99: lea eax, [edi + 8] */ 9453 L_250A8B9C: 9454 PUSH32(esp, eax); /* 0x250A8B9C: push eax */ 9455 L_250A8B9D: 9456 ecx = ebp + (-0x44); /* 0x250A8B9D: lea ecx, [ebp - 0x44] */ 9457 L_250A8BA0: 9458 PUSH32(esp, ecx); /* 0x250A8BA0: push ecx */ 9459 L_250A8BA1: 9460 ecx = 0x25238570u; /* 0x250A8BA1: mov ecx, 0x25238570 */ 9461 L_250A8BA6: 9462 RECOMP_ICALL(0x250A33E0u); /* 0x250A8BA6: call 0x250a33e0 */ /* not lifted */ 9463 RECOMP_FLAGS_IN(); 9464 L_250A8BAB: 9465 ecx = MEM32(eax); /* 0x250A8BAB: mov ecx, dword ptr [eax] */ 9466 L_250A8BAD: 9467 edx = MEM32(ebp + (-0x30)); /* 0x250A8BAD: mov edx, dword ptr [ebp - 0x30] */ 9468 L_250A8BB0: 9469 /* cmp ecx, edx */ /* 0x250A8BB0: cmp ecx, edx */ 9470 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9472 _flag_k = FK_CMP; 9473 L_250A8BB2: 9474 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x250A8BB2: mov cl, byte ptr [ebp + 0xb] */ 9475 L_250A8BB5: 9476 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8BB5: setne al */ 9477 L_250A8BB8: 9478 /* test LO8(ecx), LO8(ecx) */ /* 0x250A8BB8: test cl, cl */ 9479 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 9480 _cf = 0; 9481 _flag_k = FK_NARROW(FK_TEST, 24); 9482 L_250A8BBA: 9483 MEM8(ebp + (-0x29)) = (uint8_t)(LO8(eax)); /* 0x250A8BBA: mov byte ptr [ebp - 0x29], al */ 9484 L_250A8BBD: 9485 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BBD: jne 0x250a8dcb */ 9486 L_250A8BC3: 9487 /* test LO8(eax), LO8(eax) */ /* 0x250A8BC3: test al, al */ 9488 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9489 _cf = 0; 9490 _flag_k = FK_NARROW(FK_TEST, 24); 9491 L_250A8BC5: 9492 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BC5: jne 0x250a8dcb */ 9493 L_250A8BCB: 9494 SET_LO8(eax, MEM8(ebp + (-0x15))); /* 0x250A8BCB: mov al, byte ptr [ebp - 0x15] */ 9495 L_250A8BCE: 9496 /* test LO8(eax), LO8(eax) */ /* 0x250A8BCE: test al, al */ 9497 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9498 _cf = 0; 9499 _flag_k = FK_NARROW(FK_TEST, 24); 9500 L_250A8BD0: 9501 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8C1A; /* 0x250A8BD0: je 0x250a8c1a */ 9502 L_250A8BD2: 9503 eax = MEM32(edi + 0x38); /* 0x250A8BD2: mov eax, dword ptr [edi + 0x38] */ 9504 L_250A8BD5: 9505 ecx = ebp + 0x8; /* 0x250A8BD5: lea ecx, [ebp + 8] */ 9506 L_250A8BD8: 9507 PUSH32(esp, ecx); /* 0x250A8BD8: push ecx */ 9508 L_250A8BD9: 9509 edx = ebp + (-0x40); /* 0x250A8BD9: lea edx, [ebp - 0x40] */ 9510 L_250A8BDC: 9511 PUSH32(esp, edx); /* 0x250A8BDC: push edx */ 9512 L_250A8BDD: 9513 ecx = 0x252385A0u; /* 0x250A8BDD: mov ecx, 0x252385a0 */ 9514 L_250A8BE2: 9515 MEM32(ebp + 0x8) = eax; /* 0x250A8BE2: mov dword ptr [ebp + 8], eax */ 9516 L_250A8BE5: 9517 RECOMP_ICALL(0x250AC4E0u); /* 0x250A8BE5: call 0x250ac4e0 */ /* not lifted */ 9518 RECOMP_FLAGS_IN(); 9519 L_250A8BEA: 9520 eax = MEM32(eax); /* 0x250A8BEA: mov eax, dword ptr [eax] */ 9521 L_250A8BEC: 9522 /* cmp eax, MEM32(0x252385A4) */ /* 0x250A8BEC: cmp eax, dword ptr [0x252385a4] */ 9523 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385A4)); 9524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9525 _flag_k = FK_CMP; 9526 L_250A8BF2: 9527 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8BF2: je 0x250a8f26 */ 9528 L_250A8BF8: 9529 eax = MEM32(eax + 0x10); /* 0x250A8BF8: mov eax, dword ptr [eax + 0x10] */ 9530 L_250A8BFB: 9531 ecx = MEM32(0x2523858C); /* 0x250A8BFB: mov ecx, dword ptr [0x2523858c] */ 9532 L_250A8C01: 9533 edx = eax * 8; /* 0x250A8C01: lea edx, [eax*8] */ 9534 L_250A8C08: 9535 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9537 edx = edx - eax; /* 0x250A8C08: sub edx, eax */ 9538 _flag_k = FK_CMP; 9539 L_250A8C0A: 9540 eax = MEM32(ecx + edx * 8 + 0x2C); /* 0x250A8C0A: mov eax, dword ptr [ecx + edx*8 + 0x2c] */ 9541 L_250A8C0E: 9542 /* cmp eax, MEM32(0x252385C0) */ /* 0x250A8C0E: cmp eax, dword ptr [0x252385c0] */ 9543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 9544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9545 _flag_k = FK_CMP; 9546 L_250A8C14: 9547 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8F26; /* 0x250A8C14: jne 0x250a8f26 */ 9548 L_250A8C1A: 9549 eax = MEM32(edi + 0x34); /* 0x250A8C1A: mov eax, dword ptr [edi + 0x34] */ 9550 L_250A8C1D: 9551 /* cmp eax, 8 */ /* 0x250A8C1D: cmp eax, 8 */ 9552 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 9553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9554 _flag_k = FK_CMP; 9555 L_250A8C20: 9556 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A8F26; /* 0x250A8C20: ja 0x250a8f26 */ 9557 L_250A8C26: 9558 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x250A9540)); goto _ljump; } 9559 L_250A8C2D: 9560 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C2D: mov ecx, dword ptr [ebp - 0x10] */ 9561 L_250A8C30: 9562 edx = MEM32(ebp + (-0x14)); /* 0x250A8C30: mov edx, dword ptr [ebp - 0x14] */ 9563 L_250A8C33: 9564 PUSH32(esp, 0); /* 0x250A8C33: push 0 */ 9565 L_250A8C35: 9566 eax = ebp + (-0xC8); /* 0x250A8C35: lea eax, [ebp - 0xc8] */ 9567 L_250A8C3B: 9568 PUSH32(esp, eax); /* 0x250A8C3B: push eax */ 9569 L_250A8C3C: 9570 MEM32(ebp + (-0xC8)) = ecx; /* 0x250A8C3C: mov dword ptr [ebp - 0xc8], ecx */ 9571 L_250A8C42: 9572 PUSH32(esp, ebx); /* 0x250A8C42: push ebx */ 9573 L_250A8C43: 9574 ecx = esi; /* 0x250A8C43: mov ecx, esi */ 9575 L_250A8C45: 9576 MEM32(ebp + (-0xC4)) = 0; /* 0x250A8C45: mov dword ptr [ebp - 0xc4], 0 */ 9577 L_250A8C4F: 9578 MEM32(ebp + (-0xC0)) = edx; /* 0x250A8C4F: mov dword ptr [ebp - 0xc0], edx */ 9579 L_250A8C55: 9580 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C55: call 0x250a87e0 */ /* not lifted */ 9581 RECOMP_FLAGS_IN(); 9582 L_250A8C5A: 9583 goto L_250A8F26; /* 0x250A8C5A: jmp 0x250a8f26 */ 9584 L_250A8C5F: 9585 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C5F: mov ecx, dword ptr [ebp - 0x10] */ 9586 L_250A8C62: 9587 edx = MEM32(ebp + (-0x14)); /* 0x250A8C62: mov edx, dword ptr [ebp - 0x14] */ 9588 L_250A8C65: 9589 PUSH32(esp, 1); /* 0x250A8C65: push 1 */ 9590 L_250A8C67: 9591 eax = ebp + (-0xEC); /* 0x250A8C67: lea eax, [ebp - 0xec] */ 9592 L_250A8C6D: 9593 PUSH32(esp, eax); /* 0x250A8C6D: push eax */ 9594 L_250A8C6E: 9595 MEM32(ebp + (-0xEC)) = ecx; /* 0x250A8C6E: mov dword ptr [ebp - 0xec], ecx */ 9596 L_250A8C74: 9597 PUSH32(esp, ebx); /* 0x250A8C74: push ebx */ 9598 L_250A8C75: 9599 ecx = esi; /* 0x250A8C75: mov ecx, esi */ 9600 L_250A8C77: 9601 MEM32(ebp + (-0xE8)) = 0; /* 0x250A8C77: mov dword ptr [ebp - 0xe8], 0 */ 9602 L_250A8C81: 9603 MEM32(ebp + (-0xE4)) = edx; /* 0x250A8C81: mov dword ptr [ebp - 0xe4], edx */ 9604 L_250A8C87: 9605 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C87: call 0x250a87e0 */ /* not lifted */ 9606 RECOMP_FLAGS_IN(); 9607 L_250A8C8C: 9608 goto L_250A8F26; /* 0x250A8C8C: jmp 0x250a8f26 */ 9609 L_250A8C91: 9610 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C91: mov ecx, dword ptr [ebp - 0x10] */ 9611 L_250A8C94: 9612 edx = MEM32(ebp + (-0x14)); /* 0x250A8C94: mov edx, dword ptr [ebp - 0x14] */ 9613 L_250A8C97: 9614 PUSH32(esp, 2); /* 0x250A8C97: push 2 */ 9615 L_250A8C99: 9616 eax = ebp + (-0xD4); /* 0x250A8C99: lea eax, [ebp - 0xd4] */ 9617 L_250A8C9F: 9618 PUSH32(esp, eax); /* 0x250A8C9F: push eax */ 9619 L_250A8CA0: 9620 MEM32(ebp + (-0xD4)) = ecx; /* 0x250A8CA0: mov dword ptr [ebp - 0xd4], ecx */ 9621 L_250A8CA6: 9622 PUSH32(esp, ebx); /* 0x250A8CA6: push ebx */ 9623 L_250A8CA7: 9624 ecx = esi; /* 0x250A8CA7: mov ecx, esi */ 9625 L_250A8CA9: 9626 MEM32(ebp + (-0xD0)) = 0; /* 0x250A8CA9: mov dword ptr [ebp - 0xd0], 0 */ 9627 L_250A8CB3: 9628 MEM32(ebp + (-0xCC)) = edx; /* 0x250A8CB3: mov dword ptr [ebp - 0xcc], edx */ 9629 L_250A8CB9: 9630 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CB9: call 0x250a87e0 */ /* not lifted */ 9631 RECOMP_FLAGS_IN(); 9632 L_250A8CBE: 9633 goto L_250A8F26; /* 0x250A8CBE: jmp 0x250a8f26 */ 9634 L_250A8CC3: 9635 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CC3: mov ecx, dword ptr [ebp - 0x10] */ 9636 L_250A8CC6: 9637 edx = MEM32(ebp + (-0x14)); /* 0x250A8CC6: mov edx, dword ptr [ebp - 0x14] */ 9638 L_250A8CC9: 9639 PUSH32(esp, 3); /* 0x250A8CC9: push 3 */ 9640 L_250A8CCB: 9641 eax = ebp + (-0xF8); /* 0x250A8CCB: lea eax, [ebp - 0xf8] */ 9642 L_250A8CD1: 9643 PUSH32(esp, eax); /* 0x250A8CD1: push eax */ 9644 L_250A8CD2: 9645 MEM32(ebp + (-0xF8)) = ecx; /* 0x250A8CD2: mov dword ptr [ebp - 0xf8], ecx */ 9646 L_250A8CD8: 9647 PUSH32(esp, ebx); /* 0x250A8CD8: push ebx */ 9648 L_250A8CD9: 9649 ecx = esi; /* 0x250A8CD9: mov ecx, esi */ 9650 L_250A8CDB: 9651 MEM32(ebp + (-0xF4)) = 0; /* 0x250A8CDB: mov dword ptr [ebp - 0xf4], 0 */ 9652 L_250A8CE5: 9653 MEM32(ebp + (-0xF0)) = edx; /* 0x250A8CE5: mov dword ptr [ebp - 0xf0], edx */ 9654 L_250A8CEB: 9655 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CEB: call 0x250a87e0 */ /* not lifted */ 9656 RECOMP_FLAGS_IN(); 9657 L_250A8CF0: 9658 goto L_250A8F26; /* 0x250A8CF0: jmp 0x250a8f26 */ 9659 L_250A8CF5: 9660 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CF5: mov ecx, dword ptr [ebp - 0x10] */ 9661 L_250A8CF8: 9662 edx = MEM32(ebp + (-0x14)); /* 0x250A8CF8: mov edx, dword ptr [ebp - 0x14] */ 9663 L_250A8CFB: 9664 PUSH32(esp, 4); /* 0x250A8CFB: push 4 */ 9665 L_250A8CFD: 9666 eax = ebp + (-0x104); /* 0x250A8CFD: lea eax, [ebp - 0x104] */ 9667 L_250A8D03: 9668 PUSH32(esp, eax); /* 0x250A8D03: push eax */ 9669 L_250A8D04: 9670 MEM32(ebp + (-0x104)) = ecx; /* 0x250A8D04: mov dword ptr [ebp - 0x104], ecx */ 9671 L_250A8D0A: 9672 PUSH32(esp, ebx); /* 0x250A8D0A: push ebx */ 9673 L_250A8D0B: 9674 ecx = esi; /* 0x250A8D0B: mov ecx, esi */ 9675 L_250A8D0D: 9676 MEM32(ebp + (-0x100)) = 0; /* 0x250A8D0D: mov dword ptr [ebp - 0x100], 0 */ 9677 L_250A8D17: 9678 MEM32(ebp + (-0xFC)) = edx; /* 0x250A8D17: mov dword ptr [ebp - 0xfc], edx */ 9679 L_250A8D1D: 9680 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D1D: call 0x250a87e0 */ /* not lifted */ 9681 RECOMP_FLAGS_IN(); 9682 L_250A8D22: 9683 goto L_250A8F26; /* 0x250A8D22: jmp 0x250a8f26 */ 9684 L_250A8D27: 9685 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D27: mov ecx, dword ptr [ebp - 0x10] */ 9686 L_250A8D2A: 9687 edx = MEM32(ebp + (-0x14)); /* 0x250A8D2A: mov edx, dword ptr [ebp - 0x14] */ 9688 L_250A8D2D: 9689 PUSH32(esp, 5); /* 0x250A8D2D: push 5 */ 9690 L_250A8D2F: 9691 eax = ebp + (-0x98); /* 0x250A8D2F: lea eax, [ebp - 0x98] */ 9692 L_250A8D35: 9693 PUSH32(esp, eax); /* 0x250A8D35: push eax */ 9694 L_250A8D36: 9695 MEM32(ebp + (-0x98)) = ecx; /* 0x250A8D36: mov dword ptr [ebp - 0x98], ecx */ 9696 L_250A8D3C: 9697 PUSH32(esp, ebx); /* 0x250A8D3C: push ebx */ 9698 L_250A8D3D: 9699 ecx = esi; /* 0x250A8D3D: mov ecx, esi */ 9700 L_250A8D3F: 9701 MEM32(ebp + (-0x94)) = 0; /* 0x250A8D3F: mov dword ptr [ebp - 0x94], 0 */ 9702 L_250A8D49: 9703 MEM32(ebp + (-0x90)) = edx; /* 0x250A8D49: mov dword ptr [ebp - 0x90], edx */ 9704 L_250A8D4F: 9705 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D4F: call 0x250a87e0 */ /* not lifted */ 9706 RECOMP_FLAGS_IN(); 9707 L_250A8D54: 9708 goto L_250A8F26; /* 0x250A8D54: jmp 0x250a8f26 */ 9709 L_250A8D59: 9710 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D59: mov ecx, dword ptr [ebp - 0x10] */ 9711 L_250A8D5C: 9712 edx = MEM32(ebp + (-0x14)); /* 0x250A8D5C: mov edx, dword ptr [ebp - 0x14] */ 9713 L_250A8D5F: 9714 PUSH32(esp, 6); /* 0x250A8D5F: push 6 */ 9715 L_250A8D61: 9716 eax = ebp + (-0x50); /* 0x250A8D61: lea eax, [ebp - 0x50] */ 9717 L_250A8D64: 9718 PUSH32(esp, eax); /* 0x250A8D64: push eax */ 9719 L_250A8D65: 9720 MEM32(ebp + (-0x50)) = ecx; /* 0x250A8D65: mov dword ptr [ebp - 0x50], ecx */ 9721 L_250A8D68: 9722 PUSH32(esp, ebx); /* 0x250A8D68: push ebx */ 9723 L_250A8D69: 9724 ecx = esi; /* 0x250A8D69: mov ecx, esi */ 9725 L_250A8D6B: 9726 MEM32(ebp + (-0x4C)) = 0; /* 0x250A8D6B: mov dword ptr [ebp - 0x4c], 0 */ 9727 L_250A8D72: 9728 MEM32(ebp + (-0x48)) = edx; /* 0x250A8D72: mov dword ptr [ebp - 0x48], edx */ 9729 L_250A8D75: 9730 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D75: call 0x250a87e0 */ /* not lifted */ 9731 RECOMP_FLAGS_IN(); 9732 L_250A8D7A: 9733 goto L_250A8F26; /* 0x250A8D7A: jmp 0x250a8f26 */ 9734 L_250A8D7F: 9735 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D7F: mov ecx, dword ptr [ebp - 0x10] */ 9736 L_250A8D82: 9737 edx = MEM32(ebp + (-0x14)); /* 0x250A8D82: mov edx, dword ptr [ebp - 0x14] */ 9738 L_250A8D85: 9739 PUSH32(esp, 6); /* 0x250A8D85: push 6 */ 9740 L_250A8D87: 9741 eax = ebp + (-0x5C); /* 0x250A8D87: lea eax, [ebp - 0x5c] */ 9742 L_250A8D8A: 9743 PUSH32(esp, eax); /* 0x250A8D8A: push eax */ 9744 L_250A8D8B: 9745 MEM32(ebp + (-0x5C)) = ecx; /* 0x250A8D8B: mov dword ptr [ebp - 0x5c], ecx */ 9746 L_250A8D8E: 9747 PUSH32(esp, ebx); /* 0x250A8D8E: push ebx */ 9748 L_250A8D8F: 9749 ecx = esi; /* 0x250A8D8F: mov ecx, esi */ 9750 L_250A8D91: 9751 MEM32(ebp + (-0x58)) = 0; /* 0x250A8D91: mov dword ptr [ebp - 0x58], 0 */ 9752 L_250A8D98: 9753 MEM32(ebp + (-0x54)) = edx; /* 0x250A8D98: mov dword ptr [ebp - 0x54], edx */ 9754 L_250A8D9B: 9755 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D9B: call 0x250a87e0 */ /* not lifted */ 9756 RECOMP_FLAGS_IN(); 9757 L_250A8DA0: 9758 goto L_250A8F26; /* 0x250A8DA0: jmp 0x250a8f26 */ 9759 L_250A8DA5: 9760 ecx = MEM32(ebp + (-0x10)); /* 0x250A8DA5: mov ecx, dword ptr [ebp - 0x10] */ 9761 L_250A8DA8: 9762 edx = MEM32(ebp + (-0x14)); /* 0x250A8DA8: mov edx, dword ptr [ebp - 0x14] */ 9763 L_250A8DAB: 9764 PUSH32(esp, 7); /* 0x250A8DAB: push 7 */ 9765 L_250A8DAD: 9766 eax = ebp + (-0x74); /* 0x250A8DAD: lea eax, [ebp - 0x74] */ 9767 L_250A8DB0: 9768 PUSH32(esp, eax); /* 0x250A8DB0: push eax */ 9769 L_250A8DB1: 9770 MEM32(ebp + (-0x74)) = ecx; /* 0x250A8DB1: mov dword ptr [ebp - 0x74], ecx */ 9771 L_250A8DB4: 9772 PUSH32(esp, ebx); /* 0x250A8DB4: push ebx */ 9773 L_250A8DB5: 9774 ecx = esi; /* 0x250A8DB5: mov ecx, esi */ 9775 L_250A8DB7: 9776 MEM32(ebp + (-0x70)) = 0; /* 0x250A8DB7: mov dword ptr [ebp - 0x70], 0 */ 9777 L_250A8DBE: 9778 MEM32(ebp + (-0x6C)) = edx; /* 0x250A8DBE: mov dword ptr [ebp - 0x6c], edx */ 9779 L_250A8DC1: 9780 RECOMP_ICALL(0x250A87E0u); /* 0x250A8DC1: call 0x250a87e0 */ /* not lifted */ 9781 RECOMP_FLAGS_IN(); 9782 L_250A8DC6: 9783 goto L_250A8F26; /* 0x250A8DC6: jmp 0x250a8f26 */ 9784 L_250A8DCB: 9785 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x1Cu); 9786 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9787 edi = edi + 0x1Cu; /* 0x250A8DCB: add edi, 0x1c */ 9788 _flag_k = FK_ADD; 9789 L_250A8DCE: 9790 ecx = edi; /* 0x250A8DCE: mov ecx, edi */ 9791 L_250A8DD0: 9792 edx = MEM32(ecx); /* 0x250A8DD0: mov edx, dword ptr [ecx] */ 9793 L_250A8DD2: 9794 eax = MEM32(ecx + 0x4); /* 0x250A8DD2: mov eax, dword ptr [ecx + 4] */ 9795 L_250A8DD5: 9796 ecx = MEM32(ecx + 0x8); /* 0x250A8DD5: mov ecx, dword ptr [ecx + 8] */ 9797 L_250A8DD8: 9798 MEM32(ebp + (-0x8C)) = edx; /* 0x250A8DD8: mov dword ptr [ebp - 0x8c], edx */ 9799 L_250A8DDE: 9800 edx = ebp + (-0x28); /* 0x250A8DDE: lea edx, [ebp - 0x28] */ 9801 L_250A8DE1: 9802 MEM32(ebp + (-0x84)) = ecx; /* 0x250A8DE1: mov dword ptr [ebp - 0x84], ecx */ 9803 L_250A8DE7: 9804 PUSH32(esp, edx); /* 0x250A8DE7: push edx */ 9805 L_250A8DE8: 9806 ecx = ebp + (-0x8C); /* 0x250A8DE8: lea ecx, [ebp - 0x8c] */ 9807 L_250A8DEE: 9808 MEM32(ebp + (-0x28)) = 0; /* 0x250A8DEE: mov dword ptr [ebp - 0x28], 0 */ 9809 L_250A8DF5: 9810 MEM32(ebp + (-0x24)) = 0; /* 0x250A8DF5: mov dword ptr [ebp - 0x24], 0 */ 9811 L_250A8DFC: 9812 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x250A8DFC: mov dword ptr [ebp - 0x20], 0x3f800000 */ 9813 L_250A8E03: 9814 MEM32(ebp + (-0x88)) = eax; /* 0x250A8E03: mov dword ptr [ebp - 0x88], eax */ 9815 L_250A8E09: 9816 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A8E09: call dword ptr [0x25151564] */ 9817 RECOMP_FLAGS_IN(); 9818 L_250A8E0F: 9819 ecx = MEM32(eax); /* 0x250A8E0F: mov ecx, dword ptr [eax] */ 9820 L_250A8E11: 9821 MEM32(ebp + (-0xAC)) = ecx; /* 0x250A8E11: mov dword ptr [ebp - 0xac], ecx */ 9822 L_250A8E17: 9823 edx = MEM32(eax + 0x4); /* 0x250A8E17: mov edx, dword ptr [eax + 4] */ 9824 L_250A8E1A: 9825 MEM32(ebp + (-0xA8)) = edx; /* 0x250A8E1A: mov dword ptr [ebp - 0xa8], edx */ 9826 L_250A8E20: 9827 eax = MEM32(eax + 0x8); /* 0x250A8E20: mov eax, dword ptr [eax + 8] */ 9828 L_250A8E23: 9829 ecx = ebp + (-0xAC); /* 0x250A8E23: lea ecx, [ebp - 0xac] */ 9830 L_250A8E29: 9831 PUSH32(esp, ecx); /* 0x250A8E29: push ecx */ 9832 L_250A8E2A: 9833 edx = ebp + (-0xB8); /* 0x250A8E2A: lea edx, [ebp - 0xb8] */ 9834 L_250A8E30: 9835 PUSH32(esp, edx); /* 0x250A8E30: push edx */ 9836 L_250A8E31: 9837 ecx = edi; /* 0x250A8E31: mov ecx, edi */ 9838 L_250A8E33: 9839 MEM32(ebp + (-0xA4)) = eax; /* 0x250A8E33: mov dword ptr [ebp - 0xa4], eax */ 9840 L_250A8E39: 9841 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250A8E39: call dword ptr [0x25151570] */ 9842 RECOMP_FLAGS_IN(); 9843 L_250A8E3F: 9844 fp_push(*(float*)&MEM32(edi + 0xC)); /* 0x250A8E3F: fld dword ptr [edi + 0xc] */ 9845 L_250A8E42: 9846 ecx = MEM32(eax); /* 0x250A8E42: mov ecx, dword ptr [eax] */ 9847 L_250A8E44: 9848 _st[0] += _st[0]; /* 0x250A8E44: fadd st(0), st(0) */ 9849 L_250A8E46: 9850 MEM32(ebp + (-0x3C)) = ecx; /* 0x250A8E46: mov dword ptr [ebp - 0x3c], ecx */ 9851 L_250A8E49: 9852 edx = MEM32(eax + 0x4); /* 0x250A8E49: mov edx, dword ptr [eax + 4] */ 9853 L_250A8E4C: 9854 MEM32(ebp + (-0x38)) = edx; /* 0x250A8E4C: mov dword ptr [ebp - 0x38], edx */ 9855 L_250A8E4F: 9856 eax = MEM32(eax + 0x8); /* 0x250A8E4F: mov eax, dword ptr [eax + 8] */ 9857 L_250A8E52: 9858 PUSH32(esp, ecx); /* 0x250A8E52: push ecx */ 9859 L_250A8E53: 9860 ecx = ebp + (-0xAC); /* 0x250A8E53: lea ecx, [ebp - 0xac] */ 9861 L_250A8E59: 9862 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8E59: fstp dword ptr [esp] */ 9863 L_250A8E5C: 9864 MEM32(ebp + (-0x34)) = eax; /* 0x250A8E5C: mov dword ptr [ebp - 0x34], eax */ 9865 L_250A8E5F: 9866 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E5F: call dword ptr [0x25151510] */ 9867 RECOMP_FLAGS_IN(); 9868 L_250A8E65: 9869 PUSH32(esp, 0x40000000u); /* 0x250A8E65: push 0x40000000 */ 9870 L_250A8E6A: 9871 ecx = ebp + (-0x3C); /* 0x250A8E6A: lea ecx, [ebp - 0x3c] */ 9872 L_250A8E6D: 9873 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E6D: call dword ptr [0x25151510] */ 9874 RECOMP_FLAGS_IN(); 9875 L_250A8E73: 9876 ecx = ebp + (-0xAC); /* 0x250A8E73: lea ecx, [ebp - 0xac] */ 9877 L_250A8E79: 9878 PUSH32(esp, ecx); /* 0x250A8E79: push ecx */ 9879 L_250A8E7A: 9880 ecx = ebp + (-0x28); /* 0x250A8E7A: lea ecx, [ebp - 0x28] */ 9881 L_250A8E7D: 9882 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E7D: call dword ptr [0x251514f8] */ 9883 RECOMP_FLAGS_IN(); 9884 L_250A8E83: 9885 edx = ebp + (-0x3C); /* 0x250A8E83: lea edx, [ebp - 0x3c] */ 9886 L_250A8E86: 9887 PUSH32(esp, edx); /* 0x250A8E86: push edx */ 9888 L_250A8E87: 9889 ecx = ebp + (-0x28); /* 0x250A8E87: lea ecx, [ebp - 0x28] */ 9890 L_250A8E8A: 9891 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E8A: call dword ptr [0x251514f8] */ 9892 RECOMP_FLAGS_IN(); 9893 L_250A8E90: 9894 eax = MEM32(esi + 0x70); /* 0x250A8E90: mov eax, dword ptr [esi + 0x70] */ 9895 L_250A8E93: 9896 /* test eax, eax */ /* 0x250A8E93: test eax, eax */ 9897 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9898 _cf = 0; 9899 _flag_k = FK_TEST; 9900 L_250A8E95: 9901 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8EA1; /* 0x250A8E95: je 0x250a8ea1 */ 9902 L_250A8E97: 9903 eax = MEM32(eax + 0x28); /* 0x250A8E97: mov eax, dword ptr [eax + 0x28] */ 9904 L_250A8E9A: 9905 PUSH32(esp, 0xAu); /* 0x250A8E9A: push 0xa */ 9906 L_250A8E9C: 9907 PUSH32(esp, 0); /* 0x250A8E9C: push 0 */ 9908 L_250A8E9E: 9909 PUSH32(esp, eax); /* 0x250A8E9E: push eax */ 9910 L_250A8E9F: 9911 goto L_250A8EA7; /* 0x250A8E9F: jmp 0x250a8ea7 */ 9912 L_250A8EA1: 9913 PUSH32(esp, 0xAu); /* 0x250A8EA1: push 0xa */ 9914 L_250A8EA3: 9915 PUSH32(esp, 0); /* 0x250A8EA3: push 0 */ 9916 L_250A8EA5: 9917 PUSH32(esp, 0); /* 0x250A8EA5: push 0 */ 9918 L_250A8EA7: 9919 ecx = MEM32(ebx + 0x8); /* 0x250A8EA7: mov ecx, dword ptr [ebx + 8] */ 9920 L_250A8EAA: 9921 RECOMP_ICALL(0x250EFF90u); /* 0x250A8EAA: call 0x250eff90 */ /* not lifted */ 9922 RECOMP_FLAGS_IN(); 9923 L_250A8EAF: 9924 ecx = ebx; /* 0x250A8EAF: mov ecx, ebx */ 9925 L_250A8EB1: 9926 RECOMP_ICALL(0x250E05D0u); /* 0x250A8EB1: call 0x250e05d0 */ /* not lifted */ 9927 RECOMP_FLAGS_IN(); 9928 L_250A8EB6: 9929 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A8EB6: fld dword ptr [ebp - 0x28] */ 9930 L_250A8EB9: 9931 _st[0] = -_st[0]; /* 0x250A8EB9: fchs */ 9932 L_250A8EBB: 9933 eax = MEM32(ebp + (-0x10)); /* 0x250A8EBB: mov eax, dword ptr [ebp - 0x10] */ 9934 L_250A8EBE: 9935 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A8EBE: fld dword ptr [ebp - 0x20] */ 9936 L_250A8EC1: 9937 ecx = MEM32(ebp + (-0x14)); /* 0x250A8EC1: mov ecx, dword ptr [ebp - 0x14] */ 9938 L_250A8EC4: 9939 _st[0] = -_st[0]; /* 0x250A8EC4: fchs */ 9940 L_250A8EC6: 9941 MEM32(ebp + (-0x80)) = eax; /* 0x250A8EC6: mov dword ptr [ebp - 0x80], eax */ 9942 L_250A8EC9: 9943 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A8EC9: fpatan */ 9944 L_250A8ECB: 9945 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x250A8ECB: mov al, byte ptr [ebp - 0x29] */ 9946 L_250A8ECE: 9947 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9948 edx = 0; /* 0x250A8ECE: xor edx, edx */ 9949 _cf = 0; 9950 _flag_k = FK_TEST; 9951 L_250A8ED0: 9952 /* test LO8(eax), LO8(eax) */ /* 0x250A8ED0: test al, al */ 9953 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9954 _cf = 0; 9955 _flag_k = FK_NARROW(FK_TEST, 24); 9956 L_250A8ED2: 9957 SET_LO8(edx, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8ED2: setne dl */ 9958 L_250A8ED5: 9959 eax = ebp + (-0x80); /* 0x250A8ED5: lea eax, [ebp - 0x80] */ 9960 L_250A8ED8: 9961 MEM32(ebp + (-0x78)) = ecx; /* 0x250A8ED8: mov dword ptr [ebp - 0x78], ecx */ 9962 L_250A8EDB: 9963 MEM32(ebp + (-0x7C)) = 0; /* 0x250A8EDB: mov dword ptr [ebp - 0x7c], 0 */ 9964 L_250A8EE2: 9965 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9966 edx = edx + 1; /* 0x250A8EE2: inc edx */ 9967 _flag_k = FK_INC; 9968 L_250A8EE3: 9969 PUSH32(esp, edx); /* 0x250A8EE3: push edx */ 9970 L_250A8EE4: 9971 PUSH32(esp, ecx); /* 0x250A8EE4: push ecx */ 9972 L_250A8EE5: 9973 ecx = esi; /* 0x250A8EE5: mov ecx, esi */ 9974 L_250A8EE7: 9975 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A8EE7: fmul dword ptr [0x25156404] */ 9976 L_250A8EED: 9977 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A8EED: fadd dword ptr [0x25151788] */ 9978 L_250A8EF3: 9979 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8EF3: fstp dword ptr [esp] */ 9980 L_250A8EF6: 9981 PUSH32(esp, eax); /* 0x250A8EF6: push eax */ 9982 L_250A8EF7: 9983 PUSH32(esp, ebx); /* 0x250A8EF7: push ebx */ 9984 L_250A8EF8: 9985 RECOMP_ICALL(0x250A8830u); /* 0x250A8EF8: call 0x250a8830 */ /* not lifted */ 9986 RECOMP_FLAGS_IN(); 9987 L_250A8EFD: 9988 eax = MEM32(esi + 0x6C); /* 0x250A8EFD: mov eax, dword ptr [esi + 0x6c] */ 9989 L_250A8F00: 9990 /* test eax, eax */ /* 0x250A8F00: test eax, eax */ 9991 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9992 _cf = 0; 9993 _flag_k = FK_TEST; 9994 L_250A8F02: 9995 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F0E; /* 0x250A8F02: je 0x250a8f0e */ 9996 L_250A8F04: 9997 eax = MEM32(eax + 0x28); /* 0x250A8F04: mov eax, dword ptr [eax + 0x28] */ 9998 L_250A8F07: 9999 PUSH32(esp, 0xAu); /* 0x250A8F07: push 0xa */ 10000 L_250A8F09: 10001 PUSH32(esp, 0); /* 0x250A8F09: push 0 */ 10002 L_250A8F0B: 10003 PUSH32(esp, eax); /* 0x250A8F0B: push eax */ 10004 L_250A8F0C: 10005 goto L_250A8F14; /* 0x250A8F0C: jmp 0x250a8f14 */ 10006 L_250A8F0E: 10007 PUSH32(esp, 0xAu); /* 0x250A8F0E: push 0xa */ 10008 L_250A8F10: 10009 PUSH32(esp, 0); /* 0x250A8F10: push 0 */ 10010 L_250A8F12: 10011 PUSH32(esp, 0); /* 0x250A8F12: push 0 */ 10012 L_250A8F14: 10013 ecx = MEM32(ebx + 0x8); /* 0x250A8F14: mov ecx, dword ptr [ebx + 8] */ 10014 L_250A8F17: 10015 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F17: call 0x250eff90 */ /* not lifted */ 10016 RECOMP_FLAGS_IN(); 10017 L_250A8F1C: 10018 ecx = ebx; /* 0x250A8F1C: mov ecx, ebx */ 10019 L_250A8F1E: 10020 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F1E: call 0x250e05d0 */ /* not lifted */ 10021 RECOMP_FLAGS_IN(); 10022 L_250A8F23: 10023 edi = MEM32(ebp + (-0x1C)); /* 0x250A8F23: mov edi, dword ptr [ebp - 0x1c] */ 10024 L_250A8F26: 10025 ecx = MEM32(ebp + 0xC); /* 0x250A8F26: mov ecx, dword ptr [ebp + 0xc] */ 10026 L_250A8F29: 10027 edi = MEM32(edi); /* 0x250A8F29: mov edi, dword ptr [edi] */ 10028 L_250A8F2B: 10029 /* cmp edi, MEM32(ecx + 0x4) */ /* 0x250A8F2B: cmp edi, dword ptr [ecx + 4] */ 10030 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10032 _flag_k = FK_CMP; 10033 L_250A8F2E: 10034 MEM32(ebp + (-0x1C)) = edi; /* 0x250A8F2E: mov dword ptr [ebp - 0x1c], edi */ 10035 L_250A8F31: 10036 RECOMP_BACKEDGE(); 10037 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B50; /* 0x250A8F31: jne 0x250a8b50 */ 10038 L_250A8F37: 10039 eax = MEM32(esi + 0xAC); /* 0x250A8F37: mov eax, dword ptr [esi + 0xac] */ 10040 L_250A8F3D: 10041 /* test eax, eax */ /* 0x250A8F3D: test eax, eax */ 10042 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10043 _cf = 0; 10044 _flag_k = FK_TEST; 10045 L_250A8F3F: 10046 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F3F: je 0x250a90b9 */ 10047 L_250A8F45: 10048 ecx = MEM32(esi + 0xB0); /* 0x250A8F45: mov ecx, dword ptr [esi + 0xb0] */ 10049 L_250A8F4B: 10050 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10052 ecx = ecx - eax; /* 0x250A8F4B: sub ecx, eax */ 10053 _flag_k = FK_CMP; 10054 L_250A8F4D: 10055 eax = 0x66666667u; /* 0x250A8F4D: mov eax, 0x66666667 */ 10056 L_250A8F52: 10057 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A8F52: imul ecx */ 10058 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10059 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10060 L_250A8F54: 10061 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A8F54: sar edx, 3 */ 10062 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10063 edx = (uint32_t)((int32_t)edx >> 3u); 10064 L_250A8F57: 10065 eax = edx; /* 0x250A8F57: mov eax, edx */ 10066 L_250A8F59: 10067 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A8F59: shr eax, 0x1f */ 10068 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10069 eax = eax >> 31u; /* 0x250A8F59: shr eax, 0x1f */ 10070 L_250A8F5C: 10071 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10072 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10073 edx = edx + eax; /* 0x250A8F5C: add edx, eax */ 10074 _flag_k = FK_ADD; 10075 L_250A8F5E: 10076 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F5E: je 0x250a90b9 */ 10077 L_250A8F64: 10078 eax = MEM32(esi + 0x70); /* 0x250A8F64: mov eax, dword ptr [esi + 0x70] */ 10079 L_250A8F67: 10080 /* test eax, eax */ /* 0x250A8F67: test eax, eax */ 10081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10082 _cf = 0; 10083 _flag_k = FK_TEST; 10084 L_250A8F69: 10085 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F75; /* 0x250A8F69: je 0x250a8f75 */ 10086 L_250A8F6B: 10087 eax = MEM32(eax + 0x28); /* 0x250A8F6B: mov eax, dword ptr [eax + 0x28] */ 10088 L_250A8F6E: 10089 PUSH32(esp, 0xAu); /* 0x250A8F6E: push 0xa */ 10090 L_250A8F70: 10091 PUSH32(esp, 0); /* 0x250A8F70: push 0 */ 10092 L_250A8F72: 10093 PUSH32(esp, eax); /* 0x250A8F72: push eax */ 10094 L_250A8F73: 10095 goto L_250A8F7B; /* 0x250A8F73: jmp 0x250a8f7b */ 10096 L_250A8F75: 10097 PUSH32(esp, 0xAu); /* 0x250A8F75: push 0xa */ 10098 L_250A8F77: 10099 PUSH32(esp, 0); /* 0x250A8F77: push 0 */ 10100 L_250A8F79: 10101 PUSH32(esp, 0); /* 0x250A8F79: push 0 */ 10102 L_250A8F7B: 10103 ecx = MEM32(ebx + 0x8); /* 0x250A8F7B: mov ecx, dword ptr [ebx + 8] */ 10104 L_250A8F7E: 10105 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F7E: call 0x250eff90 */ /* not lifted */ 10106 RECOMP_FLAGS_IN(); 10107 L_250A8F83: 10108 ecx = ebx; /* 0x250A8F83: mov ecx, ebx */ 10109 L_250A8F85: 10110 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F85: call 0x250e05d0 */ /* not lifted */ 10111 RECOMP_FLAGS_IN(); 10112 L_250A8F8A: 10113 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10114 eax = 0; /* 0x250A8F8A: xor eax, eax */ 10115 _cf = 0; 10116 _flag_k = FK_TEST; 10117 L_250A8F8C: 10118 MEM32(ebp + (-0x128)) = 4; /* 0x250A8F8C: mov dword ptr [ebp - 0x128], 4 */ 10119 L_250A8F96: 10120 MEM32(ebp + (-0x124)) = 7; /* 0x250A8F96: mov dword ptr [ebp - 0x124], 7 */ 10121 L_250A8FA0: 10122 MEM32(ebp + (-0x120)) = 0xAu; /* 0x250A8FA0: mov dword ptr [ebp - 0x120], 0xa */ 10123 L_250A8FAA: 10124 MEM32(ebp + (-0x11C)) = 3; /* 0x250A8FAA: mov dword ptr [ebp - 0x11c], 3 */ 10125 L_250A8FB4: 10126 MEM32(ebp + (-0x118)) = 6; /* 0x250A8FB4: mov dword ptr [ebp - 0x118], 6 */ 10127 L_250A8FBE: 10128 MEM32(ebp + (-0x114)) = 9; /* 0x250A8FBE: mov dword ptr [ebp - 0x114], 9 */ 10129 L_250A8FC8: 10130 MEM32(ebp + (-0x110)) = 5; /* 0x250A8FC8: mov dword ptr [ebp - 0x110], 5 */ 10131 L_250A8FD2: 10132 MEM32(ebp + (-0x10C)) = 8; /* 0x250A8FD2: mov dword ptr [ebp - 0x10c], 8 */ 10133 L_250A8FDC: 10134 MEM32(ebp + (-0x108)) = 0xBu; /* 0x250A8FDC: mov dword ptr [ebp - 0x108], 0xb */ 10135 L_250A8FE6: 10136 MEM32(ebp + 0x8) = eax; /* 0x250A8FE6: mov dword ptr [ebp + 8], eax */ 10137 L_250A8FE9: 10138 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 10139 L_250A8FEC: 10140 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 10141 L_250A8FF2: 10142 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 10143 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10144 _cf = 0; 10145 _flag_k = FK_TEST; 10146 L_250A8FF4: 10147 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 10148 L_250A8FFA: 10149 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 10150 L_250A9000: 10151 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10153 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 10154 _flag_k = FK_CMP; 10155 L_250A9002: 10156 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 10157 L_250A9007: 10158 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 10159 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10160 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10161 L_250A9009: 10162 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 10163 L_250A900C: 10164 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 10165 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10166 edx = (uint32_t)((int32_t)edx >> 3u); 10167 L_250A900F: 10168 ecx = edx; /* 0x250A900F: mov ecx, edx */ 10169 L_250A9011: 10170 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 10171 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10172 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 10173 L_250A9014: 10174 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 10175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10176 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 10177 _flag_k = FK_ADD; 10178 L_250A9016: 10179 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 10180 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10182 _flag_k = FK_CMP; 10183 L_250A9018: 10184 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 10185 L_250A901E: 10186 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 10187 L_250A9021: 10188 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 10189 L_250A9027: 10190 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 10191 L_250A902A: 10192 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 10193 L_250A902D: 10194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10195 eax = eax - 1; /* 0x250A902D: dec eax */ 10196 _flag_k = FK_DEC; 10197 L_250A902E: 10198 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 10199 L_250A9030: 10200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10201 eax = eax - 1; /* 0x250A9030: dec eax */ 10202 _flag_k = FK_DEC; 10203 L_250A9031: 10204 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 10205 L_250A9033: 10206 eax = 2; /* 0x250A9033: mov eax, 2 */ 10207 L_250A9038: 10208 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 10209 L_250A903A: 10210 eax = 1; /* 0x250A903A: mov eax, 1 */ 10211 L_250A903F: 10212 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 10213 L_250A9041: 10214 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10215 eax = 0; /* 0x250A9041: xor eax, eax */ 10216 _cf = 0; 10217 _flag_k = FK_TEST; 10218 L_250A9043: 10219 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 10220 L_250A9046: 10221 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10222 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 10223 _cf = 0; 10224 _flag_k = FK_TEST; 10225 L_250A9048: 10226 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 10227 edx = edx - 1; /* 0x250A9048: dec edx */ 10228 _flag_k = FK_DEC; 10229 L_250A9049: 10230 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 10231 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 10232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10233 _flag_k = FK_CMP; 10234 L_250A904C: 10235 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 10236 L_250A904E: 10237 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 10238 L_250A9055: 10239 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10240 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 10241 _cf = 0; 10242 _flag_k = FK_TEST; 10243 L_250A9057: 10244 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 10245 L_250A9059: 10246 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 10247 L_250A905E: 10248 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 10249 L_250A9060: 10250 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 10251 L_250A9065: 10252 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 10253 L_250A9068: 10254 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10255 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10256 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 10257 _flag_k = FK_ADD; 10258 L_250A906A: 10259 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 10260 L_250A9071: 10261 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 10262 L_250A9076: 10263 eax = ecx; /* 0x250A9076: mov eax, ecx */ 10264 L_250A9078: 10265 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 10266 L_250A9079: 10267 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 10268 L_250A907B: 10269 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 10270 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 10271 _cf = 0; 10272 _flag_k = FK_TEST; 10273 L_250A907E: 10274 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 10275 L_250A9080: 10276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10278 eax = eax + edx; /* 0x250A9080: add eax, edx */ 10279 _flag_k = FK_ADD; 10280 L_250A9082: 10281 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 10282 L_250A9084: 10283 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 10284 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10285 eax = (uint32_t)((int32_t)eax >> 2u); 10286 L_250A9087: 10287 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 10288 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10289 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 10290 L_250A908A: 10291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 10292 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 10293 _cf = 0; 10294 _flag_k = FK_TEST; 10295 L_250A9090: 10296 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 10297 L_250A9092: 10298 PUSH32(esp, eax); /* 0x250A9092: push eax */ 10299 L_250A9093: 10300 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 10301 L_250A9095: 10302 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10303 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 10304 _flag_k = FK_DEC; 10305 L_250A9096: 10306 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 10307 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 10308 _cf = 0; 10309 _flag_k = FK_TEST; 10310 L_250A9099: 10311 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10312 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 10313 _flag_k = FK_INC; 10314 L_250A909A: 10315 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 10316 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10317 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 10318 L_250A909D: 10319 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 10320 L_250A909E: 10321 PUSH32(esp, edi); /* 0x250A909E: push edi */ 10322 L_250A909F: 10323 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 10324 L_250A90A0: 10325 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 10326 L_250A90A2: 10327 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 10328 RECOMP_FLAGS_IN(); 10329 L_250A90A7: 10330 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 10331 L_250A90AA: 10332 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 10333 L_250A90AD: 10334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10335 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 10336 _flag_k = FK_INC; 10337 L_250A90AE: 10338 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 10339 L_250A90B1: 10340 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 10341 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10342 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 10343 _flag_k = FK_ADD; 10344 L_250A90B4: 10345 RECOMP_BACKEDGE(); 10346 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 10347 L_250A90B9: 10348 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 10349 L_250A90BC: 10350 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 10351 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10352 _cf = 0; 10353 _flag_k = FK_NARROW(FK_TEST, 24); 10354 L_250A90BE: 10355 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 10356 L_250A90C4: 10357 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 10358 L_250A90C7: 10359 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 10360 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10361 _cf = 0; 10362 _flag_k = FK_TEST; 10363 L_250A90C9: 10364 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 10365 L_250A90CF: 10366 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 10367 L_250A90D2: 10368 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 10369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10370 _cf = 0; 10371 _flag_k = FK_TEST; 10372 L_250A90D4: 10373 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 10374 L_250A90D6: 10375 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 10376 L_250A90D9: 10377 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 10378 L_250A90DB: 10379 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 10380 L_250A90DD: 10381 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 10382 L_250A90DE: 10383 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 10384 L_250A90E0: 10385 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 10386 L_250A90E2: 10387 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 10388 L_250A90E4: 10389 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 10390 L_250A90E6: 10391 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 10392 L_250A90E9: 10393 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 10394 RECOMP_FLAGS_IN(); 10395 L_250A90EE: 10396 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 10397 L_250A90F0: 10398 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 10399 RECOMP_FLAGS_IN(); 10400 L_250A90F5: 10401 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10402 edi = 0; /* 0x250A90F5: xor edi, edi */ 10403 _cf = 0; 10404 _flag_k = FK_TEST; 10405 L_250A90F7: 10406 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 10407 L_250A90FA: 10408 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 10409 L_250A9100: 10410 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 10411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10412 _cf = 0; 10413 _flag_k = FK_TEST; 10414 L_250A9102: 10415 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 10416 L_250A9104: 10417 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 10418 L_250A910A: 10419 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10421 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 10422 _flag_k = FK_CMP; 10423 L_250A910C: 10424 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 10425 L_250A9111: 10426 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 10427 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10428 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10429 L_250A9113: 10430 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 10431 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10432 edx = (uint32_t)((int32_t)edx >> 3u); 10433 L_250A9116: 10434 eax = edx; /* 0x250A9116: mov eax, edx */ 10435 L_250A9118: 10436 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 10437 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10438 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 10439 L_250A911B: 10440 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10441 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10442 edx = edx + eax; /* 0x250A911B: add edx, eax */ 10443 _flag_k = FK_ADD; 10444 L_250A911D: 10445 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 10446 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10448 _flag_k = FK_CMP; 10449 L_250A911F: 10450 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 10451 L_250A9121: 10452 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 10453 L_250A9127: 10454 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 10455 L_250A912A: 10456 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 10457 L_250A912D: 10458 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 10459 L_250A9130: 10460 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 10461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10462 _cf = 0; 10463 _flag_k = FK_TEST; 10464 L_250A9132: 10465 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 10466 L_250A9134: 10467 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 10468 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 10469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10470 _flag_k = FK_CMP; 10471 L_250A9137: 10472 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 10473 L_250A913C: 10474 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 10475 L_250A913E: 10476 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 10477 L_250A9143: 10478 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 10479 L_250A9144: 10480 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 10481 L_250A9149: 10482 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 10483 L_250A914E: 10484 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 10485 L_250A9150: 10486 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 10487 L_250A9152: 10488 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 10489 L_250A9154: 10490 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 10491 L_250A9156: 10492 PUSH32(esp, eax); /* 0x250A9156: push eax */ 10493 L_250A9157: 10494 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 10495 L_250A9158: 10496 ecx = esi; /* 0x250A9158: mov ecx, esi */ 10497 L_250A915A: 10498 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 10499 RECOMP_FLAGS_IN(); 10500 L_250A915F: 10501 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 10502 L_250A9162: 10503 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 10504 edi = edi + 1; /* 0x250A9162: inc edi */ 10505 _flag_k = FK_INC; 10506 L_250A9163: 10507 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 10508 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10509 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 10510 _flag_k = FK_ADD; 10511 L_250A9166: 10512 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 10513 L_250A9169: 10514 RECOMP_BACKEDGE(); 10515 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 10516 L_250A916B: 10517 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 10518 L_250A916E: 10519 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 10520 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10521 _cf = 0; 10522 _flag_k = FK_NARROW(FK_TEST, 24); 10523 L_250A9170: 10524 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 10525 L_250A9172: 10526 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 10527 L_250A9178: 10528 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 10529 L_250A917D: 10530 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 10531 L_250A9183: 10532 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 10533 L_250A9188: 10534 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 10535 L_250A918E: 10536 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 10537 L_250A9190: 10538 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 10539 L_250A9192: 10540 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 10541 L_250A9195: 10542 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 10543 L_250A9197: 10544 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 10545 L_250A919A: 10546 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 10547 L_250A919D: 10548 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 10549 L_250A91A2: 10550 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 10551 L_250A91A4: 10552 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 10553 L_250A91A6: 10554 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 10555 L_250A91A8: 10556 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 10557 L_250A91AB: 10558 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 10559 L_250A91AD: 10560 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 10561 L_250A91B0: 10562 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 10563 L_250A91B1: 10564 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 10565 L_250A91B2: 10566 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 10567 L_250A91B4: 10568 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 10569 L_250A91B7: 10570 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 10571 L_250A91BA: 10572 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 10573 L_250A91BC: 10574 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 10575 L_250A91BF: 10576 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 10577 L_250A91C5: 10578 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 10579 L_250A91C8: 10580 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 10581 L_250A91CB: 10582 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 10583 L_250A91D1: 10584 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 10585 L_250A91D4: 10586 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 10587 L_250A91D7: 10588 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 10589 RECOMP_FLAGS_IN(); 10590 L_250A91DC: 10591 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 10592 L_250A91E2: 10593 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 10594 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10595 _cf = 0; 10596 _flag_k = FK_NARROW(FK_TEST, 24); 10597 L_250A91E4: 10598 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 10599 L_250A91EA: 10600 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 10601 L_250A91F0: 10602 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 10603 L_250A91F6: 10604 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 10605 L_250A91FC: 10606 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 10607 L_250A91FE: 10608 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 10609 L_250A9200: 10610 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 10611 L_250A9202: 10612 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 10613 L_250A9209: 10614 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 10615 L_250A920C: 10616 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 10617 L_250A920F: 10618 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 10619 RECOMP_FLAGS_IN(); 10620 L_250A9214: 10621 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 10622 L_250A9217: 10623 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 10624 L_250A921C: 10625 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 10626 L_250A9222: 10627 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 10628 L_250A9228: 10629 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 10630 L_250A922A: 10631 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 10632 L_250A922C: 10633 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10634 edi = 0; /* 0x250A922C: xor edi, edi */ 10635 _cf = 0; 10636 _flag_k = FK_TEST; 10637 L_250A922E: 10638 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 10639 L_250A9230: 10640 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 10641 L_250A9233: 10642 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 10643 L_250A923A: 10644 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 10645 L_250A923D: 10646 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 10647 L_250A9240: 10648 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 10649 RECOMP_FLAGS_IN(); 10650 L_250A9245: 10651 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 10652 L_250A9248: 10653 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 10654 L_250A924E: 10655 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 10656 L_250A9254: 10657 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 10658 L_250A925A: 10659 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 10660 L_250A925C: 10661 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 10662 L_250A925E: 10663 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 10664 L_250A9260: 10665 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 10666 L_250A9264: 10667 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 10668 L_250A926B: 10669 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 10670 L_250A9271: 10671 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 10672 L_250A9274: 10673 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 10674 RECOMP_FLAGS_IN(); 10675 L_250A9279: 10676 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 10677 L_250A927C: 10678 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 10679 L_250A9282: 10680 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 10681 L_250A9288: 10682 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 10683 L_250A928E: 10684 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 10685 L_250A9290: 10686 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 10687 L_250A9292: 10688 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 10689 L_250A9294: 10690 PUSH32(esp, edi); /* 0x250A9294: push edi */ 10691 L_250A9295: 10692 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 10693 L_250A9299: 10694 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 10695 L_250A929F: 10696 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 10697 L_250A92A9: 10698 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 10699 L_250A92AC: 10700 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 10701 L_250A92B2: 10702 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 10703 RECOMP_FLAGS_IN(); 10704 L_250A92B7: 10705 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 10706 L_250A92BD: 10707 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 10708 L_250A92C2: 10709 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 10710 L_250A92C8: 10711 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 10712 L_250A92CE: 10713 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 10714 L_250A92D0: 10715 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 10716 L_250A92D1: 10717 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 10718 L_250A92D3: 10719 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 10720 L_250A92D4: 10721 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 10722 L_250A92D8: 10723 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 10724 L_250A92DE: 10725 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 10726 L_250A92E8: 10727 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 10728 L_250A92EB: 10729 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 10730 L_250A92F1: 10731 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 10732 RECOMP_FLAGS_IN(); 10733 L_250A92F6: 10734 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 10735 L_250A92FC: 10736 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 10737 L_250A92FF: 10738 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 10739 L_250A9301: 10740 PUSH32(esp, edi); /* 0x250A9301: push edi */ 10741 L_250A9302: 10742 PUSH32(esp, edi); /* 0x250A9302: push edi */ 10743 L_250A9303: 10744 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 10745 L_250A9307: 10746 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 10747 RECOMP_FLAGS_IN(); 10748 L_250A930C: 10749 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 10750 L_250A930E: 10751 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 10752 RECOMP_FLAGS_IN(); 10753 L_250A9313: 10754 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 10755 L_250A9316: 10756 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 10757 L_250A9319: 10758 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 10759 L_250A931B: 10760 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 10761 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10763 _flag_k = FK_CMP; 10764 L_250A931D: 10765 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 10766 L_250A9323: 10767 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 10768 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 10769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10770 _flag_k = FK_CMP; 10771 L_250A9327: 10772 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 10773 L_250A932D: 10774 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 10775 L_250A9330: 10776 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 10777 L_250A9333: 10778 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 10779 L_250A9336: 10780 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 10781 L_250A9339: 10782 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 10783 L_250A933B: 10784 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 10785 L_250A933E: 10786 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 10787 L_250A9341: 10788 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 10789 L_250A9344: 10790 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 10791 L_250A9347: 10792 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 10793 L_250A934A: 10794 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 10795 L_250A934B: 10796 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 10797 L_250A934E: 10798 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 10799 L_250A9355: 10800 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 10801 L_250A935C: 10802 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 10803 L_250A9363: 10804 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 10805 L_250A9366: 10806 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 10807 L_250A9369: 10808 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 10809 RECOMP_FLAGS_IN(); 10810 L_250A936F: 10811 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 10812 L_250A9371: 10813 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 10814 L_250A9374: 10815 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 10816 L_250A9377: 10817 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 10818 L_250A937A: 10819 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 10820 L_250A937D: 10821 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 10822 L_250A9380: 10823 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 10824 L_250A9382: 10825 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 10826 L_250A9388: 10827 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 10828 L_250A938B: 10829 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 10830 L_250A938E: 10831 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 10832 L_250A9391: 10833 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 10834 L_250A9394: 10835 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 10836 L_250A9395: 10837 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 10838 L_250A939B: 10839 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 10840 L_250A93A1: 10841 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 10842 L_250A93A7: 10843 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 10844 RECOMP_FLAGS_IN(); 10845 L_250A93AD: 10846 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 10847 L_250A93B0: 10848 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 10849 L_250A93B2: 10850 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 10851 L_250A93B4: 10852 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 10853 L_250A93B7: 10854 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 10855 L_250A93BA: 10856 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 10857 L_250A93BD: 10858 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 10859 L_250A93BF: 10860 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 10861 L_250A93C2: 10862 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 10863 L_250A93C5: 10864 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 10865 L_250A93CA: 10866 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 10867 L_250A93CD: 10868 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 10869 L_250A93D0: 10870 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 10871 L_250A93D3: 10872 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 10873 L_250A93D6: 10874 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 10875 L_250A93D8: 10876 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 10877 L_250A93DB: 10878 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 10879 L_250A93DE: 10880 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 10881 L_250A93E0: 10882 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 10883 L_250A93E3: 10884 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 10885 L_250A93E5: 10886 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 10887 RECOMP_FLAGS_IN(); 10888 L_250A93EB: 10889 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 10890 L_250A93EE: 10891 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 10892 L_250A93EF: 10893 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 10894 L_250A93F2: 10895 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 10896 RECOMP_FLAGS_IN(); 10897 L_250A93F8: 10898 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 10899 L_250A93FB: 10900 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 10901 L_250A93FC: 10902 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 10903 L_250A93FF: 10904 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 10905 RECOMP_FLAGS_IN(); 10906 L_250A9405: 10907 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 10908 L_250A9408: 10909 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 10910 L_250A940A: 10911 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 10912 L_250A940D: 10913 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 10914 L_250A9410: 10915 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 10916 L_250A9413: 10917 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 10918 L_250A9415: 10919 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 10920 L_250A9418: 10921 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 10922 L_250A941A: 10923 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 10924 L_250A9420: 10925 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 10926 L_250A9421: 10927 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 10928 L_250A942B: 10929 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 10930 L_250A9431: 10931 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 10932 L_250A9437: 10933 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 10934 L_250A943D: 10935 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 10936 L_250A9440: 10937 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 10938 L_250A9443: 10939 PUSH32(esp, edx); /* 0x250A9443: push edx */ 10940 L_250A9444: 10941 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 10942 L_250A9447: 10943 PUSH32(esp, eax); /* 0x250A9447: push eax */ 10944 L_250A9448: 10945 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 10946 L_250A944D: 10947 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 10948 L_250A9453: 10949 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 10950 L_250A9454: 10951 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 10952 L_250A9455: 10953 ecx = esi; /* 0x250A9455: mov ecx, esi */ 10954 L_250A9457: 10955 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 10956 RECOMP_FLAGS_IN(); 10957 L_250A945C: 10958 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 10959 L_250A945F: 10960 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 10961 L_250A9461: 10962 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 10963 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10965 _flag_k = FK_CMP; 10966 L_250A9464: 10967 RECOMP_BACKEDGE(); 10968 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 10969 L_250A946A: 10970 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 10971 L_250A9470: 10972 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 10973 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10974 _cf = 0; 10975 _flag_k = FK_NARROW(FK_TEST, 24); 10976 L_250A9472: 10977 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 10978 L_250A9476: 10979 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 10980 L_250A9478: 10981 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 10982 L_250A947B: 10983 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 10984 L_250A9480: 10985 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 10986 L_250A9486: 10987 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 10988 L_250A9488: 10989 PUSH32(esp, edx); /* 0x250A9488: push edx */ 10990 L_250A9489: 10991 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 10992 L_250A948B: 10993 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 10994 L_250A948D: 10995 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 10996 RECOMP_FLAGS_IN(); 10997 L_250A9492: 10998 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 10999 L_250A9498: 11000 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 11001 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11002 _cf = 0; 11003 _flag_k = FK_NARROW(FK_TEST, 24); 11004 L_250A949A: 11005 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 11006 L_250A949E: 11007 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 11008 L_250A94A0: 11009 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 11010 L_250A94A3: 11011 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 11012 L_250A94A8: 11013 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 11014 L_250A94AE: 11015 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 11016 L_250A94B0: 11017 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 11018 L_250A94B1: 11019 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 11020 L_250A94B3: 11021 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 11022 L_250A94B5: 11023 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 11024 RECOMP_FLAGS_IN(); 11025 L_250A94BA: 11026 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 11027 L_250A94BD: 11028 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 11029 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11030 _cf = 0; 11031 _flag_k = FK_NARROW(FK_TEST, 24); 11032 L_250A94BF: 11033 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 11034 L_250A94C3: 11035 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 11036 L_250A94C5: 11037 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 11038 L_250A94CB: 11039 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 11040 L_250A94D0: 11041 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 11042 L_250A94D6: 11043 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 11044 L_250A94D8: 11045 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 11046 L_250A94D9: 11047 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 11048 L_250A94DB: 11049 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 11050 RECOMP_FLAGS_IN(); 11051 L_250A94E0: 11052 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 11053 L_250A94E3: 11054 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 11055 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11056 _cf = 0; 11057 _flag_k = FK_NARROW(FK_TEST, 24); 11058 L_250A94E5: 11059 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 11060 L_250A94E9: 11061 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 11062 L_250A94EB: 11063 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 11064 L_250A94EE: 11065 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 11066 L_250A94F3: 11067 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 11068 L_250A94F9: 11069 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 11070 L_250A94FB: 11071 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 11072 L_250A94FC: 11073 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 11074 L_250A94FE: 11075 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 11076 RECOMP_FLAGS_IN(); 11077 L_250A9503: 11078 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 11079 L_250A9506: 11080 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 11081 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11082 _cf = 0; 11083 _flag_k = FK_NARROW(FK_TEST, 24); 11084 L_250A9508: 11085 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 11086 L_250A950F: 11087 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 11088 L_250A9511: 11089 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 11090 L_250A9514: 11091 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 11092 L_250A951A: 11093 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 11094 L_250A9520: 11095 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 11096 L_250A9522: 11097 PUSH32(esp, eax); /* 0x250A9522: push eax */ 11098 L_250A9523: 11099 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 11100 L_250A9525: 11101 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 11102 RECOMP_FLAGS_IN(); 11103 L_250A952A: 11104 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 11105 L_250A952D: 11106 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 11107 L_250A952E: 11108 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 11109 L_250A952F: 11110 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 11111 L_250A9530: 11112 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 11113 L_250A9537: 11114 esp = ebp; /* 0x250A9537: mov esp, ebp */ 11115 L_250A9539: 11116 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 11117 L_250A953A: 11118 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 11119 _ljump: 11120 switch (_itail_tgt) { 11121 case 0x250A8B50u: goto L_250A8B50; 11122 case 0x250A8B53u: goto L_250A8B53; 11123 case 0x250A8B57u: goto L_250A8B57; 11124 case 0x250A8B5Du: goto L_250A8B5D; 11125 case 0x250A8B60u: goto L_250A8B60; 11126 case 0x250A8B63u: goto L_250A8B63; 11127 case 0x250A8B66u: goto L_250A8B66; 11128 case 0x250A8B6Cu: goto L_250A8B6C; 11129 case 0x250A8B6Eu: goto L_250A8B6E; 11130 case 0x250A8B71u: goto L_250A8B71; 11131 case 0x250A8B73u: goto L_250A8B73; 11132 case 0x250A8B79u: goto L_250A8B79; 11133 case 0x250A8B7Cu: goto L_250A8B7C; 11134 case 0x250A8B7Eu: goto L_250A8B7E; 11135 case 0x250A8B84u: goto L_250A8B84; 11136 case 0x250A8B87u: goto L_250A8B87; 11137 case 0x250A8B8Bu: goto L_250A8B8B; 11138 case 0x250A8B8Du: goto L_250A8B8D; 11139 case 0x250A8B91u: goto L_250A8B91; 11140 case 0x250A8B96u: goto L_250A8B96; 11141 case 0x250A8B99u: goto L_250A8B99; 11142 case 0x250A8B9Cu: goto L_250A8B9C; 11143 case 0x250A8B9Du: goto L_250A8B9D; 11144 case 0x250A8BA0u: goto L_250A8BA0; 11145 case 0x250A8BA1u: goto L_250A8BA1; 11146 case 0x250A8BA6u: goto L_250A8BA6; 11147 case 0x250A8BABu: goto L_250A8BAB; 11148 case 0x250A8BADu: goto L_250A8BAD; 11149 case 0x250A8BB0u: goto L_250A8BB0; 11150 case 0x250A8BB2u: goto L_250A8BB2; 11151 case 0x250A8BB5u: goto L_250A8BB5; 11152 case 0x250A8BB8u: goto L_250A8BB8; 11153 case 0x250A8BBAu: goto L_250A8BBA; 11154 case 0x250A8BBDu: goto L_250A8BBD; 11155 case 0x250A8BC3u: goto L_250A8BC3; 11156 case 0x250A8BC5u: goto L_250A8BC5; 11157 case 0x250A8BCBu: goto L_250A8BCB; 11158 case 0x250A8BCEu: goto L_250A8BCE; 11159 case 0x250A8BD0u: goto L_250A8BD0; 11160 case 0x250A8BD2u: goto L_250A8BD2; 11161 case 0x250A8BD5u: goto L_250A8BD5; 11162 case 0x250A8BD8u: goto L_250A8BD8; 11163 case 0x250A8BD9u: goto L_250A8BD9; 11164 case 0x250A8BDCu: goto L_250A8BDC; 11165 case 0x250A8BDDu: goto L_250A8BDD; 11166 case 0x250A8BE2u: goto L_250A8BE2; 11167 case 0x250A8BE5u: goto L_250A8BE5; 11168 case 0x250A8BEAu: goto L_250A8BEA; 11169 case 0x250A8BECu: goto L_250A8BEC; 11170 case 0x250A8BF2u: goto L_250A8BF2; 11171 case 0x250A8BF8u: goto L_250A8BF8; 11172 case 0x250A8BFBu: goto L_250A8BFB; 11173 case 0x250A8C01u: goto L_250A8C01; 11174 case 0x250A8C08u: goto L_250A8C08; 11175 case 0x250A8C0Au: goto L_250A8C0A; 11176 case 0x250A8C0Eu: goto L_250A8C0E; 11177 case 0x250A8C14u: goto L_250A8C14; 11178 case 0x250A8C1Au: goto L_250A8C1A; 11179 case 0x250A8C1Du: goto L_250A8C1D; 11180 case 0x250A8C20u: goto L_250A8C20; 11181 case 0x250A8C26u: goto L_250A8C26; 11182 case 0x250A8C2Du: goto L_250A8C2D; 11183 case 0x250A8C30u: goto L_250A8C30; 11184 case 0x250A8C33u: goto L_250A8C33; 11185 case 0x250A8C35u: goto L_250A8C35; 11186 case 0x250A8C3Bu: goto L_250A8C3B; 11187 case 0x250A8C3Cu: goto L_250A8C3C; 11188 case 0x250A8C42u: goto L_250A8C42; 11189 case 0x250A8C43u: goto L_250A8C43; 11190 case 0x250A8C45u: goto L_250A8C45; 11191 case 0x250A8C4Fu: goto L_250A8C4F; 11192 case 0x250A8C55u: goto L_250A8C55; 11193 case 0x250A8C5Au: goto L_250A8C5A; 11194 case 0x250A8C5Fu: goto L_250A8C5F; 11195 case 0x250A8C62u: goto L_250A8C62; 11196 case 0x250A8C65u: goto L_250A8C65; 11197 case 0x250A8C67u: goto L_250A8C67; 11198 case 0x250A8C6Du: goto L_250A8C6D; 11199 case 0x250A8C6Eu: goto L_250A8C6E; 11200 case 0x250A8C74u: goto L_250A8C74; 11201 case 0x250A8C75u: goto L_250A8C75; 11202 case 0x250A8C77u: goto L_250A8C77; 11203 case 0x250A8C81u: goto L_250A8C81; 11204 case 0x250A8C87u: goto L_250A8C87; 11205 case 0x250A8C8Cu: goto L_250A8C8C; 11206 case 0x250A8C91u: goto L_250A8C91; 11207 case 0x250A8C94u: goto L_250A8C94; 11208 case 0x250A8C97u: goto L_250A8C97; 11209 case 0x250A8C99u: goto L_250A8C99; 11210 case 0x250A8C9Fu: goto L_250A8C9F; 11211 case 0x250A8CA0u: goto L_250A8CA0; 11212 case 0x250A8CA6u: goto L_250A8CA6; 11213 case 0x250A8CA7u: goto L_250A8CA7; 11214 case 0x250A8CA9u: goto L_250A8CA9; 11215 case 0x250A8CB3u: goto L_250A8CB3; 11216 case 0x250A8CB9u: goto L_250A8CB9; 11217 case 0x250A8CBEu: goto L_250A8CBE; 11218 case 0x250A8CC3u: goto L_250A8CC3; 11219 case 0x250A8CC6u: goto L_250A8CC6; 11220 case 0x250A8CC9u: goto L_250A8CC9; 11221 case 0x250A8CCBu: goto L_250A8CCB; 11222 case 0x250A8CD1u: goto L_250A8CD1; 11223 case 0x250A8CD2u: goto L_250A8CD2; 11224 case 0x250A8CD8u: goto L_250A8CD8; 11225 case 0x250A8CD9u: goto L_250A8CD9; 11226 case 0x250A8CDBu: goto L_250A8CDB; 11227 case 0x250A8CE5u: goto L_250A8CE5; 11228 case 0x250A8CEBu: goto L_250A8CEB; 11229 case 0x250A8CF0u: goto L_250A8CF0; 11230 case 0x250A8CF5u: goto L_250A8CF5; 11231 case 0x250A8CF8u: goto L_250A8CF8; 11232 case 0x250A8CFBu: goto L_250A8CFB; 11233 case 0x250A8CFDu: goto L_250A8CFD; 11234 case 0x250A8D03u: goto L_250A8D03; 11235 case 0x250A8D04u: goto L_250A8D04; 11236 case 0x250A8D0Au: goto L_250A8D0A; 11237 case 0x250A8D0Bu: goto L_250A8D0B; 11238 case 0x250A8D0Du: goto L_250A8D0D; 11239 case 0x250A8D17u: goto L_250A8D17; 11240 case 0x250A8D1Du: goto L_250A8D1D; 11241 case 0x250A8D22u: goto L_250A8D22; 11242 case 0x250A8D27u: goto L_250A8D27; 11243 case 0x250A8D2Au: goto L_250A8D2A; 11244 case 0x250A8D2Du: goto L_250A8D2D; 11245 case 0x250A8D2Fu: goto L_250A8D2F; 11246 case 0x250A8D35u: goto L_250A8D35; 11247 case 0x250A8D36u: goto L_250A8D36; 11248 case 0x250A8D3Cu: goto L_250A8D3C; 11249 case 0x250A8D3Du: goto L_250A8D3D; 11250 case 0x250A8D3Fu: goto L_250A8D3F; 11251 case 0x250A8D49u: goto L_250A8D49; 11252 case 0x250A8D4Fu: goto L_250A8D4F; 11253 case 0x250A8D54u: goto L_250A8D54; 11254 case 0x250A8D59u: goto L_250A8D59; 11255 case 0x250A8D5Cu: goto L_250A8D5C; 11256 case 0x250A8D5Fu: goto L_250A8D5F; 11257 case 0x250A8D61u: goto L_250A8D61; 11258 case 0x250A8D64u: goto L_250A8D64; 11259 case 0x250A8D65u: goto L_250A8D65; 11260 case 0x250A8D68u: goto L_250A8D68; 11261 case 0x250A8D69u: goto L_250A8D69; 11262 case 0x250A8D6Bu: goto L_250A8D6B; 11263 case 0x250A8D72u: goto L_250A8D72; 11264 case 0x250A8D75u: goto L_250A8D75; 11265 case 0x250A8D7Au: goto L_250A8D7A; 11266 case 0x250A8D7Fu: goto L_250A8D7F; 11267 case 0x250A8D82u: goto L_250A8D82; 11268 case 0x250A8D85u: goto L_250A8D85; 11269 case 0x250A8D87u: goto L_250A8D87; 11270 case 0x250A8D8Au: goto L_250A8D8A; 11271 case 0x250A8D8Bu: goto L_250A8D8B; 11272 case 0x250A8D8Eu: goto L_250A8D8E; 11273 case 0x250A8D8Fu: goto L_250A8D8F; 11274 case 0x250A8D91u: goto L_250A8D91; 11275 case 0x250A8D98u: goto L_250A8D98; 11276 case 0x250A8D9Bu: goto L_250A8D9B; 11277 case 0x250A8DA0u: goto L_250A8DA0; 11278 case 0x250A8DA5u: goto L_250A8DA5; 11279 case 0x250A8DA8u: goto L_250A8DA8; 11280 case 0x250A8DABu: goto L_250A8DAB; 11281 case 0x250A8DADu: goto L_250A8DAD; 11282 case 0x250A8DB0u: goto L_250A8DB0; 11283 case 0x250A8DB1u: goto L_250A8DB1; 11284 case 0x250A8DB4u: goto L_250A8DB4; 11285 case 0x250A8DB5u: goto L_250A8DB5; 11286 case 0x250A8DB7u: goto L_250A8DB7; 11287 case 0x250A8DBEu: goto L_250A8DBE; 11288 case 0x250A8DC1u: goto L_250A8DC1; 11289 case 0x250A8DC6u: goto L_250A8DC6; 11290 case 0x250A8DCBu: goto L_250A8DCB; 11291 case 0x250A8DCEu: goto L_250A8DCE; 11292 case 0x250A8DD0u: goto L_250A8DD0; 11293 case 0x250A8DD2u: goto L_250A8DD2; 11294 case 0x250A8DD5u: goto L_250A8DD5; 11295 case 0x250A8DD8u: goto L_250A8DD8; 11296 case 0x250A8DDEu: goto L_250A8DDE; 11297 case 0x250A8DE1u: goto L_250A8DE1; 11298 case 0x250A8DE7u: goto L_250A8DE7; 11299 case 0x250A8DE8u: goto L_250A8DE8; 11300 case 0x250A8DEEu: goto L_250A8DEE; 11301 case 0x250A8DF5u: goto L_250A8DF5; 11302 case 0x250A8DFCu: goto L_250A8DFC; 11303 case 0x250A8E03u: goto L_250A8E03; 11304 case 0x250A8E09u: goto L_250A8E09; 11305 case 0x250A8E0Fu: goto L_250A8E0F; 11306 case 0x250A8E11u: goto L_250A8E11; 11307 case 0x250A8E17u: goto L_250A8E17; 11308 case 0x250A8E1Au: goto L_250A8E1A; 11309 case 0x250A8E20u: goto L_250A8E20; 11310 case 0x250A8E23u: goto L_250A8E23; 11311 case 0x250A8E29u: goto L_250A8E29; 11312 case 0x250A8E2Au: goto L_250A8E2A; 11313 case 0x250A8E30u: goto L_250A8E30; 11314 case 0x250A8E31u: goto L_250A8E31; 11315 case 0x250A8E33u: goto L_250A8E33; 11316 case 0x250A8E39u: goto L_250A8E39; 11317 case 0x250A8E3Fu: goto L_250A8E3F; 11318 case 0x250A8E42u: goto L_250A8E42; 11319 case 0x250A8E44u: goto L_250A8E44; 11320 case 0x250A8E46u: goto L_250A8E46; 11321 case 0x250A8E49u: goto L_250A8E49; 11322 case 0x250A8E4Cu: goto L_250A8E4C; 11323 case 0x250A8E4Fu: goto L_250A8E4F; 11324 case 0x250A8E52u: goto L_250A8E52; 11325 case 0x250A8E53u: goto L_250A8E53; 11326 case 0x250A8E59u: goto L_250A8E59; 11327 case 0x250A8E5Cu: goto L_250A8E5C; 11328 case 0x250A8E5Fu: goto L_250A8E5F; 11329 case 0x250A8E65u: goto L_250A8E65; 11330 case 0x250A8E6Au: goto L_250A8E6A; 11331 case 0x250A8E6Du: goto L_250A8E6D; 11332 case 0x250A8E73u: goto L_250A8E73; 11333 case 0x250A8E79u: goto L_250A8E79; 11334 case 0x250A8E7Au: goto L_250A8E7A; 11335 case 0x250A8E7Du: goto L_250A8E7D; 11336 case 0x250A8E83u: goto L_250A8E83; 11337 case 0x250A8E86u: goto L_250A8E86; 11338 case 0x250A8E87u: goto L_250A8E87; 11339 case 0x250A8E8Au: goto L_250A8E8A; 11340 case 0x250A8E90u: goto L_250A8E90; 11341 case 0x250A8E93u: goto L_250A8E93; 11342 case 0x250A8E95u: goto L_250A8E95; 11343 case 0x250A8E97u: goto L_250A8E97; 11344 case 0x250A8E9Au: goto L_250A8E9A; 11345 case 0x250A8E9Cu: goto L_250A8E9C; 11346 case 0x250A8E9Eu: goto L_250A8E9E; 11347 case 0x250A8E9Fu: goto L_250A8E9F; 11348 case 0x250A8EA1u: goto L_250A8EA1; 11349 case 0x250A8EA3u: goto L_250A8EA3; 11350 case 0x250A8EA5u: goto L_250A8EA5; 11351 case 0x250A8EA7u: goto L_250A8EA7; 11352 case 0x250A8EAAu: goto L_250A8EAA; 11353 case 0x250A8EAFu: goto L_250A8EAF; 11354 case 0x250A8EB1u: goto L_250A8EB1; 11355 case 0x250A8EB6u: goto L_250A8EB6; 11356 case 0x250A8EB9u: goto L_250A8EB9; 11357 case 0x250A8EBBu: goto L_250A8EBB; 11358 case 0x250A8EBEu: goto L_250A8EBE; 11359 case 0x250A8EC1u: goto L_250A8EC1; 11360 case 0x250A8EC4u: goto L_250A8EC4; 11361 case 0x250A8EC6u: goto L_250A8EC6; 11362 case 0x250A8EC9u: goto L_250A8EC9; 11363 case 0x250A8ECBu: goto L_250A8ECB; 11364 case 0x250A8ECEu: goto L_250A8ECE; 11365 case 0x250A8ED0u: goto L_250A8ED0; 11366 case 0x250A8ED2u: goto L_250A8ED2; 11367 case 0x250A8ED5u: goto L_250A8ED5; 11368 case 0x250A8ED8u: goto L_250A8ED8; 11369 case 0x250A8EDBu: goto L_250A8EDB; 11370 case 0x250A8EE2u: goto L_250A8EE2; 11371 case 0x250A8EE3u: goto L_250A8EE3; 11372 case 0x250A8EE4u: goto L_250A8EE4; 11373 case 0x250A8EE5u: goto L_250A8EE5; 11374 case 0x250A8EE7u: goto L_250A8EE7; 11375 case 0x250A8EEDu: goto L_250A8EED; 11376 case 0x250A8EF3u: goto L_250A8EF3; 11377 case 0x250A8EF6u: goto L_250A8EF6; 11378 case 0x250A8EF7u: goto L_250A8EF7; 11379 case 0x250A8EF8u: goto L_250A8EF8; 11380 case 0x250A8EFDu: goto L_250A8EFD; 11381 case 0x250A8F00u: goto L_250A8F00; 11382 case 0x250A8F02u: goto L_250A8F02; 11383 case 0x250A8F04u: goto L_250A8F04; 11384 case 0x250A8F07u: goto L_250A8F07; 11385 case 0x250A8F09u: goto L_250A8F09; 11386 case 0x250A8F0Bu: goto L_250A8F0B; 11387 case 0x250A8F0Cu: goto L_250A8F0C; 11388 case 0x250A8F0Eu: goto L_250A8F0E; 11389 case 0x250A8F10u: goto L_250A8F10; 11390 case 0x250A8F12u: goto L_250A8F12; 11391 case 0x250A8F14u: goto L_250A8F14; 11392 case 0x250A8F17u: goto L_250A8F17; 11393 case 0x250A8F1Cu: goto L_250A8F1C; 11394 case 0x250A8F1Eu: goto L_250A8F1E; 11395 case 0x250A8F23u: goto L_250A8F23; 11396 case 0x250A8F26u: goto L_250A8F26; 11397 case 0x250A8F29u: goto L_250A8F29; 11398 case 0x250A8F2Bu: goto L_250A8F2B; 11399 case 0x250A8F2Eu: goto L_250A8F2E; 11400 case 0x250A8F31u: goto L_250A8F31; 11401 case 0x250A8F37u: goto L_250A8F37; 11402 case 0x250A8F3Du: goto L_250A8F3D; 11403 case 0x250A8F3Fu: goto L_250A8F3F; 11404 case 0x250A8F45u: goto L_250A8F45; 11405 case 0x250A8F4Bu: goto L_250A8F4B; 11406 case 0x250A8F4Du: goto L_250A8F4D; 11407 case 0x250A8F52u: goto L_250A8F52; 11408 case 0x250A8F54u: goto L_250A8F54; 11409 case 0x250A8F57u: goto L_250A8F57; 11410 case 0x250A8F59u: goto L_250A8F59; 11411 case 0x250A8F5Cu: goto L_250A8F5C; 11412 case 0x250A8F5Eu: goto L_250A8F5E; 11413 case 0x250A8F64u: goto L_250A8F64; 11414 case 0x250A8F67u: goto L_250A8F67; 11415 case 0x250A8F69u: goto L_250A8F69; 11416 case 0x250A8F6Bu: goto L_250A8F6B; 11417 case 0x250A8F6Eu: goto L_250A8F6E; 11418 case 0x250A8F70u: goto L_250A8F70; 11419 case 0x250A8F72u: goto L_250A8F72; 11420 case 0x250A8F73u: goto L_250A8F73; 11421 case 0x250A8F75u: goto L_250A8F75; 11422 case 0x250A8F77u: goto L_250A8F77; 11423 case 0x250A8F79u: goto L_250A8F79; 11424 case 0x250A8F7Bu: goto L_250A8F7B; 11425 case 0x250A8F7Eu: goto L_250A8F7E; 11426 case 0x250A8F83u: goto L_250A8F83; 11427 case 0x250A8F85u: goto L_250A8F85; 11428 case 0x250A8F8Au: goto L_250A8F8A; 11429 case 0x250A8F8Cu: goto L_250A8F8C; 11430 case 0x250A8F96u: goto L_250A8F96; 11431 case 0x250A8FA0u: goto L_250A8FA0; 11432 case 0x250A8FAAu: goto L_250A8FAA; 11433 case 0x250A8FB4u: goto L_250A8FB4; 11434 case 0x250A8FBEu: goto L_250A8FBE; 11435 case 0x250A8FC8u: goto L_250A8FC8; 11436 case 0x250A8FD2u: goto L_250A8FD2; 11437 case 0x250A8FDCu: goto L_250A8FDC; 11438 case 0x250A8FE6u: goto L_250A8FE6; 11439 case 0x250A8FE9u: goto L_250A8FE9; 11440 case 0x250A8FECu: goto L_250A8FEC; 11441 case 0x250A8FF2u: goto L_250A8FF2; 11442 case 0x250A8FF4u: goto L_250A8FF4; 11443 case 0x250A8FFAu: goto L_250A8FFA; 11444 case 0x250A9000u: goto L_250A9000; 11445 case 0x250A9002u: goto L_250A9002; 11446 case 0x250A9007u: goto L_250A9007; 11447 case 0x250A9009u: goto L_250A9009; 11448 case 0x250A900Cu: goto L_250A900C; 11449 case 0x250A900Fu: goto L_250A900F; 11450 case 0x250A9011u: goto L_250A9011; 11451 case 0x250A9014u: goto L_250A9014; 11452 case 0x250A9016u: goto L_250A9016; 11453 case 0x250A9018u: goto L_250A9018; 11454 case 0x250A901Eu: goto L_250A901E; 11455 case 0x250A9021u: goto L_250A9021; 11456 case 0x250A9027u: goto L_250A9027; 11457 case 0x250A902Au: goto L_250A902A; 11458 case 0x250A902Du: goto L_250A902D; 11459 case 0x250A902Eu: goto L_250A902E; 11460 case 0x250A9030u: goto L_250A9030; 11461 case 0x250A9031u: goto L_250A9031; 11462 case 0x250A9033u: goto L_250A9033; 11463 case 0x250A9038u: goto L_250A9038; 11464 case 0x250A903Au: goto L_250A903A; 11465 case 0x250A903Fu: goto L_250A903F; 11466 case 0x250A9041u: goto L_250A9041; 11467 case 0x250A9043u: goto L_250A9043; 11468 case 0x250A9046u: goto L_250A9046; 11469 case 0x250A9048u: goto L_250A9048; 11470 case 0x250A9049u: goto L_250A9049; 11471 case 0x250A904Cu: goto L_250A904C; 11472 case 0x250A904Eu: goto L_250A904E; 11473 case 0x250A9055u: goto L_250A9055; 11474 case 0x250A9057u: goto L_250A9057; 11475 case 0x250A9059u: goto L_250A9059; 11476 case 0x250A905Eu: goto L_250A905E; 11477 case 0x250A9060u: goto L_250A9060; 11478 case 0x250A9065u: goto L_250A9065; 11479 case 0x250A9068u: goto L_250A9068; 11480 case 0x250A906Au: goto L_250A906A; 11481 case 0x250A9071u: goto L_250A9071; 11482 case 0x250A9076u: goto L_250A9076; 11483 case 0x250A9078u: goto L_250A9078; 11484 case 0x250A9079u: goto L_250A9079; 11485 case 0x250A907Bu: goto L_250A907B; 11486 case 0x250A907Eu: goto L_250A907E; 11487 case 0x250A9080u: goto L_250A9080; 11488 case 0x250A9082u: goto L_250A9082; 11489 case 0x250A9084u: goto L_250A9084; 11490 case 0x250A9087u: goto L_250A9087; 11491 case 0x250A908Au: goto L_250A908A; 11492 case 0x250A9090u: goto L_250A9090; 11493 case 0x250A9092u: goto L_250A9092; 11494 case 0x250A9093u: goto L_250A9093; 11495 case 0x250A9095u: goto L_250A9095; 11496 case 0x250A9096u: goto L_250A9096; 11497 case 0x250A9099u: goto L_250A9099; 11498 case 0x250A909Au: goto L_250A909A; 11499 case 0x250A909Du: goto L_250A909D; 11500 case 0x250A909Eu: goto L_250A909E; 11501 case 0x250A909Fu: goto L_250A909F; 11502 case 0x250A90A0u: goto L_250A90A0; 11503 case 0x250A90A2u: goto L_250A90A2; 11504 case 0x250A90A7u: goto L_250A90A7; 11505 case 0x250A90AAu: goto L_250A90AA; 11506 case 0x250A90ADu: goto L_250A90AD; 11507 case 0x250A90AEu: goto L_250A90AE; 11508 case 0x250A90B1u: goto L_250A90B1; 11509 case 0x250A90B4u: goto L_250A90B4; 11510 case 0x250A90B9u: goto L_250A90B9; 11511 case 0x250A90BCu: goto L_250A90BC; 11512 case 0x250A90BEu: goto L_250A90BE; 11513 case 0x250A90C4u: goto L_250A90C4; 11514 case 0x250A90C7u: goto L_250A90C7; 11515 case 0x250A90C9u: goto L_250A90C9; 11516 case 0x250A90CFu: goto L_250A90CF; 11517 case 0x250A90D2u: goto L_250A90D2; 11518 case 0x250A90D4u: goto L_250A90D4; 11519 case 0x250A90D6u: goto L_250A90D6; 11520 case 0x250A90D9u: goto L_250A90D9; 11521 case 0x250A90DBu: goto L_250A90DB; 11522 case 0x250A90DDu: goto L_250A90DD; 11523 case 0x250A90DEu: goto L_250A90DE; 11524 case 0x250A90E0u: goto L_250A90E0; 11525 case 0x250A90E2u: goto L_250A90E2; 11526 case 0x250A90E4u: goto L_250A90E4; 11527 case 0x250A90E6u: goto L_250A90E6; 11528 case 0x250A90E9u: goto L_250A90E9; 11529 case 0x250A90EEu: goto L_250A90EE; 11530 case 0x250A90F0u: goto L_250A90F0; 11531 case 0x250A90F5u: goto L_250A90F5; 11532 case 0x250A90F7u: goto L_250A90F7; 11533 case 0x250A90FAu: goto L_250A90FA; 11534 case 0x250A9100u: goto L_250A9100; 11535 case 0x250A9102u: goto L_250A9102; 11536 case 0x250A9104u: goto L_250A9104; 11537 case 0x250A910Au: goto L_250A910A; 11538 case 0x250A910Cu: goto L_250A910C; 11539 case 0x250A9111u: goto L_250A9111; 11540 case 0x250A9113u: goto L_250A9113; 11541 case 0x250A9116u: goto L_250A9116; 11542 case 0x250A9118u: goto L_250A9118; 11543 case 0x250A911Bu: goto L_250A911B; 11544 case 0x250A911Du: goto L_250A911D; 11545 case 0x250A911Fu: goto L_250A911F; 11546 case 0x250A9121u: goto L_250A9121; 11547 case 0x250A9127u: goto L_250A9127; 11548 case 0x250A912Au: goto L_250A912A; 11549 case 0x250A912Du: goto L_250A912D; 11550 case 0x250A9130u: goto L_250A9130; 11551 case 0x250A9132u: goto L_250A9132; 11552 case 0x250A9134u: goto L_250A9134; 11553 case 0x250A9137u: goto L_250A9137; 11554 case 0x250A913Cu: goto L_250A913C; 11555 case 0x250A913Eu: goto L_250A913E; 11556 case 0x250A9143u: goto L_250A9143; 11557 case 0x250A9144u: goto L_250A9144; 11558 case 0x250A9149u: goto L_250A9149; 11559 case 0x250A914Eu: goto L_250A914E; 11560 case 0x250A9150u: goto L_250A9150; 11561 case 0x250A9152u: goto L_250A9152; 11562 case 0x250A9154u: goto L_250A9154; 11563 case 0x250A9156u: goto L_250A9156; 11564 case 0x250A9157u: goto L_250A9157; 11565 case 0x250A9158u: goto L_250A9158; 11566 case 0x250A915Au: goto L_250A915A; 11567 case 0x250A915Fu: goto L_250A915F; 11568 case 0x250A9162u: goto L_250A9162; 11569 case 0x250A9163u: goto L_250A9163; 11570 case 0x250A9166u: goto L_250A9166; 11571 case 0x250A9169u: goto L_250A9169; 11572 case 0x250A916Bu: goto L_250A916B; 11573 case 0x250A916Eu: goto L_250A916E; 11574 case 0x250A9170u: goto L_250A9170; 11575 case 0x250A9172u: goto L_250A9172; 11576 case 0x250A9178u: goto L_250A9178; 11577 case 0x250A917Du: goto L_250A917D; 11578 case 0x250A9183u: goto L_250A9183; 11579 case 0x250A9188u: goto L_250A9188; 11580 case 0x250A918Eu: goto L_250A918E; 11581 case 0x250A9190u: goto L_250A9190; 11582 case 0x250A9192u: goto L_250A9192; 11583 case 0x250A9195u: goto L_250A9195; 11584 case 0x250A9197u: goto L_250A9197; 11585 case 0x250A919Au: goto L_250A919A; 11586 case 0x250A919Du: goto L_250A919D; 11587 case 0x250A91A2u: goto L_250A91A2; 11588 case 0x250A91A4u: goto L_250A91A4; 11589 case 0x250A91A6u: goto L_250A91A6; 11590 case 0x250A91A8u: goto L_250A91A8; 11591 case 0x250A91ABu: goto L_250A91AB; 11592 case 0x250A91ADu: goto L_250A91AD; 11593 case 0x250A91B0u: goto L_250A91B0; 11594 case 0x250A91B1u: goto L_250A91B1; 11595 case 0x250A91B2u: goto L_250A91B2; 11596 case 0x250A91B4u: goto L_250A91B4; 11597 case 0x250A91B7u: goto L_250A91B7; 11598 case 0x250A91BAu: goto L_250A91BA; 11599 case 0x250A91BCu: goto L_250A91BC; 11600 case 0x250A91BFu: goto L_250A91BF; 11601 case 0x250A91C5u: goto L_250A91C5; 11602 case 0x250A91C8u: goto L_250A91C8; 11603 case 0x250A91CBu: goto L_250A91CB; 11604 case 0x250A91D1u: goto L_250A91D1; 11605 case 0x250A91D4u: goto L_250A91D4; 11606 case 0x250A91D7u: goto L_250A91D7; 11607 case 0x250A91DCu: goto L_250A91DC; 11608 case 0x250A91E2u: goto L_250A91E2; 11609 case 0x250A91E4u: goto L_250A91E4; 11610 case 0x250A91EAu: goto L_250A91EA; 11611 case 0x250A91F0u: goto L_250A91F0; 11612 case 0x250A91F6u: goto L_250A91F6; 11613 case 0x250A91FCu: goto L_250A91FC; 11614 case 0x250A91FEu: goto L_250A91FE; 11615 case 0x250A9200u: goto L_250A9200; 11616 case 0x250A9202u: goto L_250A9202; 11617 case 0x250A9209u: goto L_250A9209; 11618 case 0x250A920Cu: goto L_250A920C; 11619 case 0x250A920Fu: goto L_250A920F; 11620 case 0x250A9214u: goto L_250A9214; 11621 case 0x250A9217u: goto L_250A9217; 11622 case 0x250A921Cu: goto L_250A921C; 11623 case 0x250A9222u: goto L_250A9222; 11624 case 0x250A9228u: goto L_250A9228; 11625 case 0x250A922Au: goto L_250A922A; 11626 case 0x250A922Cu: goto L_250A922C; 11627 case 0x250A922Eu: goto L_250A922E; 11628 case 0x250A9230u: goto L_250A9230; 11629 case 0x250A9233u: goto L_250A9233; 11630 case 0x250A923Au: goto L_250A923A; 11631 case 0x250A923Du: goto L_250A923D; 11632 case 0x250A9240u: goto L_250A9240; 11633 case 0x250A9245u: goto L_250A9245; 11634 case 0x250A9248u: goto L_250A9248; 11635 case 0x250A924Eu: goto L_250A924E; 11636 case 0x250A9254u: goto L_250A9254; 11637 case 0x250A925Au: goto L_250A925A; 11638 case 0x250A925Cu: goto L_250A925C; 11639 case 0x250A925Eu: goto L_250A925E; 11640 case 0x250A9260u: goto L_250A9260; 11641 case 0x250A9264u: goto L_250A9264; 11642 case 0x250A926Bu: goto L_250A926B; 11643 case 0x250A9271u: goto L_250A9271; 11644 case 0x250A9274u: goto L_250A9274; 11645 case 0x250A9279u: goto L_250A9279; 11646 case 0x250A927Cu: goto L_250A927C; 11647 case 0x250A9282u: goto L_250A9282; 11648 case 0x250A9288u: goto L_250A9288; 11649 case 0x250A928Eu: goto L_250A928E; 11650 case 0x250A9290u: goto L_250A9290; 11651 case 0x250A9292u: goto L_250A9292; 11652 case 0x250A9294u: goto L_250A9294; 11653 case 0x250A9295u: goto L_250A9295; 11654 case 0x250A9299u: goto L_250A9299; 11655 case 0x250A929Fu: goto L_250A929F; 11656 case 0x250A92A9u: goto L_250A92A9; 11657 case 0x250A92ACu: goto L_250A92AC; 11658 case 0x250A92B2u: goto L_250A92B2; 11659 case 0x250A92B7u: goto L_250A92B7; 11660 case 0x250A92BDu: goto L_250A92BD; 11661 case 0x250A92C2u: goto L_250A92C2; 11662 case 0x250A92C8u: goto L_250A92C8; 11663 case 0x250A92CEu: goto L_250A92CE; 11664 case 0x250A92D0u: goto L_250A92D0; 11665 case 0x250A92D1u: goto L_250A92D1; 11666 case 0x250A92D3u: goto L_250A92D3; 11667 case 0x250A92D4u: goto L_250A92D4; 11668 case 0x250A92D8u: goto L_250A92D8; 11669 case 0x250A92DEu: goto L_250A92DE; 11670 case 0x250A92E8u: goto L_250A92E8; 11671 case 0x250A92EBu: goto L_250A92EB; 11672 case 0x250A92F1u: goto L_250A92F1; 11673 case 0x250A92F6u: goto L_250A92F6; 11674 case 0x250A92FCu: goto L_250A92FC; 11675 case 0x250A92FFu: goto L_250A92FF; 11676 case 0x250A9301u: goto L_250A9301; 11677 case 0x250A9302u: goto L_250A9302; 11678 case 0x250A9303u: goto L_250A9303; 11679 case 0x250A9307u: goto L_250A9307; 11680 case 0x250A930Cu: goto L_250A930C; 11681 case 0x250A930Eu: goto L_250A930E; 11682 case 0x250A9313u: goto L_250A9313; 11683 case 0x250A9316u: goto L_250A9316; 11684 case 0x250A9319u: goto L_250A9319; 11685 case 0x250A931Bu: goto L_250A931B; 11686 case 0x250A931Du: goto L_250A931D; 11687 case 0x250A9323u: goto L_250A9323; 11688 case 0x250A9327u: goto L_250A9327; 11689 case 0x250A932Du: goto L_250A932D; 11690 case 0x250A9330u: goto L_250A9330; 11691 case 0x250A9333u: goto L_250A9333; 11692 case 0x250A9336u: goto L_250A9336; 11693 case 0x250A9339u: goto L_250A9339; 11694 case 0x250A933Bu: goto L_250A933B; 11695 case 0x250A933Eu: goto L_250A933E; 11696 case 0x250A9341u: goto L_250A9341; 11697 case 0x250A9344u: goto L_250A9344; 11698 case 0x250A9347u: goto L_250A9347; 11699 case 0x250A934Au: goto L_250A934A; 11700 case 0x250A934Bu: goto L_250A934B; 11701 case 0x250A934Eu: goto L_250A934E; 11702 case 0x250A9355u: goto L_250A9355; 11703 case 0x250A935Cu: goto L_250A935C; 11704 case 0x250A9363u: goto L_250A9363; 11705 case 0x250A9366u: goto L_250A9366; 11706 case 0x250A9369u: goto L_250A9369; 11707 case 0x250A936Fu: goto L_250A936F; 11708 case 0x250A9371u: goto L_250A9371; 11709 case 0x250A9374u: goto L_250A9374; 11710 case 0x250A9377u: goto L_250A9377; 11711 case 0x250A937Au: goto L_250A937A; 11712 case 0x250A937Du: goto L_250A937D; 11713 case 0x250A9380u: goto L_250A9380; 11714 case 0x250A9382u: goto L_250A9382; 11715 case 0x250A9388u: goto L_250A9388; 11716 case 0x250A938Bu: goto L_250A938B; 11717 case 0x250A938Eu: goto L_250A938E; 11718 case 0x250A9391u: goto L_250A9391; 11719 case 0x250A9394u: goto L_250A9394; 11720 case 0x250A9395u: goto L_250A9395; 11721 case 0x250A939Bu: goto L_250A939B; 11722 case 0x250A93A1u: goto L_250A93A1; 11723 case 0x250A93A7u: goto L_250A93A7; 11724 case 0x250A93ADu: goto L_250A93AD; 11725 case 0x250A93B0u: goto L_250A93B0; 11726 case 0x250A93B2u: goto L_250A93B2; 11727 case 0x250A93B4u: goto L_250A93B4; 11728 case 0x250A93B7u: goto L_250A93B7; 11729 case 0x250A93BAu: goto L_250A93BA; 11730 case 0x250A93BDu: goto L_250A93BD; 11731 case 0x250A93BFu: goto L_250A93BF; 11732 case 0x250A93C2u: goto L_250A93C2; 11733 case 0x250A93C5u: goto L_250A93C5; 11734 case 0x250A93CAu: goto L_250A93CA; 11735 case 0x250A93CDu: goto L_250A93CD; 11736 case 0x250A93D0u: goto L_250A93D0; 11737 case 0x250A93D3u: goto L_250A93D3; 11738 case 0x250A93D6u: goto L_250A93D6; 11739 case 0x250A93D8u: goto L_250A93D8; 11740 case 0x250A93DBu: goto L_250A93DB; 11741 case 0x250A93DEu: goto L_250A93DE; 11742 case 0x250A93E0u: goto L_250A93E0; 11743 case 0x250A93E3u: goto L_250A93E3; 11744 case 0x250A93E5u: goto L_250A93E5; 11745 case 0x250A93EBu: goto L_250A93EB; 11746 case 0x250A93EEu: goto L_250A93EE; 11747 case 0x250A93EFu: goto L_250A93EF; 11748 case 0x250A93F2u: goto L_250A93F2; 11749 case 0x250A93F8u: goto L_250A93F8; 11750 case 0x250A93FBu: goto L_250A93FB; 11751 case 0x250A93FCu: goto L_250A93FC; 11752 case 0x250A93FFu: goto L_250A93FF; 11753 case 0x250A9405u: goto L_250A9405; 11754 case 0x250A9408u: goto L_250A9408; 11755 case 0x250A940Au: goto L_250A940A; 11756 case 0x250A940Du: goto L_250A940D; 11757 case 0x250A9410u: goto L_250A9410; 11758 case 0x250A9413u: goto L_250A9413; 11759 case 0x250A9415u: goto L_250A9415; 11760 case 0x250A9418u: goto L_250A9418; 11761 case 0x250A941Au: goto L_250A941A; 11762 case 0x250A9420u: goto L_250A9420; 11763 case 0x250A9421u: goto L_250A9421; 11764 case 0x250A942Bu: goto L_250A942B; 11765 case 0x250A9431u: goto L_250A9431; 11766 case 0x250A9437u: goto L_250A9437; 11767 case 0x250A943Du: goto L_250A943D; 11768 case 0x250A9440u: goto L_250A9440; 11769 case 0x250A9443u: goto L_250A9443; 11770 case 0x250A9444u: goto L_250A9444; 11771 case 0x250A9447u: goto L_250A9447; 11772 case 0x250A9448u: goto L_250A9448; 11773 case 0x250A944Du: goto L_250A944D; 11774 case 0x250A9453u: goto L_250A9453; 11775 case 0x250A9454u: goto L_250A9454; 11776 case 0x250A9455u: goto L_250A9455; 11777 case 0x250A9457u: goto L_250A9457; 11778 case 0x250A945Cu: goto L_250A945C; 11779 case 0x250A945Fu: goto L_250A945F; 11780 case 0x250A9461u: goto L_250A9461; 11781 case 0x250A9464u: goto L_250A9464; 11782 case 0x250A946Au: goto L_250A946A; 11783 case 0x250A9470u: goto L_250A9470; 11784 case 0x250A9472u: goto L_250A9472; 11785 case 0x250A9476u: goto L_250A9476; 11786 case 0x250A9478u: goto L_250A9478; 11787 case 0x250A947Bu: goto L_250A947B; 11788 case 0x250A9480u: goto L_250A9480; 11789 case 0x250A9486u: goto L_250A9486; 11790 case 0x250A9488u: goto L_250A9488; 11791 case 0x250A9489u: goto L_250A9489; 11792 case 0x250A948Bu: goto L_250A948B; 11793 case 0x250A948Du: goto L_250A948D; 11794 case 0x250A9492u: goto L_250A9492; 11795 case 0x250A9498u: goto L_250A9498; 11796 case 0x250A949Au: goto L_250A949A; 11797 case 0x250A949Eu: goto L_250A949E; 11798 case 0x250A94A0u: goto L_250A94A0; 11799 case 0x250A94A3u: goto L_250A94A3; 11800 case 0x250A94A8u: goto L_250A94A8; 11801 case 0x250A94AEu: goto L_250A94AE; 11802 case 0x250A94B0u: goto L_250A94B0; 11803 case 0x250A94B1u: goto L_250A94B1; 11804 case 0x250A94B3u: goto L_250A94B3; 11805 case 0x250A94B5u: goto L_250A94B5; 11806 case 0x250A94BAu: goto L_250A94BA; 11807 case 0x250A94BDu: goto L_250A94BD; 11808 case 0x250A94BFu: goto L_250A94BF; 11809 case 0x250A94C3u: goto L_250A94C3; 11810 case 0x250A94C5u: goto L_250A94C5; 11811 case 0x250A94CBu: goto L_250A94CB; 11812 case 0x250A94D0u: goto L_250A94D0; 11813 case 0x250A94D6u: goto L_250A94D6; 11814 case 0x250A94D8u: goto L_250A94D8; 11815 case 0x250A94D9u: goto L_250A94D9; 11816 case 0x250A94DBu: goto L_250A94DB; 11817 case 0x250A94E0u: goto L_250A94E0; 11818 case 0x250A94E3u: goto L_250A94E3; 11819 case 0x250A94E5u: goto L_250A94E5; 11820 case 0x250A94E9u: goto L_250A94E9; 11821 case 0x250A94EBu: goto L_250A94EB; 11822 case 0x250A94EEu: goto L_250A94EE; 11823 case 0x250A94F3u: goto L_250A94F3; 11824 case 0x250A94F9u: goto L_250A94F9; 11825 case 0x250A94FBu: goto L_250A94FB; 11826 case 0x250A94FCu: goto L_250A94FC; 11827 case 0x250A94FEu: goto L_250A94FE; 11828 case 0x250A9503u: goto L_250A9503; 11829 case 0x250A9506u: goto L_250A9506; 11830 case 0x250A9508u: goto L_250A9508; 11831 case 0x250A950Fu: goto L_250A950F; 11832 case 0x250A9511u: goto L_250A9511; 11833 case 0x250A9514u: goto L_250A9514; 11834 case 0x250A951Au: goto L_250A951A; 11835 case 0x250A9520u: goto L_250A9520; 11836 case 0x250A9522u: goto L_250A9522; 11837 case 0x250A9523u: goto L_250A9523; 11838 case 0x250A9525u: goto L_250A9525; 11839 case 0x250A952Au: goto L_250A952A; 11840 case 0x250A952Du: goto L_250A952D; 11841 case 0x250A952Eu: goto L_250A952E; 11842 case 0x250A952Fu: goto L_250A952F; 11843 case 0x250A9530u: goto L_250A9530; 11844 case 0x250A9537u: goto L_250A9537; 11845 case 0x250A9539u: goto L_250A9539; 11846 case 0x250A953Au: goto L_250A953A; 11847 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 11848 } 11849 RECOMP_REGS_OUT(); 11850 } 11851 11852 void sub_250A8EA7(void) { 11853 int _fpu_cmp = 0; 11854 uint32_t _cf = 0; 11855 int _df = 1; 11856 uint32_t _flag_k = FK_NONE; 11857 uint32_t _flag_a = 0, _flag_b = 0; 11858 uint32_t _itail_tgt = 0; 11859 RECOMP_REGS_LOCALS 11860 RECOMP_ENTER(0x250A8EA7u); 11861 11862 goto L_250A8EA7; 11863 L_250A8B50: 11864 edi = MEM32(ebp + (-0x1C)); /* 0x250A8B50: mov edi, dword ptr [ebp - 0x1c] */ 11865 L_250A8B53: 11866 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A8B53: cmp dword ptr [edi + 0x34], 9 */ 11867 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 11868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11869 _flag_k = FK_CMP; 11870 L_250A8B57: 11871 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8B57: je 0x250a8f26 */ 11872 L_250A8B5D: 11873 eax = MEM32(edi + 0x18); /* 0x250A8B5D: mov eax, dword ptr [edi + 0x18] */ 11874 L_250A8B60: 11875 edx = MEM32(edi + 0x10); /* 0x250A8B60: mov edx, dword ptr [edi + 0x10] */ 11876 L_250A8B63: 11877 MEM32(ebp + (-0x14)) = eax; /* 0x250A8B63: mov dword ptr [ebp - 0x14], eax */ 11878 L_250A8B66: 11879 SET_LO8(eax, MEM8(esi + 0xDE)); /* 0x250A8B66: mov al, byte ptr [esi + 0xde] */ 11880 L_250A8B6C: 11881 /* test LO8(eax), LO8(eax) */ /* 0x250A8B6C: test al, al */ 11882 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11883 _cf = 0; 11884 _flag_k = FK_NARROW(FK_TEST, 24); 11885 L_250A8B6E: 11886 MEM32(ebp + (-0x10)) = edx; /* 0x250A8B6E: mov dword ptr [ebp - 0x10], edx */ 11887 L_250A8B71: 11888 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B8D; /* 0x250A8B71: je 0x250a8b8d */ 11889 L_250A8B73: 11890 ecx = MEM32(esi + 0x94); /* 0x250A8B73: mov ecx, dword ptr [esi + 0x94] */ 11891 L_250A8B79: 11892 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x250A8B79: cmp ecx, dword ptr [edi + 0xc] */ 11893 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 11894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11895 _flag_k = FK_CMP; 11896 L_250A8B7C: 11897 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B8D; /* 0x250A8B7C: jne 0x250a8b8d */ 11898 L_250A8B7E: 11899 edx = MEM32(esi + 0x90); /* 0x250A8B7E: mov edx, dword ptr [esi + 0x90] */ 11900 L_250A8B84: 11901 /* cmp edx, MEM32(edi + 0x8) */ /* 0x250A8B84: cmp edx, dword ptr [edi + 8] */ 11902 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11904 _flag_k = FK_CMP; 11905 L_250A8B87: 11906 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x250A8B87: mov byte ptr [ebp + 0xb], 1 */ 11907 L_250A8B8B: 11908 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B91; /* 0x250A8B8B: je 0x250a8b91 */ 11909 L_250A8B8D: 11910 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x250A8B8D: mov byte ptr [ebp + 0xb], 0 */ 11911 L_250A8B91: 11912 eax = MEM32(0x25238574); /* 0x250A8B91: mov eax, dword ptr [0x25238574] */ 11913 L_250A8B96: 11914 MEM32(ebp + (-0x30)) = eax; /* 0x250A8B96: mov dword ptr [ebp - 0x30], eax */ 11915 L_250A8B99: 11916 eax = edi + 0x8; /* 0x250A8B99: lea eax, [edi + 8] */ 11917 L_250A8B9C: 11918 PUSH32(esp, eax); /* 0x250A8B9C: push eax */ 11919 L_250A8B9D: 11920 ecx = ebp + (-0x44); /* 0x250A8B9D: lea ecx, [ebp - 0x44] */ 11921 L_250A8BA0: 11922 PUSH32(esp, ecx); /* 0x250A8BA0: push ecx */ 11923 L_250A8BA1: 11924 ecx = 0x25238570u; /* 0x250A8BA1: mov ecx, 0x25238570 */ 11925 L_250A8BA6: 11926 RECOMP_ICALL(0x250A33E0u); /* 0x250A8BA6: call 0x250a33e0 */ /* not lifted */ 11927 RECOMP_FLAGS_IN(); 11928 L_250A8BAB: 11929 ecx = MEM32(eax); /* 0x250A8BAB: mov ecx, dword ptr [eax] */ 11930 L_250A8BAD: 11931 edx = MEM32(ebp + (-0x30)); /* 0x250A8BAD: mov edx, dword ptr [ebp - 0x30] */ 11932 L_250A8BB0: 11933 /* cmp ecx, edx */ /* 0x250A8BB0: cmp ecx, edx */ 11934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11936 _flag_k = FK_CMP; 11937 L_250A8BB2: 11938 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x250A8BB2: mov cl, byte ptr [ebp + 0xb] */ 11939 L_250A8BB5: 11940 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8BB5: setne al */ 11941 L_250A8BB8: 11942 /* test LO8(ecx), LO8(ecx) */ /* 0x250A8BB8: test cl, cl */ 11943 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11944 _cf = 0; 11945 _flag_k = FK_NARROW(FK_TEST, 24); 11946 L_250A8BBA: 11947 MEM8(ebp + (-0x29)) = (uint8_t)(LO8(eax)); /* 0x250A8BBA: mov byte ptr [ebp - 0x29], al */ 11948 L_250A8BBD: 11949 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BBD: jne 0x250a8dcb */ 11950 L_250A8BC3: 11951 /* test LO8(eax), LO8(eax) */ /* 0x250A8BC3: test al, al */ 11952 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11953 _cf = 0; 11954 _flag_k = FK_NARROW(FK_TEST, 24); 11955 L_250A8BC5: 11956 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BC5: jne 0x250a8dcb */ 11957 L_250A8BCB: 11958 SET_LO8(eax, MEM8(ebp + (-0x15))); /* 0x250A8BCB: mov al, byte ptr [ebp - 0x15] */ 11959 L_250A8BCE: 11960 /* test LO8(eax), LO8(eax) */ /* 0x250A8BCE: test al, al */ 11961 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11962 _cf = 0; 11963 _flag_k = FK_NARROW(FK_TEST, 24); 11964 L_250A8BD0: 11965 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8C1A; /* 0x250A8BD0: je 0x250a8c1a */ 11966 L_250A8BD2: 11967 eax = MEM32(edi + 0x38); /* 0x250A8BD2: mov eax, dword ptr [edi + 0x38] */ 11968 L_250A8BD5: 11969 ecx = ebp + 0x8; /* 0x250A8BD5: lea ecx, [ebp + 8] */ 11970 L_250A8BD8: 11971 PUSH32(esp, ecx); /* 0x250A8BD8: push ecx */ 11972 L_250A8BD9: 11973 edx = ebp + (-0x40); /* 0x250A8BD9: lea edx, [ebp - 0x40] */ 11974 L_250A8BDC: 11975 PUSH32(esp, edx); /* 0x250A8BDC: push edx */ 11976 L_250A8BDD: 11977 ecx = 0x252385A0u; /* 0x250A8BDD: mov ecx, 0x252385a0 */ 11978 L_250A8BE2: 11979 MEM32(ebp + 0x8) = eax; /* 0x250A8BE2: mov dword ptr [ebp + 8], eax */ 11980 L_250A8BE5: 11981 RECOMP_ICALL(0x250AC4E0u); /* 0x250A8BE5: call 0x250ac4e0 */ /* not lifted */ 11982 RECOMP_FLAGS_IN(); 11983 L_250A8BEA: 11984 eax = MEM32(eax); /* 0x250A8BEA: mov eax, dword ptr [eax] */ 11985 L_250A8BEC: 11986 /* cmp eax, MEM32(0x252385A4) */ /* 0x250A8BEC: cmp eax, dword ptr [0x252385a4] */ 11987 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385A4)); 11988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11989 _flag_k = FK_CMP; 11990 L_250A8BF2: 11991 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8BF2: je 0x250a8f26 */ 11992 L_250A8BF8: 11993 eax = MEM32(eax + 0x10); /* 0x250A8BF8: mov eax, dword ptr [eax + 0x10] */ 11994 L_250A8BFB: 11995 ecx = MEM32(0x2523858C); /* 0x250A8BFB: mov ecx, dword ptr [0x2523858c] */ 11996 L_250A8C01: 11997 edx = eax * 8; /* 0x250A8C01: lea edx, [eax*8] */ 11998 L_250A8C08: 11999 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12001 edx = edx - eax; /* 0x250A8C08: sub edx, eax */ 12002 _flag_k = FK_CMP; 12003 L_250A8C0A: 12004 eax = MEM32(ecx + edx * 8 + 0x2C); /* 0x250A8C0A: mov eax, dword ptr [ecx + edx*8 + 0x2c] */ 12005 L_250A8C0E: 12006 /* cmp eax, MEM32(0x252385C0) */ /* 0x250A8C0E: cmp eax, dword ptr [0x252385c0] */ 12007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 12008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12009 _flag_k = FK_CMP; 12010 L_250A8C14: 12011 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8F26; /* 0x250A8C14: jne 0x250a8f26 */ 12012 L_250A8C1A: 12013 eax = MEM32(edi + 0x34); /* 0x250A8C1A: mov eax, dword ptr [edi + 0x34] */ 12014 L_250A8C1D: 12015 /* cmp eax, 8 */ /* 0x250A8C1D: cmp eax, 8 */ 12016 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 12017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12018 _flag_k = FK_CMP; 12019 L_250A8C20: 12020 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A8F26; /* 0x250A8C20: ja 0x250a8f26 */ 12021 L_250A8C26: 12022 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x250A9540)); goto _ljump; } 12023 L_250A8C2D: 12024 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C2D: mov ecx, dword ptr [ebp - 0x10] */ 12025 L_250A8C30: 12026 edx = MEM32(ebp + (-0x14)); /* 0x250A8C30: mov edx, dword ptr [ebp - 0x14] */ 12027 L_250A8C33: 12028 PUSH32(esp, 0); /* 0x250A8C33: push 0 */ 12029 L_250A8C35: 12030 eax = ebp + (-0xC8); /* 0x250A8C35: lea eax, [ebp - 0xc8] */ 12031 L_250A8C3B: 12032 PUSH32(esp, eax); /* 0x250A8C3B: push eax */ 12033 L_250A8C3C: 12034 MEM32(ebp + (-0xC8)) = ecx; /* 0x250A8C3C: mov dword ptr [ebp - 0xc8], ecx */ 12035 L_250A8C42: 12036 PUSH32(esp, ebx); /* 0x250A8C42: push ebx */ 12037 L_250A8C43: 12038 ecx = esi; /* 0x250A8C43: mov ecx, esi */ 12039 L_250A8C45: 12040 MEM32(ebp + (-0xC4)) = 0; /* 0x250A8C45: mov dword ptr [ebp - 0xc4], 0 */ 12041 L_250A8C4F: 12042 MEM32(ebp + (-0xC0)) = edx; /* 0x250A8C4F: mov dword ptr [ebp - 0xc0], edx */ 12043 L_250A8C55: 12044 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C55: call 0x250a87e0 */ /* not lifted */ 12045 RECOMP_FLAGS_IN(); 12046 L_250A8C5A: 12047 goto L_250A8F26; /* 0x250A8C5A: jmp 0x250a8f26 */ 12048 L_250A8C5F: 12049 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C5F: mov ecx, dword ptr [ebp - 0x10] */ 12050 L_250A8C62: 12051 edx = MEM32(ebp + (-0x14)); /* 0x250A8C62: mov edx, dword ptr [ebp - 0x14] */ 12052 L_250A8C65: 12053 PUSH32(esp, 1); /* 0x250A8C65: push 1 */ 12054 L_250A8C67: 12055 eax = ebp + (-0xEC); /* 0x250A8C67: lea eax, [ebp - 0xec] */ 12056 L_250A8C6D: 12057 PUSH32(esp, eax); /* 0x250A8C6D: push eax */ 12058 L_250A8C6E: 12059 MEM32(ebp + (-0xEC)) = ecx; /* 0x250A8C6E: mov dword ptr [ebp - 0xec], ecx */ 12060 L_250A8C74: 12061 PUSH32(esp, ebx); /* 0x250A8C74: push ebx */ 12062 L_250A8C75: 12063 ecx = esi; /* 0x250A8C75: mov ecx, esi */ 12064 L_250A8C77: 12065 MEM32(ebp + (-0xE8)) = 0; /* 0x250A8C77: mov dword ptr [ebp - 0xe8], 0 */ 12066 L_250A8C81: 12067 MEM32(ebp + (-0xE4)) = edx; /* 0x250A8C81: mov dword ptr [ebp - 0xe4], edx */ 12068 L_250A8C87: 12069 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C87: call 0x250a87e0 */ /* not lifted */ 12070 RECOMP_FLAGS_IN(); 12071 L_250A8C8C: 12072 goto L_250A8F26; /* 0x250A8C8C: jmp 0x250a8f26 */ 12073 L_250A8C91: 12074 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C91: mov ecx, dword ptr [ebp - 0x10] */ 12075 L_250A8C94: 12076 edx = MEM32(ebp + (-0x14)); /* 0x250A8C94: mov edx, dword ptr [ebp - 0x14] */ 12077 L_250A8C97: 12078 PUSH32(esp, 2); /* 0x250A8C97: push 2 */ 12079 L_250A8C99: 12080 eax = ebp + (-0xD4); /* 0x250A8C99: lea eax, [ebp - 0xd4] */ 12081 L_250A8C9F: 12082 PUSH32(esp, eax); /* 0x250A8C9F: push eax */ 12083 L_250A8CA0: 12084 MEM32(ebp + (-0xD4)) = ecx; /* 0x250A8CA0: mov dword ptr [ebp - 0xd4], ecx */ 12085 L_250A8CA6: 12086 PUSH32(esp, ebx); /* 0x250A8CA6: push ebx */ 12087 L_250A8CA7: 12088 ecx = esi; /* 0x250A8CA7: mov ecx, esi */ 12089 L_250A8CA9: 12090 MEM32(ebp + (-0xD0)) = 0; /* 0x250A8CA9: mov dword ptr [ebp - 0xd0], 0 */ 12091 L_250A8CB3: 12092 MEM32(ebp + (-0xCC)) = edx; /* 0x250A8CB3: mov dword ptr [ebp - 0xcc], edx */ 12093 L_250A8CB9: 12094 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CB9: call 0x250a87e0 */ /* not lifted */ 12095 RECOMP_FLAGS_IN(); 12096 L_250A8CBE: 12097 goto L_250A8F26; /* 0x250A8CBE: jmp 0x250a8f26 */ 12098 L_250A8CC3: 12099 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CC3: mov ecx, dword ptr [ebp - 0x10] */ 12100 L_250A8CC6: 12101 edx = MEM32(ebp + (-0x14)); /* 0x250A8CC6: mov edx, dword ptr [ebp - 0x14] */ 12102 L_250A8CC9: 12103 PUSH32(esp, 3); /* 0x250A8CC9: push 3 */ 12104 L_250A8CCB: 12105 eax = ebp + (-0xF8); /* 0x250A8CCB: lea eax, [ebp - 0xf8] */ 12106 L_250A8CD1: 12107 PUSH32(esp, eax); /* 0x250A8CD1: push eax */ 12108 L_250A8CD2: 12109 MEM32(ebp + (-0xF8)) = ecx; /* 0x250A8CD2: mov dword ptr [ebp - 0xf8], ecx */ 12110 L_250A8CD8: 12111 PUSH32(esp, ebx); /* 0x250A8CD8: push ebx */ 12112 L_250A8CD9: 12113 ecx = esi; /* 0x250A8CD9: mov ecx, esi */ 12114 L_250A8CDB: 12115 MEM32(ebp + (-0xF4)) = 0; /* 0x250A8CDB: mov dword ptr [ebp - 0xf4], 0 */ 12116 L_250A8CE5: 12117 MEM32(ebp + (-0xF0)) = edx; /* 0x250A8CE5: mov dword ptr [ebp - 0xf0], edx */ 12118 L_250A8CEB: 12119 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CEB: call 0x250a87e0 */ /* not lifted */ 12120 RECOMP_FLAGS_IN(); 12121 L_250A8CF0: 12122 goto L_250A8F26; /* 0x250A8CF0: jmp 0x250a8f26 */ 12123 L_250A8CF5: 12124 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CF5: mov ecx, dword ptr [ebp - 0x10] */ 12125 L_250A8CF8: 12126 edx = MEM32(ebp + (-0x14)); /* 0x250A8CF8: mov edx, dword ptr [ebp - 0x14] */ 12127 L_250A8CFB: 12128 PUSH32(esp, 4); /* 0x250A8CFB: push 4 */ 12129 L_250A8CFD: 12130 eax = ebp + (-0x104); /* 0x250A8CFD: lea eax, [ebp - 0x104] */ 12131 L_250A8D03: 12132 PUSH32(esp, eax); /* 0x250A8D03: push eax */ 12133 L_250A8D04: 12134 MEM32(ebp + (-0x104)) = ecx; /* 0x250A8D04: mov dword ptr [ebp - 0x104], ecx */ 12135 L_250A8D0A: 12136 PUSH32(esp, ebx); /* 0x250A8D0A: push ebx */ 12137 L_250A8D0B: 12138 ecx = esi; /* 0x250A8D0B: mov ecx, esi */ 12139 L_250A8D0D: 12140 MEM32(ebp + (-0x100)) = 0; /* 0x250A8D0D: mov dword ptr [ebp - 0x100], 0 */ 12141 L_250A8D17: 12142 MEM32(ebp + (-0xFC)) = edx; /* 0x250A8D17: mov dword ptr [ebp - 0xfc], edx */ 12143 L_250A8D1D: 12144 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D1D: call 0x250a87e0 */ /* not lifted */ 12145 RECOMP_FLAGS_IN(); 12146 L_250A8D22: 12147 goto L_250A8F26; /* 0x250A8D22: jmp 0x250a8f26 */ 12148 L_250A8D27: 12149 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D27: mov ecx, dword ptr [ebp - 0x10] */ 12150 L_250A8D2A: 12151 edx = MEM32(ebp + (-0x14)); /* 0x250A8D2A: mov edx, dword ptr [ebp - 0x14] */ 12152 L_250A8D2D: 12153 PUSH32(esp, 5); /* 0x250A8D2D: push 5 */ 12154 L_250A8D2F: 12155 eax = ebp + (-0x98); /* 0x250A8D2F: lea eax, [ebp - 0x98] */ 12156 L_250A8D35: 12157 PUSH32(esp, eax); /* 0x250A8D35: push eax */ 12158 L_250A8D36: 12159 MEM32(ebp + (-0x98)) = ecx; /* 0x250A8D36: mov dword ptr [ebp - 0x98], ecx */ 12160 L_250A8D3C: 12161 PUSH32(esp, ebx); /* 0x250A8D3C: push ebx */ 12162 L_250A8D3D: 12163 ecx = esi; /* 0x250A8D3D: mov ecx, esi */ 12164 L_250A8D3F: 12165 MEM32(ebp + (-0x94)) = 0; /* 0x250A8D3F: mov dword ptr [ebp - 0x94], 0 */ 12166 L_250A8D49: 12167 MEM32(ebp + (-0x90)) = edx; /* 0x250A8D49: mov dword ptr [ebp - 0x90], edx */ 12168 L_250A8D4F: 12169 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D4F: call 0x250a87e0 */ /* not lifted */ 12170 RECOMP_FLAGS_IN(); 12171 L_250A8D54: 12172 goto L_250A8F26; /* 0x250A8D54: jmp 0x250a8f26 */ 12173 L_250A8D59: 12174 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D59: mov ecx, dword ptr [ebp - 0x10] */ 12175 L_250A8D5C: 12176 edx = MEM32(ebp + (-0x14)); /* 0x250A8D5C: mov edx, dword ptr [ebp - 0x14] */ 12177 L_250A8D5F: 12178 PUSH32(esp, 6); /* 0x250A8D5F: push 6 */ 12179 L_250A8D61: 12180 eax = ebp + (-0x50); /* 0x250A8D61: lea eax, [ebp - 0x50] */ 12181 L_250A8D64: 12182 PUSH32(esp, eax); /* 0x250A8D64: push eax */ 12183 L_250A8D65: 12184 MEM32(ebp + (-0x50)) = ecx; /* 0x250A8D65: mov dword ptr [ebp - 0x50], ecx */ 12185 L_250A8D68: 12186 PUSH32(esp, ebx); /* 0x250A8D68: push ebx */ 12187 L_250A8D69: 12188 ecx = esi; /* 0x250A8D69: mov ecx, esi */ 12189 L_250A8D6B: 12190 MEM32(ebp + (-0x4C)) = 0; /* 0x250A8D6B: mov dword ptr [ebp - 0x4c], 0 */ 12191 L_250A8D72: 12192 MEM32(ebp + (-0x48)) = edx; /* 0x250A8D72: mov dword ptr [ebp - 0x48], edx */ 12193 L_250A8D75: 12194 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D75: call 0x250a87e0 */ /* not lifted */ 12195 RECOMP_FLAGS_IN(); 12196 L_250A8D7A: 12197 goto L_250A8F26; /* 0x250A8D7A: jmp 0x250a8f26 */ 12198 L_250A8D7F: 12199 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D7F: mov ecx, dword ptr [ebp - 0x10] */ 12200 L_250A8D82: 12201 edx = MEM32(ebp + (-0x14)); /* 0x250A8D82: mov edx, dword ptr [ebp - 0x14] */ 12202 L_250A8D85: 12203 PUSH32(esp, 6); /* 0x250A8D85: push 6 */ 12204 L_250A8D87: 12205 eax = ebp + (-0x5C); /* 0x250A8D87: lea eax, [ebp - 0x5c] */ 12206 L_250A8D8A: 12207 PUSH32(esp, eax); /* 0x250A8D8A: push eax */ 12208 L_250A8D8B: 12209 MEM32(ebp + (-0x5C)) = ecx; /* 0x250A8D8B: mov dword ptr [ebp - 0x5c], ecx */ 12210 L_250A8D8E: 12211 PUSH32(esp, ebx); /* 0x250A8D8E: push ebx */ 12212 L_250A8D8F: 12213 ecx = esi; /* 0x250A8D8F: mov ecx, esi */ 12214 L_250A8D91: 12215 MEM32(ebp + (-0x58)) = 0; /* 0x250A8D91: mov dword ptr [ebp - 0x58], 0 */ 12216 L_250A8D98: 12217 MEM32(ebp + (-0x54)) = edx; /* 0x250A8D98: mov dword ptr [ebp - 0x54], edx */ 12218 L_250A8D9B: 12219 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D9B: call 0x250a87e0 */ /* not lifted */ 12220 RECOMP_FLAGS_IN(); 12221 L_250A8DA0: 12222 goto L_250A8F26; /* 0x250A8DA0: jmp 0x250a8f26 */ 12223 L_250A8DA5: 12224 ecx = MEM32(ebp + (-0x10)); /* 0x250A8DA5: mov ecx, dword ptr [ebp - 0x10] */ 12225 L_250A8DA8: 12226 edx = MEM32(ebp + (-0x14)); /* 0x250A8DA8: mov edx, dword ptr [ebp - 0x14] */ 12227 L_250A8DAB: 12228 PUSH32(esp, 7); /* 0x250A8DAB: push 7 */ 12229 L_250A8DAD: 12230 eax = ebp + (-0x74); /* 0x250A8DAD: lea eax, [ebp - 0x74] */ 12231 L_250A8DB0: 12232 PUSH32(esp, eax); /* 0x250A8DB0: push eax */ 12233 L_250A8DB1: 12234 MEM32(ebp + (-0x74)) = ecx; /* 0x250A8DB1: mov dword ptr [ebp - 0x74], ecx */ 12235 L_250A8DB4: 12236 PUSH32(esp, ebx); /* 0x250A8DB4: push ebx */ 12237 L_250A8DB5: 12238 ecx = esi; /* 0x250A8DB5: mov ecx, esi */ 12239 L_250A8DB7: 12240 MEM32(ebp + (-0x70)) = 0; /* 0x250A8DB7: mov dword ptr [ebp - 0x70], 0 */ 12241 L_250A8DBE: 12242 MEM32(ebp + (-0x6C)) = edx; /* 0x250A8DBE: mov dword ptr [ebp - 0x6c], edx */ 12243 L_250A8DC1: 12244 RECOMP_ICALL(0x250A87E0u); /* 0x250A8DC1: call 0x250a87e0 */ /* not lifted */ 12245 RECOMP_FLAGS_IN(); 12246 L_250A8DC6: 12247 goto L_250A8F26; /* 0x250A8DC6: jmp 0x250a8f26 */ 12248 L_250A8DCB: 12249 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x1Cu); 12250 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12251 edi = edi + 0x1Cu; /* 0x250A8DCB: add edi, 0x1c */ 12252 _flag_k = FK_ADD; 12253 L_250A8DCE: 12254 ecx = edi; /* 0x250A8DCE: mov ecx, edi */ 12255 L_250A8DD0: 12256 edx = MEM32(ecx); /* 0x250A8DD0: mov edx, dword ptr [ecx] */ 12257 L_250A8DD2: 12258 eax = MEM32(ecx + 0x4); /* 0x250A8DD2: mov eax, dword ptr [ecx + 4] */ 12259 L_250A8DD5: 12260 ecx = MEM32(ecx + 0x8); /* 0x250A8DD5: mov ecx, dword ptr [ecx + 8] */ 12261 L_250A8DD8: 12262 MEM32(ebp + (-0x8C)) = edx; /* 0x250A8DD8: mov dword ptr [ebp - 0x8c], edx */ 12263 L_250A8DDE: 12264 edx = ebp + (-0x28); /* 0x250A8DDE: lea edx, [ebp - 0x28] */ 12265 L_250A8DE1: 12266 MEM32(ebp + (-0x84)) = ecx; /* 0x250A8DE1: mov dword ptr [ebp - 0x84], ecx */ 12267 L_250A8DE7: 12268 PUSH32(esp, edx); /* 0x250A8DE7: push edx */ 12269 L_250A8DE8: 12270 ecx = ebp + (-0x8C); /* 0x250A8DE8: lea ecx, [ebp - 0x8c] */ 12271 L_250A8DEE: 12272 MEM32(ebp + (-0x28)) = 0; /* 0x250A8DEE: mov dword ptr [ebp - 0x28], 0 */ 12273 L_250A8DF5: 12274 MEM32(ebp + (-0x24)) = 0; /* 0x250A8DF5: mov dword ptr [ebp - 0x24], 0 */ 12275 L_250A8DFC: 12276 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x250A8DFC: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12277 L_250A8E03: 12278 MEM32(ebp + (-0x88)) = eax; /* 0x250A8E03: mov dword ptr [ebp - 0x88], eax */ 12279 L_250A8E09: 12280 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A8E09: call dword ptr [0x25151564] */ 12281 RECOMP_FLAGS_IN(); 12282 L_250A8E0F: 12283 ecx = MEM32(eax); /* 0x250A8E0F: mov ecx, dword ptr [eax] */ 12284 L_250A8E11: 12285 MEM32(ebp + (-0xAC)) = ecx; /* 0x250A8E11: mov dword ptr [ebp - 0xac], ecx */ 12286 L_250A8E17: 12287 edx = MEM32(eax + 0x4); /* 0x250A8E17: mov edx, dword ptr [eax + 4] */ 12288 L_250A8E1A: 12289 MEM32(ebp + (-0xA8)) = edx; /* 0x250A8E1A: mov dword ptr [ebp - 0xa8], edx */ 12290 L_250A8E20: 12291 eax = MEM32(eax + 0x8); /* 0x250A8E20: mov eax, dword ptr [eax + 8] */ 12292 L_250A8E23: 12293 ecx = ebp + (-0xAC); /* 0x250A8E23: lea ecx, [ebp - 0xac] */ 12294 L_250A8E29: 12295 PUSH32(esp, ecx); /* 0x250A8E29: push ecx */ 12296 L_250A8E2A: 12297 edx = ebp + (-0xB8); /* 0x250A8E2A: lea edx, [ebp - 0xb8] */ 12298 L_250A8E30: 12299 PUSH32(esp, edx); /* 0x250A8E30: push edx */ 12300 L_250A8E31: 12301 ecx = edi; /* 0x250A8E31: mov ecx, edi */ 12302 L_250A8E33: 12303 MEM32(ebp + (-0xA4)) = eax; /* 0x250A8E33: mov dword ptr [ebp - 0xa4], eax */ 12304 L_250A8E39: 12305 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250A8E39: call dword ptr [0x25151570] */ 12306 RECOMP_FLAGS_IN(); 12307 L_250A8E3F: 12308 fp_push(*(float*)&MEM32(edi + 0xC)); /* 0x250A8E3F: fld dword ptr [edi + 0xc] */ 12309 L_250A8E42: 12310 ecx = MEM32(eax); /* 0x250A8E42: mov ecx, dword ptr [eax] */ 12311 L_250A8E44: 12312 _st[0] += _st[0]; /* 0x250A8E44: fadd st(0), st(0) */ 12313 L_250A8E46: 12314 MEM32(ebp + (-0x3C)) = ecx; /* 0x250A8E46: mov dword ptr [ebp - 0x3c], ecx */ 12315 L_250A8E49: 12316 edx = MEM32(eax + 0x4); /* 0x250A8E49: mov edx, dword ptr [eax + 4] */ 12317 L_250A8E4C: 12318 MEM32(ebp + (-0x38)) = edx; /* 0x250A8E4C: mov dword ptr [ebp - 0x38], edx */ 12319 L_250A8E4F: 12320 eax = MEM32(eax + 0x8); /* 0x250A8E4F: mov eax, dword ptr [eax + 8] */ 12321 L_250A8E52: 12322 PUSH32(esp, ecx); /* 0x250A8E52: push ecx */ 12323 L_250A8E53: 12324 ecx = ebp + (-0xAC); /* 0x250A8E53: lea ecx, [ebp - 0xac] */ 12325 L_250A8E59: 12326 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8E59: fstp dword ptr [esp] */ 12327 L_250A8E5C: 12328 MEM32(ebp + (-0x34)) = eax; /* 0x250A8E5C: mov dword ptr [ebp - 0x34], eax */ 12329 L_250A8E5F: 12330 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E5F: call dword ptr [0x25151510] */ 12331 RECOMP_FLAGS_IN(); 12332 L_250A8E65: 12333 PUSH32(esp, 0x40000000u); /* 0x250A8E65: push 0x40000000 */ 12334 L_250A8E6A: 12335 ecx = ebp + (-0x3C); /* 0x250A8E6A: lea ecx, [ebp - 0x3c] */ 12336 L_250A8E6D: 12337 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E6D: call dword ptr [0x25151510] */ 12338 RECOMP_FLAGS_IN(); 12339 L_250A8E73: 12340 ecx = ebp + (-0xAC); /* 0x250A8E73: lea ecx, [ebp - 0xac] */ 12341 L_250A8E79: 12342 PUSH32(esp, ecx); /* 0x250A8E79: push ecx */ 12343 L_250A8E7A: 12344 ecx = ebp + (-0x28); /* 0x250A8E7A: lea ecx, [ebp - 0x28] */ 12345 L_250A8E7D: 12346 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E7D: call dword ptr [0x251514f8] */ 12347 RECOMP_FLAGS_IN(); 12348 L_250A8E83: 12349 edx = ebp + (-0x3C); /* 0x250A8E83: lea edx, [ebp - 0x3c] */ 12350 L_250A8E86: 12351 PUSH32(esp, edx); /* 0x250A8E86: push edx */ 12352 L_250A8E87: 12353 ecx = ebp + (-0x28); /* 0x250A8E87: lea ecx, [ebp - 0x28] */ 12354 L_250A8E8A: 12355 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E8A: call dword ptr [0x251514f8] */ 12356 RECOMP_FLAGS_IN(); 12357 L_250A8E90: 12358 eax = MEM32(esi + 0x70); /* 0x250A8E90: mov eax, dword ptr [esi + 0x70] */ 12359 L_250A8E93: 12360 /* test eax, eax */ /* 0x250A8E93: test eax, eax */ 12361 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12362 _cf = 0; 12363 _flag_k = FK_TEST; 12364 L_250A8E95: 12365 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8EA1; /* 0x250A8E95: je 0x250a8ea1 */ 12366 L_250A8E97: 12367 eax = MEM32(eax + 0x28); /* 0x250A8E97: mov eax, dword ptr [eax + 0x28] */ 12368 L_250A8E9A: 12369 PUSH32(esp, 0xAu); /* 0x250A8E9A: push 0xa */ 12370 L_250A8E9C: 12371 PUSH32(esp, 0); /* 0x250A8E9C: push 0 */ 12372 L_250A8E9E: 12373 PUSH32(esp, eax); /* 0x250A8E9E: push eax */ 12374 L_250A8E9F: 12375 goto L_250A8EA7; /* 0x250A8E9F: jmp 0x250a8ea7 */ 12376 L_250A8EA1: 12377 PUSH32(esp, 0xAu); /* 0x250A8EA1: push 0xa */ 12378 L_250A8EA3: 12379 PUSH32(esp, 0); /* 0x250A8EA3: push 0 */ 12380 L_250A8EA5: 12381 PUSH32(esp, 0); /* 0x250A8EA5: push 0 */ 12382 L_250A8EA7: 12383 ecx = MEM32(ebx + 0x8); /* 0x250A8EA7: mov ecx, dword ptr [ebx + 8] */ 12384 L_250A8EAA: 12385 RECOMP_ICALL(0x250EFF90u); /* 0x250A8EAA: call 0x250eff90 */ /* not lifted */ 12386 RECOMP_FLAGS_IN(); 12387 L_250A8EAF: 12388 ecx = ebx; /* 0x250A8EAF: mov ecx, ebx */ 12389 L_250A8EB1: 12390 RECOMP_ICALL(0x250E05D0u); /* 0x250A8EB1: call 0x250e05d0 */ /* not lifted */ 12391 RECOMP_FLAGS_IN(); 12392 L_250A8EB6: 12393 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A8EB6: fld dword ptr [ebp - 0x28] */ 12394 L_250A8EB9: 12395 _st[0] = -_st[0]; /* 0x250A8EB9: fchs */ 12396 L_250A8EBB: 12397 eax = MEM32(ebp + (-0x10)); /* 0x250A8EBB: mov eax, dword ptr [ebp - 0x10] */ 12398 L_250A8EBE: 12399 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A8EBE: fld dword ptr [ebp - 0x20] */ 12400 L_250A8EC1: 12401 ecx = MEM32(ebp + (-0x14)); /* 0x250A8EC1: mov ecx, dword ptr [ebp - 0x14] */ 12402 L_250A8EC4: 12403 _st[0] = -_st[0]; /* 0x250A8EC4: fchs */ 12404 L_250A8EC6: 12405 MEM32(ebp + (-0x80)) = eax; /* 0x250A8EC6: mov dword ptr [ebp - 0x80], eax */ 12406 L_250A8EC9: 12407 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A8EC9: fpatan */ 12408 L_250A8ECB: 12409 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x250A8ECB: mov al, byte ptr [ebp - 0x29] */ 12410 L_250A8ECE: 12411 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12412 edx = 0; /* 0x250A8ECE: xor edx, edx */ 12413 _cf = 0; 12414 _flag_k = FK_TEST; 12415 L_250A8ED0: 12416 /* test LO8(eax), LO8(eax) */ /* 0x250A8ED0: test al, al */ 12417 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12418 _cf = 0; 12419 _flag_k = FK_NARROW(FK_TEST, 24); 12420 L_250A8ED2: 12421 SET_LO8(edx, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8ED2: setne dl */ 12422 L_250A8ED5: 12423 eax = ebp + (-0x80); /* 0x250A8ED5: lea eax, [ebp - 0x80] */ 12424 L_250A8ED8: 12425 MEM32(ebp + (-0x78)) = ecx; /* 0x250A8ED8: mov dword ptr [ebp - 0x78], ecx */ 12426 L_250A8EDB: 12427 MEM32(ebp + (-0x7C)) = 0; /* 0x250A8EDB: mov dword ptr [ebp - 0x7c], 0 */ 12428 L_250A8EE2: 12429 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 12430 edx = edx + 1; /* 0x250A8EE2: inc edx */ 12431 _flag_k = FK_INC; 12432 L_250A8EE3: 12433 PUSH32(esp, edx); /* 0x250A8EE3: push edx */ 12434 L_250A8EE4: 12435 PUSH32(esp, ecx); /* 0x250A8EE4: push ecx */ 12436 L_250A8EE5: 12437 ecx = esi; /* 0x250A8EE5: mov ecx, esi */ 12438 L_250A8EE7: 12439 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A8EE7: fmul dword ptr [0x25156404] */ 12440 L_250A8EED: 12441 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A8EED: fadd dword ptr [0x25151788] */ 12442 L_250A8EF3: 12443 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8EF3: fstp dword ptr [esp] */ 12444 L_250A8EF6: 12445 PUSH32(esp, eax); /* 0x250A8EF6: push eax */ 12446 L_250A8EF7: 12447 PUSH32(esp, ebx); /* 0x250A8EF7: push ebx */ 12448 L_250A8EF8: 12449 RECOMP_ICALL(0x250A8830u); /* 0x250A8EF8: call 0x250a8830 */ /* not lifted */ 12450 RECOMP_FLAGS_IN(); 12451 L_250A8EFD: 12452 eax = MEM32(esi + 0x6C); /* 0x250A8EFD: mov eax, dword ptr [esi + 0x6c] */ 12453 L_250A8F00: 12454 /* test eax, eax */ /* 0x250A8F00: test eax, eax */ 12455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12456 _cf = 0; 12457 _flag_k = FK_TEST; 12458 L_250A8F02: 12459 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F0E; /* 0x250A8F02: je 0x250a8f0e */ 12460 L_250A8F04: 12461 eax = MEM32(eax + 0x28); /* 0x250A8F04: mov eax, dword ptr [eax + 0x28] */ 12462 L_250A8F07: 12463 PUSH32(esp, 0xAu); /* 0x250A8F07: push 0xa */ 12464 L_250A8F09: 12465 PUSH32(esp, 0); /* 0x250A8F09: push 0 */ 12466 L_250A8F0B: 12467 PUSH32(esp, eax); /* 0x250A8F0B: push eax */ 12468 L_250A8F0C: 12469 goto L_250A8F14; /* 0x250A8F0C: jmp 0x250a8f14 */ 12470 L_250A8F0E: 12471 PUSH32(esp, 0xAu); /* 0x250A8F0E: push 0xa */ 12472 L_250A8F10: 12473 PUSH32(esp, 0); /* 0x250A8F10: push 0 */ 12474 L_250A8F12: 12475 PUSH32(esp, 0); /* 0x250A8F12: push 0 */ 12476 L_250A8F14: 12477 ecx = MEM32(ebx + 0x8); /* 0x250A8F14: mov ecx, dword ptr [ebx + 8] */ 12478 L_250A8F17: 12479 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F17: call 0x250eff90 */ /* not lifted */ 12480 RECOMP_FLAGS_IN(); 12481 L_250A8F1C: 12482 ecx = ebx; /* 0x250A8F1C: mov ecx, ebx */ 12483 L_250A8F1E: 12484 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F1E: call 0x250e05d0 */ /* not lifted */ 12485 RECOMP_FLAGS_IN(); 12486 L_250A8F23: 12487 edi = MEM32(ebp + (-0x1C)); /* 0x250A8F23: mov edi, dword ptr [ebp - 0x1c] */ 12488 L_250A8F26: 12489 ecx = MEM32(ebp + 0xC); /* 0x250A8F26: mov ecx, dword ptr [ebp + 0xc] */ 12490 L_250A8F29: 12491 edi = MEM32(edi); /* 0x250A8F29: mov edi, dword ptr [edi] */ 12492 L_250A8F2B: 12493 /* cmp edi, MEM32(ecx + 0x4) */ /* 0x250A8F2B: cmp edi, dword ptr [ecx + 4] */ 12494 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12496 _flag_k = FK_CMP; 12497 L_250A8F2E: 12498 MEM32(ebp + (-0x1C)) = edi; /* 0x250A8F2E: mov dword ptr [ebp - 0x1c], edi */ 12499 L_250A8F31: 12500 RECOMP_BACKEDGE(); 12501 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B50; /* 0x250A8F31: jne 0x250a8b50 */ 12502 L_250A8F37: 12503 eax = MEM32(esi + 0xAC); /* 0x250A8F37: mov eax, dword ptr [esi + 0xac] */ 12504 L_250A8F3D: 12505 /* test eax, eax */ /* 0x250A8F3D: test eax, eax */ 12506 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12507 _cf = 0; 12508 _flag_k = FK_TEST; 12509 L_250A8F3F: 12510 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F3F: je 0x250a90b9 */ 12511 L_250A8F45: 12512 ecx = MEM32(esi + 0xB0); /* 0x250A8F45: mov ecx, dword ptr [esi + 0xb0] */ 12513 L_250A8F4B: 12514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12516 ecx = ecx - eax; /* 0x250A8F4B: sub ecx, eax */ 12517 _flag_k = FK_CMP; 12518 L_250A8F4D: 12519 eax = 0x66666667u; /* 0x250A8F4D: mov eax, 0x66666667 */ 12520 L_250A8F52: 12521 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A8F52: imul ecx */ 12522 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 12523 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 12524 L_250A8F54: 12525 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A8F54: sar edx, 3 */ 12526 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12527 edx = (uint32_t)((int32_t)edx >> 3u); 12528 L_250A8F57: 12529 eax = edx; /* 0x250A8F57: mov eax, edx */ 12530 L_250A8F59: 12531 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A8F59: shr eax, 0x1f */ 12532 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12533 eax = eax >> 31u; /* 0x250A8F59: shr eax, 0x1f */ 12534 L_250A8F5C: 12535 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12536 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12537 edx = edx + eax; /* 0x250A8F5C: add edx, eax */ 12538 _flag_k = FK_ADD; 12539 L_250A8F5E: 12540 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F5E: je 0x250a90b9 */ 12541 L_250A8F64: 12542 eax = MEM32(esi + 0x70); /* 0x250A8F64: mov eax, dword ptr [esi + 0x70] */ 12543 L_250A8F67: 12544 /* test eax, eax */ /* 0x250A8F67: test eax, eax */ 12545 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12546 _cf = 0; 12547 _flag_k = FK_TEST; 12548 L_250A8F69: 12549 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F75; /* 0x250A8F69: je 0x250a8f75 */ 12550 L_250A8F6B: 12551 eax = MEM32(eax + 0x28); /* 0x250A8F6B: mov eax, dword ptr [eax + 0x28] */ 12552 L_250A8F6E: 12553 PUSH32(esp, 0xAu); /* 0x250A8F6E: push 0xa */ 12554 L_250A8F70: 12555 PUSH32(esp, 0); /* 0x250A8F70: push 0 */ 12556 L_250A8F72: 12557 PUSH32(esp, eax); /* 0x250A8F72: push eax */ 12558 L_250A8F73: 12559 goto L_250A8F7B; /* 0x250A8F73: jmp 0x250a8f7b */ 12560 L_250A8F75: 12561 PUSH32(esp, 0xAu); /* 0x250A8F75: push 0xa */ 12562 L_250A8F77: 12563 PUSH32(esp, 0); /* 0x250A8F77: push 0 */ 12564 L_250A8F79: 12565 PUSH32(esp, 0); /* 0x250A8F79: push 0 */ 12566 L_250A8F7B: 12567 ecx = MEM32(ebx + 0x8); /* 0x250A8F7B: mov ecx, dword ptr [ebx + 8] */ 12568 L_250A8F7E: 12569 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F7E: call 0x250eff90 */ /* not lifted */ 12570 RECOMP_FLAGS_IN(); 12571 L_250A8F83: 12572 ecx = ebx; /* 0x250A8F83: mov ecx, ebx */ 12573 L_250A8F85: 12574 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F85: call 0x250e05d0 */ /* not lifted */ 12575 RECOMP_FLAGS_IN(); 12576 L_250A8F8A: 12577 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12578 eax = 0; /* 0x250A8F8A: xor eax, eax */ 12579 _cf = 0; 12580 _flag_k = FK_TEST; 12581 L_250A8F8C: 12582 MEM32(ebp + (-0x128)) = 4; /* 0x250A8F8C: mov dword ptr [ebp - 0x128], 4 */ 12583 L_250A8F96: 12584 MEM32(ebp + (-0x124)) = 7; /* 0x250A8F96: mov dword ptr [ebp - 0x124], 7 */ 12585 L_250A8FA0: 12586 MEM32(ebp + (-0x120)) = 0xAu; /* 0x250A8FA0: mov dword ptr [ebp - 0x120], 0xa */ 12587 L_250A8FAA: 12588 MEM32(ebp + (-0x11C)) = 3; /* 0x250A8FAA: mov dword ptr [ebp - 0x11c], 3 */ 12589 L_250A8FB4: 12590 MEM32(ebp + (-0x118)) = 6; /* 0x250A8FB4: mov dword ptr [ebp - 0x118], 6 */ 12591 L_250A8FBE: 12592 MEM32(ebp + (-0x114)) = 9; /* 0x250A8FBE: mov dword ptr [ebp - 0x114], 9 */ 12593 L_250A8FC8: 12594 MEM32(ebp + (-0x110)) = 5; /* 0x250A8FC8: mov dword ptr [ebp - 0x110], 5 */ 12595 L_250A8FD2: 12596 MEM32(ebp + (-0x10C)) = 8; /* 0x250A8FD2: mov dword ptr [ebp - 0x10c], 8 */ 12597 L_250A8FDC: 12598 MEM32(ebp + (-0x108)) = 0xBu; /* 0x250A8FDC: mov dword ptr [ebp - 0x108], 0xb */ 12599 L_250A8FE6: 12600 MEM32(ebp + 0x8) = eax; /* 0x250A8FE6: mov dword ptr [ebp + 8], eax */ 12601 L_250A8FE9: 12602 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 12603 L_250A8FEC: 12604 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 12605 L_250A8FF2: 12606 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 12607 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12608 _cf = 0; 12609 _flag_k = FK_TEST; 12610 L_250A8FF4: 12611 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 12612 L_250A8FFA: 12613 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 12614 L_250A9000: 12615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12617 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 12618 _flag_k = FK_CMP; 12619 L_250A9002: 12620 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 12621 L_250A9007: 12622 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 12623 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 12624 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 12625 L_250A9009: 12626 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 12627 L_250A900C: 12628 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 12629 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12630 edx = (uint32_t)((int32_t)edx >> 3u); 12631 L_250A900F: 12632 ecx = edx; /* 0x250A900F: mov ecx, edx */ 12633 L_250A9011: 12634 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 12635 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12636 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 12637 L_250A9014: 12638 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 12639 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12640 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 12641 _flag_k = FK_ADD; 12642 L_250A9016: 12643 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 12644 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12646 _flag_k = FK_CMP; 12647 L_250A9018: 12648 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 12649 L_250A901E: 12650 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 12651 L_250A9021: 12652 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 12653 L_250A9027: 12654 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 12655 L_250A902A: 12656 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 12657 L_250A902D: 12658 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12659 eax = eax - 1; /* 0x250A902D: dec eax */ 12660 _flag_k = FK_DEC; 12661 L_250A902E: 12662 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 12663 L_250A9030: 12664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12665 eax = eax - 1; /* 0x250A9030: dec eax */ 12666 _flag_k = FK_DEC; 12667 L_250A9031: 12668 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 12669 L_250A9033: 12670 eax = 2; /* 0x250A9033: mov eax, 2 */ 12671 L_250A9038: 12672 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 12673 L_250A903A: 12674 eax = 1; /* 0x250A903A: mov eax, 1 */ 12675 L_250A903F: 12676 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 12677 L_250A9041: 12678 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12679 eax = 0; /* 0x250A9041: xor eax, eax */ 12680 _cf = 0; 12681 _flag_k = FK_TEST; 12682 L_250A9043: 12683 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 12684 L_250A9046: 12685 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12686 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 12687 _cf = 0; 12688 _flag_k = FK_TEST; 12689 L_250A9048: 12690 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 12691 edx = edx - 1; /* 0x250A9048: dec edx */ 12692 _flag_k = FK_DEC; 12693 L_250A9049: 12694 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 12695 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 12696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12697 _flag_k = FK_CMP; 12698 L_250A904C: 12699 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 12700 L_250A904E: 12701 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 12702 L_250A9055: 12703 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12704 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 12705 _cf = 0; 12706 _flag_k = FK_TEST; 12707 L_250A9057: 12708 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 12709 L_250A9059: 12710 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 12711 L_250A905E: 12712 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 12713 L_250A9060: 12714 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 12715 L_250A9065: 12716 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 12717 L_250A9068: 12718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12719 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12720 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 12721 _flag_k = FK_ADD; 12722 L_250A906A: 12723 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 12724 L_250A9071: 12725 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 12726 L_250A9076: 12727 eax = ecx; /* 0x250A9076: mov eax, ecx */ 12728 L_250A9078: 12729 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 12730 L_250A9079: 12731 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 12732 L_250A907B: 12733 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 12734 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 12735 _cf = 0; 12736 _flag_k = FK_TEST; 12737 L_250A907E: 12738 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 12739 L_250A9080: 12740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12741 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12742 eax = eax + edx; /* 0x250A9080: add eax, edx */ 12743 _flag_k = FK_ADD; 12744 L_250A9082: 12745 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 12746 L_250A9084: 12747 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 12748 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12749 eax = (uint32_t)((int32_t)eax >> 2u); 12750 L_250A9087: 12751 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 12752 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12753 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 12754 L_250A908A: 12755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 12756 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 12757 _cf = 0; 12758 _flag_k = FK_TEST; 12759 L_250A9090: 12760 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 12761 L_250A9092: 12762 PUSH32(esp, eax); /* 0x250A9092: push eax */ 12763 L_250A9093: 12764 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 12765 L_250A9095: 12766 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12767 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 12768 _flag_k = FK_DEC; 12769 L_250A9096: 12770 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 12771 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 12772 _cf = 0; 12773 _flag_k = FK_TEST; 12774 L_250A9099: 12775 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12776 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 12777 _flag_k = FK_INC; 12778 L_250A909A: 12779 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 12780 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12781 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 12782 L_250A909D: 12783 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 12784 L_250A909E: 12785 PUSH32(esp, edi); /* 0x250A909E: push edi */ 12786 L_250A909F: 12787 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 12788 L_250A90A0: 12789 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 12790 L_250A90A2: 12791 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 12792 RECOMP_FLAGS_IN(); 12793 L_250A90A7: 12794 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 12795 L_250A90AA: 12796 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 12797 L_250A90AD: 12798 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12799 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 12800 _flag_k = FK_INC; 12801 L_250A90AE: 12802 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 12803 L_250A90B1: 12804 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 12805 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12806 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 12807 _flag_k = FK_ADD; 12808 L_250A90B4: 12809 RECOMP_BACKEDGE(); 12810 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 12811 L_250A90B9: 12812 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 12813 L_250A90BC: 12814 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 12815 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12816 _cf = 0; 12817 _flag_k = FK_NARROW(FK_TEST, 24); 12818 L_250A90BE: 12819 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 12820 L_250A90C4: 12821 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 12822 L_250A90C7: 12823 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 12824 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12825 _cf = 0; 12826 _flag_k = FK_TEST; 12827 L_250A90C9: 12828 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 12829 L_250A90CF: 12830 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 12831 L_250A90D2: 12832 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 12833 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12834 _cf = 0; 12835 _flag_k = FK_TEST; 12836 L_250A90D4: 12837 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 12838 L_250A90D6: 12839 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 12840 L_250A90D9: 12841 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 12842 L_250A90DB: 12843 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 12844 L_250A90DD: 12845 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 12846 L_250A90DE: 12847 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 12848 L_250A90E0: 12849 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 12850 L_250A90E2: 12851 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 12852 L_250A90E4: 12853 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 12854 L_250A90E6: 12855 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 12856 L_250A90E9: 12857 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 12858 RECOMP_FLAGS_IN(); 12859 L_250A90EE: 12860 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 12861 L_250A90F0: 12862 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 12863 RECOMP_FLAGS_IN(); 12864 L_250A90F5: 12865 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12866 edi = 0; /* 0x250A90F5: xor edi, edi */ 12867 _cf = 0; 12868 _flag_k = FK_TEST; 12869 L_250A90F7: 12870 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 12871 L_250A90FA: 12872 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 12873 L_250A9100: 12874 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 12875 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12876 _cf = 0; 12877 _flag_k = FK_TEST; 12878 L_250A9102: 12879 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 12880 L_250A9104: 12881 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 12882 L_250A910A: 12883 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12885 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 12886 _flag_k = FK_CMP; 12887 L_250A910C: 12888 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 12889 L_250A9111: 12890 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 12891 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 12892 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 12893 L_250A9113: 12894 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 12895 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12896 edx = (uint32_t)((int32_t)edx >> 3u); 12897 L_250A9116: 12898 eax = edx; /* 0x250A9116: mov eax, edx */ 12899 L_250A9118: 12900 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 12901 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12902 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 12903 L_250A911B: 12904 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12905 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12906 edx = edx + eax; /* 0x250A911B: add edx, eax */ 12907 _flag_k = FK_ADD; 12908 L_250A911D: 12909 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 12910 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 12911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12912 _flag_k = FK_CMP; 12913 L_250A911F: 12914 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 12915 L_250A9121: 12916 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 12917 L_250A9127: 12918 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 12919 L_250A912A: 12920 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 12921 L_250A912D: 12922 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 12923 L_250A9130: 12924 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 12925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12926 _cf = 0; 12927 _flag_k = FK_TEST; 12928 L_250A9132: 12929 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 12930 L_250A9134: 12931 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 12932 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 12933 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12934 _flag_k = FK_CMP; 12935 L_250A9137: 12936 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 12937 L_250A913C: 12938 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 12939 L_250A913E: 12940 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 12941 L_250A9143: 12942 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 12943 L_250A9144: 12944 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 12945 L_250A9149: 12946 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 12947 L_250A914E: 12948 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 12949 L_250A9150: 12950 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 12951 L_250A9152: 12952 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 12953 L_250A9154: 12954 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 12955 L_250A9156: 12956 PUSH32(esp, eax); /* 0x250A9156: push eax */ 12957 L_250A9157: 12958 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 12959 L_250A9158: 12960 ecx = esi; /* 0x250A9158: mov ecx, esi */ 12961 L_250A915A: 12962 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 12963 RECOMP_FLAGS_IN(); 12964 L_250A915F: 12965 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 12966 L_250A9162: 12967 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 12968 edi = edi + 1; /* 0x250A9162: inc edi */ 12969 _flag_k = FK_INC; 12970 L_250A9163: 12971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 12972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12973 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 12974 _flag_k = FK_ADD; 12975 L_250A9166: 12976 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 12977 L_250A9169: 12978 RECOMP_BACKEDGE(); 12979 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 12980 L_250A916B: 12981 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 12982 L_250A916E: 12983 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 12984 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12985 _cf = 0; 12986 _flag_k = FK_NARROW(FK_TEST, 24); 12987 L_250A9170: 12988 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 12989 L_250A9172: 12990 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 12991 L_250A9178: 12992 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 12993 L_250A917D: 12994 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 12995 L_250A9183: 12996 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 12997 L_250A9188: 12998 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 12999 L_250A918E: 13000 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 13001 L_250A9190: 13002 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 13003 L_250A9192: 13004 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 13005 L_250A9195: 13006 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 13007 L_250A9197: 13008 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 13009 L_250A919A: 13010 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 13011 L_250A919D: 13012 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 13013 L_250A91A2: 13014 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 13015 L_250A91A4: 13016 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 13017 L_250A91A6: 13018 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 13019 L_250A91A8: 13020 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 13021 L_250A91AB: 13022 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 13023 L_250A91AD: 13024 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 13025 L_250A91B0: 13026 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 13027 L_250A91B1: 13028 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 13029 L_250A91B2: 13030 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 13031 L_250A91B4: 13032 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 13033 L_250A91B7: 13034 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 13035 L_250A91BA: 13036 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 13037 L_250A91BC: 13038 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 13039 L_250A91BF: 13040 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 13041 L_250A91C5: 13042 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 13043 L_250A91C8: 13044 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 13045 L_250A91CB: 13046 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 13047 L_250A91D1: 13048 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 13049 L_250A91D4: 13050 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 13051 L_250A91D7: 13052 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 13053 RECOMP_FLAGS_IN(); 13054 L_250A91DC: 13055 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 13056 L_250A91E2: 13057 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 13058 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13059 _cf = 0; 13060 _flag_k = FK_NARROW(FK_TEST, 24); 13061 L_250A91E4: 13062 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 13063 L_250A91EA: 13064 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 13065 L_250A91F0: 13066 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 13067 L_250A91F6: 13068 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 13069 L_250A91FC: 13070 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 13071 L_250A91FE: 13072 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 13073 L_250A9200: 13074 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 13075 L_250A9202: 13076 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 13077 L_250A9209: 13078 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 13079 L_250A920C: 13080 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 13081 L_250A920F: 13082 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 13083 RECOMP_FLAGS_IN(); 13084 L_250A9214: 13085 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 13086 L_250A9217: 13087 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 13088 L_250A921C: 13089 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 13090 L_250A9222: 13091 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 13092 L_250A9228: 13093 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 13094 L_250A922A: 13095 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 13096 L_250A922C: 13097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13098 edi = 0; /* 0x250A922C: xor edi, edi */ 13099 _cf = 0; 13100 _flag_k = FK_TEST; 13101 L_250A922E: 13102 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 13103 L_250A9230: 13104 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 13105 L_250A9233: 13106 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 13107 L_250A923A: 13108 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 13109 L_250A923D: 13110 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 13111 L_250A9240: 13112 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 13113 RECOMP_FLAGS_IN(); 13114 L_250A9245: 13115 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 13116 L_250A9248: 13117 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 13118 L_250A924E: 13119 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 13120 L_250A9254: 13121 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 13122 L_250A925A: 13123 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 13124 L_250A925C: 13125 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 13126 L_250A925E: 13127 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 13128 L_250A9260: 13129 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 13130 L_250A9264: 13131 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 13132 L_250A926B: 13133 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 13134 L_250A9271: 13135 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 13136 L_250A9274: 13137 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 13138 RECOMP_FLAGS_IN(); 13139 L_250A9279: 13140 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 13141 L_250A927C: 13142 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 13143 L_250A9282: 13144 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 13145 L_250A9288: 13146 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 13147 L_250A928E: 13148 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 13149 L_250A9290: 13150 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 13151 L_250A9292: 13152 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 13153 L_250A9294: 13154 PUSH32(esp, edi); /* 0x250A9294: push edi */ 13155 L_250A9295: 13156 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 13157 L_250A9299: 13158 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 13159 L_250A929F: 13160 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 13161 L_250A92A9: 13162 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 13163 L_250A92AC: 13164 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 13165 L_250A92B2: 13166 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 13167 RECOMP_FLAGS_IN(); 13168 L_250A92B7: 13169 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 13170 L_250A92BD: 13171 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 13172 L_250A92C2: 13173 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 13174 L_250A92C8: 13175 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 13176 L_250A92CE: 13177 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 13178 L_250A92D0: 13179 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 13180 L_250A92D1: 13181 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 13182 L_250A92D3: 13183 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 13184 L_250A92D4: 13185 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 13186 L_250A92D8: 13187 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 13188 L_250A92DE: 13189 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 13190 L_250A92E8: 13191 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 13192 L_250A92EB: 13193 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 13194 L_250A92F1: 13195 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 13196 RECOMP_FLAGS_IN(); 13197 L_250A92F6: 13198 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 13199 L_250A92FC: 13200 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 13201 L_250A92FF: 13202 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 13203 L_250A9301: 13204 PUSH32(esp, edi); /* 0x250A9301: push edi */ 13205 L_250A9302: 13206 PUSH32(esp, edi); /* 0x250A9302: push edi */ 13207 L_250A9303: 13208 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 13209 L_250A9307: 13210 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 13211 RECOMP_FLAGS_IN(); 13212 L_250A930C: 13213 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 13214 L_250A930E: 13215 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 13216 RECOMP_FLAGS_IN(); 13217 L_250A9313: 13218 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 13219 L_250A9316: 13220 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 13221 L_250A9319: 13222 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 13223 L_250A931B: 13224 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 13225 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 13226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13227 _flag_k = FK_CMP; 13228 L_250A931D: 13229 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 13230 L_250A9323: 13231 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 13232 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 13233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13234 _flag_k = FK_CMP; 13235 L_250A9327: 13236 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 13237 L_250A932D: 13238 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 13239 L_250A9330: 13240 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 13241 L_250A9333: 13242 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 13243 L_250A9336: 13244 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 13245 L_250A9339: 13246 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 13247 L_250A933B: 13248 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 13249 L_250A933E: 13250 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 13251 L_250A9341: 13252 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 13253 L_250A9344: 13254 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 13255 L_250A9347: 13256 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 13257 L_250A934A: 13258 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 13259 L_250A934B: 13260 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 13261 L_250A934E: 13262 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 13263 L_250A9355: 13264 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 13265 L_250A935C: 13266 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 13267 L_250A9363: 13268 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 13269 L_250A9366: 13270 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 13271 L_250A9369: 13272 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 13273 RECOMP_FLAGS_IN(); 13274 L_250A936F: 13275 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 13276 L_250A9371: 13277 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 13278 L_250A9374: 13279 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 13280 L_250A9377: 13281 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 13282 L_250A937A: 13283 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 13284 L_250A937D: 13285 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 13286 L_250A9380: 13287 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 13288 L_250A9382: 13289 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 13290 L_250A9388: 13291 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 13292 L_250A938B: 13293 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 13294 L_250A938E: 13295 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 13296 L_250A9391: 13297 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 13298 L_250A9394: 13299 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 13300 L_250A9395: 13301 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 13302 L_250A939B: 13303 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 13304 L_250A93A1: 13305 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 13306 L_250A93A7: 13307 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 13308 RECOMP_FLAGS_IN(); 13309 L_250A93AD: 13310 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 13311 L_250A93B0: 13312 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 13313 L_250A93B2: 13314 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 13315 L_250A93B4: 13316 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 13317 L_250A93B7: 13318 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 13319 L_250A93BA: 13320 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 13321 L_250A93BD: 13322 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 13323 L_250A93BF: 13324 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 13325 L_250A93C2: 13326 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 13327 L_250A93C5: 13328 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 13329 L_250A93CA: 13330 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 13331 L_250A93CD: 13332 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 13333 L_250A93D0: 13334 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 13335 L_250A93D3: 13336 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 13337 L_250A93D6: 13338 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 13339 L_250A93D8: 13340 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 13341 L_250A93DB: 13342 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 13343 L_250A93DE: 13344 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 13345 L_250A93E0: 13346 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 13347 L_250A93E3: 13348 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 13349 L_250A93E5: 13350 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 13351 RECOMP_FLAGS_IN(); 13352 L_250A93EB: 13353 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 13354 L_250A93EE: 13355 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 13356 L_250A93EF: 13357 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 13358 L_250A93F2: 13359 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 13360 RECOMP_FLAGS_IN(); 13361 L_250A93F8: 13362 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 13363 L_250A93FB: 13364 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 13365 L_250A93FC: 13366 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 13367 L_250A93FF: 13368 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 13369 RECOMP_FLAGS_IN(); 13370 L_250A9405: 13371 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 13372 L_250A9408: 13373 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 13374 L_250A940A: 13375 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 13376 L_250A940D: 13377 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 13378 L_250A9410: 13379 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 13380 L_250A9413: 13381 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 13382 L_250A9415: 13383 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 13384 L_250A9418: 13385 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 13386 L_250A941A: 13387 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 13388 L_250A9420: 13389 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 13390 L_250A9421: 13391 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 13392 L_250A942B: 13393 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 13394 L_250A9431: 13395 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 13396 L_250A9437: 13397 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 13398 L_250A943D: 13399 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 13400 L_250A9440: 13401 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 13402 L_250A9443: 13403 PUSH32(esp, edx); /* 0x250A9443: push edx */ 13404 L_250A9444: 13405 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 13406 L_250A9447: 13407 PUSH32(esp, eax); /* 0x250A9447: push eax */ 13408 L_250A9448: 13409 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 13410 L_250A944D: 13411 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 13412 L_250A9453: 13413 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 13414 L_250A9454: 13415 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 13416 L_250A9455: 13417 ecx = esi; /* 0x250A9455: mov ecx, esi */ 13418 L_250A9457: 13419 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 13420 RECOMP_FLAGS_IN(); 13421 L_250A945C: 13422 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 13423 L_250A945F: 13424 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 13425 L_250A9461: 13426 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 13427 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13429 _flag_k = FK_CMP; 13430 L_250A9464: 13431 RECOMP_BACKEDGE(); 13432 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 13433 L_250A946A: 13434 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 13435 L_250A9470: 13436 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 13437 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13438 _cf = 0; 13439 _flag_k = FK_NARROW(FK_TEST, 24); 13440 L_250A9472: 13441 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 13442 L_250A9476: 13443 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 13444 L_250A9478: 13445 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 13446 L_250A947B: 13447 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 13448 L_250A9480: 13449 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 13450 L_250A9486: 13451 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 13452 L_250A9488: 13453 PUSH32(esp, edx); /* 0x250A9488: push edx */ 13454 L_250A9489: 13455 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 13456 L_250A948B: 13457 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 13458 L_250A948D: 13459 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 13460 RECOMP_FLAGS_IN(); 13461 L_250A9492: 13462 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 13463 L_250A9498: 13464 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 13465 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13466 _cf = 0; 13467 _flag_k = FK_NARROW(FK_TEST, 24); 13468 L_250A949A: 13469 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 13470 L_250A949E: 13471 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 13472 L_250A94A0: 13473 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 13474 L_250A94A3: 13475 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 13476 L_250A94A8: 13477 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 13478 L_250A94AE: 13479 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 13480 L_250A94B0: 13481 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 13482 L_250A94B1: 13483 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 13484 L_250A94B3: 13485 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 13486 L_250A94B5: 13487 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 13488 RECOMP_FLAGS_IN(); 13489 L_250A94BA: 13490 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 13491 L_250A94BD: 13492 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 13493 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13494 _cf = 0; 13495 _flag_k = FK_NARROW(FK_TEST, 24); 13496 L_250A94BF: 13497 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 13498 L_250A94C3: 13499 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 13500 L_250A94C5: 13501 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 13502 L_250A94CB: 13503 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 13504 L_250A94D0: 13505 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 13506 L_250A94D6: 13507 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 13508 L_250A94D8: 13509 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 13510 L_250A94D9: 13511 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 13512 L_250A94DB: 13513 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 13514 RECOMP_FLAGS_IN(); 13515 L_250A94E0: 13516 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 13517 L_250A94E3: 13518 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 13519 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13520 _cf = 0; 13521 _flag_k = FK_NARROW(FK_TEST, 24); 13522 L_250A94E5: 13523 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 13524 L_250A94E9: 13525 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 13526 L_250A94EB: 13527 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 13528 L_250A94EE: 13529 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 13530 L_250A94F3: 13531 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 13532 L_250A94F9: 13533 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 13534 L_250A94FB: 13535 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 13536 L_250A94FC: 13537 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 13538 L_250A94FE: 13539 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 13540 RECOMP_FLAGS_IN(); 13541 L_250A9503: 13542 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 13543 L_250A9506: 13544 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 13545 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13546 _cf = 0; 13547 _flag_k = FK_NARROW(FK_TEST, 24); 13548 L_250A9508: 13549 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 13550 L_250A950F: 13551 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 13552 L_250A9511: 13553 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 13554 L_250A9514: 13555 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 13556 L_250A951A: 13557 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 13558 L_250A9520: 13559 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 13560 L_250A9522: 13561 PUSH32(esp, eax); /* 0x250A9522: push eax */ 13562 L_250A9523: 13563 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 13564 L_250A9525: 13565 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 13566 RECOMP_FLAGS_IN(); 13567 L_250A952A: 13568 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 13569 L_250A952D: 13570 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 13571 L_250A952E: 13572 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 13573 L_250A952F: 13574 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 13575 L_250A9530: 13576 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 13577 L_250A9537: 13578 esp = ebp; /* 0x250A9537: mov esp, ebp */ 13579 L_250A9539: 13580 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 13581 L_250A953A: 13582 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 13583 _ljump: 13584 switch (_itail_tgt) { 13585 case 0x250A8B50u: goto L_250A8B50; 13586 case 0x250A8B53u: goto L_250A8B53; 13587 case 0x250A8B57u: goto L_250A8B57; 13588 case 0x250A8B5Du: goto L_250A8B5D; 13589 case 0x250A8B60u: goto L_250A8B60; 13590 case 0x250A8B63u: goto L_250A8B63; 13591 case 0x250A8B66u: goto L_250A8B66; 13592 case 0x250A8B6Cu: goto L_250A8B6C; 13593 case 0x250A8B6Eu: goto L_250A8B6E; 13594 case 0x250A8B71u: goto L_250A8B71; 13595 case 0x250A8B73u: goto L_250A8B73; 13596 case 0x250A8B79u: goto L_250A8B79; 13597 case 0x250A8B7Cu: goto L_250A8B7C; 13598 case 0x250A8B7Eu: goto L_250A8B7E; 13599 case 0x250A8B84u: goto L_250A8B84; 13600 case 0x250A8B87u: goto L_250A8B87; 13601 case 0x250A8B8Bu: goto L_250A8B8B; 13602 case 0x250A8B8Du: goto L_250A8B8D; 13603 case 0x250A8B91u: goto L_250A8B91; 13604 case 0x250A8B96u: goto L_250A8B96; 13605 case 0x250A8B99u: goto L_250A8B99; 13606 case 0x250A8B9Cu: goto L_250A8B9C; 13607 case 0x250A8B9Du: goto L_250A8B9D; 13608 case 0x250A8BA0u: goto L_250A8BA0; 13609 case 0x250A8BA1u: goto L_250A8BA1; 13610 case 0x250A8BA6u: goto L_250A8BA6; 13611 case 0x250A8BABu: goto L_250A8BAB; 13612 case 0x250A8BADu: goto L_250A8BAD; 13613 case 0x250A8BB0u: goto L_250A8BB0; 13614 case 0x250A8BB2u: goto L_250A8BB2; 13615 case 0x250A8BB5u: goto L_250A8BB5; 13616 case 0x250A8BB8u: goto L_250A8BB8; 13617 case 0x250A8BBAu: goto L_250A8BBA; 13618 case 0x250A8BBDu: goto L_250A8BBD; 13619 case 0x250A8BC3u: goto L_250A8BC3; 13620 case 0x250A8BC5u: goto L_250A8BC5; 13621 case 0x250A8BCBu: goto L_250A8BCB; 13622 case 0x250A8BCEu: goto L_250A8BCE; 13623 case 0x250A8BD0u: goto L_250A8BD0; 13624 case 0x250A8BD2u: goto L_250A8BD2; 13625 case 0x250A8BD5u: goto L_250A8BD5; 13626 case 0x250A8BD8u: goto L_250A8BD8; 13627 case 0x250A8BD9u: goto L_250A8BD9; 13628 case 0x250A8BDCu: goto L_250A8BDC; 13629 case 0x250A8BDDu: goto L_250A8BDD; 13630 case 0x250A8BE2u: goto L_250A8BE2; 13631 case 0x250A8BE5u: goto L_250A8BE5; 13632 case 0x250A8BEAu: goto L_250A8BEA; 13633 case 0x250A8BECu: goto L_250A8BEC; 13634 case 0x250A8BF2u: goto L_250A8BF2; 13635 case 0x250A8BF8u: goto L_250A8BF8; 13636 case 0x250A8BFBu: goto L_250A8BFB; 13637 case 0x250A8C01u: goto L_250A8C01; 13638 case 0x250A8C08u: goto L_250A8C08; 13639 case 0x250A8C0Au: goto L_250A8C0A; 13640 case 0x250A8C0Eu: goto L_250A8C0E; 13641 case 0x250A8C14u: goto L_250A8C14; 13642 case 0x250A8C1Au: goto L_250A8C1A; 13643 case 0x250A8C1Du: goto L_250A8C1D; 13644 case 0x250A8C20u: goto L_250A8C20; 13645 case 0x250A8C26u: goto L_250A8C26; 13646 case 0x250A8C2Du: goto L_250A8C2D; 13647 case 0x250A8C30u: goto L_250A8C30; 13648 case 0x250A8C33u: goto L_250A8C33; 13649 case 0x250A8C35u: goto L_250A8C35; 13650 case 0x250A8C3Bu: goto L_250A8C3B; 13651 case 0x250A8C3Cu: goto L_250A8C3C; 13652 case 0x250A8C42u: goto L_250A8C42; 13653 case 0x250A8C43u: goto L_250A8C43; 13654 case 0x250A8C45u: goto L_250A8C45; 13655 case 0x250A8C4Fu: goto L_250A8C4F; 13656 case 0x250A8C55u: goto L_250A8C55; 13657 case 0x250A8C5Au: goto L_250A8C5A; 13658 case 0x250A8C5Fu: goto L_250A8C5F; 13659 case 0x250A8C62u: goto L_250A8C62; 13660 case 0x250A8C65u: goto L_250A8C65; 13661 case 0x250A8C67u: goto L_250A8C67; 13662 case 0x250A8C6Du: goto L_250A8C6D; 13663 case 0x250A8C6Eu: goto L_250A8C6E; 13664 case 0x250A8C74u: goto L_250A8C74; 13665 case 0x250A8C75u: goto L_250A8C75; 13666 case 0x250A8C77u: goto L_250A8C77; 13667 case 0x250A8C81u: goto L_250A8C81; 13668 case 0x250A8C87u: goto L_250A8C87; 13669 case 0x250A8C8Cu: goto L_250A8C8C; 13670 case 0x250A8C91u: goto L_250A8C91; 13671 case 0x250A8C94u: goto L_250A8C94; 13672 case 0x250A8C97u: goto L_250A8C97; 13673 case 0x250A8C99u: goto L_250A8C99; 13674 case 0x250A8C9Fu: goto L_250A8C9F; 13675 case 0x250A8CA0u: goto L_250A8CA0; 13676 case 0x250A8CA6u: goto L_250A8CA6; 13677 case 0x250A8CA7u: goto L_250A8CA7; 13678 case 0x250A8CA9u: goto L_250A8CA9; 13679 case 0x250A8CB3u: goto L_250A8CB3; 13680 case 0x250A8CB9u: goto L_250A8CB9; 13681 case 0x250A8CBEu: goto L_250A8CBE; 13682 case 0x250A8CC3u: goto L_250A8CC3; 13683 case 0x250A8CC6u: goto L_250A8CC6; 13684 case 0x250A8CC9u: goto L_250A8CC9; 13685 case 0x250A8CCBu: goto L_250A8CCB; 13686 case 0x250A8CD1u: goto L_250A8CD1; 13687 case 0x250A8CD2u: goto L_250A8CD2; 13688 case 0x250A8CD8u: goto L_250A8CD8; 13689 case 0x250A8CD9u: goto L_250A8CD9; 13690 case 0x250A8CDBu: goto L_250A8CDB; 13691 case 0x250A8CE5u: goto L_250A8CE5; 13692 case 0x250A8CEBu: goto L_250A8CEB; 13693 case 0x250A8CF0u: goto L_250A8CF0; 13694 case 0x250A8CF5u: goto L_250A8CF5; 13695 case 0x250A8CF8u: goto L_250A8CF8; 13696 case 0x250A8CFBu: goto L_250A8CFB; 13697 case 0x250A8CFDu: goto L_250A8CFD; 13698 case 0x250A8D03u: goto L_250A8D03; 13699 case 0x250A8D04u: goto L_250A8D04; 13700 case 0x250A8D0Au: goto L_250A8D0A; 13701 case 0x250A8D0Bu: goto L_250A8D0B; 13702 case 0x250A8D0Du: goto L_250A8D0D; 13703 case 0x250A8D17u: goto L_250A8D17; 13704 case 0x250A8D1Du: goto L_250A8D1D; 13705 case 0x250A8D22u: goto L_250A8D22; 13706 case 0x250A8D27u: goto L_250A8D27; 13707 case 0x250A8D2Au: goto L_250A8D2A; 13708 case 0x250A8D2Du: goto L_250A8D2D; 13709 case 0x250A8D2Fu: goto L_250A8D2F; 13710 case 0x250A8D35u: goto L_250A8D35; 13711 case 0x250A8D36u: goto L_250A8D36; 13712 case 0x250A8D3Cu: goto L_250A8D3C; 13713 case 0x250A8D3Du: goto L_250A8D3D; 13714 case 0x250A8D3Fu: goto L_250A8D3F; 13715 case 0x250A8D49u: goto L_250A8D49; 13716 case 0x250A8D4Fu: goto L_250A8D4F; 13717 case 0x250A8D54u: goto L_250A8D54; 13718 case 0x250A8D59u: goto L_250A8D59; 13719 case 0x250A8D5Cu: goto L_250A8D5C; 13720 case 0x250A8D5Fu: goto L_250A8D5F; 13721 case 0x250A8D61u: goto L_250A8D61; 13722 case 0x250A8D64u: goto L_250A8D64; 13723 case 0x250A8D65u: goto L_250A8D65; 13724 case 0x250A8D68u: goto L_250A8D68; 13725 case 0x250A8D69u: goto L_250A8D69; 13726 case 0x250A8D6Bu: goto L_250A8D6B; 13727 case 0x250A8D72u: goto L_250A8D72; 13728 case 0x250A8D75u: goto L_250A8D75; 13729 case 0x250A8D7Au: goto L_250A8D7A; 13730 case 0x250A8D7Fu: goto L_250A8D7F; 13731 case 0x250A8D82u: goto L_250A8D82; 13732 case 0x250A8D85u: goto L_250A8D85; 13733 case 0x250A8D87u: goto L_250A8D87; 13734 case 0x250A8D8Au: goto L_250A8D8A; 13735 case 0x250A8D8Bu: goto L_250A8D8B; 13736 case 0x250A8D8Eu: goto L_250A8D8E; 13737 case 0x250A8D8Fu: goto L_250A8D8F; 13738 case 0x250A8D91u: goto L_250A8D91; 13739 case 0x250A8D98u: goto L_250A8D98; 13740 case 0x250A8D9Bu: goto L_250A8D9B; 13741 case 0x250A8DA0u: goto L_250A8DA0; 13742 case 0x250A8DA5u: goto L_250A8DA5; 13743 case 0x250A8DA8u: goto L_250A8DA8; 13744 case 0x250A8DABu: goto L_250A8DAB; 13745 case 0x250A8DADu: goto L_250A8DAD; 13746 case 0x250A8DB0u: goto L_250A8DB0; 13747 case 0x250A8DB1u: goto L_250A8DB1; 13748 case 0x250A8DB4u: goto L_250A8DB4; 13749 case 0x250A8DB5u: goto L_250A8DB5; 13750 case 0x250A8DB7u: goto L_250A8DB7; 13751 case 0x250A8DBEu: goto L_250A8DBE; 13752 case 0x250A8DC1u: goto L_250A8DC1; 13753 case 0x250A8DC6u: goto L_250A8DC6; 13754 case 0x250A8DCBu: goto L_250A8DCB; 13755 case 0x250A8DCEu: goto L_250A8DCE; 13756 case 0x250A8DD0u: goto L_250A8DD0; 13757 case 0x250A8DD2u: goto L_250A8DD2; 13758 case 0x250A8DD5u: goto L_250A8DD5; 13759 case 0x250A8DD8u: goto L_250A8DD8; 13760 case 0x250A8DDEu: goto L_250A8DDE; 13761 case 0x250A8DE1u: goto L_250A8DE1; 13762 case 0x250A8DE7u: goto L_250A8DE7; 13763 case 0x250A8DE8u: goto L_250A8DE8; 13764 case 0x250A8DEEu: goto L_250A8DEE; 13765 case 0x250A8DF5u: goto L_250A8DF5; 13766 case 0x250A8DFCu: goto L_250A8DFC; 13767 case 0x250A8E03u: goto L_250A8E03; 13768 case 0x250A8E09u: goto L_250A8E09; 13769 case 0x250A8E0Fu: goto L_250A8E0F; 13770 case 0x250A8E11u: goto L_250A8E11; 13771 case 0x250A8E17u: goto L_250A8E17; 13772 case 0x250A8E1Au: goto L_250A8E1A; 13773 case 0x250A8E20u: goto L_250A8E20; 13774 case 0x250A8E23u: goto L_250A8E23; 13775 case 0x250A8E29u: goto L_250A8E29; 13776 case 0x250A8E2Au: goto L_250A8E2A; 13777 case 0x250A8E30u: goto L_250A8E30; 13778 case 0x250A8E31u: goto L_250A8E31; 13779 case 0x250A8E33u: goto L_250A8E33; 13780 case 0x250A8E39u: goto L_250A8E39; 13781 case 0x250A8E3Fu: goto L_250A8E3F; 13782 case 0x250A8E42u: goto L_250A8E42; 13783 case 0x250A8E44u: goto L_250A8E44; 13784 case 0x250A8E46u: goto L_250A8E46; 13785 case 0x250A8E49u: goto L_250A8E49; 13786 case 0x250A8E4Cu: goto L_250A8E4C; 13787 case 0x250A8E4Fu: goto L_250A8E4F; 13788 case 0x250A8E52u: goto L_250A8E52; 13789 case 0x250A8E53u: goto L_250A8E53; 13790 case 0x250A8E59u: goto L_250A8E59; 13791 case 0x250A8E5Cu: goto L_250A8E5C; 13792 case 0x250A8E5Fu: goto L_250A8E5F; 13793 case 0x250A8E65u: goto L_250A8E65; 13794 case 0x250A8E6Au: goto L_250A8E6A; 13795 case 0x250A8E6Du: goto L_250A8E6D; 13796 case 0x250A8E73u: goto L_250A8E73; 13797 case 0x250A8E79u: goto L_250A8E79; 13798 case 0x250A8E7Au: goto L_250A8E7A; 13799 case 0x250A8E7Du: goto L_250A8E7D; 13800 case 0x250A8E83u: goto L_250A8E83; 13801 case 0x250A8E86u: goto L_250A8E86; 13802 case 0x250A8E87u: goto L_250A8E87; 13803 case 0x250A8E8Au: goto L_250A8E8A; 13804 case 0x250A8E90u: goto L_250A8E90; 13805 case 0x250A8E93u: goto L_250A8E93; 13806 case 0x250A8E95u: goto L_250A8E95; 13807 case 0x250A8E97u: goto L_250A8E97; 13808 case 0x250A8E9Au: goto L_250A8E9A; 13809 case 0x250A8E9Cu: goto L_250A8E9C; 13810 case 0x250A8E9Eu: goto L_250A8E9E; 13811 case 0x250A8E9Fu: goto L_250A8E9F; 13812 case 0x250A8EA1u: goto L_250A8EA1; 13813 case 0x250A8EA3u: goto L_250A8EA3; 13814 case 0x250A8EA5u: goto L_250A8EA5; 13815 case 0x250A8EA7u: goto L_250A8EA7; 13816 case 0x250A8EAAu: goto L_250A8EAA; 13817 case 0x250A8EAFu: goto L_250A8EAF; 13818 case 0x250A8EB1u: goto L_250A8EB1; 13819 case 0x250A8EB6u: goto L_250A8EB6; 13820 case 0x250A8EB9u: goto L_250A8EB9; 13821 case 0x250A8EBBu: goto L_250A8EBB; 13822 case 0x250A8EBEu: goto L_250A8EBE; 13823 case 0x250A8EC1u: goto L_250A8EC1; 13824 case 0x250A8EC4u: goto L_250A8EC4; 13825 case 0x250A8EC6u: goto L_250A8EC6; 13826 case 0x250A8EC9u: goto L_250A8EC9; 13827 case 0x250A8ECBu: goto L_250A8ECB; 13828 case 0x250A8ECEu: goto L_250A8ECE; 13829 case 0x250A8ED0u: goto L_250A8ED0; 13830 case 0x250A8ED2u: goto L_250A8ED2; 13831 case 0x250A8ED5u: goto L_250A8ED5; 13832 case 0x250A8ED8u: goto L_250A8ED8; 13833 case 0x250A8EDBu: goto L_250A8EDB; 13834 case 0x250A8EE2u: goto L_250A8EE2; 13835 case 0x250A8EE3u: goto L_250A8EE3; 13836 case 0x250A8EE4u: goto L_250A8EE4; 13837 case 0x250A8EE5u: goto L_250A8EE5; 13838 case 0x250A8EE7u: goto L_250A8EE7; 13839 case 0x250A8EEDu: goto L_250A8EED; 13840 case 0x250A8EF3u: goto L_250A8EF3; 13841 case 0x250A8EF6u: goto L_250A8EF6; 13842 case 0x250A8EF7u: goto L_250A8EF7; 13843 case 0x250A8EF8u: goto L_250A8EF8; 13844 case 0x250A8EFDu: goto L_250A8EFD; 13845 case 0x250A8F00u: goto L_250A8F00; 13846 case 0x250A8F02u: goto L_250A8F02; 13847 case 0x250A8F04u: goto L_250A8F04; 13848 case 0x250A8F07u: goto L_250A8F07; 13849 case 0x250A8F09u: goto L_250A8F09; 13850 case 0x250A8F0Bu: goto L_250A8F0B; 13851 case 0x250A8F0Cu: goto L_250A8F0C; 13852 case 0x250A8F0Eu: goto L_250A8F0E; 13853 case 0x250A8F10u: goto L_250A8F10; 13854 case 0x250A8F12u: goto L_250A8F12; 13855 case 0x250A8F14u: goto L_250A8F14; 13856 case 0x250A8F17u: goto L_250A8F17; 13857 case 0x250A8F1Cu: goto L_250A8F1C; 13858 case 0x250A8F1Eu: goto L_250A8F1E; 13859 case 0x250A8F23u: goto L_250A8F23; 13860 case 0x250A8F26u: goto L_250A8F26; 13861 case 0x250A8F29u: goto L_250A8F29; 13862 case 0x250A8F2Bu: goto L_250A8F2B; 13863 case 0x250A8F2Eu: goto L_250A8F2E; 13864 case 0x250A8F31u: goto L_250A8F31; 13865 case 0x250A8F37u: goto L_250A8F37; 13866 case 0x250A8F3Du: goto L_250A8F3D; 13867 case 0x250A8F3Fu: goto L_250A8F3F; 13868 case 0x250A8F45u: goto L_250A8F45; 13869 case 0x250A8F4Bu: goto L_250A8F4B; 13870 case 0x250A8F4Du: goto L_250A8F4D; 13871 case 0x250A8F52u: goto L_250A8F52; 13872 case 0x250A8F54u: goto L_250A8F54; 13873 case 0x250A8F57u: goto L_250A8F57; 13874 case 0x250A8F59u: goto L_250A8F59; 13875 case 0x250A8F5Cu: goto L_250A8F5C; 13876 case 0x250A8F5Eu: goto L_250A8F5E; 13877 case 0x250A8F64u: goto L_250A8F64; 13878 case 0x250A8F67u: goto L_250A8F67; 13879 case 0x250A8F69u: goto L_250A8F69; 13880 case 0x250A8F6Bu: goto L_250A8F6B; 13881 case 0x250A8F6Eu: goto L_250A8F6E; 13882 case 0x250A8F70u: goto L_250A8F70; 13883 case 0x250A8F72u: goto L_250A8F72; 13884 case 0x250A8F73u: goto L_250A8F73; 13885 case 0x250A8F75u: goto L_250A8F75; 13886 case 0x250A8F77u: goto L_250A8F77; 13887 case 0x250A8F79u: goto L_250A8F79; 13888 case 0x250A8F7Bu: goto L_250A8F7B; 13889 case 0x250A8F7Eu: goto L_250A8F7E; 13890 case 0x250A8F83u: goto L_250A8F83; 13891 case 0x250A8F85u: goto L_250A8F85; 13892 case 0x250A8F8Au: goto L_250A8F8A; 13893 case 0x250A8F8Cu: goto L_250A8F8C; 13894 case 0x250A8F96u: goto L_250A8F96; 13895 case 0x250A8FA0u: goto L_250A8FA0; 13896 case 0x250A8FAAu: goto L_250A8FAA; 13897 case 0x250A8FB4u: goto L_250A8FB4; 13898 case 0x250A8FBEu: goto L_250A8FBE; 13899 case 0x250A8FC8u: goto L_250A8FC8; 13900 case 0x250A8FD2u: goto L_250A8FD2; 13901 case 0x250A8FDCu: goto L_250A8FDC; 13902 case 0x250A8FE6u: goto L_250A8FE6; 13903 case 0x250A8FE9u: goto L_250A8FE9; 13904 case 0x250A8FECu: goto L_250A8FEC; 13905 case 0x250A8FF2u: goto L_250A8FF2; 13906 case 0x250A8FF4u: goto L_250A8FF4; 13907 case 0x250A8FFAu: goto L_250A8FFA; 13908 case 0x250A9000u: goto L_250A9000; 13909 case 0x250A9002u: goto L_250A9002; 13910 case 0x250A9007u: goto L_250A9007; 13911 case 0x250A9009u: goto L_250A9009; 13912 case 0x250A900Cu: goto L_250A900C; 13913 case 0x250A900Fu: goto L_250A900F; 13914 case 0x250A9011u: goto L_250A9011; 13915 case 0x250A9014u: goto L_250A9014; 13916 case 0x250A9016u: goto L_250A9016; 13917 case 0x250A9018u: goto L_250A9018; 13918 case 0x250A901Eu: goto L_250A901E; 13919 case 0x250A9021u: goto L_250A9021; 13920 case 0x250A9027u: goto L_250A9027; 13921 case 0x250A902Au: goto L_250A902A; 13922 case 0x250A902Du: goto L_250A902D; 13923 case 0x250A902Eu: goto L_250A902E; 13924 case 0x250A9030u: goto L_250A9030; 13925 case 0x250A9031u: goto L_250A9031; 13926 case 0x250A9033u: goto L_250A9033; 13927 case 0x250A9038u: goto L_250A9038; 13928 case 0x250A903Au: goto L_250A903A; 13929 case 0x250A903Fu: goto L_250A903F; 13930 case 0x250A9041u: goto L_250A9041; 13931 case 0x250A9043u: goto L_250A9043; 13932 case 0x250A9046u: goto L_250A9046; 13933 case 0x250A9048u: goto L_250A9048; 13934 case 0x250A9049u: goto L_250A9049; 13935 case 0x250A904Cu: goto L_250A904C; 13936 case 0x250A904Eu: goto L_250A904E; 13937 case 0x250A9055u: goto L_250A9055; 13938 case 0x250A9057u: goto L_250A9057; 13939 case 0x250A9059u: goto L_250A9059; 13940 case 0x250A905Eu: goto L_250A905E; 13941 case 0x250A9060u: goto L_250A9060; 13942 case 0x250A9065u: goto L_250A9065; 13943 case 0x250A9068u: goto L_250A9068; 13944 case 0x250A906Au: goto L_250A906A; 13945 case 0x250A9071u: goto L_250A9071; 13946 case 0x250A9076u: goto L_250A9076; 13947 case 0x250A9078u: goto L_250A9078; 13948 case 0x250A9079u: goto L_250A9079; 13949 case 0x250A907Bu: goto L_250A907B; 13950 case 0x250A907Eu: goto L_250A907E; 13951 case 0x250A9080u: goto L_250A9080; 13952 case 0x250A9082u: goto L_250A9082; 13953 case 0x250A9084u: goto L_250A9084; 13954 case 0x250A9087u: goto L_250A9087; 13955 case 0x250A908Au: goto L_250A908A; 13956 case 0x250A9090u: goto L_250A9090; 13957 case 0x250A9092u: goto L_250A9092; 13958 case 0x250A9093u: goto L_250A9093; 13959 case 0x250A9095u: goto L_250A9095; 13960 case 0x250A9096u: goto L_250A9096; 13961 case 0x250A9099u: goto L_250A9099; 13962 case 0x250A909Au: goto L_250A909A; 13963 case 0x250A909Du: goto L_250A909D; 13964 case 0x250A909Eu: goto L_250A909E; 13965 case 0x250A909Fu: goto L_250A909F; 13966 case 0x250A90A0u: goto L_250A90A0; 13967 case 0x250A90A2u: goto L_250A90A2; 13968 case 0x250A90A7u: goto L_250A90A7; 13969 case 0x250A90AAu: goto L_250A90AA; 13970 case 0x250A90ADu: goto L_250A90AD; 13971 case 0x250A90AEu: goto L_250A90AE; 13972 case 0x250A90B1u: goto L_250A90B1; 13973 case 0x250A90B4u: goto L_250A90B4; 13974 case 0x250A90B9u: goto L_250A90B9; 13975 case 0x250A90BCu: goto L_250A90BC; 13976 case 0x250A90BEu: goto L_250A90BE; 13977 case 0x250A90C4u: goto L_250A90C4; 13978 case 0x250A90C7u: goto L_250A90C7; 13979 case 0x250A90C9u: goto L_250A90C9; 13980 case 0x250A90CFu: goto L_250A90CF; 13981 case 0x250A90D2u: goto L_250A90D2; 13982 case 0x250A90D4u: goto L_250A90D4; 13983 case 0x250A90D6u: goto L_250A90D6; 13984 case 0x250A90D9u: goto L_250A90D9; 13985 case 0x250A90DBu: goto L_250A90DB; 13986 case 0x250A90DDu: goto L_250A90DD; 13987 case 0x250A90DEu: goto L_250A90DE; 13988 case 0x250A90E0u: goto L_250A90E0; 13989 case 0x250A90E2u: goto L_250A90E2; 13990 case 0x250A90E4u: goto L_250A90E4; 13991 case 0x250A90E6u: goto L_250A90E6; 13992 case 0x250A90E9u: goto L_250A90E9; 13993 case 0x250A90EEu: goto L_250A90EE; 13994 case 0x250A90F0u: goto L_250A90F0; 13995 case 0x250A90F5u: goto L_250A90F5; 13996 case 0x250A90F7u: goto L_250A90F7; 13997 case 0x250A90FAu: goto L_250A90FA; 13998 case 0x250A9100u: goto L_250A9100; 13999 case 0x250A9102u: goto L_250A9102; 14000 case 0x250A9104u: goto L_250A9104; 14001 case 0x250A910Au: goto L_250A910A; 14002 case 0x250A910Cu: goto L_250A910C; 14003 case 0x250A9111u: goto L_250A9111; 14004 case 0x250A9113u: goto L_250A9113; 14005 case 0x250A9116u: goto L_250A9116; 14006 case 0x250A9118u: goto L_250A9118; 14007 case 0x250A911Bu: goto L_250A911B; 14008 case 0x250A911Du: goto L_250A911D; 14009 case 0x250A911Fu: goto L_250A911F; 14010 case 0x250A9121u: goto L_250A9121; 14011 case 0x250A9127u: goto L_250A9127; 14012 case 0x250A912Au: goto L_250A912A; 14013 case 0x250A912Du: goto L_250A912D; 14014 case 0x250A9130u: goto L_250A9130; 14015 case 0x250A9132u: goto L_250A9132; 14016 case 0x250A9134u: goto L_250A9134; 14017 case 0x250A9137u: goto L_250A9137; 14018 case 0x250A913Cu: goto L_250A913C; 14019 case 0x250A913Eu: goto L_250A913E; 14020 case 0x250A9143u: goto L_250A9143; 14021 case 0x250A9144u: goto L_250A9144; 14022 case 0x250A9149u: goto L_250A9149; 14023 case 0x250A914Eu: goto L_250A914E; 14024 case 0x250A9150u: goto L_250A9150; 14025 case 0x250A9152u: goto L_250A9152; 14026 case 0x250A9154u: goto L_250A9154; 14027 case 0x250A9156u: goto L_250A9156; 14028 case 0x250A9157u: goto L_250A9157; 14029 case 0x250A9158u: goto L_250A9158; 14030 case 0x250A915Au: goto L_250A915A; 14031 case 0x250A915Fu: goto L_250A915F; 14032 case 0x250A9162u: goto L_250A9162; 14033 case 0x250A9163u: goto L_250A9163; 14034 case 0x250A9166u: goto L_250A9166; 14035 case 0x250A9169u: goto L_250A9169; 14036 case 0x250A916Bu: goto L_250A916B; 14037 case 0x250A916Eu: goto L_250A916E; 14038 case 0x250A9170u: goto L_250A9170; 14039 case 0x250A9172u: goto L_250A9172; 14040 case 0x250A9178u: goto L_250A9178; 14041 case 0x250A917Du: goto L_250A917D; 14042 case 0x250A9183u: goto L_250A9183; 14043 case 0x250A9188u: goto L_250A9188; 14044 case 0x250A918Eu: goto L_250A918E; 14045 case 0x250A9190u: goto L_250A9190; 14046 case 0x250A9192u: goto L_250A9192; 14047 case 0x250A9195u: goto L_250A9195; 14048 case 0x250A9197u: goto L_250A9197; 14049 case 0x250A919Au: goto L_250A919A; 14050 case 0x250A919Du: goto L_250A919D; 14051 case 0x250A91A2u: goto L_250A91A2; 14052 case 0x250A91A4u: goto L_250A91A4; 14053 case 0x250A91A6u: goto L_250A91A6; 14054 case 0x250A91A8u: goto L_250A91A8; 14055 case 0x250A91ABu: goto L_250A91AB; 14056 case 0x250A91ADu: goto L_250A91AD; 14057 case 0x250A91B0u: goto L_250A91B0; 14058 case 0x250A91B1u: goto L_250A91B1; 14059 case 0x250A91B2u: goto L_250A91B2; 14060 case 0x250A91B4u: goto L_250A91B4; 14061 case 0x250A91B7u: goto L_250A91B7; 14062 case 0x250A91BAu: goto L_250A91BA; 14063 case 0x250A91BCu: goto L_250A91BC; 14064 case 0x250A91BFu: goto L_250A91BF; 14065 case 0x250A91C5u: goto L_250A91C5; 14066 case 0x250A91C8u: goto L_250A91C8; 14067 case 0x250A91CBu: goto L_250A91CB; 14068 case 0x250A91D1u: goto L_250A91D1; 14069 case 0x250A91D4u: goto L_250A91D4; 14070 case 0x250A91D7u: goto L_250A91D7; 14071 case 0x250A91DCu: goto L_250A91DC; 14072 case 0x250A91E2u: goto L_250A91E2; 14073 case 0x250A91E4u: goto L_250A91E4; 14074 case 0x250A91EAu: goto L_250A91EA; 14075 case 0x250A91F0u: goto L_250A91F0; 14076 case 0x250A91F6u: goto L_250A91F6; 14077 case 0x250A91FCu: goto L_250A91FC; 14078 case 0x250A91FEu: goto L_250A91FE; 14079 case 0x250A9200u: goto L_250A9200; 14080 case 0x250A9202u: goto L_250A9202; 14081 case 0x250A9209u: goto L_250A9209; 14082 case 0x250A920Cu: goto L_250A920C; 14083 case 0x250A920Fu: goto L_250A920F; 14084 case 0x250A9214u: goto L_250A9214; 14085 case 0x250A9217u: goto L_250A9217; 14086 case 0x250A921Cu: goto L_250A921C; 14087 case 0x250A9222u: goto L_250A9222; 14088 case 0x250A9228u: goto L_250A9228; 14089 case 0x250A922Au: goto L_250A922A; 14090 case 0x250A922Cu: goto L_250A922C; 14091 case 0x250A922Eu: goto L_250A922E; 14092 case 0x250A9230u: goto L_250A9230; 14093 case 0x250A9233u: goto L_250A9233; 14094 case 0x250A923Au: goto L_250A923A; 14095 case 0x250A923Du: goto L_250A923D; 14096 case 0x250A9240u: goto L_250A9240; 14097 case 0x250A9245u: goto L_250A9245; 14098 case 0x250A9248u: goto L_250A9248; 14099 case 0x250A924Eu: goto L_250A924E; 14100 case 0x250A9254u: goto L_250A9254; 14101 case 0x250A925Au: goto L_250A925A; 14102 case 0x250A925Cu: goto L_250A925C; 14103 case 0x250A925Eu: goto L_250A925E; 14104 case 0x250A9260u: goto L_250A9260; 14105 case 0x250A9264u: goto L_250A9264; 14106 case 0x250A926Bu: goto L_250A926B; 14107 case 0x250A9271u: goto L_250A9271; 14108 case 0x250A9274u: goto L_250A9274; 14109 case 0x250A9279u: goto L_250A9279; 14110 case 0x250A927Cu: goto L_250A927C; 14111 case 0x250A9282u: goto L_250A9282; 14112 case 0x250A9288u: goto L_250A9288; 14113 case 0x250A928Eu: goto L_250A928E; 14114 case 0x250A9290u: goto L_250A9290; 14115 case 0x250A9292u: goto L_250A9292; 14116 case 0x250A9294u: goto L_250A9294; 14117 case 0x250A9295u: goto L_250A9295; 14118 case 0x250A9299u: goto L_250A9299; 14119 case 0x250A929Fu: goto L_250A929F; 14120 case 0x250A92A9u: goto L_250A92A9; 14121 case 0x250A92ACu: goto L_250A92AC; 14122 case 0x250A92B2u: goto L_250A92B2; 14123 case 0x250A92B7u: goto L_250A92B7; 14124 case 0x250A92BDu: goto L_250A92BD; 14125 case 0x250A92C2u: goto L_250A92C2; 14126 case 0x250A92C8u: goto L_250A92C8; 14127 case 0x250A92CEu: goto L_250A92CE; 14128 case 0x250A92D0u: goto L_250A92D0; 14129 case 0x250A92D1u: goto L_250A92D1; 14130 case 0x250A92D3u: goto L_250A92D3; 14131 case 0x250A92D4u: goto L_250A92D4; 14132 case 0x250A92D8u: goto L_250A92D8; 14133 case 0x250A92DEu: goto L_250A92DE; 14134 case 0x250A92E8u: goto L_250A92E8; 14135 case 0x250A92EBu: goto L_250A92EB; 14136 case 0x250A92F1u: goto L_250A92F1; 14137 case 0x250A92F6u: goto L_250A92F6; 14138 case 0x250A92FCu: goto L_250A92FC; 14139 case 0x250A92FFu: goto L_250A92FF; 14140 case 0x250A9301u: goto L_250A9301; 14141 case 0x250A9302u: goto L_250A9302; 14142 case 0x250A9303u: goto L_250A9303; 14143 case 0x250A9307u: goto L_250A9307; 14144 case 0x250A930Cu: goto L_250A930C; 14145 case 0x250A930Eu: goto L_250A930E; 14146 case 0x250A9313u: goto L_250A9313; 14147 case 0x250A9316u: goto L_250A9316; 14148 case 0x250A9319u: goto L_250A9319; 14149 case 0x250A931Bu: goto L_250A931B; 14150 case 0x250A931Du: goto L_250A931D; 14151 case 0x250A9323u: goto L_250A9323; 14152 case 0x250A9327u: goto L_250A9327; 14153 case 0x250A932Du: goto L_250A932D; 14154 case 0x250A9330u: goto L_250A9330; 14155 case 0x250A9333u: goto L_250A9333; 14156 case 0x250A9336u: goto L_250A9336; 14157 case 0x250A9339u: goto L_250A9339; 14158 case 0x250A933Bu: goto L_250A933B; 14159 case 0x250A933Eu: goto L_250A933E; 14160 case 0x250A9341u: goto L_250A9341; 14161 case 0x250A9344u: goto L_250A9344; 14162 case 0x250A9347u: goto L_250A9347; 14163 case 0x250A934Au: goto L_250A934A; 14164 case 0x250A934Bu: goto L_250A934B; 14165 case 0x250A934Eu: goto L_250A934E; 14166 case 0x250A9355u: goto L_250A9355; 14167 case 0x250A935Cu: goto L_250A935C; 14168 case 0x250A9363u: goto L_250A9363; 14169 case 0x250A9366u: goto L_250A9366; 14170 case 0x250A9369u: goto L_250A9369; 14171 case 0x250A936Fu: goto L_250A936F; 14172 case 0x250A9371u: goto L_250A9371; 14173 case 0x250A9374u: goto L_250A9374; 14174 case 0x250A9377u: goto L_250A9377; 14175 case 0x250A937Au: goto L_250A937A; 14176 case 0x250A937Du: goto L_250A937D; 14177 case 0x250A9380u: goto L_250A9380; 14178 case 0x250A9382u: goto L_250A9382; 14179 case 0x250A9388u: goto L_250A9388; 14180 case 0x250A938Bu: goto L_250A938B; 14181 case 0x250A938Eu: goto L_250A938E; 14182 case 0x250A9391u: goto L_250A9391; 14183 case 0x250A9394u: goto L_250A9394; 14184 case 0x250A9395u: goto L_250A9395; 14185 case 0x250A939Bu: goto L_250A939B; 14186 case 0x250A93A1u: goto L_250A93A1; 14187 case 0x250A93A7u: goto L_250A93A7; 14188 case 0x250A93ADu: goto L_250A93AD; 14189 case 0x250A93B0u: goto L_250A93B0; 14190 case 0x250A93B2u: goto L_250A93B2; 14191 case 0x250A93B4u: goto L_250A93B4; 14192 case 0x250A93B7u: goto L_250A93B7; 14193 case 0x250A93BAu: goto L_250A93BA; 14194 case 0x250A93BDu: goto L_250A93BD; 14195 case 0x250A93BFu: goto L_250A93BF; 14196 case 0x250A93C2u: goto L_250A93C2; 14197 case 0x250A93C5u: goto L_250A93C5; 14198 case 0x250A93CAu: goto L_250A93CA; 14199 case 0x250A93CDu: goto L_250A93CD; 14200 case 0x250A93D0u: goto L_250A93D0; 14201 case 0x250A93D3u: goto L_250A93D3; 14202 case 0x250A93D6u: goto L_250A93D6; 14203 case 0x250A93D8u: goto L_250A93D8; 14204 case 0x250A93DBu: goto L_250A93DB; 14205 case 0x250A93DEu: goto L_250A93DE; 14206 case 0x250A93E0u: goto L_250A93E0; 14207 case 0x250A93E3u: goto L_250A93E3; 14208 case 0x250A93E5u: goto L_250A93E5; 14209 case 0x250A93EBu: goto L_250A93EB; 14210 case 0x250A93EEu: goto L_250A93EE; 14211 case 0x250A93EFu: goto L_250A93EF; 14212 case 0x250A93F2u: goto L_250A93F2; 14213 case 0x250A93F8u: goto L_250A93F8; 14214 case 0x250A93FBu: goto L_250A93FB; 14215 case 0x250A93FCu: goto L_250A93FC; 14216 case 0x250A93FFu: goto L_250A93FF; 14217 case 0x250A9405u: goto L_250A9405; 14218 case 0x250A9408u: goto L_250A9408; 14219 case 0x250A940Au: goto L_250A940A; 14220 case 0x250A940Du: goto L_250A940D; 14221 case 0x250A9410u: goto L_250A9410; 14222 case 0x250A9413u: goto L_250A9413; 14223 case 0x250A9415u: goto L_250A9415; 14224 case 0x250A9418u: goto L_250A9418; 14225 case 0x250A941Au: goto L_250A941A; 14226 case 0x250A9420u: goto L_250A9420; 14227 case 0x250A9421u: goto L_250A9421; 14228 case 0x250A942Bu: goto L_250A942B; 14229 case 0x250A9431u: goto L_250A9431; 14230 case 0x250A9437u: goto L_250A9437; 14231 case 0x250A943Du: goto L_250A943D; 14232 case 0x250A9440u: goto L_250A9440; 14233 case 0x250A9443u: goto L_250A9443; 14234 case 0x250A9444u: goto L_250A9444; 14235 case 0x250A9447u: goto L_250A9447; 14236 case 0x250A9448u: goto L_250A9448; 14237 case 0x250A944Du: goto L_250A944D; 14238 case 0x250A9453u: goto L_250A9453; 14239 case 0x250A9454u: goto L_250A9454; 14240 case 0x250A9455u: goto L_250A9455; 14241 case 0x250A9457u: goto L_250A9457; 14242 case 0x250A945Cu: goto L_250A945C; 14243 case 0x250A945Fu: goto L_250A945F; 14244 case 0x250A9461u: goto L_250A9461; 14245 case 0x250A9464u: goto L_250A9464; 14246 case 0x250A946Au: goto L_250A946A; 14247 case 0x250A9470u: goto L_250A9470; 14248 case 0x250A9472u: goto L_250A9472; 14249 case 0x250A9476u: goto L_250A9476; 14250 case 0x250A9478u: goto L_250A9478; 14251 case 0x250A947Bu: goto L_250A947B; 14252 case 0x250A9480u: goto L_250A9480; 14253 case 0x250A9486u: goto L_250A9486; 14254 case 0x250A9488u: goto L_250A9488; 14255 case 0x250A9489u: goto L_250A9489; 14256 case 0x250A948Bu: goto L_250A948B; 14257 case 0x250A948Du: goto L_250A948D; 14258 case 0x250A9492u: goto L_250A9492; 14259 case 0x250A9498u: goto L_250A9498; 14260 case 0x250A949Au: goto L_250A949A; 14261 case 0x250A949Eu: goto L_250A949E; 14262 case 0x250A94A0u: goto L_250A94A0; 14263 case 0x250A94A3u: goto L_250A94A3; 14264 case 0x250A94A8u: goto L_250A94A8; 14265 case 0x250A94AEu: goto L_250A94AE; 14266 case 0x250A94B0u: goto L_250A94B0; 14267 case 0x250A94B1u: goto L_250A94B1; 14268 case 0x250A94B3u: goto L_250A94B3; 14269 case 0x250A94B5u: goto L_250A94B5; 14270 case 0x250A94BAu: goto L_250A94BA; 14271 case 0x250A94BDu: goto L_250A94BD; 14272 case 0x250A94BFu: goto L_250A94BF; 14273 case 0x250A94C3u: goto L_250A94C3; 14274 case 0x250A94C5u: goto L_250A94C5; 14275 case 0x250A94CBu: goto L_250A94CB; 14276 case 0x250A94D0u: goto L_250A94D0; 14277 case 0x250A94D6u: goto L_250A94D6; 14278 case 0x250A94D8u: goto L_250A94D8; 14279 case 0x250A94D9u: goto L_250A94D9; 14280 case 0x250A94DBu: goto L_250A94DB; 14281 case 0x250A94E0u: goto L_250A94E0; 14282 case 0x250A94E3u: goto L_250A94E3; 14283 case 0x250A94E5u: goto L_250A94E5; 14284 case 0x250A94E9u: goto L_250A94E9; 14285 case 0x250A94EBu: goto L_250A94EB; 14286 case 0x250A94EEu: goto L_250A94EE; 14287 case 0x250A94F3u: goto L_250A94F3; 14288 case 0x250A94F9u: goto L_250A94F9; 14289 case 0x250A94FBu: goto L_250A94FB; 14290 case 0x250A94FCu: goto L_250A94FC; 14291 case 0x250A94FEu: goto L_250A94FE; 14292 case 0x250A9503u: goto L_250A9503; 14293 case 0x250A9506u: goto L_250A9506; 14294 case 0x250A9508u: goto L_250A9508; 14295 case 0x250A950Fu: goto L_250A950F; 14296 case 0x250A9511u: goto L_250A9511; 14297 case 0x250A9514u: goto L_250A9514; 14298 case 0x250A951Au: goto L_250A951A; 14299 case 0x250A9520u: goto L_250A9520; 14300 case 0x250A9522u: goto L_250A9522; 14301 case 0x250A9523u: goto L_250A9523; 14302 case 0x250A9525u: goto L_250A9525; 14303 case 0x250A952Au: goto L_250A952A; 14304 case 0x250A952Du: goto L_250A952D; 14305 case 0x250A952Eu: goto L_250A952E; 14306 case 0x250A952Fu: goto L_250A952F; 14307 case 0x250A9530u: goto L_250A9530; 14308 case 0x250A9537u: goto L_250A9537; 14309 case 0x250A9539u: goto L_250A9539; 14310 case 0x250A953Au: goto L_250A953A; 14311 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 14312 } 14313 RECOMP_REGS_OUT(); 14314 } 14315 14316 void sub_250A8F14(void) { 14317 int _fpu_cmp = 0; 14318 uint32_t _cf = 0; 14319 int _df = 1; 14320 uint32_t _flag_k = FK_NONE; 14321 uint32_t _flag_a = 0, _flag_b = 0; 14322 uint32_t _itail_tgt = 0; 14323 RECOMP_REGS_LOCALS 14324 RECOMP_ENTER(0x250A8F14u); 14325 14326 goto L_250A8F14; 14327 L_250A8B50: 14328 edi = MEM32(ebp + (-0x1C)); /* 0x250A8B50: mov edi, dword ptr [ebp - 0x1c] */ 14329 L_250A8B53: 14330 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A8B53: cmp dword ptr [edi + 0x34], 9 */ 14331 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 14332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14333 _flag_k = FK_CMP; 14334 L_250A8B57: 14335 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8B57: je 0x250a8f26 */ 14336 L_250A8B5D: 14337 eax = MEM32(edi + 0x18); /* 0x250A8B5D: mov eax, dword ptr [edi + 0x18] */ 14338 L_250A8B60: 14339 edx = MEM32(edi + 0x10); /* 0x250A8B60: mov edx, dword ptr [edi + 0x10] */ 14340 L_250A8B63: 14341 MEM32(ebp + (-0x14)) = eax; /* 0x250A8B63: mov dword ptr [ebp - 0x14], eax */ 14342 L_250A8B66: 14343 SET_LO8(eax, MEM8(esi + 0xDE)); /* 0x250A8B66: mov al, byte ptr [esi + 0xde] */ 14344 L_250A8B6C: 14345 /* test LO8(eax), LO8(eax) */ /* 0x250A8B6C: test al, al */ 14346 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14347 _cf = 0; 14348 _flag_k = FK_NARROW(FK_TEST, 24); 14349 L_250A8B6E: 14350 MEM32(ebp + (-0x10)) = edx; /* 0x250A8B6E: mov dword ptr [ebp - 0x10], edx */ 14351 L_250A8B71: 14352 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B8D; /* 0x250A8B71: je 0x250a8b8d */ 14353 L_250A8B73: 14354 ecx = MEM32(esi + 0x94); /* 0x250A8B73: mov ecx, dword ptr [esi + 0x94] */ 14355 L_250A8B79: 14356 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x250A8B79: cmp ecx, dword ptr [edi + 0xc] */ 14357 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 14358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14359 _flag_k = FK_CMP; 14360 L_250A8B7C: 14361 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B8D; /* 0x250A8B7C: jne 0x250a8b8d */ 14362 L_250A8B7E: 14363 edx = MEM32(esi + 0x90); /* 0x250A8B7E: mov edx, dword ptr [esi + 0x90] */ 14364 L_250A8B84: 14365 /* cmp edx, MEM32(edi + 0x8) */ /* 0x250A8B84: cmp edx, dword ptr [edi + 8] */ 14366 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14368 _flag_k = FK_CMP; 14369 L_250A8B87: 14370 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x250A8B87: mov byte ptr [ebp + 0xb], 1 */ 14371 L_250A8B8B: 14372 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B91; /* 0x250A8B8B: je 0x250a8b91 */ 14373 L_250A8B8D: 14374 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x250A8B8D: mov byte ptr [ebp + 0xb], 0 */ 14375 L_250A8B91: 14376 eax = MEM32(0x25238574); /* 0x250A8B91: mov eax, dword ptr [0x25238574] */ 14377 L_250A8B96: 14378 MEM32(ebp + (-0x30)) = eax; /* 0x250A8B96: mov dword ptr [ebp - 0x30], eax */ 14379 L_250A8B99: 14380 eax = edi + 0x8; /* 0x250A8B99: lea eax, [edi + 8] */ 14381 L_250A8B9C: 14382 PUSH32(esp, eax); /* 0x250A8B9C: push eax */ 14383 L_250A8B9D: 14384 ecx = ebp + (-0x44); /* 0x250A8B9D: lea ecx, [ebp - 0x44] */ 14385 L_250A8BA0: 14386 PUSH32(esp, ecx); /* 0x250A8BA0: push ecx */ 14387 L_250A8BA1: 14388 ecx = 0x25238570u; /* 0x250A8BA1: mov ecx, 0x25238570 */ 14389 L_250A8BA6: 14390 RECOMP_ICALL(0x250A33E0u); /* 0x250A8BA6: call 0x250a33e0 */ /* not lifted */ 14391 RECOMP_FLAGS_IN(); 14392 L_250A8BAB: 14393 ecx = MEM32(eax); /* 0x250A8BAB: mov ecx, dword ptr [eax] */ 14394 L_250A8BAD: 14395 edx = MEM32(ebp + (-0x30)); /* 0x250A8BAD: mov edx, dword ptr [ebp - 0x30] */ 14396 L_250A8BB0: 14397 /* cmp ecx, edx */ /* 0x250A8BB0: cmp ecx, edx */ 14398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14400 _flag_k = FK_CMP; 14401 L_250A8BB2: 14402 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x250A8BB2: mov cl, byte ptr [ebp + 0xb] */ 14403 L_250A8BB5: 14404 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8BB5: setne al */ 14405 L_250A8BB8: 14406 /* test LO8(ecx), LO8(ecx) */ /* 0x250A8BB8: test cl, cl */ 14407 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 14408 _cf = 0; 14409 _flag_k = FK_NARROW(FK_TEST, 24); 14410 L_250A8BBA: 14411 MEM8(ebp + (-0x29)) = (uint8_t)(LO8(eax)); /* 0x250A8BBA: mov byte ptr [ebp - 0x29], al */ 14412 L_250A8BBD: 14413 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BBD: jne 0x250a8dcb */ 14414 L_250A8BC3: 14415 /* test LO8(eax), LO8(eax) */ /* 0x250A8BC3: test al, al */ 14416 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14417 _cf = 0; 14418 _flag_k = FK_NARROW(FK_TEST, 24); 14419 L_250A8BC5: 14420 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BC5: jne 0x250a8dcb */ 14421 L_250A8BCB: 14422 SET_LO8(eax, MEM8(ebp + (-0x15))); /* 0x250A8BCB: mov al, byte ptr [ebp - 0x15] */ 14423 L_250A8BCE: 14424 /* test LO8(eax), LO8(eax) */ /* 0x250A8BCE: test al, al */ 14425 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14426 _cf = 0; 14427 _flag_k = FK_NARROW(FK_TEST, 24); 14428 L_250A8BD0: 14429 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8C1A; /* 0x250A8BD0: je 0x250a8c1a */ 14430 L_250A8BD2: 14431 eax = MEM32(edi + 0x38); /* 0x250A8BD2: mov eax, dword ptr [edi + 0x38] */ 14432 L_250A8BD5: 14433 ecx = ebp + 0x8; /* 0x250A8BD5: lea ecx, [ebp + 8] */ 14434 L_250A8BD8: 14435 PUSH32(esp, ecx); /* 0x250A8BD8: push ecx */ 14436 L_250A8BD9: 14437 edx = ebp + (-0x40); /* 0x250A8BD9: lea edx, [ebp - 0x40] */ 14438 L_250A8BDC: 14439 PUSH32(esp, edx); /* 0x250A8BDC: push edx */ 14440 L_250A8BDD: 14441 ecx = 0x252385A0u; /* 0x250A8BDD: mov ecx, 0x252385a0 */ 14442 L_250A8BE2: 14443 MEM32(ebp + 0x8) = eax; /* 0x250A8BE2: mov dword ptr [ebp + 8], eax */ 14444 L_250A8BE5: 14445 RECOMP_ICALL(0x250AC4E0u); /* 0x250A8BE5: call 0x250ac4e0 */ /* not lifted */ 14446 RECOMP_FLAGS_IN(); 14447 L_250A8BEA: 14448 eax = MEM32(eax); /* 0x250A8BEA: mov eax, dword ptr [eax] */ 14449 L_250A8BEC: 14450 /* cmp eax, MEM32(0x252385A4) */ /* 0x250A8BEC: cmp eax, dword ptr [0x252385a4] */ 14451 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385A4)); 14452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14453 _flag_k = FK_CMP; 14454 L_250A8BF2: 14455 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8BF2: je 0x250a8f26 */ 14456 L_250A8BF8: 14457 eax = MEM32(eax + 0x10); /* 0x250A8BF8: mov eax, dword ptr [eax + 0x10] */ 14458 L_250A8BFB: 14459 ecx = MEM32(0x2523858C); /* 0x250A8BFB: mov ecx, dword ptr [0x2523858c] */ 14460 L_250A8C01: 14461 edx = eax * 8; /* 0x250A8C01: lea edx, [eax*8] */ 14462 L_250A8C08: 14463 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14465 edx = edx - eax; /* 0x250A8C08: sub edx, eax */ 14466 _flag_k = FK_CMP; 14467 L_250A8C0A: 14468 eax = MEM32(ecx + edx * 8 + 0x2C); /* 0x250A8C0A: mov eax, dword ptr [ecx + edx*8 + 0x2c] */ 14469 L_250A8C0E: 14470 /* cmp eax, MEM32(0x252385C0) */ /* 0x250A8C0E: cmp eax, dword ptr [0x252385c0] */ 14471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 14472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14473 _flag_k = FK_CMP; 14474 L_250A8C14: 14475 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8F26; /* 0x250A8C14: jne 0x250a8f26 */ 14476 L_250A8C1A: 14477 eax = MEM32(edi + 0x34); /* 0x250A8C1A: mov eax, dword ptr [edi + 0x34] */ 14478 L_250A8C1D: 14479 /* cmp eax, 8 */ /* 0x250A8C1D: cmp eax, 8 */ 14480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 14481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14482 _flag_k = FK_CMP; 14483 L_250A8C20: 14484 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A8F26; /* 0x250A8C20: ja 0x250a8f26 */ 14485 L_250A8C26: 14486 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x250A9540)); goto _ljump; } 14487 L_250A8C2D: 14488 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C2D: mov ecx, dword ptr [ebp - 0x10] */ 14489 L_250A8C30: 14490 edx = MEM32(ebp + (-0x14)); /* 0x250A8C30: mov edx, dword ptr [ebp - 0x14] */ 14491 L_250A8C33: 14492 PUSH32(esp, 0); /* 0x250A8C33: push 0 */ 14493 L_250A8C35: 14494 eax = ebp + (-0xC8); /* 0x250A8C35: lea eax, [ebp - 0xc8] */ 14495 L_250A8C3B: 14496 PUSH32(esp, eax); /* 0x250A8C3B: push eax */ 14497 L_250A8C3C: 14498 MEM32(ebp + (-0xC8)) = ecx; /* 0x250A8C3C: mov dword ptr [ebp - 0xc8], ecx */ 14499 L_250A8C42: 14500 PUSH32(esp, ebx); /* 0x250A8C42: push ebx */ 14501 L_250A8C43: 14502 ecx = esi; /* 0x250A8C43: mov ecx, esi */ 14503 L_250A8C45: 14504 MEM32(ebp + (-0xC4)) = 0; /* 0x250A8C45: mov dword ptr [ebp - 0xc4], 0 */ 14505 L_250A8C4F: 14506 MEM32(ebp + (-0xC0)) = edx; /* 0x250A8C4F: mov dword ptr [ebp - 0xc0], edx */ 14507 L_250A8C55: 14508 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C55: call 0x250a87e0 */ /* not lifted */ 14509 RECOMP_FLAGS_IN(); 14510 L_250A8C5A: 14511 goto L_250A8F26; /* 0x250A8C5A: jmp 0x250a8f26 */ 14512 L_250A8C5F: 14513 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C5F: mov ecx, dword ptr [ebp - 0x10] */ 14514 L_250A8C62: 14515 edx = MEM32(ebp + (-0x14)); /* 0x250A8C62: mov edx, dword ptr [ebp - 0x14] */ 14516 L_250A8C65: 14517 PUSH32(esp, 1); /* 0x250A8C65: push 1 */ 14518 L_250A8C67: 14519 eax = ebp + (-0xEC); /* 0x250A8C67: lea eax, [ebp - 0xec] */ 14520 L_250A8C6D: 14521 PUSH32(esp, eax); /* 0x250A8C6D: push eax */ 14522 L_250A8C6E: 14523 MEM32(ebp + (-0xEC)) = ecx; /* 0x250A8C6E: mov dword ptr [ebp - 0xec], ecx */ 14524 L_250A8C74: 14525 PUSH32(esp, ebx); /* 0x250A8C74: push ebx */ 14526 L_250A8C75: 14527 ecx = esi; /* 0x250A8C75: mov ecx, esi */ 14528 L_250A8C77: 14529 MEM32(ebp + (-0xE8)) = 0; /* 0x250A8C77: mov dword ptr [ebp - 0xe8], 0 */ 14530 L_250A8C81: 14531 MEM32(ebp + (-0xE4)) = edx; /* 0x250A8C81: mov dword ptr [ebp - 0xe4], edx */ 14532 L_250A8C87: 14533 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C87: call 0x250a87e0 */ /* not lifted */ 14534 RECOMP_FLAGS_IN(); 14535 L_250A8C8C: 14536 goto L_250A8F26; /* 0x250A8C8C: jmp 0x250a8f26 */ 14537 L_250A8C91: 14538 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C91: mov ecx, dword ptr [ebp - 0x10] */ 14539 L_250A8C94: 14540 edx = MEM32(ebp + (-0x14)); /* 0x250A8C94: mov edx, dword ptr [ebp - 0x14] */ 14541 L_250A8C97: 14542 PUSH32(esp, 2); /* 0x250A8C97: push 2 */ 14543 L_250A8C99: 14544 eax = ebp + (-0xD4); /* 0x250A8C99: lea eax, [ebp - 0xd4] */ 14545 L_250A8C9F: 14546 PUSH32(esp, eax); /* 0x250A8C9F: push eax */ 14547 L_250A8CA0: 14548 MEM32(ebp + (-0xD4)) = ecx; /* 0x250A8CA0: mov dword ptr [ebp - 0xd4], ecx */ 14549 L_250A8CA6: 14550 PUSH32(esp, ebx); /* 0x250A8CA6: push ebx */ 14551 L_250A8CA7: 14552 ecx = esi; /* 0x250A8CA7: mov ecx, esi */ 14553 L_250A8CA9: 14554 MEM32(ebp + (-0xD0)) = 0; /* 0x250A8CA9: mov dword ptr [ebp - 0xd0], 0 */ 14555 L_250A8CB3: 14556 MEM32(ebp + (-0xCC)) = edx; /* 0x250A8CB3: mov dword ptr [ebp - 0xcc], edx */ 14557 L_250A8CB9: 14558 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CB9: call 0x250a87e0 */ /* not lifted */ 14559 RECOMP_FLAGS_IN(); 14560 L_250A8CBE: 14561 goto L_250A8F26; /* 0x250A8CBE: jmp 0x250a8f26 */ 14562 L_250A8CC3: 14563 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CC3: mov ecx, dword ptr [ebp - 0x10] */ 14564 L_250A8CC6: 14565 edx = MEM32(ebp + (-0x14)); /* 0x250A8CC6: mov edx, dword ptr [ebp - 0x14] */ 14566 L_250A8CC9: 14567 PUSH32(esp, 3); /* 0x250A8CC9: push 3 */ 14568 L_250A8CCB: 14569 eax = ebp + (-0xF8); /* 0x250A8CCB: lea eax, [ebp - 0xf8] */ 14570 L_250A8CD1: 14571 PUSH32(esp, eax); /* 0x250A8CD1: push eax */ 14572 L_250A8CD2: 14573 MEM32(ebp + (-0xF8)) = ecx; /* 0x250A8CD2: mov dword ptr [ebp - 0xf8], ecx */ 14574 L_250A8CD8: 14575 PUSH32(esp, ebx); /* 0x250A8CD8: push ebx */ 14576 L_250A8CD9: 14577 ecx = esi; /* 0x250A8CD9: mov ecx, esi */ 14578 L_250A8CDB: 14579 MEM32(ebp + (-0xF4)) = 0; /* 0x250A8CDB: mov dword ptr [ebp - 0xf4], 0 */ 14580 L_250A8CE5: 14581 MEM32(ebp + (-0xF0)) = edx; /* 0x250A8CE5: mov dword ptr [ebp - 0xf0], edx */ 14582 L_250A8CEB: 14583 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CEB: call 0x250a87e0 */ /* not lifted */ 14584 RECOMP_FLAGS_IN(); 14585 L_250A8CF0: 14586 goto L_250A8F26; /* 0x250A8CF0: jmp 0x250a8f26 */ 14587 L_250A8CF5: 14588 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CF5: mov ecx, dword ptr [ebp - 0x10] */ 14589 L_250A8CF8: 14590 edx = MEM32(ebp + (-0x14)); /* 0x250A8CF8: mov edx, dword ptr [ebp - 0x14] */ 14591 L_250A8CFB: 14592 PUSH32(esp, 4); /* 0x250A8CFB: push 4 */ 14593 L_250A8CFD: 14594 eax = ebp + (-0x104); /* 0x250A8CFD: lea eax, [ebp - 0x104] */ 14595 L_250A8D03: 14596 PUSH32(esp, eax); /* 0x250A8D03: push eax */ 14597 L_250A8D04: 14598 MEM32(ebp + (-0x104)) = ecx; /* 0x250A8D04: mov dword ptr [ebp - 0x104], ecx */ 14599 L_250A8D0A: 14600 PUSH32(esp, ebx); /* 0x250A8D0A: push ebx */ 14601 L_250A8D0B: 14602 ecx = esi; /* 0x250A8D0B: mov ecx, esi */ 14603 L_250A8D0D: 14604 MEM32(ebp + (-0x100)) = 0; /* 0x250A8D0D: mov dword ptr [ebp - 0x100], 0 */ 14605 L_250A8D17: 14606 MEM32(ebp + (-0xFC)) = edx; /* 0x250A8D17: mov dword ptr [ebp - 0xfc], edx */ 14607 L_250A8D1D: 14608 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D1D: call 0x250a87e0 */ /* not lifted */ 14609 RECOMP_FLAGS_IN(); 14610 L_250A8D22: 14611 goto L_250A8F26; /* 0x250A8D22: jmp 0x250a8f26 */ 14612 L_250A8D27: 14613 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D27: mov ecx, dword ptr [ebp - 0x10] */ 14614 L_250A8D2A: 14615 edx = MEM32(ebp + (-0x14)); /* 0x250A8D2A: mov edx, dword ptr [ebp - 0x14] */ 14616 L_250A8D2D: 14617 PUSH32(esp, 5); /* 0x250A8D2D: push 5 */ 14618 L_250A8D2F: 14619 eax = ebp + (-0x98); /* 0x250A8D2F: lea eax, [ebp - 0x98] */ 14620 L_250A8D35: 14621 PUSH32(esp, eax); /* 0x250A8D35: push eax */ 14622 L_250A8D36: 14623 MEM32(ebp + (-0x98)) = ecx; /* 0x250A8D36: mov dword ptr [ebp - 0x98], ecx */ 14624 L_250A8D3C: 14625 PUSH32(esp, ebx); /* 0x250A8D3C: push ebx */ 14626 L_250A8D3D: 14627 ecx = esi; /* 0x250A8D3D: mov ecx, esi */ 14628 L_250A8D3F: 14629 MEM32(ebp + (-0x94)) = 0; /* 0x250A8D3F: mov dword ptr [ebp - 0x94], 0 */ 14630 L_250A8D49: 14631 MEM32(ebp + (-0x90)) = edx; /* 0x250A8D49: mov dword ptr [ebp - 0x90], edx */ 14632 L_250A8D4F: 14633 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D4F: call 0x250a87e0 */ /* not lifted */ 14634 RECOMP_FLAGS_IN(); 14635 L_250A8D54: 14636 goto L_250A8F26; /* 0x250A8D54: jmp 0x250a8f26 */ 14637 L_250A8D59: 14638 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D59: mov ecx, dword ptr [ebp - 0x10] */ 14639 L_250A8D5C: 14640 edx = MEM32(ebp + (-0x14)); /* 0x250A8D5C: mov edx, dword ptr [ebp - 0x14] */ 14641 L_250A8D5F: 14642 PUSH32(esp, 6); /* 0x250A8D5F: push 6 */ 14643 L_250A8D61: 14644 eax = ebp + (-0x50); /* 0x250A8D61: lea eax, [ebp - 0x50] */ 14645 L_250A8D64: 14646 PUSH32(esp, eax); /* 0x250A8D64: push eax */ 14647 L_250A8D65: 14648 MEM32(ebp + (-0x50)) = ecx; /* 0x250A8D65: mov dword ptr [ebp - 0x50], ecx */ 14649 L_250A8D68: 14650 PUSH32(esp, ebx); /* 0x250A8D68: push ebx */ 14651 L_250A8D69: 14652 ecx = esi; /* 0x250A8D69: mov ecx, esi */ 14653 L_250A8D6B: 14654 MEM32(ebp + (-0x4C)) = 0; /* 0x250A8D6B: mov dword ptr [ebp - 0x4c], 0 */ 14655 L_250A8D72: 14656 MEM32(ebp + (-0x48)) = edx; /* 0x250A8D72: mov dword ptr [ebp - 0x48], edx */ 14657 L_250A8D75: 14658 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D75: call 0x250a87e0 */ /* not lifted */ 14659 RECOMP_FLAGS_IN(); 14660 L_250A8D7A: 14661 goto L_250A8F26; /* 0x250A8D7A: jmp 0x250a8f26 */ 14662 L_250A8D7F: 14663 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D7F: mov ecx, dword ptr [ebp - 0x10] */ 14664 L_250A8D82: 14665 edx = MEM32(ebp + (-0x14)); /* 0x250A8D82: mov edx, dword ptr [ebp - 0x14] */ 14666 L_250A8D85: 14667 PUSH32(esp, 6); /* 0x250A8D85: push 6 */ 14668 L_250A8D87: 14669 eax = ebp + (-0x5C); /* 0x250A8D87: lea eax, [ebp - 0x5c] */ 14670 L_250A8D8A: 14671 PUSH32(esp, eax); /* 0x250A8D8A: push eax */ 14672 L_250A8D8B: 14673 MEM32(ebp + (-0x5C)) = ecx; /* 0x250A8D8B: mov dword ptr [ebp - 0x5c], ecx */ 14674 L_250A8D8E: 14675 PUSH32(esp, ebx); /* 0x250A8D8E: push ebx */ 14676 L_250A8D8F: 14677 ecx = esi; /* 0x250A8D8F: mov ecx, esi */ 14678 L_250A8D91: 14679 MEM32(ebp + (-0x58)) = 0; /* 0x250A8D91: mov dword ptr [ebp - 0x58], 0 */ 14680 L_250A8D98: 14681 MEM32(ebp + (-0x54)) = edx; /* 0x250A8D98: mov dword ptr [ebp - 0x54], edx */ 14682 L_250A8D9B: 14683 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D9B: call 0x250a87e0 */ /* not lifted */ 14684 RECOMP_FLAGS_IN(); 14685 L_250A8DA0: 14686 goto L_250A8F26; /* 0x250A8DA0: jmp 0x250a8f26 */ 14687 L_250A8DA5: 14688 ecx = MEM32(ebp + (-0x10)); /* 0x250A8DA5: mov ecx, dword ptr [ebp - 0x10] */ 14689 L_250A8DA8: 14690 edx = MEM32(ebp + (-0x14)); /* 0x250A8DA8: mov edx, dword ptr [ebp - 0x14] */ 14691 L_250A8DAB: 14692 PUSH32(esp, 7); /* 0x250A8DAB: push 7 */ 14693 L_250A8DAD: 14694 eax = ebp + (-0x74); /* 0x250A8DAD: lea eax, [ebp - 0x74] */ 14695 L_250A8DB0: 14696 PUSH32(esp, eax); /* 0x250A8DB0: push eax */ 14697 L_250A8DB1: 14698 MEM32(ebp + (-0x74)) = ecx; /* 0x250A8DB1: mov dword ptr [ebp - 0x74], ecx */ 14699 L_250A8DB4: 14700 PUSH32(esp, ebx); /* 0x250A8DB4: push ebx */ 14701 L_250A8DB5: 14702 ecx = esi; /* 0x250A8DB5: mov ecx, esi */ 14703 L_250A8DB7: 14704 MEM32(ebp + (-0x70)) = 0; /* 0x250A8DB7: mov dword ptr [ebp - 0x70], 0 */ 14705 L_250A8DBE: 14706 MEM32(ebp + (-0x6C)) = edx; /* 0x250A8DBE: mov dword ptr [ebp - 0x6c], edx */ 14707 L_250A8DC1: 14708 RECOMP_ICALL(0x250A87E0u); /* 0x250A8DC1: call 0x250a87e0 */ /* not lifted */ 14709 RECOMP_FLAGS_IN(); 14710 L_250A8DC6: 14711 goto L_250A8F26; /* 0x250A8DC6: jmp 0x250a8f26 */ 14712 L_250A8DCB: 14713 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x1Cu); 14714 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14715 edi = edi + 0x1Cu; /* 0x250A8DCB: add edi, 0x1c */ 14716 _flag_k = FK_ADD; 14717 L_250A8DCE: 14718 ecx = edi; /* 0x250A8DCE: mov ecx, edi */ 14719 L_250A8DD0: 14720 edx = MEM32(ecx); /* 0x250A8DD0: mov edx, dword ptr [ecx] */ 14721 L_250A8DD2: 14722 eax = MEM32(ecx + 0x4); /* 0x250A8DD2: mov eax, dword ptr [ecx + 4] */ 14723 L_250A8DD5: 14724 ecx = MEM32(ecx + 0x8); /* 0x250A8DD5: mov ecx, dword ptr [ecx + 8] */ 14725 L_250A8DD8: 14726 MEM32(ebp + (-0x8C)) = edx; /* 0x250A8DD8: mov dword ptr [ebp - 0x8c], edx */ 14727 L_250A8DDE: 14728 edx = ebp + (-0x28); /* 0x250A8DDE: lea edx, [ebp - 0x28] */ 14729 L_250A8DE1: 14730 MEM32(ebp + (-0x84)) = ecx; /* 0x250A8DE1: mov dword ptr [ebp - 0x84], ecx */ 14731 L_250A8DE7: 14732 PUSH32(esp, edx); /* 0x250A8DE7: push edx */ 14733 L_250A8DE8: 14734 ecx = ebp + (-0x8C); /* 0x250A8DE8: lea ecx, [ebp - 0x8c] */ 14735 L_250A8DEE: 14736 MEM32(ebp + (-0x28)) = 0; /* 0x250A8DEE: mov dword ptr [ebp - 0x28], 0 */ 14737 L_250A8DF5: 14738 MEM32(ebp + (-0x24)) = 0; /* 0x250A8DF5: mov dword ptr [ebp - 0x24], 0 */ 14739 L_250A8DFC: 14740 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x250A8DFC: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14741 L_250A8E03: 14742 MEM32(ebp + (-0x88)) = eax; /* 0x250A8E03: mov dword ptr [ebp - 0x88], eax */ 14743 L_250A8E09: 14744 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A8E09: call dword ptr [0x25151564] */ 14745 RECOMP_FLAGS_IN(); 14746 L_250A8E0F: 14747 ecx = MEM32(eax); /* 0x250A8E0F: mov ecx, dword ptr [eax] */ 14748 L_250A8E11: 14749 MEM32(ebp + (-0xAC)) = ecx; /* 0x250A8E11: mov dword ptr [ebp - 0xac], ecx */ 14750 L_250A8E17: 14751 edx = MEM32(eax + 0x4); /* 0x250A8E17: mov edx, dword ptr [eax + 4] */ 14752 L_250A8E1A: 14753 MEM32(ebp + (-0xA8)) = edx; /* 0x250A8E1A: mov dword ptr [ebp - 0xa8], edx */ 14754 L_250A8E20: 14755 eax = MEM32(eax + 0x8); /* 0x250A8E20: mov eax, dword ptr [eax + 8] */ 14756 L_250A8E23: 14757 ecx = ebp + (-0xAC); /* 0x250A8E23: lea ecx, [ebp - 0xac] */ 14758 L_250A8E29: 14759 PUSH32(esp, ecx); /* 0x250A8E29: push ecx */ 14760 L_250A8E2A: 14761 edx = ebp + (-0xB8); /* 0x250A8E2A: lea edx, [ebp - 0xb8] */ 14762 L_250A8E30: 14763 PUSH32(esp, edx); /* 0x250A8E30: push edx */ 14764 L_250A8E31: 14765 ecx = edi; /* 0x250A8E31: mov ecx, edi */ 14766 L_250A8E33: 14767 MEM32(ebp + (-0xA4)) = eax; /* 0x250A8E33: mov dword ptr [ebp - 0xa4], eax */ 14768 L_250A8E39: 14769 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250A8E39: call dword ptr [0x25151570] */ 14770 RECOMP_FLAGS_IN(); 14771 L_250A8E3F: 14772 fp_push(*(float*)&MEM32(edi + 0xC)); /* 0x250A8E3F: fld dword ptr [edi + 0xc] */ 14773 L_250A8E42: 14774 ecx = MEM32(eax); /* 0x250A8E42: mov ecx, dword ptr [eax] */ 14775 L_250A8E44: 14776 _st[0] += _st[0]; /* 0x250A8E44: fadd st(0), st(0) */ 14777 L_250A8E46: 14778 MEM32(ebp + (-0x3C)) = ecx; /* 0x250A8E46: mov dword ptr [ebp - 0x3c], ecx */ 14779 L_250A8E49: 14780 edx = MEM32(eax + 0x4); /* 0x250A8E49: mov edx, dword ptr [eax + 4] */ 14781 L_250A8E4C: 14782 MEM32(ebp + (-0x38)) = edx; /* 0x250A8E4C: mov dword ptr [ebp - 0x38], edx */ 14783 L_250A8E4F: 14784 eax = MEM32(eax + 0x8); /* 0x250A8E4F: mov eax, dword ptr [eax + 8] */ 14785 L_250A8E52: 14786 PUSH32(esp, ecx); /* 0x250A8E52: push ecx */ 14787 L_250A8E53: 14788 ecx = ebp + (-0xAC); /* 0x250A8E53: lea ecx, [ebp - 0xac] */ 14789 L_250A8E59: 14790 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8E59: fstp dword ptr [esp] */ 14791 L_250A8E5C: 14792 MEM32(ebp + (-0x34)) = eax; /* 0x250A8E5C: mov dword ptr [ebp - 0x34], eax */ 14793 L_250A8E5F: 14794 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E5F: call dword ptr [0x25151510] */ 14795 RECOMP_FLAGS_IN(); 14796 L_250A8E65: 14797 PUSH32(esp, 0x40000000u); /* 0x250A8E65: push 0x40000000 */ 14798 L_250A8E6A: 14799 ecx = ebp + (-0x3C); /* 0x250A8E6A: lea ecx, [ebp - 0x3c] */ 14800 L_250A8E6D: 14801 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E6D: call dword ptr [0x25151510] */ 14802 RECOMP_FLAGS_IN(); 14803 L_250A8E73: 14804 ecx = ebp + (-0xAC); /* 0x250A8E73: lea ecx, [ebp - 0xac] */ 14805 L_250A8E79: 14806 PUSH32(esp, ecx); /* 0x250A8E79: push ecx */ 14807 L_250A8E7A: 14808 ecx = ebp + (-0x28); /* 0x250A8E7A: lea ecx, [ebp - 0x28] */ 14809 L_250A8E7D: 14810 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E7D: call dword ptr [0x251514f8] */ 14811 RECOMP_FLAGS_IN(); 14812 L_250A8E83: 14813 edx = ebp + (-0x3C); /* 0x250A8E83: lea edx, [ebp - 0x3c] */ 14814 L_250A8E86: 14815 PUSH32(esp, edx); /* 0x250A8E86: push edx */ 14816 L_250A8E87: 14817 ecx = ebp + (-0x28); /* 0x250A8E87: lea ecx, [ebp - 0x28] */ 14818 L_250A8E8A: 14819 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E8A: call dword ptr [0x251514f8] */ 14820 RECOMP_FLAGS_IN(); 14821 L_250A8E90: 14822 eax = MEM32(esi + 0x70); /* 0x250A8E90: mov eax, dword ptr [esi + 0x70] */ 14823 L_250A8E93: 14824 /* test eax, eax */ /* 0x250A8E93: test eax, eax */ 14825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14826 _cf = 0; 14827 _flag_k = FK_TEST; 14828 L_250A8E95: 14829 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8EA1; /* 0x250A8E95: je 0x250a8ea1 */ 14830 L_250A8E97: 14831 eax = MEM32(eax + 0x28); /* 0x250A8E97: mov eax, dword ptr [eax + 0x28] */ 14832 L_250A8E9A: 14833 PUSH32(esp, 0xAu); /* 0x250A8E9A: push 0xa */ 14834 L_250A8E9C: 14835 PUSH32(esp, 0); /* 0x250A8E9C: push 0 */ 14836 L_250A8E9E: 14837 PUSH32(esp, eax); /* 0x250A8E9E: push eax */ 14838 L_250A8E9F: 14839 goto L_250A8EA7; /* 0x250A8E9F: jmp 0x250a8ea7 */ 14840 L_250A8EA1: 14841 PUSH32(esp, 0xAu); /* 0x250A8EA1: push 0xa */ 14842 L_250A8EA3: 14843 PUSH32(esp, 0); /* 0x250A8EA3: push 0 */ 14844 L_250A8EA5: 14845 PUSH32(esp, 0); /* 0x250A8EA5: push 0 */ 14846 L_250A8EA7: 14847 ecx = MEM32(ebx + 0x8); /* 0x250A8EA7: mov ecx, dword ptr [ebx + 8] */ 14848 L_250A8EAA: 14849 RECOMP_ICALL(0x250EFF90u); /* 0x250A8EAA: call 0x250eff90 */ /* not lifted */ 14850 RECOMP_FLAGS_IN(); 14851 L_250A8EAF: 14852 ecx = ebx; /* 0x250A8EAF: mov ecx, ebx */ 14853 L_250A8EB1: 14854 RECOMP_ICALL(0x250E05D0u); /* 0x250A8EB1: call 0x250e05d0 */ /* not lifted */ 14855 RECOMP_FLAGS_IN(); 14856 L_250A8EB6: 14857 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A8EB6: fld dword ptr [ebp - 0x28] */ 14858 L_250A8EB9: 14859 _st[0] = -_st[0]; /* 0x250A8EB9: fchs */ 14860 L_250A8EBB: 14861 eax = MEM32(ebp + (-0x10)); /* 0x250A8EBB: mov eax, dword ptr [ebp - 0x10] */ 14862 L_250A8EBE: 14863 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A8EBE: fld dword ptr [ebp - 0x20] */ 14864 L_250A8EC1: 14865 ecx = MEM32(ebp + (-0x14)); /* 0x250A8EC1: mov ecx, dword ptr [ebp - 0x14] */ 14866 L_250A8EC4: 14867 _st[0] = -_st[0]; /* 0x250A8EC4: fchs */ 14868 L_250A8EC6: 14869 MEM32(ebp + (-0x80)) = eax; /* 0x250A8EC6: mov dword ptr [ebp - 0x80], eax */ 14870 L_250A8EC9: 14871 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A8EC9: fpatan */ 14872 L_250A8ECB: 14873 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x250A8ECB: mov al, byte ptr [ebp - 0x29] */ 14874 L_250A8ECE: 14875 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14876 edx = 0; /* 0x250A8ECE: xor edx, edx */ 14877 _cf = 0; 14878 _flag_k = FK_TEST; 14879 L_250A8ED0: 14880 /* test LO8(eax), LO8(eax) */ /* 0x250A8ED0: test al, al */ 14881 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14882 _cf = 0; 14883 _flag_k = FK_NARROW(FK_TEST, 24); 14884 L_250A8ED2: 14885 SET_LO8(edx, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8ED2: setne dl */ 14886 L_250A8ED5: 14887 eax = ebp + (-0x80); /* 0x250A8ED5: lea eax, [ebp - 0x80] */ 14888 L_250A8ED8: 14889 MEM32(ebp + (-0x78)) = ecx; /* 0x250A8ED8: mov dword ptr [ebp - 0x78], ecx */ 14890 L_250A8EDB: 14891 MEM32(ebp + (-0x7C)) = 0; /* 0x250A8EDB: mov dword ptr [ebp - 0x7c], 0 */ 14892 L_250A8EE2: 14893 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 14894 edx = edx + 1; /* 0x250A8EE2: inc edx */ 14895 _flag_k = FK_INC; 14896 L_250A8EE3: 14897 PUSH32(esp, edx); /* 0x250A8EE3: push edx */ 14898 L_250A8EE4: 14899 PUSH32(esp, ecx); /* 0x250A8EE4: push ecx */ 14900 L_250A8EE5: 14901 ecx = esi; /* 0x250A8EE5: mov ecx, esi */ 14902 L_250A8EE7: 14903 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A8EE7: fmul dword ptr [0x25156404] */ 14904 L_250A8EED: 14905 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A8EED: fadd dword ptr [0x25151788] */ 14906 L_250A8EF3: 14907 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8EF3: fstp dword ptr [esp] */ 14908 L_250A8EF6: 14909 PUSH32(esp, eax); /* 0x250A8EF6: push eax */ 14910 L_250A8EF7: 14911 PUSH32(esp, ebx); /* 0x250A8EF7: push ebx */ 14912 L_250A8EF8: 14913 RECOMP_ICALL(0x250A8830u); /* 0x250A8EF8: call 0x250a8830 */ /* not lifted */ 14914 RECOMP_FLAGS_IN(); 14915 L_250A8EFD: 14916 eax = MEM32(esi + 0x6C); /* 0x250A8EFD: mov eax, dword ptr [esi + 0x6c] */ 14917 L_250A8F00: 14918 /* test eax, eax */ /* 0x250A8F00: test eax, eax */ 14919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14920 _cf = 0; 14921 _flag_k = FK_TEST; 14922 L_250A8F02: 14923 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F0E; /* 0x250A8F02: je 0x250a8f0e */ 14924 L_250A8F04: 14925 eax = MEM32(eax + 0x28); /* 0x250A8F04: mov eax, dword ptr [eax + 0x28] */ 14926 L_250A8F07: 14927 PUSH32(esp, 0xAu); /* 0x250A8F07: push 0xa */ 14928 L_250A8F09: 14929 PUSH32(esp, 0); /* 0x250A8F09: push 0 */ 14930 L_250A8F0B: 14931 PUSH32(esp, eax); /* 0x250A8F0B: push eax */ 14932 L_250A8F0C: 14933 goto L_250A8F14; /* 0x250A8F0C: jmp 0x250a8f14 */ 14934 L_250A8F0E: 14935 PUSH32(esp, 0xAu); /* 0x250A8F0E: push 0xa */ 14936 L_250A8F10: 14937 PUSH32(esp, 0); /* 0x250A8F10: push 0 */ 14938 L_250A8F12: 14939 PUSH32(esp, 0); /* 0x250A8F12: push 0 */ 14940 L_250A8F14: 14941 ecx = MEM32(ebx + 0x8); /* 0x250A8F14: mov ecx, dword ptr [ebx + 8] */ 14942 L_250A8F17: 14943 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F17: call 0x250eff90 */ /* not lifted */ 14944 RECOMP_FLAGS_IN(); 14945 L_250A8F1C: 14946 ecx = ebx; /* 0x250A8F1C: mov ecx, ebx */ 14947 L_250A8F1E: 14948 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F1E: call 0x250e05d0 */ /* not lifted */ 14949 RECOMP_FLAGS_IN(); 14950 L_250A8F23: 14951 edi = MEM32(ebp + (-0x1C)); /* 0x250A8F23: mov edi, dword ptr [ebp - 0x1c] */ 14952 L_250A8F26: 14953 ecx = MEM32(ebp + 0xC); /* 0x250A8F26: mov ecx, dword ptr [ebp + 0xc] */ 14954 L_250A8F29: 14955 edi = MEM32(edi); /* 0x250A8F29: mov edi, dword ptr [edi] */ 14956 L_250A8F2B: 14957 /* cmp edi, MEM32(ecx + 0x4) */ /* 0x250A8F2B: cmp edi, dword ptr [ecx + 4] */ 14958 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14960 _flag_k = FK_CMP; 14961 L_250A8F2E: 14962 MEM32(ebp + (-0x1C)) = edi; /* 0x250A8F2E: mov dword ptr [ebp - 0x1c], edi */ 14963 L_250A8F31: 14964 RECOMP_BACKEDGE(); 14965 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B50; /* 0x250A8F31: jne 0x250a8b50 */ 14966 L_250A8F37: 14967 eax = MEM32(esi + 0xAC); /* 0x250A8F37: mov eax, dword ptr [esi + 0xac] */ 14968 L_250A8F3D: 14969 /* test eax, eax */ /* 0x250A8F3D: test eax, eax */ 14970 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14971 _cf = 0; 14972 _flag_k = FK_TEST; 14973 L_250A8F3F: 14974 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F3F: je 0x250a90b9 */ 14975 L_250A8F45: 14976 ecx = MEM32(esi + 0xB0); /* 0x250A8F45: mov ecx, dword ptr [esi + 0xb0] */ 14977 L_250A8F4B: 14978 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 14979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14980 ecx = ecx - eax; /* 0x250A8F4B: sub ecx, eax */ 14981 _flag_k = FK_CMP; 14982 L_250A8F4D: 14983 eax = 0x66666667u; /* 0x250A8F4D: mov eax, 0x66666667 */ 14984 L_250A8F52: 14985 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A8F52: imul ecx */ 14986 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 14987 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 14988 L_250A8F54: 14989 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A8F54: sar edx, 3 */ 14990 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14991 edx = (uint32_t)((int32_t)edx >> 3u); 14992 L_250A8F57: 14993 eax = edx; /* 0x250A8F57: mov eax, edx */ 14994 L_250A8F59: 14995 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A8F59: shr eax, 0x1f */ 14996 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14997 eax = eax >> 31u; /* 0x250A8F59: shr eax, 0x1f */ 14998 L_250A8F5C: 14999 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15001 edx = edx + eax; /* 0x250A8F5C: add edx, eax */ 15002 _flag_k = FK_ADD; 15003 L_250A8F5E: 15004 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F5E: je 0x250a90b9 */ 15005 L_250A8F64: 15006 eax = MEM32(esi + 0x70); /* 0x250A8F64: mov eax, dword ptr [esi + 0x70] */ 15007 L_250A8F67: 15008 /* test eax, eax */ /* 0x250A8F67: test eax, eax */ 15009 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15010 _cf = 0; 15011 _flag_k = FK_TEST; 15012 L_250A8F69: 15013 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F75; /* 0x250A8F69: je 0x250a8f75 */ 15014 L_250A8F6B: 15015 eax = MEM32(eax + 0x28); /* 0x250A8F6B: mov eax, dword ptr [eax + 0x28] */ 15016 L_250A8F6E: 15017 PUSH32(esp, 0xAu); /* 0x250A8F6E: push 0xa */ 15018 L_250A8F70: 15019 PUSH32(esp, 0); /* 0x250A8F70: push 0 */ 15020 L_250A8F72: 15021 PUSH32(esp, eax); /* 0x250A8F72: push eax */ 15022 L_250A8F73: 15023 goto L_250A8F7B; /* 0x250A8F73: jmp 0x250a8f7b */ 15024 L_250A8F75: 15025 PUSH32(esp, 0xAu); /* 0x250A8F75: push 0xa */ 15026 L_250A8F77: 15027 PUSH32(esp, 0); /* 0x250A8F77: push 0 */ 15028 L_250A8F79: 15029 PUSH32(esp, 0); /* 0x250A8F79: push 0 */ 15030 L_250A8F7B: 15031 ecx = MEM32(ebx + 0x8); /* 0x250A8F7B: mov ecx, dword ptr [ebx + 8] */ 15032 L_250A8F7E: 15033 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F7E: call 0x250eff90 */ /* not lifted */ 15034 RECOMP_FLAGS_IN(); 15035 L_250A8F83: 15036 ecx = ebx; /* 0x250A8F83: mov ecx, ebx */ 15037 L_250A8F85: 15038 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F85: call 0x250e05d0 */ /* not lifted */ 15039 RECOMP_FLAGS_IN(); 15040 L_250A8F8A: 15041 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15042 eax = 0; /* 0x250A8F8A: xor eax, eax */ 15043 _cf = 0; 15044 _flag_k = FK_TEST; 15045 L_250A8F8C: 15046 MEM32(ebp + (-0x128)) = 4; /* 0x250A8F8C: mov dword ptr [ebp - 0x128], 4 */ 15047 L_250A8F96: 15048 MEM32(ebp + (-0x124)) = 7; /* 0x250A8F96: mov dword ptr [ebp - 0x124], 7 */ 15049 L_250A8FA0: 15050 MEM32(ebp + (-0x120)) = 0xAu; /* 0x250A8FA0: mov dword ptr [ebp - 0x120], 0xa */ 15051 L_250A8FAA: 15052 MEM32(ebp + (-0x11C)) = 3; /* 0x250A8FAA: mov dword ptr [ebp - 0x11c], 3 */ 15053 L_250A8FB4: 15054 MEM32(ebp + (-0x118)) = 6; /* 0x250A8FB4: mov dword ptr [ebp - 0x118], 6 */ 15055 L_250A8FBE: 15056 MEM32(ebp + (-0x114)) = 9; /* 0x250A8FBE: mov dword ptr [ebp - 0x114], 9 */ 15057 L_250A8FC8: 15058 MEM32(ebp + (-0x110)) = 5; /* 0x250A8FC8: mov dword ptr [ebp - 0x110], 5 */ 15059 L_250A8FD2: 15060 MEM32(ebp + (-0x10C)) = 8; /* 0x250A8FD2: mov dword ptr [ebp - 0x10c], 8 */ 15061 L_250A8FDC: 15062 MEM32(ebp + (-0x108)) = 0xBu; /* 0x250A8FDC: mov dword ptr [ebp - 0x108], 0xb */ 15063 L_250A8FE6: 15064 MEM32(ebp + 0x8) = eax; /* 0x250A8FE6: mov dword ptr [ebp + 8], eax */ 15065 L_250A8FE9: 15066 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 15067 L_250A8FEC: 15068 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 15069 L_250A8FF2: 15070 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 15071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15072 _cf = 0; 15073 _flag_k = FK_TEST; 15074 L_250A8FF4: 15075 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 15076 L_250A8FFA: 15077 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 15078 L_250A9000: 15079 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15081 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 15082 _flag_k = FK_CMP; 15083 L_250A9002: 15084 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 15085 L_250A9007: 15086 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 15087 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 15088 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 15089 L_250A9009: 15090 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 15091 L_250A900C: 15092 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 15093 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15094 edx = (uint32_t)((int32_t)edx >> 3u); 15095 L_250A900F: 15096 ecx = edx; /* 0x250A900F: mov ecx, edx */ 15097 L_250A9011: 15098 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 15099 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15100 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 15101 L_250A9014: 15102 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 15103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15104 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 15105 _flag_k = FK_ADD; 15106 L_250A9016: 15107 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 15108 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15110 _flag_k = FK_CMP; 15111 L_250A9018: 15112 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 15113 L_250A901E: 15114 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 15115 L_250A9021: 15116 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 15117 L_250A9027: 15118 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 15119 L_250A902A: 15120 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 15121 L_250A902D: 15122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15123 eax = eax - 1; /* 0x250A902D: dec eax */ 15124 _flag_k = FK_DEC; 15125 L_250A902E: 15126 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 15127 L_250A9030: 15128 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15129 eax = eax - 1; /* 0x250A9030: dec eax */ 15130 _flag_k = FK_DEC; 15131 L_250A9031: 15132 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 15133 L_250A9033: 15134 eax = 2; /* 0x250A9033: mov eax, 2 */ 15135 L_250A9038: 15136 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 15137 L_250A903A: 15138 eax = 1; /* 0x250A903A: mov eax, 1 */ 15139 L_250A903F: 15140 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 15141 L_250A9041: 15142 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15143 eax = 0; /* 0x250A9041: xor eax, eax */ 15144 _cf = 0; 15145 _flag_k = FK_TEST; 15146 L_250A9043: 15147 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 15148 L_250A9046: 15149 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15150 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 15151 _cf = 0; 15152 _flag_k = FK_TEST; 15153 L_250A9048: 15154 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 15155 edx = edx - 1; /* 0x250A9048: dec edx */ 15156 _flag_k = FK_DEC; 15157 L_250A9049: 15158 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 15159 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 15160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15161 _flag_k = FK_CMP; 15162 L_250A904C: 15163 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 15164 L_250A904E: 15165 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 15166 L_250A9055: 15167 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15168 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 15169 _cf = 0; 15170 _flag_k = FK_TEST; 15171 L_250A9057: 15172 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 15173 L_250A9059: 15174 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 15175 L_250A905E: 15176 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 15177 L_250A9060: 15178 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 15179 L_250A9065: 15180 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 15181 L_250A9068: 15182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15183 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15184 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 15185 _flag_k = FK_ADD; 15186 L_250A906A: 15187 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 15188 L_250A9071: 15189 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 15190 L_250A9076: 15191 eax = ecx; /* 0x250A9076: mov eax, ecx */ 15192 L_250A9078: 15193 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 15194 L_250A9079: 15195 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 15196 L_250A907B: 15197 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 15198 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 15199 _cf = 0; 15200 _flag_k = FK_TEST; 15201 L_250A907E: 15202 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 15203 L_250A9080: 15204 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15205 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15206 eax = eax + edx; /* 0x250A9080: add eax, edx */ 15207 _flag_k = FK_ADD; 15208 L_250A9082: 15209 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 15210 L_250A9084: 15211 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 15212 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15213 eax = (uint32_t)((int32_t)eax >> 2u); 15214 L_250A9087: 15215 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 15216 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15217 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 15218 L_250A908A: 15219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 15220 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 15221 _cf = 0; 15222 _flag_k = FK_TEST; 15223 L_250A9090: 15224 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 15225 L_250A9092: 15226 PUSH32(esp, eax); /* 0x250A9092: push eax */ 15227 L_250A9093: 15228 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 15229 L_250A9095: 15230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15231 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 15232 _flag_k = FK_DEC; 15233 L_250A9096: 15234 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 15235 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 15236 _cf = 0; 15237 _flag_k = FK_TEST; 15238 L_250A9099: 15239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15240 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 15241 _flag_k = FK_INC; 15242 L_250A909A: 15243 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 15244 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15245 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 15246 L_250A909D: 15247 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 15248 L_250A909E: 15249 PUSH32(esp, edi); /* 0x250A909E: push edi */ 15250 L_250A909F: 15251 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 15252 L_250A90A0: 15253 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 15254 L_250A90A2: 15255 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 15256 RECOMP_FLAGS_IN(); 15257 L_250A90A7: 15258 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 15259 L_250A90AA: 15260 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 15261 L_250A90AD: 15262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15263 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 15264 _flag_k = FK_INC; 15265 L_250A90AE: 15266 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 15267 L_250A90B1: 15268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 15269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15270 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 15271 _flag_k = FK_ADD; 15272 L_250A90B4: 15273 RECOMP_BACKEDGE(); 15274 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 15275 L_250A90B9: 15276 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 15277 L_250A90BC: 15278 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 15279 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15280 _cf = 0; 15281 _flag_k = FK_NARROW(FK_TEST, 24); 15282 L_250A90BE: 15283 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 15284 L_250A90C4: 15285 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 15286 L_250A90C7: 15287 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 15288 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15289 _cf = 0; 15290 _flag_k = FK_TEST; 15291 L_250A90C9: 15292 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 15293 L_250A90CF: 15294 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 15295 L_250A90D2: 15296 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 15297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15298 _cf = 0; 15299 _flag_k = FK_TEST; 15300 L_250A90D4: 15301 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 15302 L_250A90D6: 15303 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 15304 L_250A90D9: 15305 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 15306 L_250A90DB: 15307 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 15308 L_250A90DD: 15309 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 15310 L_250A90DE: 15311 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 15312 L_250A90E0: 15313 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 15314 L_250A90E2: 15315 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 15316 L_250A90E4: 15317 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 15318 L_250A90E6: 15319 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 15320 L_250A90E9: 15321 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 15322 RECOMP_FLAGS_IN(); 15323 L_250A90EE: 15324 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 15325 L_250A90F0: 15326 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 15327 RECOMP_FLAGS_IN(); 15328 L_250A90F5: 15329 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15330 edi = 0; /* 0x250A90F5: xor edi, edi */ 15331 _cf = 0; 15332 _flag_k = FK_TEST; 15333 L_250A90F7: 15334 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 15335 L_250A90FA: 15336 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 15337 L_250A9100: 15338 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 15339 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15340 _cf = 0; 15341 _flag_k = FK_TEST; 15342 L_250A9102: 15343 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 15344 L_250A9104: 15345 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 15346 L_250A910A: 15347 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15349 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 15350 _flag_k = FK_CMP; 15351 L_250A910C: 15352 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 15353 L_250A9111: 15354 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 15355 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 15356 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 15357 L_250A9113: 15358 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 15359 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15360 edx = (uint32_t)((int32_t)edx >> 3u); 15361 L_250A9116: 15362 eax = edx; /* 0x250A9116: mov eax, edx */ 15363 L_250A9118: 15364 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 15365 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15366 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 15367 L_250A911B: 15368 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15370 edx = edx + eax; /* 0x250A911B: add edx, eax */ 15371 _flag_k = FK_ADD; 15372 L_250A911D: 15373 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 15374 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 15375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15376 _flag_k = FK_CMP; 15377 L_250A911F: 15378 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 15379 L_250A9121: 15380 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 15381 L_250A9127: 15382 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 15383 L_250A912A: 15384 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 15385 L_250A912D: 15386 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 15387 L_250A9130: 15388 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 15389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15390 _cf = 0; 15391 _flag_k = FK_TEST; 15392 L_250A9132: 15393 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 15394 L_250A9134: 15395 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 15396 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 15397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15398 _flag_k = FK_CMP; 15399 L_250A9137: 15400 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 15401 L_250A913C: 15402 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 15403 L_250A913E: 15404 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 15405 L_250A9143: 15406 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 15407 L_250A9144: 15408 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 15409 L_250A9149: 15410 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 15411 L_250A914E: 15412 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 15413 L_250A9150: 15414 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 15415 L_250A9152: 15416 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 15417 L_250A9154: 15418 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 15419 L_250A9156: 15420 PUSH32(esp, eax); /* 0x250A9156: push eax */ 15421 L_250A9157: 15422 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 15423 L_250A9158: 15424 ecx = esi; /* 0x250A9158: mov ecx, esi */ 15425 L_250A915A: 15426 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 15427 RECOMP_FLAGS_IN(); 15428 L_250A915F: 15429 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 15430 L_250A9162: 15431 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 15432 edi = edi + 1; /* 0x250A9162: inc edi */ 15433 _flag_k = FK_INC; 15434 L_250A9163: 15435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 15436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15437 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 15438 _flag_k = FK_ADD; 15439 L_250A9166: 15440 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 15441 L_250A9169: 15442 RECOMP_BACKEDGE(); 15443 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 15444 L_250A916B: 15445 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 15446 L_250A916E: 15447 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 15448 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15449 _cf = 0; 15450 _flag_k = FK_NARROW(FK_TEST, 24); 15451 L_250A9170: 15452 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 15453 L_250A9172: 15454 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 15455 L_250A9178: 15456 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 15457 L_250A917D: 15458 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 15459 L_250A9183: 15460 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 15461 L_250A9188: 15462 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 15463 L_250A918E: 15464 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 15465 L_250A9190: 15466 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 15467 L_250A9192: 15468 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 15469 L_250A9195: 15470 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 15471 L_250A9197: 15472 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 15473 L_250A919A: 15474 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 15475 L_250A919D: 15476 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 15477 L_250A91A2: 15478 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 15479 L_250A91A4: 15480 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 15481 L_250A91A6: 15482 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 15483 L_250A91A8: 15484 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 15485 L_250A91AB: 15486 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 15487 L_250A91AD: 15488 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 15489 L_250A91B0: 15490 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 15491 L_250A91B1: 15492 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 15493 L_250A91B2: 15494 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 15495 L_250A91B4: 15496 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 15497 L_250A91B7: 15498 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 15499 L_250A91BA: 15500 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 15501 L_250A91BC: 15502 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 15503 L_250A91BF: 15504 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 15505 L_250A91C5: 15506 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 15507 L_250A91C8: 15508 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 15509 L_250A91CB: 15510 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 15511 L_250A91D1: 15512 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 15513 L_250A91D4: 15514 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 15515 L_250A91D7: 15516 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 15517 RECOMP_FLAGS_IN(); 15518 L_250A91DC: 15519 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 15520 L_250A91E2: 15521 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 15522 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15523 _cf = 0; 15524 _flag_k = FK_NARROW(FK_TEST, 24); 15525 L_250A91E4: 15526 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 15527 L_250A91EA: 15528 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 15529 L_250A91F0: 15530 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 15531 L_250A91F6: 15532 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 15533 L_250A91FC: 15534 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 15535 L_250A91FE: 15536 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 15537 L_250A9200: 15538 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 15539 L_250A9202: 15540 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 15541 L_250A9209: 15542 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 15543 L_250A920C: 15544 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 15545 L_250A920F: 15546 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 15547 RECOMP_FLAGS_IN(); 15548 L_250A9214: 15549 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 15550 L_250A9217: 15551 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 15552 L_250A921C: 15553 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 15554 L_250A9222: 15555 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 15556 L_250A9228: 15557 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 15558 L_250A922A: 15559 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 15560 L_250A922C: 15561 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15562 edi = 0; /* 0x250A922C: xor edi, edi */ 15563 _cf = 0; 15564 _flag_k = FK_TEST; 15565 L_250A922E: 15566 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 15567 L_250A9230: 15568 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 15569 L_250A9233: 15570 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 15571 L_250A923A: 15572 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 15573 L_250A923D: 15574 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 15575 L_250A9240: 15576 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 15577 RECOMP_FLAGS_IN(); 15578 L_250A9245: 15579 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 15580 L_250A9248: 15581 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 15582 L_250A924E: 15583 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 15584 L_250A9254: 15585 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 15586 L_250A925A: 15587 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 15588 L_250A925C: 15589 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 15590 L_250A925E: 15591 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 15592 L_250A9260: 15593 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 15594 L_250A9264: 15595 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 15596 L_250A926B: 15597 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 15598 L_250A9271: 15599 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 15600 L_250A9274: 15601 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 15602 RECOMP_FLAGS_IN(); 15603 L_250A9279: 15604 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 15605 L_250A927C: 15606 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 15607 L_250A9282: 15608 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 15609 L_250A9288: 15610 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 15611 L_250A928E: 15612 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 15613 L_250A9290: 15614 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 15615 L_250A9292: 15616 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 15617 L_250A9294: 15618 PUSH32(esp, edi); /* 0x250A9294: push edi */ 15619 L_250A9295: 15620 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 15621 L_250A9299: 15622 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 15623 L_250A929F: 15624 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 15625 L_250A92A9: 15626 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 15627 L_250A92AC: 15628 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 15629 L_250A92B2: 15630 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 15631 RECOMP_FLAGS_IN(); 15632 L_250A92B7: 15633 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 15634 L_250A92BD: 15635 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 15636 L_250A92C2: 15637 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 15638 L_250A92C8: 15639 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 15640 L_250A92CE: 15641 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 15642 L_250A92D0: 15643 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 15644 L_250A92D1: 15645 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 15646 L_250A92D3: 15647 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 15648 L_250A92D4: 15649 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 15650 L_250A92D8: 15651 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 15652 L_250A92DE: 15653 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 15654 L_250A92E8: 15655 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 15656 L_250A92EB: 15657 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 15658 L_250A92F1: 15659 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 15660 RECOMP_FLAGS_IN(); 15661 L_250A92F6: 15662 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 15663 L_250A92FC: 15664 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 15665 L_250A92FF: 15666 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 15667 L_250A9301: 15668 PUSH32(esp, edi); /* 0x250A9301: push edi */ 15669 L_250A9302: 15670 PUSH32(esp, edi); /* 0x250A9302: push edi */ 15671 L_250A9303: 15672 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 15673 L_250A9307: 15674 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 15675 RECOMP_FLAGS_IN(); 15676 L_250A930C: 15677 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 15678 L_250A930E: 15679 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 15680 RECOMP_FLAGS_IN(); 15681 L_250A9313: 15682 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 15683 L_250A9316: 15684 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 15685 L_250A9319: 15686 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 15687 L_250A931B: 15688 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 15689 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 15690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15691 _flag_k = FK_CMP; 15692 L_250A931D: 15693 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 15694 L_250A9323: 15695 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 15696 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 15697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15698 _flag_k = FK_CMP; 15699 L_250A9327: 15700 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 15701 L_250A932D: 15702 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 15703 L_250A9330: 15704 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 15705 L_250A9333: 15706 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 15707 L_250A9336: 15708 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 15709 L_250A9339: 15710 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 15711 L_250A933B: 15712 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 15713 L_250A933E: 15714 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 15715 L_250A9341: 15716 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 15717 L_250A9344: 15718 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 15719 L_250A9347: 15720 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 15721 L_250A934A: 15722 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 15723 L_250A934B: 15724 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 15725 L_250A934E: 15726 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 15727 L_250A9355: 15728 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 15729 L_250A935C: 15730 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 15731 L_250A9363: 15732 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 15733 L_250A9366: 15734 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 15735 L_250A9369: 15736 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 15737 RECOMP_FLAGS_IN(); 15738 L_250A936F: 15739 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 15740 L_250A9371: 15741 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 15742 L_250A9374: 15743 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 15744 L_250A9377: 15745 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 15746 L_250A937A: 15747 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 15748 L_250A937D: 15749 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 15750 L_250A9380: 15751 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 15752 L_250A9382: 15753 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 15754 L_250A9388: 15755 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 15756 L_250A938B: 15757 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 15758 L_250A938E: 15759 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 15760 L_250A9391: 15761 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 15762 L_250A9394: 15763 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 15764 L_250A9395: 15765 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 15766 L_250A939B: 15767 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 15768 L_250A93A1: 15769 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 15770 L_250A93A7: 15771 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 15772 RECOMP_FLAGS_IN(); 15773 L_250A93AD: 15774 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 15775 L_250A93B0: 15776 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 15777 L_250A93B2: 15778 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 15779 L_250A93B4: 15780 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 15781 L_250A93B7: 15782 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 15783 L_250A93BA: 15784 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 15785 L_250A93BD: 15786 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 15787 L_250A93BF: 15788 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 15789 L_250A93C2: 15790 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 15791 L_250A93C5: 15792 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 15793 L_250A93CA: 15794 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 15795 L_250A93CD: 15796 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 15797 L_250A93D0: 15798 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 15799 L_250A93D3: 15800 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 15801 L_250A93D6: 15802 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 15803 L_250A93D8: 15804 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 15805 L_250A93DB: 15806 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 15807 L_250A93DE: 15808 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 15809 L_250A93E0: 15810 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 15811 L_250A93E3: 15812 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 15813 L_250A93E5: 15814 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 15815 RECOMP_FLAGS_IN(); 15816 L_250A93EB: 15817 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 15818 L_250A93EE: 15819 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 15820 L_250A93EF: 15821 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 15822 L_250A93F2: 15823 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 15824 RECOMP_FLAGS_IN(); 15825 L_250A93F8: 15826 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 15827 L_250A93FB: 15828 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 15829 L_250A93FC: 15830 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 15831 L_250A93FF: 15832 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 15833 RECOMP_FLAGS_IN(); 15834 L_250A9405: 15835 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 15836 L_250A9408: 15837 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 15838 L_250A940A: 15839 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 15840 L_250A940D: 15841 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 15842 L_250A9410: 15843 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 15844 L_250A9413: 15845 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 15846 L_250A9415: 15847 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 15848 L_250A9418: 15849 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 15850 L_250A941A: 15851 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 15852 L_250A9420: 15853 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 15854 L_250A9421: 15855 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 15856 L_250A942B: 15857 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 15858 L_250A9431: 15859 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 15860 L_250A9437: 15861 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 15862 L_250A943D: 15863 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 15864 L_250A9440: 15865 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 15866 L_250A9443: 15867 PUSH32(esp, edx); /* 0x250A9443: push edx */ 15868 L_250A9444: 15869 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 15870 L_250A9447: 15871 PUSH32(esp, eax); /* 0x250A9447: push eax */ 15872 L_250A9448: 15873 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 15874 L_250A944D: 15875 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 15876 L_250A9453: 15877 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 15878 L_250A9454: 15879 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 15880 L_250A9455: 15881 ecx = esi; /* 0x250A9455: mov ecx, esi */ 15882 L_250A9457: 15883 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 15884 RECOMP_FLAGS_IN(); 15885 L_250A945C: 15886 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 15887 L_250A945F: 15888 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 15889 L_250A9461: 15890 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 15891 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 15892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15893 _flag_k = FK_CMP; 15894 L_250A9464: 15895 RECOMP_BACKEDGE(); 15896 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 15897 L_250A946A: 15898 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 15899 L_250A9470: 15900 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 15901 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15902 _cf = 0; 15903 _flag_k = FK_NARROW(FK_TEST, 24); 15904 L_250A9472: 15905 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 15906 L_250A9476: 15907 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 15908 L_250A9478: 15909 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 15910 L_250A947B: 15911 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 15912 L_250A9480: 15913 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 15914 L_250A9486: 15915 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 15916 L_250A9488: 15917 PUSH32(esp, edx); /* 0x250A9488: push edx */ 15918 L_250A9489: 15919 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 15920 L_250A948B: 15921 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 15922 L_250A948D: 15923 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 15924 RECOMP_FLAGS_IN(); 15925 L_250A9492: 15926 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 15927 L_250A9498: 15928 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 15929 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15930 _cf = 0; 15931 _flag_k = FK_NARROW(FK_TEST, 24); 15932 L_250A949A: 15933 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 15934 L_250A949E: 15935 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 15936 L_250A94A0: 15937 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 15938 L_250A94A3: 15939 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 15940 L_250A94A8: 15941 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 15942 L_250A94AE: 15943 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 15944 L_250A94B0: 15945 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 15946 L_250A94B1: 15947 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 15948 L_250A94B3: 15949 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 15950 L_250A94B5: 15951 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 15952 RECOMP_FLAGS_IN(); 15953 L_250A94BA: 15954 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 15955 L_250A94BD: 15956 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 15957 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15958 _cf = 0; 15959 _flag_k = FK_NARROW(FK_TEST, 24); 15960 L_250A94BF: 15961 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 15962 L_250A94C3: 15963 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 15964 L_250A94C5: 15965 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 15966 L_250A94CB: 15967 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 15968 L_250A94D0: 15969 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 15970 L_250A94D6: 15971 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 15972 L_250A94D8: 15973 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 15974 L_250A94D9: 15975 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 15976 L_250A94DB: 15977 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 15978 RECOMP_FLAGS_IN(); 15979 L_250A94E0: 15980 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 15981 L_250A94E3: 15982 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 15983 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15984 _cf = 0; 15985 _flag_k = FK_NARROW(FK_TEST, 24); 15986 L_250A94E5: 15987 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 15988 L_250A94E9: 15989 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 15990 L_250A94EB: 15991 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 15992 L_250A94EE: 15993 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 15994 L_250A94F3: 15995 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 15996 L_250A94F9: 15997 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 15998 L_250A94FB: 15999 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 16000 L_250A94FC: 16001 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 16002 L_250A94FE: 16003 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 16004 RECOMP_FLAGS_IN(); 16005 L_250A9503: 16006 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 16007 L_250A9506: 16008 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 16009 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16010 _cf = 0; 16011 _flag_k = FK_NARROW(FK_TEST, 24); 16012 L_250A9508: 16013 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 16014 L_250A950F: 16015 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 16016 L_250A9511: 16017 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 16018 L_250A9514: 16019 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 16020 L_250A951A: 16021 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 16022 L_250A9520: 16023 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 16024 L_250A9522: 16025 PUSH32(esp, eax); /* 0x250A9522: push eax */ 16026 L_250A9523: 16027 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 16028 L_250A9525: 16029 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 16030 RECOMP_FLAGS_IN(); 16031 L_250A952A: 16032 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 16033 L_250A952D: 16034 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 16035 L_250A952E: 16036 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 16037 L_250A952F: 16038 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 16039 L_250A9530: 16040 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 16041 L_250A9537: 16042 esp = ebp; /* 0x250A9537: mov esp, ebp */ 16043 L_250A9539: 16044 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 16045 L_250A953A: 16046 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 16047 _ljump: 16048 switch (_itail_tgt) { 16049 case 0x250A8B50u: goto L_250A8B50; 16050 case 0x250A8B53u: goto L_250A8B53; 16051 case 0x250A8B57u: goto L_250A8B57; 16052 case 0x250A8B5Du: goto L_250A8B5D; 16053 case 0x250A8B60u: goto L_250A8B60; 16054 case 0x250A8B63u: goto L_250A8B63; 16055 case 0x250A8B66u: goto L_250A8B66; 16056 case 0x250A8B6Cu: goto L_250A8B6C; 16057 case 0x250A8B6Eu: goto L_250A8B6E; 16058 case 0x250A8B71u: goto L_250A8B71; 16059 case 0x250A8B73u: goto L_250A8B73; 16060 case 0x250A8B79u: goto L_250A8B79; 16061 case 0x250A8B7Cu: goto L_250A8B7C; 16062 case 0x250A8B7Eu: goto L_250A8B7E; 16063 case 0x250A8B84u: goto L_250A8B84; 16064 case 0x250A8B87u: goto L_250A8B87; 16065 case 0x250A8B8Bu: goto L_250A8B8B; 16066 case 0x250A8B8Du: goto L_250A8B8D; 16067 case 0x250A8B91u: goto L_250A8B91; 16068 case 0x250A8B96u: goto L_250A8B96; 16069 case 0x250A8B99u: goto L_250A8B99; 16070 case 0x250A8B9Cu: goto L_250A8B9C; 16071 case 0x250A8B9Du: goto L_250A8B9D; 16072 case 0x250A8BA0u: goto L_250A8BA0; 16073 case 0x250A8BA1u: goto L_250A8BA1; 16074 case 0x250A8BA6u: goto L_250A8BA6; 16075 case 0x250A8BABu: goto L_250A8BAB; 16076 case 0x250A8BADu: goto L_250A8BAD; 16077 case 0x250A8BB0u: goto L_250A8BB0; 16078 case 0x250A8BB2u: goto L_250A8BB2; 16079 case 0x250A8BB5u: goto L_250A8BB5; 16080 case 0x250A8BB8u: goto L_250A8BB8; 16081 case 0x250A8BBAu: goto L_250A8BBA; 16082 case 0x250A8BBDu: goto L_250A8BBD; 16083 case 0x250A8BC3u: goto L_250A8BC3; 16084 case 0x250A8BC5u: goto L_250A8BC5; 16085 case 0x250A8BCBu: goto L_250A8BCB; 16086 case 0x250A8BCEu: goto L_250A8BCE; 16087 case 0x250A8BD0u: goto L_250A8BD0; 16088 case 0x250A8BD2u: goto L_250A8BD2; 16089 case 0x250A8BD5u: goto L_250A8BD5; 16090 case 0x250A8BD8u: goto L_250A8BD8; 16091 case 0x250A8BD9u: goto L_250A8BD9; 16092 case 0x250A8BDCu: goto L_250A8BDC; 16093 case 0x250A8BDDu: goto L_250A8BDD; 16094 case 0x250A8BE2u: goto L_250A8BE2; 16095 case 0x250A8BE5u: goto L_250A8BE5; 16096 case 0x250A8BEAu: goto L_250A8BEA; 16097 case 0x250A8BECu: goto L_250A8BEC; 16098 case 0x250A8BF2u: goto L_250A8BF2; 16099 case 0x250A8BF8u: goto L_250A8BF8; 16100 case 0x250A8BFBu: goto L_250A8BFB; 16101 case 0x250A8C01u: goto L_250A8C01; 16102 case 0x250A8C08u: goto L_250A8C08; 16103 case 0x250A8C0Au: goto L_250A8C0A; 16104 case 0x250A8C0Eu: goto L_250A8C0E; 16105 case 0x250A8C14u: goto L_250A8C14; 16106 case 0x250A8C1Au: goto L_250A8C1A; 16107 case 0x250A8C1Du: goto L_250A8C1D; 16108 case 0x250A8C20u: goto L_250A8C20; 16109 case 0x250A8C26u: goto L_250A8C26; 16110 case 0x250A8C2Du: goto L_250A8C2D; 16111 case 0x250A8C30u: goto L_250A8C30; 16112 case 0x250A8C33u: goto L_250A8C33; 16113 case 0x250A8C35u: goto L_250A8C35; 16114 case 0x250A8C3Bu: goto L_250A8C3B; 16115 case 0x250A8C3Cu: goto L_250A8C3C; 16116 case 0x250A8C42u: goto L_250A8C42; 16117 case 0x250A8C43u: goto L_250A8C43; 16118 case 0x250A8C45u: goto L_250A8C45; 16119 case 0x250A8C4Fu: goto L_250A8C4F; 16120 case 0x250A8C55u: goto L_250A8C55; 16121 case 0x250A8C5Au: goto L_250A8C5A; 16122 case 0x250A8C5Fu: goto L_250A8C5F; 16123 case 0x250A8C62u: goto L_250A8C62; 16124 case 0x250A8C65u: goto L_250A8C65; 16125 case 0x250A8C67u: goto L_250A8C67; 16126 case 0x250A8C6Du: goto L_250A8C6D; 16127 case 0x250A8C6Eu: goto L_250A8C6E; 16128 case 0x250A8C74u: goto L_250A8C74; 16129 case 0x250A8C75u: goto L_250A8C75; 16130 case 0x250A8C77u: goto L_250A8C77; 16131 case 0x250A8C81u: goto L_250A8C81; 16132 case 0x250A8C87u: goto L_250A8C87; 16133 case 0x250A8C8Cu: goto L_250A8C8C; 16134 case 0x250A8C91u: goto L_250A8C91; 16135 case 0x250A8C94u: goto L_250A8C94; 16136 case 0x250A8C97u: goto L_250A8C97; 16137 case 0x250A8C99u: goto L_250A8C99; 16138 case 0x250A8C9Fu: goto L_250A8C9F; 16139 case 0x250A8CA0u: goto L_250A8CA0; 16140 case 0x250A8CA6u: goto L_250A8CA6; 16141 case 0x250A8CA7u: goto L_250A8CA7; 16142 case 0x250A8CA9u: goto L_250A8CA9; 16143 case 0x250A8CB3u: goto L_250A8CB3; 16144 case 0x250A8CB9u: goto L_250A8CB9; 16145 case 0x250A8CBEu: goto L_250A8CBE; 16146 case 0x250A8CC3u: goto L_250A8CC3; 16147 case 0x250A8CC6u: goto L_250A8CC6; 16148 case 0x250A8CC9u: goto L_250A8CC9; 16149 case 0x250A8CCBu: goto L_250A8CCB; 16150 case 0x250A8CD1u: goto L_250A8CD1; 16151 case 0x250A8CD2u: goto L_250A8CD2; 16152 case 0x250A8CD8u: goto L_250A8CD8; 16153 case 0x250A8CD9u: goto L_250A8CD9; 16154 case 0x250A8CDBu: goto L_250A8CDB; 16155 case 0x250A8CE5u: goto L_250A8CE5; 16156 case 0x250A8CEBu: goto L_250A8CEB; 16157 case 0x250A8CF0u: goto L_250A8CF0; 16158 case 0x250A8CF5u: goto L_250A8CF5; 16159 case 0x250A8CF8u: goto L_250A8CF8; 16160 case 0x250A8CFBu: goto L_250A8CFB; 16161 case 0x250A8CFDu: goto L_250A8CFD; 16162 case 0x250A8D03u: goto L_250A8D03; 16163 case 0x250A8D04u: goto L_250A8D04; 16164 case 0x250A8D0Au: goto L_250A8D0A; 16165 case 0x250A8D0Bu: goto L_250A8D0B; 16166 case 0x250A8D0Du: goto L_250A8D0D; 16167 case 0x250A8D17u: goto L_250A8D17; 16168 case 0x250A8D1Du: goto L_250A8D1D; 16169 case 0x250A8D22u: goto L_250A8D22; 16170 case 0x250A8D27u: goto L_250A8D27; 16171 case 0x250A8D2Au: goto L_250A8D2A; 16172 case 0x250A8D2Du: goto L_250A8D2D; 16173 case 0x250A8D2Fu: goto L_250A8D2F; 16174 case 0x250A8D35u: goto L_250A8D35; 16175 case 0x250A8D36u: goto L_250A8D36; 16176 case 0x250A8D3Cu: goto L_250A8D3C; 16177 case 0x250A8D3Du: goto L_250A8D3D; 16178 case 0x250A8D3Fu: goto L_250A8D3F; 16179 case 0x250A8D49u: goto L_250A8D49; 16180 case 0x250A8D4Fu: goto L_250A8D4F; 16181 case 0x250A8D54u: goto L_250A8D54; 16182 case 0x250A8D59u: goto L_250A8D59; 16183 case 0x250A8D5Cu: goto L_250A8D5C; 16184 case 0x250A8D5Fu: goto L_250A8D5F; 16185 case 0x250A8D61u: goto L_250A8D61; 16186 case 0x250A8D64u: goto L_250A8D64; 16187 case 0x250A8D65u: goto L_250A8D65; 16188 case 0x250A8D68u: goto L_250A8D68; 16189 case 0x250A8D69u: goto L_250A8D69; 16190 case 0x250A8D6Bu: goto L_250A8D6B; 16191 case 0x250A8D72u: goto L_250A8D72; 16192 case 0x250A8D75u: goto L_250A8D75; 16193 case 0x250A8D7Au: goto L_250A8D7A; 16194 case 0x250A8D7Fu: goto L_250A8D7F; 16195 case 0x250A8D82u: goto L_250A8D82; 16196 case 0x250A8D85u: goto L_250A8D85; 16197 case 0x250A8D87u: goto L_250A8D87; 16198 case 0x250A8D8Au: goto L_250A8D8A; 16199 case 0x250A8D8Bu: goto L_250A8D8B; 16200 case 0x250A8D8Eu: goto L_250A8D8E; 16201 case 0x250A8D8Fu: goto L_250A8D8F; 16202 case 0x250A8D91u: goto L_250A8D91; 16203 case 0x250A8D98u: goto L_250A8D98; 16204 case 0x250A8D9Bu: goto L_250A8D9B; 16205 case 0x250A8DA0u: goto L_250A8DA0; 16206 case 0x250A8DA5u: goto L_250A8DA5; 16207 case 0x250A8DA8u: goto L_250A8DA8; 16208 case 0x250A8DABu: goto L_250A8DAB; 16209 case 0x250A8DADu: goto L_250A8DAD; 16210 case 0x250A8DB0u: goto L_250A8DB0; 16211 case 0x250A8DB1u: goto L_250A8DB1; 16212 case 0x250A8DB4u: goto L_250A8DB4; 16213 case 0x250A8DB5u: goto L_250A8DB5; 16214 case 0x250A8DB7u: goto L_250A8DB7; 16215 case 0x250A8DBEu: goto L_250A8DBE; 16216 case 0x250A8DC1u: goto L_250A8DC1; 16217 case 0x250A8DC6u: goto L_250A8DC6; 16218 case 0x250A8DCBu: goto L_250A8DCB; 16219 case 0x250A8DCEu: goto L_250A8DCE; 16220 case 0x250A8DD0u: goto L_250A8DD0; 16221 case 0x250A8DD2u: goto L_250A8DD2; 16222 case 0x250A8DD5u: goto L_250A8DD5; 16223 case 0x250A8DD8u: goto L_250A8DD8; 16224 case 0x250A8DDEu: goto L_250A8DDE; 16225 case 0x250A8DE1u: goto L_250A8DE1; 16226 case 0x250A8DE7u: goto L_250A8DE7; 16227 case 0x250A8DE8u: goto L_250A8DE8; 16228 case 0x250A8DEEu: goto L_250A8DEE; 16229 case 0x250A8DF5u: goto L_250A8DF5; 16230 case 0x250A8DFCu: goto L_250A8DFC; 16231 case 0x250A8E03u: goto L_250A8E03; 16232 case 0x250A8E09u: goto L_250A8E09; 16233 case 0x250A8E0Fu: goto L_250A8E0F; 16234 case 0x250A8E11u: goto L_250A8E11; 16235 case 0x250A8E17u: goto L_250A8E17; 16236 case 0x250A8E1Au: goto L_250A8E1A; 16237 case 0x250A8E20u: goto L_250A8E20; 16238 case 0x250A8E23u: goto L_250A8E23; 16239 case 0x250A8E29u: goto L_250A8E29; 16240 case 0x250A8E2Au: goto L_250A8E2A; 16241 case 0x250A8E30u: goto L_250A8E30; 16242 case 0x250A8E31u: goto L_250A8E31; 16243 case 0x250A8E33u: goto L_250A8E33; 16244 case 0x250A8E39u: goto L_250A8E39; 16245 case 0x250A8E3Fu: goto L_250A8E3F; 16246 case 0x250A8E42u: goto L_250A8E42; 16247 case 0x250A8E44u: goto L_250A8E44; 16248 case 0x250A8E46u: goto L_250A8E46; 16249 case 0x250A8E49u: goto L_250A8E49; 16250 case 0x250A8E4Cu: goto L_250A8E4C; 16251 case 0x250A8E4Fu: goto L_250A8E4F; 16252 case 0x250A8E52u: goto L_250A8E52; 16253 case 0x250A8E53u: goto L_250A8E53; 16254 case 0x250A8E59u: goto L_250A8E59; 16255 case 0x250A8E5Cu: goto L_250A8E5C; 16256 case 0x250A8E5Fu: goto L_250A8E5F; 16257 case 0x250A8E65u: goto L_250A8E65; 16258 case 0x250A8E6Au: goto L_250A8E6A; 16259 case 0x250A8E6Du: goto L_250A8E6D; 16260 case 0x250A8E73u: goto L_250A8E73; 16261 case 0x250A8E79u: goto L_250A8E79; 16262 case 0x250A8E7Au: goto L_250A8E7A; 16263 case 0x250A8E7Du: goto L_250A8E7D; 16264 case 0x250A8E83u: goto L_250A8E83; 16265 case 0x250A8E86u: goto L_250A8E86; 16266 case 0x250A8E87u: goto L_250A8E87; 16267 case 0x250A8E8Au: goto L_250A8E8A; 16268 case 0x250A8E90u: goto L_250A8E90; 16269 case 0x250A8E93u: goto L_250A8E93; 16270 case 0x250A8E95u: goto L_250A8E95; 16271 case 0x250A8E97u: goto L_250A8E97; 16272 case 0x250A8E9Au: goto L_250A8E9A; 16273 case 0x250A8E9Cu: goto L_250A8E9C; 16274 case 0x250A8E9Eu: goto L_250A8E9E; 16275 case 0x250A8E9Fu: goto L_250A8E9F; 16276 case 0x250A8EA1u: goto L_250A8EA1; 16277 case 0x250A8EA3u: goto L_250A8EA3; 16278 case 0x250A8EA5u: goto L_250A8EA5; 16279 case 0x250A8EA7u: goto L_250A8EA7; 16280 case 0x250A8EAAu: goto L_250A8EAA; 16281 case 0x250A8EAFu: goto L_250A8EAF; 16282 case 0x250A8EB1u: goto L_250A8EB1; 16283 case 0x250A8EB6u: goto L_250A8EB6; 16284 case 0x250A8EB9u: goto L_250A8EB9; 16285 case 0x250A8EBBu: goto L_250A8EBB; 16286 case 0x250A8EBEu: goto L_250A8EBE; 16287 case 0x250A8EC1u: goto L_250A8EC1; 16288 case 0x250A8EC4u: goto L_250A8EC4; 16289 case 0x250A8EC6u: goto L_250A8EC6; 16290 case 0x250A8EC9u: goto L_250A8EC9; 16291 case 0x250A8ECBu: goto L_250A8ECB; 16292 case 0x250A8ECEu: goto L_250A8ECE; 16293 case 0x250A8ED0u: goto L_250A8ED0; 16294 case 0x250A8ED2u: goto L_250A8ED2; 16295 case 0x250A8ED5u: goto L_250A8ED5; 16296 case 0x250A8ED8u: goto L_250A8ED8; 16297 case 0x250A8EDBu: goto L_250A8EDB; 16298 case 0x250A8EE2u: goto L_250A8EE2; 16299 case 0x250A8EE3u: goto L_250A8EE3; 16300 case 0x250A8EE4u: goto L_250A8EE4; 16301 case 0x250A8EE5u: goto L_250A8EE5; 16302 case 0x250A8EE7u: goto L_250A8EE7; 16303 case 0x250A8EEDu: goto L_250A8EED; 16304 case 0x250A8EF3u: goto L_250A8EF3; 16305 case 0x250A8EF6u: goto L_250A8EF6; 16306 case 0x250A8EF7u: goto L_250A8EF7; 16307 case 0x250A8EF8u: goto L_250A8EF8; 16308 case 0x250A8EFDu: goto L_250A8EFD; 16309 case 0x250A8F00u: goto L_250A8F00; 16310 case 0x250A8F02u: goto L_250A8F02; 16311 case 0x250A8F04u: goto L_250A8F04; 16312 case 0x250A8F07u: goto L_250A8F07; 16313 case 0x250A8F09u: goto L_250A8F09; 16314 case 0x250A8F0Bu: goto L_250A8F0B; 16315 case 0x250A8F0Cu: goto L_250A8F0C; 16316 case 0x250A8F0Eu: goto L_250A8F0E; 16317 case 0x250A8F10u: goto L_250A8F10; 16318 case 0x250A8F12u: goto L_250A8F12; 16319 case 0x250A8F14u: goto L_250A8F14; 16320 case 0x250A8F17u: goto L_250A8F17; 16321 case 0x250A8F1Cu: goto L_250A8F1C; 16322 case 0x250A8F1Eu: goto L_250A8F1E; 16323 case 0x250A8F23u: goto L_250A8F23; 16324 case 0x250A8F26u: goto L_250A8F26; 16325 case 0x250A8F29u: goto L_250A8F29; 16326 case 0x250A8F2Bu: goto L_250A8F2B; 16327 case 0x250A8F2Eu: goto L_250A8F2E; 16328 case 0x250A8F31u: goto L_250A8F31; 16329 case 0x250A8F37u: goto L_250A8F37; 16330 case 0x250A8F3Du: goto L_250A8F3D; 16331 case 0x250A8F3Fu: goto L_250A8F3F; 16332 case 0x250A8F45u: goto L_250A8F45; 16333 case 0x250A8F4Bu: goto L_250A8F4B; 16334 case 0x250A8F4Du: goto L_250A8F4D; 16335 case 0x250A8F52u: goto L_250A8F52; 16336 case 0x250A8F54u: goto L_250A8F54; 16337 case 0x250A8F57u: goto L_250A8F57; 16338 case 0x250A8F59u: goto L_250A8F59; 16339 case 0x250A8F5Cu: goto L_250A8F5C; 16340 case 0x250A8F5Eu: goto L_250A8F5E; 16341 case 0x250A8F64u: goto L_250A8F64; 16342 case 0x250A8F67u: goto L_250A8F67; 16343 case 0x250A8F69u: goto L_250A8F69; 16344 case 0x250A8F6Bu: goto L_250A8F6B; 16345 case 0x250A8F6Eu: goto L_250A8F6E; 16346 case 0x250A8F70u: goto L_250A8F70; 16347 case 0x250A8F72u: goto L_250A8F72; 16348 case 0x250A8F73u: goto L_250A8F73; 16349 case 0x250A8F75u: goto L_250A8F75; 16350 case 0x250A8F77u: goto L_250A8F77; 16351 case 0x250A8F79u: goto L_250A8F79; 16352 case 0x250A8F7Bu: goto L_250A8F7B; 16353 case 0x250A8F7Eu: goto L_250A8F7E; 16354 case 0x250A8F83u: goto L_250A8F83; 16355 case 0x250A8F85u: goto L_250A8F85; 16356 case 0x250A8F8Au: goto L_250A8F8A; 16357 case 0x250A8F8Cu: goto L_250A8F8C; 16358 case 0x250A8F96u: goto L_250A8F96; 16359 case 0x250A8FA0u: goto L_250A8FA0; 16360 case 0x250A8FAAu: goto L_250A8FAA; 16361 case 0x250A8FB4u: goto L_250A8FB4; 16362 case 0x250A8FBEu: goto L_250A8FBE; 16363 case 0x250A8FC8u: goto L_250A8FC8; 16364 case 0x250A8FD2u: goto L_250A8FD2; 16365 case 0x250A8FDCu: goto L_250A8FDC; 16366 case 0x250A8FE6u: goto L_250A8FE6; 16367 case 0x250A8FE9u: goto L_250A8FE9; 16368 case 0x250A8FECu: goto L_250A8FEC; 16369 case 0x250A8FF2u: goto L_250A8FF2; 16370 case 0x250A8FF4u: goto L_250A8FF4; 16371 case 0x250A8FFAu: goto L_250A8FFA; 16372 case 0x250A9000u: goto L_250A9000; 16373 case 0x250A9002u: goto L_250A9002; 16374 case 0x250A9007u: goto L_250A9007; 16375 case 0x250A9009u: goto L_250A9009; 16376 case 0x250A900Cu: goto L_250A900C; 16377 case 0x250A900Fu: goto L_250A900F; 16378 case 0x250A9011u: goto L_250A9011; 16379 case 0x250A9014u: goto L_250A9014; 16380 case 0x250A9016u: goto L_250A9016; 16381 case 0x250A9018u: goto L_250A9018; 16382 case 0x250A901Eu: goto L_250A901E; 16383 case 0x250A9021u: goto L_250A9021; 16384 case 0x250A9027u: goto L_250A9027; 16385 case 0x250A902Au: goto L_250A902A; 16386 case 0x250A902Du: goto L_250A902D; 16387 case 0x250A902Eu: goto L_250A902E; 16388 case 0x250A9030u: goto L_250A9030; 16389 case 0x250A9031u: goto L_250A9031; 16390 case 0x250A9033u: goto L_250A9033; 16391 case 0x250A9038u: goto L_250A9038; 16392 case 0x250A903Au: goto L_250A903A; 16393 case 0x250A903Fu: goto L_250A903F; 16394 case 0x250A9041u: goto L_250A9041; 16395 case 0x250A9043u: goto L_250A9043; 16396 case 0x250A9046u: goto L_250A9046; 16397 case 0x250A9048u: goto L_250A9048; 16398 case 0x250A9049u: goto L_250A9049; 16399 case 0x250A904Cu: goto L_250A904C; 16400 case 0x250A904Eu: goto L_250A904E; 16401 case 0x250A9055u: goto L_250A9055; 16402 case 0x250A9057u: goto L_250A9057; 16403 case 0x250A9059u: goto L_250A9059; 16404 case 0x250A905Eu: goto L_250A905E; 16405 case 0x250A9060u: goto L_250A9060; 16406 case 0x250A9065u: goto L_250A9065; 16407 case 0x250A9068u: goto L_250A9068; 16408 case 0x250A906Au: goto L_250A906A; 16409 case 0x250A9071u: goto L_250A9071; 16410 case 0x250A9076u: goto L_250A9076; 16411 case 0x250A9078u: goto L_250A9078; 16412 case 0x250A9079u: goto L_250A9079; 16413 case 0x250A907Bu: goto L_250A907B; 16414 case 0x250A907Eu: goto L_250A907E; 16415 case 0x250A9080u: goto L_250A9080; 16416 case 0x250A9082u: goto L_250A9082; 16417 case 0x250A9084u: goto L_250A9084; 16418 case 0x250A9087u: goto L_250A9087; 16419 case 0x250A908Au: goto L_250A908A; 16420 case 0x250A9090u: goto L_250A9090; 16421 case 0x250A9092u: goto L_250A9092; 16422 case 0x250A9093u: goto L_250A9093; 16423 case 0x250A9095u: goto L_250A9095; 16424 case 0x250A9096u: goto L_250A9096; 16425 case 0x250A9099u: goto L_250A9099; 16426 case 0x250A909Au: goto L_250A909A; 16427 case 0x250A909Du: goto L_250A909D; 16428 case 0x250A909Eu: goto L_250A909E; 16429 case 0x250A909Fu: goto L_250A909F; 16430 case 0x250A90A0u: goto L_250A90A0; 16431 case 0x250A90A2u: goto L_250A90A2; 16432 case 0x250A90A7u: goto L_250A90A7; 16433 case 0x250A90AAu: goto L_250A90AA; 16434 case 0x250A90ADu: goto L_250A90AD; 16435 case 0x250A90AEu: goto L_250A90AE; 16436 case 0x250A90B1u: goto L_250A90B1; 16437 case 0x250A90B4u: goto L_250A90B4; 16438 case 0x250A90B9u: goto L_250A90B9; 16439 case 0x250A90BCu: goto L_250A90BC; 16440 case 0x250A90BEu: goto L_250A90BE; 16441 case 0x250A90C4u: goto L_250A90C4; 16442 case 0x250A90C7u: goto L_250A90C7; 16443 case 0x250A90C9u: goto L_250A90C9; 16444 case 0x250A90CFu: goto L_250A90CF; 16445 case 0x250A90D2u: goto L_250A90D2; 16446 case 0x250A90D4u: goto L_250A90D4; 16447 case 0x250A90D6u: goto L_250A90D6; 16448 case 0x250A90D9u: goto L_250A90D9; 16449 case 0x250A90DBu: goto L_250A90DB; 16450 case 0x250A90DDu: goto L_250A90DD; 16451 case 0x250A90DEu: goto L_250A90DE; 16452 case 0x250A90E0u: goto L_250A90E0; 16453 case 0x250A90E2u: goto L_250A90E2; 16454 case 0x250A90E4u: goto L_250A90E4; 16455 case 0x250A90E6u: goto L_250A90E6; 16456 case 0x250A90E9u: goto L_250A90E9; 16457 case 0x250A90EEu: goto L_250A90EE; 16458 case 0x250A90F0u: goto L_250A90F0; 16459 case 0x250A90F5u: goto L_250A90F5; 16460 case 0x250A90F7u: goto L_250A90F7; 16461 case 0x250A90FAu: goto L_250A90FA; 16462 case 0x250A9100u: goto L_250A9100; 16463 case 0x250A9102u: goto L_250A9102; 16464 case 0x250A9104u: goto L_250A9104; 16465 case 0x250A910Au: goto L_250A910A; 16466 case 0x250A910Cu: goto L_250A910C; 16467 case 0x250A9111u: goto L_250A9111; 16468 case 0x250A9113u: goto L_250A9113; 16469 case 0x250A9116u: goto L_250A9116; 16470 case 0x250A9118u: goto L_250A9118; 16471 case 0x250A911Bu: goto L_250A911B; 16472 case 0x250A911Du: goto L_250A911D; 16473 case 0x250A911Fu: goto L_250A911F; 16474 case 0x250A9121u: goto L_250A9121; 16475 case 0x250A9127u: goto L_250A9127; 16476 case 0x250A912Au: goto L_250A912A; 16477 case 0x250A912Du: goto L_250A912D; 16478 case 0x250A9130u: goto L_250A9130; 16479 case 0x250A9132u: goto L_250A9132; 16480 case 0x250A9134u: goto L_250A9134; 16481 case 0x250A9137u: goto L_250A9137; 16482 case 0x250A913Cu: goto L_250A913C; 16483 case 0x250A913Eu: goto L_250A913E; 16484 case 0x250A9143u: goto L_250A9143; 16485 case 0x250A9144u: goto L_250A9144; 16486 case 0x250A9149u: goto L_250A9149; 16487 case 0x250A914Eu: goto L_250A914E; 16488 case 0x250A9150u: goto L_250A9150; 16489 case 0x250A9152u: goto L_250A9152; 16490 case 0x250A9154u: goto L_250A9154; 16491 case 0x250A9156u: goto L_250A9156; 16492 case 0x250A9157u: goto L_250A9157; 16493 case 0x250A9158u: goto L_250A9158; 16494 case 0x250A915Au: goto L_250A915A; 16495 case 0x250A915Fu: goto L_250A915F; 16496 case 0x250A9162u: goto L_250A9162; 16497 case 0x250A9163u: goto L_250A9163; 16498 case 0x250A9166u: goto L_250A9166; 16499 case 0x250A9169u: goto L_250A9169; 16500 case 0x250A916Bu: goto L_250A916B; 16501 case 0x250A916Eu: goto L_250A916E; 16502 case 0x250A9170u: goto L_250A9170; 16503 case 0x250A9172u: goto L_250A9172; 16504 case 0x250A9178u: goto L_250A9178; 16505 case 0x250A917Du: goto L_250A917D; 16506 case 0x250A9183u: goto L_250A9183; 16507 case 0x250A9188u: goto L_250A9188; 16508 case 0x250A918Eu: goto L_250A918E; 16509 case 0x250A9190u: goto L_250A9190; 16510 case 0x250A9192u: goto L_250A9192; 16511 case 0x250A9195u: goto L_250A9195; 16512 case 0x250A9197u: goto L_250A9197; 16513 case 0x250A919Au: goto L_250A919A; 16514 case 0x250A919Du: goto L_250A919D; 16515 case 0x250A91A2u: goto L_250A91A2; 16516 case 0x250A91A4u: goto L_250A91A4; 16517 case 0x250A91A6u: goto L_250A91A6; 16518 case 0x250A91A8u: goto L_250A91A8; 16519 case 0x250A91ABu: goto L_250A91AB; 16520 case 0x250A91ADu: goto L_250A91AD; 16521 case 0x250A91B0u: goto L_250A91B0; 16522 case 0x250A91B1u: goto L_250A91B1; 16523 case 0x250A91B2u: goto L_250A91B2; 16524 case 0x250A91B4u: goto L_250A91B4; 16525 case 0x250A91B7u: goto L_250A91B7; 16526 case 0x250A91BAu: goto L_250A91BA; 16527 case 0x250A91BCu: goto L_250A91BC; 16528 case 0x250A91BFu: goto L_250A91BF; 16529 case 0x250A91C5u: goto L_250A91C5; 16530 case 0x250A91C8u: goto L_250A91C8; 16531 case 0x250A91CBu: goto L_250A91CB; 16532 case 0x250A91D1u: goto L_250A91D1; 16533 case 0x250A91D4u: goto L_250A91D4; 16534 case 0x250A91D7u: goto L_250A91D7; 16535 case 0x250A91DCu: goto L_250A91DC; 16536 case 0x250A91E2u: goto L_250A91E2; 16537 case 0x250A91E4u: goto L_250A91E4; 16538 case 0x250A91EAu: goto L_250A91EA; 16539 case 0x250A91F0u: goto L_250A91F0; 16540 case 0x250A91F6u: goto L_250A91F6; 16541 case 0x250A91FCu: goto L_250A91FC; 16542 case 0x250A91FEu: goto L_250A91FE; 16543 case 0x250A9200u: goto L_250A9200; 16544 case 0x250A9202u: goto L_250A9202; 16545 case 0x250A9209u: goto L_250A9209; 16546 case 0x250A920Cu: goto L_250A920C; 16547 case 0x250A920Fu: goto L_250A920F; 16548 case 0x250A9214u: goto L_250A9214; 16549 case 0x250A9217u: goto L_250A9217; 16550 case 0x250A921Cu: goto L_250A921C; 16551 case 0x250A9222u: goto L_250A9222; 16552 case 0x250A9228u: goto L_250A9228; 16553 case 0x250A922Au: goto L_250A922A; 16554 case 0x250A922Cu: goto L_250A922C; 16555 case 0x250A922Eu: goto L_250A922E; 16556 case 0x250A9230u: goto L_250A9230; 16557 case 0x250A9233u: goto L_250A9233; 16558 case 0x250A923Au: goto L_250A923A; 16559 case 0x250A923Du: goto L_250A923D; 16560 case 0x250A9240u: goto L_250A9240; 16561 case 0x250A9245u: goto L_250A9245; 16562 case 0x250A9248u: goto L_250A9248; 16563 case 0x250A924Eu: goto L_250A924E; 16564 case 0x250A9254u: goto L_250A9254; 16565 case 0x250A925Au: goto L_250A925A; 16566 case 0x250A925Cu: goto L_250A925C; 16567 case 0x250A925Eu: goto L_250A925E; 16568 case 0x250A9260u: goto L_250A9260; 16569 case 0x250A9264u: goto L_250A9264; 16570 case 0x250A926Bu: goto L_250A926B; 16571 case 0x250A9271u: goto L_250A9271; 16572 case 0x250A9274u: goto L_250A9274; 16573 case 0x250A9279u: goto L_250A9279; 16574 case 0x250A927Cu: goto L_250A927C; 16575 case 0x250A9282u: goto L_250A9282; 16576 case 0x250A9288u: goto L_250A9288; 16577 case 0x250A928Eu: goto L_250A928E; 16578 case 0x250A9290u: goto L_250A9290; 16579 case 0x250A9292u: goto L_250A9292; 16580 case 0x250A9294u: goto L_250A9294; 16581 case 0x250A9295u: goto L_250A9295; 16582 case 0x250A9299u: goto L_250A9299; 16583 case 0x250A929Fu: goto L_250A929F; 16584 case 0x250A92A9u: goto L_250A92A9; 16585 case 0x250A92ACu: goto L_250A92AC; 16586 case 0x250A92B2u: goto L_250A92B2; 16587 case 0x250A92B7u: goto L_250A92B7; 16588 case 0x250A92BDu: goto L_250A92BD; 16589 case 0x250A92C2u: goto L_250A92C2; 16590 case 0x250A92C8u: goto L_250A92C8; 16591 case 0x250A92CEu: goto L_250A92CE; 16592 case 0x250A92D0u: goto L_250A92D0; 16593 case 0x250A92D1u: goto L_250A92D1; 16594 case 0x250A92D3u: goto L_250A92D3; 16595 case 0x250A92D4u: goto L_250A92D4; 16596 case 0x250A92D8u: goto L_250A92D8; 16597 case 0x250A92DEu: goto L_250A92DE; 16598 case 0x250A92E8u: goto L_250A92E8; 16599 case 0x250A92EBu: goto L_250A92EB; 16600 case 0x250A92F1u: goto L_250A92F1; 16601 case 0x250A92F6u: goto L_250A92F6; 16602 case 0x250A92FCu: goto L_250A92FC; 16603 case 0x250A92FFu: goto L_250A92FF; 16604 case 0x250A9301u: goto L_250A9301; 16605 case 0x250A9302u: goto L_250A9302; 16606 case 0x250A9303u: goto L_250A9303; 16607 case 0x250A9307u: goto L_250A9307; 16608 case 0x250A930Cu: goto L_250A930C; 16609 case 0x250A930Eu: goto L_250A930E; 16610 case 0x250A9313u: goto L_250A9313; 16611 case 0x250A9316u: goto L_250A9316; 16612 case 0x250A9319u: goto L_250A9319; 16613 case 0x250A931Bu: goto L_250A931B; 16614 case 0x250A931Du: goto L_250A931D; 16615 case 0x250A9323u: goto L_250A9323; 16616 case 0x250A9327u: goto L_250A9327; 16617 case 0x250A932Du: goto L_250A932D; 16618 case 0x250A9330u: goto L_250A9330; 16619 case 0x250A9333u: goto L_250A9333; 16620 case 0x250A9336u: goto L_250A9336; 16621 case 0x250A9339u: goto L_250A9339; 16622 case 0x250A933Bu: goto L_250A933B; 16623 case 0x250A933Eu: goto L_250A933E; 16624 case 0x250A9341u: goto L_250A9341; 16625 case 0x250A9344u: goto L_250A9344; 16626 case 0x250A9347u: goto L_250A9347; 16627 case 0x250A934Au: goto L_250A934A; 16628 case 0x250A934Bu: goto L_250A934B; 16629 case 0x250A934Eu: goto L_250A934E; 16630 case 0x250A9355u: goto L_250A9355; 16631 case 0x250A935Cu: goto L_250A935C; 16632 case 0x250A9363u: goto L_250A9363; 16633 case 0x250A9366u: goto L_250A9366; 16634 case 0x250A9369u: goto L_250A9369; 16635 case 0x250A936Fu: goto L_250A936F; 16636 case 0x250A9371u: goto L_250A9371; 16637 case 0x250A9374u: goto L_250A9374; 16638 case 0x250A9377u: goto L_250A9377; 16639 case 0x250A937Au: goto L_250A937A; 16640 case 0x250A937Du: goto L_250A937D; 16641 case 0x250A9380u: goto L_250A9380; 16642 case 0x250A9382u: goto L_250A9382; 16643 case 0x250A9388u: goto L_250A9388; 16644 case 0x250A938Bu: goto L_250A938B; 16645 case 0x250A938Eu: goto L_250A938E; 16646 case 0x250A9391u: goto L_250A9391; 16647 case 0x250A9394u: goto L_250A9394; 16648 case 0x250A9395u: goto L_250A9395; 16649 case 0x250A939Bu: goto L_250A939B; 16650 case 0x250A93A1u: goto L_250A93A1; 16651 case 0x250A93A7u: goto L_250A93A7; 16652 case 0x250A93ADu: goto L_250A93AD; 16653 case 0x250A93B0u: goto L_250A93B0; 16654 case 0x250A93B2u: goto L_250A93B2; 16655 case 0x250A93B4u: goto L_250A93B4; 16656 case 0x250A93B7u: goto L_250A93B7; 16657 case 0x250A93BAu: goto L_250A93BA; 16658 case 0x250A93BDu: goto L_250A93BD; 16659 case 0x250A93BFu: goto L_250A93BF; 16660 case 0x250A93C2u: goto L_250A93C2; 16661 case 0x250A93C5u: goto L_250A93C5; 16662 case 0x250A93CAu: goto L_250A93CA; 16663 case 0x250A93CDu: goto L_250A93CD; 16664 case 0x250A93D0u: goto L_250A93D0; 16665 case 0x250A93D3u: goto L_250A93D3; 16666 case 0x250A93D6u: goto L_250A93D6; 16667 case 0x250A93D8u: goto L_250A93D8; 16668 case 0x250A93DBu: goto L_250A93DB; 16669 case 0x250A93DEu: goto L_250A93DE; 16670 case 0x250A93E0u: goto L_250A93E0; 16671 case 0x250A93E3u: goto L_250A93E3; 16672 case 0x250A93E5u: goto L_250A93E5; 16673 case 0x250A93EBu: goto L_250A93EB; 16674 case 0x250A93EEu: goto L_250A93EE; 16675 case 0x250A93EFu: goto L_250A93EF; 16676 case 0x250A93F2u: goto L_250A93F2; 16677 case 0x250A93F8u: goto L_250A93F8; 16678 case 0x250A93FBu: goto L_250A93FB; 16679 case 0x250A93FCu: goto L_250A93FC; 16680 case 0x250A93FFu: goto L_250A93FF; 16681 case 0x250A9405u: goto L_250A9405; 16682 case 0x250A9408u: goto L_250A9408; 16683 case 0x250A940Au: goto L_250A940A; 16684 case 0x250A940Du: goto L_250A940D; 16685 case 0x250A9410u: goto L_250A9410; 16686 case 0x250A9413u: goto L_250A9413; 16687 case 0x250A9415u: goto L_250A9415; 16688 case 0x250A9418u: goto L_250A9418; 16689 case 0x250A941Au: goto L_250A941A; 16690 case 0x250A9420u: goto L_250A9420; 16691 case 0x250A9421u: goto L_250A9421; 16692 case 0x250A942Bu: goto L_250A942B; 16693 case 0x250A9431u: goto L_250A9431; 16694 case 0x250A9437u: goto L_250A9437; 16695 case 0x250A943Du: goto L_250A943D; 16696 case 0x250A9440u: goto L_250A9440; 16697 case 0x250A9443u: goto L_250A9443; 16698 case 0x250A9444u: goto L_250A9444; 16699 case 0x250A9447u: goto L_250A9447; 16700 case 0x250A9448u: goto L_250A9448; 16701 case 0x250A944Du: goto L_250A944D; 16702 case 0x250A9453u: goto L_250A9453; 16703 case 0x250A9454u: goto L_250A9454; 16704 case 0x250A9455u: goto L_250A9455; 16705 case 0x250A9457u: goto L_250A9457; 16706 case 0x250A945Cu: goto L_250A945C; 16707 case 0x250A945Fu: goto L_250A945F; 16708 case 0x250A9461u: goto L_250A9461; 16709 case 0x250A9464u: goto L_250A9464; 16710 case 0x250A946Au: goto L_250A946A; 16711 case 0x250A9470u: goto L_250A9470; 16712 case 0x250A9472u: goto L_250A9472; 16713 case 0x250A9476u: goto L_250A9476; 16714 case 0x250A9478u: goto L_250A9478; 16715 case 0x250A947Bu: goto L_250A947B; 16716 case 0x250A9480u: goto L_250A9480; 16717 case 0x250A9486u: goto L_250A9486; 16718 case 0x250A9488u: goto L_250A9488; 16719 case 0x250A9489u: goto L_250A9489; 16720 case 0x250A948Bu: goto L_250A948B; 16721 case 0x250A948Du: goto L_250A948D; 16722 case 0x250A9492u: goto L_250A9492; 16723 case 0x250A9498u: goto L_250A9498; 16724 case 0x250A949Au: goto L_250A949A; 16725 case 0x250A949Eu: goto L_250A949E; 16726 case 0x250A94A0u: goto L_250A94A0; 16727 case 0x250A94A3u: goto L_250A94A3; 16728 case 0x250A94A8u: goto L_250A94A8; 16729 case 0x250A94AEu: goto L_250A94AE; 16730 case 0x250A94B0u: goto L_250A94B0; 16731 case 0x250A94B1u: goto L_250A94B1; 16732 case 0x250A94B3u: goto L_250A94B3; 16733 case 0x250A94B5u: goto L_250A94B5; 16734 case 0x250A94BAu: goto L_250A94BA; 16735 case 0x250A94BDu: goto L_250A94BD; 16736 case 0x250A94BFu: goto L_250A94BF; 16737 case 0x250A94C3u: goto L_250A94C3; 16738 case 0x250A94C5u: goto L_250A94C5; 16739 case 0x250A94CBu: goto L_250A94CB; 16740 case 0x250A94D0u: goto L_250A94D0; 16741 case 0x250A94D6u: goto L_250A94D6; 16742 case 0x250A94D8u: goto L_250A94D8; 16743 case 0x250A94D9u: goto L_250A94D9; 16744 case 0x250A94DBu: goto L_250A94DB; 16745 case 0x250A94E0u: goto L_250A94E0; 16746 case 0x250A94E3u: goto L_250A94E3; 16747 case 0x250A94E5u: goto L_250A94E5; 16748 case 0x250A94E9u: goto L_250A94E9; 16749 case 0x250A94EBu: goto L_250A94EB; 16750 case 0x250A94EEu: goto L_250A94EE; 16751 case 0x250A94F3u: goto L_250A94F3; 16752 case 0x250A94F9u: goto L_250A94F9; 16753 case 0x250A94FBu: goto L_250A94FB; 16754 case 0x250A94FCu: goto L_250A94FC; 16755 case 0x250A94FEu: goto L_250A94FE; 16756 case 0x250A9503u: goto L_250A9503; 16757 case 0x250A9506u: goto L_250A9506; 16758 case 0x250A9508u: goto L_250A9508; 16759 case 0x250A950Fu: goto L_250A950F; 16760 case 0x250A9511u: goto L_250A9511; 16761 case 0x250A9514u: goto L_250A9514; 16762 case 0x250A951Au: goto L_250A951A; 16763 case 0x250A9520u: goto L_250A9520; 16764 case 0x250A9522u: goto L_250A9522; 16765 case 0x250A9523u: goto L_250A9523; 16766 case 0x250A9525u: goto L_250A9525; 16767 case 0x250A952Au: goto L_250A952A; 16768 case 0x250A952Du: goto L_250A952D; 16769 case 0x250A952Eu: goto L_250A952E; 16770 case 0x250A952Fu: goto L_250A952F; 16771 case 0x250A9530u: goto L_250A9530; 16772 case 0x250A9537u: goto L_250A9537; 16773 case 0x250A9539u: goto L_250A9539; 16774 case 0x250A953Au: goto L_250A953A; 16775 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 16776 } 16777 RECOMP_REGS_OUT(); 16778 } 16779 16780 void sub_250A8F26(void) { 16781 int _fpu_cmp = 0; 16782 uint32_t _cf = 0; 16783 int _df = 1; 16784 uint32_t _flag_k = FK_NONE; 16785 uint32_t _flag_a = 0, _flag_b = 0; 16786 uint32_t _itail_tgt = 0; 16787 RECOMP_REGS_LOCALS 16788 RECOMP_ENTER(0x250A8F26u); 16789 16790 goto L_250A8F26; 16791 L_250A8B50: 16792 edi = MEM32(ebp + (-0x1C)); /* 0x250A8B50: mov edi, dword ptr [ebp - 0x1c] */ 16793 L_250A8B53: 16794 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A8B53: cmp dword ptr [edi + 0x34], 9 */ 16795 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 16796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16797 _flag_k = FK_CMP; 16798 L_250A8B57: 16799 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8B57: je 0x250a8f26 */ 16800 L_250A8B5D: 16801 eax = MEM32(edi + 0x18); /* 0x250A8B5D: mov eax, dword ptr [edi + 0x18] */ 16802 L_250A8B60: 16803 edx = MEM32(edi + 0x10); /* 0x250A8B60: mov edx, dword ptr [edi + 0x10] */ 16804 L_250A8B63: 16805 MEM32(ebp + (-0x14)) = eax; /* 0x250A8B63: mov dword ptr [ebp - 0x14], eax */ 16806 L_250A8B66: 16807 SET_LO8(eax, MEM8(esi + 0xDE)); /* 0x250A8B66: mov al, byte ptr [esi + 0xde] */ 16808 L_250A8B6C: 16809 /* test LO8(eax), LO8(eax) */ /* 0x250A8B6C: test al, al */ 16810 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16811 _cf = 0; 16812 _flag_k = FK_NARROW(FK_TEST, 24); 16813 L_250A8B6E: 16814 MEM32(ebp + (-0x10)) = edx; /* 0x250A8B6E: mov dword ptr [ebp - 0x10], edx */ 16815 L_250A8B71: 16816 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B8D; /* 0x250A8B71: je 0x250a8b8d */ 16817 L_250A8B73: 16818 ecx = MEM32(esi + 0x94); /* 0x250A8B73: mov ecx, dword ptr [esi + 0x94] */ 16819 L_250A8B79: 16820 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x250A8B79: cmp ecx, dword ptr [edi + 0xc] */ 16821 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 16822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16823 _flag_k = FK_CMP; 16824 L_250A8B7C: 16825 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B8D; /* 0x250A8B7C: jne 0x250a8b8d */ 16826 L_250A8B7E: 16827 edx = MEM32(esi + 0x90); /* 0x250A8B7E: mov edx, dword ptr [esi + 0x90] */ 16828 L_250A8B84: 16829 /* cmp edx, MEM32(edi + 0x8) */ /* 0x250A8B84: cmp edx, dword ptr [edi + 8] */ 16830 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16832 _flag_k = FK_CMP; 16833 L_250A8B87: 16834 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x250A8B87: mov byte ptr [ebp + 0xb], 1 */ 16835 L_250A8B8B: 16836 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8B91; /* 0x250A8B8B: je 0x250a8b91 */ 16837 L_250A8B8D: 16838 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x250A8B8D: mov byte ptr [ebp + 0xb], 0 */ 16839 L_250A8B91: 16840 eax = MEM32(0x25238574); /* 0x250A8B91: mov eax, dword ptr [0x25238574] */ 16841 L_250A8B96: 16842 MEM32(ebp + (-0x30)) = eax; /* 0x250A8B96: mov dword ptr [ebp - 0x30], eax */ 16843 L_250A8B99: 16844 eax = edi + 0x8; /* 0x250A8B99: lea eax, [edi + 8] */ 16845 L_250A8B9C: 16846 PUSH32(esp, eax); /* 0x250A8B9C: push eax */ 16847 L_250A8B9D: 16848 ecx = ebp + (-0x44); /* 0x250A8B9D: lea ecx, [ebp - 0x44] */ 16849 L_250A8BA0: 16850 PUSH32(esp, ecx); /* 0x250A8BA0: push ecx */ 16851 L_250A8BA1: 16852 ecx = 0x25238570u; /* 0x250A8BA1: mov ecx, 0x25238570 */ 16853 L_250A8BA6: 16854 RECOMP_ICALL(0x250A33E0u); /* 0x250A8BA6: call 0x250a33e0 */ /* not lifted */ 16855 RECOMP_FLAGS_IN(); 16856 L_250A8BAB: 16857 ecx = MEM32(eax); /* 0x250A8BAB: mov ecx, dword ptr [eax] */ 16858 L_250A8BAD: 16859 edx = MEM32(ebp + (-0x30)); /* 0x250A8BAD: mov edx, dword ptr [ebp - 0x30] */ 16860 L_250A8BB0: 16861 /* cmp ecx, edx */ /* 0x250A8BB0: cmp ecx, edx */ 16862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 16863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16864 _flag_k = FK_CMP; 16865 L_250A8BB2: 16866 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x250A8BB2: mov cl, byte ptr [ebp + 0xb] */ 16867 L_250A8BB5: 16868 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8BB5: setne al */ 16869 L_250A8BB8: 16870 /* test LO8(ecx), LO8(ecx) */ /* 0x250A8BB8: test cl, cl */ 16871 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 16872 _cf = 0; 16873 _flag_k = FK_NARROW(FK_TEST, 24); 16874 L_250A8BBA: 16875 MEM8(ebp + (-0x29)) = (uint8_t)(LO8(eax)); /* 0x250A8BBA: mov byte ptr [ebp - 0x29], al */ 16876 L_250A8BBD: 16877 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BBD: jne 0x250a8dcb */ 16878 L_250A8BC3: 16879 /* test LO8(eax), LO8(eax) */ /* 0x250A8BC3: test al, al */ 16880 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16881 _cf = 0; 16882 _flag_k = FK_NARROW(FK_TEST, 24); 16883 L_250A8BC5: 16884 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8DCB; /* 0x250A8BC5: jne 0x250a8dcb */ 16885 L_250A8BCB: 16886 SET_LO8(eax, MEM8(ebp + (-0x15))); /* 0x250A8BCB: mov al, byte ptr [ebp - 0x15] */ 16887 L_250A8BCE: 16888 /* test LO8(eax), LO8(eax) */ /* 0x250A8BCE: test al, al */ 16889 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16890 _cf = 0; 16891 _flag_k = FK_NARROW(FK_TEST, 24); 16892 L_250A8BD0: 16893 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8C1A; /* 0x250A8BD0: je 0x250a8c1a */ 16894 L_250A8BD2: 16895 eax = MEM32(edi + 0x38); /* 0x250A8BD2: mov eax, dword ptr [edi + 0x38] */ 16896 L_250A8BD5: 16897 ecx = ebp + 0x8; /* 0x250A8BD5: lea ecx, [ebp + 8] */ 16898 L_250A8BD8: 16899 PUSH32(esp, ecx); /* 0x250A8BD8: push ecx */ 16900 L_250A8BD9: 16901 edx = ebp + (-0x40); /* 0x250A8BD9: lea edx, [ebp - 0x40] */ 16902 L_250A8BDC: 16903 PUSH32(esp, edx); /* 0x250A8BDC: push edx */ 16904 L_250A8BDD: 16905 ecx = 0x252385A0u; /* 0x250A8BDD: mov ecx, 0x252385a0 */ 16906 L_250A8BE2: 16907 MEM32(ebp + 0x8) = eax; /* 0x250A8BE2: mov dword ptr [ebp + 8], eax */ 16908 L_250A8BE5: 16909 RECOMP_ICALL(0x250AC4E0u); /* 0x250A8BE5: call 0x250ac4e0 */ /* not lifted */ 16910 RECOMP_FLAGS_IN(); 16911 L_250A8BEA: 16912 eax = MEM32(eax); /* 0x250A8BEA: mov eax, dword ptr [eax] */ 16913 L_250A8BEC: 16914 /* cmp eax, MEM32(0x252385A4) */ /* 0x250A8BEC: cmp eax, dword ptr [0x252385a4] */ 16915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385A4)); 16916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16917 _flag_k = FK_CMP; 16918 L_250A8BF2: 16919 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F26; /* 0x250A8BF2: je 0x250a8f26 */ 16920 L_250A8BF8: 16921 eax = MEM32(eax + 0x10); /* 0x250A8BF8: mov eax, dword ptr [eax + 0x10] */ 16922 L_250A8BFB: 16923 ecx = MEM32(0x2523858C); /* 0x250A8BFB: mov ecx, dword ptr [0x2523858c] */ 16924 L_250A8C01: 16925 edx = eax * 8; /* 0x250A8C01: lea edx, [eax*8] */ 16926 L_250A8C08: 16927 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 16928 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16929 edx = edx - eax; /* 0x250A8C08: sub edx, eax */ 16930 _flag_k = FK_CMP; 16931 L_250A8C0A: 16932 eax = MEM32(ecx + edx * 8 + 0x2C); /* 0x250A8C0A: mov eax, dword ptr [ecx + edx*8 + 0x2c] */ 16933 L_250A8C0E: 16934 /* cmp eax, MEM32(0x252385C0) */ /* 0x250A8C0E: cmp eax, dword ptr [0x252385c0] */ 16935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 16936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16937 _flag_k = FK_CMP; 16938 L_250A8C14: 16939 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8F26; /* 0x250A8C14: jne 0x250a8f26 */ 16940 L_250A8C1A: 16941 eax = MEM32(edi + 0x34); /* 0x250A8C1A: mov eax, dword ptr [edi + 0x34] */ 16942 L_250A8C1D: 16943 /* cmp eax, 8 */ /* 0x250A8C1D: cmp eax, 8 */ 16944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 16945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16946 _flag_k = FK_CMP; 16947 L_250A8C20: 16948 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A8F26; /* 0x250A8C20: ja 0x250a8f26 */ 16949 L_250A8C26: 16950 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x250A9540)); goto _ljump; } 16951 L_250A8C2D: 16952 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C2D: mov ecx, dword ptr [ebp - 0x10] */ 16953 L_250A8C30: 16954 edx = MEM32(ebp + (-0x14)); /* 0x250A8C30: mov edx, dword ptr [ebp - 0x14] */ 16955 L_250A8C33: 16956 PUSH32(esp, 0); /* 0x250A8C33: push 0 */ 16957 L_250A8C35: 16958 eax = ebp + (-0xC8); /* 0x250A8C35: lea eax, [ebp - 0xc8] */ 16959 L_250A8C3B: 16960 PUSH32(esp, eax); /* 0x250A8C3B: push eax */ 16961 L_250A8C3C: 16962 MEM32(ebp + (-0xC8)) = ecx; /* 0x250A8C3C: mov dword ptr [ebp - 0xc8], ecx */ 16963 L_250A8C42: 16964 PUSH32(esp, ebx); /* 0x250A8C42: push ebx */ 16965 L_250A8C43: 16966 ecx = esi; /* 0x250A8C43: mov ecx, esi */ 16967 L_250A8C45: 16968 MEM32(ebp + (-0xC4)) = 0; /* 0x250A8C45: mov dword ptr [ebp - 0xc4], 0 */ 16969 L_250A8C4F: 16970 MEM32(ebp + (-0xC0)) = edx; /* 0x250A8C4F: mov dword ptr [ebp - 0xc0], edx */ 16971 L_250A8C55: 16972 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C55: call 0x250a87e0 */ /* not lifted */ 16973 RECOMP_FLAGS_IN(); 16974 L_250A8C5A: 16975 goto L_250A8F26; /* 0x250A8C5A: jmp 0x250a8f26 */ 16976 L_250A8C5F: 16977 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C5F: mov ecx, dword ptr [ebp - 0x10] */ 16978 L_250A8C62: 16979 edx = MEM32(ebp + (-0x14)); /* 0x250A8C62: mov edx, dword ptr [ebp - 0x14] */ 16980 L_250A8C65: 16981 PUSH32(esp, 1); /* 0x250A8C65: push 1 */ 16982 L_250A8C67: 16983 eax = ebp + (-0xEC); /* 0x250A8C67: lea eax, [ebp - 0xec] */ 16984 L_250A8C6D: 16985 PUSH32(esp, eax); /* 0x250A8C6D: push eax */ 16986 L_250A8C6E: 16987 MEM32(ebp + (-0xEC)) = ecx; /* 0x250A8C6E: mov dword ptr [ebp - 0xec], ecx */ 16988 L_250A8C74: 16989 PUSH32(esp, ebx); /* 0x250A8C74: push ebx */ 16990 L_250A8C75: 16991 ecx = esi; /* 0x250A8C75: mov ecx, esi */ 16992 L_250A8C77: 16993 MEM32(ebp + (-0xE8)) = 0; /* 0x250A8C77: mov dword ptr [ebp - 0xe8], 0 */ 16994 L_250A8C81: 16995 MEM32(ebp + (-0xE4)) = edx; /* 0x250A8C81: mov dword ptr [ebp - 0xe4], edx */ 16996 L_250A8C87: 16997 RECOMP_ICALL(0x250A87E0u); /* 0x250A8C87: call 0x250a87e0 */ /* not lifted */ 16998 RECOMP_FLAGS_IN(); 16999 L_250A8C8C: 17000 goto L_250A8F26; /* 0x250A8C8C: jmp 0x250a8f26 */ 17001 L_250A8C91: 17002 ecx = MEM32(ebp + (-0x10)); /* 0x250A8C91: mov ecx, dword ptr [ebp - 0x10] */ 17003 L_250A8C94: 17004 edx = MEM32(ebp + (-0x14)); /* 0x250A8C94: mov edx, dword ptr [ebp - 0x14] */ 17005 L_250A8C97: 17006 PUSH32(esp, 2); /* 0x250A8C97: push 2 */ 17007 L_250A8C99: 17008 eax = ebp + (-0xD4); /* 0x250A8C99: lea eax, [ebp - 0xd4] */ 17009 L_250A8C9F: 17010 PUSH32(esp, eax); /* 0x250A8C9F: push eax */ 17011 L_250A8CA0: 17012 MEM32(ebp + (-0xD4)) = ecx; /* 0x250A8CA0: mov dword ptr [ebp - 0xd4], ecx */ 17013 L_250A8CA6: 17014 PUSH32(esp, ebx); /* 0x250A8CA6: push ebx */ 17015 L_250A8CA7: 17016 ecx = esi; /* 0x250A8CA7: mov ecx, esi */ 17017 L_250A8CA9: 17018 MEM32(ebp + (-0xD0)) = 0; /* 0x250A8CA9: mov dword ptr [ebp - 0xd0], 0 */ 17019 L_250A8CB3: 17020 MEM32(ebp + (-0xCC)) = edx; /* 0x250A8CB3: mov dword ptr [ebp - 0xcc], edx */ 17021 L_250A8CB9: 17022 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CB9: call 0x250a87e0 */ /* not lifted */ 17023 RECOMP_FLAGS_IN(); 17024 L_250A8CBE: 17025 goto L_250A8F26; /* 0x250A8CBE: jmp 0x250a8f26 */ 17026 L_250A8CC3: 17027 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CC3: mov ecx, dword ptr [ebp - 0x10] */ 17028 L_250A8CC6: 17029 edx = MEM32(ebp + (-0x14)); /* 0x250A8CC6: mov edx, dword ptr [ebp - 0x14] */ 17030 L_250A8CC9: 17031 PUSH32(esp, 3); /* 0x250A8CC9: push 3 */ 17032 L_250A8CCB: 17033 eax = ebp + (-0xF8); /* 0x250A8CCB: lea eax, [ebp - 0xf8] */ 17034 L_250A8CD1: 17035 PUSH32(esp, eax); /* 0x250A8CD1: push eax */ 17036 L_250A8CD2: 17037 MEM32(ebp + (-0xF8)) = ecx; /* 0x250A8CD2: mov dword ptr [ebp - 0xf8], ecx */ 17038 L_250A8CD8: 17039 PUSH32(esp, ebx); /* 0x250A8CD8: push ebx */ 17040 L_250A8CD9: 17041 ecx = esi; /* 0x250A8CD9: mov ecx, esi */ 17042 L_250A8CDB: 17043 MEM32(ebp + (-0xF4)) = 0; /* 0x250A8CDB: mov dword ptr [ebp - 0xf4], 0 */ 17044 L_250A8CE5: 17045 MEM32(ebp + (-0xF0)) = edx; /* 0x250A8CE5: mov dword ptr [ebp - 0xf0], edx */ 17046 L_250A8CEB: 17047 RECOMP_ICALL(0x250A87E0u); /* 0x250A8CEB: call 0x250a87e0 */ /* not lifted */ 17048 RECOMP_FLAGS_IN(); 17049 L_250A8CF0: 17050 goto L_250A8F26; /* 0x250A8CF0: jmp 0x250a8f26 */ 17051 L_250A8CF5: 17052 ecx = MEM32(ebp + (-0x10)); /* 0x250A8CF5: mov ecx, dword ptr [ebp - 0x10] */ 17053 L_250A8CF8: 17054 edx = MEM32(ebp + (-0x14)); /* 0x250A8CF8: mov edx, dword ptr [ebp - 0x14] */ 17055 L_250A8CFB: 17056 PUSH32(esp, 4); /* 0x250A8CFB: push 4 */ 17057 L_250A8CFD: 17058 eax = ebp + (-0x104); /* 0x250A8CFD: lea eax, [ebp - 0x104] */ 17059 L_250A8D03: 17060 PUSH32(esp, eax); /* 0x250A8D03: push eax */ 17061 L_250A8D04: 17062 MEM32(ebp + (-0x104)) = ecx; /* 0x250A8D04: mov dword ptr [ebp - 0x104], ecx */ 17063 L_250A8D0A: 17064 PUSH32(esp, ebx); /* 0x250A8D0A: push ebx */ 17065 L_250A8D0B: 17066 ecx = esi; /* 0x250A8D0B: mov ecx, esi */ 17067 L_250A8D0D: 17068 MEM32(ebp + (-0x100)) = 0; /* 0x250A8D0D: mov dword ptr [ebp - 0x100], 0 */ 17069 L_250A8D17: 17070 MEM32(ebp + (-0xFC)) = edx; /* 0x250A8D17: mov dword ptr [ebp - 0xfc], edx */ 17071 L_250A8D1D: 17072 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D1D: call 0x250a87e0 */ /* not lifted */ 17073 RECOMP_FLAGS_IN(); 17074 L_250A8D22: 17075 goto L_250A8F26; /* 0x250A8D22: jmp 0x250a8f26 */ 17076 L_250A8D27: 17077 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D27: mov ecx, dword ptr [ebp - 0x10] */ 17078 L_250A8D2A: 17079 edx = MEM32(ebp + (-0x14)); /* 0x250A8D2A: mov edx, dword ptr [ebp - 0x14] */ 17080 L_250A8D2D: 17081 PUSH32(esp, 5); /* 0x250A8D2D: push 5 */ 17082 L_250A8D2F: 17083 eax = ebp + (-0x98); /* 0x250A8D2F: lea eax, [ebp - 0x98] */ 17084 L_250A8D35: 17085 PUSH32(esp, eax); /* 0x250A8D35: push eax */ 17086 L_250A8D36: 17087 MEM32(ebp + (-0x98)) = ecx; /* 0x250A8D36: mov dword ptr [ebp - 0x98], ecx */ 17088 L_250A8D3C: 17089 PUSH32(esp, ebx); /* 0x250A8D3C: push ebx */ 17090 L_250A8D3D: 17091 ecx = esi; /* 0x250A8D3D: mov ecx, esi */ 17092 L_250A8D3F: 17093 MEM32(ebp + (-0x94)) = 0; /* 0x250A8D3F: mov dword ptr [ebp - 0x94], 0 */ 17094 L_250A8D49: 17095 MEM32(ebp + (-0x90)) = edx; /* 0x250A8D49: mov dword ptr [ebp - 0x90], edx */ 17096 L_250A8D4F: 17097 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D4F: call 0x250a87e0 */ /* not lifted */ 17098 RECOMP_FLAGS_IN(); 17099 L_250A8D54: 17100 goto L_250A8F26; /* 0x250A8D54: jmp 0x250a8f26 */ 17101 L_250A8D59: 17102 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D59: mov ecx, dword ptr [ebp - 0x10] */ 17103 L_250A8D5C: 17104 edx = MEM32(ebp + (-0x14)); /* 0x250A8D5C: mov edx, dword ptr [ebp - 0x14] */ 17105 L_250A8D5F: 17106 PUSH32(esp, 6); /* 0x250A8D5F: push 6 */ 17107 L_250A8D61: 17108 eax = ebp + (-0x50); /* 0x250A8D61: lea eax, [ebp - 0x50] */ 17109 L_250A8D64: 17110 PUSH32(esp, eax); /* 0x250A8D64: push eax */ 17111 L_250A8D65: 17112 MEM32(ebp + (-0x50)) = ecx; /* 0x250A8D65: mov dword ptr [ebp - 0x50], ecx */ 17113 L_250A8D68: 17114 PUSH32(esp, ebx); /* 0x250A8D68: push ebx */ 17115 L_250A8D69: 17116 ecx = esi; /* 0x250A8D69: mov ecx, esi */ 17117 L_250A8D6B: 17118 MEM32(ebp + (-0x4C)) = 0; /* 0x250A8D6B: mov dword ptr [ebp - 0x4c], 0 */ 17119 L_250A8D72: 17120 MEM32(ebp + (-0x48)) = edx; /* 0x250A8D72: mov dword ptr [ebp - 0x48], edx */ 17121 L_250A8D75: 17122 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D75: call 0x250a87e0 */ /* not lifted */ 17123 RECOMP_FLAGS_IN(); 17124 L_250A8D7A: 17125 goto L_250A8F26; /* 0x250A8D7A: jmp 0x250a8f26 */ 17126 L_250A8D7F: 17127 ecx = MEM32(ebp + (-0x10)); /* 0x250A8D7F: mov ecx, dword ptr [ebp - 0x10] */ 17128 L_250A8D82: 17129 edx = MEM32(ebp + (-0x14)); /* 0x250A8D82: mov edx, dword ptr [ebp - 0x14] */ 17130 L_250A8D85: 17131 PUSH32(esp, 6); /* 0x250A8D85: push 6 */ 17132 L_250A8D87: 17133 eax = ebp + (-0x5C); /* 0x250A8D87: lea eax, [ebp - 0x5c] */ 17134 L_250A8D8A: 17135 PUSH32(esp, eax); /* 0x250A8D8A: push eax */ 17136 L_250A8D8B: 17137 MEM32(ebp + (-0x5C)) = ecx; /* 0x250A8D8B: mov dword ptr [ebp - 0x5c], ecx */ 17138 L_250A8D8E: 17139 PUSH32(esp, ebx); /* 0x250A8D8E: push ebx */ 17140 L_250A8D8F: 17141 ecx = esi; /* 0x250A8D8F: mov ecx, esi */ 17142 L_250A8D91: 17143 MEM32(ebp + (-0x58)) = 0; /* 0x250A8D91: mov dword ptr [ebp - 0x58], 0 */ 17144 L_250A8D98: 17145 MEM32(ebp + (-0x54)) = edx; /* 0x250A8D98: mov dword ptr [ebp - 0x54], edx */ 17146 L_250A8D9B: 17147 RECOMP_ICALL(0x250A87E0u); /* 0x250A8D9B: call 0x250a87e0 */ /* not lifted */ 17148 RECOMP_FLAGS_IN(); 17149 L_250A8DA0: 17150 goto L_250A8F26; /* 0x250A8DA0: jmp 0x250a8f26 */ 17151 L_250A8DA5: 17152 ecx = MEM32(ebp + (-0x10)); /* 0x250A8DA5: mov ecx, dword ptr [ebp - 0x10] */ 17153 L_250A8DA8: 17154 edx = MEM32(ebp + (-0x14)); /* 0x250A8DA8: mov edx, dword ptr [ebp - 0x14] */ 17155 L_250A8DAB: 17156 PUSH32(esp, 7); /* 0x250A8DAB: push 7 */ 17157 L_250A8DAD: 17158 eax = ebp + (-0x74); /* 0x250A8DAD: lea eax, [ebp - 0x74] */ 17159 L_250A8DB0: 17160 PUSH32(esp, eax); /* 0x250A8DB0: push eax */ 17161 L_250A8DB1: 17162 MEM32(ebp + (-0x74)) = ecx; /* 0x250A8DB1: mov dword ptr [ebp - 0x74], ecx */ 17163 L_250A8DB4: 17164 PUSH32(esp, ebx); /* 0x250A8DB4: push ebx */ 17165 L_250A8DB5: 17166 ecx = esi; /* 0x250A8DB5: mov ecx, esi */ 17167 L_250A8DB7: 17168 MEM32(ebp + (-0x70)) = 0; /* 0x250A8DB7: mov dword ptr [ebp - 0x70], 0 */ 17169 L_250A8DBE: 17170 MEM32(ebp + (-0x6C)) = edx; /* 0x250A8DBE: mov dword ptr [ebp - 0x6c], edx */ 17171 L_250A8DC1: 17172 RECOMP_ICALL(0x250A87E0u); /* 0x250A8DC1: call 0x250a87e0 */ /* not lifted */ 17173 RECOMP_FLAGS_IN(); 17174 L_250A8DC6: 17175 goto L_250A8F26; /* 0x250A8DC6: jmp 0x250a8f26 */ 17176 L_250A8DCB: 17177 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x1Cu); 17178 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17179 edi = edi + 0x1Cu; /* 0x250A8DCB: add edi, 0x1c */ 17180 _flag_k = FK_ADD; 17181 L_250A8DCE: 17182 ecx = edi; /* 0x250A8DCE: mov ecx, edi */ 17183 L_250A8DD0: 17184 edx = MEM32(ecx); /* 0x250A8DD0: mov edx, dword ptr [ecx] */ 17185 L_250A8DD2: 17186 eax = MEM32(ecx + 0x4); /* 0x250A8DD2: mov eax, dword ptr [ecx + 4] */ 17187 L_250A8DD5: 17188 ecx = MEM32(ecx + 0x8); /* 0x250A8DD5: mov ecx, dword ptr [ecx + 8] */ 17189 L_250A8DD8: 17190 MEM32(ebp + (-0x8C)) = edx; /* 0x250A8DD8: mov dword ptr [ebp - 0x8c], edx */ 17191 L_250A8DDE: 17192 edx = ebp + (-0x28); /* 0x250A8DDE: lea edx, [ebp - 0x28] */ 17193 L_250A8DE1: 17194 MEM32(ebp + (-0x84)) = ecx; /* 0x250A8DE1: mov dword ptr [ebp - 0x84], ecx */ 17195 L_250A8DE7: 17196 PUSH32(esp, edx); /* 0x250A8DE7: push edx */ 17197 L_250A8DE8: 17198 ecx = ebp + (-0x8C); /* 0x250A8DE8: lea ecx, [ebp - 0x8c] */ 17199 L_250A8DEE: 17200 MEM32(ebp + (-0x28)) = 0; /* 0x250A8DEE: mov dword ptr [ebp - 0x28], 0 */ 17201 L_250A8DF5: 17202 MEM32(ebp + (-0x24)) = 0; /* 0x250A8DF5: mov dword ptr [ebp - 0x24], 0 */ 17203 L_250A8DFC: 17204 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x250A8DFC: mov dword ptr [ebp - 0x20], 0x3f800000 */ 17205 L_250A8E03: 17206 MEM32(ebp + (-0x88)) = eax; /* 0x250A8E03: mov dword ptr [ebp - 0x88], eax */ 17207 L_250A8E09: 17208 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A8E09: call dword ptr [0x25151564] */ 17209 RECOMP_FLAGS_IN(); 17210 L_250A8E0F: 17211 ecx = MEM32(eax); /* 0x250A8E0F: mov ecx, dword ptr [eax] */ 17212 L_250A8E11: 17213 MEM32(ebp + (-0xAC)) = ecx; /* 0x250A8E11: mov dword ptr [ebp - 0xac], ecx */ 17214 L_250A8E17: 17215 edx = MEM32(eax + 0x4); /* 0x250A8E17: mov edx, dword ptr [eax + 4] */ 17216 L_250A8E1A: 17217 MEM32(ebp + (-0xA8)) = edx; /* 0x250A8E1A: mov dword ptr [ebp - 0xa8], edx */ 17218 L_250A8E20: 17219 eax = MEM32(eax + 0x8); /* 0x250A8E20: mov eax, dword ptr [eax + 8] */ 17220 L_250A8E23: 17221 ecx = ebp + (-0xAC); /* 0x250A8E23: lea ecx, [ebp - 0xac] */ 17222 L_250A8E29: 17223 PUSH32(esp, ecx); /* 0x250A8E29: push ecx */ 17224 L_250A8E2A: 17225 edx = ebp + (-0xB8); /* 0x250A8E2A: lea edx, [ebp - 0xb8] */ 17226 L_250A8E30: 17227 PUSH32(esp, edx); /* 0x250A8E30: push edx */ 17228 L_250A8E31: 17229 ecx = edi; /* 0x250A8E31: mov ecx, edi */ 17230 L_250A8E33: 17231 MEM32(ebp + (-0xA4)) = eax; /* 0x250A8E33: mov dword ptr [ebp - 0xa4], eax */ 17232 L_250A8E39: 17233 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250A8E39: call dword ptr [0x25151570] */ 17234 RECOMP_FLAGS_IN(); 17235 L_250A8E3F: 17236 fp_push(*(float*)&MEM32(edi + 0xC)); /* 0x250A8E3F: fld dword ptr [edi + 0xc] */ 17237 L_250A8E42: 17238 ecx = MEM32(eax); /* 0x250A8E42: mov ecx, dword ptr [eax] */ 17239 L_250A8E44: 17240 _st[0] += _st[0]; /* 0x250A8E44: fadd st(0), st(0) */ 17241 L_250A8E46: 17242 MEM32(ebp + (-0x3C)) = ecx; /* 0x250A8E46: mov dword ptr [ebp - 0x3c], ecx */ 17243 L_250A8E49: 17244 edx = MEM32(eax + 0x4); /* 0x250A8E49: mov edx, dword ptr [eax + 4] */ 17245 L_250A8E4C: 17246 MEM32(ebp + (-0x38)) = edx; /* 0x250A8E4C: mov dword ptr [ebp - 0x38], edx */ 17247 L_250A8E4F: 17248 eax = MEM32(eax + 0x8); /* 0x250A8E4F: mov eax, dword ptr [eax + 8] */ 17249 L_250A8E52: 17250 PUSH32(esp, ecx); /* 0x250A8E52: push ecx */ 17251 L_250A8E53: 17252 ecx = ebp + (-0xAC); /* 0x250A8E53: lea ecx, [ebp - 0xac] */ 17253 L_250A8E59: 17254 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8E59: fstp dword ptr [esp] */ 17255 L_250A8E5C: 17256 MEM32(ebp + (-0x34)) = eax; /* 0x250A8E5C: mov dword ptr [ebp - 0x34], eax */ 17257 L_250A8E5F: 17258 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E5F: call dword ptr [0x25151510] */ 17259 RECOMP_FLAGS_IN(); 17260 L_250A8E65: 17261 PUSH32(esp, 0x40000000u); /* 0x250A8E65: push 0x40000000 */ 17262 L_250A8E6A: 17263 ecx = ebp + (-0x3C); /* 0x250A8E6A: lea ecx, [ebp - 0x3c] */ 17264 L_250A8E6D: 17265 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A8E6D: call dword ptr [0x25151510] */ 17266 RECOMP_FLAGS_IN(); 17267 L_250A8E73: 17268 ecx = ebp + (-0xAC); /* 0x250A8E73: lea ecx, [ebp - 0xac] */ 17269 L_250A8E79: 17270 PUSH32(esp, ecx); /* 0x250A8E79: push ecx */ 17271 L_250A8E7A: 17272 ecx = ebp + (-0x28); /* 0x250A8E7A: lea ecx, [ebp - 0x28] */ 17273 L_250A8E7D: 17274 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E7D: call dword ptr [0x251514f8] */ 17275 RECOMP_FLAGS_IN(); 17276 L_250A8E83: 17277 edx = ebp + (-0x3C); /* 0x250A8E83: lea edx, [ebp - 0x3c] */ 17278 L_250A8E86: 17279 PUSH32(esp, edx); /* 0x250A8E86: push edx */ 17280 L_250A8E87: 17281 ecx = ebp + (-0x28); /* 0x250A8E87: lea ecx, [ebp - 0x28] */ 17282 L_250A8E8A: 17283 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A8E8A: call dword ptr [0x251514f8] */ 17284 RECOMP_FLAGS_IN(); 17285 L_250A8E90: 17286 eax = MEM32(esi + 0x70); /* 0x250A8E90: mov eax, dword ptr [esi + 0x70] */ 17287 L_250A8E93: 17288 /* test eax, eax */ /* 0x250A8E93: test eax, eax */ 17289 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17290 _cf = 0; 17291 _flag_k = FK_TEST; 17292 L_250A8E95: 17293 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8EA1; /* 0x250A8E95: je 0x250a8ea1 */ 17294 L_250A8E97: 17295 eax = MEM32(eax + 0x28); /* 0x250A8E97: mov eax, dword ptr [eax + 0x28] */ 17296 L_250A8E9A: 17297 PUSH32(esp, 0xAu); /* 0x250A8E9A: push 0xa */ 17298 L_250A8E9C: 17299 PUSH32(esp, 0); /* 0x250A8E9C: push 0 */ 17300 L_250A8E9E: 17301 PUSH32(esp, eax); /* 0x250A8E9E: push eax */ 17302 L_250A8E9F: 17303 goto L_250A8EA7; /* 0x250A8E9F: jmp 0x250a8ea7 */ 17304 L_250A8EA1: 17305 PUSH32(esp, 0xAu); /* 0x250A8EA1: push 0xa */ 17306 L_250A8EA3: 17307 PUSH32(esp, 0); /* 0x250A8EA3: push 0 */ 17308 L_250A8EA5: 17309 PUSH32(esp, 0); /* 0x250A8EA5: push 0 */ 17310 L_250A8EA7: 17311 ecx = MEM32(ebx + 0x8); /* 0x250A8EA7: mov ecx, dword ptr [ebx + 8] */ 17312 L_250A8EAA: 17313 RECOMP_ICALL(0x250EFF90u); /* 0x250A8EAA: call 0x250eff90 */ /* not lifted */ 17314 RECOMP_FLAGS_IN(); 17315 L_250A8EAF: 17316 ecx = ebx; /* 0x250A8EAF: mov ecx, ebx */ 17317 L_250A8EB1: 17318 RECOMP_ICALL(0x250E05D0u); /* 0x250A8EB1: call 0x250e05d0 */ /* not lifted */ 17319 RECOMP_FLAGS_IN(); 17320 L_250A8EB6: 17321 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A8EB6: fld dword ptr [ebp - 0x28] */ 17322 L_250A8EB9: 17323 _st[0] = -_st[0]; /* 0x250A8EB9: fchs */ 17324 L_250A8EBB: 17325 eax = MEM32(ebp + (-0x10)); /* 0x250A8EBB: mov eax, dword ptr [ebp - 0x10] */ 17326 L_250A8EBE: 17327 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A8EBE: fld dword ptr [ebp - 0x20] */ 17328 L_250A8EC1: 17329 ecx = MEM32(ebp + (-0x14)); /* 0x250A8EC1: mov ecx, dword ptr [ebp - 0x14] */ 17330 L_250A8EC4: 17331 _st[0] = -_st[0]; /* 0x250A8EC4: fchs */ 17332 L_250A8EC6: 17333 MEM32(ebp + (-0x80)) = eax; /* 0x250A8EC6: mov dword ptr [ebp - 0x80], eax */ 17334 L_250A8EC9: 17335 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A8EC9: fpatan */ 17336 L_250A8ECB: 17337 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x250A8ECB: mov al, byte ptr [ebp - 0x29] */ 17338 L_250A8ECE: 17339 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17340 edx = 0; /* 0x250A8ECE: xor edx, edx */ 17341 _cf = 0; 17342 _flag_k = FK_TEST; 17343 L_250A8ED0: 17344 /* test LO8(eax), LO8(eax) */ /* 0x250A8ED0: test al, al */ 17345 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17346 _cf = 0; 17347 _flag_k = FK_NARROW(FK_TEST, 24); 17348 L_250A8ED2: 17349 SET_LO8(edx, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) ? 1 : 0); /* 0x250A8ED2: setne dl */ 17350 L_250A8ED5: 17351 eax = ebp + (-0x80); /* 0x250A8ED5: lea eax, [ebp - 0x80] */ 17352 L_250A8ED8: 17353 MEM32(ebp + (-0x78)) = ecx; /* 0x250A8ED8: mov dword ptr [ebp - 0x78], ecx */ 17354 L_250A8EDB: 17355 MEM32(ebp + (-0x7C)) = 0; /* 0x250A8EDB: mov dword ptr [ebp - 0x7c], 0 */ 17356 L_250A8EE2: 17357 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 17358 edx = edx + 1; /* 0x250A8EE2: inc edx */ 17359 _flag_k = FK_INC; 17360 L_250A8EE3: 17361 PUSH32(esp, edx); /* 0x250A8EE3: push edx */ 17362 L_250A8EE4: 17363 PUSH32(esp, ecx); /* 0x250A8EE4: push ecx */ 17364 L_250A8EE5: 17365 ecx = esi; /* 0x250A8EE5: mov ecx, esi */ 17366 L_250A8EE7: 17367 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A8EE7: fmul dword ptr [0x25156404] */ 17368 L_250A8EED: 17369 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A8EED: fadd dword ptr [0x25151788] */ 17370 L_250A8EF3: 17371 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A8EF3: fstp dword ptr [esp] */ 17372 L_250A8EF6: 17373 PUSH32(esp, eax); /* 0x250A8EF6: push eax */ 17374 L_250A8EF7: 17375 PUSH32(esp, ebx); /* 0x250A8EF7: push ebx */ 17376 L_250A8EF8: 17377 RECOMP_ICALL(0x250A8830u); /* 0x250A8EF8: call 0x250a8830 */ /* not lifted */ 17378 RECOMP_FLAGS_IN(); 17379 L_250A8EFD: 17380 eax = MEM32(esi + 0x6C); /* 0x250A8EFD: mov eax, dword ptr [esi + 0x6c] */ 17381 L_250A8F00: 17382 /* test eax, eax */ /* 0x250A8F00: test eax, eax */ 17383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17384 _cf = 0; 17385 _flag_k = FK_TEST; 17386 L_250A8F02: 17387 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F0E; /* 0x250A8F02: je 0x250a8f0e */ 17388 L_250A8F04: 17389 eax = MEM32(eax + 0x28); /* 0x250A8F04: mov eax, dword ptr [eax + 0x28] */ 17390 L_250A8F07: 17391 PUSH32(esp, 0xAu); /* 0x250A8F07: push 0xa */ 17392 L_250A8F09: 17393 PUSH32(esp, 0); /* 0x250A8F09: push 0 */ 17394 L_250A8F0B: 17395 PUSH32(esp, eax); /* 0x250A8F0B: push eax */ 17396 L_250A8F0C: 17397 goto L_250A8F14; /* 0x250A8F0C: jmp 0x250a8f14 */ 17398 L_250A8F0E: 17399 PUSH32(esp, 0xAu); /* 0x250A8F0E: push 0xa */ 17400 L_250A8F10: 17401 PUSH32(esp, 0); /* 0x250A8F10: push 0 */ 17402 L_250A8F12: 17403 PUSH32(esp, 0); /* 0x250A8F12: push 0 */ 17404 L_250A8F14: 17405 ecx = MEM32(ebx + 0x8); /* 0x250A8F14: mov ecx, dword ptr [ebx + 8] */ 17406 L_250A8F17: 17407 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F17: call 0x250eff90 */ /* not lifted */ 17408 RECOMP_FLAGS_IN(); 17409 L_250A8F1C: 17410 ecx = ebx; /* 0x250A8F1C: mov ecx, ebx */ 17411 L_250A8F1E: 17412 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F1E: call 0x250e05d0 */ /* not lifted */ 17413 RECOMP_FLAGS_IN(); 17414 L_250A8F23: 17415 edi = MEM32(ebp + (-0x1C)); /* 0x250A8F23: mov edi, dword ptr [ebp - 0x1c] */ 17416 L_250A8F26: 17417 ecx = MEM32(ebp + 0xC); /* 0x250A8F26: mov ecx, dword ptr [ebp + 0xc] */ 17418 L_250A8F29: 17419 edi = MEM32(edi); /* 0x250A8F29: mov edi, dword ptr [edi] */ 17420 L_250A8F2B: 17421 /* cmp edi, MEM32(ecx + 0x4) */ /* 0x250A8F2B: cmp edi, dword ptr [ecx + 4] */ 17422 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17424 _flag_k = FK_CMP; 17425 L_250A8F2E: 17426 MEM32(ebp + (-0x1C)) = edi; /* 0x250A8F2E: mov dword ptr [ebp - 0x1c], edi */ 17427 L_250A8F31: 17428 RECOMP_BACKEDGE(); 17429 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A8B50; /* 0x250A8F31: jne 0x250a8b50 */ 17430 L_250A8F37: 17431 eax = MEM32(esi + 0xAC); /* 0x250A8F37: mov eax, dword ptr [esi + 0xac] */ 17432 L_250A8F3D: 17433 /* test eax, eax */ /* 0x250A8F3D: test eax, eax */ 17434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17435 _cf = 0; 17436 _flag_k = FK_TEST; 17437 L_250A8F3F: 17438 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F3F: je 0x250a90b9 */ 17439 L_250A8F45: 17440 ecx = MEM32(esi + 0xB0); /* 0x250A8F45: mov ecx, dword ptr [esi + 0xb0] */ 17441 L_250A8F4B: 17442 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17444 ecx = ecx - eax; /* 0x250A8F4B: sub ecx, eax */ 17445 _flag_k = FK_CMP; 17446 L_250A8F4D: 17447 eax = 0x66666667u; /* 0x250A8F4D: mov eax, 0x66666667 */ 17448 L_250A8F52: 17449 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A8F52: imul ecx */ 17450 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 17451 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 17452 L_250A8F54: 17453 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A8F54: sar edx, 3 */ 17454 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17455 edx = (uint32_t)((int32_t)edx >> 3u); 17456 L_250A8F57: 17457 eax = edx; /* 0x250A8F57: mov eax, edx */ 17458 L_250A8F59: 17459 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A8F59: shr eax, 0x1f */ 17460 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17461 eax = eax >> 31u; /* 0x250A8F59: shr eax, 0x1f */ 17462 L_250A8F5C: 17463 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 17464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17465 edx = edx + eax; /* 0x250A8F5C: add edx, eax */ 17466 _flag_k = FK_ADD; 17467 L_250A8F5E: 17468 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8F5E: je 0x250a90b9 */ 17469 L_250A8F64: 17470 eax = MEM32(esi + 0x70); /* 0x250A8F64: mov eax, dword ptr [esi + 0x70] */ 17471 L_250A8F67: 17472 /* test eax, eax */ /* 0x250A8F67: test eax, eax */ 17473 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17474 _cf = 0; 17475 _flag_k = FK_TEST; 17476 L_250A8F69: 17477 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A8F75; /* 0x250A8F69: je 0x250a8f75 */ 17478 L_250A8F6B: 17479 eax = MEM32(eax + 0x28); /* 0x250A8F6B: mov eax, dword ptr [eax + 0x28] */ 17480 L_250A8F6E: 17481 PUSH32(esp, 0xAu); /* 0x250A8F6E: push 0xa */ 17482 L_250A8F70: 17483 PUSH32(esp, 0); /* 0x250A8F70: push 0 */ 17484 L_250A8F72: 17485 PUSH32(esp, eax); /* 0x250A8F72: push eax */ 17486 L_250A8F73: 17487 goto L_250A8F7B; /* 0x250A8F73: jmp 0x250a8f7b */ 17488 L_250A8F75: 17489 PUSH32(esp, 0xAu); /* 0x250A8F75: push 0xa */ 17490 L_250A8F77: 17491 PUSH32(esp, 0); /* 0x250A8F77: push 0 */ 17492 L_250A8F79: 17493 PUSH32(esp, 0); /* 0x250A8F79: push 0 */ 17494 L_250A8F7B: 17495 ecx = MEM32(ebx + 0x8); /* 0x250A8F7B: mov ecx, dword ptr [ebx + 8] */ 17496 L_250A8F7E: 17497 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F7E: call 0x250eff90 */ /* not lifted */ 17498 RECOMP_FLAGS_IN(); 17499 L_250A8F83: 17500 ecx = ebx; /* 0x250A8F83: mov ecx, ebx */ 17501 L_250A8F85: 17502 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F85: call 0x250e05d0 */ /* not lifted */ 17503 RECOMP_FLAGS_IN(); 17504 L_250A8F8A: 17505 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17506 eax = 0; /* 0x250A8F8A: xor eax, eax */ 17507 _cf = 0; 17508 _flag_k = FK_TEST; 17509 L_250A8F8C: 17510 MEM32(ebp + (-0x128)) = 4; /* 0x250A8F8C: mov dword ptr [ebp - 0x128], 4 */ 17511 L_250A8F96: 17512 MEM32(ebp + (-0x124)) = 7; /* 0x250A8F96: mov dword ptr [ebp - 0x124], 7 */ 17513 L_250A8FA0: 17514 MEM32(ebp + (-0x120)) = 0xAu; /* 0x250A8FA0: mov dword ptr [ebp - 0x120], 0xa */ 17515 L_250A8FAA: 17516 MEM32(ebp + (-0x11C)) = 3; /* 0x250A8FAA: mov dword ptr [ebp - 0x11c], 3 */ 17517 L_250A8FB4: 17518 MEM32(ebp + (-0x118)) = 6; /* 0x250A8FB4: mov dword ptr [ebp - 0x118], 6 */ 17519 L_250A8FBE: 17520 MEM32(ebp + (-0x114)) = 9; /* 0x250A8FBE: mov dword ptr [ebp - 0x114], 9 */ 17521 L_250A8FC8: 17522 MEM32(ebp + (-0x110)) = 5; /* 0x250A8FC8: mov dword ptr [ebp - 0x110], 5 */ 17523 L_250A8FD2: 17524 MEM32(ebp + (-0x10C)) = 8; /* 0x250A8FD2: mov dword ptr [ebp - 0x10c], 8 */ 17525 L_250A8FDC: 17526 MEM32(ebp + (-0x108)) = 0xBu; /* 0x250A8FDC: mov dword ptr [ebp - 0x108], 0xb */ 17527 L_250A8FE6: 17528 MEM32(ebp + 0x8) = eax; /* 0x250A8FE6: mov dword ptr [ebp + 8], eax */ 17529 L_250A8FE9: 17530 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 17531 L_250A8FEC: 17532 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 17533 L_250A8FF2: 17534 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 17535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17536 _cf = 0; 17537 _flag_k = FK_TEST; 17538 L_250A8FF4: 17539 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 17540 L_250A8FFA: 17541 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 17542 L_250A9000: 17543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17545 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 17546 _flag_k = FK_CMP; 17547 L_250A9002: 17548 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 17549 L_250A9007: 17550 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 17551 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 17552 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 17553 L_250A9009: 17554 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 17555 L_250A900C: 17556 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 17557 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17558 edx = (uint32_t)((int32_t)edx >> 3u); 17559 L_250A900F: 17560 ecx = edx; /* 0x250A900F: mov ecx, edx */ 17561 L_250A9011: 17562 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 17563 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17564 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 17565 L_250A9014: 17566 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17567 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17568 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 17569 _flag_k = FK_ADD; 17570 L_250A9016: 17571 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 17572 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17574 _flag_k = FK_CMP; 17575 L_250A9018: 17576 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 17577 L_250A901E: 17578 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 17579 L_250A9021: 17580 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 17581 L_250A9027: 17582 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 17583 L_250A902A: 17584 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 17585 L_250A902D: 17586 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17587 eax = eax - 1; /* 0x250A902D: dec eax */ 17588 _flag_k = FK_DEC; 17589 L_250A902E: 17590 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 17591 L_250A9030: 17592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17593 eax = eax - 1; /* 0x250A9030: dec eax */ 17594 _flag_k = FK_DEC; 17595 L_250A9031: 17596 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 17597 L_250A9033: 17598 eax = 2; /* 0x250A9033: mov eax, 2 */ 17599 L_250A9038: 17600 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 17601 L_250A903A: 17602 eax = 1; /* 0x250A903A: mov eax, 1 */ 17603 L_250A903F: 17604 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 17605 L_250A9041: 17606 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17607 eax = 0; /* 0x250A9041: xor eax, eax */ 17608 _cf = 0; 17609 _flag_k = FK_TEST; 17610 L_250A9043: 17611 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 17612 L_250A9046: 17613 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17614 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 17615 _cf = 0; 17616 _flag_k = FK_TEST; 17617 L_250A9048: 17618 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 17619 edx = edx - 1; /* 0x250A9048: dec edx */ 17620 _flag_k = FK_DEC; 17621 L_250A9049: 17622 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 17623 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 17624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17625 _flag_k = FK_CMP; 17626 L_250A904C: 17627 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 17628 L_250A904E: 17629 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 17630 L_250A9055: 17631 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17632 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 17633 _cf = 0; 17634 _flag_k = FK_TEST; 17635 L_250A9057: 17636 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 17637 L_250A9059: 17638 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 17639 L_250A905E: 17640 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 17641 L_250A9060: 17642 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 17643 L_250A9065: 17644 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 17645 L_250A9068: 17646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17647 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17648 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 17649 _flag_k = FK_ADD; 17650 L_250A906A: 17651 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 17652 L_250A9071: 17653 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 17654 L_250A9076: 17655 eax = ecx; /* 0x250A9076: mov eax, ecx */ 17656 L_250A9078: 17657 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 17658 L_250A9079: 17659 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 17660 L_250A907B: 17661 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 17662 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 17663 _cf = 0; 17664 _flag_k = FK_TEST; 17665 L_250A907E: 17666 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 17667 L_250A9080: 17668 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17669 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17670 eax = eax + edx; /* 0x250A9080: add eax, edx */ 17671 _flag_k = FK_ADD; 17672 L_250A9082: 17673 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 17674 L_250A9084: 17675 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 17676 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17677 eax = (uint32_t)((int32_t)eax >> 2u); 17678 L_250A9087: 17679 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 17680 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17681 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 17682 L_250A908A: 17683 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 17684 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 17685 _cf = 0; 17686 _flag_k = FK_TEST; 17687 L_250A9090: 17688 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 17689 L_250A9092: 17690 PUSH32(esp, eax); /* 0x250A9092: push eax */ 17691 L_250A9093: 17692 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 17693 L_250A9095: 17694 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17695 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 17696 _flag_k = FK_DEC; 17697 L_250A9096: 17698 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 17699 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 17700 _cf = 0; 17701 _flag_k = FK_TEST; 17702 L_250A9099: 17703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17704 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 17705 _flag_k = FK_INC; 17706 L_250A909A: 17707 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 17708 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17709 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 17710 L_250A909D: 17711 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 17712 L_250A909E: 17713 PUSH32(esp, edi); /* 0x250A909E: push edi */ 17714 L_250A909F: 17715 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 17716 L_250A90A0: 17717 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 17718 L_250A90A2: 17719 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 17720 RECOMP_FLAGS_IN(); 17721 L_250A90A7: 17722 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 17723 L_250A90AA: 17724 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 17725 L_250A90AD: 17726 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17727 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 17728 _flag_k = FK_INC; 17729 L_250A90AE: 17730 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 17731 L_250A90B1: 17732 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 17733 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17734 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 17735 _flag_k = FK_ADD; 17736 L_250A90B4: 17737 RECOMP_BACKEDGE(); 17738 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 17739 L_250A90B9: 17740 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 17741 L_250A90BC: 17742 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 17743 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17744 _cf = 0; 17745 _flag_k = FK_NARROW(FK_TEST, 24); 17746 L_250A90BE: 17747 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 17748 L_250A90C4: 17749 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 17750 L_250A90C7: 17751 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 17752 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17753 _cf = 0; 17754 _flag_k = FK_TEST; 17755 L_250A90C9: 17756 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 17757 L_250A90CF: 17758 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 17759 L_250A90D2: 17760 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 17761 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17762 _cf = 0; 17763 _flag_k = FK_TEST; 17764 L_250A90D4: 17765 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 17766 L_250A90D6: 17767 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 17768 L_250A90D9: 17769 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 17770 L_250A90DB: 17771 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 17772 L_250A90DD: 17773 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 17774 L_250A90DE: 17775 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 17776 L_250A90E0: 17777 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 17778 L_250A90E2: 17779 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 17780 L_250A90E4: 17781 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 17782 L_250A90E6: 17783 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 17784 L_250A90E9: 17785 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 17786 RECOMP_FLAGS_IN(); 17787 L_250A90EE: 17788 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 17789 L_250A90F0: 17790 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 17791 RECOMP_FLAGS_IN(); 17792 L_250A90F5: 17793 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17794 edi = 0; /* 0x250A90F5: xor edi, edi */ 17795 _cf = 0; 17796 _flag_k = FK_TEST; 17797 L_250A90F7: 17798 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 17799 L_250A90FA: 17800 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 17801 L_250A9100: 17802 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 17803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17804 _cf = 0; 17805 _flag_k = FK_TEST; 17806 L_250A9102: 17807 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 17808 L_250A9104: 17809 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 17810 L_250A910A: 17811 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17813 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 17814 _flag_k = FK_CMP; 17815 L_250A910C: 17816 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 17817 L_250A9111: 17818 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 17819 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 17820 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 17821 L_250A9113: 17822 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 17823 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17824 edx = (uint32_t)((int32_t)edx >> 3u); 17825 L_250A9116: 17826 eax = edx; /* 0x250A9116: mov eax, edx */ 17827 L_250A9118: 17828 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 17829 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17830 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 17831 L_250A911B: 17832 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 17833 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17834 edx = edx + eax; /* 0x250A911B: add edx, eax */ 17835 _flag_k = FK_ADD; 17836 L_250A911D: 17837 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 17838 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 17839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17840 _flag_k = FK_CMP; 17841 L_250A911F: 17842 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 17843 L_250A9121: 17844 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 17845 L_250A9127: 17846 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 17847 L_250A912A: 17848 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 17849 L_250A912D: 17850 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 17851 L_250A9130: 17852 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 17853 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17854 _cf = 0; 17855 _flag_k = FK_TEST; 17856 L_250A9132: 17857 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 17858 L_250A9134: 17859 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 17860 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 17861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17862 _flag_k = FK_CMP; 17863 L_250A9137: 17864 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 17865 L_250A913C: 17866 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 17867 L_250A913E: 17868 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 17869 L_250A9143: 17870 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 17871 L_250A9144: 17872 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 17873 L_250A9149: 17874 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 17875 L_250A914E: 17876 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 17877 L_250A9150: 17878 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 17879 L_250A9152: 17880 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 17881 L_250A9154: 17882 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 17883 L_250A9156: 17884 PUSH32(esp, eax); /* 0x250A9156: push eax */ 17885 L_250A9157: 17886 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 17887 L_250A9158: 17888 ecx = esi; /* 0x250A9158: mov ecx, esi */ 17889 L_250A915A: 17890 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 17891 RECOMP_FLAGS_IN(); 17892 L_250A915F: 17893 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 17894 L_250A9162: 17895 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 17896 edi = edi + 1; /* 0x250A9162: inc edi */ 17897 _flag_k = FK_INC; 17898 L_250A9163: 17899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 17900 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17901 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 17902 _flag_k = FK_ADD; 17903 L_250A9166: 17904 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 17905 L_250A9169: 17906 RECOMP_BACKEDGE(); 17907 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 17908 L_250A916B: 17909 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 17910 L_250A916E: 17911 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 17912 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17913 _cf = 0; 17914 _flag_k = FK_NARROW(FK_TEST, 24); 17915 L_250A9170: 17916 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 17917 L_250A9172: 17918 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 17919 L_250A9178: 17920 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 17921 L_250A917D: 17922 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 17923 L_250A9183: 17924 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 17925 L_250A9188: 17926 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 17927 L_250A918E: 17928 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 17929 L_250A9190: 17930 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 17931 L_250A9192: 17932 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 17933 L_250A9195: 17934 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 17935 L_250A9197: 17936 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 17937 L_250A919A: 17938 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 17939 L_250A919D: 17940 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 17941 L_250A91A2: 17942 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 17943 L_250A91A4: 17944 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 17945 L_250A91A6: 17946 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 17947 L_250A91A8: 17948 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 17949 L_250A91AB: 17950 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 17951 L_250A91AD: 17952 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 17953 L_250A91B0: 17954 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 17955 L_250A91B1: 17956 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 17957 L_250A91B2: 17958 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 17959 L_250A91B4: 17960 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 17961 L_250A91B7: 17962 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 17963 L_250A91BA: 17964 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 17965 L_250A91BC: 17966 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 17967 L_250A91BF: 17968 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 17969 L_250A91C5: 17970 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 17971 L_250A91C8: 17972 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 17973 L_250A91CB: 17974 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 17975 L_250A91D1: 17976 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 17977 L_250A91D4: 17978 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 17979 L_250A91D7: 17980 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 17981 RECOMP_FLAGS_IN(); 17982 L_250A91DC: 17983 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 17984 L_250A91E2: 17985 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 17986 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17987 _cf = 0; 17988 _flag_k = FK_NARROW(FK_TEST, 24); 17989 L_250A91E4: 17990 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 17991 L_250A91EA: 17992 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 17993 L_250A91F0: 17994 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 17995 L_250A91F6: 17996 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 17997 L_250A91FC: 17998 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 17999 L_250A91FE: 18000 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 18001 L_250A9200: 18002 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 18003 L_250A9202: 18004 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 18005 L_250A9209: 18006 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 18007 L_250A920C: 18008 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 18009 L_250A920F: 18010 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 18011 RECOMP_FLAGS_IN(); 18012 L_250A9214: 18013 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 18014 L_250A9217: 18015 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 18016 L_250A921C: 18017 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 18018 L_250A9222: 18019 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 18020 L_250A9228: 18021 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 18022 L_250A922A: 18023 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 18024 L_250A922C: 18025 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18026 edi = 0; /* 0x250A922C: xor edi, edi */ 18027 _cf = 0; 18028 _flag_k = FK_TEST; 18029 L_250A922E: 18030 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 18031 L_250A9230: 18032 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 18033 L_250A9233: 18034 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 18035 L_250A923A: 18036 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 18037 L_250A923D: 18038 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 18039 L_250A9240: 18040 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 18041 RECOMP_FLAGS_IN(); 18042 L_250A9245: 18043 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 18044 L_250A9248: 18045 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 18046 L_250A924E: 18047 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 18048 L_250A9254: 18049 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 18050 L_250A925A: 18051 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 18052 L_250A925C: 18053 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 18054 L_250A925E: 18055 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 18056 L_250A9260: 18057 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 18058 L_250A9264: 18059 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 18060 L_250A926B: 18061 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 18062 L_250A9271: 18063 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 18064 L_250A9274: 18065 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 18066 RECOMP_FLAGS_IN(); 18067 L_250A9279: 18068 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 18069 L_250A927C: 18070 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 18071 L_250A9282: 18072 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 18073 L_250A9288: 18074 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 18075 L_250A928E: 18076 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 18077 L_250A9290: 18078 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 18079 L_250A9292: 18080 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 18081 L_250A9294: 18082 PUSH32(esp, edi); /* 0x250A9294: push edi */ 18083 L_250A9295: 18084 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 18085 L_250A9299: 18086 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 18087 L_250A929F: 18088 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 18089 L_250A92A9: 18090 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 18091 L_250A92AC: 18092 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 18093 L_250A92B2: 18094 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 18095 RECOMP_FLAGS_IN(); 18096 L_250A92B7: 18097 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 18098 L_250A92BD: 18099 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 18100 L_250A92C2: 18101 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 18102 L_250A92C8: 18103 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 18104 L_250A92CE: 18105 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 18106 L_250A92D0: 18107 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 18108 L_250A92D1: 18109 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 18110 L_250A92D3: 18111 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 18112 L_250A92D4: 18113 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 18114 L_250A92D8: 18115 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 18116 L_250A92DE: 18117 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 18118 L_250A92E8: 18119 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 18120 L_250A92EB: 18121 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 18122 L_250A92F1: 18123 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 18124 RECOMP_FLAGS_IN(); 18125 L_250A92F6: 18126 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 18127 L_250A92FC: 18128 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 18129 L_250A92FF: 18130 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 18131 L_250A9301: 18132 PUSH32(esp, edi); /* 0x250A9301: push edi */ 18133 L_250A9302: 18134 PUSH32(esp, edi); /* 0x250A9302: push edi */ 18135 L_250A9303: 18136 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 18137 L_250A9307: 18138 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 18139 RECOMP_FLAGS_IN(); 18140 L_250A930C: 18141 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 18142 L_250A930E: 18143 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 18144 RECOMP_FLAGS_IN(); 18145 L_250A9313: 18146 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 18147 L_250A9316: 18148 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 18149 L_250A9319: 18150 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 18151 L_250A931B: 18152 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 18153 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18155 _flag_k = FK_CMP; 18156 L_250A931D: 18157 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 18158 L_250A9323: 18159 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 18160 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 18161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18162 _flag_k = FK_CMP; 18163 L_250A9327: 18164 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 18165 L_250A932D: 18166 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 18167 L_250A9330: 18168 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 18169 L_250A9333: 18170 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 18171 L_250A9336: 18172 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 18173 L_250A9339: 18174 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 18175 L_250A933B: 18176 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 18177 L_250A933E: 18178 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 18179 L_250A9341: 18180 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 18181 L_250A9344: 18182 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 18183 L_250A9347: 18184 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 18185 L_250A934A: 18186 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 18187 L_250A934B: 18188 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 18189 L_250A934E: 18190 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 18191 L_250A9355: 18192 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 18193 L_250A935C: 18194 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 18195 L_250A9363: 18196 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 18197 L_250A9366: 18198 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 18199 L_250A9369: 18200 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 18201 RECOMP_FLAGS_IN(); 18202 L_250A936F: 18203 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 18204 L_250A9371: 18205 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 18206 L_250A9374: 18207 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 18208 L_250A9377: 18209 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 18210 L_250A937A: 18211 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 18212 L_250A937D: 18213 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 18214 L_250A9380: 18215 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 18216 L_250A9382: 18217 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 18218 L_250A9388: 18219 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 18220 L_250A938B: 18221 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 18222 L_250A938E: 18223 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 18224 L_250A9391: 18225 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 18226 L_250A9394: 18227 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 18228 L_250A9395: 18229 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 18230 L_250A939B: 18231 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 18232 L_250A93A1: 18233 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 18234 L_250A93A7: 18235 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 18236 RECOMP_FLAGS_IN(); 18237 L_250A93AD: 18238 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 18239 L_250A93B0: 18240 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 18241 L_250A93B2: 18242 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 18243 L_250A93B4: 18244 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 18245 L_250A93B7: 18246 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 18247 L_250A93BA: 18248 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 18249 L_250A93BD: 18250 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 18251 L_250A93BF: 18252 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 18253 L_250A93C2: 18254 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 18255 L_250A93C5: 18256 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 18257 L_250A93CA: 18258 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 18259 L_250A93CD: 18260 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 18261 L_250A93D0: 18262 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 18263 L_250A93D3: 18264 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 18265 L_250A93D6: 18266 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 18267 L_250A93D8: 18268 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 18269 L_250A93DB: 18270 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 18271 L_250A93DE: 18272 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 18273 L_250A93E0: 18274 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 18275 L_250A93E3: 18276 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 18277 L_250A93E5: 18278 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 18279 RECOMP_FLAGS_IN(); 18280 L_250A93EB: 18281 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 18282 L_250A93EE: 18283 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 18284 L_250A93EF: 18285 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 18286 L_250A93F2: 18287 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 18288 RECOMP_FLAGS_IN(); 18289 L_250A93F8: 18290 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 18291 L_250A93FB: 18292 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 18293 L_250A93FC: 18294 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 18295 L_250A93FF: 18296 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 18297 RECOMP_FLAGS_IN(); 18298 L_250A9405: 18299 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 18300 L_250A9408: 18301 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 18302 L_250A940A: 18303 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 18304 L_250A940D: 18305 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 18306 L_250A9410: 18307 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 18308 L_250A9413: 18309 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 18310 L_250A9415: 18311 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 18312 L_250A9418: 18313 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 18314 L_250A941A: 18315 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 18316 L_250A9420: 18317 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 18318 L_250A9421: 18319 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 18320 L_250A942B: 18321 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 18322 L_250A9431: 18323 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 18324 L_250A9437: 18325 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 18326 L_250A943D: 18327 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 18328 L_250A9440: 18329 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 18330 L_250A9443: 18331 PUSH32(esp, edx); /* 0x250A9443: push edx */ 18332 L_250A9444: 18333 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 18334 L_250A9447: 18335 PUSH32(esp, eax); /* 0x250A9447: push eax */ 18336 L_250A9448: 18337 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 18338 L_250A944D: 18339 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 18340 L_250A9453: 18341 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 18342 L_250A9454: 18343 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 18344 L_250A9455: 18345 ecx = esi; /* 0x250A9455: mov ecx, esi */ 18346 L_250A9457: 18347 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 18348 RECOMP_FLAGS_IN(); 18349 L_250A945C: 18350 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 18351 L_250A945F: 18352 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 18353 L_250A9461: 18354 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 18355 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18357 _flag_k = FK_CMP; 18358 L_250A9464: 18359 RECOMP_BACKEDGE(); 18360 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 18361 L_250A946A: 18362 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 18363 L_250A9470: 18364 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 18365 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18366 _cf = 0; 18367 _flag_k = FK_NARROW(FK_TEST, 24); 18368 L_250A9472: 18369 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 18370 L_250A9476: 18371 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 18372 L_250A9478: 18373 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 18374 L_250A947B: 18375 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 18376 L_250A9480: 18377 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 18378 L_250A9486: 18379 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 18380 L_250A9488: 18381 PUSH32(esp, edx); /* 0x250A9488: push edx */ 18382 L_250A9489: 18383 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 18384 L_250A948B: 18385 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 18386 L_250A948D: 18387 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 18388 RECOMP_FLAGS_IN(); 18389 L_250A9492: 18390 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 18391 L_250A9498: 18392 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 18393 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18394 _cf = 0; 18395 _flag_k = FK_NARROW(FK_TEST, 24); 18396 L_250A949A: 18397 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 18398 L_250A949E: 18399 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 18400 L_250A94A0: 18401 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 18402 L_250A94A3: 18403 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 18404 L_250A94A8: 18405 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 18406 L_250A94AE: 18407 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 18408 L_250A94B0: 18409 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 18410 L_250A94B1: 18411 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 18412 L_250A94B3: 18413 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 18414 L_250A94B5: 18415 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 18416 RECOMP_FLAGS_IN(); 18417 L_250A94BA: 18418 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 18419 L_250A94BD: 18420 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 18421 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18422 _cf = 0; 18423 _flag_k = FK_NARROW(FK_TEST, 24); 18424 L_250A94BF: 18425 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 18426 L_250A94C3: 18427 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 18428 L_250A94C5: 18429 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 18430 L_250A94CB: 18431 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 18432 L_250A94D0: 18433 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 18434 L_250A94D6: 18435 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 18436 L_250A94D8: 18437 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 18438 L_250A94D9: 18439 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 18440 L_250A94DB: 18441 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 18442 RECOMP_FLAGS_IN(); 18443 L_250A94E0: 18444 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 18445 L_250A94E3: 18446 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 18447 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18448 _cf = 0; 18449 _flag_k = FK_NARROW(FK_TEST, 24); 18450 L_250A94E5: 18451 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 18452 L_250A94E9: 18453 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 18454 L_250A94EB: 18455 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 18456 L_250A94EE: 18457 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 18458 L_250A94F3: 18459 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 18460 L_250A94F9: 18461 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 18462 L_250A94FB: 18463 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 18464 L_250A94FC: 18465 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 18466 L_250A94FE: 18467 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 18468 RECOMP_FLAGS_IN(); 18469 L_250A9503: 18470 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 18471 L_250A9506: 18472 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 18473 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18474 _cf = 0; 18475 _flag_k = FK_NARROW(FK_TEST, 24); 18476 L_250A9508: 18477 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 18478 L_250A950F: 18479 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 18480 L_250A9511: 18481 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 18482 L_250A9514: 18483 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 18484 L_250A951A: 18485 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 18486 L_250A9520: 18487 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 18488 L_250A9522: 18489 PUSH32(esp, eax); /* 0x250A9522: push eax */ 18490 L_250A9523: 18491 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 18492 L_250A9525: 18493 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 18494 RECOMP_FLAGS_IN(); 18495 L_250A952A: 18496 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 18497 L_250A952D: 18498 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 18499 L_250A952E: 18500 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 18501 L_250A952F: 18502 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 18503 L_250A9530: 18504 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 18505 L_250A9537: 18506 esp = ebp; /* 0x250A9537: mov esp, ebp */ 18507 L_250A9539: 18508 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 18509 L_250A953A: 18510 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 18511 _ljump: 18512 switch (_itail_tgt) { 18513 case 0x250A8B50u: goto L_250A8B50; 18514 case 0x250A8B53u: goto L_250A8B53; 18515 case 0x250A8B57u: goto L_250A8B57; 18516 case 0x250A8B5Du: goto L_250A8B5D; 18517 case 0x250A8B60u: goto L_250A8B60; 18518 case 0x250A8B63u: goto L_250A8B63; 18519 case 0x250A8B66u: goto L_250A8B66; 18520 case 0x250A8B6Cu: goto L_250A8B6C; 18521 case 0x250A8B6Eu: goto L_250A8B6E; 18522 case 0x250A8B71u: goto L_250A8B71; 18523 case 0x250A8B73u: goto L_250A8B73; 18524 case 0x250A8B79u: goto L_250A8B79; 18525 case 0x250A8B7Cu: goto L_250A8B7C; 18526 case 0x250A8B7Eu: goto L_250A8B7E; 18527 case 0x250A8B84u: goto L_250A8B84; 18528 case 0x250A8B87u: goto L_250A8B87; 18529 case 0x250A8B8Bu: goto L_250A8B8B; 18530 case 0x250A8B8Du: goto L_250A8B8D; 18531 case 0x250A8B91u: goto L_250A8B91; 18532 case 0x250A8B96u: goto L_250A8B96; 18533 case 0x250A8B99u: goto L_250A8B99; 18534 case 0x250A8B9Cu: goto L_250A8B9C; 18535 case 0x250A8B9Du: goto L_250A8B9D; 18536 case 0x250A8BA0u: goto L_250A8BA0; 18537 case 0x250A8BA1u: goto L_250A8BA1; 18538 case 0x250A8BA6u: goto L_250A8BA6; 18539 case 0x250A8BABu: goto L_250A8BAB; 18540 case 0x250A8BADu: goto L_250A8BAD; 18541 case 0x250A8BB0u: goto L_250A8BB0; 18542 case 0x250A8BB2u: goto L_250A8BB2; 18543 case 0x250A8BB5u: goto L_250A8BB5; 18544 case 0x250A8BB8u: goto L_250A8BB8; 18545 case 0x250A8BBAu: goto L_250A8BBA; 18546 case 0x250A8BBDu: goto L_250A8BBD; 18547 case 0x250A8BC3u: goto L_250A8BC3; 18548 case 0x250A8BC5u: goto L_250A8BC5; 18549 case 0x250A8BCBu: goto L_250A8BCB; 18550 case 0x250A8BCEu: goto L_250A8BCE; 18551 case 0x250A8BD0u: goto L_250A8BD0; 18552 case 0x250A8BD2u: goto L_250A8BD2; 18553 case 0x250A8BD5u: goto L_250A8BD5; 18554 case 0x250A8BD8u: goto L_250A8BD8; 18555 case 0x250A8BD9u: goto L_250A8BD9; 18556 case 0x250A8BDCu: goto L_250A8BDC; 18557 case 0x250A8BDDu: goto L_250A8BDD; 18558 case 0x250A8BE2u: goto L_250A8BE2; 18559 case 0x250A8BE5u: goto L_250A8BE5; 18560 case 0x250A8BEAu: goto L_250A8BEA; 18561 case 0x250A8BECu: goto L_250A8BEC; 18562 case 0x250A8BF2u: goto L_250A8BF2; 18563 case 0x250A8BF8u: goto L_250A8BF8; 18564 case 0x250A8BFBu: goto L_250A8BFB; 18565 case 0x250A8C01u: goto L_250A8C01; 18566 case 0x250A8C08u: goto L_250A8C08; 18567 case 0x250A8C0Au: goto L_250A8C0A; 18568 case 0x250A8C0Eu: goto L_250A8C0E; 18569 case 0x250A8C14u: goto L_250A8C14; 18570 case 0x250A8C1Au: goto L_250A8C1A; 18571 case 0x250A8C1Du: goto L_250A8C1D; 18572 case 0x250A8C20u: goto L_250A8C20; 18573 case 0x250A8C26u: goto L_250A8C26; 18574 case 0x250A8C2Du: goto L_250A8C2D; 18575 case 0x250A8C30u: goto L_250A8C30; 18576 case 0x250A8C33u: goto L_250A8C33; 18577 case 0x250A8C35u: goto L_250A8C35; 18578 case 0x250A8C3Bu: goto L_250A8C3B; 18579 case 0x250A8C3Cu: goto L_250A8C3C; 18580 case 0x250A8C42u: goto L_250A8C42; 18581 case 0x250A8C43u: goto L_250A8C43; 18582 case 0x250A8C45u: goto L_250A8C45; 18583 case 0x250A8C4Fu: goto L_250A8C4F; 18584 case 0x250A8C55u: goto L_250A8C55; 18585 case 0x250A8C5Au: goto L_250A8C5A; 18586 case 0x250A8C5Fu: goto L_250A8C5F; 18587 case 0x250A8C62u: goto L_250A8C62; 18588 case 0x250A8C65u: goto L_250A8C65; 18589 case 0x250A8C67u: goto L_250A8C67; 18590 case 0x250A8C6Du: goto L_250A8C6D; 18591 case 0x250A8C6Eu: goto L_250A8C6E; 18592 case 0x250A8C74u: goto L_250A8C74; 18593 case 0x250A8C75u: goto L_250A8C75; 18594 case 0x250A8C77u: goto L_250A8C77; 18595 case 0x250A8C81u: goto L_250A8C81; 18596 case 0x250A8C87u: goto L_250A8C87; 18597 case 0x250A8C8Cu: goto L_250A8C8C; 18598 case 0x250A8C91u: goto L_250A8C91; 18599 case 0x250A8C94u: goto L_250A8C94; 18600 case 0x250A8C97u: goto L_250A8C97; 18601 case 0x250A8C99u: goto L_250A8C99; 18602 case 0x250A8C9Fu: goto L_250A8C9F; 18603 case 0x250A8CA0u: goto L_250A8CA0; 18604 case 0x250A8CA6u: goto L_250A8CA6; 18605 case 0x250A8CA7u: goto L_250A8CA7; 18606 case 0x250A8CA9u: goto L_250A8CA9; 18607 case 0x250A8CB3u: goto L_250A8CB3; 18608 case 0x250A8CB9u: goto L_250A8CB9; 18609 case 0x250A8CBEu: goto L_250A8CBE; 18610 case 0x250A8CC3u: goto L_250A8CC3; 18611 case 0x250A8CC6u: goto L_250A8CC6; 18612 case 0x250A8CC9u: goto L_250A8CC9; 18613 case 0x250A8CCBu: goto L_250A8CCB; 18614 case 0x250A8CD1u: goto L_250A8CD1; 18615 case 0x250A8CD2u: goto L_250A8CD2; 18616 case 0x250A8CD8u: goto L_250A8CD8; 18617 case 0x250A8CD9u: goto L_250A8CD9; 18618 case 0x250A8CDBu: goto L_250A8CDB; 18619 case 0x250A8CE5u: goto L_250A8CE5; 18620 case 0x250A8CEBu: goto L_250A8CEB; 18621 case 0x250A8CF0u: goto L_250A8CF0; 18622 case 0x250A8CF5u: goto L_250A8CF5; 18623 case 0x250A8CF8u: goto L_250A8CF8; 18624 case 0x250A8CFBu: goto L_250A8CFB; 18625 case 0x250A8CFDu: goto L_250A8CFD; 18626 case 0x250A8D03u: goto L_250A8D03; 18627 case 0x250A8D04u: goto L_250A8D04; 18628 case 0x250A8D0Au: goto L_250A8D0A; 18629 case 0x250A8D0Bu: goto L_250A8D0B; 18630 case 0x250A8D0Du: goto L_250A8D0D; 18631 case 0x250A8D17u: goto L_250A8D17; 18632 case 0x250A8D1Du: goto L_250A8D1D; 18633 case 0x250A8D22u: goto L_250A8D22; 18634 case 0x250A8D27u: goto L_250A8D27; 18635 case 0x250A8D2Au: goto L_250A8D2A; 18636 case 0x250A8D2Du: goto L_250A8D2D; 18637 case 0x250A8D2Fu: goto L_250A8D2F; 18638 case 0x250A8D35u: goto L_250A8D35; 18639 case 0x250A8D36u: goto L_250A8D36; 18640 case 0x250A8D3Cu: goto L_250A8D3C; 18641 case 0x250A8D3Du: goto L_250A8D3D; 18642 case 0x250A8D3Fu: goto L_250A8D3F; 18643 case 0x250A8D49u: goto L_250A8D49; 18644 case 0x250A8D4Fu: goto L_250A8D4F; 18645 case 0x250A8D54u: goto L_250A8D54; 18646 case 0x250A8D59u: goto L_250A8D59; 18647 case 0x250A8D5Cu: goto L_250A8D5C; 18648 case 0x250A8D5Fu: goto L_250A8D5F; 18649 case 0x250A8D61u: goto L_250A8D61; 18650 case 0x250A8D64u: goto L_250A8D64; 18651 case 0x250A8D65u: goto L_250A8D65; 18652 case 0x250A8D68u: goto L_250A8D68; 18653 case 0x250A8D69u: goto L_250A8D69; 18654 case 0x250A8D6Bu: goto L_250A8D6B; 18655 case 0x250A8D72u: goto L_250A8D72; 18656 case 0x250A8D75u: goto L_250A8D75; 18657 case 0x250A8D7Au: goto L_250A8D7A; 18658 case 0x250A8D7Fu: goto L_250A8D7F; 18659 case 0x250A8D82u: goto L_250A8D82; 18660 case 0x250A8D85u: goto L_250A8D85; 18661 case 0x250A8D87u: goto L_250A8D87; 18662 case 0x250A8D8Au: goto L_250A8D8A; 18663 case 0x250A8D8Bu: goto L_250A8D8B; 18664 case 0x250A8D8Eu: goto L_250A8D8E; 18665 case 0x250A8D8Fu: goto L_250A8D8F; 18666 case 0x250A8D91u: goto L_250A8D91; 18667 case 0x250A8D98u: goto L_250A8D98; 18668 case 0x250A8D9Bu: goto L_250A8D9B; 18669 case 0x250A8DA0u: goto L_250A8DA0; 18670 case 0x250A8DA5u: goto L_250A8DA5; 18671 case 0x250A8DA8u: goto L_250A8DA8; 18672 case 0x250A8DABu: goto L_250A8DAB; 18673 case 0x250A8DADu: goto L_250A8DAD; 18674 case 0x250A8DB0u: goto L_250A8DB0; 18675 case 0x250A8DB1u: goto L_250A8DB1; 18676 case 0x250A8DB4u: goto L_250A8DB4; 18677 case 0x250A8DB5u: goto L_250A8DB5; 18678 case 0x250A8DB7u: goto L_250A8DB7; 18679 case 0x250A8DBEu: goto L_250A8DBE; 18680 case 0x250A8DC1u: goto L_250A8DC1; 18681 case 0x250A8DC6u: goto L_250A8DC6; 18682 case 0x250A8DCBu: goto L_250A8DCB; 18683 case 0x250A8DCEu: goto L_250A8DCE; 18684 case 0x250A8DD0u: goto L_250A8DD0; 18685 case 0x250A8DD2u: goto L_250A8DD2; 18686 case 0x250A8DD5u: goto L_250A8DD5; 18687 case 0x250A8DD8u: goto L_250A8DD8; 18688 case 0x250A8DDEu: goto L_250A8DDE; 18689 case 0x250A8DE1u: goto L_250A8DE1; 18690 case 0x250A8DE7u: goto L_250A8DE7; 18691 case 0x250A8DE8u: goto L_250A8DE8; 18692 case 0x250A8DEEu: goto L_250A8DEE; 18693 case 0x250A8DF5u: goto L_250A8DF5; 18694 case 0x250A8DFCu: goto L_250A8DFC; 18695 case 0x250A8E03u: goto L_250A8E03; 18696 case 0x250A8E09u: goto L_250A8E09; 18697 case 0x250A8E0Fu: goto L_250A8E0F; 18698 case 0x250A8E11u: goto L_250A8E11; 18699 case 0x250A8E17u: goto L_250A8E17; 18700 case 0x250A8E1Au: goto L_250A8E1A; 18701 case 0x250A8E20u: goto L_250A8E20; 18702 case 0x250A8E23u: goto L_250A8E23; 18703 case 0x250A8E29u: goto L_250A8E29; 18704 case 0x250A8E2Au: goto L_250A8E2A; 18705 case 0x250A8E30u: goto L_250A8E30; 18706 case 0x250A8E31u: goto L_250A8E31; 18707 case 0x250A8E33u: goto L_250A8E33; 18708 case 0x250A8E39u: goto L_250A8E39; 18709 case 0x250A8E3Fu: goto L_250A8E3F; 18710 case 0x250A8E42u: goto L_250A8E42; 18711 case 0x250A8E44u: goto L_250A8E44; 18712 case 0x250A8E46u: goto L_250A8E46; 18713 case 0x250A8E49u: goto L_250A8E49; 18714 case 0x250A8E4Cu: goto L_250A8E4C; 18715 case 0x250A8E4Fu: goto L_250A8E4F; 18716 case 0x250A8E52u: goto L_250A8E52; 18717 case 0x250A8E53u: goto L_250A8E53; 18718 case 0x250A8E59u: goto L_250A8E59; 18719 case 0x250A8E5Cu: goto L_250A8E5C; 18720 case 0x250A8E5Fu: goto L_250A8E5F; 18721 case 0x250A8E65u: goto L_250A8E65; 18722 case 0x250A8E6Au: goto L_250A8E6A; 18723 case 0x250A8E6Du: goto L_250A8E6D; 18724 case 0x250A8E73u: goto L_250A8E73; 18725 case 0x250A8E79u: goto L_250A8E79; 18726 case 0x250A8E7Au: goto L_250A8E7A; 18727 case 0x250A8E7Du: goto L_250A8E7D; 18728 case 0x250A8E83u: goto L_250A8E83; 18729 case 0x250A8E86u: goto L_250A8E86; 18730 case 0x250A8E87u: goto L_250A8E87; 18731 case 0x250A8E8Au: goto L_250A8E8A; 18732 case 0x250A8E90u: goto L_250A8E90; 18733 case 0x250A8E93u: goto L_250A8E93; 18734 case 0x250A8E95u: goto L_250A8E95; 18735 case 0x250A8E97u: goto L_250A8E97; 18736 case 0x250A8E9Au: goto L_250A8E9A; 18737 case 0x250A8E9Cu: goto L_250A8E9C; 18738 case 0x250A8E9Eu: goto L_250A8E9E; 18739 case 0x250A8E9Fu: goto L_250A8E9F; 18740 case 0x250A8EA1u: goto L_250A8EA1; 18741 case 0x250A8EA3u: goto L_250A8EA3; 18742 case 0x250A8EA5u: goto L_250A8EA5; 18743 case 0x250A8EA7u: goto L_250A8EA7; 18744 case 0x250A8EAAu: goto L_250A8EAA; 18745 case 0x250A8EAFu: goto L_250A8EAF; 18746 case 0x250A8EB1u: goto L_250A8EB1; 18747 case 0x250A8EB6u: goto L_250A8EB6; 18748 case 0x250A8EB9u: goto L_250A8EB9; 18749 case 0x250A8EBBu: goto L_250A8EBB; 18750 case 0x250A8EBEu: goto L_250A8EBE; 18751 case 0x250A8EC1u: goto L_250A8EC1; 18752 case 0x250A8EC4u: goto L_250A8EC4; 18753 case 0x250A8EC6u: goto L_250A8EC6; 18754 case 0x250A8EC9u: goto L_250A8EC9; 18755 case 0x250A8ECBu: goto L_250A8ECB; 18756 case 0x250A8ECEu: goto L_250A8ECE; 18757 case 0x250A8ED0u: goto L_250A8ED0; 18758 case 0x250A8ED2u: goto L_250A8ED2; 18759 case 0x250A8ED5u: goto L_250A8ED5; 18760 case 0x250A8ED8u: goto L_250A8ED8; 18761 case 0x250A8EDBu: goto L_250A8EDB; 18762 case 0x250A8EE2u: goto L_250A8EE2; 18763 case 0x250A8EE3u: goto L_250A8EE3; 18764 case 0x250A8EE4u: goto L_250A8EE4; 18765 case 0x250A8EE5u: goto L_250A8EE5; 18766 case 0x250A8EE7u: goto L_250A8EE7; 18767 case 0x250A8EEDu: goto L_250A8EED; 18768 case 0x250A8EF3u: goto L_250A8EF3; 18769 case 0x250A8EF6u: goto L_250A8EF6; 18770 case 0x250A8EF7u: goto L_250A8EF7; 18771 case 0x250A8EF8u: goto L_250A8EF8; 18772 case 0x250A8EFDu: goto L_250A8EFD; 18773 case 0x250A8F00u: goto L_250A8F00; 18774 case 0x250A8F02u: goto L_250A8F02; 18775 case 0x250A8F04u: goto L_250A8F04; 18776 case 0x250A8F07u: goto L_250A8F07; 18777 case 0x250A8F09u: goto L_250A8F09; 18778 case 0x250A8F0Bu: goto L_250A8F0B; 18779 case 0x250A8F0Cu: goto L_250A8F0C; 18780 case 0x250A8F0Eu: goto L_250A8F0E; 18781 case 0x250A8F10u: goto L_250A8F10; 18782 case 0x250A8F12u: goto L_250A8F12; 18783 case 0x250A8F14u: goto L_250A8F14; 18784 case 0x250A8F17u: goto L_250A8F17; 18785 case 0x250A8F1Cu: goto L_250A8F1C; 18786 case 0x250A8F1Eu: goto L_250A8F1E; 18787 case 0x250A8F23u: goto L_250A8F23; 18788 case 0x250A8F26u: goto L_250A8F26; 18789 case 0x250A8F29u: goto L_250A8F29; 18790 case 0x250A8F2Bu: goto L_250A8F2B; 18791 case 0x250A8F2Eu: goto L_250A8F2E; 18792 case 0x250A8F31u: goto L_250A8F31; 18793 case 0x250A8F37u: goto L_250A8F37; 18794 case 0x250A8F3Du: goto L_250A8F3D; 18795 case 0x250A8F3Fu: goto L_250A8F3F; 18796 case 0x250A8F45u: goto L_250A8F45; 18797 case 0x250A8F4Bu: goto L_250A8F4B; 18798 case 0x250A8F4Du: goto L_250A8F4D; 18799 case 0x250A8F52u: goto L_250A8F52; 18800 case 0x250A8F54u: goto L_250A8F54; 18801 case 0x250A8F57u: goto L_250A8F57; 18802 case 0x250A8F59u: goto L_250A8F59; 18803 case 0x250A8F5Cu: goto L_250A8F5C; 18804 case 0x250A8F5Eu: goto L_250A8F5E; 18805 case 0x250A8F64u: goto L_250A8F64; 18806 case 0x250A8F67u: goto L_250A8F67; 18807 case 0x250A8F69u: goto L_250A8F69; 18808 case 0x250A8F6Bu: goto L_250A8F6B; 18809 case 0x250A8F6Eu: goto L_250A8F6E; 18810 case 0x250A8F70u: goto L_250A8F70; 18811 case 0x250A8F72u: goto L_250A8F72; 18812 case 0x250A8F73u: goto L_250A8F73; 18813 case 0x250A8F75u: goto L_250A8F75; 18814 case 0x250A8F77u: goto L_250A8F77; 18815 case 0x250A8F79u: goto L_250A8F79; 18816 case 0x250A8F7Bu: goto L_250A8F7B; 18817 case 0x250A8F7Eu: goto L_250A8F7E; 18818 case 0x250A8F83u: goto L_250A8F83; 18819 case 0x250A8F85u: goto L_250A8F85; 18820 case 0x250A8F8Au: goto L_250A8F8A; 18821 case 0x250A8F8Cu: goto L_250A8F8C; 18822 case 0x250A8F96u: goto L_250A8F96; 18823 case 0x250A8FA0u: goto L_250A8FA0; 18824 case 0x250A8FAAu: goto L_250A8FAA; 18825 case 0x250A8FB4u: goto L_250A8FB4; 18826 case 0x250A8FBEu: goto L_250A8FBE; 18827 case 0x250A8FC8u: goto L_250A8FC8; 18828 case 0x250A8FD2u: goto L_250A8FD2; 18829 case 0x250A8FDCu: goto L_250A8FDC; 18830 case 0x250A8FE6u: goto L_250A8FE6; 18831 case 0x250A8FE9u: goto L_250A8FE9; 18832 case 0x250A8FECu: goto L_250A8FEC; 18833 case 0x250A8FF2u: goto L_250A8FF2; 18834 case 0x250A8FF4u: goto L_250A8FF4; 18835 case 0x250A8FFAu: goto L_250A8FFA; 18836 case 0x250A9000u: goto L_250A9000; 18837 case 0x250A9002u: goto L_250A9002; 18838 case 0x250A9007u: goto L_250A9007; 18839 case 0x250A9009u: goto L_250A9009; 18840 case 0x250A900Cu: goto L_250A900C; 18841 case 0x250A900Fu: goto L_250A900F; 18842 case 0x250A9011u: goto L_250A9011; 18843 case 0x250A9014u: goto L_250A9014; 18844 case 0x250A9016u: goto L_250A9016; 18845 case 0x250A9018u: goto L_250A9018; 18846 case 0x250A901Eu: goto L_250A901E; 18847 case 0x250A9021u: goto L_250A9021; 18848 case 0x250A9027u: goto L_250A9027; 18849 case 0x250A902Au: goto L_250A902A; 18850 case 0x250A902Du: goto L_250A902D; 18851 case 0x250A902Eu: goto L_250A902E; 18852 case 0x250A9030u: goto L_250A9030; 18853 case 0x250A9031u: goto L_250A9031; 18854 case 0x250A9033u: goto L_250A9033; 18855 case 0x250A9038u: goto L_250A9038; 18856 case 0x250A903Au: goto L_250A903A; 18857 case 0x250A903Fu: goto L_250A903F; 18858 case 0x250A9041u: goto L_250A9041; 18859 case 0x250A9043u: goto L_250A9043; 18860 case 0x250A9046u: goto L_250A9046; 18861 case 0x250A9048u: goto L_250A9048; 18862 case 0x250A9049u: goto L_250A9049; 18863 case 0x250A904Cu: goto L_250A904C; 18864 case 0x250A904Eu: goto L_250A904E; 18865 case 0x250A9055u: goto L_250A9055; 18866 case 0x250A9057u: goto L_250A9057; 18867 case 0x250A9059u: goto L_250A9059; 18868 case 0x250A905Eu: goto L_250A905E; 18869 case 0x250A9060u: goto L_250A9060; 18870 case 0x250A9065u: goto L_250A9065; 18871 case 0x250A9068u: goto L_250A9068; 18872 case 0x250A906Au: goto L_250A906A; 18873 case 0x250A9071u: goto L_250A9071; 18874 case 0x250A9076u: goto L_250A9076; 18875 case 0x250A9078u: goto L_250A9078; 18876 case 0x250A9079u: goto L_250A9079; 18877 case 0x250A907Bu: goto L_250A907B; 18878 case 0x250A907Eu: goto L_250A907E; 18879 case 0x250A9080u: goto L_250A9080; 18880 case 0x250A9082u: goto L_250A9082; 18881 case 0x250A9084u: goto L_250A9084; 18882 case 0x250A9087u: goto L_250A9087; 18883 case 0x250A908Au: goto L_250A908A; 18884 case 0x250A9090u: goto L_250A9090; 18885 case 0x250A9092u: goto L_250A9092; 18886 case 0x250A9093u: goto L_250A9093; 18887 case 0x250A9095u: goto L_250A9095; 18888 case 0x250A9096u: goto L_250A9096; 18889 case 0x250A9099u: goto L_250A9099; 18890 case 0x250A909Au: goto L_250A909A; 18891 case 0x250A909Du: goto L_250A909D; 18892 case 0x250A909Eu: goto L_250A909E; 18893 case 0x250A909Fu: goto L_250A909F; 18894 case 0x250A90A0u: goto L_250A90A0; 18895 case 0x250A90A2u: goto L_250A90A2; 18896 case 0x250A90A7u: goto L_250A90A7; 18897 case 0x250A90AAu: goto L_250A90AA; 18898 case 0x250A90ADu: goto L_250A90AD; 18899 case 0x250A90AEu: goto L_250A90AE; 18900 case 0x250A90B1u: goto L_250A90B1; 18901 case 0x250A90B4u: goto L_250A90B4; 18902 case 0x250A90B9u: goto L_250A90B9; 18903 case 0x250A90BCu: goto L_250A90BC; 18904 case 0x250A90BEu: goto L_250A90BE; 18905 case 0x250A90C4u: goto L_250A90C4; 18906 case 0x250A90C7u: goto L_250A90C7; 18907 case 0x250A90C9u: goto L_250A90C9; 18908 case 0x250A90CFu: goto L_250A90CF; 18909 case 0x250A90D2u: goto L_250A90D2; 18910 case 0x250A90D4u: goto L_250A90D4; 18911 case 0x250A90D6u: goto L_250A90D6; 18912 case 0x250A90D9u: goto L_250A90D9; 18913 case 0x250A90DBu: goto L_250A90DB; 18914 case 0x250A90DDu: goto L_250A90DD; 18915 case 0x250A90DEu: goto L_250A90DE; 18916 case 0x250A90E0u: goto L_250A90E0; 18917 case 0x250A90E2u: goto L_250A90E2; 18918 case 0x250A90E4u: goto L_250A90E4; 18919 case 0x250A90E6u: goto L_250A90E6; 18920 case 0x250A90E9u: goto L_250A90E9; 18921 case 0x250A90EEu: goto L_250A90EE; 18922 case 0x250A90F0u: goto L_250A90F0; 18923 case 0x250A90F5u: goto L_250A90F5; 18924 case 0x250A90F7u: goto L_250A90F7; 18925 case 0x250A90FAu: goto L_250A90FA; 18926 case 0x250A9100u: goto L_250A9100; 18927 case 0x250A9102u: goto L_250A9102; 18928 case 0x250A9104u: goto L_250A9104; 18929 case 0x250A910Au: goto L_250A910A; 18930 case 0x250A910Cu: goto L_250A910C; 18931 case 0x250A9111u: goto L_250A9111; 18932 case 0x250A9113u: goto L_250A9113; 18933 case 0x250A9116u: goto L_250A9116; 18934 case 0x250A9118u: goto L_250A9118; 18935 case 0x250A911Bu: goto L_250A911B; 18936 case 0x250A911Du: goto L_250A911D; 18937 case 0x250A911Fu: goto L_250A911F; 18938 case 0x250A9121u: goto L_250A9121; 18939 case 0x250A9127u: goto L_250A9127; 18940 case 0x250A912Au: goto L_250A912A; 18941 case 0x250A912Du: goto L_250A912D; 18942 case 0x250A9130u: goto L_250A9130; 18943 case 0x250A9132u: goto L_250A9132; 18944 case 0x250A9134u: goto L_250A9134; 18945 case 0x250A9137u: goto L_250A9137; 18946 case 0x250A913Cu: goto L_250A913C; 18947 case 0x250A913Eu: goto L_250A913E; 18948 case 0x250A9143u: goto L_250A9143; 18949 case 0x250A9144u: goto L_250A9144; 18950 case 0x250A9149u: goto L_250A9149; 18951 case 0x250A914Eu: goto L_250A914E; 18952 case 0x250A9150u: goto L_250A9150; 18953 case 0x250A9152u: goto L_250A9152; 18954 case 0x250A9154u: goto L_250A9154; 18955 case 0x250A9156u: goto L_250A9156; 18956 case 0x250A9157u: goto L_250A9157; 18957 case 0x250A9158u: goto L_250A9158; 18958 case 0x250A915Au: goto L_250A915A; 18959 case 0x250A915Fu: goto L_250A915F; 18960 case 0x250A9162u: goto L_250A9162; 18961 case 0x250A9163u: goto L_250A9163; 18962 case 0x250A9166u: goto L_250A9166; 18963 case 0x250A9169u: goto L_250A9169; 18964 case 0x250A916Bu: goto L_250A916B; 18965 case 0x250A916Eu: goto L_250A916E; 18966 case 0x250A9170u: goto L_250A9170; 18967 case 0x250A9172u: goto L_250A9172; 18968 case 0x250A9178u: goto L_250A9178; 18969 case 0x250A917Du: goto L_250A917D; 18970 case 0x250A9183u: goto L_250A9183; 18971 case 0x250A9188u: goto L_250A9188; 18972 case 0x250A918Eu: goto L_250A918E; 18973 case 0x250A9190u: goto L_250A9190; 18974 case 0x250A9192u: goto L_250A9192; 18975 case 0x250A9195u: goto L_250A9195; 18976 case 0x250A9197u: goto L_250A9197; 18977 case 0x250A919Au: goto L_250A919A; 18978 case 0x250A919Du: goto L_250A919D; 18979 case 0x250A91A2u: goto L_250A91A2; 18980 case 0x250A91A4u: goto L_250A91A4; 18981 case 0x250A91A6u: goto L_250A91A6; 18982 case 0x250A91A8u: goto L_250A91A8; 18983 case 0x250A91ABu: goto L_250A91AB; 18984 case 0x250A91ADu: goto L_250A91AD; 18985 case 0x250A91B0u: goto L_250A91B0; 18986 case 0x250A91B1u: goto L_250A91B1; 18987 case 0x250A91B2u: goto L_250A91B2; 18988 case 0x250A91B4u: goto L_250A91B4; 18989 case 0x250A91B7u: goto L_250A91B7; 18990 case 0x250A91BAu: goto L_250A91BA; 18991 case 0x250A91BCu: goto L_250A91BC; 18992 case 0x250A91BFu: goto L_250A91BF; 18993 case 0x250A91C5u: goto L_250A91C5; 18994 case 0x250A91C8u: goto L_250A91C8; 18995 case 0x250A91CBu: goto L_250A91CB; 18996 case 0x250A91D1u: goto L_250A91D1; 18997 case 0x250A91D4u: goto L_250A91D4; 18998 case 0x250A91D7u: goto L_250A91D7; 18999 case 0x250A91DCu: goto L_250A91DC; 19000 case 0x250A91E2u: goto L_250A91E2; 19001 case 0x250A91E4u: goto L_250A91E4; 19002 case 0x250A91EAu: goto L_250A91EA; 19003 case 0x250A91F0u: goto L_250A91F0; 19004 case 0x250A91F6u: goto L_250A91F6; 19005 case 0x250A91FCu: goto L_250A91FC; 19006 case 0x250A91FEu: goto L_250A91FE; 19007 case 0x250A9200u: goto L_250A9200; 19008 case 0x250A9202u: goto L_250A9202; 19009 case 0x250A9209u: goto L_250A9209; 19010 case 0x250A920Cu: goto L_250A920C; 19011 case 0x250A920Fu: goto L_250A920F; 19012 case 0x250A9214u: goto L_250A9214; 19013 case 0x250A9217u: goto L_250A9217; 19014 case 0x250A921Cu: goto L_250A921C; 19015 case 0x250A9222u: goto L_250A9222; 19016 case 0x250A9228u: goto L_250A9228; 19017 case 0x250A922Au: goto L_250A922A; 19018 case 0x250A922Cu: goto L_250A922C; 19019 case 0x250A922Eu: goto L_250A922E; 19020 case 0x250A9230u: goto L_250A9230; 19021 case 0x250A9233u: goto L_250A9233; 19022 case 0x250A923Au: goto L_250A923A; 19023 case 0x250A923Du: goto L_250A923D; 19024 case 0x250A9240u: goto L_250A9240; 19025 case 0x250A9245u: goto L_250A9245; 19026 case 0x250A9248u: goto L_250A9248; 19027 case 0x250A924Eu: goto L_250A924E; 19028 case 0x250A9254u: goto L_250A9254; 19029 case 0x250A925Au: goto L_250A925A; 19030 case 0x250A925Cu: goto L_250A925C; 19031 case 0x250A925Eu: goto L_250A925E; 19032 case 0x250A9260u: goto L_250A9260; 19033 case 0x250A9264u: goto L_250A9264; 19034 case 0x250A926Bu: goto L_250A926B; 19035 case 0x250A9271u: goto L_250A9271; 19036 case 0x250A9274u: goto L_250A9274; 19037 case 0x250A9279u: goto L_250A9279; 19038 case 0x250A927Cu: goto L_250A927C; 19039 case 0x250A9282u: goto L_250A9282; 19040 case 0x250A9288u: goto L_250A9288; 19041 case 0x250A928Eu: goto L_250A928E; 19042 case 0x250A9290u: goto L_250A9290; 19043 case 0x250A9292u: goto L_250A9292; 19044 case 0x250A9294u: goto L_250A9294; 19045 case 0x250A9295u: goto L_250A9295; 19046 case 0x250A9299u: goto L_250A9299; 19047 case 0x250A929Fu: goto L_250A929F; 19048 case 0x250A92A9u: goto L_250A92A9; 19049 case 0x250A92ACu: goto L_250A92AC; 19050 case 0x250A92B2u: goto L_250A92B2; 19051 case 0x250A92B7u: goto L_250A92B7; 19052 case 0x250A92BDu: goto L_250A92BD; 19053 case 0x250A92C2u: goto L_250A92C2; 19054 case 0x250A92C8u: goto L_250A92C8; 19055 case 0x250A92CEu: goto L_250A92CE; 19056 case 0x250A92D0u: goto L_250A92D0; 19057 case 0x250A92D1u: goto L_250A92D1; 19058 case 0x250A92D3u: goto L_250A92D3; 19059 case 0x250A92D4u: goto L_250A92D4; 19060 case 0x250A92D8u: goto L_250A92D8; 19061 case 0x250A92DEu: goto L_250A92DE; 19062 case 0x250A92E8u: goto L_250A92E8; 19063 case 0x250A92EBu: goto L_250A92EB; 19064 case 0x250A92F1u: goto L_250A92F1; 19065 case 0x250A92F6u: goto L_250A92F6; 19066 case 0x250A92FCu: goto L_250A92FC; 19067 case 0x250A92FFu: goto L_250A92FF; 19068 case 0x250A9301u: goto L_250A9301; 19069 case 0x250A9302u: goto L_250A9302; 19070 case 0x250A9303u: goto L_250A9303; 19071 case 0x250A9307u: goto L_250A9307; 19072 case 0x250A930Cu: goto L_250A930C; 19073 case 0x250A930Eu: goto L_250A930E; 19074 case 0x250A9313u: goto L_250A9313; 19075 case 0x250A9316u: goto L_250A9316; 19076 case 0x250A9319u: goto L_250A9319; 19077 case 0x250A931Bu: goto L_250A931B; 19078 case 0x250A931Du: goto L_250A931D; 19079 case 0x250A9323u: goto L_250A9323; 19080 case 0x250A9327u: goto L_250A9327; 19081 case 0x250A932Du: goto L_250A932D; 19082 case 0x250A9330u: goto L_250A9330; 19083 case 0x250A9333u: goto L_250A9333; 19084 case 0x250A9336u: goto L_250A9336; 19085 case 0x250A9339u: goto L_250A9339; 19086 case 0x250A933Bu: goto L_250A933B; 19087 case 0x250A933Eu: goto L_250A933E; 19088 case 0x250A9341u: goto L_250A9341; 19089 case 0x250A9344u: goto L_250A9344; 19090 case 0x250A9347u: goto L_250A9347; 19091 case 0x250A934Au: goto L_250A934A; 19092 case 0x250A934Bu: goto L_250A934B; 19093 case 0x250A934Eu: goto L_250A934E; 19094 case 0x250A9355u: goto L_250A9355; 19095 case 0x250A935Cu: goto L_250A935C; 19096 case 0x250A9363u: goto L_250A9363; 19097 case 0x250A9366u: goto L_250A9366; 19098 case 0x250A9369u: goto L_250A9369; 19099 case 0x250A936Fu: goto L_250A936F; 19100 case 0x250A9371u: goto L_250A9371; 19101 case 0x250A9374u: goto L_250A9374; 19102 case 0x250A9377u: goto L_250A9377; 19103 case 0x250A937Au: goto L_250A937A; 19104 case 0x250A937Du: goto L_250A937D; 19105 case 0x250A9380u: goto L_250A9380; 19106 case 0x250A9382u: goto L_250A9382; 19107 case 0x250A9388u: goto L_250A9388; 19108 case 0x250A938Bu: goto L_250A938B; 19109 case 0x250A938Eu: goto L_250A938E; 19110 case 0x250A9391u: goto L_250A9391; 19111 case 0x250A9394u: goto L_250A9394; 19112 case 0x250A9395u: goto L_250A9395; 19113 case 0x250A939Bu: goto L_250A939B; 19114 case 0x250A93A1u: goto L_250A93A1; 19115 case 0x250A93A7u: goto L_250A93A7; 19116 case 0x250A93ADu: goto L_250A93AD; 19117 case 0x250A93B0u: goto L_250A93B0; 19118 case 0x250A93B2u: goto L_250A93B2; 19119 case 0x250A93B4u: goto L_250A93B4; 19120 case 0x250A93B7u: goto L_250A93B7; 19121 case 0x250A93BAu: goto L_250A93BA; 19122 case 0x250A93BDu: goto L_250A93BD; 19123 case 0x250A93BFu: goto L_250A93BF; 19124 case 0x250A93C2u: goto L_250A93C2; 19125 case 0x250A93C5u: goto L_250A93C5; 19126 case 0x250A93CAu: goto L_250A93CA; 19127 case 0x250A93CDu: goto L_250A93CD; 19128 case 0x250A93D0u: goto L_250A93D0; 19129 case 0x250A93D3u: goto L_250A93D3; 19130 case 0x250A93D6u: goto L_250A93D6; 19131 case 0x250A93D8u: goto L_250A93D8; 19132 case 0x250A93DBu: goto L_250A93DB; 19133 case 0x250A93DEu: goto L_250A93DE; 19134 case 0x250A93E0u: goto L_250A93E0; 19135 case 0x250A93E3u: goto L_250A93E3; 19136 case 0x250A93E5u: goto L_250A93E5; 19137 case 0x250A93EBu: goto L_250A93EB; 19138 case 0x250A93EEu: goto L_250A93EE; 19139 case 0x250A93EFu: goto L_250A93EF; 19140 case 0x250A93F2u: goto L_250A93F2; 19141 case 0x250A93F8u: goto L_250A93F8; 19142 case 0x250A93FBu: goto L_250A93FB; 19143 case 0x250A93FCu: goto L_250A93FC; 19144 case 0x250A93FFu: goto L_250A93FF; 19145 case 0x250A9405u: goto L_250A9405; 19146 case 0x250A9408u: goto L_250A9408; 19147 case 0x250A940Au: goto L_250A940A; 19148 case 0x250A940Du: goto L_250A940D; 19149 case 0x250A9410u: goto L_250A9410; 19150 case 0x250A9413u: goto L_250A9413; 19151 case 0x250A9415u: goto L_250A9415; 19152 case 0x250A9418u: goto L_250A9418; 19153 case 0x250A941Au: goto L_250A941A; 19154 case 0x250A9420u: goto L_250A9420; 19155 case 0x250A9421u: goto L_250A9421; 19156 case 0x250A942Bu: goto L_250A942B; 19157 case 0x250A9431u: goto L_250A9431; 19158 case 0x250A9437u: goto L_250A9437; 19159 case 0x250A943Du: goto L_250A943D; 19160 case 0x250A9440u: goto L_250A9440; 19161 case 0x250A9443u: goto L_250A9443; 19162 case 0x250A9444u: goto L_250A9444; 19163 case 0x250A9447u: goto L_250A9447; 19164 case 0x250A9448u: goto L_250A9448; 19165 case 0x250A944Du: goto L_250A944D; 19166 case 0x250A9453u: goto L_250A9453; 19167 case 0x250A9454u: goto L_250A9454; 19168 case 0x250A9455u: goto L_250A9455; 19169 case 0x250A9457u: goto L_250A9457; 19170 case 0x250A945Cu: goto L_250A945C; 19171 case 0x250A945Fu: goto L_250A945F; 19172 case 0x250A9461u: goto L_250A9461; 19173 case 0x250A9464u: goto L_250A9464; 19174 case 0x250A946Au: goto L_250A946A; 19175 case 0x250A9470u: goto L_250A9470; 19176 case 0x250A9472u: goto L_250A9472; 19177 case 0x250A9476u: goto L_250A9476; 19178 case 0x250A9478u: goto L_250A9478; 19179 case 0x250A947Bu: goto L_250A947B; 19180 case 0x250A9480u: goto L_250A9480; 19181 case 0x250A9486u: goto L_250A9486; 19182 case 0x250A9488u: goto L_250A9488; 19183 case 0x250A9489u: goto L_250A9489; 19184 case 0x250A948Bu: goto L_250A948B; 19185 case 0x250A948Du: goto L_250A948D; 19186 case 0x250A9492u: goto L_250A9492; 19187 case 0x250A9498u: goto L_250A9498; 19188 case 0x250A949Au: goto L_250A949A; 19189 case 0x250A949Eu: goto L_250A949E; 19190 case 0x250A94A0u: goto L_250A94A0; 19191 case 0x250A94A3u: goto L_250A94A3; 19192 case 0x250A94A8u: goto L_250A94A8; 19193 case 0x250A94AEu: goto L_250A94AE; 19194 case 0x250A94B0u: goto L_250A94B0; 19195 case 0x250A94B1u: goto L_250A94B1; 19196 case 0x250A94B3u: goto L_250A94B3; 19197 case 0x250A94B5u: goto L_250A94B5; 19198 case 0x250A94BAu: goto L_250A94BA; 19199 case 0x250A94BDu: goto L_250A94BD; 19200 case 0x250A94BFu: goto L_250A94BF; 19201 case 0x250A94C3u: goto L_250A94C3; 19202 case 0x250A94C5u: goto L_250A94C5; 19203 case 0x250A94CBu: goto L_250A94CB; 19204 case 0x250A94D0u: goto L_250A94D0; 19205 case 0x250A94D6u: goto L_250A94D6; 19206 case 0x250A94D8u: goto L_250A94D8; 19207 case 0x250A94D9u: goto L_250A94D9; 19208 case 0x250A94DBu: goto L_250A94DB; 19209 case 0x250A94E0u: goto L_250A94E0; 19210 case 0x250A94E3u: goto L_250A94E3; 19211 case 0x250A94E5u: goto L_250A94E5; 19212 case 0x250A94E9u: goto L_250A94E9; 19213 case 0x250A94EBu: goto L_250A94EB; 19214 case 0x250A94EEu: goto L_250A94EE; 19215 case 0x250A94F3u: goto L_250A94F3; 19216 case 0x250A94F9u: goto L_250A94F9; 19217 case 0x250A94FBu: goto L_250A94FB; 19218 case 0x250A94FCu: goto L_250A94FC; 19219 case 0x250A94FEu: goto L_250A94FE; 19220 case 0x250A9503u: goto L_250A9503; 19221 case 0x250A9506u: goto L_250A9506; 19222 case 0x250A9508u: goto L_250A9508; 19223 case 0x250A950Fu: goto L_250A950F; 19224 case 0x250A9511u: goto L_250A9511; 19225 case 0x250A9514u: goto L_250A9514; 19226 case 0x250A951Au: goto L_250A951A; 19227 case 0x250A9520u: goto L_250A9520; 19228 case 0x250A9522u: goto L_250A9522; 19229 case 0x250A9523u: goto L_250A9523; 19230 case 0x250A9525u: goto L_250A9525; 19231 case 0x250A952Au: goto L_250A952A; 19232 case 0x250A952Du: goto L_250A952D; 19233 case 0x250A952Eu: goto L_250A952E; 19234 case 0x250A952Fu: goto L_250A952F; 19235 case 0x250A9530u: goto L_250A9530; 19236 case 0x250A9537u: goto L_250A9537; 19237 case 0x250A9539u: goto L_250A9539; 19238 case 0x250A953Au: goto L_250A953A; 19239 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 19240 } 19241 RECOMP_REGS_OUT(); 19242 } 19243 19244 void sub_250A8F7B(void) { 19245 int _fpu_cmp = 0; 19246 uint32_t _cf = 0; 19247 int _df = 1; 19248 uint32_t _flag_k = FK_NONE; 19249 uint32_t _flag_a = 0, _flag_b = 0; 19250 uint32_t _itail_tgt = 0; 19251 RECOMP_REGS_LOCALS 19252 RECOMP_ENTER(0x250A8F7Bu); 19253 19254 L_250A8F7B: 19255 ecx = MEM32(ebx + 0x8); /* 0x250A8F7B: mov ecx, dword ptr [ebx + 8] */ 19256 L_250A8F7E: 19257 RECOMP_ICALL(0x250EFF90u); /* 0x250A8F7E: call 0x250eff90 */ /* not lifted */ 19258 RECOMP_FLAGS_IN(); 19259 L_250A8F83: 19260 ecx = ebx; /* 0x250A8F83: mov ecx, ebx */ 19261 L_250A8F85: 19262 RECOMP_ICALL(0x250E05D0u); /* 0x250A8F85: call 0x250e05d0 */ /* not lifted */ 19263 RECOMP_FLAGS_IN(); 19264 L_250A8F8A: 19265 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19266 eax = 0; /* 0x250A8F8A: xor eax, eax */ 19267 _cf = 0; 19268 _flag_k = FK_TEST; 19269 L_250A8F8C: 19270 MEM32(ebp + (-0x128)) = 4; /* 0x250A8F8C: mov dword ptr [ebp - 0x128], 4 */ 19271 L_250A8F96: 19272 MEM32(ebp + (-0x124)) = 7; /* 0x250A8F96: mov dword ptr [ebp - 0x124], 7 */ 19273 L_250A8FA0: 19274 MEM32(ebp + (-0x120)) = 0xAu; /* 0x250A8FA0: mov dword ptr [ebp - 0x120], 0xa */ 19275 L_250A8FAA: 19276 MEM32(ebp + (-0x11C)) = 3; /* 0x250A8FAA: mov dword ptr [ebp - 0x11c], 3 */ 19277 L_250A8FB4: 19278 MEM32(ebp + (-0x118)) = 6; /* 0x250A8FB4: mov dword ptr [ebp - 0x118], 6 */ 19279 L_250A8FBE: 19280 MEM32(ebp + (-0x114)) = 9; /* 0x250A8FBE: mov dword ptr [ebp - 0x114], 9 */ 19281 L_250A8FC8: 19282 MEM32(ebp + (-0x110)) = 5; /* 0x250A8FC8: mov dword ptr [ebp - 0x110], 5 */ 19283 L_250A8FD2: 19284 MEM32(ebp + (-0x10C)) = 8; /* 0x250A8FD2: mov dword ptr [ebp - 0x10c], 8 */ 19285 L_250A8FDC: 19286 MEM32(ebp + (-0x108)) = 0xBu; /* 0x250A8FDC: mov dword ptr [ebp - 0x108], 0xb */ 19287 L_250A8FE6: 19288 MEM32(ebp + 0x8) = eax; /* 0x250A8FE6: mov dword ptr [ebp + 8], eax */ 19289 L_250A8FE9: 19290 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 19291 L_250A8FEC: 19292 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 19293 L_250A8FF2: 19294 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 19295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19296 _cf = 0; 19297 _flag_k = FK_TEST; 19298 L_250A8FF4: 19299 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 19300 L_250A8FFA: 19301 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 19302 L_250A9000: 19303 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19305 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 19306 _flag_k = FK_CMP; 19307 L_250A9002: 19308 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 19309 L_250A9007: 19310 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 19311 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 19312 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 19313 L_250A9009: 19314 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 19315 L_250A900C: 19316 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 19317 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19318 edx = (uint32_t)((int32_t)edx >> 3u); 19319 L_250A900F: 19320 ecx = edx; /* 0x250A900F: mov ecx, edx */ 19321 L_250A9011: 19322 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 19323 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19324 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 19325 L_250A9014: 19326 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 19327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19328 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 19329 _flag_k = FK_ADD; 19330 L_250A9016: 19331 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 19332 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19334 _flag_k = FK_CMP; 19335 L_250A9018: 19336 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 19337 L_250A901E: 19338 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 19339 L_250A9021: 19340 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 19341 L_250A9027: 19342 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 19343 L_250A902A: 19344 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 19345 L_250A902D: 19346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19347 eax = eax - 1; /* 0x250A902D: dec eax */ 19348 _flag_k = FK_DEC; 19349 L_250A902E: 19350 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 19351 L_250A9030: 19352 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19353 eax = eax - 1; /* 0x250A9030: dec eax */ 19354 _flag_k = FK_DEC; 19355 L_250A9031: 19356 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 19357 L_250A9033: 19358 eax = 2; /* 0x250A9033: mov eax, 2 */ 19359 L_250A9038: 19360 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 19361 L_250A903A: 19362 eax = 1; /* 0x250A903A: mov eax, 1 */ 19363 L_250A903F: 19364 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 19365 L_250A9041: 19366 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19367 eax = 0; /* 0x250A9041: xor eax, eax */ 19368 _cf = 0; 19369 _flag_k = FK_TEST; 19370 L_250A9043: 19371 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 19372 L_250A9046: 19373 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19374 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 19375 _cf = 0; 19376 _flag_k = FK_TEST; 19377 L_250A9048: 19378 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 19379 edx = edx - 1; /* 0x250A9048: dec edx */ 19380 _flag_k = FK_DEC; 19381 L_250A9049: 19382 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 19383 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 19384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19385 _flag_k = FK_CMP; 19386 L_250A904C: 19387 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 19388 L_250A904E: 19389 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 19390 L_250A9055: 19391 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19392 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 19393 _cf = 0; 19394 _flag_k = FK_TEST; 19395 L_250A9057: 19396 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 19397 L_250A9059: 19398 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 19399 L_250A905E: 19400 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 19401 L_250A9060: 19402 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 19403 L_250A9065: 19404 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 19405 L_250A9068: 19406 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19408 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 19409 _flag_k = FK_ADD; 19410 L_250A906A: 19411 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 19412 L_250A9071: 19413 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 19414 L_250A9076: 19415 eax = ecx; /* 0x250A9076: mov eax, ecx */ 19416 L_250A9078: 19417 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 19418 L_250A9079: 19419 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 19420 L_250A907B: 19421 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 19422 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 19423 _cf = 0; 19424 _flag_k = FK_TEST; 19425 L_250A907E: 19426 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 19427 L_250A9080: 19428 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19429 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19430 eax = eax + edx; /* 0x250A9080: add eax, edx */ 19431 _flag_k = FK_ADD; 19432 L_250A9082: 19433 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 19434 L_250A9084: 19435 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 19436 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19437 eax = (uint32_t)((int32_t)eax >> 2u); 19438 L_250A9087: 19439 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 19440 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19441 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 19442 L_250A908A: 19443 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 19444 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 19445 _cf = 0; 19446 _flag_k = FK_TEST; 19447 L_250A9090: 19448 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 19449 L_250A9092: 19450 PUSH32(esp, eax); /* 0x250A9092: push eax */ 19451 L_250A9093: 19452 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 19453 L_250A9095: 19454 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19455 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 19456 _flag_k = FK_DEC; 19457 L_250A9096: 19458 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 19459 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 19460 _cf = 0; 19461 _flag_k = FK_TEST; 19462 L_250A9099: 19463 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19464 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 19465 _flag_k = FK_INC; 19466 L_250A909A: 19467 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 19468 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19469 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 19470 L_250A909D: 19471 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 19472 L_250A909E: 19473 PUSH32(esp, edi); /* 0x250A909E: push edi */ 19474 L_250A909F: 19475 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 19476 L_250A90A0: 19477 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 19478 L_250A90A2: 19479 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 19480 RECOMP_FLAGS_IN(); 19481 L_250A90A7: 19482 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 19483 L_250A90AA: 19484 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 19485 L_250A90AD: 19486 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19487 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 19488 _flag_k = FK_INC; 19489 L_250A90AE: 19490 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 19491 L_250A90B1: 19492 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 19493 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19494 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 19495 _flag_k = FK_ADD; 19496 L_250A90B4: 19497 RECOMP_BACKEDGE(); 19498 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 19499 L_250A90B9: 19500 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 19501 L_250A90BC: 19502 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 19503 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19504 _cf = 0; 19505 _flag_k = FK_NARROW(FK_TEST, 24); 19506 L_250A90BE: 19507 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 19508 L_250A90C4: 19509 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 19510 L_250A90C7: 19511 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 19512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19513 _cf = 0; 19514 _flag_k = FK_TEST; 19515 L_250A90C9: 19516 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 19517 L_250A90CF: 19518 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 19519 L_250A90D2: 19520 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 19521 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19522 _cf = 0; 19523 _flag_k = FK_TEST; 19524 L_250A90D4: 19525 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 19526 L_250A90D6: 19527 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 19528 L_250A90D9: 19529 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 19530 L_250A90DB: 19531 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 19532 L_250A90DD: 19533 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 19534 L_250A90DE: 19535 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 19536 L_250A90E0: 19537 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 19538 L_250A90E2: 19539 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 19540 L_250A90E4: 19541 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 19542 L_250A90E6: 19543 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 19544 L_250A90E9: 19545 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 19546 RECOMP_FLAGS_IN(); 19547 L_250A90EE: 19548 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 19549 L_250A90F0: 19550 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 19551 RECOMP_FLAGS_IN(); 19552 L_250A90F5: 19553 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19554 edi = 0; /* 0x250A90F5: xor edi, edi */ 19555 _cf = 0; 19556 _flag_k = FK_TEST; 19557 L_250A90F7: 19558 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 19559 L_250A90FA: 19560 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 19561 L_250A9100: 19562 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 19563 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19564 _cf = 0; 19565 _flag_k = FK_TEST; 19566 L_250A9102: 19567 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 19568 L_250A9104: 19569 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 19570 L_250A910A: 19571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19573 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 19574 _flag_k = FK_CMP; 19575 L_250A910C: 19576 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 19577 L_250A9111: 19578 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 19579 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 19580 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 19581 L_250A9113: 19582 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 19583 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19584 edx = (uint32_t)((int32_t)edx >> 3u); 19585 L_250A9116: 19586 eax = edx; /* 0x250A9116: mov eax, edx */ 19587 L_250A9118: 19588 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 19589 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19590 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 19591 L_250A911B: 19592 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 19593 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19594 edx = edx + eax; /* 0x250A911B: add edx, eax */ 19595 _flag_k = FK_ADD; 19596 L_250A911D: 19597 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 19598 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 19599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19600 _flag_k = FK_CMP; 19601 L_250A911F: 19602 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 19603 L_250A9121: 19604 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 19605 L_250A9127: 19606 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 19607 L_250A912A: 19608 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 19609 L_250A912D: 19610 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 19611 L_250A9130: 19612 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 19613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 19614 _cf = 0; 19615 _flag_k = FK_TEST; 19616 L_250A9132: 19617 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 19618 L_250A9134: 19619 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 19620 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 19621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19622 _flag_k = FK_CMP; 19623 L_250A9137: 19624 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 19625 L_250A913C: 19626 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 19627 L_250A913E: 19628 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 19629 L_250A9143: 19630 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 19631 L_250A9144: 19632 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 19633 L_250A9149: 19634 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 19635 L_250A914E: 19636 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 19637 L_250A9150: 19638 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 19639 L_250A9152: 19640 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 19641 L_250A9154: 19642 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 19643 L_250A9156: 19644 PUSH32(esp, eax); /* 0x250A9156: push eax */ 19645 L_250A9157: 19646 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 19647 L_250A9158: 19648 ecx = esi; /* 0x250A9158: mov ecx, esi */ 19649 L_250A915A: 19650 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 19651 RECOMP_FLAGS_IN(); 19652 L_250A915F: 19653 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 19654 L_250A9162: 19655 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 19656 edi = edi + 1; /* 0x250A9162: inc edi */ 19657 _flag_k = FK_INC; 19658 L_250A9163: 19659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 19660 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19661 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 19662 _flag_k = FK_ADD; 19663 L_250A9166: 19664 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 19665 L_250A9169: 19666 RECOMP_BACKEDGE(); 19667 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 19668 L_250A916B: 19669 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 19670 L_250A916E: 19671 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 19672 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19673 _cf = 0; 19674 _flag_k = FK_NARROW(FK_TEST, 24); 19675 L_250A9170: 19676 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 19677 L_250A9172: 19678 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 19679 L_250A9178: 19680 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 19681 L_250A917D: 19682 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 19683 L_250A9183: 19684 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 19685 L_250A9188: 19686 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 19687 L_250A918E: 19688 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 19689 L_250A9190: 19690 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 19691 L_250A9192: 19692 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 19693 L_250A9195: 19694 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 19695 L_250A9197: 19696 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 19697 L_250A919A: 19698 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 19699 L_250A919D: 19700 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 19701 L_250A91A2: 19702 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 19703 L_250A91A4: 19704 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 19705 L_250A91A6: 19706 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 19707 L_250A91A8: 19708 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 19709 L_250A91AB: 19710 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 19711 L_250A91AD: 19712 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 19713 L_250A91B0: 19714 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 19715 L_250A91B1: 19716 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 19717 L_250A91B2: 19718 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 19719 L_250A91B4: 19720 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 19721 L_250A91B7: 19722 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 19723 L_250A91BA: 19724 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 19725 L_250A91BC: 19726 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 19727 L_250A91BF: 19728 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 19729 L_250A91C5: 19730 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 19731 L_250A91C8: 19732 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 19733 L_250A91CB: 19734 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 19735 L_250A91D1: 19736 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 19737 L_250A91D4: 19738 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 19739 L_250A91D7: 19740 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 19741 RECOMP_FLAGS_IN(); 19742 L_250A91DC: 19743 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 19744 L_250A91E2: 19745 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 19746 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19747 _cf = 0; 19748 _flag_k = FK_NARROW(FK_TEST, 24); 19749 L_250A91E4: 19750 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 19751 L_250A91EA: 19752 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 19753 L_250A91F0: 19754 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 19755 L_250A91F6: 19756 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 19757 L_250A91FC: 19758 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 19759 L_250A91FE: 19760 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 19761 L_250A9200: 19762 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 19763 L_250A9202: 19764 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 19765 L_250A9209: 19766 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 19767 L_250A920C: 19768 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 19769 L_250A920F: 19770 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 19771 RECOMP_FLAGS_IN(); 19772 L_250A9214: 19773 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 19774 L_250A9217: 19775 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 19776 L_250A921C: 19777 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 19778 L_250A9222: 19779 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 19780 L_250A9228: 19781 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 19782 L_250A922A: 19783 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 19784 L_250A922C: 19785 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19786 edi = 0; /* 0x250A922C: xor edi, edi */ 19787 _cf = 0; 19788 _flag_k = FK_TEST; 19789 L_250A922E: 19790 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 19791 L_250A9230: 19792 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 19793 L_250A9233: 19794 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 19795 L_250A923A: 19796 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 19797 L_250A923D: 19798 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 19799 L_250A9240: 19800 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 19801 RECOMP_FLAGS_IN(); 19802 L_250A9245: 19803 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 19804 L_250A9248: 19805 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 19806 L_250A924E: 19807 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 19808 L_250A9254: 19809 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 19810 L_250A925A: 19811 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 19812 L_250A925C: 19813 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 19814 L_250A925E: 19815 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 19816 L_250A9260: 19817 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 19818 L_250A9264: 19819 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 19820 L_250A926B: 19821 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 19822 L_250A9271: 19823 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 19824 L_250A9274: 19825 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 19826 RECOMP_FLAGS_IN(); 19827 L_250A9279: 19828 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 19829 L_250A927C: 19830 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 19831 L_250A9282: 19832 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 19833 L_250A9288: 19834 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 19835 L_250A928E: 19836 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 19837 L_250A9290: 19838 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 19839 L_250A9292: 19840 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 19841 L_250A9294: 19842 PUSH32(esp, edi); /* 0x250A9294: push edi */ 19843 L_250A9295: 19844 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 19845 L_250A9299: 19846 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 19847 L_250A929F: 19848 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 19849 L_250A92A9: 19850 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 19851 L_250A92AC: 19852 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 19853 L_250A92B2: 19854 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 19855 RECOMP_FLAGS_IN(); 19856 L_250A92B7: 19857 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 19858 L_250A92BD: 19859 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 19860 L_250A92C2: 19861 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 19862 L_250A92C8: 19863 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 19864 L_250A92CE: 19865 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 19866 L_250A92D0: 19867 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 19868 L_250A92D1: 19869 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 19870 L_250A92D3: 19871 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 19872 L_250A92D4: 19873 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 19874 L_250A92D8: 19875 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 19876 L_250A92DE: 19877 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 19878 L_250A92E8: 19879 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 19880 L_250A92EB: 19881 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 19882 L_250A92F1: 19883 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 19884 RECOMP_FLAGS_IN(); 19885 L_250A92F6: 19886 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 19887 L_250A92FC: 19888 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 19889 L_250A92FF: 19890 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 19891 L_250A9301: 19892 PUSH32(esp, edi); /* 0x250A9301: push edi */ 19893 L_250A9302: 19894 PUSH32(esp, edi); /* 0x250A9302: push edi */ 19895 L_250A9303: 19896 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 19897 L_250A9307: 19898 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 19899 RECOMP_FLAGS_IN(); 19900 L_250A930C: 19901 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 19902 L_250A930E: 19903 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 19904 RECOMP_FLAGS_IN(); 19905 L_250A9313: 19906 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 19907 L_250A9316: 19908 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 19909 L_250A9319: 19910 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 19911 L_250A931B: 19912 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 19913 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19915 _flag_k = FK_CMP; 19916 L_250A931D: 19917 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 19918 L_250A9323: 19919 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 19920 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 19921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19922 _flag_k = FK_CMP; 19923 L_250A9327: 19924 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 19925 L_250A932D: 19926 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 19927 L_250A9330: 19928 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 19929 L_250A9333: 19930 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 19931 L_250A9336: 19932 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 19933 L_250A9339: 19934 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 19935 L_250A933B: 19936 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 19937 L_250A933E: 19938 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 19939 L_250A9341: 19940 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 19941 L_250A9344: 19942 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 19943 L_250A9347: 19944 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 19945 L_250A934A: 19946 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 19947 L_250A934B: 19948 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 19949 L_250A934E: 19950 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 19951 L_250A9355: 19952 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 19953 L_250A935C: 19954 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 19955 L_250A9363: 19956 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 19957 L_250A9366: 19958 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 19959 L_250A9369: 19960 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 19961 RECOMP_FLAGS_IN(); 19962 L_250A936F: 19963 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 19964 L_250A9371: 19965 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 19966 L_250A9374: 19967 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 19968 L_250A9377: 19969 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 19970 L_250A937A: 19971 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 19972 L_250A937D: 19973 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 19974 L_250A9380: 19975 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 19976 L_250A9382: 19977 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 19978 L_250A9388: 19979 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 19980 L_250A938B: 19981 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 19982 L_250A938E: 19983 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 19984 L_250A9391: 19985 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 19986 L_250A9394: 19987 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 19988 L_250A9395: 19989 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 19990 L_250A939B: 19991 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 19992 L_250A93A1: 19993 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 19994 L_250A93A7: 19995 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 19996 RECOMP_FLAGS_IN(); 19997 L_250A93AD: 19998 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 19999 L_250A93B0: 20000 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 20001 L_250A93B2: 20002 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 20003 L_250A93B4: 20004 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 20005 L_250A93B7: 20006 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 20007 L_250A93BA: 20008 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 20009 L_250A93BD: 20010 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 20011 L_250A93BF: 20012 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 20013 L_250A93C2: 20014 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 20015 L_250A93C5: 20016 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 20017 L_250A93CA: 20018 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 20019 L_250A93CD: 20020 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 20021 L_250A93D0: 20022 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 20023 L_250A93D3: 20024 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 20025 L_250A93D6: 20026 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 20027 L_250A93D8: 20028 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 20029 L_250A93DB: 20030 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 20031 L_250A93DE: 20032 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 20033 L_250A93E0: 20034 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 20035 L_250A93E3: 20036 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 20037 L_250A93E5: 20038 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 20039 RECOMP_FLAGS_IN(); 20040 L_250A93EB: 20041 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 20042 L_250A93EE: 20043 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 20044 L_250A93EF: 20045 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 20046 L_250A93F2: 20047 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 20048 RECOMP_FLAGS_IN(); 20049 L_250A93F8: 20050 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 20051 L_250A93FB: 20052 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 20053 L_250A93FC: 20054 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 20055 L_250A93FF: 20056 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 20057 RECOMP_FLAGS_IN(); 20058 L_250A9405: 20059 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 20060 L_250A9408: 20061 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 20062 L_250A940A: 20063 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 20064 L_250A940D: 20065 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 20066 L_250A9410: 20067 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 20068 L_250A9413: 20069 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 20070 L_250A9415: 20071 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 20072 L_250A9418: 20073 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 20074 L_250A941A: 20075 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 20076 L_250A9420: 20077 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 20078 L_250A9421: 20079 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 20080 L_250A942B: 20081 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 20082 L_250A9431: 20083 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 20084 L_250A9437: 20085 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 20086 L_250A943D: 20087 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 20088 L_250A9440: 20089 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 20090 L_250A9443: 20091 PUSH32(esp, edx); /* 0x250A9443: push edx */ 20092 L_250A9444: 20093 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 20094 L_250A9447: 20095 PUSH32(esp, eax); /* 0x250A9447: push eax */ 20096 L_250A9448: 20097 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 20098 L_250A944D: 20099 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 20100 L_250A9453: 20101 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 20102 L_250A9454: 20103 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 20104 L_250A9455: 20105 ecx = esi; /* 0x250A9455: mov ecx, esi */ 20106 L_250A9457: 20107 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 20108 RECOMP_FLAGS_IN(); 20109 L_250A945C: 20110 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 20111 L_250A945F: 20112 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 20113 L_250A9461: 20114 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 20115 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20117 _flag_k = FK_CMP; 20118 L_250A9464: 20119 RECOMP_BACKEDGE(); 20120 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 20121 L_250A946A: 20122 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 20123 L_250A9470: 20124 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 20125 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20126 _cf = 0; 20127 _flag_k = FK_NARROW(FK_TEST, 24); 20128 L_250A9472: 20129 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 20130 L_250A9476: 20131 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 20132 L_250A9478: 20133 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 20134 L_250A947B: 20135 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 20136 L_250A9480: 20137 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 20138 L_250A9486: 20139 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 20140 L_250A9488: 20141 PUSH32(esp, edx); /* 0x250A9488: push edx */ 20142 L_250A9489: 20143 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 20144 L_250A948B: 20145 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 20146 L_250A948D: 20147 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 20148 RECOMP_FLAGS_IN(); 20149 L_250A9492: 20150 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 20151 L_250A9498: 20152 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 20153 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20154 _cf = 0; 20155 _flag_k = FK_NARROW(FK_TEST, 24); 20156 L_250A949A: 20157 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 20158 L_250A949E: 20159 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 20160 L_250A94A0: 20161 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 20162 L_250A94A3: 20163 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 20164 L_250A94A8: 20165 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 20166 L_250A94AE: 20167 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 20168 L_250A94B0: 20169 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 20170 L_250A94B1: 20171 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 20172 L_250A94B3: 20173 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 20174 L_250A94B5: 20175 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 20176 RECOMP_FLAGS_IN(); 20177 L_250A94BA: 20178 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 20179 L_250A94BD: 20180 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 20181 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20182 _cf = 0; 20183 _flag_k = FK_NARROW(FK_TEST, 24); 20184 L_250A94BF: 20185 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 20186 L_250A94C3: 20187 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 20188 L_250A94C5: 20189 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 20190 L_250A94CB: 20191 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 20192 L_250A94D0: 20193 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 20194 L_250A94D6: 20195 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 20196 L_250A94D8: 20197 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 20198 L_250A94D9: 20199 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 20200 L_250A94DB: 20201 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 20202 RECOMP_FLAGS_IN(); 20203 L_250A94E0: 20204 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 20205 L_250A94E3: 20206 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 20207 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20208 _cf = 0; 20209 _flag_k = FK_NARROW(FK_TEST, 24); 20210 L_250A94E5: 20211 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 20212 L_250A94E9: 20213 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 20214 L_250A94EB: 20215 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 20216 L_250A94EE: 20217 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 20218 L_250A94F3: 20219 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 20220 L_250A94F9: 20221 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 20222 L_250A94FB: 20223 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 20224 L_250A94FC: 20225 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 20226 L_250A94FE: 20227 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 20228 RECOMP_FLAGS_IN(); 20229 L_250A9503: 20230 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 20231 L_250A9506: 20232 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 20233 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20234 _cf = 0; 20235 _flag_k = FK_NARROW(FK_TEST, 24); 20236 L_250A9508: 20237 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 20238 L_250A950F: 20239 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 20240 L_250A9511: 20241 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 20242 L_250A9514: 20243 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 20244 L_250A951A: 20245 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 20246 L_250A9520: 20247 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 20248 L_250A9522: 20249 PUSH32(esp, eax); /* 0x250A9522: push eax */ 20250 L_250A9523: 20251 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 20252 L_250A9525: 20253 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 20254 RECOMP_FLAGS_IN(); 20255 L_250A952A: 20256 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 20257 L_250A952D: 20258 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 20259 L_250A952E: 20260 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 20261 L_250A952F: 20262 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 20263 L_250A9530: 20264 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 20265 L_250A9537: 20266 esp = ebp; /* 0x250A9537: mov esp, ebp */ 20267 L_250A9539: 20268 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 20269 L_250A953A: 20270 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 20271 _ljump: 20272 switch (_itail_tgt) { 20273 case 0x250A8F7Bu: goto L_250A8F7B; 20274 case 0x250A8F7Eu: goto L_250A8F7E; 20275 case 0x250A8F83u: goto L_250A8F83; 20276 case 0x250A8F85u: goto L_250A8F85; 20277 case 0x250A8F8Au: goto L_250A8F8A; 20278 case 0x250A8F8Cu: goto L_250A8F8C; 20279 case 0x250A8F96u: goto L_250A8F96; 20280 case 0x250A8FA0u: goto L_250A8FA0; 20281 case 0x250A8FAAu: goto L_250A8FAA; 20282 case 0x250A8FB4u: goto L_250A8FB4; 20283 case 0x250A8FBEu: goto L_250A8FBE; 20284 case 0x250A8FC8u: goto L_250A8FC8; 20285 case 0x250A8FD2u: goto L_250A8FD2; 20286 case 0x250A8FDCu: goto L_250A8FDC; 20287 case 0x250A8FE6u: goto L_250A8FE6; 20288 case 0x250A8FE9u: goto L_250A8FE9; 20289 case 0x250A8FECu: goto L_250A8FEC; 20290 case 0x250A8FF2u: goto L_250A8FF2; 20291 case 0x250A8FF4u: goto L_250A8FF4; 20292 case 0x250A8FFAu: goto L_250A8FFA; 20293 case 0x250A9000u: goto L_250A9000; 20294 case 0x250A9002u: goto L_250A9002; 20295 case 0x250A9007u: goto L_250A9007; 20296 case 0x250A9009u: goto L_250A9009; 20297 case 0x250A900Cu: goto L_250A900C; 20298 case 0x250A900Fu: goto L_250A900F; 20299 case 0x250A9011u: goto L_250A9011; 20300 case 0x250A9014u: goto L_250A9014; 20301 case 0x250A9016u: goto L_250A9016; 20302 case 0x250A9018u: goto L_250A9018; 20303 case 0x250A901Eu: goto L_250A901E; 20304 case 0x250A9021u: goto L_250A9021; 20305 case 0x250A9027u: goto L_250A9027; 20306 case 0x250A902Au: goto L_250A902A; 20307 case 0x250A902Du: goto L_250A902D; 20308 case 0x250A902Eu: goto L_250A902E; 20309 case 0x250A9030u: goto L_250A9030; 20310 case 0x250A9031u: goto L_250A9031; 20311 case 0x250A9033u: goto L_250A9033; 20312 case 0x250A9038u: goto L_250A9038; 20313 case 0x250A903Au: goto L_250A903A; 20314 case 0x250A903Fu: goto L_250A903F; 20315 case 0x250A9041u: goto L_250A9041; 20316 case 0x250A9043u: goto L_250A9043; 20317 case 0x250A9046u: goto L_250A9046; 20318 case 0x250A9048u: goto L_250A9048; 20319 case 0x250A9049u: goto L_250A9049; 20320 case 0x250A904Cu: goto L_250A904C; 20321 case 0x250A904Eu: goto L_250A904E; 20322 case 0x250A9055u: goto L_250A9055; 20323 case 0x250A9057u: goto L_250A9057; 20324 case 0x250A9059u: goto L_250A9059; 20325 case 0x250A905Eu: goto L_250A905E; 20326 case 0x250A9060u: goto L_250A9060; 20327 case 0x250A9065u: goto L_250A9065; 20328 case 0x250A9068u: goto L_250A9068; 20329 case 0x250A906Au: goto L_250A906A; 20330 case 0x250A9071u: goto L_250A9071; 20331 case 0x250A9076u: goto L_250A9076; 20332 case 0x250A9078u: goto L_250A9078; 20333 case 0x250A9079u: goto L_250A9079; 20334 case 0x250A907Bu: goto L_250A907B; 20335 case 0x250A907Eu: goto L_250A907E; 20336 case 0x250A9080u: goto L_250A9080; 20337 case 0x250A9082u: goto L_250A9082; 20338 case 0x250A9084u: goto L_250A9084; 20339 case 0x250A9087u: goto L_250A9087; 20340 case 0x250A908Au: goto L_250A908A; 20341 case 0x250A9090u: goto L_250A9090; 20342 case 0x250A9092u: goto L_250A9092; 20343 case 0x250A9093u: goto L_250A9093; 20344 case 0x250A9095u: goto L_250A9095; 20345 case 0x250A9096u: goto L_250A9096; 20346 case 0x250A9099u: goto L_250A9099; 20347 case 0x250A909Au: goto L_250A909A; 20348 case 0x250A909Du: goto L_250A909D; 20349 case 0x250A909Eu: goto L_250A909E; 20350 case 0x250A909Fu: goto L_250A909F; 20351 case 0x250A90A0u: goto L_250A90A0; 20352 case 0x250A90A2u: goto L_250A90A2; 20353 case 0x250A90A7u: goto L_250A90A7; 20354 case 0x250A90AAu: goto L_250A90AA; 20355 case 0x250A90ADu: goto L_250A90AD; 20356 case 0x250A90AEu: goto L_250A90AE; 20357 case 0x250A90B1u: goto L_250A90B1; 20358 case 0x250A90B4u: goto L_250A90B4; 20359 case 0x250A90B9u: goto L_250A90B9; 20360 case 0x250A90BCu: goto L_250A90BC; 20361 case 0x250A90BEu: goto L_250A90BE; 20362 case 0x250A90C4u: goto L_250A90C4; 20363 case 0x250A90C7u: goto L_250A90C7; 20364 case 0x250A90C9u: goto L_250A90C9; 20365 case 0x250A90CFu: goto L_250A90CF; 20366 case 0x250A90D2u: goto L_250A90D2; 20367 case 0x250A90D4u: goto L_250A90D4; 20368 case 0x250A90D6u: goto L_250A90D6; 20369 case 0x250A90D9u: goto L_250A90D9; 20370 case 0x250A90DBu: goto L_250A90DB; 20371 case 0x250A90DDu: goto L_250A90DD; 20372 case 0x250A90DEu: goto L_250A90DE; 20373 case 0x250A90E0u: goto L_250A90E0; 20374 case 0x250A90E2u: goto L_250A90E2; 20375 case 0x250A90E4u: goto L_250A90E4; 20376 case 0x250A90E6u: goto L_250A90E6; 20377 case 0x250A90E9u: goto L_250A90E9; 20378 case 0x250A90EEu: goto L_250A90EE; 20379 case 0x250A90F0u: goto L_250A90F0; 20380 case 0x250A90F5u: goto L_250A90F5; 20381 case 0x250A90F7u: goto L_250A90F7; 20382 case 0x250A90FAu: goto L_250A90FA; 20383 case 0x250A9100u: goto L_250A9100; 20384 case 0x250A9102u: goto L_250A9102; 20385 case 0x250A9104u: goto L_250A9104; 20386 case 0x250A910Au: goto L_250A910A; 20387 case 0x250A910Cu: goto L_250A910C; 20388 case 0x250A9111u: goto L_250A9111; 20389 case 0x250A9113u: goto L_250A9113; 20390 case 0x250A9116u: goto L_250A9116; 20391 case 0x250A9118u: goto L_250A9118; 20392 case 0x250A911Bu: goto L_250A911B; 20393 case 0x250A911Du: goto L_250A911D; 20394 case 0x250A911Fu: goto L_250A911F; 20395 case 0x250A9121u: goto L_250A9121; 20396 case 0x250A9127u: goto L_250A9127; 20397 case 0x250A912Au: goto L_250A912A; 20398 case 0x250A912Du: goto L_250A912D; 20399 case 0x250A9130u: goto L_250A9130; 20400 case 0x250A9132u: goto L_250A9132; 20401 case 0x250A9134u: goto L_250A9134; 20402 case 0x250A9137u: goto L_250A9137; 20403 case 0x250A913Cu: goto L_250A913C; 20404 case 0x250A913Eu: goto L_250A913E; 20405 case 0x250A9143u: goto L_250A9143; 20406 case 0x250A9144u: goto L_250A9144; 20407 case 0x250A9149u: goto L_250A9149; 20408 case 0x250A914Eu: goto L_250A914E; 20409 case 0x250A9150u: goto L_250A9150; 20410 case 0x250A9152u: goto L_250A9152; 20411 case 0x250A9154u: goto L_250A9154; 20412 case 0x250A9156u: goto L_250A9156; 20413 case 0x250A9157u: goto L_250A9157; 20414 case 0x250A9158u: goto L_250A9158; 20415 case 0x250A915Au: goto L_250A915A; 20416 case 0x250A915Fu: goto L_250A915F; 20417 case 0x250A9162u: goto L_250A9162; 20418 case 0x250A9163u: goto L_250A9163; 20419 case 0x250A9166u: goto L_250A9166; 20420 case 0x250A9169u: goto L_250A9169; 20421 case 0x250A916Bu: goto L_250A916B; 20422 case 0x250A916Eu: goto L_250A916E; 20423 case 0x250A9170u: goto L_250A9170; 20424 case 0x250A9172u: goto L_250A9172; 20425 case 0x250A9178u: goto L_250A9178; 20426 case 0x250A917Du: goto L_250A917D; 20427 case 0x250A9183u: goto L_250A9183; 20428 case 0x250A9188u: goto L_250A9188; 20429 case 0x250A918Eu: goto L_250A918E; 20430 case 0x250A9190u: goto L_250A9190; 20431 case 0x250A9192u: goto L_250A9192; 20432 case 0x250A9195u: goto L_250A9195; 20433 case 0x250A9197u: goto L_250A9197; 20434 case 0x250A919Au: goto L_250A919A; 20435 case 0x250A919Du: goto L_250A919D; 20436 case 0x250A91A2u: goto L_250A91A2; 20437 case 0x250A91A4u: goto L_250A91A4; 20438 case 0x250A91A6u: goto L_250A91A6; 20439 case 0x250A91A8u: goto L_250A91A8; 20440 case 0x250A91ABu: goto L_250A91AB; 20441 case 0x250A91ADu: goto L_250A91AD; 20442 case 0x250A91B0u: goto L_250A91B0; 20443 case 0x250A91B1u: goto L_250A91B1; 20444 case 0x250A91B2u: goto L_250A91B2; 20445 case 0x250A91B4u: goto L_250A91B4; 20446 case 0x250A91B7u: goto L_250A91B7; 20447 case 0x250A91BAu: goto L_250A91BA; 20448 case 0x250A91BCu: goto L_250A91BC; 20449 case 0x250A91BFu: goto L_250A91BF; 20450 case 0x250A91C5u: goto L_250A91C5; 20451 case 0x250A91C8u: goto L_250A91C8; 20452 case 0x250A91CBu: goto L_250A91CB; 20453 case 0x250A91D1u: goto L_250A91D1; 20454 case 0x250A91D4u: goto L_250A91D4; 20455 case 0x250A91D7u: goto L_250A91D7; 20456 case 0x250A91DCu: goto L_250A91DC; 20457 case 0x250A91E2u: goto L_250A91E2; 20458 case 0x250A91E4u: goto L_250A91E4; 20459 case 0x250A91EAu: goto L_250A91EA; 20460 case 0x250A91F0u: goto L_250A91F0; 20461 case 0x250A91F6u: goto L_250A91F6; 20462 case 0x250A91FCu: goto L_250A91FC; 20463 case 0x250A91FEu: goto L_250A91FE; 20464 case 0x250A9200u: goto L_250A9200; 20465 case 0x250A9202u: goto L_250A9202; 20466 case 0x250A9209u: goto L_250A9209; 20467 case 0x250A920Cu: goto L_250A920C; 20468 case 0x250A920Fu: goto L_250A920F; 20469 case 0x250A9214u: goto L_250A9214; 20470 case 0x250A9217u: goto L_250A9217; 20471 case 0x250A921Cu: goto L_250A921C; 20472 case 0x250A9222u: goto L_250A9222; 20473 case 0x250A9228u: goto L_250A9228; 20474 case 0x250A922Au: goto L_250A922A; 20475 case 0x250A922Cu: goto L_250A922C; 20476 case 0x250A922Eu: goto L_250A922E; 20477 case 0x250A9230u: goto L_250A9230; 20478 case 0x250A9233u: goto L_250A9233; 20479 case 0x250A923Au: goto L_250A923A; 20480 case 0x250A923Du: goto L_250A923D; 20481 case 0x250A9240u: goto L_250A9240; 20482 case 0x250A9245u: goto L_250A9245; 20483 case 0x250A9248u: goto L_250A9248; 20484 case 0x250A924Eu: goto L_250A924E; 20485 case 0x250A9254u: goto L_250A9254; 20486 case 0x250A925Au: goto L_250A925A; 20487 case 0x250A925Cu: goto L_250A925C; 20488 case 0x250A925Eu: goto L_250A925E; 20489 case 0x250A9260u: goto L_250A9260; 20490 case 0x250A9264u: goto L_250A9264; 20491 case 0x250A926Bu: goto L_250A926B; 20492 case 0x250A9271u: goto L_250A9271; 20493 case 0x250A9274u: goto L_250A9274; 20494 case 0x250A9279u: goto L_250A9279; 20495 case 0x250A927Cu: goto L_250A927C; 20496 case 0x250A9282u: goto L_250A9282; 20497 case 0x250A9288u: goto L_250A9288; 20498 case 0x250A928Eu: goto L_250A928E; 20499 case 0x250A9290u: goto L_250A9290; 20500 case 0x250A9292u: goto L_250A9292; 20501 case 0x250A9294u: goto L_250A9294; 20502 case 0x250A9295u: goto L_250A9295; 20503 case 0x250A9299u: goto L_250A9299; 20504 case 0x250A929Fu: goto L_250A929F; 20505 case 0x250A92A9u: goto L_250A92A9; 20506 case 0x250A92ACu: goto L_250A92AC; 20507 case 0x250A92B2u: goto L_250A92B2; 20508 case 0x250A92B7u: goto L_250A92B7; 20509 case 0x250A92BDu: goto L_250A92BD; 20510 case 0x250A92C2u: goto L_250A92C2; 20511 case 0x250A92C8u: goto L_250A92C8; 20512 case 0x250A92CEu: goto L_250A92CE; 20513 case 0x250A92D0u: goto L_250A92D0; 20514 case 0x250A92D1u: goto L_250A92D1; 20515 case 0x250A92D3u: goto L_250A92D3; 20516 case 0x250A92D4u: goto L_250A92D4; 20517 case 0x250A92D8u: goto L_250A92D8; 20518 case 0x250A92DEu: goto L_250A92DE; 20519 case 0x250A92E8u: goto L_250A92E8; 20520 case 0x250A92EBu: goto L_250A92EB; 20521 case 0x250A92F1u: goto L_250A92F1; 20522 case 0x250A92F6u: goto L_250A92F6; 20523 case 0x250A92FCu: goto L_250A92FC; 20524 case 0x250A92FFu: goto L_250A92FF; 20525 case 0x250A9301u: goto L_250A9301; 20526 case 0x250A9302u: goto L_250A9302; 20527 case 0x250A9303u: goto L_250A9303; 20528 case 0x250A9307u: goto L_250A9307; 20529 case 0x250A930Cu: goto L_250A930C; 20530 case 0x250A930Eu: goto L_250A930E; 20531 case 0x250A9313u: goto L_250A9313; 20532 case 0x250A9316u: goto L_250A9316; 20533 case 0x250A9319u: goto L_250A9319; 20534 case 0x250A931Bu: goto L_250A931B; 20535 case 0x250A931Du: goto L_250A931D; 20536 case 0x250A9323u: goto L_250A9323; 20537 case 0x250A9327u: goto L_250A9327; 20538 case 0x250A932Du: goto L_250A932D; 20539 case 0x250A9330u: goto L_250A9330; 20540 case 0x250A9333u: goto L_250A9333; 20541 case 0x250A9336u: goto L_250A9336; 20542 case 0x250A9339u: goto L_250A9339; 20543 case 0x250A933Bu: goto L_250A933B; 20544 case 0x250A933Eu: goto L_250A933E; 20545 case 0x250A9341u: goto L_250A9341; 20546 case 0x250A9344u: goto L_250A9344; 20547 case 0x250A9347u: goto L_250A9347; 20548 case 0x250A934Au: goto L_250A934A; 20549 case 0x250A934Bu: goto L_250A934B; 20550 case 0x250A934Eu: goto L_250A934E; 20551 case 0x250A9355u: goto L_250A9355; 20552 case 0x250A935Cu: goto L_250A935C; 20553 case 0x250A9363u: goto L_250A9363; 20554 case 0x250A9366u: goto L_250A9366; 20555 case 0x250A9369u: goto L_250A9369; 20556 case 0x250A936Fu: goto L_250A936F; 20557 case 0x250A9371u: goto L_250A9371; 20558 case 0x250A9374u: goto L_250A9374; 20559 case 0x250A9377u: goto L_250A9377; 20560 case 0x250A937Au: goto L_250A937A; 20561 case 0x250A937Du: goto L_250A937D; 20562 case 0x250A9380u: goto L_250A9380; 20563 case 0x250A9382u: goto L_250A9382; 20564 case 0x250A9388u: goto L_250A9388; 20565 case 0x250A938Bu: goto L_250A938B; 20566 case 0x250A938Eu: goto L_250A938E; 20567 case 0x250A9391u: goto L_250A9391; 20568 case 0x250A9394u: goto L_250A9394; 20569 case 0x250A9395u: goto L_250A9395; 20570 case 0x250A939Bu: goto L_250A939B; 20571 case 0x250A93A1u: goto L_250A93A1; 20572 case 0x250A93A7u: goto L_250A93A7; 20573 case 0x250A93ADu: goto L_250A93AD; 20574 case 0x250A93B0u: goto L_250A93B0; 20575 case 0x250A93B2u: goto L_250A93B2; 20576 case 0x250A93B4u: goto L_250A93B4; 20577 case 0x250A93B7u: goto L_250A93B7; 20578 case 0x250A93BAu: goto L_250A93BA; 20579 case 0x250A93BDu: goto L_250A93BD; 20580 case 0x250A93BFu: goto L_250A93BF; 20581 case 0x250A93C2u: goto L_250A93C2; 20582 case 0x250A93C5u: goto L_250A93C5; 20583 case 0x250A93CAu: goto L_250A93CA; 20584 case 0x250A93CDu: goto L_250A93CD; 20585 case 0x250A93D0u: goto L_250A93D0; 20586 case 0x250A93D3u: goto L_250A93D3; 20587 case 0x250A93D6u: goto L_250A93D6; 20588 case 0x250A93D8u: goto L_250A93D8; 20589 case 0x250A93DBu: goto L_250A93DB; 20590 case 0x250A93DEu: goto L_250A93DE; 20591 case 0x250A93E0u: goto L_250A93E0; 20592 case 0x250A93E3u: goto L_250A93E3; 20593 case 0x250A93E5u: goto L_250A93E5; 20594 case 0x250A93EBu: goto L_250A93EB; 20595 case 0x250A93EEu: goto L_250A93EE; 20596 case 0x250A93EFu: goto L_250A93EF; 20597 case 0x250A93F2u: goto L_250A93F2; 20598 case 0x250A93F8u: goto L_250A93F8; 20599 case 0x250A93FBu: goto L_250A93FB; 20600 case 0x250A93FCu: goto L_250A93FC; 20601 case 0x250A93FFu: goto L_250A93FF; 20602 case 0x250A9405u: goto L_250A9405; 20603 case 0x250A9408u: goto L_250A9408; 20604 case 0x250A940Au: goto L_250A940A; 20605 case 0x250A940Du: goto L_250A940D; 20606 case 0x250A9410u: goto L_250A9410; 20607 case 0x250A9413u: goto L_250A9413; 20608 case 0x250A9415u: goto L_250A9415; 20609 case 0x250A9418u: goto L_250A9418; 20610 case 0x250A941Au: goto L_250A941A; 20611 case 0x250A9420u: goto L_250A9420; 20612 case 0x250A9421u: goto L_250A9421; 20613 case 0x250A942Bu: goto L_250A942B; 20614 case 0x250A9431u: goto L_250A9431; 20615 case 0x250A9437u: goto L_250A9437; 20616 case 0x250A943Du: goto L_250A943D; 20617 case 0x250A9440u: goto L_250A9440; 20618 case 0x250A9443u: goto L_250A9443; 20619 case 0x250A9444u: goto L_250A9444; 20620 case 0x250A9447u: goto L_250A9447; 20621 case 0x250A9448u: goto L_250A9448; 20622 case 0x250A944Du: goto L_250A944D; 20623 case 0x250A9453u: goto L_250A9453; 20624 case 0x250A9454u: goto L_250A9454; 20625 case 0x250A9455u: goto L_250A9455; 20626 case 0x250A9457u: goto L_250A9457; 20627 case 0x250A945Cu: goto L_250A945C; 20628 case 0x250A945Fu: goto L_250A945F; 20629 case 0x250A9461u: goto L_250A9461; 20630 case 0x250A9464u: goto L_250A9464; 20631 case 0x250A946Au: goto L_250A946A; 20632 case 0x250A9470u: goto L_250A9470; 20633 case 0x250A9472u: goto L_250A9472; 20634 case 0x250A9476u: goto L_250A9476; 20635 case 0x250A9478u: goto L_250A9478; 20636 case 0x250A947Bu: goto L_250A947B; 20637 case 0x250A9480u: goto L_250A9480; 20638 case 0x250A9486u: goto L_250A9486; 20639 case 0x250A9488u: goto L_250A9488; 20640 case 0x250A9489u: goto L_250A9489; 20641 case 0x250A948Bu: goto L_250A948B; 20642 case 0x250A948Du: goto L_250A948D; 20643 case 0x250A9492u: goto L_250A9492; 20644 case 0x250A9498u: goto L_250A9498; 20645 case 0x250A949Au: goto L_250A949A; 20646 case 0x250A949Eu: goto L_250A949E; 20647 case 0x250A94A0u: goto L_250A94A0; 20648 case 0x250A94A3u: goto L_250A94A3; 20649 case 0x250A94A8u: goto L_250A94A8; 20650 case 0x250A94AEu: goto L_250A94AE; 20651 case 0x250A94B0u: goto L_250A94B0; 20652 case 0x250A94B1u: goto L_250A94B1; 20653 case 0x250A94B3u: goto L_250A94B3; 20654 case 0x250A94B5u: goto L_250A94B5; 20655 case 0x250A94BAu: goto L_250A94BA; 20656 case 0x250A94BDu: goto L_250A94BD; 20657 case 0x250A94BFu: goto L_250A94BF; 20658 case 0x250A94C3u: goto L_250A94C3; 20659 case 0x250A94C5u: goto L_250A94C5; 20660 case 0x250A94CBu: goto L_250A94CB; 20661 case 0x250A94D0u: goto L_250A94D0; 20662 case 0x250A94D6u: goto L_250A94D6; 20663 case 0x250A94D8u: goto L_250A94D8; 20664 case 0x250A94D9u: goto L_250A94D9; 20665 case 0x250A94DBu: goto L_250A94DB; 20666 case 0x250A94E0u: goto L_250A94E0; 20667 case 0x250A94E3u: goto L_250A94E3; 20668 case 0x250A94E5u: goto L_250A94E5; 20669 case 0x250A94E9u: goto L_250A94E9; 20670 case 0x250A94EBu: goto L_250A94EB; 20671 case 0x250A94EEu: goto L_250A94EE; 20672 case 0x250A94F3u: goto L_250A94F3; 20673 case 0x250A94F9u: goto L_250A94F9; 20674 case 0x250A94FBu: goto L_250A94FB; 20675 case 0x250A94FCu: goto L_250A94FC; 20676 case 0x250A94FEu: goto L_250A94FE; 20677 case 0x250A9503u: goto L_250A9503; 20678 case 0x250A9506u: goto L_250A9506; 20679 case 0x250A9508u: goto L_250A9508; 20680 case 0x250A950Fu: goto L_250A950F; 20681 case 0x250A9511u: goto L_250A9511; 20682 case 0x250A9514u: goto L_250A9514; 20683 case 0x250A951Au: goto L_250A951A; 20684 case 0x250A9520u: goto L_250A9520; 20685 case 0x250A9522u: goto L_250A9522; 20686 case 0x250A9523u: goto L_250A9523; 20687 case 0x250A9525u: goto L_250A9525; 20688 case 0x250A952Au: goto L_250A952A; 20689 case 0x250A952Du: goto L_250A952D; 20690 case 0x250A952Eu: goto L_250A952E; 20691 case 0x250A952Fu: goto L_250A952F; 20692 case 0x250A9530u: goto L_250A9530; 20693 case 0x250A9537u: goto L_250A9537; 20694 case 0x250A9539u: goto L_250A9539; 20695 case 0x250A953Au: goto L_250A953A; 20696 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 20697 } 20698 RECOMP_REGS_OUT(); 20699 } 20700 20701 void sub_250A8FE9(void) { 20702 int _fpu_cmp = 0; 20703 uint32_t _cf = 0; 20704 int _df = 1; 20705 uint32_t _flag_k = FK_NONE; 20706 uint32_t _flag_a = 0, _flag_b = 0; 20707 uint32_t _itail_tgt = 0; 20708 RECOMP_REGS_LOCALS 20709 RECOMP_ENTER(0x250A8FE9u); 20710 20711 L_250A8FE9: 20712 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 20713 L_250A8FEC: 20714 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 20715 L_250A8FF2: 20716 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 20717 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20718 _cf = 0; 20719 _flag_k = FK_TEST; 20720 L_250A8FF4: 20721 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 20722 L_250A8FFA: 20723 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 20724 L_250A9000: 20725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 20726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20727 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 20728 _flag_k = FK_CMP; 20729 L_250A9002: 20730 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 20731 L_250A9007: 20732 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 20733 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 20734 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 20735 L_250A9009: 20736 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 20737 L_250A900C: 20738 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 20739 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20740 edx = (uint32_t)((int32_t)edx >> 3u); 20741 L_250A900F: 20742 ecx = edx; /* 0x250A900F: mov ecx, edx */ 20743 L_250A9011: 20744 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 20745 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20746 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 20747 L_250A9014: 20748 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 20749 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20750 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 20751 _flag_k = FK_ADD; 20752 L_250A9016: 20753 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 20754 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 20755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20756 _flag_k = FK_CMP; 20757 L_250A9018: 20758 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 20759 L_250A901E: 20760 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 20761 L_250A9021: 20762 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 20763 L_250A9027: 20764 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 20765 L_250A902A: 20766 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 20767 L_250A902D: 20768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20769 eax = eax - 1; /* 0x250A902D: dec eax */ 20770 _flag_k = FK_DEC; 20771 L_250A902E: 20772 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 20773 L_250A9030: 20774 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20775 eax = eax - 1; /* 0x250A9030: dec eax */ 20776 _flag_k = FK_DEC; 20777 L_250A9031: 20778 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 20779 L_250A9033: 20780 eax = 2; /* 0x250A9033: mov eax, 2 */ 20781 L_250A9038: 20782 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 20783 L_250A903A: 20784 eax = 1; /* 0x250A903A: mov eax, 1 */ 20785 L_250A903F: 20786 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 20787 L_250A9041: 20788 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20789 eax = 0; /* 0x250A9041: xor eax, eax */ 20790 _cf = 0; 20791 _flag_k = FK_TEST; 20792 L_250A9043: 20793 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 20794 L_250A9046: 20795 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20796 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 20797 _cf = 0; 20798 _flag_k = FK_TEST; 20799 L_250A9048: 20800 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 20801 edx = edx - 1; /* 0x250A9048: dec edx */ 20802 _flag_k = FK_DEC; 20803 L_250A9049: 20804 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 20805 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 20806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20807 _flag_k = FK_CMP; 20808 L_250A904C: 20809 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 20810 L_250A904E: 20811 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 20812 L_250A9055: 20813 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20814 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 20815 _cf = 0; 20816 _flag_k = FK_TEST; 20817 L_250A9057: 20818 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 20819 L_250A9059: 20820 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 20821 L_250A905E: 20822 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 20823 L_250A9060: 20824 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 20825 L_250A9065: 20826 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 20827 L_250A9068: 20828 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 20829 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20830 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 20831 _flag_k = FK_ADD; 20832 L_250A906A: 20833 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 20834 L_250A9071: 20835 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 20836 L_250A9076: 20837 eax = ecx; /* 0x250A9076: mov eax, ecx */ 20838 L_250A9078: 20839 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 20840 L_250A9079: 20841 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 20842 L_250A907B: 20843 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 20844 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 20845 _cf = 0; 20846 _flag_k = FK_TEST; 20847 L_250A907E: 20848 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 20849 L_250A9080: 20850 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 20851 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20852 eax = eax + edx; /* 0x250A9080: add eax, edx */ 20853 _flag_k = FK_ADD; 20854 L_250A9082: 20855 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 20856 L_250A9084: 20857 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 20858 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20859 eax = (uint32_t)((int32_t)eax >> 2u); 20860 L_250A9087: 20861 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 20862 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20863 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 20864 L_250A908A: 20865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 20866 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 20867 _cf = 0; 20868 _flag_k = FK_TEST; 20869 L_250A9090: 20870 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 20871 L_250A9092: 20872 PUSH32(esp, eax); /* 0x250A9092: push eax */ 20873 L_250A9093: 20874 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 20875 L_250A9095: 20876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20877 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 20878 _flag_k = FK_DEC; 20879 L_250A9096: 20880 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 20881 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 20882 _cf = 0; 20883 _flag_k = FK_TEST; 20884 L_250A9099: 20885 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20886 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 20887 _flag_k = FK_INC; 20888 L_250A909A: 20889 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 20890 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20891 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 20892 L_250A909D: 20893 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 20894 L_250A909E: 20895 PUSH32(esp, edi); /* 0x250A909E: push edi */ 20896 L_250A909F: 20897 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 20898 L_250A90A0: 20899 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 20900 L_250A90A2: 20901 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 20902 RECOMP_FLAGS_IN(); 20903 L_250A90A7: 20904 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 20905 L_250A90AA: 20906 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 20907 L_250A90AD: 20908 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20909 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 20910 _flag_k = FK_INC; 20911 L_250A90AE: 20912 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 20913 L_250A90B1: 20914 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 20915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20916 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 20917 _flag_k = FK_ADD; 20918 L_250A90B4: 20919 RECOMP_BACKEDGE(); 20920 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 20921 L_250A90B9: 20922 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 20923 L_250A90BC: 20924 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 20925 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20926 _cf = 0; 20927 _flag_k = FK_NARROW(FK_TEST, 24); 20928 L_250A90BE: 20929 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 20930 L_250A90C4: 20931 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 20932 L_250A90C7: 20933 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 20934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20935 _cf = 0; 20936 _flag_k = FK_TEST; 20937 L_250A90C9: 20938 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 20939 L_250A90CF: 20940 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 20941 L_250A90D2: 20942 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 20943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20944 _cf = 0; 20945 _flag_k = FK_TEST; 20946 L_250A90D4: 20947 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 20948 L_250A90D6: 20949 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 20950 L_250A90D9: 20951 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 20952 L_250A90DB: 20953 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 20954 L_250A90DD: 20955 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 20956 L_250A90DE: 20957 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 20958 L_250A90E0: 20959 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 20960 L_250A90E2: 20961 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 20962 L_250A90E4: 20963 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 20964 L_250A90E6: 20965 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 20966 L_250A90E9: 20967 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 20968 RECOMP_FLAGS_IN(); 20969 L_250A90EE: 20970 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 20971 L_250A90F0: 20972 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 20973 RECOMP_FLAGS_IN(); 20974 L_250A90F5: 20975 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20976 edi = 0; /* 0x250A90F5: xor edi, edi */ 20977 _cf = 0; 20978 _flag_k = FK_TEST; 20979 L_250A90F7: 20980 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 20981 L_250A90FA: 20982 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 20983 L_250A9100: 20984 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 20985 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20986 _cf = 0; 20987 _flag_k = FK_TEST; 20988 L_250A9102: 20989 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 20990 L_250A9104: 20991 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 20992 L_250A910A: 20993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 20994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20995 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 20996 _flag_k = FK_CMP; 20997 L_250A910C: 20998 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 20999 L_250A9111: 21000 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 21001 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 21002 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 21003 L_250A9113: 21004 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 21005 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21006 edx = (uint32_t)((int32_t)edx >> 3u); 21007 L_250A9116: 21008 eax = edx; /* 0x250A9116: mov eax, edx */ 21009 L_250A9118: 21010 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 21011 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21012 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 21013 L_250A911B: 21014 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 21015 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21016 edx = edx + eax; /* 0x250A911B: add edx, eax */ 21017 _flag_k = FK_ADD; 21018 L_250A911D: 21019 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 21020 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 21021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21022 _flag_k = FK_CMP; 21023 L_250A911F: 21024 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 21025 L_250A9121: 21026 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 21027 L_250A9127: 21028 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 21029 L_250A912A: 21030 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 21031 L_250A912D: 21032 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 21033 L_250A9130: 21034 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 21035 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 21036 _cf = 0; 21037 _flag_k = FK_TEST; 21038 L_250A9132: 21039 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 21040 L_250A9134: 21041 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 21042 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 21043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21044 _flag_k = FK_CMP; 21045 L_250A9137: 21046 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 21047 L_250A913C: 21048 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 21049 L_250A913E: 21050 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 21051 L_250A9143: 21052 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 21053 L_250A9144: 21054 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 21055 L_250A9149: 21056 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 21057 L_250A914E: 21058 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 21059 L_250A9150: 21060 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 21061 L_250A9152: 21062 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 21063 L_250A9154: 21064 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 21065 L_250A9156: 21066 PUSH32(esp, eax); /* 0x250A9156: push eax */ 21067 L_250A9157: 21068 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 21069 L_250A9158: 21070 ecx = esi; /* 0x250A9158: mov ecx, esi */ 21071 L_250A915A: 21072 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 21073 RECOMP_FLAGS_IN(); 21074 L_250A915F: 21075 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 21076 L_250A9162: 21077 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 21078 edi = edi + 1; /* 0x250A9162: inc edi */ 21079 _flag_k = FK_INC; 21080 L_250A9163: 21081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 21082 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21083 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 21084 _flag_k = FK_ADD; 21085 L_250A9166: 21086 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 21087 L_250A9169: 21088 RECOMP_BACKEDGE(); 21089 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 21090 L_250A916B: 21091 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 21092 L_250A916E: 21093 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 21094 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21095 _cf = 0; 21096 _flag_k = FK_NARROW(FK_TEST, 24); 21097 L_250A9170: 21098 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 21099 L_250A9172: 21100 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 21101 L_250A9178: 21102 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 21103 L_250A917D: 21104 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 21105 L_250A9183: 21106 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 21107 L_250A9188: 21108 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 21109 L_250A918E: 21110 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 21111 L_250A9190: 21112 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 21113 L_250A9192: 21114 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 21115 L_250A9195: 21116 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 21117 L_250A9197: 21118 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 21119 L_250A919A: 21120 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 21121 L_250A919D: 21122 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 21123 L_250A91A2: 21124 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 21125 L_250A91A4: 21126 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 21127 L_250A91A6: 21128 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 21129 L_250A91A8: 21130 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 21131 L_250A91AB: 21132 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 21133 L_250A91AD: 21134 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 21135 L_250A91B0: 21136 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 21137 L_250A91B1: 21138 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 21139 L_250A91B2: 21140 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 21141 L_250A91B4: 21142 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 21143 L_250A91B7: 21144 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 21145 L_250A91BA: 21146 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 21147 L_250A91BC: 21148 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 21149 L_250A91BF: 21150 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 21151 L_250A91C5: 21152 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 21153 L_250A91C8: 21154 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 21155 L_250A91CB: 21156 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 21157 L_250A91D1: 21158 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 21159 L_250A91D4: 21160 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 21161 L_250A91D7: 21162 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 21163 RECOMP_FLAGS_IN(); 21164 L_250A91DC: 21165 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 21166 L_250A91E2: 21167 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 21168 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21169 _cf = 0; 21170 _flag_k = FK_NARROW(FK_TEST, 24); 21171 L_250A91E4: 21172 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 21173 L_250A91EA: 21174 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 21175 L_250A91F0: 21176 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 21177 L_250A91F6: 21178 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 21179 L_250A91FC: 21180 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 21181 L_250A91FE: 21182 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 21183 L_250A9200: 21184 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 21185 L_250A9202: 21186 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 21187 L_250A9209: 21188 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 21189 L_250A920C: 21190 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 21191 L_250A920F: 21192 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 21193 RECOMP_FLAGS_IN(); 21194 L_250A9214: 21195 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 21196 L_250A9217: 21197 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 21198 L_250A921C: 21199 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 21200 L_250A9222: 21201 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 21202 L_250A9228: 21203 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 21204 L_250A922A: 21205 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 21206 L_250A922C: 21207 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21208 edi = 0; /* 0x250A922C: xor edi, edi */ 21209 _cf = 0; 21210 _flag_k = FK_TEST; 21211 L_250A922E: 21212 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 21213 L_250A9230: 21214 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 21215 L_250A9233: 21216 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 21217 L_250A923A: 21218 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 21219 L_250A923D: 21220 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 21221 L_250A9240: 21222 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 21223 RECOMP_FLAGS_IN(); 21224 L_250A9245: 21225 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 21226 L_250A9248: 21227 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 21228 L_250A924E: 21229 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 21230 L_250A9254: 21231 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 21232 L_250A925A: 21233 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 21234 L_250A925C: 21235 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 21236 L_250A925E: 21237 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 21238 L_250A9260: 21239 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 21240 L_250A9264: 21241 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 21242 L_250A926B: 21243 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 21244 L_250A9271: 21245 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 21246 L_250A9274: 21247 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 21248 RECOMP_FLAGS_IN(); 21249 L_250A9279: 21250 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 21251 L_250A927C: 21252 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 21253 L_250A9282: 21254 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 21255 L_250A9288: 21256 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 21257 L_250A928E: 21258 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 21259 L_250A9290: 21260 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 21261 L_250A9292: 21262 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 21263 L_250A9294: 21264 PUSH32(esp, edi); /* 0x250A9294: push edi */ 21265 L_250A9295: 21266 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 21267 L_250A9299: 21268 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 21269 L_250A929F: 21270 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 21271 L_250A92A9: 21272 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 21273 L_250A92AC: 21274 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 21275 L_250A92B2: 21276 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 21277 RECOMP_FLAGS_IN(); 21278 L_250A92B7: 21279 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 21280 L_250A92BD: 21281 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 21282 L_250A92C2: 21283 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 21284 L_250A92C8: 21285 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 21286 L_250A92CE: 21287 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 21288 L_250A92D0: 21289 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 21290 L_250A92D1: 21291 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 21292 L_250A92D3: 21293 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 21294 L_250A92D4: 21295 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 21296 L_250A92D8: 21297 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 21298 L_250A92DE: 21299 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 21300 L_250A92E8: 21301 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 21302 L_250A92EB: 21303 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 21304 L_250A92F1: 21305 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 21306 RECOMP_FLAGS_IN(); 21307 L_250A92F6: 21308 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 21309 L_250A92FC: 21310 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 21311 L_250A92FF: 21312 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 21313 L_250A9301: 21314 PUSH32(esp, edi); /* 0x250A9301: push edi */ 21315 L_250A9302: 21316 PUSH32(esp, edi); /* 0x250A9302: push edi */ 21317 L_250A9303: 21318 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 21319 L_250A9307: 21320 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 21321 RECOMP_FLAGS_IN(); 21322 L_250A930C: 21323 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 21324 L_250A930E: 21325 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 21326 RECOMP_FLAGS_IN(); 21327 L_250A9313: 21328 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 21329 L_250A9316: 21330 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 21331 L_250A9319: 21332 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 21333 L_250A931B: 21334 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 21335 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 21336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21337 _flag_k = FK_CMP; 21338 L_250A931D: 21339 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 21340 L_250A9323: 21341 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 21342 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 21343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21344 _flag_k = FK_CMP; 21345 L_250A9327: 21346 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 21347 L_250A932D: 21348 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 21349 L_250A9330: 21350 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 21351 L_250A9333: 21352 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 21353 L_250A9336: 21354 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 21355 L_250A9339: 21356 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 21357 L_250A933B: 21358 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 21359 L_250A933E: 21360 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 21361 L_250A9341: 21362 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 21363 L_250A9344: 21364 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 21365 L_250A9347: 21366 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 21367 L_250A934A: 21368 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 21369 L_250A934B: 21370 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 21371 L_250A934E: 21372 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 21373 L_250A9355: 21374 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 21375 L_250A935C: 21376 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 21377 L_250A9363: 21378 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 21379 L_250A9366: 21380 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 21381 L_250A9369: 21382 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 21383 RECOMP_FLAGS_IN(); 21384 L_250A936F: 21385 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 21386 L_250A9371: 21387 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 21388 L_250A9374: 21389 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 21390 L_250A9377: 21391 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 21392 L_250A937A: 21393 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 21394 L_250A937D: 21395 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 21396 L_250A9380: 21397 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 21398 L_250A9382: 21399 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 21400 L_250A9388: 21401 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 21402 L_250A938B: 21403 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 21404 L_250A938E: 21405 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 21406 L_250A9391: 21407 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 21408 L_250A9394: 21409 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 21410 L_250A9395: 21411 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 21412 L_250A939B: 21413 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 21414 L_250A93A1: 21415 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 21416 L_250A93A7: 21417 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 21418 RECOMP_FLAGS_IN(); 21419 L_250A93AD: 21420 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 21421 L_250A93B0: 21422 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 21423 L_250A93B2: 21424 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 21425 L_250A93B4: 21426 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 21427 L_250A93B7: 21428 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 21429 L_250A93BA: 21430 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 21431 L_250A93BD: 21432 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 21433 L_250A93BF: 21434 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 21435 L_250A93C2: 21436 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 21437 L_250A93C5: 21438 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 21439 L_250A93CA: 21440 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 21441 L_250A93CD: 21442 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 21443 L_250A93D0: 21444 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 21445 L_250A93D3: 21446 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 21447 L_250A93D6: 21448 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 21449 L_250A93D8: 21450 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 21451 L_250A93DB: 21452 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 21453 L_250A93DE: 21454 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 21455 L_250A93E0: 21456 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 21457 L_250A93E3: 21458 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 21459 L_250A93E5: 21460 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 21461 RECOMP_FLAGS_IN(); 21462 L_250A93EB: 21463 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 21464 L_250A93EE: 21465 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 21466 L_250A93EF: 21467 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 21468 L_250A93F2: 21469 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 21470 RECOMP_FLAGS_IN(); 21471 L_250A93F8: 21472 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 21473 L_250A93FB: 21474 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 21475 L_250A93FC: 21476 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 21477 L_250A93FF: 21478 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 21479 RECOMP_FLAGS_IN(); 21480 L_250A9405: 21481 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 21482 L_250A9408: 21483 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 21484 L_250A940A: 21485 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 21486 L_250A940D: 21487 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 21488 L_250A9410: 21489 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 21490 L_250A9413: 21491 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 21492 L_250A9415: 21493 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 21494 L_250A9418: 21495 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 21496 L_250A941A: 21497 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 21498 L_250A9420: 21499 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 21500 L_250A9421: 21501 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 21502 L_250A942B: 21503 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 21504 L_250A9431: 21505 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 21506 L_250A9437: 21507 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 21508 L_250A943D: 21509 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 21510 L_250A9440: 21511 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 21512 L_250A9443: 21513 PUSH32(esp, edx); /* 0x250A9443: push edx */ 21514 L_250A9444: 21515 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 21516 L_250A9447: 21517 PUSH32(esp, eax); /* 0x250A9447: push eax */ 21518 L_250A9448: 21519 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 21520 L_250A944D: 21521 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 21522 L_250A9453: 21523 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 21524 L_250A9454: 21525 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 21526 L_250A9455: 21527 ecx = esi; /* 0x250A9455: mov ecx, esi */ 21528 L_250A9457: 21529 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 21530 RECOMP_FLAGS_IN(); 21531 L_250A945C: 21532 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 21533 L_250A945F: 21534 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 21535 L_250A9461: 21536 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 21537 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21539 _flag_k = FK_CMP; 21540 L_250A9464: 21541 RECOMP_BACKEDGE(); 21542 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 21543 L_250A946A: 21544 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 21545 L_250A9470: 21546 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 21547 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21548 _cf = 0; 21549 _flag_k = FK_NARROW(FK_TEST, 24); 21550 L_250A9472: 21551 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 21552 L_250A9476: 21553 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 21554 L_250A9478: 21555 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 21556 L_250A947B: 21557 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 21558 L_250A9480: 21559 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 21560 L_250A9486: 21561 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 21562 L_250A9488: 21563 PUSH32(esp, edx); /* 0x250A9488: push edx */ 21564 L_250A9489: 21565 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 21566 L_250A948B: 21567 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 21568 L_250A948D: 21569 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 21570 RECOMP_FLAGS_IN(); 21571 L_250A9492: 21572 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 21573 L_250A9498: 21574 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 21575 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21576 _cf = 0; 21577 _flag_k = FK_NARROW(FK_TEST, 24); 21578 L_250A949A: 21579 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 21580 L_250A949E: 21581 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 21582 L_250A94A0: 21583 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 21584 L_250A94A3: 21585 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 21586 L_250A94A8: 21587 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 21588 L_250A94AE: 21589 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 21590 L_250A94B0: 21591 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 21592 L_250A94B1: 21593 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 21594 L_250A94B3: 21595 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 21596 L_250A94B5: 21597 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 21598 RECOMP_FLAGS_IN(); 21599 L_250A94BA: 21600 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 21601 L_250A94BD: 21602 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 21603 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21604 _cf = 0; 21605 _flag_k = FK_NARROW(FK_TEST, 24); 21606 L_250A94BF: 21607 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 21608 L_250A94C3: 21609 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 21610 L_250A94C5: 21611 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 21612 L_250A94CB: 21613 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 21614 L_250A94D0: 21615 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 21616 L_250A94D6: 21617 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 21618 L_250A94D8: 21619 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 21620 L_250A94D9: 21621 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 21622 L_250A94DB: 21623 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 21624 RECOMP_FLAGS_IN(); 21625 L_250A94E0: 21626 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 21627 L_250A94E3: 21628 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 21629 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21630 _cf = 0; 21631 _flag_k = FK_NARROW(FK_TEST, 24); 21632 L_250A94E5: 21633 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 21634 L_250A94E9: 21635 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 21636 L_250A94EB: 21637 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 21638 L_250A94EE: 21639 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 21640 L_250A94F3: 21641 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 21642 L_250A94F9: 21643 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 21644 L_250A94FB: 21645 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 21646 L_250A94FC: 21647 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 21648 L_250A94FE: 21649 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 21650 RECOMP_FLAGS_IN(); 21651 L_250A9503: 21652 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 21653 L_250A9506: 21654 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 21655 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21656 _cf = 0; 21657 _flag_k = FK_NARROW(FK_TEST, 24); 21658 L_250A9508: 21659 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 21660 L_250A950F: 21661 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 21662 L_250A9511: 21663 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 21664 L_250A9514: 21665 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 21666 L_250A951A: 21667 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 21668 L_250A9520: 21669 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 21670 L_250A9522: 21671 PUSH32(esp, eax); /* 0x250A9522: push eax */ 21672 L_250A9523: 21673 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 21674 L_250A9525: 21675 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 21676 RECOMP_FLAGS_IN(); 21677 L_250A952A: 21678 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 21679 L_250A952D: 21680 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 21681 L_250A952E: 21682 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 21683 L_250A952F: 21684 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 21685 L_250A9530: 21686 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 21687 L_250A9537: 21688 esp = ebp; /* 0x250A9537: mov esp, ebp */ 21689 L_250A9539: 21690 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 21691 L_250A953A: 21692 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 21693 _ljump: 21694 switch (_itail_tgt) { 21695 case 0x250A8FE9u: goto L_250A8FE9; 21696 case 0x250A8FECu: goto L_250A8FEC; 21697 case 0x250A8FF2u: goto L_250A8FF2; 21698 case 0x250A8FF4u: goto L_250A8FF4; 21699 case 0x250A8FFAu: goto L_250A8FFA; 21700 case 0x250A9000u: goto L_250A9000; 21701 case 0x250A9002u: goto L_250A9002; 21702 case 0x250A9007u: goto L_250A9007; 21703 case 0x250A9009u: goto L_250A9009; 21704 case 0x250A900Cu: goto L_250A900C; 21705 case 0x250A900Fu: goto L_250A900F; 21706 case 0x250A9011u: goto L_250A9011; 21707 case 0x250A9014u: goto L_250A9014; 21708 case 0x250A9016u: goto L_250A9016; 21709 case 0x250A9018u: goto L_250A9018; 21710 case 0x250A901Eu: goto L_250A901E; 21711 case 0x250A9021u: goto L_250A9021; 21712 case 0x250A9027u: goto L_250A9027; 21713 case 0x250A902Au: goto L_250A902A; 21714 case 0x250A902Du: goto L_250A902D; 21715 case 0x250A902Eu: goto L_250A902E; 21716 case 0x250A9030u: goto L_250A9030; 21717 case 0x250A9031u: goto L_250A9031; 21718 case 0x250A9033u: goto L_250A9033; 21719 case 0x250A9038u: goto L_250A9038; 21720 case 0x250A903Au: goto L_250A903A; 21721 case 0x250A903Fu: goto L_250A903F; 21722 case 0x250A9041u: goto L_250A9041; 21723 case 0x250A9043u: goto L_250A9043; 21724 case 0x250A9046u: goto L_250A9046; 21725 case 0x250A9048u: goto L_250A9048; 21726 case 0x250A9049u: goto L_250A9049; 21727 case 0x250A904Cu: goto L_250A904C; 21728 case 0x250A904Eu: goto L_250A904E; 21729 case 0x250A9055u: goto L_250A9055; 21730 case 0x250A9057u: goto L_250A9057; 21731 case 0x250A9059u: goto L_250A9059; 21732 case 0x250A905Eu: goto L_250A905E; 21733 case 0x250A9060u: goto L_250A9060; 21734 case 0x250A9065u: goto L_250A9065; 21735 case 0x250A9068u: goto L_250A9068; 21736 case 0x250A906Au: goto L_250A906A; 21737 case 0x250A9071u: goto L_250A9071; 21738 case 0x250A9076u: goto L_250A9076; 21739 case 0x250A9078u: goto L_250A9078; 21740 case 0x250A9079u: goto L_250A9079; 21741 case 0x250A907Bu: goto L_250A907B; 21742 case 0x250A907Eu: goto L_250A907E; 21743 case 0x250A9080u: goto L_250A9080; 21744 case 0x250A9082u: goto L_250A9082; 21745 case 0x250A9084u: goto L_250A9084; 21746 case 0x250A9087u: goto L_250A9087; 21747 case 0x250A908Au: goto L_250A908A; 21748 case 0x250A9090u: goto L_250A9090; 21749 case 0x250A9092u: goto L_250A9092; 21750 case 0x250A9093u: goto L_250A9093; 21751 case 0x250A9095u: goto L_250A9095; 21752 case 0x250A9096u: goto L_250A9096; 21753 case 0x250A9099u: goto L_250A9099; 21754 case 0x250A909Au: goto L_250A909A; 21755 case 0x250A909Du: goto L_250A909D; 21756 case 0x250A909Eu: goto L_250A909E; 21757 case 0x250A909Fu: goto L_250A909F; 21758 case 0x250A90A0u: goto L_250A90A0; 21759 case 0x250A90A2u: goto L_250A90A2; 21760 case 0x250A90A7u: goto L_250A90A7; 21761 case 0x250A90AAu: goto L_250A90AA; 21762 case 0x250A90ADu: goto L_250A90AD; 21763 case 0x250A90AEu: goto L_250A90AE; 21764 case 0x250A90B1u: goto L_250A90B1; 21765 case 0x250A90B4u: goto L_250A90B4; 21766 case 0x250A90B9u: goto L_250A90B9; 21767 case 0x250A90BCu: goto L_250A90BC; 21768 case 0x250A90BEu: goto L_250A90BE; 21769 case 0x250A90C4u: goto L_250A90C4; 21770 case 0x250A90C7u: goto L_250A90C7; 21771 case 0x250A90C9u: goto L_250A90C9; 21772 case 0x250A90CFu: goto L_250A90CF; 21773 case 0x250A90D2u: goto L_250A90D2; 21774 case 0x250A90D4u: goto L_250A90D4; 21775 case 0x250A90D6u: goto L_250A90D6; 21776 case 0x250A90D9u: goto L_250A90D9; 21777 case 0x250A90DBu: goto L_250A90DB; 21778 case 0x250A90DDu: goto L_250A90DD; 21779 case 0x250A90DEu: goto L_250A90DE; 21780 case 0x250A90E0u: goto L_250A90E0; 21781 case 0x250A90E2u: goto L_250A90E2; 21782 case 0x250A90E4u: goto L_250A90E4; 21783 case 0x250A90E6u: goto L_250A90E6; 21784 case 0x250A90E9u: goto L_250A90E9; 21785 case 0x250A90EEu: goto L_250A90EE; 21786 case 0x250A90F0u: goto L_250A90F0; 21787 case 0x250A90F5u: goto L_250A90F5; 21788 case 0x250A90F7u: goto L_250A90F7; 21789 case 0x250A90FAu: goto L_250A90FA; 21790 case 0x250A9100u: goto L_250A9100; 21791 case 0x250A9102u: goto L_250A9102; 21792 case 0x250A9104u: goto L_250A9104; 21793 case 0x250A910Au: goto L_250A910A; 21794 case 0x250A910Cu: goto L_250A910C; 21795 case 0x250A9111u: goto L_250A9111; 21796 case 0x250A9113u: goto L_250A9113; 21797 case 0x250A9116u: goto L_250A9116; 21798 case 0x250A9118u: goto L_250A9118; 21799 case 0x250A911Bu: goto L_250A911B; 21800 case 0x250A911Du: goto L_250A911D; 21801 case 0x250A911Fu: goto L_250A911F; 21802 case 0x250A9121u: goto L_250A9121; 21803 case 0x250A9127u: goto L_250A9127; 21804 case 0x250A912Au: goto L_250A912A; 21805 case 0x250A912Du: goto L_250A912D; 21806 case 0x250A9130u: goto L_250A9130; 21807 case 0x250A9132u: goto L_250A9132; 21808 case 0x250A9134u: goto L_250A9134; 21809 case 0x250A9137u: goto L_250A9137; 21810 case 0x250A913Cu: goto L_250A913C; 21811 case 0x250A913Eu: goto L_250A913E; 21812 case 0x250A9143u: goto L_250A9143; 21813 case 0x250A9144u: goto L_250A9144; 21814 case 0x250A9149u: goto L_250A9149; 21815 case 0x250A914Eu: goto L_250A914E; 21816 case 0x250A9150u: goto L_250A9150; 21817 case 0x250A9152u: goto L_250A9152; 21818 case 0x250A9154u: goto L_250A9154; 21819 case 0x250A9156u: goto L_250A9156; 21820 case 0x250A9157u: goto L_250A9157; 21821 case 0x250A9158u: goto L_250A9158; 21822 case 0x250A915Au: goto L_250A915A; 21823 case 0x250A915Fu: goto L_250A915F; 21824 case 0x250A9162u: goto L_250A9162; 21825 case 0x250A9163u: goto L_250A9163; 21826 case 0x250A9166u: goto L_250A9166; 21827 case 0x250A9169u: goto L_250A9169; 21828 case 0x250A916Bu: goto L_250A916B; 21829 case 0x250A916Eu: goto L_250A916E; 21830 case 0x250A9170u: goto L_250A9170; 21831 case 0x250A9172u: goto L_250A9172; 21832 case 0x250A9178u: goto L_250A9178; 21833 case 0x250A917Du: goto L_250A917D; 21834 case 0x250A9183u: goto L_250A9183; 21835 case 0x250A9188u: goto L_250A9188; 21836 case 0x250A918Eu: goto L_250A918E; 21837 case 0x250A9190u: goto L_250A9190; 21838 case 0x250A9192u: goto L_250A9192; 21839 case 0x250A9195u: goto L_250A9195; 21840 case 0x250A9197u: goto L_250A9197; 21841 case 0x250A919Au: goto L_250A919A; 21842 case 0x250A919Du: goto L_250A919D; 21843 case 0x250A91A2u: goto L_250A91A2; 21844 case 0x250A91A4u: goto L_250A91A4; 21845 case 0x250A91A6u: goto L_250A91A6; 21846 case 0x250A91A8u: goto L_250A91A8; 21847 case 0x250A91ABu: goto L_250A91AB; 21848 case 0x250A91ADu: goto L_250A91AD; 21849 case 0x250A91B0u: goto L_250A91B0; 21850 case 0x250A91B1u: goto L_250A91B1; 21851 case 0x250A91B2u: goto L_250A91B2; 21852 case 0x250A91B4u: goto L_250A91B4; 21853 case 0x250A91B7u: goto L_250A91B7; 21854 case 0x250A91BAu: goto L_250A91BA; 21855 case 0x250A91BCu: goto L_250A91BC; 21856 case 0x250A91BFu: goto L_250A91BF; 21857 case 0x250A91C5u: goto L_250A91C5; 21858 case 0x250A91C8u: goto L_250A91C8; 21859 case 0x250A91CBu: goto L_250A91CB; 21860 case 0x250A91D1u: goto L_250A91D1; 21861 case 0x250A91D4u: goto L_250A91D4; 21862 case 0x250A91D7u: goto L_250A91D7; 21863 case 0x250A91DCu: goto L_250A91DC; 21864 case 0x250A91E2u: goto L_250A91E2; 21865 case 0x250A91E4u: goto L_250A91E4; 21866 case 0x250A91EAu: goto L_250A91EA; 21867 case 0x250A91F0u: goto L_250A91F0; 21868 case 0x250A91F6u: goto L_250A91F6; 21869 case 0x250A91FCu: goto L_250A91FC; 21870 case 0x250A91FEu: goto L_250A91FE; 21871 case 0x250A9200u: goto L_250A9200; 21872 case 0x250A9202u: goto L_250A9202; 21873 case 0x250A9209u: goto L_250A9209; 21874 case 0x250A920Cu: goto L_250A920C; 21875 case 0x250A920Fu: goto L_250A920F; 21876 case 0x250A9214u: goto L_250A9214; 21877 case 0x250A9217u: goto L_250A9217; 21878 case 0x250A921Cu: goto L_250A921C; 21879 case 0x250A9222u: goto L_250A9222; 21880 case 0x250A9228u: goto L_250A9228; 21881 case 0x250A922Au: goto L_250A922A; 21882 case 0x250A922Cu: goto L_250A922C; 21883 case 0x250A922Eu: goto L_250A922E; 21884 case 0x250A9230u: goto L_250A9230; 21885 case 0x250A9233u: goto L_250A9233; 21886 case 0x250A923Au: goto L_250A923A; 21887 case 0x250A923Du: goto L_250A923D; 21888 case 0x250A9240u: goto L_250A9240; 21889 case 0x250A9245u: goto L_250A9245; 21890 case 0x250A9248u: goto L_250A9248; 21891 case 0x250A924Eu: goto L_250A924E; 21892 case 0x250A9254u: goto L_250A9254; 21893 case 0x250A925Au: goto L_250A925A; 21894 case 0x250A925Cu: goto L_250A925C; 21895 case 0x250A925Eu: goto L_250A925E; 21896 case 0x250A9260u: goto L_250A9260; 21897 case 0x250A9264u: goto L_250A9264; 21898 case 0x250A926Bu: goto L_250A926B; 21899 case 0x250A9271u: goto L_250A9271; 21900 case 0x250A9274u: goto L_250A9274; 21901 case 0x250A9279u: goto L_250A9279; 21902 case 0x250A927Cu: goto L_250A927C; 21903 case 0x250A9282u: goto L_250A9282; 21904 case 0x250A9288u: goto L_250A9288; 21905 case 0x250A928Eu: goto L_250A928E; 21906 case 0x250A9290u: goto L_250A9290; 21907 case 0x250A9292u: goto L_250A9292; 21908 case 0x250A9294u: goto L_250A9294; 21909 case 0x250A9295u: goto L_250A9295; 21910 case 0x250A9299u: goto L_250A9299; 21911 case 0x250A929Fu: goto L_250A929F; 21912 case 0x250A92A9u: goto L_250A92A9; 21913 case 0x250A92ACu: goto L_250A92AC; 21914 case 0x250A92B2u: goto L_250A92B2; 21915 case 0x250A92B7u: goto L_250A92B7; 21916 case 0x250A92BDu: goto L_250A92BD; 21917 case 0x250A92C2u: goto L_250A92C2; 21918 case 0x250A92C8u: goto L_250A92C8; 21919 case 0x250A92CEu: goto L_250A92CE; 21920 case 0x250A92D0u: goto L_250A92D0; 21921 case 0x250A92D1u: goto L_250A92D1; 21922 case 0x250A92D3u: goto L_250A92D3; 21923 case 0x250A92D4u: goto L_250A92D4; 21924 case 0x250A92D8u: goto L_250A92D8; 21925 case 0x250A92DEu: goto L_250A92DE; 21926 case 0x250A92E8u: goto L_250A92E8; 21927 case 0x250A92EBu: goto L_250A92EB; 21928 case 0x250A92F1u: goto L_250A92F1; 21929 case 0x250A92F6u: goto L_250A92F6; 21930 case 0x250A92FCu: goto L_250A92FC; 21931 case 0x250A92FFu: goto L_250A92FF; 21932 case 0x250A9301u: goto L_250A9301; 21933 case 0x250A9302u: goto L_250A9302; 21934 case 0x250A9303u: goto L_250A9303; 21935 case 0x250A9307u: goto L_250A9307; 21936 case 0x250A930Cu: goto L_250A930C; 21937 case 0x250A930Eu: goto L_250A930E; 21938 case 0x250A9313u: goto L_250A9313; 21939 case 0x250A9316u: goto L_250A9316; 21940 case 0x250A9319u: goto L_250A9319; 21941 case 0x250A931Bu: goto L_250A931B; 21942 case 0x250A931Du: goto L_250A931D; 21943 case 0x250A9323u: goto L_250A9323; 21944 case 0x250A9327u: goto L_250A9327; 21945 case 0x250A932Du: goto L_250A932D; 21946 case 0x250A9330u: goto L_250A9330; 21947 case 0x250A9333u: goto L_250A9333; 21948 case 0x250A9336u: goto L_250A9336; 21949 case 0x250A9339u: goto L_250A9339; 21950 case 0x250A933Bu: goto L_250A933B; 21951 case 0x250A933Eu: goto L_250A933E; 21952 case 0x250A9341u: goto L_250A9341; 21953 case 0x250A9344u: goto L_250A9344; 21954 case 0x250A9347u: goto L_250A9347; 21955 case 0x250A934Au: goto L_250A934A; 21956 case 0x250A934Bu: goto L_250A934B; 21957 case 0x250A934Eu: goto L_250A934E; 21958 case 0x250A9355u: goto L_250A9355; 21959 case 0x250A935Cu: goto L_250A935C; 21960 case 0x250A9363u: goto L_250A9363; 21961 case 0x250A9366u: goto L_250A9366; 21962 case 0x250A9369u: goto L_250A9369; 21963 case 0x250A936Fu: goto L_250A936F; 21964 case 0x250A9371u: goto L_250A9371; 21965 case 0x250A9374u: goto L_250A9374; 21966 case 0x250A9377u: goto L_250A9377; 21967 case 0x250A937Au: goto L_250A937A; 21968 case 0x250A937Du: goto L_250A937D; 21969 case 0x250A9380u: goto L_250A9380; 21970 case 0x250A9382u: goto L_250A9382; 21971 case 0x250A9388u: goto L_250A9388; 21972 case 0x250A938Bu: goto L_250A938B; 21973 case 0x250A938Eu: goto L_250A938E; 21974 case 0x250A9391u: goto L_250A9391; 21975 case 0x250A9394u: goto L_250A9394; 21976 case 0x250A9395u: goto L_250A9395; 21977 case 0x250A939Bu: goto L_250A939B; 21978 case 0x250A93A1u: goto L_250A93A1; 21979 case 0x250A93A7u: goto L_250A93A7; 21980 case 0x250A93ADu: goto L_250A93AD; 21981 case 0x250A93B0u: goto L_250A93B0; 21982 case 0x250A93B2u: goto L_250A93B2; 21983 case 0x250A93B4u: goto L_250A93B4; 21984 case 0x250A93B7u: goto L_250A93B7; 21985 case 0x250A93BAu: goto L_250A93BA; 21986 case 0x250A93BDu: goto L_250A93BD; 21987 case 0x250A93BFu: goto L_250A93BF; 21988 case 0x250A93C2u: goto L_250A93C2; 21989 case 0x250A93C5u: goto L_250A93C5; 21990 case 0x250A93CAu: goto L_250A93CA; 21991 case 0x250A93CDu: goto L_250A93CD; 21992 case 0x250A93D0u: goto L_250A93D0; 21993 case 0x250A93D3u: goto L_250A93D3; 21994 case 0x250A93D6u: goto L_250A93D6; 21995 case 0x250A93D8u: goto L_250A93D8; 21996 case 0x250A93DBu: goto L_250A93DB; 21997 case 0x250A93DEu: goto L_250A93DE; 21998 case 0x250A93E0u: goto L_250A93E0; 21999 case 0x250A93E3u: goto L_250A93E3; 22000 case 0x250A93E5u: goto L_250A93E5; 22001 case 0x250A93EBu: goto L_250A93EB; 22002 case 0x250A93EEu: goto L_250A93EE; 22003 case 0x250A93EFu: goto L_250A93EF; 22004 case 0x250A93F2u: goto L_250A93F2; 22005 case 0x250A93F8u: goto L_250A93F8; 22006 case 0x250A93FBu: goto L_250A93FB; 22007 case 0x250A93FCu: goto L_250A93FC; 22008 case 0x250A93FFu: goto L_250A93FF; 22009 case 0x250A9405u: goto L_250A9405; 22010 case 0x250A9408u: goto L_250A9408; 22011 case 0x250A940Au: goto L_250A940A; 22012 case 0x250A940Du: goto L_250A940D; 22013 case 0x250A9410u: goto L_250A9410; 22014 case 0x250A9413u: goto L_250A9413; 22015 case 0x250A9415u: goto L_250A9415; 22016 case 0x250A9418u: goto L_250A9418; 22017 case 0x250A941Au: goto L_250A941A; 22018 case 0x250A9420u: goto L_250A9420; 22019 case 0x250A9421u: goto L_250A9421; 22020 case 0x250A942Bu: goto L_250A942B; 22021 case 0x250A9431u: goto L_250A9431; 22022 case 0x250A9437u: goto L_250A9437; 22023 case 0x250A943Du: goto L_250A943D; 22024 case 0x250A9440u: goto L_250A9440; 22025 case 0x250A9443u: goto L_250A9443; 22026 case 0x250A9444u: goto L_250A9444; 22027 case 0x250A9447u: goto L_250A9447; 22028 case 0x250A9448u: goto L_250A9448; 22029 case 0x250A944Du: goto L_250A944D; 22030 case 0x250A9453u: goto L_250A9453; 22031 case 0x250A9454u: goto L_250A9454; 22032 case 0x250A9455u: goto L_250A9455; 22033 case 0x250A9457u: goto L_250A9457; 22034 case 0x250A945Cu: goto L_250A945C; 22035 case 0x250A945Fu: goto L_250A945F; 22036 case 0x250A9461u: goto L_250A9461; 22037 case 0x250A9464u: goto L_250A9464; 22038 case 0x250A946Au: goto L_250A946A; 22039 case 0x250A9470u: goto L_250A9470; 22040 case 0x250A9472u: goto L_250A9472; 22041 case 0x250A9476u: goto L_250A9476; 22042 case 0x250A9478u: goto L_250A9478; 22043 case 0x250A947Bu: goto L_250A947B; 22044 case 0x250A9480u: goto L_250A9480; 22045 case 0x250A9486u: goto L_250A9486; 22046 case 0x250A9488u: goto L_250A9488; 22047 case 0x250A9489u: goto L_250A9489; 22048 case 0x250A948Bu: goto L_250A948B; 22049 case 0x250A948Du: goto L_250A948D; 22050 case 0x250A9492u: goto L_250A9492; 22051 case 0x250A9498u: goto L_250A9498; 22052 case 0x250A949Au: goto L_250A949A; 22053 case 0x250A949Eu: goto L_250A949E; 22054 case 0x250A94A0u: goto L_250A94A0; 22055 case 0x250A94A3u: goto L_250A94A3; 22056 case 0x250A94A8u: goto L_250A94A8; 22057 case 0x250A94AEu: goto L_250A94AE; 22058 case 0x250A94B0u: goto L_250A94B0; 22059 case 0x250A94B1u: goto L_250A94B1; 22060 case 0x250A94B3u: goto L_250A94B3; 22061 case 0x250A94B5u: goto L_250A94B5; 22062 case 0x250A94BAu: goto L_250A94BA; 22063 case 0x250A94BDu: goto L_250A94BD; 22064 case 0x250A94BFu: goto L_250A94BF; 22065 case 0x250A94C3u: goto L_250A94C3; 22066 case 0x250A94C5u: goto L_250A94C5; 22067 case 0x250A94CBu: goto L_250A94CB; 22068 case 0x250A94D0u: goto L_250A94D0; 22069 case 0x250A94D6u: goto L_250A94D6; 22070 case 0x250A94D8u: goto L_250A94D8; 22071 case 0x250A94D9u: goto L_250A94D9; 22072 case 0x250A94DBu: goto L_250A94DB; 22073 case 0x250A94E0u: goto L_250A94E0; 22074 case 0x250A94E3u: goto L_250A94E3; 22075 case 0x250A94E5u: goto L_250A94E5; 22076 case 0x250A94E9u: goto L_250A94E9; 22077 case 0x250A94EBu: goto L_250A94EB; 22078 case 0x250A94EEu: goto L_250A94EE; 22079 case 0x250A94F3u: goto L_250A94F3; 22080 case 0x250A94F9u: goto L_250A94F9; 22081 case 0x250A94FBu: goto L_250A94FB; 22082 case 0x250A94FCu: goto L_250A94FC; 22083 case 0x250A94FEu: goto L_250A94FE; 22084 case 0x250A9503u: goto L_250A9503; 22085 case 0x250A9506u: goto L_250A9506; 22086 case 0x250A9508u: goto L_250A9508; 22087 case 0x250A950Fu: goto L_250A950F; 22088 case 0x250A9511u: goto L_250A9511; 22089 case 0x250A9514u: goto L_250A9514; 22090 case 0x250A951Au: goto L_250A951A; 22091 case 0x250A9520u: goto L_250A9520; 22092 case 0x250A9522u: goto L_250A9522; 22093 case 0x250A9523u: goto L_250A9523; 22094 case 0x250A9525u: goto L_250A9525; 22095 case 0x250A952Au: goto L_250A952A; 22096 case 0x250A952Du: goto L_250A952D; 22097 case 0x250A952Eu: goto L_250A952E; 22098 case 0x250A952Fu: goto L_250A952F; 22099 case 0x250A9530u: goto L_250A9530; 22100 case 0x250A9537u: goto L_250A9537; 22101 case 0x250A9539u: goto L_250A9539; 22102 case 0x250A953Au: goto L_250A953A; 22103 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 22104 } 22105 RECOMP_REGS_OUT(); 22106 } 22107 22108 void sub_250A9043(void) { 22109 int _fpu_cmp = 0; 22110 uint32_t _cf = 0; 22111 int _df = 1; 22112 uint32_t _flag_k = FK_NONE; 22113 uint32_t _flag_a = 0, _flag_b = 0; 22114 uint32_t _itail_tgt = 0; 22115 RECOMP_REGS_LOCALS 22116 RECOMP_ENTER(0x250A9043u); 22117 22118 goto L_250A9043; 22119 L_250A8FE9: 22120 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 22121 L_250A8FEC: 22122 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 22123 L_250A8FF2: 22124 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 22125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22126 _cf = 0; 22127 _flag_k = FK_TEST; 22128 L_250A8FF4: 22129 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 22130 L_250A8FFA: 22131 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 22132 L_250A9000: 22133 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 22134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22135 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 22136 _flag_k = FK_CMP; 22137 L_250A9002: 22138 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 22139 L_250A9007: 22140 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 22141 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 22142 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 22143 L_250A9009: 22144 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 22145 L_250A900C: 22146 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 22147 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22148 edx = (uint32_t)((int32_t)edx >> 3u); 22149 L_250A900F: 22150 ecx = edx; /* 0x250A900F: mov ecx, edx */ 22151 L_250A9011: 22152 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 22153 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22154 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 22155 L_250A9014: 22156 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 22157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22158 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 22159 _flag_k = FK_ADD; 22160 L_250A9016: 22161 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 22162 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 22163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22164 _flag_k = FK_CMP; 22165 L_250A9018: 22166 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 22167 L_250A901E: 22168 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 22169 L_250A9021: 22170 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 22171 L_250A9027: 22172 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 22173 L_250A902A: 22174 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 22175 L_250A902D: 22176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22177 eax = eax - 1; /* 0x250A902D: dec eax */ 22178 _flag_k = FK_DEC; 22179 L_250A902E: 22180 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 22181 L_250A9030: 22182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22183 eax = eax - 1; /* 0x250A9030: dec eax */ 22184 _flag_k = FK_DEC; 22185 L_250A9031: 22186 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 22187 L_250A9033: 22188 eax = 2; /* 0x250A9033: mov eax, 2 */ 22189 L_250A9038: 22190 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 22191 L_250A903A: 22192 eax = 1; /* 0x250A903A: mov eax, 1 */ 22193 L_250A903F: 22194 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 22195 L_250A9041: 22196 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22197 eax = 0; /* 0x250A9041: xor eax, eax */ 22198 _cf = 0; 22199 _flag_k = FK_TEST; 22200 L_250A9043: 22201 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 22202 L_250A9046: 22203 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22204 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 22205 _cf = 0; 22206 _flag_k = FK_TEST; 22207 L_250A9048: 22208 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 22209 edx = edx - 1; /* 0x250A9048: dec edx */ 22210 _flag_k = FK_DEC; 22211 L_250A9049: 22212 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 22213 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 22214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22215 _flag_k = FK_CMP; 22216 L_250A904C: 22217 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 22218 L_250A904E: 22219 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 22220 L_250A9055: 22221 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22222 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 22223 _cf = 0; 22224 _flag_k = FK_TEST; 22225 L_250A9057: 22226 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 22227 L_250A9059: 22228 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 22229 L_250A905E: 22230 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 22231 L_250A9060: 22232 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 22233 L_250A9065: 22234 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 22235 L_250A9068: 22236 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 22237 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22238 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 22239 _flag_k = FK_ADD; 22240 L_250A906A: 22241 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 22242 L_250A9071: 22243 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 22244 L_250A9076: 22245 eax = ecx; /* 0x250A9076: mov eax, ecx */ 22246 L_250A9078: 22247 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 22248 L_250A9079: 22249 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 22250 L_250A907B: 22251 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 22252 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 22253 _cf = 0; 22254 _flag_k = FK_TEST; 22255 L_250A907E: 22256 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 22257 L_250A9080: 22258 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 22259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22260 eax = eax + edx; /* 0x250A9080: add eax, edx */ 22261 _flag_k = FK_ADD; 22262 L_250A9082: 22263 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 22264 L_250A9084: 22265 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 22266 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22267 eax = (uint32_t)((int32_t)eax >> 2u); 22268 L_250A9087: 22269 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 22270 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22271 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 22272 L_250A908A: 22273 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 22274 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 22275 _cf = 0; 22276 _flag_k = FK_TEST; 22277 L_250A9090: 22278 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 22279 L_250A9092: 22280 PUSH32(esp, eax); /* 0x250A9092: push eax */ 22281 L_250A9093: 22282 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 22283 L_250A9095: 22284 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22285 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 22286 _flag_k = FK_DEC; 22287 L_250A9096: 22288 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 22289 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 22290 _cf = 0; 22291 _flag_k = FK_TEST; 22292 L_250A9099: 22293 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22294 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 22295 _flag_k = FK_INC; 22296 L_250A909A: 22297 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 22298 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22299 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 22300 L_250A909D: 22301 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 22302 L_250A909E: 22303 PUSH32(esp, edi); /* 0x250A909E: push edi */ 22304 L_250A909F: 22305 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 22306 L_250A90A0: 22307 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 22308 L_250A90A2: 22309 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 22310 RECOMP_FLAGS_IN(); 22311 L_250A90A7: 22312 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 22313 L_250A90AA: 22314 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 22315 L_250A90AD: 22316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22317 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 22318 _flag_k = FK_INC; 22319 L_250A90AE: 22320 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 22321 L_250A90B1: 22322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 22323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22324 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 22325 _flag_k = FK_ADD; 22326 L_250A90B4: 22327 RECOMP_BACKEDGE(); 22328 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 22329 L_250A90B9: 22330 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 22331 L_250A90BC: 22332 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 22333 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22334 _cf = 0; 22335 _flag_k = FK_NARROW(FK_TEST, 24); 22336 L_250A90BE: 22337 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 22338 L_250A90C4: 22339 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 22340 L_250A90C7: 22341 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 22342 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22343 _cf = 0; 22344 _flag_k = FK_TEST; 22345 L_250A90C9: 22346 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 22347 L_250A90CF: 22348 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 22349 L_250A90D2: 22350 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 22351 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22352 _cf = 0; 22353 _flag_k = FK_TEST; 22354 L_250A90D4: 22355 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 22356 L_250A90D6: 22357 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 22358 L_250A90D9: 22359 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 22360 L_250A90DB: 22361 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 22362 L_250A90DD: 22363 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 22364 L_250A90DE: 22365 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 22366 L_250A90E0: 22367 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 22368 L_250A90E2: 22369 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 22370 L_250A90E4: 22371 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 22372 L_250A90E6: 22373 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 22374 L_250A90E9: 22375 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 22376 RECOMP_FLAGS_IN(); 22377 L_250A90EE: 22378 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 22379 L_250A90F0: 22380 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 22381 RECOMP_FLAGS_IN(); 22382 L_250A90F5: 22383 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22384 edi = 0; /* 0x250A90F5: xor edi, edi */ 22385 _cf = 0; 22386 _flag_k = FK_TEST; 22387 L_250A90F7: 22388 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 22389 L_250A90FA: 22390 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 22391 L_250A9100: 22392 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 22393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22394 _cf = 0; 22395 _flag_k = FK_TEST; 22396 L_250A9102: 22397 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 22398 L_250A9104: 22399 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 22400 L_250A910A: 22401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 22402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22403 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 22404 _flag_k = FK_CMP; 22405 L_250A910C: 22406 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 22407 L_250A9111: 22408 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 22409 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 22410 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 22411 L_250A9113: 22412 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 22413 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22414 edx = (uint32_t)((int32_t)edx >> 3u); 22415 L_250A9116: 22416 eax = edx; /* 0x250A9116: mov eax, edx */ 22417 L_250A9118: 22418 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 22419 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22420 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 22421 L_250A911B: 22422 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 22423 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22424 edx = edx + eax; /* 0x250A911B: add edx, eax */ 22425 _flag_k = FK_ADD; 22426 L_250A911D: 22427 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 22428 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 22429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22430 _flag_k = FK_CMP; 22431 L_250A911F: 22432 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 22433 L_250A9121: 22434 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 22435 L_250A9127: 22436 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 22437 L_250A912A: 22438 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 22439 L_250A912D: 22440 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 22441 L_250A9130: 22442 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 22443 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 22444 _cf = 0; 22445 _flag_k = FK_TEST; 22446 L_250A9132: 22447 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 22448 L_250A9134: 22449 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 22450 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 22451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22452 _flag_k = FK_CMP; 22453 L_250A9137: 22454 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 22455 L_250A913C: 22456 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 22457 L_250A913E: 22458 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 22459 L_250A9143: 22460 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 22461 L_250A9144: 22462 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 22463 L_250A9149: 22464 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 22465 L_250A914E: 22466 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 22467 L_250A9150: 22468 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 22469 L_250A9152: 22470 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 22471 L_250A9154: 22472 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 22473 L_250A9156: 22474 PUSH32(esp, eax); /* 0x250A9156: push eax */ 22475 L_250A9157: 22476 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 22477 L_250A9158: 22478 ecx = esi; /* 0x250A9158: mov ecx, esi */ 22479 L_250A915A: 22480 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 22481 RECOMP_FLAGS_IN(); 22482 L_250A915F: 22483 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 22484 L_250A9162: 22485 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 22486 edi = edi + 1; /* 0x250A9162: inc edi */ 22487 _flag_k = FK_INC; 22488 L_250A9163: 22489 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 22490 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22491 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 22492 _flag_k = FK_ADD; 22493 L_250A9166: 22494 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 22495 L_250A9169: 22496 RECOMP_BACKEDGE(); 22497 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 22498 L_250A916B: 22499 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 22500 L_250A916E: 22501 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 22502 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22503 _cf = 0; 22504 _flag_k = FK_NARROW(FK_TEST, 24); 22505 L_250A9170: 22506 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 22507 L_250A9172: 22508 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 22509 L_250A9178: 22510 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 22511 L_250A917D: 22512 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 22513 L_250A9183: 22514 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 22515 L_250A9188: 22516 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 22517 L_250A918E: 22518 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 22519 L_250A9190: 22520 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 22521 L_250A9192: 22522 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 22523 L_250A9195: 22524 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 22525 L_250A9197: 22526 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 22527 L_250A919A: 22528 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 22529 L_250A919D: 22530 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 22531 L_250A91A2: 22532 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 22533 L_250A91A4: 22534 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 22535 L_250A91A6: 22536 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 22537 L_250A91A8: 22538 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 22539 L_250A91AB: 22540 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 22541 L_250A91AD: 22542 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 22543 L_250A91B0: 22544 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 22545 L_250A91B1: 22546 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 22547 L_250A91B2: 22548 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 22549 L_250A91B4: 22550 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 22551 L_250A91B7: 22552 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 22553 L_250A91BA: 22554 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 22555 L_250A91BC: 22556 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 22557 L_250A91BF: 22558 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 22559 L_250A91C5: 22560 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 22561 L_250A91C8: 22562 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 22563 L_250A91CB: 22564 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 22565 L_250A91D1: 22566 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 22567 L_250A91D4: 22568 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 22569 L_250A91D7: 22570 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 22571 RECOMP_FLAGS_IN(); 22572 L_250A91DC: 22573 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 22574 L_250A91E2: 22575 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 22576 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22577 _cf = 0; 22578 _flag_k = FK_NARROW(FK_TEST, 24); 22579 L_250A91E4: 22580 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 22581 L_250A91EA: 22582 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 22583 L_250A91F0: 22584 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 22585 L_250A91F6: 22586 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 22587 L_250A91FC: 22588 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 22589 L_250A91FE: 22590 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 22591 L_250A9200: 22592 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 22593 L_250A9202: 22594 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 22595 L_250A9209: 22596 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 22597 L_250A920C: 22598 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 22599 L_250A920F: 22600 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 22601 RECOMP_FLAGS_IN(); 22602 L_250A9214: 22603 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 22604 L_250A9217: 22605 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 22606 L_250A921C: 22607 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 22608 L_250A9222: 22609 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 22610 L_250A9228: 22611 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 22612 L_250A922A: 22613 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 22614 L_250A922C: 22615 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22616 edi = 0; /* 0x250A922C: xor edi, edi */ 22617 _cf = 0; 22618 _flag_k = FK_TEST; 22619 L_250A922E: 22620 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 22621 L_250A9230: 22622 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 22623 L_250A9233: 22624 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 22625 L_250A923A: 22626 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 22627 L_250A923D: 22628 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 22629 L_250A9240: 22630 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 22631 RECOMP_FLAGS_IN(); 22632 L_250A9245: 22633 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 22634 L_250A9248: 22635 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 22636 L_250A924E: 22637 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 22638 L_250A9254: 22639 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 22640 L_250A925A: 22641 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 22642 L_250A925C: 22643 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 22644 L_250A925E: 22645 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 22646 L_250A9260: 22647 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 22648 L_250A9264: 22649 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 22650 L_250A926B: 22651 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 22652 L_250A9271: 22653 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 22654 L_250A9274: 22655 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 22656 RECOMP_FLAGS_IN(); 22657 L_250A9279: 22658 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 22659 L_250A927C: 22660 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 22661 L_250A9282: 22662 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 22663 L_250A9288: 22664 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 22665 L_250A928E: 22666 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 22667 L_250A9290: 22668 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 22669 L_250A9292: 22670 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 22671 L_250A9294: 22672 PUSH32(esp, edi); /* 0x250A9294: push edi */ 22673 L_250A9295: 22674 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 22675 L_250A9299: 22676 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 22677 L_250A929F: 22678 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 22679 L_250A92A9: 22680 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 22681 L_250A92AC: 22682 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 22683 L_250A92B2: 22684 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 22685 RECOMP_FLAGS_IN(); 22686 L_250A92B7: 22687 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 22688 L_250A92BD: 22689 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 22690 L_250A92C2: 22691 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 22692 L_250A92C8: 22693 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 22694 L_250A92CE: 22695 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 22696 L_250A92D0: 22697 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 22698 L_250A92D1: 22699 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 22700 L_250A92D3: 22701 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 22702 L_250A92D4: 22703 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 22704 L_250A92D8: 22705 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 22706 L_250A92DE: 22707 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 22708 L_250A92E8: 22709 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 22710 L_250A92EB: 22711 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 22712 L_250A92F1: 22713 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 22714 RECOMP_FLAGS_IN(); 22715 L_250A92F6: 22716 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 22717 L_250A92FC: 22718 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 22719 L_250A92FF: 22720 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 22721 L_250A9301: 22722 PUSH32(esp, edi); /* 0x250A9301: push edi */ 22723 L_250A9302: 22724 PUSH32(esp, edi); /* 0x250A9302: push edi */ 22725 L_250A9303: 22726 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 22727 L_250A9307: 22728 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 22729 RECOMP_FLAGS_IN(); 22730 L_250A930C: 22731 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 22732 L_250A930E: 22733 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 22734 RECOMP_FLAGS_IN(); 22735 L_250A9313: 22736 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 22737 L_250A9316: 22738 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 22739 L_250A9319: 22740 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 22741 L_250A931B: 22742 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 22743 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 22744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22745 _flag_k = FK_CMP; 22746 L_250A931D: 22747 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 22748 L_250A9323: 22749 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 22750 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 22751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22752 _flag_k = FK_CMP; 22753 L_250A9327: 22754 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 22755 L_250A932D: 22756 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 22757 L_250A9330: 22758 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 22759 L_250A9333: 22760 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 22761 L_250A9336: 22762 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 22763 L_250A9339: 22764 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 22765 L_250A933B: 22766 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 22767 L_250A933E: 22768 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 22769 L_250A9341: 22770 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 22771 L_250A9344: 22772 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 22773 L_250A9347: 22774 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 22775 L_250A934A: 22776 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 22777 L_250A934B: 22778 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 22779 L_250A934E: 22780 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 22781 L_250A9355: 22782 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 22783 L_250A935C: 22784 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 22785 L_250A9363: 22786 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 22787 L_250A9366: 22788 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 22789 L_250A9369: 22790 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 22791 RECOMP_FLAGS_IN(); 22792 L_250A936F: 22793 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 22794 L_250A9371: 22795 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 22796 L_250A9374: 22797 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 22798 L_250A9377: 22799 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 22800 L_250A937A: 22801 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 22802 L_250A937D: 22803 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 22804 L_250A9380: 22805 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 22806 L_250A9382: 22807 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 22808 L_250A9388: 22809 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 22810 L_250A938B: 22811 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 22812 L_250A938E: 22813 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 22814 L_250A9391: 22815 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 22816 L_250A9394: 22817 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 22818 L_250A9395: 22819 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 22820 L_250A939B: 22821 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 22822 L_250A93A1: 22823 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 22824 L_250A93A7: 22825 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 22826 RECOMP_FLAGS_IN(); 22827 L_250A93AD: 22828 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 22829 L_250A93B0: 22830 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 22831 L_250A93B2: 22832 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 22833 L_250A93B4: 22834 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 22835 L_250A93B7: 22836 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 22837 L_250A93BA: 22838 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 22839 L_250A93BD: 22840 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 22841 L_250A93BF: 22842 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 22843 L_250A93C2: 22844 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 22845 L_250A93C5: 22846 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 22847 L_250A93CA: 22848 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 22849 L_250A93CD: 22850 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 22851 L_250A93D0: 22852 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 22853 L_250A93D3: 22854 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 22855 L_250A93D6: 22856 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 22857 L_250A93D8: 22858 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 22859 L_250A93DB: 22860 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 22861 L_250A93DE: 22862 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 22863 L_250A93E0: 22864 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 22865 L_250A93E3: 22866 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 22867 L_250A93E5: 22868 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 22869 RECOMP_FLAGS_IN(); 22870 L_250A93EB: 22871 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 22872 L_250A93EE: 22873 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 22874 L_250A93EF: 22875 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 22876 L_250A93F2: 22877 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 22878 RECOMP_FLAGS_IN(); 22879 L_250A93F8: 22880 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 22881 L_250A93FB: 22882 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 22883 L_250A93FC: 22884 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 22885 L_250A93FF: 22886 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 22887 RECOMP_FLAGS_IN(); 22888 L_250A9405: 22889 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 22890 L_250A9408: 22891 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 22892 L_250A940A: 22893 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 22894 L_250A940D: 22895 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 22896 L_250A9410: 22897 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 22898 L_250A9413: 22899 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 22900 L_250A9415: 22901 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 22902 L_250A9418: 22903 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 22904 L_250A941A: 22905 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 22906 L_250A9420: 22907 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 22908 L_250A9421: 22909 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 22910 L_250A942B: 22911 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 22912 L_250A9431: 22913 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 22914 L_250A9437: 22915 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 22916 L_250A943D: 22917 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 22918 L_250A9440: 22919 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 22920 L_250A9443: 22921 PUSH32(esp, edx); /* 0x250A9443: push edx */ 22922 L_250A9444: 22923 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 22924 L_250A9447: 22925 PUSH32(esp, eax); /* 0x250A9447: push eax */ 22926 L_250A9448: 22927 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 22928 L_250A944D: 22929 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 22930 L_250A9453: 22931 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 22932 L_250A9454: 22933 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 22934 L_250A9455: 22935 ecx = esi; /* 0x250A9455: mov ecx, esi */ 22936 L_250A9457: 22937 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 22938 RECOMP_FLAGS_IN(); 22939 L_250A945C: 22940 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 22941 L_250A945F: 22942 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 22943 L_250A9461: 22944 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 22945 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22947 _flag_k = FK_CMP; 22948 L_250A9464: 22949 RECOMP_BACKEDGE(); 22950 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 22951 L_250A946A: 22952 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 22953 L_250A9470: 22954 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 22955 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22956 _cf = 0; 22957 _flag_k = FK_NARROW(FK_TEST, 24); 22958 L_250A9472: 22959 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 22960 L_250A9476: 22961 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 22962 L_250A9478: 22963 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 22964 L_250A947B: 22965 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 22966 L_250A9480: 22967 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 22968 L_250A9486: 22969 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 22970 L_250A9488: 22971 PUSH32(esp, edx); /* 0x250A9488: push edx */ 22972 L_250A9489: 22973 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 22974 L_250A948B: 22975 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 22976 L_250A948D: 22977 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 22978 RECOMP_FLAGS_IN(); 22979 L_250A9492: 22980 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 22981 L_250A9498: 22982 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 22983 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22984 _cf = 0; 22985 _flag_k = FK_NARROW(FK_TEST, 24); 22986 L_250A949A: 22987 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 22988 L_250A949E: 22989 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 22990 L_250A94A0: 22991 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 22992 L_250A94A3: 22993 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 22994 L_250A94A8: 22995 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 22996 L_250A94AE: 22997 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 22998 L_250A94B0: 22999 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 23000 L_250A94B1: 23001 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 23002 L_250A94B3: 23003 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 23004 L_250A94B5: 23005 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 23006 RECOMP_FLAGS_IN(); 23007 L_250A94BA: 23008 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 23009 L_250A94BD: 23010 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 23011 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23012 _cf = 0; 23013 _flag_k = FK_NARROW(FK_TEST, 24); 23014 L_250A94BF: 23015 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 23016 L_250A94C3: 23017 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 23018 L_250A94C5: 23019 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 23020 L_250A94CB: 23021 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 23022 L_250A94D0: 23023 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 23024 L_250A94D6: 23025 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 23026 L_250A94D8: 23027 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 23028 L_250A94D9: 23029 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 23030 L_250A94DB: 23031 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 23032 RECOMP_FLAGS_IN(); 23033 L_250A94E0: 23034 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 23035 L_250A94E3: 23036 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 23037 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23038 _cf = 0; 23039 _flag_k = FK_NARROW(FK_TEST, 24); 23040 L_250A94E5: 23041 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 23042 L_250A94E9: 23043 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 23044 L_250A94EB: 23045 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 23046 L_250A94EE: 23047 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 23048 L_250A94F3: 23049 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 23050 L_250A94F9: 23051 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 23052 L_250A94FB: 23053 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 23054 L_250A94FC: 23055 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 23056 L_250A94FE: 23057 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 23058 RECOMP_FLAGS_IN(); 23059 L_250A9503: 23060 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 23061 L_250A9506: 23062 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 23063 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23064 _cf = 0; 23065 _flag_k = FK_NARROW(FK_TEST, 24); 23066 L_250A9508: 23067 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 23068 L_250A950F: 23069 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 23070 L_250A9511: 23071 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 23072 L_250A9514: 23073 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 23074 L_250A951A: 23075 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 23076 L_250A9520: 23077 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 23078 L_250A9522: 23079 PUSH32(esp, eax); /* 0x250A9522: push eax */ 23080 L_250A9523: 23081 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 23082 L_250A9525: 23083 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 23084 RECOMP_FLAGS_IN(); 23085 L_250A952A: 23086 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 23087 L_250A952D: 23088 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 23089 L_250A952E: 23090 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 23091 L_250A952F: 23092 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 23093 L_250A9530: 23094 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 23095 L_250A9537: 23096 esp = ebp; /* 0x250A9537: mov esp, ebp */ 23097 L_250A9539: 23098 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 23099 L_250A953A: 23100 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 23101 _ljump: 23102 switch (_itail_tgt) { 23103 case 0x250A8FE9u: goto L_250A8FE9; 23104 case 0x250A8FECu: goto L_250A8FEC; 23105 case 0x250A8FF2u: goto L_250A8FF2; 23106 case 0x250A8FF4u: goto L_250A8FF4; 23107 case 0x250A8FFAu: goto L_250A8FFA; 23108 case 0x250A9000u: goto L_250A9000; 23109 case 0x250A9002u: goto L_250A9002; 23110 case 0x250A9007u: goto L_250A9007; 23111 case 0x250A9009u: goto L_250A9009; 23112 case 0x250A900Cu: goto L_250A900C; 23113 case 0x250A900Fu: goto L_250A900F; 23114 case 0x250A9011u: goto L_250A9011; 23115 case 0x250A9014u: goto L_250A9014; 23116 case 0x250A9016u: goto L_250A9016; 23117 case 0x250A9018u: goto L_250A9018; 23118 case 0x250A901Eu: goto L_250A901E; 23119 case 0x250A9021u: goto L_250A9021; 23120 case 0x250A9027u: goto L_250A9027; 23121 case 0x250A902Au: goto L_250A902A; 23122 case 0x250A902Du: goto L_250A902D; 23123 case 0x250A902Eu: goto L_250A902E; 23124 case 0x250A9030u: goto L_250A9030; 23125 case 0x250A9031u: goto L_250A9031; 23126 case 0x250A9033u: goto L_250A9033; 23127 case 0x250A9038u: goto L_250A9038; 23128 case 0x250A903Au: goto L_250A903A; 23129 case 0x250A903Fu: goto L_250A903F; 23130 case 0x250A9041u: goto L_250A9041; 23131 case 0x250A9043u: goto L_250A9043; 23132 case 0x250A9046u: goto L_250A9046; 23133 case 0x250A9048u: goto L_250A9048; 23134 case 0x250A9049u: goto L_250A9049; 23135 case 0x250A904Cu: goto L_250A904C; 23136 case 0x250A904Eu: goto L_250A904E; 23137 case 0x250A9055u: goto L_250A9055; 23138 case 0x250A9057u: goto L_250A9057; 23139 case 0x250A9059u: goto L_250A9059; 23140 case 0x250A905Eu: goto L_250A905E; 23141 case 0x250A9060u: goto L_250A9060; 23142 case 0x250A9065u: goto L_250A9065; 23143 case 0x250A9068u: goto L_250A9068; 23144 case 0x250A906Au: goto L_250A906A; 23145 case 0x250A9071u: goto L_250A9071; 23146 case 0x250A9076u: goto L_250A9076; 23147 case 0x250A9078u: goto L_250A9078; 23148 case 0x250A9079u: goto L_250A9079; 23149 case 0x250A907Bu: goto L_250A907B; 23150 case 0x250A907Eu: goto L_250A907E; 23151 case 0x250A9080u: goto L_250A9080; 23152 case 0x250A9082u: goto L_250A9082; 23153 case 0x250A9084u: goto L_250A9084; 23154 case 0x250A9087u: goto L_250A9087; 23155 case 0x250A908Au: goto L_250A908A; 23156 case 0x250A9090u: goto L_250A9090; 23157 case 0x250A9092u: goto L_250A9092; 23158 case 0x250A9093u: goto L_250A9093; 23159 case 0x250A9095u: goto L_250A9095; 23160 case 0x250A9096u: goto L_250A9096; 23161 case 0x250A9099u: goto L_250A9099; 23162 case 0x250A909Au: goto L_250A909A; 23163 case 0x250A909Du: goto L_250A909D; 23164 case 0x250A909Eu: goto L_250A909E; 23165 case 0x250A909Fu: goto L_250A909F; 23166 case 0x250A90A0u: goto L_250A90A0; 23167 case 0x250A90A2u: goto L_250A90A2; 23168 case 0x250A90A7u: goto L_250A90A7; 23169 case 0x250A90AAu: goto L_250A90AA; 23170 case 0x250A90ADu: goto L_250A90AD; 23171 case 0x250A90AEu: goto L_250A90AE; 23172 case 0x250A90B1u: goto L_250A90B1; 23173 case 0x250A90B4u: goto L_250A90B4; 23174 case 0x250A90B9u: goto L_250A90B9; 23175 case 0x250A90BCu: goto L_250A90BC; 23176 case 0x250A90BEu: goto L_250A90BE; 23177 case 0x250A90C4u: goto L_250A90C4; 23178 case 0x250A90C7u: goto L_250A90C7; 23179 case 0x250A90C9u: goto L_250A90C9; 23180 case 0x250A90CFu: goto L_250A90CF; 23181 case 0x250A90D2u: goto L_250A90D2; 23182 case 0x250A90D4u: goto L_250A90D4; 23183 case 0x250A90D6u: goto L_250A90D6; 23184 case 0x250A90D9u: goto L_250A90D9; 23185 case 0x250A90DBu: goto L_250A90DB; 23186 case 0x250A90DDu: goto L_250A90DD; 23187 case 0x250A90DEu: goto L_250A90DE; 23188 case 0x250A90E0u: goto L_250A90E0; 23189 case 0x250A90E2u: goto L_250A90E2; 23190 case 0x250A90E4u: goto L_250A90E4; 23191 case 0x250A90E6u: goto L_250A90E6; 23192 case 0x250A90E9u: goto L_250A90E9; 23193 case 0x250A90EEu: goto L_250A90EE; 23194 case 0x250A90F0u: goto L_250A90F0; 23195 case 0x250A90F5u: goto L_250A90F5; 23196 case 0x250A90F7u: goto L_250A90F7; 23197 case 0x250A90FAu: goto L_250A90FA; 23198 case 0x250A9100u: goto L_250A9100; 23199 case 0x250A9102u: goto L_250A9102; 23200 case 0x250A9104u: goto L_250A9104; 23201 case 0x250A910Au: goto L_250A910A; 23202 case 0x250A910Cu: goto L_250A910C; 23203 case 0x250A9111u: goto L_250A9111; 23204 case 0x250A9113u: goto L_250A9113; 23205 case 0x250A9116u: goto L_250A9116; 23206 case 0x250A9118u: goto L_250A9118; 23207 case 0x250A911Bu: goto L_250A911B; 23208 case 0x250A911Du: goto L_250A911D; 23209 case 0x250A911Fu: goto L_250A911F; 23210 case 0x250A9121u: goto L_250A9121; 23211 case 0x250A9127u: goto L_250A9127; 23212 case 0x250A912Au: goto L_250A912A; 23213 case 0x250A912Du: goto L_250A912D; 23214 case 0x250A9130u: goto L_250A9130; 23215 case 0x250A9132u: goto L_250A9132; 23216 case 0x250A9134u: goto L_250A9134; 23217 case 0x250A9137u: goto L_250A9137; 23218 case 0x250A913Cu: goto L_250A913C; 23219 case 0x250A913Eu: goto L_250A913E; 23220 case 0x250A9143u: goto L_250A9143; 23221 case 0x250A9144u: goto L_250A9144; 23222 case 0x250A9149u: goto L_250A9149; 23223 case 0x250A914Eu: goto L_250A914E; 23224 case 0x250A9150u: goto L_250A9150; 23225 case 0x250A9152u: goto L_250A9152; 23226 case 0x250A9154u: goto L_250A9154; 23227 case 0x250A9156u: goto L_250A9156; 23228 case 0x250A9157u: goto L_250A9157; 23229 case 0x250A9158u: goto L_250A9158; 23230 case 0x250A915Au: goto L_250A915A; 23231 case 0x250A915Fu: goto L_250A915F; 23232 case 0x250A9162u: goto L_250A9162; 23233 case 0x250A9163u: goto L_250A9163; 23234 case 0x250A9166u: goto L_250A9166; 23235 case 0x250A9169u: goto L_250A9169; 23236 case 0x250A916Bu: goto L_250A916B; 23237 case 0x250A916Eu: goto L_250A916E; 23238 case 0x250A9170u: goto L_250A9170; 23239 case 0x250A9172u: goto L_250A9172; 23240 case 0x250A9178u: goto L_250A9178; 23241 case 0x250A917Du: goto L_250A917D; 23242 case 0x250A9183u: goto L_250A9183; 23243 case 0x250A9188u: goto L_250A9188; 23244 case 0x250A918Eu: goto L_250A918E; 23245 case 0x250A9190u: goto L_250A9190; 23246 case 0x250A9192u: goto L_250A9192; 23247 case 0x250A9195u: goto L_250A9195; 23248 case 0x250A9197u: goto L_250A9197; 23249 case 0x250A919Au: goto L_250A919A; 23250 case 0x250A919Du: goto L_250A919D; 23251 case 0x250A91A2u: goto L_250A91A2; 23252 case 0x250A91A4u: goto L_250A91A4; 23253 case 0x250A91A6u: goto L_250A91A6; 23254 case 0x250A91A8u: goto L_250A91A8; 23255 case 0x250A91ABu: goto L_250A91AB; 23256 case 0x250A91ADu: goto L_250A91AD; 23257 case 0x250A91B0u: goto L_250A91B0; 23258 case 0x250A91B1u: goto L_250A91B1; 23259 case 0x250A91B2u: goto L_250A91B2; 23260 case 0x250A91B4u: goto L_250A91B4; 23261 case 0x250A91B7u: goto L_250A91B7; 23262 case 0x250A91BAu: goto L_250A91BA; 23263 case 0x250A91BCu: goto L_250A91BC; 23264 case 0x250A91BFu: goto L_250A91BF; 23265 case 0x250A91C5u: goto L_250A91C5; 23266 case 0x250A91C8u: goto L_250A91C8; 23267 case 0x250A91CBu: goto L_250A91CB; 23268 case 0x250A91D1u: goto L_250A91D1; 23269 case 0x250A91D4u: goto L_250A91D4; 23270 case 0x250A91D7u: goto L_250A91D7; 23271 case 0x250A91DCu: goto L_250A91DC; 23272 case 0x250A91E2u: goto L_250A91E2; 23273 case 0x250A91E4u: goto L_250A91E4; 23274 case 0x250A91EAu: goto L_250A91EA; 23275 case 0x250A91F0u: goto L_250A91F0; 23276 case 0x250A91F6u: goto L_250A91F6; 23277 case 0x250A91FCu: goto L_250A91FC; 23278 case 0x250A91FEu: goto L_250A91FE; 23279 case 0x250A9200u: goto L_250A9200; 23280 case 0x250A9202u: goto L_250A9202; 23281 case 0x250A9209u: goto L_250A9209; 23282 case 0x250A920Cu: goto L_250A920C; 23283 case 0x250A920Fu: goto L_250A920F; 23284 case 0x250A9214u: goto L_250A9214; 23285 case 0x250A9217u: goto L_250A9217; 23286 case 0x250A921Cu: goto L_250A921C; 23287 case 0x250A9222u: goto L_250A9222; 23288 case 0x250A9228u: goto L_250A9228; 23289 case 0x250A922Au: goto L_250A922A; 23290 case 0x250A922Cu: goto L_250A922C; 23291 case 0x250A922Eu: goto L_250A922E; 23292 case 0x250A9230u: goto L_250A9230; 23293 case 0x250A9233u: goto L_250A9233; 23294 case 0x250A923Au: goto L_250A923A; 23295 case 0x250A923Du: goto L_250A923D; 23296 case 0x250A9240u: goto L_250A9240; 23297 case 0x250A9245u: goto L_250A9245; 23298 case 0x250A9248u: goto L_250A9248; 23299 case 0x250A924Eu: goto L_250A924E; 23300 case 0x250A9254u: goto L_250A9254; 23301 case 0x250A925Au: goto L_250A925A; 23302 case 0x250A925Cu: goto L_250A925C; 23303 case 0x250A925Eu: goto L_250A925E; 23304 case 0x250A9260u: goto L_250A9260; 23305 case 0x250A9264u: goto L_250A9264; 23306 case 0x250A926Bu: goto L_250A926B; 23307 case 0x250A9271u: goto L_250A9271; 23308 case 0x250A9274u: goto L_250A9274; 23309 case 0x250A9279u: goto L_250A9279; 23310 case 0x250A927Cu: goto L_250A927C; 23311 case 0x250A9282u: goto L_250A9282; 23312 case 0x250A9288u: goto L_250A9288; 23313 case 0x250A928Eu: goto L_250A928E; 23314 case 0x250A9290u: goto L_250A9290; 23315 case 0x250A9292u: goto L_250A9292; 23316 case 0x250A9294u: goto L_250A9294; 23317 case 0x250A9295u: goto L_250A9295; 23318 case 0x250A9299u: goto L_250A9299; 23319 case 0x250A929Fu: goto L_250A929F; 23320 case 0x250A92A9u: goto L_250A92A9; 23321 case 0x250A92ACu: goto L_250A92AC; 23322 case 0x250A92B2u: goto L_250A92B2; 23323 case 0x250A92B7u: goto L_250A92B7; 23324 case 0x250A92BDu: goto L_250A92BD; 23325 case 0x250A92C2u: goto L_250A92C2; 23326 case 0x250A92C8u: goto L_250A92C8; 23327 case 0x250A92CEu: goto L_250A92CE; 23328 case 0x250A92D0u: goto L_250A92D0; 23329 case 0x250A92D1u: goto L_250A92D1; 23330 case 0x250A92D3u: goto L_250A92D3; 23331 case 0x250A92D4u: goto L_250A92D4; 23332 case 0x250A92D8u: goto L_250A92D8; 23333 case 0x250A92DEu: goto L_250A92DE; 23334 case 0x250A92E8u: goto L_250A92E8; 23335 case 0x250A92EBu: goto L_250A92EB; 23336 case 0x250A92F1u: goto L_250A92F1; 23337 case 0x250A92F6u: goto L_250A92F6; 23338 case 0x250A92FCu: goto L_250A92FC; 23339 case 0x250A92FFu: goto L_250A92FF; 23340 case 0x250A9301u: goto L_250A9301; 23341 case 0x250A9302u: goto L_250A9302; 23342 case 0x250A9303u: goto L_250A9303; 23343 case 0x250A9307u: goto L_250A9307; 23344 case 0x250A930Cu: goto L_250A930C; 23345 case 0x250A930Eu: goto L_250A930E; 23346 case 0x250A9313u: goto L_250A9313; 23347 case 0x250A9316u: goto L_250A9316; 23348 case 0x250A9319u: goto L_250A9319; 23349 case 0x250A931Bu: goto L_250A931B; 23350 case 0x250A931Du: goto L_250A931D; 23351 case 0x250A9323u: goto L_250A9323; 23352 case 0x250A9327u: goto L_250A9327; 23353 case 0x250A932Du: goto L_250A932D; 23354 case 0x250A9330u: goto L_250A9330; 23355 case 0x250A9333u: goto L_250A9333; 23356 case 0x250A9336u: goto L_250A9336; 23357 case 0x250A9339u: goto L_250A9339; 23358 case 0x250A933Bu: goto L_250A933B; 23359 case 0x250A933Eu: goto L_250A933E; 23360 case 0x250A9341u: goto L_250A9341; 23361 case 0x250A9344u: goto L_250A9344; 23362 case 0x250A9347u: goto L_250A9347; 23363 case 0x250A934Au: goto L_250A934A; 23364 case 0x250A934Bu: goto L_250A934B; 23365 case 0x250A934Eu: goto L_250A934E; 23366 case 0x250A9355u: goto L_250A9355; 23367 case 0x250A935Cu: goto L_250A935C; 23368 case 0x250A9363u: goto L_250A9363; 23369 case 0x250A9366u: goto L_250A9366; 23370 case 0x250A9369u: goto L_250A9369; 23371 case 0x250A936Fu: goto L_250A936F; 23372 case 0x250A9371u: goto L_250A9371; 23373 case 0x250A9374u: goto L_250A9374; 23374 case 0x250A9377u: goto L_250A9377; 23375 case 0x250A937Au: goto L_250A937A; 23376 case 0x250A937Du: goto L_250A937D; 23377 case 0x250A9380u: goto L_250A9380; 23378 case 0x250A9382u: goto L_250A9382; 23379 case 0x250A9388u: goto L_250A9388; 23380 case 0x250A938Bu: goto L_250A938B; 23381 case 0x250A938Eu: goto L_250A938E; 23382 case 0x250A9391u: goto L_250A9391; 23383 case 0x250A9394u: goto L_250A9394; 23384 case 0x250A9395u: goto L_250A9395; 23385 case 0x250A939Bu: goto L_250A939B; 23386 case 0x250A93A1u: goto L_250A93A1; 23387 case 0x250A93A7u: goto L_250A93A7; 23388 case 0x250A93ADu: goto L_250A93AD; 23389 case 0x250A93B0u: goto L_250A93B0; 23390 case 0x250A93B2u: goto L_250A93B2; 23391 case 0x250A93B4u: goto L_250A93B4; 23392 case 0x250A93B7u: goto L_250A93B7; 23393 case 0x250A93BAu: goto L_250A93BA; 23394 case 0x250A93BDu: goto L_250A93BD; 23395 case 0x250A93BFu: goto L_250A93BF; 23396 case 0x250A93C2u: goto L_250A93C2; 23397 case 0x250A93C5u: goto L_250A93C5; 23398 case 0x250A93CAu: goto L_250A93CA; 23399 case 0x250A93CDu: goto L_250A93CD; 23400 case 0x250A93D0u: goto L_250A93D0; 23401 case 0x250A93D3u: goto L_250A93D3; 23402 case 0x250A93D6u: goto L_250A93D6; 23403 case 0x250A93D8u: goto L_250A93D8; 23404 case 0x250A93DBu: goto L_250A93DB; 23405 case 0x250A93DEu: goto L_250A93DE; 23406 case 0x250A93E0u: goto L_250A93E0; 23407 case 0x250A93E3u: goto L_250A93E3; 23408 case 0x250A93E5u: goto L_250A93E5; 23409 case 0x250A93EBu: goto L_250A93EB; 23410 case 0x250A93EEu: goto L_250A93EE; 23411 case 0x250A93EFu: goto L_250A93EF; 23412 case 0x250A93F2u: goto L_250A93F2; 23413 case 0x250A93F8u: goto L_250A93F8; 23414 case 0x250A93FBu: goto L_250A93FB; 23415 case 0x250A93FCu: goto L_250A93FC; 23416 case 0x250A93FFu: goto L_250A93FF; 23417 case 0x250A9405u: goto L_250A9405; 23418 case 0x250A9408u: goto L_250A9408; 23419 case 0x250A940Au: goto L_250A940A; 23420 case 0x250A940Du: goto L_250A940D; 23421 case 0x250A9410u: goto L_250A9410; 23422 case 0x250A9413u: goto L_250A9413; 23423 case 0x250A9415u: goto L_250A9415; 23424 case 0x250A9418u: goto L_250A9418; 23425 case 0x250A941Au: goto L_250A941A; 23426 case 0x250A9420u: goto L_250A9420; 23427 case 0x250A9421u: goto L_250A9421; 23428 case 0x250A942Bu: goto L_250A942B; 23429 case 0x250A9431u: goto L_250A9431; 23430 case 0x250A9437u: goto L_250A9437; 23431 case 0x250A943Du: goto L_250A943D; 23432 case 0x250A9440u: goto L_250A9440; 23433 case 0x250A9443u: goto L_250A9443; 23434 case 0x250A9444u: goto L_250A9444; 23435 case 0x250A9447u: goto L_250A9447; 23436 case 0x250A9448u: goto L_250A9448; 23437 case 0x250A944Du: goto L_250A944D; 23438 case 0x250A9453u: goto L_250A9453; 23439 case 0x250A9454u: goto L_250A9454; 23440 case 0x250A9455u: goto L_250A9455; 23441 case 0x250A9457u: goto L_250A9457; 23442 case 0x250A945Cu: goto L_250A945C; 23443 case 0x250A945Fu: goto L_250A945F; 23444 case 0x250A9461u: goto L_250A9461; 23445 case 0x250A9464u: goto L_250A9464; 23446 case 0x250A946Au: goto L_250A946A; 23447 case 0x250A9470u: goto L_250A9470; 23448 case 0x250A9472u: goto L_250A9472; 23449 case 0x250A9476u: goto L_250A9476; 23450 case 0x250A9478u: goto L_250A9478; 23451 case 0x250A947Bu: goto L_250A947B; 23452 case 0x250A9480u: goto L_250A9480; 23453 case 0x250A9486u: goto L_250A9486; 23454 case 0x250A9488u: goto L_250A9488; 23455 case 0x250A9489u: goto L_250A9489; 23456 case 0x250A948Bu: goto L_250A948B; 23457 case 0x250A948Du: goto L_250A948D; 23458 case 0x250A9492u: goto L_250A9492; 23459 case 0x250A9498u: goto L_250A9498; 23460 case 0x250A949Au: goto L_250A949A; 23461 case 0x250A949Eu: goto L_250A949E; 23462 case 0x250A94A0u: goto L_250A94A0; 23463 case 0x250A94A3u: goto L_250A94A3; 23464 case 0x250A94A8u: goto L_250A94A8; 23465 case 0x250A94AEu: goto L_250A94AE; 23466 case 0x250A94B0u: goto L_250A94B0; 23467 case 0x250A94B1u: goto L_250A94B1; 23468 case 0x250A94B3u: goto L_250A94B3; 23469 case 0x250A94B5u: goto L_250A94B5; 23470 case 0x250A94BAu: goto L_250A94BA; 23471 case 0x250A94BDu: goto L_250A94BD; 23472 case 0x250A94BFu: goto L_250A94BF; 23473 case 0x250A94C3u: goto L_250A94C3; 23474 case 0x250A94C5u: goto L_250A94C5; 23475 case 0x250A94CBu: goto L_250A94CB; 23476 case 0x250A94D0u: goto L_250A94D0; 23477 case 0x250A94D6u: goto L_250A94D6; 23478 case 0x250A94D8u: goto L_250A94D8; 23479 case 0x250A94D9u: goto L_250A94D9; 23480 case 0x250A94DBu: goto L_250A94DB; 23481 case 0x250A94E0u: goto L_250A94E0; 23482 case 0x250A94E3u: goto L_250A94E3; 23483 case 0x250A94E5u: goto L_250A94E5; 23484 case 0x250A94E9u: goto L_250A94E9; 23485 case 0x250A94EBu: goto L_250A94EB; 23486 case 0x250A94EEu: goto L_250A94EE; 23487 case 0x250A94F3u: goto L_250A94F3; 23488 case 0x250A94F9u: goto L_250A94F9; 23489 case 0x250A94FBu: goto L_250A94FB; 23490 case 0x250A94FCu: goto L_250A94FC; 23491 case 0x250A94FEu: goto L_250A94FE; 23492 case 0x250A9503u: goto L_250A9503; 23493 case 0x250A9506u: goto L_250A9506; 23494 case 0x250A9508u: goto L_250A9508; 23495 case 0x250A950Fu: goto L_250A950F; 23496 case 0x250A9511u: goto L_250A9511; 23497 case 0x250A9514u: goto L_250A9514; 23498 case 0x250A951Au: goto L_250A951A; 23499 case 0x250A9520u: goto L_250A9520; 23500 case 0x250A9522u: goto L_250A9522; 23501 case 0x250A9523u: goto L_250A9523; 23502 case 0x250A9525u: goto L_250A9525; 23503 case 0x250A952Au: goto L_250A952A; 23504 case 0x250A952Du: goto L_250A952D; 23505 case 0x250A952Eu: goto L_250A952E; 23506 case 0x250A952Fu: goto L_250A952F; 23507 case 0x250A9530u: goto L_250A9530; 23508 case 0x250A9537u: goto L_250A9537; 23509 case 0x250A9539u: goto L_250A9539; 23510 case 0x250A953Au: goto L_250A953A; 23511 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 23512 } 23513 RECOMP_REGS_OUT(); 23514 } 23515 23516 void sub_250A9055(void) { 23517 int _fpu_cmp = 0; 23518 uint32_t _cf = 0; 23519 int _df = 1; 23520 uint32_t _flag_k = FK_NONE; 23521 uint32_t _flag_a = 0, _flag_b = 0; 23522 uint32_t _itail_tgt = 0; 23523 RECOMP_REGS_LOCALS 23524 RECOMP_ENTER(0x250A9055u); 23525 23526 goto L_250A9055; 23527 L_250A8FE9: 23528 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 23529 L_250A8FEC: 23530 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 23531 L_250A8FF2: 23532 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 23533 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 23534 _cf = 0; 23535 _flag_k = FK_TEST; 23536 L_250A8FF4: 23537 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 23538 L_250A8FFA: 23539 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 23540 L_250A9000: 23541 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 23542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23543 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 23544 _flag_k = FK_CMP; 23545 L_250A9002: 23546 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 23547 L_250A9007: 23548 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 23549 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 23550 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 23551 L_250A9009: 23552 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 23553 L_250A900C: 23554 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 23555 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23556 edx = (uint32_t)((int32_t)edx >> 3u); 23557 L_250A900F: 23558 ecx = edx; /* 0x250A900F: mov ecx, edx */ 23559 L_250A9011: 23560 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 23561 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23562 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 23563 L_250A9014: 23564 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 23565 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23566 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 23567 _flag_k = FK_ADD; 23568 L_250A9016: 23569 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 23570 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23572 _flag_k = FK_CMP; 23573 L_250A9018: 23574 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 23575 L_250A901E: 23576 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 23577 L_250A9021: 23578 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 23579 L_250A9027: 23580 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 23581 L_250A902A: 23582 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 23583 L_250A902D: 23584 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 23585 eax = eax - 1; /* 0x250A902D: dec eax */ 23586 _flag_k = FK_DEC; 23587 L_250A902E: 23588 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 23589 L_250A9030: 23590 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 23591 eax = eax - 1; /* 0x250A9030: dec eax */ 23592 _flag_k = FK_DEC; 23593 L_250A9031: 23594 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 23595 L_250A9033: 23596 eax = 2; /* 0x250A9033: mov eax, 2 */ 23597 L_250A9038: 23598 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 23599 L_250A903A: 23600 eax = 1; /* 0x250A903A: mov eax, 1 */ 23601 L_250A903F: 23602 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 23603 L_250A9041: 23604 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23605 eax = 0; /* 0x250A9041: xor eax, eax */ 23606 _cf = 0; 23607 _flag_k = FK_TEST; 23608 L_250A9043: 23609 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 23610 L_250A9046: 23611 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23612 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 23613 _cf = 0; 23614 _flag_k = FK_TEST; 23615 L_250A9048: 23616 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 23617 edx = edx - 1; /* 0x250A9048: dec edx */ 23618 _flag_k = FK_DEC; 23619 L_250A9049: 23620 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 23621 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 23622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23623 _flag_k = FK_CMP; 23624 L_250A904C: 23625 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 23626 L_250A904E: 23627 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 23628 L_250A9055: 23629 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23630 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 23631 _cf = 0; 23632 _flag_k = FK_TEST; 23633 L_250A9057: 23634 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 23635 L_250A9059: 23636 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 23637 L_250A905E: 23638 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 23639 L_250A9060: 23640 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 23641 L_250A9065: 23642 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 23643 L_250A9068: 23644 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 23645 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23646 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 23647 _flag_k = FK_ADD; 23648 L_250A906A: 23649 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 23650 L_250A9071: 23651 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 23652 L_250A9076: 23653 eax = ecx; /* 0x250A9076: mov eax, ecx */ 23654 L_250A9078: 23655 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 23656 L_250A9079: 23657 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 23658 L_250A907B: 23659 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 23660 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 23661 _cf = 0; 23662 _flag_k = FK_TEST; 23663 L_250A907E: 23664 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 23665 L_250A9080: 23666 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23667 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23668 eax = eax + edx; /* 0x250A9080: add eax, edx */ 23669 _flag_k = FK_ADD; 23670 L_250A9082: 23671 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 23672 L_250A9084: 23673 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 23674 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23675 eax = (uint32_t)((int32_t)eax >> 2u); 23676 L_250A9087: 23677 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 23678 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23679 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 23680 L_250A908A: 23681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 23682 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 23683 _cf = 0; 23684 _flag_k = FK_TEST; 23685 L_250A9090: 23686 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 23687 L_250A9092: 23688 PUSH32(esp, eax); /* 0x250A9092: push eax */ 23689 L_250A9093: 23690 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 23691 L_250A9095: 23692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23693 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 23694 _flag_k = FK_DEC; 23695 L_250A9096: 23696 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 23697 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 23698 _cf = 0; 23699 _flag_k = FK_TEST; 23700 L_250A9099: 23701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23702 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 23703 _flag_k = FK_INC; 23704 L_250A909A: 23705 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 23706 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23707 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 23708 L_250A909D: 23709 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 23710 L_250A909E: 23711 PUSH32(esp, edi); /* 0x250A909E: push edi */ 23712 L_250A909F: 23713 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 23714 L_250A90A0: 23715 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 23716 L_250A90A2: 23717 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 23718 RECOMP_FLAGS_IN(); 23719 L_250A90A7: 23720 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 23721 L_250A90AA: 23722 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 23723 L_250A90AD: 23724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23725 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 23726 _flag_k = FK_INC; 23727 L_250A90AE: 23728 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 23729 L_250A90B1: 23730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 23731 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23732 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 23733 _flag_k = FK_ADD; 23734 L_250A90B4: 23735 RECOMP_BACKEDGE(); 23736 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 23737 L_250A90B9: 23738 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 23739 L_250A90BC: 23740 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 23741 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23742 _cf = 0; 23743 _flag_k = FK_NARROW(FK_TEST, 24); 23744 L_250A90BE: 23745 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 23746 L_250A90C4: 23747 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 23748 L_250A90C7: 23749 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 23750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 23751 _cf = 0; 23752 _flag_k = FK_TEST; 23753 L_250A90C9: 23754 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 23755 L_250A90CF: 23756 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 23757 L_250A90D2: 23758 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 23759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 23760 _cf = 0; 23761 _flag_k = FK_TEST; 23762 L_250A90D4: 23763 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 23764 L_250A90D6: 23765 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 23766 L_250A90D9: 23767 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 23768 L_250A90DB: 23769 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 23770 L_250A90DD: 23771 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 23772 L_250A90DE: 23773 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 23774 L_250A90E0: 23775 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 23776 L_250A90E2: 23777 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 23778 L_250A90E4: 23779 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 23780 L_250A90E6: 23781 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 23782 L_250A90E9: 23783 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 23784 RECOMP_FLAGS_IN(); 23785 L_250A90EE: 23786 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 23787 L_250A90F0: 23788 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 23789 RECOMP_FLAGS_IN(); 23790 L_250A90F5: 23791 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23792 edi = 0; /* 0x250A90F5: xor edi, edi */ 23793 _cf = 0; 23794 _flag_k = FK_TEST; 23795 L_250A90F7: 23796 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 23797 L_250A90FA: 23798 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 23799 L_250A9100: 23800 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 23801 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 23802 _cf = 0; 23803 _flag_k = FK_TEST; 23804 L_250A9102: 23805 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 23806 L_250A9104: 23807 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 23808 L_250A910A: 23809 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 23810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23811 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 23812 _flag_k = FK_CMP; 23813 L_250A910C: 23814 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 23815 L_250A9111: 23816 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 23817 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 23818 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 23819 L_250A9113: 23820 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 23821 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23822 edx = (uint32_t)((int32_t)edx >> 3u); 23823 L_250A9116: 23824 eax = edx; /* 0x250A9116: mov eax, edx */ 23825 L_250A9118: 23826 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 23827 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23828 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 23829 L_250A911B: 23830 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 23831 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23832 edx = edx + eax; /* 0x250A911B: add edx, eax */ 23833 _flag_k = FK_ADD; 23834 L_250A911D: 23835 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 23836 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 23837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23838 _flag_k = FK_CMP; 23839 L_250A911F: 23840 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 23841 L_250A9121: 23842 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 23843 L_250A9127: 23844 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 23845 L_250A912A: 23846 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 23847 L_250A912D: 23848 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 23849 L_250A9130: 23850 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 23851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 23852 _cf = 0; 23853 _flag_k = FK_TEST; 23854 L_250A9132: 23855 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 23856 L_250A9134: 23857 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 23858 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 23859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23860 _flag_k = FK_CMP; 23861 L_250A9137: 23862 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 23863 L_250A913C: 23864 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 23865 L_250A913E: 23866 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 23867 L_250A9143: 23868 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 23869 L_250A9144: 23870 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 23871 L_250A9149: 23872 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 23873 L_250A914E: 23874 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 23875 L_250A9150: 23876 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 23877 L_250A9152: 23878 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 23879 L_250A9154: 23880 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 23881 L_250A9156: 23882 PUSH32(esp, eax); /* 0x250A9156: push eax */ 23883 L_250A9157: 23884 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 23885 L_250A9158: 23886 ecx = esi; /* 0x250A9158: mov ecx, esi */ 23887 L_250A915A: 23888 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 23889 RECOMP_FLAGS_IN(); 23890 L_250A915F: 23891 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 23892 L_250A9162: 23893 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 23894 edi = edi + 1; /* 0x250A9162: inc edi */ 23895 _flag_k = FK_INC; 23896 L_250A9163: 23897 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 23898 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23899 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 23900 _flag_k = FK_ADD; 23901 L_250A9166: 23902 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 23903 L_250A9169: 23904 RECOMP_BACKEDGE(); 23905 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 23906 L_250A916B: 23907 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 23908 L_250A916E: 23909 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 23910 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23911 _cf = 0; 23912 _flag_k = FK_NARROW(FK_TEST, 24); 23913 L_250A9170: 23914 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 23915 L_250A9172: 23916 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 23917 L_250A9178: 23918 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 23919 L_250A917D: 23920 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 23921 L_250A9183: 23922 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 23923 L_250A9188: 23924 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 23925 L_250A918E: 23926 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 23927 L_250A9190: 23928 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 23929 L_250A9192: 23930 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 23931 L_250A9195: 23932 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 23933 L_250A9197: 23934 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 23935 L_250A919A: 23936 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 23937 L_250A919D: 23938 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 23939 L_250A91A2: 23940 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 23941 L_250A91A4: 23942 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 23943 L_250A91A6: 23944 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 23945 L_250A91A8: 23946 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 23947 L_250A91AB: 23948 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 23949 L_250A91AD: 23950 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 23951 L_250A91B0: 23952 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 23953 L_250A91B1: 23954 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 23955 L_250A91B2: 23956 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 23957 L_250A91B4: 23958 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 23959 L_250A91B7: 23960 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 23961 L_250A91BA: 23962 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 23963 L_250A91BC: 23964 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 23965 L_250A91BF: 23966 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 23967 L_250A91C5: 23968 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 23969 L_250A91C8: 23970 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 23971 L_250A91CB: 23972 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 23973 L_250A91D1: 23974 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 23975 L_250A91D4: 23976 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 23977 L_250A91D7: 23978 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 23979 RECOMP_FLAGS_IN(); 23980 L_250A91DC: 23981 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 23982 L_250A91E2: 23983 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 23984 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23985 _cf = 0; 23986 _flag_k = FK_NARROW(FK_TEST, 24); 23987 L_250A91E4: 23988 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 23989 L_250A91EA: 23990 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 23991 L_250A91F0: 23992 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 23993 L_250A91F6: 23994 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 23995 L_250A91FC: 23996 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 23997 L_250A91FE: 23998 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 23999 L_250A9200: 24000 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 24001 L_250A9202: 24002 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 24003 L_250A9209: 24004 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 24005 L_250A920C: 24006 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 24007 L_250A920F: 24008 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 24009 RECOMP_FLAGS_IN(); 24010 L_250A9214: 24011 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 24012 L_250A9217: 24013 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 24014 L_250A921C: 24015 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 24016 L_250A9222: 24017 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 24018 L_250A9228: 24019 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 24020 L_250A922A: 24021 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 24022 L_250A922C: 24023 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24024 edi = 0; /* 0x250A922C: xor edi, edi */ 24025 _cf = 0; 24026 _flag_k = FK_TEST; 24027 L_250A922E: 24028 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 24029 L_250A9230: 24030 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 24031 L_250A9233: 24032 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 24033 L_250A923A: 24034 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 24035 L_250A923D: 24036 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 24037 L_250A9240: 24038 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 24039 RECOMP_FLAGS_IN(); 24040 L_250A9245: 24041 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 24042 L_250A9248: 24043 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 24044 L_250A924E: 24045 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 24046 L_250A9254: 24047 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 24048 L_250A925A: 24049 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 24050 L_250A925C: 24051 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 24052 L_250A925E: 24053 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 24054 L_250A9260: 24055 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 24056 L_250A9264: 24057 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 24058 L_250A926B: 24059 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 24060 L_250A9271: 24061 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 24062 L_250A9274: 24063 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 24064 RECOMP_FLAGS_IN(); 24065 L_250A9279: 24066 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 24067 L_250A927C: 24068 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 24069 L_250A9282: 24070 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 24071 L_250A9288: 24072 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 24073 L_250A928E: 24074 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 24075 L_250A9290: 24076 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 24077 L_250A9292: 24078 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 24079 L_250A9294: 24080 PUSH32(esp, edi); /* 0x250A9294: push edi */ 24081 L_250A9295: 24082 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 24083 L_250A9299: 24084 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 24085 L_250A929F: 24086 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 24087 L_250A92A9: 24088 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 24089 L_250A92AC: 24090 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 24091 L_250A92B2: 24092 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 24093 RECOMP_FLAGS_IN(); 24094 L_250A92B7: 24095 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 24096 L_250A92BD: 24097 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 24098 L_250A92C2: 24099 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 24100 L_250A92C8: 24101 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 24102 L_250A92CE: 24103 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 24104 L_250A92D0: 24105 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 24106 L_250A92D1: 24107 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 24108 L_250A92D3: 24109 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 24110 L_250A92D4: 24111 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 24112 L_250A92D8: 24113 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 24114 L_250A92DE: 24115 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 24116 L_250A92E8: 24117 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 24118 L_250A92EB: 24119 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 24120 L_250A92F1: 24121 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 24122 RECOMP_FLAGS_IN(); 24123 L_250A92F6: 24124 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 24125 L_250A92FC: 24126 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 24127 L_250A92FF: 24128 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 24129 L_250A9301: 24130 PUSH32(esp, edi); /* 0x250A9301: push edi */ 24131 L_250A9302: 24132 PUSH32(esp, edi); /* 0x250A9302: push edi */ 24133 L_250A9303: 24134 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 24135 L_250A9307: 24136 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 24137 RECOMP_FLAGS_IN(); 24138 L_250A930C: 24139 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 24140 L_250A930E: 24141 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 24142 RECOMP_FLAGS_IN(); 24143 L_250A9313: 24144 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 24145 L_250A9316: 24146 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 24147 L_250A9319: 24148 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 24149 L_250A931B: 24150 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 24151 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 24152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24153 _flag_k = FK_CMP; 24154 L_250A931D: 24155 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 24156 L_250A9323: 24157 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 24158 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 24159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24160 _flag_k = FK_CMP; 24161 L_250A9327: 24162 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 24163 L_250A932D: 24164 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 24165 L_250A9330: 24166 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 24167 L_250A9333: 24168 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 24169 L_250A9336: 24170 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 24171 L_250A9339: 24172 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 24173 L_250A933B: 24174 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 24175 L_250A933E: 24176 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 24177 L_250A9341: 24178 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 24179 L_250A9344: 24180 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 24181 L_250A9347: 24182 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 24183 L_250A934A: 24184 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 24185 L_250A934B: 24186 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 24187 L_250A934E: 24188 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 24189 L_250A9355: 24190 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 24191 L_250A935C: 24192 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 24193 L_250A9363: 24194 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 24195 L_250A9366: 24196 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 24197 L_250A9369: 24198 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 24199 RECOMP_FLAGS_IN(); 24200 L_250A936F: 24201 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 24202 L_250A9371: 24203 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 24204 L_250A9374: 24205 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 24206 L_250A9377: 24207 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 24208 L_250A937A: 24209 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 24210 L_250A937D: 24211 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 24212 L_250A9380: 24213 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 24214 L_250A9382: 24215 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 24216 L_250A9388: 24217 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 24218 L_250A938B: 24219 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 24220 L_250A938E: 24221 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 24222 L_250A9391: 24223 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 24224 L_250A9394: 24225 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 24226 L_250A9395: 24227 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 24228 L_250A939B: 24229 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 24230 L_250A93A1: 24231 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 24232 L_250A93A7: 24233 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 24234 RECOMP_FLAGS_IN(); 24235 L_250A93AD: 24236 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 24237 L_250A93B0: 24238 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 24239 L_250A93B2: 24240 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 24241 L_250A93B4: 24242 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 24243 L_250A93B7: 24244 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 24245 L_250A93BA: 24246 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 24247 L_250A93BD: 24248 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 24249 L_250A93BF: 24250 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 24251 L_250A93C2: 24252 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 24253 L_250A93C5: 24254 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 24255 L_250A93CA: 24256 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 24257 L_250A93CD: 24258 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 24259 L_250A93D0: 24260 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 24261 L_250A93D3: 24262 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 24263 L_250A93D6: 24264 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 24265 L_250A93D8: 24266 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 24267 L_250A93DB: 24268 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 24269 L_250A93DE: 24270 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 24271 L_250A93E0: 24272 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 24273 L_250A93E3: 24274 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 24275 L_250A93E5: 24276 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 24277 RECOMP_FLAGS_IN(); 24278 L_250A93EB: 24279 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 24280 L_250A93EE: 24281 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 24282 L_250A93EF: 24283 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 24284 L_250A93F2: 24285 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 24286 RECOMP_FLAGS_IN(); 24287 L_250A93F8: 24288 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 24289 L_250A93FB: 24290 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 24291 L_250A93FC: 24292 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 24293 L_250A93FF: 24294 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 24295 RECOMP_FLAGS_IN(); 24296 L_250A9405: 24297 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 24298 L_250A9408: 24299 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 24300 L_250A940A: 24301 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 24302 L_250A940D: 24303 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 24304 L_250A9410: 24305 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 24306 L_250A9413: 24307 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 24308 L_250A9415: 24309 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 24310 L_250A9418: 24311 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 24312 L_250A941A: 24313 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 24314 L_250A9420: 24315 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 24316 L_250A9421: 24317 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 24318 L_250A942B: 24319 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 24320 L_250A9431: 24321 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 24322 L_250A9437: 24323 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 24324 L_250A943D: 24325 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 24326 L_250A9440: 24327 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 24328 L_250A9443: 24329 PUSH32(esp, edx); /* 0x250A9443: push edx */ 24330 L_250A9444: 24331 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 24332 L_250A9447: 24333 PUSH32(esp, eax); /* 0x250A9447: push eax */ 24334 L_250A9448: 24335 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 24336 L_250A944D: 24337 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 24338 L_250A9453: 24339 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 24340 L_250A9454: 24341 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 24342 L_250A9455: 24343 ecx = esi; /* 0x250A9455: mov ecx, esi */ 24344 L_250A9457: 24345 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 24346 RECOMP_FLAGS_IN(); 24347 L_250A945C: 24348 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 24349 L_250A945F: 24350 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 24351 L_250A9461: 24352 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 24353 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24355 _flag_k = FK_CMP; 24356 L_250A9464: 24357 RECOMP_BACKEDGE(); 24358 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 24359 L_250A946A: 24360 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 24361 L_250A9470: 24362 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 24363 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24364 _cf = 0; 24365 _flag_k = FK_NARROW(FK_TEST, 24); 24366 L_250A9472: 24367 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 24368 L_250A9476: 24369 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 24370 L_250A9478: 24371 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 24372 L_250A947B: 24373 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 24374 L_250A9480: 24375 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 24376 L_250A9486: 24377 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 24378 L_250A9488: 24379 PUSH32(esp, edx); /* 0x250A9488: push edx */ 24380 L_250A9489: 24381 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 24382 L_250A948B: 24383 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 24384 L_250A948D: 24385 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 24386 RECOMP_FLAGS_IN(); 24387 L_250A9492: 24388 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 24389 L_250A9498: 24390 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 24391 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24392 _cf = 0; 24393 _flag_k = FK_NARROW(FK_TEST, 24); 24394 L_250A949A: 24395 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 24396 L_250A949E: 24397 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 24398 L_250A94A0: 24399 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 24400 L_250A94A3: 24401 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 24402 L_250A94A8: 24403 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 24404 L_250A94AE: 24405 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 24406 L_250A94B0: 24407 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 24408 L_250A94B1: 24409 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 24410 L_250A94B3: 24411 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 24412 L_250A94B5: 24413 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 24414 RECOMP_FLAGS_IN(); 24415 L_250A94BA: 24416 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 24417 L_250A94BD: 24418 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 24419 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24420 _cf = 0; 24421 _flag_k = FK_NARROW(FK_TEST, 24); 24422 L_250A94BF: 24423 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 24424 L_250A94C3: 24425 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 24426 L_250A94C5: 24427 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 24428 L_250A94CB: 24429 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 24430 L_250A94D0: 24431 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 24432 L_250A94D6: 24433 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 24434 L_250A94D8: 24435 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 24436 L_250A94D9: 24437 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 24438 L_250A94DB: 24439 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 24440 RECOMP_FLAGS_IN(); 24441 L_250A94E0: 24442 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 24443 L_250A94E3: 24444 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 24445 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24446 _cf = 0; 24447 _flag_k = FK_NARROW(FK_TEST, 24); 24448 L_250A94E5: 24449 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 24450 L_250A94E9: 24451 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 24452 L_250A94EB: 24453 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 24454 L_250A94EE: 24455 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 24456 L_250A94F3: 24457 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 24458 L_250A94F9: 24459 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 24460 L_250A94FB: 24461 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 24462 L_250A94FC: 24463 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 24464 L_250A94FE: 24465 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 24466 RECOMP_FLAGS_IN(); 24467 L_250A9503: 24468 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 24469 L_250A9506: 24470 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 24471 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24472 _cf = 0; 24473 _flag_k = FK_NARROW(FK_TEST, 24); 24474 L_250A9508: 24475 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 24476 L_250A950F: 24477 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 24478 L_250A9511: 24479 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 24480 L_250A9514: 24481 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 24482 L_250A951A: 24483 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 24484 L_250A9520: 24485 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 24486 L_250A9522: 24487 PUSH32(esp, eax); /* 0x250A9522: push eax */ 24488 L_250A9523: 24489 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 24490 L_250A9525: 24491 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 24492 RECOMP_FLAGS_IN(); 24493 L_250A952A: 24494 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 24495 L_250A952D: 24496 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 24497 L_250A952E: 24498 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 24499 L_250A952F: 24500 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 24501 L_250A9530: 24502 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 24503 L_250A9537: 24504 esp = ebp; /* 0x250A9537: mov esp, ebp */ 24505 L_250A9539: 24506 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 24507 L_250A953A: 24508 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 24509 _ljump: 24510 switch (_itail_tgt) { 24511 case 0x250A8FE9u: goto L_250A8FE9; 24512 case 0x250A8FECu: goto L_250A8FEC; 24513 case 0x250A8FF2u: goto L_250A8FF2; 24514 case 0x250A8FF4u: goto L_250A8FF4; 24515 case 0x250A8FFAu: goto L_250A8FFA; 24516 case 0x250A9000u: goto L_250A9000; 24517 case 0x250A9002u: goto L_250A9002; 24518 case 0x250A9007u: goto L_250A9007; 24519 case 0x250A9009u: goto L_250A9009; 24520 case 0x250A900Cu: goto L_250A900C; 24521 case 0x250A900Fu: goto L_250A900F; 24522 case 0x250A9011u: goto L_250A9011; 24523 case 0x250A9014u: goto L_250A9014; 24524 case 0x250A9016u: goto L_250A9016; 24525 case 0x250A9018u: goto L_250A9018; 24526 case 0x250A901Eu: goto L_250A901E; 24527 case 0x250A9021u: goto L_250A9021; 24528 case 0x250A9027u: goto L_250A9027; 24529 case 0x250A902Au: goto L_250A902A; 24530 case 0x250A902Du: goto L_250A902D; 24531 case 0x250A902Eu: goto L_250A902E; 24532 case 0x250A9030u: goto L_250A9030; 24533 case 0x250A9031u: goto L_250A9031; 24534 case 0x250A9033u: goto L_250A9033; 24535 case 0x250A9038u: goto L_250A9038; 24536 case 0x250A903Au: goto L_250A903A; 24537 case 0x250A903Fu: goto L_250A903F; 24538 case 0x250A9041u: goto L_250A9041; 24539 case 0x250A9043u: goto L_250A9043; 24540 case 0x250A9046u: goto L_250A9046; 24541 case 0x250A9048u: goto L_250A9048; 24542 case 0x250A9049u: goto L_250A9049; 24543 case 0x250A904Cu: goto L_250A904C; 24544 case 0x250A904Eu: goto L_250A904E; 24545 case 0x250A9055u: goto L_250A9055; 24546 case 0x250A9057u: goto L_250A9057; 24547 case 0x250A9059u: goto L_250A9059; 24548 case 0x250A905Eu: goto L_250A905E; 24549 case 0x250A9060u: goto L_250A9060; 24550 case 0x250A9065u: goto L_250A9065; 24551 case 0x250A9068u: goto L_250A9068; 24552 case 0x250A906Au: goto L_250A906A; 24553 case 0x250A9071u: goto L_250A9071; 24554 case 0x250A9076u: goto L_250A9076; 24555 case 0x250A9078u: goto L_250A9078; 24556 case 0x250A9079u: goto L_250A9079; 24557 case 0x250A907Bu: goto L_250A907B; 24558 case 0x250A907Eu: goto L_250A907E; 24559 case 0x250A9080u: goto L_250A9080; 24560 case 0x250A9082u: goto L_250A9082; 24561 case 0x250A9084u: goto L_250A9084; 24562 case 0x250A9087u: goto L_250A9087; 24563 case 0x250A908Au: goto L_250A908A; 24564 case 0x250A9090u: goto L_250A9090; 24565 case 0x250A9092u: goto L_250A9092; 24566 case 0x250A9093u: goto L_250A9093; 24567 case 0x250A9095u: goto L_250A9095; 24568 case 0x250A9096u: goto L_250A9096; 24569 case 0x250A9099u: goto L_250A9099; 24570 case 0x250A909Au: goto L_250A909A; 24571 case 0x250A909Du: goto L_250A909D; 24572 case 0x250A909Eu: goto L_250A909E; 24573 case 0x250A909Fu: goto L_250A909F; 24574 case 0x250A90A0u: goto L_250A90A0; 24575 case 0x250A90A2u: goto L_250A90A2; 24576 case 0x250A90A7u: goto L_250A90A7; 24577 case 0x250A90AAu: goto L_250A90AA; 24578 case 0x250A90ADu: goto L_250A90AD; 24579 case 0x250A90AEu: goto L_250A90AE; 24580 case 0x250A90B1u: goto L_250A90B1; 24581 case 0x250A90B4u: goto L_250A90B4; 24582 case 0x250A90B9u: goto L_250A90B9; 24583 case 0x250A90BCu: goto L_250A90BC; 24584 case 0x250A90BEu: goto L_250A90BE; 24585 case 0x250A90C4u: goto L_250A90C4; 24586 case 0x250A90C7u: goto L_250A90C7; 24587 case 0x250A90C9u: goto L_250A90C9; 24588 case 0x250A90CFu: goto L_250A90CF; 24589 case 0x250A90D2u: goto L_250A90D2; 24590 case 0x250A90D4u: goto L_250A90D4; 24591 case 0x250A90D6u: goto L_250A90D6; 24592 case 0x250A90D9u: goto L_250A90D9; 24593 case 0x250A90DBu: goto L_250A90DB; 24594 case 0x250A90DDu: goto L_250A90DD; 24595 case 0x250A90DEu: goto L_250A90DE; 24596 case 0x250A90E0u: goto L_250A90E0; 24597 case 0x250A90E2u: goto L_250A90E2; 24598 case 0x250A90E4u: goto L_250A90E4; 24599 case 0x250A90E6u: goto L_250A90E6; 24600 case 0x250A90E9u: goto L_250A90E9; 24601 case 0x250A90EEu: goto L_250A90EE; 24602 case 0x250A90F0u: goto L_250A90F0; 24603 case 0x250A90F5u: goto L_250A90F5; 24604 case 0x250A90F7u: goto L_250A90F7; 24605 case 0x250A90FAu: goto L_250A90FA; 24606 case 0x250A9100u: goto L_250A9100; 24607 case 0x250A9102u: goto L_250A9102; 24608 case 0x250A9104u: goto L_250A9104; 24609 case 0x250A910Au: goto L_250A910A; 24610 case 0x250A910Cu: goto L_250A910C; 24611 case 0x250A9111u: goto L_250A9111; 24612 case 0x250A9113u: goto L_250A9113; 24613 case 0x250A9116u: goto L_250A9116; 24614 case 0x250A9118u: goto L_250A9118; 24615 case 0x250A911Bu: goto L_250A911B; 24616 case 0x250A911Du: goto L_250A911D; 24617 case 0x250A911Fu: goto L_250A911F; 24618 case 0x250A9121u: goto L_250A9121; 24619 case 0x250A9127u: goto L_250A9127; 24620 case 0x250A912Au: goto L_250A912A; 24621 case 0x250A912Du: goto L_250A912D; 24622 case 0x250A9130u: goto L_250A9130; 24623 case 0x250A9132u: goto L_250A9132; 24624 case 0x250A9134u: goto L_250A9134; 24625 case 0x250A9137u: goto L_250A9137; 24626 case 0x250A913Cu: goto L_250A913C; 24627 case 0x250A913Eu: goto L_250A913E; 24628 case 0x250A9143u: goto L_250A9143; 24629 case 0x250A9144u: goto L_250A9144; 24630 case 0x250A9149u: goto L_250A9149; 24631 case 0x250A914Eu: goto L_250A914E; 24632 case 0x250A9150u: goto L_250A9150; 24633 case 0x250A9152u: goto L_250A9152; 24634 case 0x250A9154u: goto L_250A9154; 24635 case 0x250A9156u: goto L_250A9156; 24636 case 0x250A9157u: goto L_250A9157; 24637 case 0x250A9158u: goto L_250A9158; 24638 case 0x250A915Au: goto L_250A915A; 24639 case 0x250A915Fu: goto L_250A915F; 24640 case 0x250A9162u: goto L_250A9162; 24641 case 0x250A9163u: goto L_250A9163; 24642 case 0x250A9166u: goto L_250A9166; 24643 case 0x250A9169u: goto L_250A9169; 24644 case 0x250A916Bu: goto L_250A916B; 24645 case 0x250A916Eu: goto L_250A916E; 24646 case 0x250A9170u: goto L_250A9170; 24647 case 0x250A9172u: goto L_250A9172; 24648 case 0x250A9178u: goto L_250A9178; 24649 case 0x250A917Du: goto L_250A917D; 24650 case 0x250A9183u: goto L_250A9183; 24651 case 0x250A9188u: goto L_250A9188; 24652 case 0x250A918Eu: goto L_250A918E; 24653 case 0x250A9190u: goto L_250A9190; 24654 case 0x250A9192u: goto L_250A9192; 24655 case 0x250A9195u: goto L_250A9195; 24656 case 0x250A9197u: goto L_250A9197; 24657 case 0x250A919Au: goto L_250A919A; 24658 case 0x250A919Du: goto L_250A919D; 24659 case 0x250A91A2u: goto L_250A91A2; 24660 case 0x250A91A4u: goto L_250A91A4; 24661 case 0x250A91A6u: goto L_250A91A6; 24662 case 0x250A91A8u: goto L_250A91A8; 24663 case 0x250A91ABu: goto L_250A91AB; 24664 case 0x250A91ADu: goto L_250A91AD; 24665 case 0x250A91B0u: goto L_250A91B0; 24666 case 0x250A91B1u: goto L_250A91B1; 24667 case 0x250A91B2u: goto L_250A91B2; 24668 case 0x250A91B4u: goto L_250A91B4; 24669 case 0x250A91B7u: goto L_250A91B7; 24670 case 0x250A91BAu: goto L_250A91BA; 24671 case 0x250A91BCu: goto L_250A91BC; 24672 case 0x250A91BFu: goto L_250A91BF; 24673 case 0x250A91C5u: goto L_250A91C5; 24674 case 0x250A91C8u: goto L_250A91C8; 24675 case 0x250A91CBu: goto L_250A91CB; 24676 case 0x250A91D1u: goto L_250A91D1; 24677 case 0x250A91D4u: goto L_250A91D4; 24678 case 0x250A91D7u: goto L_250A91D7; 24679 case 0x250A91DCu: goto L_250A91DC; 24680 case 0x250A91E2u: goto L_250A91E2; 24681 case 0x250A91E4u: goto L_250A91E4; 24682 case 0x250A91EAu: goto L_250A91EA; 24683 case 0x250A91F0u: goto L_250A91F0; 24684 case 0x250A91F6u: goto L_250A91F6; 24685 case 0x250A91FCu: goto L_250A91FC; 24686 case 0x250A91FEu: goto L_250A91FE; 24687 case 0x250A9200u: goto L_250A9200; 24688 case 0x250A9202u: goto L_250A9202; 24689 case 0x250A9209u: goto L_250A9209; 24690 case 0x250A920Cu: goto L_250A920C; 24691 case 0x250A920Fu: goto L_250A920F; 24692 case 0x250A9214u: goto L_250A9214; 24693 case 0x250A9217u: goto L_250A9217; 24694 case 0x250A921Cu: goto L_250A921C; 24695 case 0x250A9222u: goto L_250A9222; 24696 case 0x250A9228u: goto L_250A9228; 24697 case 0x250A922Au: goto L_250A922A; 24698 case 0x250A922Cu: goto L_250A922C; 24699 case 0x250A922Eu: goto L_250A922E; 24700 case 0x250A9230u: goto L_250A9230; 24701 case 0x250A9233u: goto L_250A9233; 24702 case 0x250A923Au: goto L_250A923A; 24703 case 0x250A923Du: goto L_250A923D; 24704 case 0x250A9240u: goto L_250A9240; 24705 case 0x250A9245u: goto L_250A9245; 24706 case 0x250A9248u: goto L_250A9248; 24707 case 0x250A924Eu: goto L_250A924E; 24708 case 0x250A9254u: goto L_250A9254; 24709 case 0x250A925Au: goto L_250A925A; 24710 case 0x250A925Cu: goto L_250A925C; 24711 case 0x250A925Eu: goto L_250A925E; 24712 case 0x250A9260u: goto L_250A9260; 24713 case 0x250A9264u: goto L_250A9264; 24714 case 0x250A926Bu: goto L_250A926B; 24715 case 0x250A9271u: goto L_250A9271; 24716 case 0x250A9274u: goto L_250A9274; 24717 case 0x250A9279u: goto L_250A9279; 24718 case 0x250A927Cu: goto L_250A927C; 24719 case 0x250A9282u: goto L_250A9282; 24720 case 0x250A9288u: goto L_250A9288; 24721 case 0x250A928Eu: goto L_250A928E; 24722 case 0x250A9290u: goto L_250A9290; 24723 case 0x250A9292u: goto L_250A9292; 24724 case 0x250A9294u: goto L_250A9294; 24725 case 0x250A9295u: goto L_250A9295; 24726 case 0x250A9299u: goto L_250A9299; 24727 case 0x250A929Fu: goto L_250A929F; 24728 case 0x250A92A9u: goto L_250A92A9; 24729 case 0x250A92ACu: goto L_250A92AC; 24730 case 0x250A92B2u: goto L_250A92B2; 24731 case 0x250A92B7u: goto L_250A92B7; 24732 case 0x250A92BDu: goto L_250A92BD; 24733 case 0x250A92C2u: goto L_250A92C2; 24734 case 0x250A92C8u: goto L_250A92C8; 24735 case 0x250A92CEu: goto L_250A92CE; 24736 case 0x250A92D0u: goto L_250A92D0; 24737 case 0x250A92D1u: goto L_250A92D1; 24738 case 0x250A92D3u: goto L_250A92D3; 24739 case 0x250A92D4u: goto L_250A92D4; 24740 case 0x250A92D8u: goto L_250A92D8; 24741 case 0x250A92DEu: goto L_250A92DE; 24742 case 0x250A92E8u: goto L_250A92E8; 24743 case 0x250A92EBu: goto L_250A92EB; 24744 case 0x250A92F1u: goto L_250A92F1; 24745 case 0x250A92F6u: goto L_250A92F6; 24746 case 0x250A92FCu: goto L_250A92FC; 24747 case 0x250A92FFu: goto L_250A92FF; 24748 case 0x250A9301u: goto L_250A9301; 24749 case 0x250A9302u: goto L_250A9302; 24750 case 0x250A9303u: goto L_250A9303; 24751 case 0x250A9307u: goto L_250A9307; 24752 case 0x250A930Cu: goto L_250A930C; 24753 case 0x250A930Eu: goto L_250A930E; 24754 case 0x250A9313u: goto L_250A9313; 24755 case 0x250A9316u: goto L_250A9316; 24756 case 0x250A9319u: goto L_250A9319; 24757 case 0x250A931Bu: goto L_250A931B; 24758 case 0x250A931Du: goto L_250A931D; 24759 case 0x250A9323u: goto L_250A9323; 24760 case 0x250A9327u: goto L_250A9327; 24761 case 0x250A932Du: goto L_250A932D; 24762 case 0x250A9330u: goto L_250A9330; 24763 case 0x250A9333u: goto L_250A9333; 24764 case 0x250A9336u: goto L_250A9336; 24765 case 0x250A9339u: goto L_250A9339; 24766 case 0x250A933Bu: goto L_250A933B; 24767 case 0x250A933Eu: goto L_250A933E; 24768 case 0x250A9341u: goto L_250A9341; 24769 case 0x250A9344u: goto L_250A9344; 24770 case 0x250A9347u: goto L_250A9347; 24771 case 0x250A934Au: goto L_250A934A; 24772 case 0x250A934Bu: goto L_250A934B; 24773 case 0x250A934Eu: goto L_250A934E; 24774 case 0x250A9355u: goto L_250A9355; 24775 case 0x250A935Cu: goto L_250A935C; 24776 case 0x250A9363u: goto L_250A9363; 24777 case 0x250A9366u: goto L_250A9366; 24778 case 0x250A9369u: goto L_250A9369; 24779 case 0x250A936Fu: goto L_250A936F; 24780 case 0x250A9371u: goto L_250A9371; 24781 case 0x250A9374u: goto L_250A9374; 24782 case 0x250A9377u: goto L_250A9377; 24783 case 0x250A937Au: goto L_250A937A; 24784 case 0x250A937Du: goto L_250A937D; 24785 case 0x250A9380u: goto L_250A9380; 24786 case 0x250A9382u: goto L_250A9382; 24787 case 0x250A9388u: goto L_250A9388; 24788 case 0x250A938Bu: goto L_250A938B; 24789 case 0x250A938Eu: goto L_250A938E; 24790 case 0x250A9391u: goto L_250A9391; 24791 case 0x250A9394u: goto L_250A9394; 24792 case 0x250A9395u: goto L_250A9395; 24793 case 0x250A939Bu: goto L_250A939B; 24794 case 0x250A93A1u: goto L_250A93A1; 24795 case 0x250A93A7u: goto L_250A93A7; 24796 case 0x250A93ADu: goto L_250A93AD; 24797 case 0x250A93B0u: goto L_250A93B0; 24798 case 0x250A93B2u: goto L_250A93B2; 24799 case 0x250A93B4u: goto L_250A93B4; 24800 case 0x250A93B7u: goto L_250A93B7; 24801 case 0x250A93BAu: goto L_250A93BA; 24802 case 0x250A93BDu: goto L_250A93BD; 24803 case 0x250A93BFu: goto L_250A93BF; 24804 case 0x250A93C2u: goto L_250A93C2; 24805 case 0x250A93C5u: goto L_250A93C5; 24806 case 0x250A93CAu: goto L_250A93CA; 24807 case 0x250A93CDu: goto L_250A93CD; 24808 case 0x250A93D0u: goto L_250A93D0; 24809 case 0x250A93D3u: goto L_250A93D3; 24810 case 0x250A93D6u: goto L_250A93D6; 24811 case 0x250A93D8u: goto L_250A93D8; 24812 case 0x250A93DBu: goto L_250A93DB; 24813 case 0x250A93DEu: goto L_250A93DE; 24814 case 0x250A93E0u: goto L_250A93E0; 24815 case 0x250A93E3u: goto L_250A93E3; 24816 case 0x250A93E5u: goto L_250A93E5; 24817 case 0x250A93EBu: goto L_250A93EB; 24818 case 0x250A93EEu: goto L_250A93EE; 24819 case 0x250A93EFu: goto L_250A93EF; 24820 case 0x250A93F2u: goto L_250A93F2; 24821 case 0x250A93F8u: goto L_250A93F8; 24822 case 0x250A93FBu: goto L_250A93FB; 24823 case 0x250A93FCu: goto L_250A93FC; 24824 case 0x250A93FFu: goto L_250A93FF; 24825 case 0x250A9405u: goto L_250A9405; 24826 case 0x250A9408u: goto L_250A9408; 24827 case 0x250A940Au: goto L_250A940A; 24828 case 0x250A940Du: goto L_250A940D; 24829 case 0x250A9410u: goto L_250A9410; 24830 case 0x250A9413u: goto L_250A9413; 24831 case 0x250A9415u: goto L_250A9415; 24832 case 0x250A9418u: goto L_250A9418; 24833 case 0x250A941Au: goto L_250A941A; 24834 case 0x250A9420u: goto L_250A9420; 24835 case 0x250A9421u: goto L_250A9421; 24836 case 0x250A942Bu: goto L_250A942B; 24837 case 0x250A9431u: goto L_250A9431; 24838 case 0x250A9437u: goto L_250A9437; 24839 case 0x250A943Du: goto L_250A943D; 24840 case 0x250A9440u: goto L_250A9440; 24841 case 0x250A9443u: goto L_250A9443; 24842 case 0x250A9444u: goto L_250A9444; 24843 case 0x250A9447u: goto L_250A9447; 24844 case 0x250A9448u: goto L_250A9448; 24845 case 0x250A944Du: goto L_250A944D; 24846 case 0x250A9453u: goto L_250A9453; 24847 case 0x250A9454u: goto L_250A9454; 24848 case 0x250A9455u: goto L_250A9455; 24849 case 0x250A9457u: goto L_250A9457; 24850 case 0x250A945Cu: goto L_250A945C; 24851 case 0x250A945Fu: goto L_250A945F; 24852 case 0x250A9461u: goto L_250A9461; 24853 case 0x250A9464u: goto L_250A9464; 24854 case 0x250A946Au: goto L_250A946A; 24855 case 0x250A9470u: goto L_250A9470; 24856 case 0x250A9472u: goto L_250A9472; 24857 case 0x250A9476u: goto L_250A9476; 24858 case 0x250A9478u: goto L_250A9478; 24859 case 0x250A947Bu: goto L_250A947B; 24860 case 0x250A9480u: goto L_250A9480; 24861 case 0x250A9486u: goto L_250A9486; 24862 case 0x250A9488u: goto L_250A9488; 24863 case 0x250A9489u: goto L_250A9489; 24864 case 0x250A948Bu: goto L_250A948B; 24865 case 0x250A948Du: goto L_250A948D; 24866 case 0x250A9492u: goto L_250A9492; 24867 case 0x250A9498u: goto L_250A9498; 24868 case 0x250A949Au: goto L_250A949A; 24869 case 0x250A949Eu: goto L_250A949E; 24870 case 0x250A94A0u: goto L_250A94A0; 24871 case 0x250A94A3u: goto L_250A94A3; 24872 case 0x250A94A8u: goto L_250A94A8; 24873 case 0x250A94AEu: goto L_250A94AE; 24874 case 0x250A94B0u: goto L_250A94B0; 24875 case 0x250A94B1u: goto L_250A94B1; 24876 case 0x250A94B3u: goto L_250A94B3; 24877 case 0x250A94B5u: goto L_250A94B5; 24878 case 0x250A94BAu: goto L_250A94BA; 24879 case 0x250A94BDu: goto L_250A94BD; 24880 case 0x250A94BFu: goto L_250A94BF; 24881 case 0x250A94C3u: goto L_250A94C3; 24882 case 0x250A94C5u: goto L_250A94C5; 24883 case 0x250A94CBu: goto L_250A94CB; 24884 case 0x250A94D0u: goto L_250A94D0; 24885 case 0x250A94D6u: goto L_250A94D6; 24886 case 0x250A94D8u: goto L_250A94D8; 24887 case 0x250A94D9u: goto L_250A94D9; 24888 case 0x250A94DBu: goto L_250A94DB; 24889 case 0x250A94E0u: goto L_250A94E0; 24890 case 0x250A94E3u: goto L_250A94E3; 24891 case 0x250A94E5u: goto L_250A94E5; 24892 case 0x250A94E9u: goto L_250A94E9; 24893 case 0x250A94EBu: goto L_250A94EB; 24894 case 0x250A94EEu: goto L_250A94EE; 24895 case 0x250A94F3u: goto L_250A94F3; 24896 case 0x250A94F9u: goto L_250A94F9; 24897 case 0x250A94FBu: goto L_250A94FB; 24898 case 0x250A94FCu: goto L_250A94FC; 24899 case 0x250A94FEu: goto L_250A94FE; 24900 case 0x250A9503u: goto L_250A9503; 24901 case 0x250A9506u: goto L_250A9506; 24902 case 0x250A9508u: goto L_250A9508; 24903 case 0x250A950Fu: goto L_250A950F; 24904 case 0x250A9511u: goto L_250A9511; 24905 case 0x250A9514u: goto L_250A9514; 24906 case 0x250A951Au: goto L_250A951A; 24907 case 0x250A9520u: goto L_250A9520; 24908 case 0x250A9522u: goto L_250A9522; 24909 case 0x250A9523u: goto L_250A9523; 24910 case 0x250A9525u: goto L_250A9525; 24911 case 0x250A952Au: goto L_250A952A; 24912 case 0x250A952Du: goto L_250A952D; 24913 case 0x250A952Eu: goto L_250A952E; 24914 case 0x250A952Fu: goto L_250A952F; 24915 case 0x250A9530u: goto L_250A9530; 24916 case 0x250A9537u: goto L_250A9537; 24917 case 0x250A9539u: goto L_250A9539; 24918 case 0x250A953Au: goto L_250A953A; 24919 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 24920 } 24921 RECOMP_REGS_OUT(); 24922 } 24923 24924 void sub_250A9059(void) { 24925 int _fpu_cmp = 0; 24926 uint32_t _cf = 0; 24927 int _df = 1; 24928 uint32_t _flag_k = FK_NONE; 24929 uint32_t _flag_a = 0, _flag_b = 0; 24930 uint32_t _itail_tgt = 0; 24931 RECOMP_REGS_LOCALS 24932 RECOMP_ENTER(0x250A9059u); 24933 24934 goto L_250A9059; 24935 L_250A8FE9: 24936 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 24937 L_250A8FEC: 24938 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 24939 L_250A8FF2: 24940 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 24941 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 24942 _cf = 0; 24943 _flag_k = FK_TEST; 24944 L_250A8FF4: 24945 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 24946 L_250A8FFA: 24947 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 24948 L_250A9000: 24949 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 24950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24951 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 24952 _flag_k = FK_CMP; 24953 L_250A9002: 24954 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 24955 L_250A9007: 24956 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 24957 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 24958 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 24959 L_250A9009: 24960 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 24961 L_250A900C: 24962 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 24963 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24964 edx = (uint32_t)((int32_t)edx >> 3u); 24965 L_250A900F: 24966 ecx = edx; /* 0x250A900F: mov ecx, edx */ 24967 L_250A9011: 24968 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 24969 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24970 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 24971 L_250A9014: 24972 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 24973 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24974 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 24975 _flag_k = FK_ADD; 24976 L_250A9016: 24977 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 24978 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 24979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24980 _flag_k = FK_CMP; 24981 L_250A9018: 24982 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 24983 L_250A901E: 24984 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 24985 L_250A9021: 24986 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 24987 L_250A9027: 24988 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 24989 L_250A902A: 24990 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 24991 L_250A902D: 24992 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 24993 eax = eax - 1; /* 0x250A902D: dec eax */ 24994 _flag_k = FK_DEC; 24995 L_250A902E: 24996 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 24997 L_250A9030: 24998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 24999 eax = eax - 1; /* 0x250A9030: dec eax */ 25000 _flag_k = FK_DEC; 25001 L_250A9031: 25002 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 25003 L_250A9033: 25004 eax = 2; /* 0x250A9033: mov eax, 2 */ 25005 L_250A9038: 25006 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 25007 L_250A903A: 25008 eax = 1; /* 0x250A903A: mov eax, 1 */ 25009 L_250A903F: 25010 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 25011 L_250A9041: 25012 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25013 eax = 0; /* 0x250A9041: xor eax, eax */ 25014 _cf = 0; 25015 _flag_k = FK_TEST; 25016 L_250A9043: 25017 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 25018 L_250A9046: 25019 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25020 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 25021 _cf = 0; 25022 _flag_k = FK_TEST; 25023 L_250A9048: 25024 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 25025 edx = edx - 1; /* 0x250A9048: dec edx */ 25026 _flag_k = FK_DEC; 25027 L_250A9049: 25028 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 25029 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 25030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25031 _flag_k = FK_CMP; 25032 L_250A904C: 25033 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 25034 L_250A904E: 25035 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 25036 L_250A9055: 25037 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25038 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 25039 _cf = 0; 25040 _flag_k = FK_TEST; 25041 L_250A9057: 25042 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 25043 L_250A9059: 25044 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 25045 L_250A905E: 25046 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 25047 L_250A9060: 25048 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 25049 L_250A9065: 25050 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 25051 L_250A9068: 25052 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 25053 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25054 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 25055 _flag_k = FK_ADD; 25056 L_250A906A: 25057 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 25058 L_250A9071: 25059 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 25060 L_250A9076: 25061 eax = ecx; /* 0x250A9076: mov eax, ecx */ 25062 L_250A9078: 25063 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 25064 L_250A9079: 25065 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 25066 L_250A907B: 25067 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 25068 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 25069 _cf = 0; 25070 _flag_k = FK_TEST; 25071 L_250A907E: 25072 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 25073 L_250A9080: 25074 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 25075 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25076 eax = eax + edx; /* 0x250A9080: add eax, edx */ 25077 _flag_k = FK_ADD; 25078 L_250A9082: 25079 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 25080 L_250A9084: 25081 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 25082 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25083 eax = (uint32_t)((int32_t)eax >> 2u); 25084 L_250A9087: 25085 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 25086 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25087 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 25088 L_250A908A: 25089 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 25090 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 25091 _cf = 0; 25092 _flag_k = FK_TEST; 25093 L_250A9090: 25094 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 25095 L_250A9092: 25096 PUSH32(esp, eax); /* 0x250A9092: push eax */ 25097 L_250A9093: 25098 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 25099 L_250A9095: 25100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25101 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 25102 _flag_k = FK_DEC; 25103 L_250A9096: 25104 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 25105 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 25106 _cf = 0; 25107 _flag_k = FK_TEST; 25108 L_250A9099: 25109 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25110 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 25111 _flag_k = FK_INC; 25112 L_250A909A: 25113 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 25114 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25115 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 25116 L_250A909D: 25117 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 25118 L_250A909E: 25119 PUSH32(esp, edi); /* 0x250A909E: push edi */ 25120 L_250A909F: 25121 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 25122 L_250A90A0: 25123 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 25124 L_250A90A2: 25125 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 25126 RECOMP_FLAGS_IN(); 25127 L_250A90A7: 25128 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 25129 L_250A90AA: 25130 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 25131 L_250A90AD: 25132 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25133 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 25134 _flag_k = FK_INC; 25135 L_250A90AE: 25136 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 25137 L_250A90B1: 25138 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 25139 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25140 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 25141 _flag_k = FK_ADD; 25142 L_250A90B4: 25143 RECOMP_BACKEDGE(); 25144 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 25145 L_250A90B9: 25146 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 25147 L_250A90BC: 25148 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 25149 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25150 _cf = 0; 25151 _flag_k = FK_NARROW(FK_TEST, 24); 25152 L_250A90BE: 25153 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 25154 L_250A90C4: 25155 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 25156 L_250A90C7: 25157 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 25158 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 25159 _cf = 0; 25160 _flag_k = FK_TEST; 25161 L_250A90C9: 25162 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 25163 L_250A90CF: 25164 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 25165 L_250A90D2: 25166 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 25167 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 25168 _cf = 0; 25169 _flag_k = FK_TEST; 25170 L_250A90D4: 25171 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 25172 L_250A90D6: 25173 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 25174 L_250A90D9: 25175 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 25176 L_250A90DB: 25177 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 25178 L_250A90DD: 25179 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 25180 L_250A90DE: 25181 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 25182 L_250A90E0: 25183 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 25184 L_250A90E2: 25185 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 25186 L_250A90E4: 25187 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 25188 L_250A90E6: 25189 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 25190 L_250A90E9: 25191 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 25192 RECOMP_FLAGS_IN(); 25193 L_250A90EE: 25194 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 25195 L_250A90F0: 25196 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 25197 RECOMP_FLAGS_IN(); 25198 L_250A90F5: 25199 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25200 edi = 0; /* 0x250A90F5: xor edi, edi */ 25201 _cf = 0; 25202 _flag_k = FK_TEST; 25203 L_250A90F7: 25204 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 25205 L_250A90FA: 25206 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 25207 L_250A9100: 25208 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 25209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 25210 _cf = 0; 25211 _flag_k = FK_TEST; 25212 L_250A9102: 25213 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 25214 L_250A9104: 25215 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 25216 L_250A910A: 25217 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 25218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25219 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 25220 _flag_k = FK_CMP; 25221 L_250A910C: 25222 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 25223 L_250A9111: 25224 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 25225 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 25226 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 25227 L_250A9113: 25228 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 25229 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25230 edx = (uint32_t)((int32_t)edx >> 3u); 25231 L_250A9116: 25232 eax = edx; /* 0x250A9116: mov eax, edx */ 25233 L_250A9118: 25234 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 25235 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25236 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 25237 L_250A911B: 25238 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 25239 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25240 edx = edx + eax; /* 0x250A911B: add edx, eax */ 25241 _flag_k = FK_ADD; 25242 L_250A911D: 25243 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 25244 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 25245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25246 _flag_k = FK_CMP; 25247 L_250A911F: 25248 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 25249 L_250A9121: 25250 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 25251 L_250A9127: 25252 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 25253 L_250A912A: 25254 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 25255 L_250A912D: 25256 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 25257 L_250A9130: 25258 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 25259 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 25260 _cf = 0; 25261 _flag_k = FK_TEST; 25262 L_250A9132: 25263 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 25264 L_250A9134: 25265 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 25266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 25267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25268 _flag_k = FK_CMP; 25269 L_250A9137: 25270 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 25271 L_250A913C: 25272 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 25273 L_250A913E: 25274 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 25275 L_250A9143: 25276 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 25277 L_250A9144: 25278 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 25279 L_250A9149: 25280 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 25281 L_250A914E: 25282 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 25283 L_250A9150: 25284 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 25285 L_250A9152: 25286 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 25287 L_250A9154: 25288 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 25289 L_250A9156: 25290 PUSH32(esp, eax); /* 0x250A9156: push eax */ 25291 L_250A9157: 25292 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 25293 L_250A9158: 25294 ecx = esi; /* 0x250A9158: mov ecx, esi */ 25295 L_250A915A: 25296 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 25297 RECOMP_FLAGS_IN(); 25298 L_250A915F: 25299 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 25300 L_250A9162: 25301 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 25302 edi = edi + 1; /* 0x250A9162: inc edi */ 25303 _flag_k = FK_INC; 25304 L_250A9163: 25305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 25306 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25307 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 25308 _flag_k = FK_ADD; 25309 L_250A9166: 25310 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 25311 L_250A9169: 25312 RECOMP_BACKEDGE(); 25313 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 25314 L_250A916B: 25315 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 25316 L_250A916E: 25317 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 25318 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25319 _cf = 0; 25320 _flag_k = FK_NARROW(FK_TEST, 24); 25321 L_250A9170: 25322 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 25323 L_250A9172: 25324 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 25325 L_250A9178: 25326 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 25327 L_250A917D: 25328 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 25329 L_250A9183: 25330 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 25331 L_250A9188: 25332 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 25333 L_250A918E: 25334 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 25335 L_250A9190: 25336 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 25337 L_250A9192: 25338 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 25339 L_250A9195: 25340 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 25341 L_250A9197: 25342 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 25343 L_250A919A: 25344 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 25345 L_250A919D: 25346 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 25347 L_250A91A2: 25348 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 25349 L_250A91A4: 25350 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 25351 L_250A91A6: 25352 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 25353 L_250A91A8: 25354 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 25355 L_250A91AB: 25356 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 25357 L_250A91AD: 25358 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 25359 L_250A91B0: 25360 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 25361 L_250A91B1: 25362 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 25363 L_250A91B2: 25364 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 25365 L_250A91B4: 25366 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 25367 L_250A91B7: 25368 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 25369 L_250A91BA: 25370 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 25371 L_250A91BC: 25372 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 25373 L_250A91BF: 25374 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 25375 L_250A91C5: 25376 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 25377 L_250A91C8: 25378 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 25379 L_250A91CB: 25380 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 25381 L_250A91D1: 25382 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 25383 L_250A91D4: 25384 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 25385 L_250A91D7: 25386 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 25387 RECOMP_FLAGS_IN(); 25388 L_250A91DC: 25389 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 25390 L_250A91E2: 25391 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 25392 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25393 _cf = 0; 25394 _flag_k = FK_NARROW(FK_TEST, 24); 25395 L_250A91E4: 25396 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 25397 L_250A91EA: 25398 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 25399 L_250A91F0: 25400 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 25401 L_250A91F6: 25402 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 25403 L_250A91FC: 25404 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 25405 L_250A91FE: 25406 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 25407 L_250A9200: 25408 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 25409 L_250A9202: 25410 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 25411 L_250A9209: 25412 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 25413 L_250A920C: 25414 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 25415 L_250A920F: 25416 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 25417 RECOMP_FLAGS_IN(); 25418 L_250A9214: 25419 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 25420 L_250A9217: 25421 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 25422 L_250A921C: 25423 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 25424 L_250A9222: 25425 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 25426 L_250A9228: 25427 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 25428 L_250A922A: 25429 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 25430 L_250A922C: 25431 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25432 edi = 0; /* 0x250A922C: xor edi, edi */ 25433 _cf = 0; 25434 _flag_k = FK_TEST; 25435 L_250A922E: 25436 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 25437 L_250A9230: 25438 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 25439 L_250A9233: 25440 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 25441 L_250A923A: 25442 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 25443 L_250A923D: 25444 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 25445 L_250A9240: 25446 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 25447 RECOMP_FLAGS_IN(); 25448 L_250A9245: 25449 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 25450 L_250A9248: 25451 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 25452 L_250A924E: 25453 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 25454 L_250A9254: 25455 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 25456 L_250A925A: 25457 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 25458 L_250A925C: 25459 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 25460 L_250A925E: 25461 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 25462 L_250A9260: 25463 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 25464 L_250A9264: 25465 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 25466 L_250A926B: 25467 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 25468 L_250A9271: 25469 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 25470 L_250A9274: 25471 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 25472 RECOMP_FLAGS_IN(); 25473 L_250A9279: 25474 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 25475 L_250A927C: 25476 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 25477 L_250A9282: 25478 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 25479 L_250A9288: 25480 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 25481 L_250A928E: 25482 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 25483 L_250A9290: 25484 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 25485 L_250A9292: 25486 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 25487 L_250A9294: 25488 PUSH32(esp, edi); /* 0x250A9294: push edi */ 25489 L_250A9295: 25490 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 25491 L_250A9299: 25492 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 25493 L_250A929F: 25494 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 25495 L_250A92A9: 25496 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 25497 L_250A92AC: 25498 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 25499 L_250A92B2: 25500 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 25501 RECOMP_FLAGS_IN(); 25502 L_250A92B7: 25503 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 25504 L_250A92BD: 25505 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 25506 L_250A92C2: 25507 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 25508 L_250A92C8: 25509 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 25510 L_250A92CE: 25511 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 25512 L_250A92D0: 25513 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 25514 L_250A92D1: 25515 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 25516 L_250A92D3: 25517 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 25518 L_250A92D4: 25519 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 25520 L_250A92D8: 25521 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 25522 L_250A92DE: 25523 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 25524 L_250A92E8: 25525 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 25526 L_250A92EB: 25527 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 25528 L_250A92F1: 25529 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 25530 RECOMP_FLAGS_IN(); 25531 L_250A92F6: 25532 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 25533 L_250A92FC: 25534 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 25535 L_250A92FF: 25536 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 25537 L_250A9301: 25538 PUSH32(esp, edi); /* 0x250A9301: push edi */ 25539 L_250A9302: 25540 PUSH32(esp, edi); /* 0x250A9302: push edi */ 25541 L_250A9303: 25542 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 25543 L_250A9307: 25544 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 25545 RECOMP_FLAGS_IN(); 25546 L_250A930C: 25547 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 25548 L_250A930E: 25549 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 25550 RECOMP_FLAGS_IN(); 25551 L_250A9313: 25552 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 25553 L_250A9316: 25554 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 25555 L_250A9319: 25556 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 25557 L_250A931B: 25558 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 25559 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 25560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25561 _flag_k = FK_CMP; 25562 L_250A931D: 25563 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 25564 L_250A9323: 25565 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 25566 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 25567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25568 _flag_k = FK_CMP; 25569 L_250A9327: 25570 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 25571 L_250A932D: 25572 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 25573 L_250A9330: 25574 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 25575 L_250A9333: 25576 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 25577 L_250A9336: 25578 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 25579 L_250A9339: 25580 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 25581 L_250A933B: 25582 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 25583 L_250A933E: 25584 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 25585 L_250A9341: 25586 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 25587 L_250A9344: 25588 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 25589 L_250A9347: 25590 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 25591 L_250A934A: 25592 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 25593 L_250A934B: 25594 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 25595 L_250A934E: 25596 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 25597 L_250A9355: 25598 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 25599 L_250A935C: 25600 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 25601 L_250A9363: 25602 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 25603 L_250A9366: 25604 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 25605 L_250A9369: 25606 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 25607 RECOMP_FLAGS_IN(); 25608 L_250A936F: 25609 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 25610 L_250A9371: 25611 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 25612 L_250A9374: 25613 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 25614 L_250A9377: 25615 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 25616 L_250A937A: 25617 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 25618 L_250A937D: 25619 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 25620 L_250A9380: 25621 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 25622 L_250A9382: 25623 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 25624 L_250A9388: 25625 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 25626 L_250A938B: 25627 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 25628 L_250A938E: 25629 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 25630 L_250A9391: 25631 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 25632 L_250A9394: 25633 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 25634 L_250A9395: 25635 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 25636 L_250A939B: 25637 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 25638 L_250A93A1: 25639 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 25640 L_250A93A7: 25641 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 25642 RECOMP_FLAGS_IN(); 25643 L_250A93AD: 25644 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 25645 L_250A93B0: 25646 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 25647 L_250A93B2: 25648 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 25649 L_250A93B4: 25650 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 25651 L_250A93B7: 25652 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 25653 L_250A93BA: 25654 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 25655 L_250A93BD: 25656 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 25657 L_250A93BF: 25658 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 25659 L_250A93C2: 25660 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 25661 L_250A93C5: 25662 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 25663 L_250A93CA: 25664 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 25665 L_250A93CD: 25666 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 25667 L_250A93D0: 25668 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 25669 L_250A93D3: 25670 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 25671 L_250A93D6: 25672 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 25673 L_250A93D8: 25674 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 25675 L_250A93DB: 25676 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 25677 L_250A93DE: 25678 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 25679 L_250A93E0: 25680 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 25681 L_250A93E3: 25682 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 25683 L_250A93E5: 25684 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 25685 RECOMP_FLAGS_IN(); 25686 L_250A93EB: 25687 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 25688 L_250A93EE: 25689 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 25690 L_250A93EF: 25691 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 25692 L_250A93F2: 25693 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 25694 RECOMP_FLAGS_IN(); 25695 L_250A93F8: 25696 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 25697 L_250A93FB: 25698 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 25699 L_250A93FC: 25700 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 25701 L_250A93FF: 25702 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 25703 RECOMP_FLAGS_IN(); 25704 L_250A9405: 25705 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 25706 L_250A9408: 25707 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 25708 L_250A940A: 25709 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 25710 L_250A940D: 25711 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 25712 L_250A9410: 25713 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 25714 L_250A9413: 25715 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 25716 L_250A9415: 25717 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 25718 L_250A9418: 25719 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 25720 L_250A941A: 25721 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 25722 L_250A9420: 25723 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 25724 L_250A9421: 25725 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 25726 L_250A942B: 25727 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 25728 L_250A9431: 25729 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 25730 L_250A9437: 25731 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 25732 L_250A943D: 25733 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 25734 L_250A9440: 25735 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 25736 L_250A9443: 25737 PUSH32(esp, edx); /* 0x250A9443: push edx */ 25738 L_250A9444: 25739 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 25740 L_250A9447: 25741 PUSH32(esp, eax); /* 0x250A9447: push eax */ 25742 L_250A9448: 25743 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 25744 L_250A944D: 25745 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 25746 L_250A9453: 25747 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 25748 L_250A9454: 25749 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 25750 L_250A9455: 25751 ecx = esi; /* 0x250A9455: mov ecx, esi */ 25752 L_250A9457: 25753 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 25754 RECOMP_FLAGS_IN(); 25755 L_250A945C: 25756 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 25757 L_250A945F: 25758 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 25759 L_250A9461: 25760 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 25761 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25763 _flag_k = FK_CMP; 25764 L_250A9464: 25765 RECOMP_BACKEDGE(); 25766 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 25767 L_250A946A: 25768 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 25769 L_250A9470: 25770 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 25771 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25772 _cf = 0; 25773 _flag_k = FK_NARROW(FK_TEST, 24); 25774 L_250A9472: 25775 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 25776 L_250A9476: 25777 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 25778 L_250A9478: 25779 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 25780 L_250A947B: 25781 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 25782 L_250A9480: 25783 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 25784 L_250A9486: 25785 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 25786 L_250A9488: 25787 PUSH32(esp, edx); /* 0x250A9488: push edx */ 25788 L_250A9489: 25789 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 25790 L_250A948B: 25791 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 25792 L_250A948D: 25793 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 25794 RECOMP_FLAGS_IN(); 25795 L_250A9492: 25796 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 25797 L_250A9498: 25798 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 25799 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25800 _cf = 0; 25801 _flag_k = FK_NARROW(FK_TEST, 24); 25802 L_250A949A: 25803 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 25804 L_250A949E: 25805 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 25806 L_250A94A0: 25807 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 25808 L_250A94A3: 25809 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 25810 L_250A94A8: 25811 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 25812 L_250A94AE: 25813 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 25814 L_250A94B0: 25815 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 25816 L_250A94B1: 25817 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 25818 L_250A94B3: 25819 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 25820 L_250A94B5: 25821 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 25822 RECOMP_FLAGS_IN(); 25823 L_250A94BA: 25824 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 25825 L_250A94BD: 25826 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 25827 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25828 _cf = 0; 25829 _flag_k = FK_NARROW(FK_TEST, 24); 25830 L_250A94BF: 25831 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 25832 L_250A94C3: 25833 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 25834 L_250A94C5: 25835 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 25836 L_250A94CB: 25837 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 25838 L_250A94D0: 25839 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 25840 L_250A94D6: 25841 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 25842 L_250A94D8: 25843 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 25844 L_250A94D9: 25845 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 25846 L_250A94DB: 25847 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 25848 RECOMP_FLAGS_IN(); 25849 L_250A94E0: 25850 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 25851 L_250A94E3: 25852 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 25853 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25854 _cf = 0; 25855 _flag_k = FK_NARROW(FK_TEST, 24); 25856 L_250A94E5: 25857 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 25858 L_250A94E9: 25859 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 25860 L_250A94EB: 25861 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 25862 L_250A94EE: 25863 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 25864 L_250A94F3: 25865 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 25866 L_250A94F9: 25867 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 25868 L_250A94FB: 25869 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 25870 L_250A94FC: 25871 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 25872 L_250A94FE: 25873 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 25874 RECOMP_FLAGS_IN(); 25875 L_250A9503: 25876 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 25877 L_250A9506: 25878 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 25879 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25880 _cf = 0; 25881 _flag_k = FK_NARROW(FK_TEST, 24); 25882 L_250A9508: 25883 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 25884 L_250A950F: 25885 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 25886 L_250A9511: 25887 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 25888 L_250A9514: 25889 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 25890 L_250A951A: 25891 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 25892 L_250A9520: 25893 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 25894 L_250A9522: 25895 PUSH32(esp, eax); /* 0x250A9522: push eax */ 25896 L_250A9523: 25897 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 25898 L_250A9525: 25899 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 25900 RECOMP_FLAGS_IN(); 25901 L_250A952A: 25902 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 25903 L_250A952D: 25904 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 25905 L_250A952E: 25906 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 25907 L_250A952F: 25908 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 25909 L_250A9530: 25910 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 25911 L_250A9537: 25912 esp = ebp; /* 0x250A9537: mov esp, ebp */ 25913 L_250A9539: 25914 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 25915 L_250A953A: 25916 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 25917 _ljump: 25918 switch (_itail_tgt) { 25919 case 0x250A8FE9u: goto L_250A8FE9; 25920 case 0x250A8FECu: goto L_250A8FEC; 25921 case 0x250A8FF2u: goto L_250A8FF2; 25922 case 0x250A8FF4u: goto L_250A8FF4; 25923 case 0x250A8FFAu: goto L_250A8FFA; 25924 case 0x250A9000u: goto L_250A9000; 25925 case 0x250A9002u: goto L_250A9002; 25926 case 0x250A9007u: goto L_250A9007; 25927 case 0x250A9009u: goto L_250A9009; 25928 case 0x250A900Cu: goto L_250A900C; 25929 case 0x250A900Fu: goto L_250A900F; 25930 case 0x250A9011u: goto L_250A9011; 25931 case 0x250A9014u: goto L_250A9014; 25932 case 0x250A9016u: goto L_250A9016; 25933 case 0x250A9018u: goto L_250A9018; 25934 case 0x250A901Eu: goto L_250A901E; 25935 case 0x250A9021u: goto L_250A9021; 25936 case 0x250A9027u: goto L_250A9027; 25937 case 0x250A902Au: goto L_250A902A; 25938 case 0x250A902Du: goto L_250A902D; 25939 case 0x250A902Eu: goto L_250A902E; 25940 case 0x250A9030u: goto L_250A9030; 25941 case 0x250A9031u: goto L_250A9031; 25942 case 0x250A9033u: goto L_250A9033; 25943 case 0x250A9038u: goto L_250A9038; 25944 case 0x250A903Au: goto L_250A903A; 25945 case 0x250A903Fu: goto L_250A903F; 25946 case 0x250A9041u: goto L_250A9041; 25947 case 0x250A9043u: goto L_250A9043; 25948 case 0x250A9046u: goto L_250A9046; 25949 case 0x250A9048u: goto L_250A9048; 25950 case 0x250A9049u: goto L_250A9049; 25951 case 0x250A904Cu: goto L_250A904C; 25952 case 0x250A904Eu: goto L_250A904E; 25953 case 0x250A9055u: goto L_250A9055; 25954 case 0x250A9057u: goto L_250A9057; 25955 case 0x250A9059u: goto L_250A9059; 25956 case 0x250A905Eu: goto L_250A905E; 25957 case 0x250A9060u: goto L_250A9060; 25958 case 0x250A9065u: goto L_250A9065; 25959 case 0x250A9068u: goto L_250A9068; 25960 case 0x250A906Au: goto L_250A906A; 25961 case 0x250A9071u: goto L_250A9071; 25962 case 0x250A9076u: goto L_250A9076; 25963 case 0x250A9078u: goto L_250A9078; 25964 case 0x250A9079u: goto L_250A9079; 25965 case 0x250A907Bu: goto L_250A907B; 25966 case 0x250A907Eu: goto L_250A907E; 25967 case 0x250A9080u: goto L_250A9080; 25968 case 0x250A9082u: goto L_250A9082; 25969 case 0x250A9084u: goto L_250A9084; 25970 case 0x250A9087u: goto L_250A9087; 25971 case 0x250A908Au: goto L_250A908A; 25972 case 0x250A9090u: goto L_250A9090; 25973 case 0x250A9092u: goto L_250A9092; 25974 case 0x250A9093u: goto L_250A9093; 25975 case 0x250A9095u: goto L_250A9095; 25976 case 0x250A9096u: goto L_250A9096; 25977 case 0x250A9099u: goto L_250A9099; 25978 case 0x250A909Au: goto L_250A909A; 25979 case 0x250A909Du: goto L_250A909D; 25980 case 0x250A909Eu: goto L_250A909E; 25981 case 0x250A909Fu: goto L_250A909F; 25982 case 0x250A90A0u: goto L_250A90A0; 25983 case 0x250A90A2u: goto L_250A90A2; 25984 case 0x250A90A7u: goto L_250A90A7; 25985 case 0x250A90AAu: goto L_250A90AA; 25986 case 0x250A90ADu: goto L_250A90AD; 25987 case 0x250A90AEu: goto L_250A90AE; 25988 case 0x250A90B1u: goto L_250A90B1; 25989 case 0x250A90B4u: goto L_250A90B4; 25990 case 0x250A90B9u: goto L_250A90B9; 25991 case 0x250A90BCu: goto L_250A90BC; 25992 case 0x250A90BEu: goto L_250A90BE; 25993 case 0x250A90C4u: goto L_250A90C4; 25994 case 0x250A90C7u: goto L_250A90C7; 25995 case 0x250A90C9u: goto L_250A90C9; 25996 case 0x250A90CFu: goto L_250A90CF; 25997 case 0x250A90D2u: goto L_250A90D2; 25998 case 0x250A90D4u: goto L_250A90D4; 25999 case 0x250A90D6u: goto L_250A90D6; 26000 case 0x250A90D9u: goto L_250A90D9; 26001 case 0x250A90DBu: goto L_250A90DB; 26002 case 0x250A90DDu: goto L_250A90DD; 26003 case 0x250A90DEu: goto L_250A90DE; 26004 case 0x250A90E0u: goto L_250A90E0; 26005 case 0x250A90E2u: goto L_250A90E2; 26006 case 0x250A90E4u: goto L_250A90E4; 26007 case 0x250A90E6u: goto L_250A90E6; 26008 case 0x250A90E9u: goto L_250A90E9; 26009 case 0x250A90EEu: goto L_250A90EE; 26010 case 0x250A90F0u: goto L_250A90F0; 26011 case 0x250A90F5u: goto L_250A90F5; 26012 case 0x250A90F7u: goto L_250A90F7; 26013 case 0x250A90FAu: goto L_250A90FA; 26014 case 0x250A9100u: goto L_250A9100; 26015 case 0x250A9102u: goto L_250A9102; 26016 case 0x250A9104u: goto L_250A9104; 26017 case 0x250A910Au: goto L_250A910A; 26018 case 0x250A910Cu: goto L_250A910C; 26019 case 0x250A9111u: goto L_250A9111; 26020 case 0x250A9113u: goto L_250A9113; 26021 case 0x250A9116u: goto L_250A9116; 26022 case 0x250A9118u: goto L_250A9118; 26023 case 0x250A911Bu: goto L_250A911B; 26024 case 0x250A911Du: goto L_250A911D; 26025 case 0x250A911Fu: goto L_250A911F; 26026 case 0x250A9121u: goto L_250A9121; 26027 case 0x250A9127u: goto L_250A9127; 26028 case 0x250A912Au: goto L_250A912A; 26029 case 0x250A912Du: goto L_250A912D; 26030 case 0x250A9130u: goto L_250A9130; 26031 case 0x250A9132u: goto L_250A9132; 26032 case 0x250A9134u: goto L_250A9134; 26033 case 0x250A9137u: goto L_250A9137; 26034 case 0x250A913Cu: goto L_250A913C; 26035 case 0x250A913Eu: goto L_250A913E; 26036 case 0x250A9143u: goto L_250A9143; 26037 case 0x250A9144u: goto L_250A9144; 26038 case 0x250A9149u: goto L_250A9149; 26039 case 0x250A914Eu: goto L_250A914E; 26040 case 0x250A9150u: goto L_250A9150; 26041 case 0x250A9152u: goto L_250A9152; 26042 case 0x250A9154u: goto L_250A9154; 26043 case 0x250A9156u: goto L_250A9156; 26044 case 0x250A9157u: goto L_250A9157; 26045 case 0x250A9158u: goto L_250A9158; 26046 case 0x250A915Au: goto L_250A915A; 26047 case 0x250A915Fu: goto L_250A915F; 26048 case 0x250A9162u: goto L_250A9162; 26049 case 0x250A9163u: goto L_250A9163; 26050 case 0x250A9166u: goto L_250A9166; 26051 case 0x250A9169u: goto L_250A9169; 26052 case 0x250A916Bu: goto L_250A916B; 26053 case 0x250A916Eu: goto L_250A916E; 26054 case 0x250A9170u: goto L_250A9170; 26055 case 0x250A9172u: goto L_250A9172; 26056 case 0x250A9178u: goto L_250A9178; 26057 case 0x250A917Du: goto L_250A917D; 26058 case 0x250A9183u: goto L_250A9183; 26059 case 0x250A9188u: goto L_250A9188; 26060 case 0x250A918Eu: goto L_250A918E; 26061 case 0x250A9190u: goto L_250A9190; 26062 case 0x250A9192u: goto L_250A9192; 26063 case 0x250A9195u: goto L_250A9195; 26064 case 0x250A9197u: goto L_250A9197; 26065 case 0x250A919Au: goto L_250A919A; 26066 case 0x250A919Du: goto L_250A919D; 26067 case 0x250A91A2u: goto L_250A91A2; 26068 case 0x250A91A4u: goto L_250A91A4; 26069 case 0x250A91A6u: goto L_250A91A6; 26070 case 0x250A91A8u: goto L_250A91A8; 26071 case 0x250A91ABu: goto L_250A91AB; 26072 case 0x250A91ADu: goto L_250A91AD; 26073 case 0x250A91B0u: goto L_250A91B0; 26074 case 0x250A91B1u: goto L_250A91B1; 26075 case 0x250A91B2u: goto L_250A91B2; 26076 case 0x250A91B4u: goto L_250A91B4; 26077 case 0x250A91B7u: goto L_250A91B7; 26078 case 0x250A91BAu: goto L_250A91BA; 26079 case 0x250A91BCu: goto L_250A91BC; 26080 case 0x250A91BFu: goto L_250A91BF; 26081 case 0x250A91C5u: goto L_250A91C5; 26082 case 0x250A91C8u: goto L_250A91C8; 26083 case 0x250A91CBu: goto L_250A91CB; 26084 case 0x250A91D1u: goto L_250A91D1; 26085 case 0x250A91D4u: goto L_250A91D4; 26086 case 0x250A91D7u: goto L_250A91D7; 26087 case 0x250A91DCu: goto L_250A91DC; 26088 case 0x250A91E2u: goto L_250A91E2; 26089 case 0x250A91E4u: goto L_250A91E4; 26090 case 0x250A91EAu: goto L_250A91EA; 26091 case 0x250A91F0u: goto L_250A91F0; 26092 case 0x250A91F6u: goto L_250A91F6; 26093 case 0x250A91FCu: goto L_250A91FC; 26094 case 0x250A91FEu: goto L_250A91FE; 26095 case 0x250A9200u: goto L_250A9200; 26096 case 0x250A9202u: goto L_250A9202; 26097 case 0x250A9209u: goto L_250A9209; 26098 case 0x250A920Cu: goto L_250A920C; 26099 case 0x250A920Fu: goto L_250A920F; 26100 case 0x250A9214u: goto L_250A9214; 26101 case 0x250A9217u: goto L_250A9217; 26102 case 0x250A921Cu: goto L_250A921C; 26103 case 0x250A9222u: goto L_250A9222; 26104 case 0x250A9228u: goto L_250A9228; 26105 case 0x250A922Au: goto L_250A922A; 26106 case 0x250A922Cu: goto L_250A922C; 26107 case 0x250A922Eu: goto L_250A922E; 26108 case 0x250A9230u: goto L_250A9230; 26109 case 0x250A9233u: goto L_250A9233; 26110 case 0x250A923Au: goto L_250A923A; 26111 case 0x250A923Du: goto L_250A923D; 26112 case 0x250A9240u: goto L_250A9240; 26113 case 0x250A9245u: goto L_250A9245; 26114 case 0x250A9248u: goto L_250A9248; 26115 case 0x250A924Eu: goto L_250A924E; 26116 case 0x250A9254u: goto L_250A9254; 26117 case 0x250A925Au: goto L_250A925A; 26118 case 0x250A925Cu: goto L_250A925C; 26119 case 0x250A925Eu: goto L_250A925E; 26120 case 0x250A9260u: goto L_250A9260; 26121 case 0x250A9264u: goto L_250A9264; 26122 case 0x250A926Bu: goto L_250A926B; 26123 case 0x250A9271u: goto L_250A9271; 26124 case 0x250A9274u: goto L_250A9274; 26125 case 0x250A9279u: goto L_250A9279; 26126 case 0x250A927Cu: goto L_250A927C; 26127 case 0x250A9282u: goto L_250A9282; 26128 case 0x250A9288u: goto L_250A9288; 26129 case 0x250A928Eu: goto L_250A928E; 26130 case 0x250A9290u: goto L_250A9290; 26131 case 0x250A9292u: goto L_250A9292; 26132 case 0x250A9294u: goto L_250A9294; 26133 case 0x250A9295u: goto L_250A9295; 26134 case 0x250A9299u: goto L_250A9299; 26135 case 0x250A929Fu: goto L_250A929F; 26136 case 0x250A92A9u: goto L_250A92A9; 26137 case 0x250A92ACu: goto L_250A92AC; 26138 case 0x250A92B2u: goto L_250A92B2; 26139 case 0x250A92B7u: goto L_250A92B7; 26140 case 0x250A92BDu: goto L_250A92BD; 26141 case 0x250A92C2u: goto L_250A92C2; 26142 case 0x250A92C8u: goto L_250A92C8; 26143 case 0x250A92CEu: goto L_250A92CE; 26144 case 0x250A92D0u: goto L_250A92D0; 26145 case 0x250A92D1u: goto L_250A92D1; 26146 case 0x250A92D3u: goto L_250A92D3; 26147 case 0x250A92D4u: goto L_250A92D4; 26148 case 0x250A92D8u: goto L_250A92D8; 26149 case 0x250A92DEu: goto L_250A92DE; 26150 case 0x250A92E8u: goto L_250A92E8; 26151 case 0x250A92EBu: goto L_250A92EB; 26152 case 0x250A92F1u: goto L_250A92F1; 26153 case 0x250A92F6u: goto L_250A92F6; 26154 case 0x250A92FCu: goto L_250A92FC; 26155 case 0x250A92FFu: goto L_250A92FF; 26156 case 0x250A9301u: goto L_250A9301; 26157 case 0x250A9302u: goto L_250A9302; 26158 case 0x250A9303u: goto L_250A9303; 26159 case 0x250A9307u: goto L_250A9307; 26160 case 0x250A930Cu: goto L_250A930C; 26161 case 0x250A930Eu: goto L_250A930E; 26162 case 0x250A9313u: goto L_250A9313; 26163 case 0x250A9316u: goto L_250A9316; 26164 case 0x250A9319u: goto L_250A9319; 26165 case 0x250A931Bu: goto L_250A931B; 26166 case 0x250A931Du: goto L_250A931D; 26167 case 0x250A9323u: goto L_250A9323; 26168 case 0x250A9327u: goto L_250A9327; 26169 case 0x250A932Du: goto L_250A932D; 26170 case 0x250A9330u: goto L_250A9330; 26171 case 0x250A9333u: goto L_250A9333; 26172 case 0x250A9336u: goto L_250A9336; 26173 case 0x250A9339u: goto L_250A9339; 26174 case 0x250A933Bu: goto L_250A933B; 26175 case 0x250A933Eu: goto L_250A933E; 26176 case 0x250A9341u: goto L_250A9341; 26177 case 0x250A9344u: goto L_250A9344; 26178 case 0x250A9347u: goto L_250A9347; 26179 case 0x250A934Au: goto L_250A934A; 26180 case 0x250A934Bu: goto L_250A934B; 26181 case 0x250A934Eu: goto L_250A934E; 26182 case 0x250A9355u: goto L_250A9355; 26183 case 0x250A935Cu: goto L_250A935C; 26184 case 0x250A9363u: goto L_250A9363; 26185 case 0x250A9366u: goto L_250A9366; 26186 case 0x250A9369u: goto L_250A9369; 26187 case 0x250A936Fu: goto L_250A936F; 26188 case 0x250A9371u: goto L_250A9371; 26189 case 0x250A9374u: goto L_250A9374; 26190 case 0x250A9377u: goto L_250A9377; 26191 case 0x250A937Au: goto L_250A937A; 26192 case 0x250A937Du: goto L_250A937D; 26193 case 0x250A9380u: goto L_250A9380; 26194 case 0x250A9382u: goto L_250A9382; 26195 case 0x250A9388u: goto L_250A9388; 26196 case 0x250A938Bu: goto L_250A938B; 26197 case 0x250A938Eu: goto L_250A938E; 26198 case 0x250A9391u: goto L_250A9391; 26199 case 0x250A9394u: goto L_250A9394; 26200 case 0x250A9395u: goto L_250A9395; 26201 case 0x250A939Bu: goto L_250A939B; 26202 case 0x250A93A1u: goto L_250A93A1; 26203 case 0x250A93A7u: goto L_250A93A7; 26204 case 0x250A93ADu: goto L_250A93AD; 26205 case 0x250A93B0u: goto L_250A93B0; 26206 case 0x250A93B2u: goto L_250A93B2; 26207 case 0x250A93B4u: goto L_250A93B4; 26208 case 0x250A93B7u: goto L_250A93B7; 26209 case 0x250A93BAu: goto L_250A93BA; 26210 case 0x250A93BDu: goto L_250A93BD; 26211 case 0x250A93BFu: goto L_250A93BF; 26212 case 0x250A93C2u: goto L_250A93C2; 26213 case 0x250A93C5u: goto L_250A93C5; 26214 case 0x250A93CAu: goto L_250A93CA; 26215 case 0x250A93CDu: goto L_250A93CD; 26216 case 0x250A93D0u: goto L_250A93D0; 26217 case 0x250A93D3u: goto L_250A93D3; 26218 case 0x250A93D6u: goto L_250A93D6; 26219 case 0x250A93D8u: goto L_250A93D8; 26220 case 0x250A93DBu: goto L_250A93DB; 26221 case 0x250A93DEu: goto L_250A93DE; 26222 case 0x250A93E0u: goto L_250A93E0; 26223 case 0x250A93E3u: goto L_250A93E3; 26224 case 0x250A93E5u: goto L_250A93E5; 26225 case 0x250A93EBu: goto L_250A93EB; 26226 case 0x250A93EEu: goto L_250A93EE; 26227 case 0x250A93EFu: goto L_250A93EF; 26228 case 0x250A93F2u: goto L_250A93F2; 26229 case 0x250A93F8u: goto L_250A93F8; 26230 case 0x250A93FBu: goto L_250A93FB; 26231 case 0x250A93FCu: goto L_250A93FC; 26232 case 0x250A93FFu: goto L_250A93FF; 26233 case 0x250A9405u: goto L_250A9405; 26234 case 0x250A9408u: goto L_250A9408; 26235 case 0x250A940Au: goto L_250A940A; 26236 case 0x250A940Du: goto L_250A940D; 26237 case 0x250A9410u: goto L_250A9410; 26238 case 0x250A9413u: goto L_250A9413; 26239 case 0x250A9415u: goto L_250A9415; 26240 case 0x250A9418u: goto L_250A9418; 26241 case 0x250A941Au: goto L_250A941A; 26242 case 0x250A9420u: goto L_250A9420; 26243 case 0x250A9421u: goto L_250A9421; 26244 case 0x250A942Bu: goto L_250A942B; 26245 case 0x250A9431u: goto L_250A9431; 26246 case 0x250A9437u: goto L_250A9437; 26247 case 0x250A943Du: goto L_250A943D; 26248 case 0x250A9440u: goto L_250A9440; 26249 case 0x250A9443u: goto L_250A9443; 26250 case 0x250A9444u: goto L_250A9444; 26251 case 0x250A9447u: goto L_250A9447; 26252 case 0x250A9448u: goto L_250A9448; 26253 case 0x250A944Du: goto L_250A944D; 26254 case 0x250A9453u: goto L_250A9453; 26255 case 0x250A9454u: goto L_250A9454; 26256 case 0x250A9455u: goto L_250A9455; 26257 case 0x250A9457u: goto L_250A9457; 26258 case 0x250A945Cu: goto L_250A945C; 26259 case 0x250A945Fu: goto L_250A945F; 26260 case 0x250A9461u: goto L_250A9461; 26261 case 0x250A9464u: goto L_250A9464; 26262 case 0x250A946Au: goto L_250A946A; 26263 case 0x250A9470u: goto L_250A9470; 26264 case 0x250A9472u: goto L_250A9472; 26265 case 0x250A9476u: goto L_250A9476; 26266 case 0x250A9478u: goto L_250A9478; 26267 case 0x250A947Bu: goto L_250A947B; 26268 case 0x250A9480u: goto L_250A9480; 26269 case 0x250A9486u: goto L_250A9486; 26270 case 0x250A9488u: goto L_250A9488; 26271 case 0x250A9489u: goto L_250A9489; 26272 case 0x250A948Bu: goto L_250A948B; 26273 case 0x250A948Du: goto L_250A948D; 26274 case 0x250A9492u: goto L_250A9492; 26275 case 0x250A9498u: goto L_250A9498; 26276 case 0x250A949Au: goto L_250A949A; 26277 case 0x250A949Eu: goto L_250A949E; 26278 case 0x250A94A0u: goto L_250A94A0; 26279 case 0x250A94A3u: goto L_250A94A3; 26280 case 0x250A94A8u: goto L_250A94A8; 26281 case 0x250A94AEu: goto L_250A94AE; 26282 case 0x250A94B0u: goto L_250A94B0; 26283 case 0x250A94B1u: goto L_250A94B1; 26284 case 0x250A94B3u: goto L_250A94B3; 26285 case 0x250A94B5u: goto L_250A94B5; 26286 case 0x250A94BAu: goto L_250A94BA; 26287 case 0x250A94BDu: goto L_250A94BD; 26288 case 0x250A94BFu: goto L_250A94BF; 26289 case 0x250A94C3u: goto L_250A94C3; 26290 case 0x250A94C5u: goto L_250A94C5; 26291 case 0x250A94CBu: goto L_250A94CB; 26292 case 0x250A94D0u: goto L_250A94D0; 26293 case 0x250A94D6u: goto L_250A94D6; 26294 case 0x250A94D8u: goto L_250A94D8; 26295 case 0x250A94D9u: goto L_250A94D9; 26296 case 0x250A94DBu: goto L_250A94DB; 26297 case 0x250A94E0u: goto L_250A94E0; 26298 case 0x250A94E3u: goto L_250A94E3; 26299 case 0x250A94E5u: goto L_250A94E5; 26300 case 0x250A94E9u: goto L_250A94E9; 26301 case 0x250A94EBu: goto L_250A94EB; 26302 case 0x250A94EEu: goto L_250A94EE; 26303 case 0x250A94F3u: goto L_250A94F3; 26304 case 0x250A94F9u: goto L_250A94F9; 26305 case 0x250A94FBu: goto L_250A94FB; 26306 case 0x250A94FCu: goto L_250A94FC; 26307 case 0x250A94FEu: goto L_250A94FE; 26308 case 0x250A9503u: goto L_250A9503; 26309 case 0x250A9506u: goto L_250A9506; 26310 case 0x250A9508u: goto L_250A9508; 26311 case 0x250A950Fu: goto L_250A950F; 26312 case 0x250A9511u: goto L_250A9511; 26313 case 0x250A9514u: goto L_250A9514; 26314 case 0x250A951Au: goto L_250A951A; 26315 case 0x250A9520u: goto L_250A9520; 26316 case 0x250A9522u: goto L_250A9522; 26317 case 0x250A9523u: goto L_250A9523; 26318 case 0x250A9525u: goto L_250A9525; 26319 case 0x250A952Au: goto L_250A952A; 26320 case 0x250A952Du: goto L_250A952D; 26321 case 0x250A952Eu: goto L_250A952E; 26322 case 0x250A952Fu: goto L_250A952F; 26323 case 0x250A9530u: goto L_250A9530; 26324 case 0x250A9537u: goto L_250A9537; 26325 case 0x250A9539u: goto L_250A9539; 26326 case 0x250A953Au: goto L_250A953A; 26327 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 26328 } 26329 RECOMP_REGS_OUT(); 26330 } 26331 26332 void sub_250A9060(void) { 26333 int _fpu_cmp = 0; 26334 uint32_t _cf = 0; 26335 int _df = 1; 26336 uint32_t _flag_k = FK_NONE; 26337 uint32_t _flag_a = 0, _flag_b = 0; 26338 uint32_t _itail_tgt = 0; 26339 RECOMP_REGS_LOCALS 26340 RECOMP_ENTER(0x250A9060u); 26341 26342 goto L_250A9060; 26343 L_250A8FE9: 26344 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 26345 L_250A8FEC: 26346 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 26347 L_250A8FF2: 26348 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 26349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 26350 _cf = 0; 26351 _flag_k = FK_TEST; 26352 L_250A8FF4: 26353 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 26354 L_250A8FFA: 26355 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 26356 L_250A9000: 26357 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 26358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26359 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 26360 _flag_k = FK_CMP; 26361 L_250A9002: 26362 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 26363 L_250A9007: 26364 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 26365 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 26366 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 26367 L_250A9009: 26368 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 26369 L_250A900C: 26370 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 26371 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26372 edx = (uint32_t)((int32_t)edx >> 3u); 26373 L_250A900F: 26374 ecx = edx; /* 0x250A900F: mov ecx, edx */ 26375 L_250A9011: 26376 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 26377 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26378 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 26379 L_250A9014: 26380 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 26381 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26382 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 26383 _flag_k = FK_ADD; 26384 L_250A9016: 26385 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 26386 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 26387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26388 _flag_k = FK_CMP; 26389 L_250A9018: 26390 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 26391 L_250A901E: 26392 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 26393 L_250A9021: 26394 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 26395 L_250A9027: 26396 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 26397 L_250A902A: 26398 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 26399 L_250A902D: 26400 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 26401 eax = eax - 1; /* 0x250A902D: dec eax */ 26402 _flag_k = FK_DEC; 26403 L_250A902E: 26404 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 26405 L_250A9030: 26406 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 26407 eax = eax - 1; /* 0x250A9030: dec eax */ 26408 _flag_k = FK_DEC; 26409 L_250A9031: 26410 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 26411 L_250A9033: 26412 eax = 2; /* 0x250A9033: mov eax, 2 */ 26413 L_250A9038: 26414 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 26415 L_250A903A: 26416 eax = 1; /* 0x250A903A: mov eax, 1 */ 26417 L_250A903F: 26418 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 26419 L_250A9041: 26420 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26421 eax = 0; /* 0x250A9041: xor eax, eax */ 26422 _cf = 0; 26423 _flag_k = FK_TEST; 26424 L_250A9043: 26425 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 26426 L_250A9046: 26427 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26428 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 26429 _cf = 0; 26430 _flag_k = FK_TEST; 26431 L_250A9048: 26432 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 26433 edx = edx - 1; /* 0x250A9048: dec edx */ 26434 _flag_k = FK_DEC; 26435 L_250A9049: 26436 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 26437 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 26438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26439 _flag_k = FK_CMP; 26440 L_250A904C: 26441 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 26442 L_250A904E: 26443 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 26444 L_250A9055: 26445 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26446 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 26447 _cf = 0; 26448 _flag_k = FK_TEST; 26449 L_250A9057: 26450 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 26451 L_250A9059: 26452 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 26453 L_250A905E: 26454 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 26455 L_250A9060: 26456 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 26457 L_250A9065: 26458 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 26459 L_250A9068: 26460 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 26461 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26462 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 26463 _flag_k = FK_ADD; 26464 L_250A906A: 26465 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 26466 L_250A9071: 26467 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 26468 L_250A9076: 26469 eax = ecx; /* 0x250A9076: mov eax, ecx */ 26470 L_250A9078: 26471 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 26472 L_250A9079: 26473 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 26474 L_250A907B: 26475 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 26476 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 26477 _cf = 0; 26478 _flag_k = FK_TEST; 26479 L_250A907E: 26480 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 26481 L_250A9080: 26482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 26483 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26484 eax = eax + edx; /* 0x250A9080: add eax, edx */ 26485 _flag_k = FK_ADD; 26486 L_250A9082: 26487 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 26488 L_250A9084: 26489 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 26490 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26491 eax = (uint32_t)((int32_t)eax >> 2u); 26492 L_250A9087: 26493 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 26494 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26495 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 26496 L_250A908A: 26497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 26498 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 26499 _cf = 0; 26500 _flag_k = FK_TEST; 26501 L_250A9090: 26502 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 26503 L_250A9092: 26504 PUSH32(esp, eax); /* 0x250A9092: push eax */ 26505 L_250A9093: 26506 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 26507 L_250A9095: 26508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26509 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 26510 _flag_k = FK_DEC; 26511 L_250A9096: 26512 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 26513 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 26514 _cf = 0; 26515 _flag_k = FK_TEST; 26516 L_250A9099: 26517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26518 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 26519 _flag_k = FK_INC; 26520 L_250A909A: 26521 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 26522 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26523 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 26524 L_250A909D: 26525 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 26526 L_250A909E: 26527 PUSH32(esp, edi); /* 0x250A909E: push edi */ 26528 L_250A909F: 26529 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 26530 L_250A90A0: 26531 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 26532 L_250A90A2: 26533 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 26534 RECOMP_FLAGS_IN(); 26535 L_250A90A7: 26536 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 26537 L_250A90AA: 26538 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 26539 L_250A90AD: 26540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26541 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 26542 _flag_k = FK_INC; 26543 L_250A90AE: 26544 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 26545 L_250A90B1: 26546 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 26547 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26548 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 26549 _flag_k = FK_ADD; 26550 L_250A90B4: 26551 RECOMP_BACKEDGE(); 26552 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 26553 L_250A90B9: 26554 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 26555 L_250A90BC: 26556 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 26557 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26558 _cf = 0; 26559 _flag_k = FK_NARROW(FK_TEST, 24); 26560 L_250A90BE: 26561 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 26562 L_250A90C4: 26563 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 26564 L_250A90C7: 26565 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 26566 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 26567 _cf = 0; 26568 _flag_k = FK_TEST; 26569 L_250A90C9: 26570 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 26571 L_250A90CF: 26572 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 26573 L_250A90D2: 26574 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 26575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 26576 _cf = 0; 26577 _flag_k = FK_TEST; 26578 L_250A90D4: 26579 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 26580 L_250A90D6: 26581 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 26582 L_250A90D9: 26583 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 26584 L_250A90DB: 26585 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 26586 L_250A90DD: 26587 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 26588 L_250A90DE: 26589 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 26590 L_250A90E0: 26591 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 26592 L_250A90E2: 26593 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 26594 L_250A90E4: 26595 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 26596 L_250A90E6: 26597 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 26598 L_250A90E9: 26599 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 26600 RECOMP_FLAGS_IN(); 26601 L_250A90EE: 26602 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 26603 L_250A90F0: 26604 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 26605 RECOMP_FLAGS_IN(); 26606 L_250A90F5: 26607 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26608 edi = 0; /* 0x250A90F5: xor edi, edi */ 26609 _cf = 0; 26610 _flag_k = FK_TEST; 26611 L_250A90F7: 26612 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 26613 L_250A90FA: 26614 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 26615 L_250A9100: 26616 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 26617 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 26618 _cf = 0; 26619 _flag_k = FK_TEST; 26620 L_250A9102: 26621 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 26622 L_250A9104: 26623 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 26624 L_250A910A: 26625 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 26626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26627 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 26628 _flag_k = FK_CMP; 26629 L_250A910C: 26630 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 26631 L_250A9111: 26632 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 26633 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 26634 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 26635 L_250A9113: 26636 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 26637 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26638 edx = (uint32_t)((int32_t)edx >> 3u); 26639 L_250A9116: 26640 eax = edx; /* 0x250A9116: mov eax, edx */ 26641 L_250A9118: 26642 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 26643 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26644 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 26645 L_250A911B: 26646 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 26647 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26648 edx = edx + eax; /* 0x250A911B: add edx, eax */ 26649 _flag_k = FK_ADD; 26650 L_250A911D: 26651 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 26652 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 26653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26654 _flag_k = FK_CMP; 26655 L_250A911F: 26656 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 26657 L_250A9121: 26658 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 26659 L_250A9127: 26660 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 26661 L_250A912A: 26662 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 26663 L_250A912D: 26664 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 26665 L_250A9130: 26666 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 26667 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 26668 _cf = 0; 26669 _flag_k = FK_TEST; 26670 L_250A9132: 26671 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 26672 L_250A9134: 26673 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 26674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 26675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26676 _flag_k = FK_CMP; 26677 L_250A9137: 26678 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 26679 L_250A913C: 26680 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 26681 L_250A913E: 26682 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 26683 L_250A9143: 26684 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 26685 L_250A9144: 26686 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 26687 L_250A9149: 26688 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 26689 L_250A914E: 26690 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 26691 L_250A9150: 26692 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 26693 L_250A9152: 26694 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 26695 L_250A9154: 26696 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 26697 L_250A9156: 26698 PUSH32(esp, eax); /* 0x250A9156: push eax */ 26699 L_250A9157: 26700 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 26701 L_250A9158: 26702 ecx = esi; /* 0x250A9158: mov ecx, esi */ 26703 L_250A915A: 26704 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 26705 RECOMP_FLAGS_IN(); 26706 L_250A915F: 26707 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 26708 L_250A9162: 26709 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 26710 edi = edi + 1; /* 0x250A9162: inc edi */ 26711 _flag_k = FK_INC; 26712 L_250A9163: 26713 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 26714 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26715 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 26716 _flag_k = FK_ADD; 26717 L_250A9166: 26718 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 26719 L_250A9169: 26720 RECOMP_BACKEDGE(); 26721 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 26722 L_250A916B: 26723 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 26724 L_250A916E: 26725 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 26726 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26727 _cf = 0; 26728 _flag_k = FK_NARROW(FK_TEST, 24); 26729 L_250A9170: 26730 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 26731 L_250A9172: 26732 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 26733 L_250A9178: 26734 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 26735 L_250A917D: 26736 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 26737 L_250A9183: 26738 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 26739 L_250A9188: 26740 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 26741 L_250A918E: 26742 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 26743 L_250A9190: 26744 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 26745 L_250A9192: 26746 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 26747 L_250A9195: 26748 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 26749 L_250A9197: 26750 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 26751 L_250A919A: 26752 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 26753 L_250A919D: 26754 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 26755 L_250A91A2: 26756 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 26757 L_250A91A4: 26758 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 26759 L_250A91A6: 26760 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 26761 L_250A91A8: 26762 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 26763 L_250A91AB: 26764 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 26765 L_250A91AD: 26766 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 26767 L_250A91B0: 26768 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 26769 L_250A91B1: 26770 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 26771 L_250A91B2: 26772 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 26773 L_250A91B4: 26774 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 26775 L_250A91B7: 26776 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 26777 L_250A91BA: 26778 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 26779 L_250A91BC: 26780 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 26781 L_250A91BF: 26782 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 26783 L_250A91C5: 26784 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 26785 L_250A91C8: 26786 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 26787 L_250A91CB: 26788 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 26789 L_250A91D1: 26790 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 26791 L_250A91D4: 26792 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 26793 L_250A91D7: 26794 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 26795 RECOMP_FLAGS_IN(); 26796 L_250A91DC: 26797 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 26798 L_250A91E2: 26799 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 26800 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26801 _cf = 0; 26802 _flag_k = FK_NARROW(FK_TEST, 24); 26803 L_250A91E4: 26804 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 26805 L_250A91EA: 26806 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 26807 L_250A91F0: 26808 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 26809 L_250A91F6: 26810 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 26811 L_250A91FC: 26812 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 26813 L_250A91FE: 26814 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 26815 L_250A9200: 26816 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 26817 L_250A9202: 26818 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 26819 L_250A9209: 26820 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 26821 L_250A920C: 26822 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 26823 L_250A920F: 26824 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 26825 RECOMP_FLAGS_IN(); 26826 L_250A9214: 26827 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 26828 L_250A9217: 26829 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 26830 L_250A921C: 26831 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 26832 L_250A9222: 26833 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 26834 L_250A9228: 26835 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 26836 L_250A922A: 26837 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 26838 L_250A922C: 26839 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26840 edi = 0; /* 0x250A922C: xor edi, edi */ 26841 _cf = 0; 26842 _flag_k = FK_TEST; 26843 L_250A922E: 26844 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 26845 L_250A9230: 26846 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 26847 L_250A9233: 26848 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 26849 L_250A923A: 26850 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 26851 L_250A923D: 26852 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 26853 L_250A9240: 26854 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 26855 RECOMP_FLAGS_IN(); 26856 L_250A9245: 26857 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 26858 L_250A9248: 26859 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 26860 L_250A924E: 26861 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 26862 L_250A9254: 26863 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 26864 L_250A925A: 26865 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 26866 L_250A925C: 26867 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 26868 L_250A925E: 26869 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 26870 L_250A9260: 26871 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 26872 L_250A9264: 26873 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 26874 L_250A926B: 26875 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 26876 L_250A9271: 26877 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 26878 L_250A9274: 26879 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 26880 RECOMP_FLAGS_IN(); 26881 L_250A9279: 26882 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 26883 L_250A927C: 26884 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 26885 L_250A9282: 26886 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 26887 L_250A9288: 26888 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 26889 L_250A928E: 26890 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 26891 L_250A9290: 26892 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 26893 L_250A9292: 26894 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 26895 L_250A9294: 26896 PUSH32(esp, edi); /* 0x250A9294: push edi */ 26897 L_250A9295: 26898 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 26899 L_250A9299: 26900 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 26901 L_250A929F: 26902 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 26903 L_250A92A9: 26904 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 26905 L_250A92AC: 26906 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 26907 L_250A92B2: 26908 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 26909 RECOMP_FLAGS_IN(); 26910 L_250A92B7: 26911 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 26912 L_250A92BD: 26913 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 26914 L_250A92C2: 26915 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 26916 L_250A92C8: 26917 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 26918 L_250A92CE: 26919 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 26920 L_250A92D0: 26921 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 26922 L_250A92D1: 26923 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 26924 L_250A92D3: 26925 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 26926 L_250A92D4: 26927 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 26928 L_250A92D8: 26929 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 26930 L_250A92DE: 26931 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 26932 L_250A92E8: 26933 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 26934 L_250A92EB: 26935 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 26936 L_250A92F1: 26937 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 26938 RECOMP_FLAGS_IN(); 26939 L_250A92F6: 26940 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 26941 L_250A92FC: 26942 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 26943 L_250A92FF: 26944 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 26945 L_250A9301: 26946 PUSH32(esp, edi); /* 0x250A9301: push edi */ 26947 L_250A9302: 26948 PUSH32(esp, edi); /* 0x250A9302: push edi */ 26949 L_250A9303: 26950 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 26951 L_250A9307: 26952 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 26953 RECOMP_FLAGS_IN(); 26954 L_250A930C: 26955 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 26956 L_250A930E: 26957 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 26958 RECOMP_FLAGS_IN(); 26959 L_250A9313: 26960 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 26961 L_250A9316: 26962 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 26963 L_250A9319: 26964 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 26965 L_250A931B: 26966 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 26967 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 26968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26969 _flag_k = FK_CMP; 26970 L_250A931D: 26971 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 26972 L_250A9323: 26973 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 26974 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 26975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26976 _flag_k = FK_CMP; 26977 L_250A9327: 26978 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 26979 L_250A932D: 26980 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 26981 L_250A9330: 26982 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 26983 L_250A9333: 26984 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 26985 L_250A9336: 26986 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 26987 L_250A9339: 26988 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 26989 L_250A933B: 26990 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 26991 L_250A933E: 26992 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 26993 L_250A9341: 26994 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 26995 L_250A9344: 26996 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 26997 L_250A9347: 26998 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 26999 L_250A934A: 27000 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 27001 L_250A934B: 27002 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 27003 L_250A934E: 27004 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 27005 L_250A9355: 27006 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 27007 L_250A935C: 27008 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 27009 L_250A9363: 27010 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 27011 L_250A9366: 27012 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 27013 L_250A9369: 27014 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 27015 RECOMP_FLAGS_IN(); 27016 L_250A936F: 27017 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 27018 L_250A9371: 27019 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 27020 L_250A9374: 27021 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 27022 L_250A9377: 27023 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 27024 L_250A937A: 27025 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 27026 L_250A937D: 27027 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 27028 L_250A9380: 27029 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 27030 L_250A9382: 27031 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 27032 L_250A9388: 27033 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 27034 L_250A938B: 27035 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 27036 L_250A938E: 27037 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 27038 L_250A9391: 27039 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 27040 L_250A9394: 27041 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 27042 L_250A9395: 27043 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 27044 L_250A939B: 27045 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 27046 L_250A93A1: 27047 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 27048 L_250A93A7: 27049 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 27050 RECOMP_FLAGS_IN(); 27051 L_250A93AD: 27052 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 27053 L_250A93B0: 27054 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 27055 L_250A93B2: 27056 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 27057 L_250A93B4: 27058 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 27059 L_250A93B7: 27060 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 27061 L_250A93BA: 27062 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 27063 L_250A93BD: 27064 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 27065 L_250A93BF: 27066 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 27067 L_250A93C2: 27068 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 27069 L_250A93C5: 27070 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 27071 L_250A93CA: 27072 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 27073 L_250A93CD: 27074 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 27075 L_250A93D0: 27076 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 27077 L_250A93D3: 27078 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 27079 L_250A93D6: 27080 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 27081 L_250A93D8: 27082 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 27083 L_250A93DB: 27084 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 27085 L_250A93DE: 27086 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 27087 L_250A93E0: 27088 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 27089 L_250A93E3: 27090 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 27091 L_250A93E5: 27092 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 27093 RECOMP_FLAGS_IN(); 27094 L_250A93EB: 27095 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 27096 L_250A93EE: 27097 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 27098 L_250A93EF: 27099 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 27100 L_250A93F2: 27101 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 27102 RECOMP_FLAGS_IN(); 27103 L_250A93F8: 27104 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 27105 L_250A93FB: 27106 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 27107 L_250A93FC: 27108 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 27109 L_250A93FF: 27110 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 27111 RECOMP_FLAGS_IN(); 27112 L_250A9405: 27113 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 27114 L_250A9408: 27115 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 27116 L_250A940A: 27117 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 27118 L_250A940D: 27119 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 27120 L_250A9410: 27121 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 27122 L_250A9413: 27123 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 27124 L_250A9415: 27125 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 27126 L_250A9418: 27127 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 27128 L_250A941A: 27129 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 27130 L_250A9420: 27131 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 27132 L_250A9421: 27133 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 27134 L_250A942B: 27135 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 27136 L_250A9431: 27137 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 27138 L_250A9437: 27139 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 27140 L_250A943D: 27141 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 27142 L_250A9440: 27143 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 27144 L_250A9443: 27145 PUSH32(esp, edx); /* 0x250A9443: push edx */ 27146 L_250A9444: 27147 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 27148 L_250A9447: 27149 PUSH32(esp, eax); /* 0x250A9447: push eax */ 27150 L_250A9448: 27151 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 27152 L_250A944D: 27153 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 27154 L_250A9453: 27155 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 27156 L_250A9454: 27157 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 27158 L_250A9455: 27159 ecx = esi; /* 0x250A9455: mov ecx, esi */ 27160 L_250A9457: 27161 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 27162 RECOMP_FLAGS_IN(); 27163 L_250A945C: 27164 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 27165 L_250A945F: 27166 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 27167 L_250A9461: 27168 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 27169 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 27170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27171 _flag_k = FK_CMP; 27172 L_250A9464: 27173 RECOMP_BACKEDGE(); 27174 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 27175 L_250A946A: 27176 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 27177 L_250A9470: 27178 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 27179 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27180 _cf = 0; 27181 _flag_k = FK_NARROW(FK_TEST, 24); 27182 L_250A9472: 27183 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 27184 L_250A9476: 27185 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 27186 L_250A9478: 27187 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 27188 L_250A947B: 27189 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 27190 L_250A9480: 27191 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 27192 L_250A9486: 27193 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 27194 L_250A9488: 27195 PUSH32(esp, edx); /* 0x250A9488: push edx */ 27196 L_250A9489: 27197 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 27198 L_250A948B: 27199 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 27200 L_250A948D: 27201 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 27202 RECOMP_FLAGS_IN(); 27203 L_250A9492: 27204 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 27205 L_250A9498: 27206 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 27207 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27208 _cf = 0; 27209 _flag_k = FK_NARROW(FK_TEST, 24); 27210 L_250A949A: 27211 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 27212 L_250A949E: 27213 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 27214 L_250A94A0: 27215 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 27216 L_250A94A3: 27217 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 27218 L_250A94A8: 27219 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 27220 L_250A94AE: 27221 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 27222 L_250A94B0: 27223 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 27224 L_250A94B1: 27225 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 27226 L_250A94B3: 27227 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 27228 L_250A94B5: 27229 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 27230 RECOMP_FLAGS_IN(); 27231 L_250A94BA: 27232 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 27233 L_250A94BD: 27234 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 27235 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27236 _cf = 0; 27237 _flag_k = FK_NARROW(FK_TEST, 24); 27238 L_250A94BF: 27239 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 27240 L_250A94C3: 27241 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 27242 L_250A94C5: 27243 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 27244 L_250A94CB: 27245 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 27246 L_250A94D0: 27247 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 27248 L_250A94D6: 27249 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 27250 L_250A94D8: 27251 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 27252 L_250A94D9: 27253 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 27254 L_250A94DB: 27255 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 27256 RECOMP_FLAGS_IN(); 27257 L_250A94E0: 27258 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 27259 L_250A94E3: 27260 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 27261 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27262 _cf = 0; 27263 _flag_k = FK_NARROW(FK_TEST, 24); 27264 L_250A94E5: 27265 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 27266 L_250A94E9: 27267 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 27268 L_250A94EB: 27269 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 27270 L_250A94EE: 27271 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 27272 L_250A94F3: 27273 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 27274 L_250A94F9: 27275 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 27276 L_250A94FB: 27277 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 27278 L_250A94FC: 27279 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 27280 L_250A94FE: 27281 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 27282 RECOMP_FLAGS_IN(); 27283 L_250A9503: 27284 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 27285 L_250A9506: 27286 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 27287 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27288 _cf = 0; 27289 _flag_k = FK_NARROW(FK_TEST, 24); 27290 L_250A9508: 27291 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 27292 L_250A950F: 27293 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 27294 L_250A9511: 27295 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 27296 L_250A9514: 27297 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 27298 L_250A951A: 27299 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 27300 L_250A9520: 27301 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 27302 L_250A9522: 27303 PUSH32(esp, eax); /* 0x250A9522: push eax */ 27304 L_250A9523: 27305 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 27306 L_250A9525: 27307 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 27308 RECOMP_FLAGS_IN(); 27309 L_250A952A: 27310 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 27311 L_250A952D: 27312 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 27313 L_250A952E: 27314 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 27315 L_250A952F: 27316 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 27317 L_250A9530: 27318 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 27319 L_250A9537: 27320 esp = ebp; /* 0x250A9537: mov esp, ebp */ 27321 L_250A9539: 27322 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 27323 L_250A953A: 27324 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 27325 _ljump: 27326 switch (_itail_tgt) { 27327 case 0x250A8FE9u: goto L_250A8FE9; 27328 case 0x250A8FECu: goto L_250A8FEC; 27329 case 0x250A8FF2u: goto L_250A8FF2; 27330 case 0x250A8FF4u: goto L_250A8FF4; 27331 case 0x250A8FFAu: goto L_250A8FFA; 27332 case 0x250A9000u: goto L_250A9000; 27333 case 0x250A9002u: goto L_250A9002; 27334 case 0x250A9007u: goto L_250A9007; 27335 case 0x250A9009u: goto L_250A9009; 27336 case 0x250A900Cu: goto L_250A900C; 27337 case 0x250A900Fu: goto L_250A900F; 27338 case 0x250A9011u: goto L_250A9011; 27339 case 0x250A9014u: goto L_250A9014; 27340 case 0x250A9016u: goto L_250A9016; 27341 case 0x250A9018u: goto L_250A9018; 27342 case 0x250A901Eu: goto L_250A901E; 27343 case 0x250A9021u: goto L_250A9021; 27344 case 0x250A9027u: goto L_250A9027; 27345 case 0x250A902Au: goto L_250A902A; 27346 case 0x250A902Du: goto L_250A902D; 27347 case 0x250A902Eu: goto L_250A902E; 27348 case 0x250A9030u: goto L_250A9030; 27349 case 0x250A9031u: goto L_250A9031; 27350 case 0x250A9033u: goto L_250A9033; 27351 case 0x250A9038u: goto L_250A9038; 27352 case 0x250A903Au: goto L_250A903A; 27353 case 0x250A903Fu: goto L_250A903F; 27354 case 0x250A9041u: goto L_250A9041; 27355 case 0x250A9043u: goto L_250A9043; 27356 case 0x250A9046u: goto L_250A9046; 27357 case 0x250A9048u: goto L_250A9048; 27358 case 0x250A9049u: goto L_250A9049; 27359 case 0x250A904Cu: goto L_250A904C; 27360 case 0x250A904Eu: goto L_250A904E; 27361 case 0x250A9055u: goto L_250A9055; 27362 case 0x250A9057u: goto L_250A9057; 27363 case 0x250A9059u: goto L_250A9059; 27364 case 0x250A905Eu: goto L_250A905E; 27365 case 0x250A9060u: goto L_250A9060; 27366 case 0x250A9065u: goto L_250A9065; 27367 case 0x250A9068u: goto L_250A9068; 27368 case 0x250A906Au: goto L_250A906A; 27369 case 0x250A9071u: goto L_250A9071; 27370 case 0x250A9076u: goto L_250A9076; 27371 case 0x250A9078u: goto L_250A9078; 27372 case 0x250A9079u: goto L_250A9079; 27373 case 0x250A907Bu: goto L_250A907B; 27374 case 0x250A907Eu: goto L_250A907E; 27375 case 0x250A9080u: goto L_250A9080; 27376 case 0x250A9082u: goto L_250A9082; 27377 case 0x250A9084u: goto L_250A9084; 27378 case 0x250A9087u: goto L_250A9087; 27379 case 0x250A908Au: goto L_250A908A; 27380 case 0x250A9090u: goto L_250A9090; 27381 case 0x250A9092u: goto L_250A9092; 27382 case 0x250A9093u: goto L_250A9093; 27383 case 0x250A9095u: goto L_250A9095; 27384 case 0x250A9096u: goto L_250A9096; 27385 case 0x250A9099u: goto L_250A9099; 27386 case 0x250A909Au: goto L_250A909A; 27387 case 0x250A909Du: goto L_250A909D; 27388 case 0x250A909Eu: goto L_250A909E; 27389 case 0x250A909Fu: goto L_250A909F; 27390 case 0x250A90A0u: goto L_250A90A0; 27391 case 0x250A90A2u: goto L_250A90A2; 27392 case 0x250A90A7u: goto L_250A90A7; 27393 case 0x250A90AAu: goto L_250A90AA; 27394 case 0x250A90ADu: goto L_250A90AD; 27395 case 0x250A90AEu: goto L_250A90AE; 27396 case 0x250A90B1u: goto L_250A90B1; 27397 case 0x250A90B4u: goto L_250A90B4; 27398 case 0x250A90B9u: goto L_250A90B9; 27399 case 0x250A90BCu: goto L_250A90BC; 27400 case 0x250A90BEu: goto L_250A90BE; 27401 case 0x250A90C4u: goto L_250A90C4; 27402 case 0x250A90C7u: goto L_250A90C7; 27403 case 0x250A90C9u: goto L_250A90C9; 27404 case 0x250A90CFu: goto L_250A90CF; 27405 case 0x250A90D2u: goto L_250A90D2; 27406 case 0x250A90D4u: goto L_250A90D4; 27407 case 0x250A90D6u: goto L_250A90D6; 27408 case 0x250A90D9u: goto L_250A90D9; 27409 case 0x250A90DBu: goto L_250A90DB; 27410 case 0x250A90DDu: goto L_250A90DD; 27411 case 0x250A90DEu: goto L_250A90DE; 27412 case 0x250A90E0u: goto L_250A90E0; 27413 case 0x250A90E2u: goto L_250A90E2; 27414 case 0x250A90E4u: goto L_250A90E4; 27415 case 0x250A90E6u: goto L_250A90E6; 27416 case 0x250A90E9u: goto L_250A90E9; 27417 case 0x250A90EEu: goto L_250A90EE; 27418 case 0x250A90F0u: goto L_250A90F0; 27419 case 0x250A90F5u: goto L_250A90F5; 27420 case 0x250A90F7u: goto L_250A90F7; 27421 case 0x250A90FAu: goto L_250A90FA; 27422 case 0x250A9100u: goto L_250A9100; 27423 case 0x250A9102u: goto L_250A9102; 27424 case 0x250A9104u: goto L_250A9104; 27425 case 0x250A910Au: goto L_250A910A; 27426 case 0x250A910Cu: goto L_250A910C; 27427 case 0x250A9111u: goto L_250A9111; 27428 case 0x250A9113u: goto L_250A9113; 27429 case 0x250A9116u: goto L_250A9116; 27430 case 0x250A9118u: goto L_250A9118; 27431 case 0x250A911Bu: goto L_250A911B; 27432 case 0x250A911Du: goto L_250A911D; 27433 case 0x250A911Fu: goto L_250A911F; 27434 case 0x250A9121u: goto L_250A9121; 27435 case 0x250A9127u: goto L_250A9127; 27436 case 0x250A912Au: goto L_250A912A; 27437 case 0x250A912Du: goto L_250A912D; 27438 case 0x250A9130u: goto L_250A9130; 27439 case 0x250A9132u: goto L_250A9132; 27440 case 0x250A9134u: goto L_250A9134; 27441 case 0x250A9137u: goto L_250A9137; 27442 case 0x250A913Cu: goto L_250A913C; 27443 case 0x250A913Eu: goto L_250A913E; 27444 case 0x250A9143u: goto L_250A9143; 27445 case 0x250A9144u: goto L_250A9144; 27446 case 0x250A9149u: goto L_250A9149; 27447 case 0x250A914Eu: goto L_250A914E; 27448 case 0x250A9150u: goto L_250A9150; 27449 case 0x250A9152u: goto L_250A9152; 27450 case 0x250A9154u: goto L_250A9154; 27451 case 0x250A9156u: goto L_250A9156; 27452 case 0x250A9157u: goto L_250A9157; 27453 case 0x250A9158u: goto L_250A9158; 27454 case 0x250A915Au: goto L_250A915A; 27455 case 0x250A915Fu: goto L_250A915F; 27456 case 0x250A9162u: goto L_250A9162; 27457 case 0x250A9163u: goto L_250A9163; 27458 case 0x250A9166u: goto L_250A9166; 27459 case 0x250A9169u: goto L_250A9169; 27460 case 0x250A916Bu: goto L_250A916B; 27461 case 0x250A916Eu: goto L_250A916E; 27462 case 0x250A9170u: goto L_250A9170; 27463 case 0x250A9172u: goto L_250A9172; 27464 case 0x250A9178u: goto L_250A9178; 27465 case 0x250A917Du: goto L_250A917D; 27466 case 0x250A9183u: goto L_250A9183; 27467 case 0x250A9188u: goto L_250A9188; 27468 case 0x250A918Eu: goto L_250A918E; 27469 case 0x250A9190u: goto L_250A9190; 27470 case 0x250A9192u: goto L_250A9192; 27471 case 0x250A9195u: goto L_250A9195; 27472 case 0x250A9197u: goto L_250A9197; 27473 case 0x250A919Au: goto L_250A919A; 27474 case 0x250A919Du: goto L_250A919D; 27475 case 0x250A91A2u: goto L_250A91A2; 27476 case 0x250A91A4u: goto L_250A91A4; 27477 case 0x250A91A6u: goto L_250A91A6; 27478 case 0x250A91A8u: goto L_250A91A8; 27479 case 0x250A91ABu: goto L_250A91AB; 27480 case 0x250A91ADu: goto L_250A91AD; 27481 case 0x250A91B0u: goto L_250A91B0; 27482 case 0x250A91B1u: goto L_250A91B1; 27483 case 0x250A91B2u: goto L_250A91B2; 27484 case 0x250A91B4u: goto L_250A91B4; 27485 case 0x250A91B7u: goto L_250A91B7; 27486 case 0x250A91BAu: goto L_250A91BA; 27487 case 0x250A91BCu: goto L_250A91BC; 27488 case 0x250A91BFu: goto L_250A91BF; 27489 case 0x250A91C5u: goto L_250A91C5; 27490 case 0x250A91C8u: goto L_250A91C8; 27491 case 0x250A91CBu: goto L_250A91CB; 27492 case 0x250A91D1u: goto L_250A91D1; 27493 case 0x250A91D4u: goto L_250A91D4; 27494 case 0x250A91D7u: goto L_250A91D7; 27495 case 0x250A91DCu: goto L_250A91DC; 27496 case 0x250A91E2u: goto L_250A91E2; 27497 case 0x250A91E4u: goto L_250A91E4; 27498 case 0x250A91EAu: goto L_250A91EA; 27499 case 0x250A91F0u: goto L_250A91F0; 27500 case 0x250A91F6u: goto L_250A91F6; 27501 case 0x250A91FCu: goto L_250A91FC; 27502 case 0x250A91FEu: goto L_250A91FE; 27503 case 0x250A9200u: goto L_250A9200; 27504 case 0x250A9202u: goto L_250A9202; 27505 case 0x250A9209u: goto L_250A9209; 27506 case 0x250A920Cu: goto L_250A920C; 27507 case 0x250A920Fu: goto L_250A920F; 27508 case 0x250A9214u: goto L_250A9214; 27509 case 0x250A9217u: goto L_250A9217; 27510 case 0x250A921Cu: goto L_250A921C; 27511 case 0x250A9222u: goto L_250A9222; 27512 case 0x250A9228u: goto L_250A9228; 27513 case 0x250A922Au: goto L_250A922A; 27514 case 0x250A922Cu: goto L_250A922C; 27515 case 0x250A922Eu: goto L_250A922E; 27516 case 0x250A9230u: goto L_250A9230; 27517 case 0x250A9233u: goto L_250A9233; 27518 case 0x250A923Au: goto L_250A923A; 27519 case 0x250A923Du: goto L_250A923D; 27520 case 0x250A9240u: goto L_250A9240; 27521 case 0x250A9245u: goto L_250A9245; 27522 case 0x250A9248u: goto L_250A9248; 27523 case 0x250A924Eu: goto L_250A924E; 27524 case 0x250A9254u: goto L_250A9254; 27525 case 0x250A925Au: goto L_250A925A; 27526 case 0x250A925Cu: goto L_250A925C; 27527 case 0x250A925Eu: goto L_250A925E; 27528 case 0x250A9260u: goto L_250A9260; 27529 case 0x250A9264u: goto L_250A9264; 27530 case 0x250A926Bu: goto L_250A926B; 27531 case 0x250A9271u: goto L_250A9271; 27532 case 0x250A9274u: goto L_250A9274; 27533 case 0x250A9279u: goto L_250A9279; 27534 case 0x250A927Cu: goto L_250A927C; 27535 case 0x250A9282u: goto L_250A9282; 27536 case 0x250A9288u: goto L_250A9288; 27537 case 0x250A928Eu: goto L_250A928E; 27538 case 0x250A9290u: goto L_250A9290; 27539 case 0x250A9292u: goto L_250A9292; 27540 case 0x250A9294u: goto L_250A9294; 27541 case 0x250A9295u: goto L_250A9295; 27542 case 0x250A9299u: goto L_250A9299; 27543 case 0x250A929Fu: goto L_250A929F; 27544 case 0x250A92A9u: goto L_250A92A9; 27545 case 0x250A92ACu: goto L_250A92AC; 27546 case 0x250A92B2u: goto L_250A92B2; 27547 case 0x250A92B7u: goto L_250A92B7; 27548 case 0x250A92BDu: goto L_250A92BD; 27549 case 0x250A92C2u: goto L_250A92C2; 27550 case 0x250A92C8u: goto L_250A92C8; 27551 case 0x250A92CEu: goto L_250A92CE; 27552 case 0x250A92D0u: goto L_250A92D0; 27553 case 0x250A92D1u: goto L_250A92D1; 27554 case 0x250A92D3u: goto L_250A92D3; 27555 case 0x250A92D4u: goto L_250A92D4; 27556 case 0x250A92D8u: goto L_250A92D8; 27557 case 0x250A92DEu: goto L_250A92DE; 27558 case 0x250A92E8u: goto L_250A92E8; 27559 case 0x250A92EBu: goto L_250A92EB; 27560 case 0x250A92F1u: goto L_250A92F1; 27561 case 0x250A92F6u: goto L_250A92F6; 27562 case 0x250A92FCu: goto L_250A92FC; 27563 case 0x250A92FFu: goto L_250A92FF; 27564 case 0x250A9301u: goto L_250A9301; 27565 case 0x250A9302u: goto L_250A9302; 27566 case 0x250A9303u: goto L_250A9303; 27567 case 0x250A9307u: goto L_250A9307; 27568 case 0x250A930Cu: goto L_250A930C; 27569 case 0x250A930Eu: goto L_250A930E; 27570 case 0x250A9313u: goto L_250A9313; 27571 case 0x250A9316u: goto L_250A9316; 27572 case 0x250A9319u: goto L_250A9319; 27573 case 0x250A931Bu: goto L_250A931B; 27574 case 0x250A931Du: goto L_250A931D; 27575 case 0x250A9323u: goto L_250A9323; 27576 case 0x250A9327u: goto L_250A9327; 27577 case 0x250A932Du: goto L_250A932D; 27578 case 0x250A9330u: goto L_250A9330; 27579 case 0x250A9333u: goto L_250A9333; 27580 case 0x250A9336u: goto L_250A9336; 27581 case 0x250A9339u: goto L_250A9339; 27582 case 0x250A933Bu: goto L_250A933B; 27583 case 0x250A933Eu: goto L_250A933E; 27584 case 0x250A9341u: goto L_250A9341; 27585 case 0x250A9344u: goto L_250A9344; 27586 case 0x250A9347u: goto L_250A9347; 27587 case 0x250A934Au: goto L_250A934A; 27588 case 0x250A934Bu: goto L_250A934B; 27589 case 0x250A934Eu: goto L_250A934E; 27590 case 0x250A9355u: goto L_250A9355; 27591 case 0x250A935Cu: goto L_250A935C; 27592 case 0x250A9363u: goto L_250A9363; 27593 case 0x250A9366u: goto L_250A9366; 27594 case 0x250A9369u: goto L_250A9369; 27595 case 0x250A936Fu: goto L_250A936F; 27596 case 0x250A9371u: goto L_250A9371; 27597 case 0x250A9374u: goto L_250A9374; 27598 case 0x250A9377u: goto L_250A9377; 27599 case 0x250A937Au: goto L_250A937A; 27600 case 0x250A937Du: goto L_250A937D; 27601 case 0x250A9380u: goto L_250A9380; 27602 case 0x250A9382u: goto L_250A9382; 27603 case 0x250A9388u: goto L_250A9388; 27604 case 0x250A938Bu: goto L_250A938B; 27605 case 0x250A938Eu: goto L_250A938E; 27606 case 0x250A9391u: goto L_250A9391; 27607 case 0x250A9394u: goto L_250A9394; 27608 case 0x250A9395u: goto L_250A9395; 27609 case 0x250A939Bu: goto L_250A939B; 27610 case 0x250A93A1u: goto L_250A93A1; 27611 case 0x250A93A7u: goto L_250A93A7; 27612 case 0x250A93ADu: goto L_250A93AD; 27613 case 0x250A93B0u: goto L_250A93B0; 27614 case 0x250A93B2u: goto L_250A93B2; 27615 case 0x250A93B4u: goto L_250A93B4; 27616 case 0x250A93B7u: goto L_250A93B7; 27617 case 0x250A93BAu: goto L_250A93BA; 27618 case 0x250A93BDu: goto L_250A93BD; 27619 case 0x250A93BFu: goto L_250A93BF; 27620 case 0x250A93C2u: goto L_250A93C2; 27621 case 0x250A93C5u: goto L_250A93C5; 27622 case 0x250A93CAu: goto L_250A93CA; 27623 case 0x250A93CDu: goto L_250A93CD; 27624 case 0x250A93D0u: goto L_250A93D0; 27625 case 0x250A93D3u: goto L_250A93D3; 27626 case 0x250A93D6u: goto L_250A93D6; 27627 case 0x250A93D8u: goto L_250A93D8; 27628 case 0x250A93DBu: goto L_250A93DB; 27629 case 0x250A93DEu: goto L_250A93DE; 27630 case 0x250A93E0u: goto L_250A93E0; 27631 case 0x250A93E3u: goto L_250A93E3; 27632 case 0x250A93E5u: goto L_250A93E5; 27633 case 0x250A93EBu: goto L_250A93EB; 27634 case 0x250A93EEu: goto L_250A93EE; 27635 case 0x250A93EFu: goto L_250A93EF; 27636 case 0x250A93F2u: goto L_250A93F2; 27637 case 0x250A93F8u: goto L_250A93F8; 27638 case 0x250A93FBu: goto L_250A93FB; 27639 case 0x250A93FCu: goto L_250A93FC; 27640 case 0x250A93FFu: goto L_250A93FF; 27641 case 0x250A9405u: goto L_250A9405; 27642 case 0x250A9408u: goto L_250A9408; 27643 case 0x250A940Au: goto L_250A940A; 27644 case 0x250A940Du: goto L_250A940D; 27645 case 0x250A9410u: goto L_250A9410; 27646 case 0x250A9413u: goto L_250A9413; 27647 case 0x250A9415u: goto L_250A9415; 27648 case 0x250A9418u: goto L_250A9418; 27649 case 0x250A941Au: goto L_250A941A; 27650 case 0x250A9420u: goto L_250A9420; 27651 case 0x250A9421u: goto L_250A9421; 27652 case 0x250A942Bu: goto L_250A942B; 27653 case 0x250A9431u: goto L_250A9431; 27654 case 0x250A9437u: goto L_250A9437; 27655 case 0x250A943Du: goto L_250A943D; 27656 case 0x250A9440u: goto L_250A9440; 27657 case 0x250A9443u: goto L_250A9443; 27658 case 0x250A9444u: goto L_250A9444; 27659 case 0x250A9447u: goto L_250A9447; 27660 case 0x250A9448u: goto L_250A9448; 27661 case 0x250A944Du: goto L_250A944D; 27662 case 0x250A9453u: goto L_250A9453; 27663 case 0x250A9454u: goto L_250A9454; 27664 case 0x250A9455u: goto L_250A9455; 27665 case 0x250A9457u: goto L_250A9457; 27666 case 0x250A945Cu: goto L_250A945C; 27667 case 0x250A945Fu: goto L_250A945F; 27668 case 0x250A9461u: goto L_250A9461; 27669 case 0x250A9464u: goto L_250A9464; 27670 case 0x250A946Au: goto L_250A946A; 27671 case 0x250A9470u: goto L_250A9470; 27672 case 0x250A9472u: goto L_250A9472; 27673 case 0x250A9476u: goto L_250A9476; 27674 case 0x250A9478u: goto L_250A9478; 27675 case 0x250A947Bu: goto L_250A947B; 27676 case 0x250A9480u: goto L_250A9480; 27677 case 0x250A9486u: goto L_250A9486; 27678 case 0x250A9488u: goto L_250A9488; 27679 case 0x250A9489u: goto L_250A9489; 27680 case 0x250A948Bu: goto L_250A948B; 27681 case 0x250A948Du: goto L_250A948D; 27682 case 0x250A9492u: goto L_250A9492; 27683 case 0x250A9498u: goto L_250A9498; 27684 case 0x250A949Au: goto L_250A949A; 27685 case 0x250A949Eu: goto L_250A949E; 27686 case 0x250A94A0u: goto L_250A94A0; 27687 case 0x250A94A3u: goto L_250A94A3; 27688 case 0x250A94A8u: goto L_250A94A8; 27689 case 0x250A94AEu: goto L_250A94AE; 27690 case 0x250A94B0u: goto L_250A94B0; 27691 case 0x250A94B1u: goto L_250A94B1; 27692 case 0x250A94B3u: goto L_250A94B3; 27693 case 0x250A94B5u: goto L_250A94B5; 27694 case 0x250A94BAu: goto L_250A94BA; 27695 case 0x250A94BDu: goto L_250A94BD; 27696 case 0x250A94BFu: goto L_250A94BF; 27697 case 0x250A94C3u: goto L_250A94C3; 27698 case 0x250A94C5u: goto L_250A94C5; 27699 case 0x250A94CBu: goto L_250A94CB; 27700 case 0x250A94D0u: goto L_250A94D0; 27701 case 0x250A94D6u: goto L_250A94D6; 27702 case 0x250A94D8u: goto L_250A94D8; 27703 case 0x250A94D9u: goto L_250A94D9; 27704 case 0x250A94DBu: goto L_250A94DB; 27705 case 0x250A94E0u: goto L_250A94E0; 27706 case 0x250A94E3u: goto L_250A94E3; 27707 case 0x250A94E5u: goto L_250A94E5; 27708 case 0x250A94E9u: goto L_250A94E9; 27709 case 0x250A94EBu: goto L_250A94EB; 27710 case 0x250A94EEu: goto L_250A94EE; 27711 case 0x250A94F3u: goto L_250A94F3; 27712 case 0x250A94F9u: goto L_250A94F9; 27713 case 0x250A94FBu: goto L_250A94FB; 27714 case 0x250A94FCu: goto L_250A94FC; 27715 case 0x250A94FEu: goto L_250A94FE; 27716 case 0x250A9503u: goto L_250A9503; 27717 case 0x250A9506u: goto L_250A9506; 27718 case 0x250A9508u: goto L_250A9508; 27719 case 0x250A950Fu: goto L_250A950F; 27720 case 0x250A9511u: goto L_250A9511; 27721 case 0x250A9514u: goto L_250A9514; 27722 case 0x250A951Au: goto L_250A951A; 27723 case 0x250A9520u: goto L_250A9520; 27724 case 0x250A9522u: goto L_250A9522; 27725 case 0x250A9523u: goto L_250A9523; 27726 case 0x250A9525u: goto L_250A9525; 27727 case 0x250A952Au: goto L_250A952A; 27728 case 0x250A952Du: goto L_250A952D; 27729 case 0x250A952Eu: goto L_250A952E; 27730 case 0x250A952Fu: goto L_250A952F; 27731 case 0x250A9530u: goto L_250A9530; 27732 case 0x250A9537u: goto L_250A9537; 27733 case 0x250A9539u: goto L_250A9539; 27734 case 0x250A953Au: goto L_250A953A; 27735 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 27736 } 27737 RECOMP_REGS_OUT(); 27738 } 27739 27740 void sub_250A9065(void) { 27741 int _fpu_cmp = 0; 27742 uint32_t _cf = 0; 27743 int _df = 1; 27744 uint32_t _flag_k = FK_NONE; 27745 uint32_t _flag_a = 0, _flag_b = 0; 27746 uint32_t _itail_tgt = 0; 27747 RECOMP_REGS_LOCALS 27748 RECOMP_ENTER(0x250A9065u); 27749 27750 goto L_250A9065; 27751 L_250A8FE9: 27752 MEM32(ebp + (-0x1C)) = eax; /* 0x250A8FE9: mov dword ptr [ebp - 0x1c], eax */ 27753 L_250A8FEC: 27754 eax = MEM32(esi + 0xAC); /* 0x250A8FEC: mov eax, dword ptr [esi + 0xac] */ 27755 L_250A8FF2: 27756 /* test eax, eax */ /* 0x250A8FF2: test eax, eax */ 27757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 27758 _cf = 0; 27759 _flag_k = FK_TEST; 27760 L_250A8FF4: 27761 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90B9; /* 0x250A8FF4: je 0x250a90b9 */ 27762 L_250A8FFA: 27763 ecx = MEM32(esi + 0xB0); /* 0x250A8FFA: mov ecx, dword ptr [esi + 0xb0] */ 27764 L_250A9000: 27765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 27766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27767 ecx = ecx - eax; /* 0x250A9000: sub ecx, eax */ 27768 _flag_k = FK_CMP; 27769 L_250A9002: 27770 eax = 0x66666667u; /* 0x250A9002: mov eax, 0x66666667 */ 27771 L_250A9007: 27772 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9007: imul ecx */ 27773 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 27774 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 27775 L_250A9009: 27776 eax = MEM32(ebp + 0x8); /* 0x250A9009: mov eax, dword ptr [ebp + 8] */ 27777 L_250A900C: 27778 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A900C: sar edx, 3 */ 27779 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27780 edx = (uint32_t)((int32_t)edx >> 3u); 27781 L_250A900F: 27782 ecx = edx; /* 0x250A900F: mov ecx, edx */ 27783 L_250A9011: 27784 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250A9011: shr ecx, 0x1f */ 27785 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27786 ecx = ecx >> 31u; /* 0x250A9011: shr ecx, 0x1f */ 27787 L_250A9014: 27788 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 27789 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27790 edx = edx + ecx; /* 0x250A9014: add edx, ecx */ 27791 _flag_k = FK_ADD; 27792 L_250A9016: 27793 /* cmp eax, edx */ /* 0x250A9016: cmp eax, edx */ 27794 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 27795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27796 _flag_k = FK_CMP; 27797 L_250A9018: 27798 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A90B9; /* 0x250A9018: jae 0x250a90b9 */ 27799 L_250A901E: 27800 eax = MEM32(ebp + (-0x1C)); /* 0x250A901E: mov eax, dword ptr [ebp - 0x1c] */ 27801 L_250A9021: 27802 edx = MEM32(esi + 0xAC); /* 0x250A9021: mov edx, dword ptr [esi + 0xac] */ 27803 L_250A9027: 27804 edi = edx + eax; /* 0x250A9027: lea edi, [edx + eax] */ 27805 L_250A902A: 27806 eax = MEM32(edi + 0x10); /* 0x250A902A: mov eax, dword ptr [edi + 0x10] */ 27807 L_250A902D: 27808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 27809 eax = eax - 1; /* 0x250A902D: dec eax */ 27810 _flag_k = FK_DEC; 27811 L_250A902E: 27812 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9041; /* 0x250A902E: je 0x250a9041 */ 27813 L_250A9030: 27814 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 27815 eax = eax - 1; /* 0x250A9030: dec eax */ 27816 _flag_k = FK_DEC; 27817 L_250A9031: 27818 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A903A; /* 0x250A9031: je 0x250a903a */ 27819 L_250A9033: 27820 eax = 2; /* 0x250A9033: mov eax, 2 */ 27821 L_250A9038: 27822 goto L_250A9043; /* 0x250A9038: jmp 0x250a9043 */ 27823 L_250A903A: 27824 eax = 1; /* 0x250A903A: mov eax, 1 */ 27825 L_250A903F: 27826 goto L_250A9043; /* 0x250A903F: jmp 0x250a9043 */ 27827 L_250A9041: 27828 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27829 eax = 0; /* 0x250A9041: xor eax, eax */ 27830 _cf = 0; 27831 _flag_k = FK_TEST; 27832 L_250A9043: 27833 edx = MEM32(edi + 0xC); /* 0x250A9043: mov edx, dword ptr [edi + 0xc] */ 27834 L_250A9046: 27835 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27836 ecx = 0; /* 0x250A9046: xor ecx, ecx */ 27837 _cf = 0; 27838 _flag_k = FK_TEST; 27839 L_250A9048: 27840 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 27841 edx = edx - 1; /* 0x250A9048: dec edx */ 27842 _flag_k = FK_DEC; 27843 L_250A9049: 27844 /* cmp edx, 5 */ /* 0x250A9049: cmp edx, 5 */ 27845 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 27846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27847 _flag_k = FK_CMP; 27848 L_250A904C: 27849 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250A9065; /* 0x250A904C: ja 0x250a9065 */ 27850 L_250A904E: 27851 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250A9564)); goto _ljump; } 27852 L_250A9055: 27853 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27854 ecx = 0; /* 0x250A9055: xor ecx, ecx */ 27855 _cf = 0; 27856 _flag_k = FK_TEST; 27857 L_250A9057: 27858 goto L_250A9065; /* 0x250A9057: jmp 0x250a9065 */ 27859 L_250A9059: 27860 ecx = 2; /* 0x250A9059: mov ecx, 2 */ 27861 L_250A905E: 27862 goto L_250A9065; /* 0x250A905E: jmp 0x250a9065 */ 27863 L_250A9060: 27864 ecx = 1; /* 0x250A9060: mov ecx, 1 */ 27865 L_250A9065: 27866 ecx = ecx + eax * 2; /* 0x250A9065: lea ecx, [ecx + eax*2] */ 27867 L_250A9068: 27868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 27869 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27870 eax = eax + ecx; /* 0x250A9068: add eax, ecx */ 27871 _flag_k = FK_ADD; 27872 L_250A906A: 27873 ecx = MEM32(ebp + eax * 4 + (-0x128)); /* 0x250A906A: mov ecx, dword ptr [ebp + eax*4 - 0x128] */ 27874 L_250A9071: 27875 PUSH32(esp, 0x00FFFFFFu); /* 0x250A9071: push 0xffffff */ 27876 L_250A9076: 27877 eax = ecx; /* 0x250A9076: mov eax, ecx */ 27878 L_250A9078: 27879 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250A9078: cdq */ 27880 L_250A9079: 27881 PUSH32(esp, 0x40u); /* 0x250A9079: push 0x40 */ 27882 L_250A907B: 27883 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 27884 edx = edx & 3; /* 0x250A907B: and edx, 3 */ 27885 _cf = 0; 27886 _flag_k = FK_TEST; 27887 L_250A907E: 27888 PUSH32(esp, 0x40u); /* 0x250A907E: push 0x40 */ 27889 L_250A9080: 27890 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 27891 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27892 eax = eax + edx; /* 0x250A9080: add eax, edx */ 27893 _flag_k = FK_ADD; 27894 L_250A9082: 27895 PUSH32(esp, 0x10u); /* 0x250A9082: push 0x10 */ 27896 L_250A9084: 27897 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250A9084: sar eax, 2 */ 27898 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27899 eax = (uint32_t)((int32_t)eax >> 2u); 27900 L_250A9087: 27901 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250A9087: shl eax, 4 */ 27902 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27903 eax = eax << 4u; /* 0x250A9087: shl eax, 4 */ 27904 L_250A908A: 27905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80000003u); 27906 ecx = ecx & 0x80000003u; /* 0x250A908A: and ecx, 0x80000003 */ 27907 _cf = 0; 27908 _flag_k = FK_TEST; 27909 L_250A9090: 27910 PUSH32(esp, 0x10u); /* 0x250A9090: push 0x10 */ 27911 L_250A9092: 27912 PUSH32(esp, eax); /* 0x250A9092: push eax */ 27913 L_250A9093: 27914 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NS, _cf)) goto L_250A909A; /* 0x250A9093: jns 0x250a909a */ 27915 L_250A9095: 27916 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27917 ecx = ecx - 1; /* 0x250A9095: dec ecx */ 27918 _flag_k = FK_DEC; 27919 L_250A9096: 27920 _flag_a = (uint32_t)((ecx | 0xFFFFFFFCu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFCu)); 27921 ecx = ecx | 0xFFFFFFFCu; /* 0x250A9096: or ecx, 0xfffffffc */ 27922 _cf = 0; 27923 _flag_k = FK_TEST; 27924 L_250A9099: 27925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27926 ecx = ecx + 1; /* 0x250A9099: inc ecx */ 27927 _flag_k = FK_INC; 27928 L_250A909A: 27929 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250A909A: shl ecx, 4 */ 27930 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27931 ecx = ecx << 4u; /* 0x250A909A: shl ecx, 4 */ 27932 L_250A909D: 27933 PUSH32(esp, ecx); /* 0x250A909D: push ecx */ 27934 L_250A909E: 27935 PUSH32(esp, edi); /* 0x250A909E: push edi */ 27936 L_250A909F: 27937 PUSH32(esp, ebx); /* 0x250A909F: push ebx */ 27938 L_250A90A0: 27939 ecx = esi; /* 0x250A90A0: mov ecx, esi */ 27940 L_250A90A2: 27941 RECOMP_ICALL(0x250A8410u); /* 0x250A90A2: call 0x250a8410 */ /* not lifted */ 27942 RECOMP_FLAGS_IN(); 27943 L_250A90A7: 27944 ecx = MEM32(ebp + 0x8); /* 0x250A90A7: mov ecx, dword ptr [ebp + 8] */ 27945 L_250A90AA: 27946 eax = MEM32(ebp + (-0x1C)); /* 0x250A90AA: mov eax, dword ptr [ebp - 0x1c] */ 27947 L_250A90AD: 27948 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27949 ecx = ecx + 1; /* 0x250A90AD: inc ecx */ 27950 _flag_k = FK_INC; 27951 L_250A90AE: 27952 MEM32(ebp + 0x8) = ecx; /* 0x250A90AE: mov dword ptr [ebp + 8], ecx */ 27953 L_250A90B1: 27954 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 27955 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27956 eax = eax + 0x14u; /* 0x250A90B1: add eax, 0x14 */ 27957 _flag_k = FK_ADD; 27958 L_250A90B4: 27959 RECOMP_BACKEDGE(); 27960 goto L_250A8FE9; /* 0x250A90B4: jmp 0x250a8fe9 */ 27961 L_250A90B9: 27962 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A90B9: mov al, byte ptr [esi + 0x67] */ 27963 L_250A90BC: 27964 /* test LO8(eax), LO8(eax) */ /* 0x250A90BC: test al, al */ 27965 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27966 _cf = 0; 27967 _flag_k = FK_NARROW(FK_TEST, 24); 27968 L_250A90BE: 27969 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90BE: je 0x250a91dc */ 27970 L_250A90C4: 27971 eax = MEM32(esi + 0x7C); /* 0x250A90C4: mov eax, dword ptr [esi + 0x7c] */ 27972 L_250A90C7: 27973 /* test eax, eax */ /* 0x250A90C7: test eax, eax */ 27974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 27975 _cf = 0; 27976 _flag_k = FK_TEST; 27977 L_250A90C9: 27978 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A90C9: je 0x250a91dc */ 27979 L_250A90CF: 27980 eax = MEM32(esi + 0x74); /* 0x250A90CF: mov eax, dword ptr [esi + 0x74] */ 27981 L_250A90D2: 27982 /* test eax, eax */ /* 0x250A90D2: test eax, eax */ 27983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 27984 _cf = 0; 27985 _flag_k = FK_TEST; 27986 L_250A90D4: 27987 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A90E0; /* 0x250A90D4: je 0x250a90e0 */ 27988 L_250A90D6: 27989 eax = MEM32(eax + 0x28); /* 0x250A90D6: mov eax, dword ptr [eax + 0x28] */ 27990 L_250A90D9: 27991 PUSH32(esp, 0xAu); /* 0x250A90D9: push 0xa */ 27992 L_250A90DB: 27993 PUSH32(esp, 0); /* 0x250A90DB: push 0 */ 27994 L_250A90DD: 27995 PUSH32(esp, eax); /* 0x250A90DD: push eax */ 27996 L_250A90DE: 27997 goto L_250A90E6; /* 0x250A90DE: jmp 0x250a90e6 */ 27998 L_250A90E0: 27999 PUSH32(esp, 0xAu); /* 0x250A90E0: push 0xa */ 28000 L_250A90E2: 28001 PUSH32(esp, 0); /* 0x250A90E2: push 0 */ 28002 L_250A90E4: 28003 PUSH32(esp, 0); /* 0x250A90E4: push 0 */ 28004 L_250A90E6: 28005 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 28006 L_250A90E9: 28007 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 28008 RECOMP_FLAGS_IN(); 28009 L_250A90EE: 28010 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 28011 L_250A90F0: 28012 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 28013 RECOMP_FLAGS_IN(); 28014 L_250A90F5: 28015 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28016 edi = 0; /* 0x250A90F5: xor edi, edi */ 28017 _cf = 0; 28018 _flag_k = FK_TEST; 28019 L_250A90F7: 28020 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 28021 L_250A90FA: 28022 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 28023 L_250A9100: 28024 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 28025 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 28026 _cf = 0; 28027 _flag_k = FK_TEST; 28028 L_250A9102: 28029 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 28030 L_250A9104: 28031 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 28032 L_250A910A: 28033 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 28034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28035 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 28036 _flag_k = FK_CMP; 28037 L_250A910C: 28038 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 28039 L_250A9111: 28040 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 28041 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 28042 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 28043 L_250A9113: 28044 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 28045 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28046 edx = (uint32_t)((int32_t)edx >> 3u); 28047 L_250A9116: 28048 eax = edx; /* 0x250A9116: mov eax, edx */ 28049 L_250A9118: 28050 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 28051 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28052 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 28053 L_250A911B: 28054 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 28055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28056 edx = edx + eax; /* 0x250A911B: add edx, eax */ 28057 _flag_k = FK_ADD; 28058 L_250A911D: 28059 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 28060 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28062 _flag_k = FK_CMP; 28063 L_250A911F: 28064 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 28065 L_250A9121: 28066 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 28067 L_250A9127: 28068 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 28069 L_250A912A: 28070 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 28071 L_250A912D: 28072 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 28073 L_250A9130: 28074 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 28075 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 28076 _cf = 0; 28077 _flag_k = FK_TEST; 28078 L_250A9132: 28079 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 28080 L_250A9134: 28081 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 28082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 28083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28084 _flag_k = FK_CMP; 28085 L_250A9137: 28086 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 28087 L_250A913C: 28088 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 28089 L_250A913E: 28090 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 28091 L_250A9143: 28092 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 28093 L_250A9144: 28094 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 28095 L_250A9149: 28096 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 28097 L_250A914E: 28098 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 28099 L_250A9150: 28100 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 28101 L_250A9152: 28102 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 28103 L_250A9154: 28104 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 28105 L_250A9156: 28106 PUSH32(esp, eax); /* 0x250A9156: push eax */ 28107 L_250A9157: 28108 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 28109 L_250A9158: 28110 ecx = esi; /* 0x250A9158: mov ecx, esi */ 28111 L_250A915A: 28112 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 28113 RECOMP_FLAGS_IN(); 28114 L_250A915F: 28115 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 28116 L_250A9162: 28117 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 28118 edi = edi + 1; /* 0x250A9162: inc edi */ 28119 _flag_k = FK_INC; 28120 L_250A9163: 28121 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 28122 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28123 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 28124 _flag_k = FK_ADD; 28125 L_250A9166: 28126 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 28127 L_250A9169: 28128 RECOMP_BACKEDGE(); 28129 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 28130 L_250A916B: 28131 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 28132 L_250A916E: 28133 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 28134 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28135 _cf = 0; 28136 _flag_k = FK_NARROW(FK_TEST, 24); 28137 L_250A9170: 28138 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 28139 L_250A9172: 28140 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 28141 L_250A9178: 28142 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 28143 L_250A917D: 28144 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 28145 L_250A9183: 28146 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 28147 L_250A9188: 28148 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 28149 L_250A918E: 28150 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 28151 L_250A9190: 28152 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 28153 L_250A9192: 28154 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 28155 L_250A9195: 28156 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 28157 L_250A9197: 28158 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 28159 L_250A919A: 28160 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 28161 L_250A919D: 28162 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 28163 L_250A91A2: 28164 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 28165 L_250A91A4: 28166 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 28167 L_250A91A6: 28168 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 28169 L_250A91A8: 28170 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 28171 L_250A91AB: 28172 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 28173 L_250A91AD: 28174 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 28175 L_250A91B0: 28176 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 28177 L_250A91B1: 28178 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 28179 L_250A91B2: 28180 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 28181 L_250A91B4: 28182 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 28183 L_250A91B7: 28184 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 28185 L_250A91BA: 28186 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 28187 L_250A91BC: 28188 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 28189 L_250A91BF: 28190 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 28191 L_250A91C5: 28192 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 28193 L_250A91C8: 28194 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 28195 L_250A91CB: 28196 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 28197 L_250A91D1: 28198 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 28199 L_250A91D4: 28200 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 28201 L_250A91D7: 28202 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 28203 RECOMP_FLAGS_IN(); 28204 L_250A91DC: 28205 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 28206 L_250A91E2: 28207 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 28208 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28209 _cf = 0; 28210 _flag_k = FK_NARROW(FK_TEST, 24); 28211 L_250A91E4: 28212 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 28213 L_250A91EA: 28214 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 28215 L_250A91F0: 28216 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 28217 L_250A91F6: 28218 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 28219 L_250A91FC: 28220 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 28221 L_250A91FE: 28222 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 28223 L_250A9200: 28224 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 28225 L_250A9202: 28226 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 28227 L_250A9209: 28228 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 28229 L_250A920C: 28230 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 28231 L_250A920F: 28232 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 28233 RECOMP_FLAGS_IN(); 28234 L_250A9214: 28235 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 28236 L_250A9217: 28237 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 28238 L_250A921C: 28239 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 28240 L_250A9222: 28241 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 28242 L_250A9228: 28243 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 28244 L_250A922A: 28245 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 28246 L_250A922C: 28247 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28248 edi = 0; /* 0x250A922C: xor edi, edi */ 28249 _cf = 0; 28250 _flag_k = FK_TEST; 28251 L_250A922E: 28252 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 28253 L_250A9230: 28254 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 28255 L_250A9233: 28256 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 28257 L_250A923A: 28258 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 28259 L_250A923D: 28260 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 28261 L_250A9240: 28262 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 28263 RECOMP_FLAGS_IN(); 28264 L_250A9245: 28265 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 28266 L_250A9248: 28267 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 28268 L_250A924E: 28269 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 28270 L_250A9254: 28271 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 28272 L_250A925A: 28273 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 28274 L_250A925C: 28275 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 28276 L_250A925E: 28277 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 28278 L_250A9260: 28279 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 28280 L_250A9264: 28281 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 28282 L_250A926B: 28283 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 28284 L_250A9271: 28285 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 28286 L_250A9274: 28287 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 28288 RECOMP_FLAGS_IN(); 28289 L_250A9279: 28290 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 28291 L_250A927C: 28292 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 28293 L_250A9282: 28294 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 28295 L_250A9288: 28296 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 28297 L_250A928E: 28298 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 28299 L_250A9290: 28300 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 28301 L_250A9292: 28302 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 28303 L_250A9294: 28304 PUSH32(esp, edi); /* 0x250A9294: push edi */ 28305 L_250A9295: 28306 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 28307 L_250A9299: 28308 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 28309 L_250A929F: 28310 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 28311 L_250A92A9: 28312 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 28313 L_250A92AC: 28314 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 28315 L_250A92B2: 28316 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 28317 RECOMP_FLAGS_IN(); 28318 L_250A92B7: 28319 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 28320 L_250A92BD: 28321 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 28322 L_250A92C2: 28323 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 28324 L_250A92C8: 28325 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 28326 L_250A92CE: 28327 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 28328 L_250A92D0: 28329 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 28330 L_250A92D1: 28331 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 28332 L_250A92D3: 28333 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 28334 L_250A92D4: 28335 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 28336 L_250A92D8: 28337 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 28338 L_250A92DE: 28339 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 28340 L_250A92E8: 28341 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 28342 L_250A92EB: 28343 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 28344 L_250A92F1: 28345 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 28346 RECOMP_FLAGS_IN(); 28347 L_250A92F6: 28348 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 28349 L_250A92FC: 28350 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 28351 L_250A92FF: 28352 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 28353 L_250A9301: 28354 PUSH32(esp, edi); /* 0x250A9301: push edi */ 28355 L_250A9302: 28356 PUSH32(esp, edi); /* 0x250A9302: push edi */ 28357 L_250A9303: 28358 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 28359 L_250A9307: 28360 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 28361 RECOMP_FLAGS_IN(); 28362 L_250A930C: 28363 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 28364 L_250A930E: 28365 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 28366 RECOMP_FLAGS_IN(); 28367 L_250A9313: 28368 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 28369 L_250A9316: 28370 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 28371 L_250A9319: 28372 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 28373 L_250A931B: 28374 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 28375 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 28376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28377 _flag_k = FK_CMP; 28378 L_250A931D: 28379 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 28380 L_250A9323: 28381 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 28382 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 28383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28384 _flag_k = FK_CMP; 28385 L_250A9327: 28386 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 28387 L_250A932D: 28388 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 28389 L_250A9330: 28390 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 28391 L_250A9333: 28392 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 28393 L_250A9336: 28394 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 28395 L_250A9339: 28396 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 28397 L_250A933B: 28398 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 28399 L_250A933E: 28400 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 28401 L_250A9341: 28402 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 28403 L_250A9344: 28404 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 28405 L_250A9347: 28406 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 28407 L_250A934A: 28408 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 28409 L_250A934B: 28410 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 28411 L_250A934E: 28412 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 28413 L_250A9355: 28414 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 28415 L_250A935C: 28416 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 28417 L_250A9363: 28418 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 28419 L_250A9366: 28420 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 28421 L_250A9369: 28422 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 28423 RECOMP_FLAGS_IN(); 28424 L_250A936F: 28425 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 28426 L_250A9371: 28427 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 28428 L_250A9374: 28429 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 28430 L_250A9377: 28431 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 28432 L_250A937A: 28433 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 28434 L_250A937D: 28435 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 28436 L_250A9380: 28437 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 28438 L_250A9382: 28439 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 28440 L_250A9388: 28441 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 28442 L_250A938B: 28443 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 28444 L_250A938E: 28445 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 28446 L_250A9391: 28447 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 28448 L_250A9394: 28449 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 28450 L_250A9395: 28451 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 28452 L_250A939B: 28453 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 28454 L_250A93A1: 28455 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 28456 L_250A93A7: 28457 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 28458 RECOMP_FLAGS_IN(); 28459 L_250A93AD: 28460 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 28461 L_250A93B0: 28462 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 28463 L_250A93B2: 28464 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 28465 L_250A93B4: 28466 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 28467 L_250A93B7: 28468 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 28469 L_250A93BA: 28470 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 28471 L_250A93BD: 28472 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 28473 L_250A93BF: 28474 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 28475 L_250A93C2: 28476 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 28477 L_250A93C5: 28478 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 28479 L_250A93CA: 28480 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 28481 L_250A93CD: 28482 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 28483 L_250A93D0: 28484 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 28485 L_250A93D3: 28486 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 28487 L_250A93D6: 28488 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 28489 L_250A93D8: 28490 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 28491 L_250A93DB: 28492 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 28493 L_250A93DE: 28494 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 28495 L_250A93E0: 28496 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 28497 L_250A93E3: 28498 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 28499 L_250A93E5: 28500 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 28501 RECOMP_FLAGS_IN(); 28502 L_250A93EB: 28503 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 28504 L_250A93EE: 28505 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 28506 L_250A93EF: 28507 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 28508 L_250A93F2: 28509 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 28510 RECOMP_FLAGS_IN(); 28511 L_250A93F8: 28512 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 28513 L_250A93FB: 28514 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 28515 L_250A93FC: 28516 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 28517 L_250A93FF: 28518 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 28519 RECOMP_FLAGS_IN(); 28520 L_250A9405: 28521 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 28522 L_250A9408: 28523 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 28524 L_250A940A: 28525 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 28526 L_250A940D: 28527 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 28528 L_250A9410: 28529 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 28530 L_250A9413: 28531 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 28532 L_250A9415: 28533 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 28534 L_250A9418: 28535 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 28536 L_250A941A: 28537 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 28538 L_250A9420: 28539 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 28540 L_250A9421: 28541 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 28542 L_250A942B: 28543 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 28544 L_250A9431: 28545 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 28546 L_250A9437: 28547 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 28548 L_250A943D: 28549 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 28550 L_250A9440: 28551 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 28552 L_250A9443: 28553 PUSH32(esp, edx); /* 0x250A9443: push edx */ 28554 L_250A9444: 28555 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 28556 L_250A9447: 28557 PUSH32(esp, eax); /* 0x250A9447: push eax */ 28558 L_250A9448: 28559 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 28560 L_250A944D: 28561 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 28562 L_250A9453: 28563 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 28564 L_250A9454: 28565 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 28566 L_250A9455: 28567 ecx = esi; /* 0x250A9455: mov ecx, esi */ 28568 L_250A9457: 28569 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 28570 RECOMP_FLAGS_IN(); 28571 L_250A945C: 28572 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 28573 L_250A945F: 28574 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 28575 L_250A9461: 28576 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 28577 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 28578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28579 _flag_k = FK_CMP; 28580 L_250A9464: 28581 RECOMP_BACKEDGE(); 28582 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 28583 L_250A946A: 28584 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 28585 L_250A9470: 28586 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 28587 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28588 _cf = 0; 28589 _flag_k = FK_NARROW(FK_TEST, 24); 28590 L_250A9472: 28591 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 28592 L_250A9476: 28593 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 28594 L_250A9478: 28595 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 28596 L_250A947B: 28597 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 28598 L_250A9480: 28599 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 28600 L_250A9486: 28601 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 28602 L_250A9488: 28603 PUSH32(esp, edx); /* 0x250A9488: push edx */ 28604 L_250A9489: 28605 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 28606 L_250A948B: 28607 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 28608 L_250A948D: 28609 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 28610 RECOMP_FLAGS_IN(); 28611 L_250A9492: 28612 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 28613 L_250A9498: 28614 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 28615 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28616 _cf = 0; 28617 _flag_k = FK_NARROW(FK_TEST, 24); 28618 L_250A949A: 28619 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 28620 L_250A949E: 28621 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 28622 L_250A94A0: 28623 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 28624 L_250A94A3: 28625 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 28626 L_250A94A8: 28627 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 28628 L_250A94AE: 28629 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 28630 L_250A94B0: 28631 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 28632 L_250A94B1: 28633 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 28634 L_250A94B3: 28635 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 28636 L_250A94B5: 28637 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 28638 RECOMP_FLAGS_IN(); 28639 L_250A94BA: 28640 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 28641 L_250A94BD: 28642 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 28643 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28644 _cf = 0; 28645 _flag_k = FK_NARROW(FK_TEST, 24); 28646 L_250A94BF: 28647 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 28648 L_250A94C3: 28649 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 28650 L_250A94C5: 28651 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 28652 L_250A94CB: 28653 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 28654 L_250A94D0: 28655 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 28656 L_250A94D6: 28657 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 28658 L_250A94D8: 28659 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 28660 L_250A94D9: 28661 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 28662 L_250A94DB: 28663 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 28664 RECOMP_FLAGS_IN(); 28665 L_250A94E0: 28666 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 28667 L_250A94E3: 28668 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 28669 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28670 _cf = 0; 28671 _flag_k = FK_NARROW(FK_TEST, 24); 28672 L_250A94E5: 28673 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 28674 L_250A94E9: 28675 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 28676 L_250A94EB: 28677 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 28678 L_250A94EE: 28679 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 28680 L_250A94F3: 28681 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 28682 L_250A94F9: 28683 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 28684 L_250A94FB: 28685 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 28686 L_250A94FC: 28687 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 28688 L_250A94FE: 28689 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 28690 RECOMP_FLAGS_IN(); 28691 L_250A9503: 28692 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 28693 L_250A9506: 28694 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 28695 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28696 _cf = 0; 28697 _flag_k = FK_NARROW(FK_TEST, 24); 28698 L_250A9508: 28699 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 28700 L_250A950F: 28701 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 28702 L_250A9511: 28703 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 28704 L_250A9514: 28705 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 28706 L_250A951A: 28707 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 28708 L_250A9520: 28709 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 28710 L_250A9522: 28711 PUSH32(esp, eax); /* 0x250A9522: push eax */ 28712 L_250A9523: 28713 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 28714 L_250A9525: 28715 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 28716 RECOMP_FLAGS_IN(); 28717 L_250A952A: 28718 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 28719 L_250A952D: 28720 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 28721 L_250A952E: 28722 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 28723 L_250A952F: 28724 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 28725 L_250A9530: 28726 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 28727 L_250A9537: 28728 esp = ebp; /* 0x250A9537: mov esp, ebp */ 28729 L_250A9539: 28730 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 28731 L_250A953A: 28732 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 28733 _ljump: 28734 switch (_itail_tgt) { 28735 case 0x250A8FE9u: goto L_250A8FE9; 28736 case 0x250A8FECu: goto L_250A8FEC; 28737 case 0x250A8FF2u: goto L_250A8FF2; 28738 case 0x250A8FF4u: goto L_250A8FF4; 28739 case 0x250A8FFAu: goto L_250A8FFA; 28740 case 0x250A9000u: goto L_250A9000; 28741 case 0x250A9002u: goto L_250A9002; 28742 case 0x250A9007u: goto L_250A9007; 28743 case 0x250A9009u: goto L_250A9009; 28744 case 0x250A900Cu: goto L_250A900C; 28745 case 0x250A900Fu: goto L_250A900F; 28746 case 0x250A9011u: goto L_250A9011; 28747 case 0x250A9014u: goto L_250A9014; 28748 case 0x250A9016u: goto L_250A9016; 28749 case 0x250A9018u: goto L_250A9018; 28750 case 0x250A901Eu: goto L_250A901E; 28751 case 0x250A9021u: goto L_250A9021; 28752 case 0x250A9027u: goto L_250A9027; 28753 case 0x250A902Au: goto L_250A902A; 28754 case 0x250A902Du: goto L_250A902D; 28755 case 0x250A902Eu: goto L_250A902E; 28756 case 0x250A9030u: goto L_250A9030; 28757 case 0x250A9031u: goto L_250A9031; 28758 case 0x250A9033u: goto L_250A9033; 28759 case 0x250A9038u: goto L_250A9038; 28760 case 0x250A903Au: goto L_250A903A; 28761 case 0x250A903Fu: goto L_250A903F; 28762 case 0x250A9041u: goto L_250A9041; 28763 case 0x250A9043u: goto L_250A9043; 28764 case 0x250A9046u: goto L_250A9046; 28765 case 0x250A9048u: goto L_250A9048; 28766 case 0x250A9049u: goto L_250A9049; 28767 case 0x250A904Cu: goto L_250A904C; 28768 case 0x250A904Eu: goto L_250A904E; 28769 case 0x250A9055u: goto L_250A9055; 28770 case 0x250A9057u: goto L_250A9057; 28771 case 0x250A9059u: goto L_250A9059; 28772 case 0x250A905Eu: goto L_250A905E; 28773 case 0x250A9060u: goto L_250A9060; 28774 case 0x250A9065u: goto L_250A9065; 28775 case 0x250A9068u: goto L_250A9068; 28776 case 0x250A906Au: goto L_250A906A; 28777 case 0x250A9071u: goto L_250A9071; 28778 case 0x250A9076u: goto L_250A9076; 28779 case 0x250A9078u: goto L_250A9078; 28780 case 0x250A9079u: goto L_250A9079; 28781 case 0x250A907Bu: goto L_250A907B; 28782 case 0x250A907Eu: goto L_250A907E; 28783 case 0x250A9080u: goto L_250A9080; 28784 case 0x250A9082u: goto L_250A9082; 28785 case 0x250A9084u: goto L_250A9084; 28786 case 0x250A9087u: goto L_250A9087; 28787 case 0x250A908Au: goto L_250A908A; 28788 case 0x250A9090u: goto L_250A9090; 28789 case 0x250A9092u: goto L_250A9092; 28790 case 0x250A9093u: goto L_250A9093; 28791 case 0x250A9095u: goto L_250A9095; 28792 case 0x250A9096u: goto L_250A9096; 28793 case 0x250A9099u: goto L_250A9099; 28794 case 0x250A909Au: goto L_250A909A; 28795 case 0x250A909Du: goto L_250A909D; 28796 case 0x250A909Eu: goto L_250A909E; 28797 case 0x250A909Fu: goto L_250A909F; 28798 case 0x250A90A0u: goto L_250A90A0; 28799 case 0x250A90A2u: goto L_250A90A2; 28800 case 0x250A90A7u: goto L_250A90A7; 28801 case 0x250A90AAu: goto L_250A90AA; 28802 case 0x250A90ADu: goto L_250A90AD; 28803 case 0x250A90AEu: goto L_250A90AE; 28804 case 0x250A90B1u: goto L_250A90B1; 28805 case 0x250A90B4u: goto L_250A90B4; 28806 case 0x250A90B9u: goto L_250A90B9; 28807 case 0x250A90BCu: goto L_250A90BC; 28808 case 0x250A90BEu: goto L_250A90BE; 28809 case 0x250A90C4u: goto L_250A90C4; 28810 case 0x250A90C7u: goto L_250A90C7; 28811 case 0x250A90C9u: goto L_250A90C9; 28812 case 0x250A90CFu: goto L_250A90CF; 28813 case 0x250A90D2u: goto L_250A90D2; 28814 case 0x250A90D4u: goto L_250A90D4; 28815 case 0x250A90D6u: goto L_250A90D6; 28816 case 0x250A90D9u: goto L_250A90D9; 28817 case 0x250A90DBu: goto L_250A90DB; 28818 case 0x250A90DDu: goto L_250A90DD; 28819 case 0x250A90DEu: goto L_250A90DE; 28820 case 0x250A90E0u: goto L_250A90E0; 28821 case 0x250A90E2u: goto L_250A90E2; 28822 case 0x250A90E4u: goto L_250A90E4; 28823 case 0x250A90E6u: goto L_250A90E6; 28824 case 0x250A90E9u: goto L_250A90E9; 28825 case 0x250A90EEu: goto L_250A90EE; 28826 case 0x250A90F0u: goto L_250A90F0; 28827 case 0x250A90F5u: goto L_250A90F5; 28828 case 0x250A90F7u: goto L_250A90F7; 28829 case 0x250A90FAu: goto L_250A90FA; 28830 case 0x250A9100u: goto L_250A9100; 28831 case 0x250A9102u: goto L_250A9102; 28832 case 0x250A9104u: goto L_250A9104; 28833 case 0x250A910Au: goto L_250A910A; 28834 case 0x250A910Cu: goto L_250A910C; 28835 case 0x250A9111u: goto L_250A9111; 28836 case 0x250A9113u: goto L_250A9113; 28837 case 0x250A9116u: goto L_250A9116; 28838 case 0x250A9118u: goto L_250A9118; 28839 case 0x250A911Bu: goto L_250A911B; 28840 case 0x250A911Du: goto L_250A911D; 28841 case 0x250A911Fu: goto L_250A911F; 28842 case 0x250A9121u: goto L_250A9121; 28843 case 0x250A9127u: goto L_250A9127; 28844 case 0x250A912Au: goto L_250A912A; 28845 case 0x250A912Du: goto L_250A912D; 28846 case 0x250A9130u: goto L_250A9130; 28847 case 0x250A9132u: goto L_250A9132; 28848 case 0x250A9134u: goto L_250A9134; 28849 case 0x250A9137u: goto L_250A9137; 28850 case 0x250A913Cu: goto L_250A913C; 28851 case 0x250A913Eu: goto L_250A913E; 28852 case 0x250A9143u: goto L_250A9143; 28853 case 0x250A9144u: goto L_250A9144; 28854 case 0x250A9149u: goto L_250A9149; 28855 case 0x250A914Eu: goto L_250A914E; 28856 case 0x250A9150u: goto L_250A9150; 28857 case 0x250A9152u: goto L_250A9152; 28858 case 0x250A9154u: goto L_250A9154; 28859 case 0x250A9156u: goto L_250A9156; 28860 case 0x250A9157u: goto L_250A9157; 28861 case 0x250A9158u: goto L_250A9158; 28862 case 0x250A915Au: goto L_250A915A; 28863 case 0x250A915Fu: goto L_250A915F; 28864 case 0x250A9162u: goto L_250A9162; 28865 case 0x250A9163u: goto L_250A9163; 28866 case 0x250A9166u: goto L_250A9166; 28867 case 0x250A9169u: goto L_250A9169; 28868 case 0x250A916Bu: goto L_250A916B; 28869 case 0x250A916Eu: goto L_250A916E; 28870 case 0x250A9170u: goto L_250A9170; 28871 case 0x250A9172u: goto L_250A9172; 28872 case 0x250A9178u: goto L_250A9178; 28873 case 0x250A917Du: goto L_250A917D; 28874 case 0x250A9183u: goto L_250A9183; 28875 case 0x250A9188u: goto L_250A9188; 28876 case 0x250A918Eu: goto L_250A918E; 28877 case 0x250A9190u: goto L_250A9190; 28878 case 0x250A9192u: goto L_250A9192; 28879 case 0x250A9195u: goto L_250A9195; 28880 case 0x250A9197u: goto L_250A9197; 28881 case 0x250A919Au: goto L_250A919A; 28882 case 0x250A919Du: goto L_250A919D; 28883 case 0x250A91A2u: goto L_250A91A2; 28884 case 0x250A91A4u: goto L_250A91A4; 28885 case 0x250A91A6u: goto L_250A91A6; 28886 case 0x250A91A8u: goto L_250A91A8; 28887 case 0x250A91ABu: goto L_250A91AB; 28888 case 0x250A91ADu: goto L_250A91AD; 28889 case 0x250A91B0u: goto L_250A91B0; 28890 case 0x250A91B1u: goto L_250A91B1; 28891 case 0x250A91B2u: goto L_250A91B2; 28892 case 0x250A91B4u: goto L_250A91B4; 28893 case 0x250A91B7u: goto L_250A91B7; 28894 case 0x250A91BAu: goto L_250A91BA; 28895 case 0x250A91BCu: goto L_250A91BC; 28896 case 0x250A91BFu: goto L_250A91BF; 28897 case 0x250A91C5u: goto L_250A91C5; 28898 case 0x250A91C8u: goto L_250A91C8; 28899 case 0x250A91CBu: goto L_250A91CB; 28900 case 0x250A91D1u: goto L_250A91D1; 28901 case 0x250A91D4u: goto L_250A91D4; 28902 case 0x250A91D7u: goto L_250A91D7; 28903 case 0x250A91DCu: goto L_250A91DC; 28904 case 0x250A91E2u: goto L_250A91E2; 28905 case 0x250A91E4u: goto L_250A91E4; 28906 case 0x250A91EAu: goto L_250A91EA; 28907 case 0x250A91F0u: goto L_250A91F0; 28908 case 0x250A91F6u: goto L_250A91F6; 28909 case 0x250A91FCu: goto L_250A91FC; 28910 case 0x250A91FEu: goto L_250A91FE; 28911 case 0x250A9200u: goto L_250A9200; 28912 case 0x250A9202u: goto L_250A9202; 28913 case 0x250A9209u: goto L_250A9209; 28914 case 0x250A920Cu: goto L_250A920C; 28915 case 0x250A920Fu: goto L_250A920F; 28916 case 0x250A9214u: goto L_250A9214; 28917 case 0x250A9217u: goto L_250A9217; 28918 case 0x250A921Cu: goto L_250A921C; 28919 case 0x250A9222u: goto L_250A9222; 28920 case 0x250A9228u: goto L_250A9228; 28921 case 0x250A922Au: goto L_250A922A; 28922 case 0x250A922Cu: goto L_250A922C; 28923 case 0x250A922Eu: goto L_250A922E; 28924 case 0x250A9230u: goto L_250A9230; 28925 case 0x250A9233u: goto L_250A9233; 28926 case 0x250A923Au: goto L_250A923A; 28927 case 0x250A923Du: goto L_250A923D; 28928 case 0x250A9240u: goto L_250A9240; 28929 case 0x250A9245u: goto L_250A9245; 28930 case 0x250A9248u: goto L_250A9248; 28931 case 0x250A924Eu: goto L_250A924E; 28932 case 0x250A9254u: goto L_250A9254; 28933 case 0x250A925Au: goto L_250A925A; 28934 case 0x250A925Cu: goto L_250A925C; 28935 case 0x250A925Eu: goto L_250A925E; 28936 case 0x250A9260u: goto L_250A9260; 28937 case 0x250A9264u: goto L_250A9264; 28938 case 0x250A926Bu: goto L_250A926B; 28939 case 0x250A9271u: goto L_250A9271; 28940 case 0x250A9274u: goto L_250A9274; 28941 case 0x250A9279u: goto L_250A9279; 28942 case 0x250A927Cu: goto L_250A927C; 28943 case 0x250A9282u: goto L_250A9282; 28944 case 0x250A9288u: goto L_250A9288; 28945 case 0x250A928Eu: goto L_250A928E; 28946 case 0x250A9290u: goto L_250A9290; 28947 case 0x250A9292u: goto L_250A9292; 28948 case 0x250A9294u: goto L_250A9294; 28949 case 0x250A9295u: goto L_250A9295; 28950 case 0x250A9299u: goto L_250A9299; 28951 case 0x250A929Fu: goto L_250A929F; 28952 case 0x250A92A9u: goto L_250A92A9; 28953 case 0x250A92ACu: goto L_250A92AC; 28954 case 0x250A92B2u: goto L_250A92B2; 28955 case 0x250A92B7u: goto L_250A92B7; 28956 case 0x250A92BDu: goto L_250A92BD; 28957 case 0x250A92C2u: goto L_250A92C2; 28958 case 0x250A92C8u: goto L_250A92C8; 28959 case 0x250A92CEu: goto L_250A92CE; 28960 case 0x250A92D0u: goto L_250A92D0; 28961 case 0x250A92D1u: goto L_250A92D1; 28962 case 0x250A92D3u: goto L_250A92D3; 28963 case 0x250A92D4u: goto L_250A92D4; 28964 case 0x250A92D8u: goto L_250A92D8; 28965 case 0x250A92DEu: goto L_250A92DE; 28966 case 0x250A92E8u: goto L_250A92E8; 28967 case 0x250A92EBu: goto L_250A92EB; 28968 case 0x250A92F1u: goto L_250A92F1; 28969 case 0x250A92F6u: goto L_250A92F6; 28970 case 0x250A92FCu: goto L_250A92FC; 28971 case 0x250A92FFu: goto L_250A92FF; 28972 case 0x250A9301u: goto L_250A9301; 28973 case 0x250A9302u: goto L_250A9302; 28974 case 0x250A9303u: goto L_250A9303; 28975 case 0x250A9307u: goto L_250A9307; 28976 case 0x250A930Cu: goto L_250A930C; 28977 case 0x250A930Eu: goto L_250A930E; 28978 case 0x250A9313u: goto L_250A9313; 28979 case 0x250A9316u: goto L_250A9316; 28980 case 0x250A9319u: goto L_250A9319; 28981 case 0x250A931Bu: goto L_250A931B; 28982 case 0x250A931Du: goto L_250A931D; 28983 case 0x250A9323u: goto L_250A9323; 28984 case 0x250A9327u: goto L_250A9327; 28985 case 0x250A932Du: goto L_250A932D; 28986 case 0x250A9330u: goto L_250A9330; 28987 case 0x250A9333u: goto L_250A9333; 28988 case 0x250A9336u: goto L_250A9336; 28989 case 0x250A9339u: goto L_250A9339; 28990 case 0x250A933Bu: goto L_250A933B; 28991 case 0x250A933Eu: goto L_250A933E; 28992 case 0x250A9341u: goto L_250A9341; 28993 case 0x250A9344u: goto L_250A9344; 28994 case 0x250A9347u: goto L_250A9347; 28995 case 0x250A934Au: goto L_250A934A; 28996 case 0x250A934Bu: goto L_250A934B; 28997 case 0x250A934Eu: goto L_250A934E; 28998 case 0x250A9355u: goto L_250A9355; 28999 case 0x250A935Cu: goto L_250A935C; 29000 case 0x250A9363u: goto L_250A9363; 29001 case 0x250A9366u: goto L_250A9366; 29002 case 0x250A9369u: goto L_250A9369; 29003 case 0x250A936Fu: goto L_250A936F; 29004 case 0x250A9371u: goto L_250A9371; 29005 case 0x250A9374u: goto L_250A9374; 29006 case 0x250A9377u: goto L_250A9377; 29007 case 0x250A937Au: goto L_250A937A; 29008 case 0x250A937Du: goto L_250A937D; 29009 case 0x250A9380u: goto L_250A9380; 29010 case 0x250A9382u: goto L_250A9382; 29011 case 0x250A9388u: goto L_250A9388; 29012 case 0x250A938Bu: goto L_250A938B; 29013 case 0x250A938Eu: goto L_250A938E; 29014 case 0x250A9391u: goto L_250A9391; 29015 case 0x250A9394u: goto L_250A9394; 29016 case 0x250A9395u: goto L_250A9395; 29017 case 0x250A939Bu: goto L_250A939B; 29018 case 0x250A93A1u: goto L_250A93A1; 29019 case 0x250A93A7u: goto L_250A93A7; 29020 case 0x250A93ADu: goto L_250A93AD; 29021 case 0x250A93B0u: goto L_250A93B0; 29022 case 0x250A93B2u: goto L_250A93B2; 29023 case 0x250A93B4u: goto L_250A93B4; 29024 case 0x250A93B7u: goto L_250A93B7; 29025 case 0x250A93BAu: goto L_250A93BA; 29026 case 0x250A93BDu: goto L_250A93BD; 29027 case 0x250A93BFu: goto L_250A93BF; 29028 case 0x250A93C2u: goto L_250A93C2; 29029 case 0x250A93C5u: goto L_250A93C5; 29030 case 0x250A93CAu: goto L_250A93CA; 29031 case 0x250A93CDu: goto L_250A93CD; 29032 case 0x250A93D0u: goto L_250A93D0; 29033 case 0x250A93D3u: goto L_250A93D3; 29034 case 0x250A93D6u: goto L_250A93D6; 29035 case 0x250A93D8u: goto L_250A93D8; 29036 case 0x250A93DBu: goto L_250A93DB; 29037 case 0x250A93DEu: goto L_250A93DE; 29038 case 0x250A93E0u: goto L_250A93E0; 29039 case 0x250A93E3u: goto L_250A93E3; 29040 case 0x250A93E5u: goto L_250A93E5; 29041 case 0x250A93EBu: goto L_250A93EB; 29042 case 0x250A93EEu: goto L_250A93EE; 29043 case 0x250A93EFu: goto L_250A93EF; 29044 case 0x250A93F2u: goto L_250A93F2; 29045 case 0x250A93F8u: goto L_250A93F8; 29046 case 0x250A93FBu: goto L_250A93FB; 29047 case 0x250A93FCu: goto L_250A93FC; 29048 case 0x250A93FFu: goto L_250A93FF; 29049 case 0x250A9405u: goto L_250A9405; 29050 case 0x250A9408u: goto L_250A9408; 29051 case 0x250A940Au: goto L_250A940A; 29052 case 0x250A940Du: goto L_250A940D; 29053 case 0x250A9410u: goto L_250A9410; 29054 case 0x250A9413u: goto L_250A9413; 29055 case 0x250A9415u: goto L_250A9415; 29056 case 0x250A9418u: goto L_250A9418; 29057 case 0x250A941Au: goto L_250A941A; 29058 case 0x250A9420u: goto L_250A9420; 29059 case 0x250A9421u: goto L_250A9421; 29060 case 0x250A942Bu: goto L_250A942B; 29061 case 0x250A9431u: goto L_250A9431; 29062 case 0x250A9437u: goto L_250A9437; 29063 case 0x250A943Du: goto L_250A943D; 29064 case 0x250A9440u: goto L_250A9440; 29065 case 0x250A9443u: goto L_250A9443; 29066 case 0x250A9444u: goto L_250A9444; 29067 case 0x250A9447u: goto L_250A9447; 29068 case 0x250A9448u: goto L_250A9448; 29069 case 0x250A944Du: goto L_250A944D; 29070 case 0x250A9453u: goto L_250A9453; 29071 case 0x250A9454u: goto L_250A9454; 29072 case 0x250A9455u: goto L_250A9455; 29073 case 0x250A9457u: goto L_250A9457; 29074 case 0x250A945Cu: goto L_250A945C; 29075 case 0x250A945Fu: goto L_250A945F; 29076 case 0x250A9461u: goto L_250A9461; 29077 case 0x250A9464u: goto L_250A9464; 29078 case 0x250A946Au: goto L_250A946A; 29079 case 0x250A9470u: goto L_250A9470; 29080 case 0x250A9472u: goto L_250A9472; 29081 case 0x250A9476u: goto L_250A9476; 29082 case 0x250A9478u: goto L_250A9478; 29083 case 0x250A947Bu: goto L_250A947B; 29084 case 0x250A9480u: goto L_250A9480; 29085 case 0x250A9486u: goto L_250A9486; 29086 case 0x250A9488u: goto L_250A9488; 29087 case 0x250A9489u: goto L_250A9489; 29088 case 0x250A948Bu: goto L_250A948B; 29089 case 0x250A948Du: goto L_250A948D; 29090 case 0x250A9492u: goto L_250A9492; 29091 case 0x250A9498u: goto L_250A9498; 29092 case 0x250A949Au: goto L_250A949A; 29093 case 0x250A949Eu: goto L_250A949E; 29094 case 0x250A94A0u: goto L_250A94A0; 29095 case 0x250A94A3u: goto L_250A94A3; 29096 case 0x250A94A8u: goto L_250A94A8; 29097 case 0x250A94AEu: goto L_250A94AE; 29098 case 0x250A94B0u: goto L_250A94B0; 29099 case 0x250A94B1u: goto L_250A94B1; 29100 case 0x250A94B3u: goto L_250A94B3; 29101 case 0x250A94B5u: goto L_250A94B5; 29102 case 0x250A94BAu: goto L_250A94BA; 29103 case 0x250A94BDu: goto L_250A94BD; 29104 case 0x250A94BFu: goto L_250A94BF; 29105 case 0x250A94C3u: goto L_250A94C3; 29106 case 0x250A94C5u: goto L_250A94C5; 29107 case 0x250A94CBu: goto L_250A94CB; 29108 case 0x250A94D0u: goto L_250A94D0; 29109 case 0x250A94D6u: goto L_250A94D6; 29110 case 0x250A94D8u: goto L_250A94D8; 29111 case 0x250A94D9u: goto L_250A94D9; 29112 case 0x250A94DBu: goto L_250A94DB; 29113 case 0x250A94E0u: goto L_250A94E0; 29114 case 0x250A94E3u: goto L_250A94E3; 29115 case 0x250A94E5u: goto L_250A94E5; 29116 case 0x250A94E9u: goto L_250A94E9; 29117 case 0x250A94EBu: goto L_250A94EB; 29118 case 0x250A94EEu: goto L_250A94EE; 29119 case 0x250A94F3u: goto L_250A94F3; 29120 case 0x250A94F9u: goto L_250A94F9; 29121 case 0x250A94FBu: goto L_250A94FB; 29122 case 0x250A94FCu: goto L_250A94FC; 29123 case 0x250A94FEu: goto L_250A94FE; 29124 case 0x250A9503u: goto L_250A9503; 29125 case 0x250A9506u: goto L_250A9506; 29126 case 0x250A9508u: goto L_250A9508; 29127 case 0x250A950Fu: goto L_250A950F; 29128 case 0x250A9511u: goto L_250A9511; 29129 case 0x250A9514u: goto L_250A9514; 29130 case 0x250A951Au: goto L_250A951A; 29131 case 0x250A9520u: goto L_250A9520; 29132 case 0x250A9522u: goto L_250A9522; 29133 case 0x250A9523u: goto L_250A9523; 29134 case 0x250A9525u: goto L_250A9525; 29135 case 0x250A952Au: goto L_250A952A; 29136 case 0x250A952Du: goto L_250A952D; 29137 case 0x250A952Eu: goto L_250A952E; 29138 case 0x250A952Fu: goto L_250A952F; 29139 case 0x250A9530u: goto L_250A9530; 29140 case 0x250A9537u: goto L_250A9537; 29141 case 0x250A9539u: goto L_250A9539; 29142 case 0x250A953Au: goto L_250A953A; 29143 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 29144 } 29145 RECOMP_REGS_OUT(); 29146 } 29147 29148 void sub_250A90E6(void) { 29149 int _fpu_cmp = 0; 29150 uint32_t _cf = 0; 29151 int _df = 1; 29152 uint32_t _flag_k = FK_NONE; 29153 uint32_t _flag_a = 0, _flag_b = 0; 29154 uint32_t _itail_tgt = 0; 29155 RECOMP_REGS_LOCALS 29156 RECOMP_ENTER(0x250A90E6u); 29157 29158 L_250A90E6: 29159 ecx = MEM32(ebx + 0x8); /* 0x250A90E6: mov ecx, dword ptr [ebx + 8] */ 29160 RECOMP_ICALL(0x250EFF90u); /* 0x250A90E9: call 0x250eff90 */ /* not lifted */ 29161 RECOMP_FLAGS_IN(); 29162 ecx = ebx; /* 0x250A90EE: mov ecx, ebx */ 29163 RECOMP_ICALL(0x250E05D0u); /* 0x250A90F0: call 0x250e05d0 */ /* not lifted */ 29164 RECOMP_FLAGS_IN(); 29165 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29166 edi = 0; /* 0x250A90F5: xor edi, edi */ 29167 _cf = 0; 29168 _flag_k = FK_TEST; 29169 MEM32(ebp + 0x8) = edi; /* 0x250A90F7: mov dword ptr [ebp + 8], edi */ 29170 L_250A90FA: 29171 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 29172 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 29173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 29174 _cf = 0; 29175 _flag_k = FK_TEST; 29176 if (TEST_Z(_flag_a, _flag_b)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 29177 L_250A9104: 29178 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 29179 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 29180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29181 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 29182 _flag_k = FK_CMP; 29183 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 29184 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 29185 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 29186 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 29187 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 29188 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29189 edx = (uint32_t)((int32_t)edx >> 3u); 29190 eax = edx; /* 0x250A9116: mov eax, edx */ 29191 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 29192 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29193 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 29194 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 29195 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29196 edx = edx + eax; /* 0x250A911B: add edx, eax */ 29197 _flag_k = FK_ADD; 29198 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 29199 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29201 _flag_k = FK_CMP; 29202 if (CMP_AE(_flag_a, _flag_b)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 29203 L_250A9121: 29204 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 29205 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 29206 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 29207 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 29208 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 29209 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 29210 _cf = 0; 29211 _flag_k = FK_TEST; 29212 if (TEST_LE(_flag_a, _flag_b)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 29213 L_250A9134: 29214 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 29215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 29216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29217 _flag_k = FK_CMP; 29218 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 29219 if (CMP_LE(_flag_a, _flag_b)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 29220 L_250A913E: 29221 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 29222 L_250A9143: 29223 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 29224 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 29225 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 29226 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 29227 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 29228 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 29229 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 29230 PUSH32(esp, eax); /* 0x250A9156: push eax */ 29231 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 29232 ecx = esi; /* 0x250A9158: mov ecx, esi */ 29233 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 29234 RECOMP_FLAGS_IN(); 29235 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 29236 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 29237 edi = edi + 1; /* 0x250A9162: inc edi */ 29238 _flag_k = FK_INC; 29239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 29240 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29241 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 29242 _flag_k = FK_ADD; 29243 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 29244 RECOMP_BACKEDGE(); 29245 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 29246 L_250A916B: 29247 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 29248 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 29249 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29250 _cf = 0; 29251 _flag_k = FK_NARROW(FK_TEST, 24); 29252 if (TEST_Z(_flag_a, _flag_b)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 29253 L_250A9172: 29254 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 29255 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 29256 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 29257 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 29258 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 29259 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 29260 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 29261 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 29262 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 29263 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 29264 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 29265 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 29266 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 29267 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 29268 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 29269 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 29270 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 29271 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 29272 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 29273 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 29274 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 29275 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 29276 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 29277 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 29278 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 29279 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 29280 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 29281 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 29282 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 29283 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 29284 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 29285 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 29286 RECOMP_FLAGS_IN(); 29287 L_250A91DC: 29288 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 29289 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 29290 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29291 _cf = 0; 29292 _flag_k = FK_NARROW(FK_TEST, 24); 29293 if (TEST_Z(_flag_a, _flag_b)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 29294 L_250A91EA: 29295 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 29296 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 29297 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 29298 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 29299 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 29300 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 29301 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 29302 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 29303 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 29304 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 29305 RECOMP_FLAGS_IN(); 29306 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 29307 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 29308 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 29309 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 29310 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 29311 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 29312 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29313 edi = 0; /* 0x250A922C: xor edi, edi */ 29314 _cf = 0; 29315 _flag_k = FK_TEST; 29316 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 29317 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 29318 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 29319 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 29320 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 29321 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 29322 RECOMP_FLAGS_IN(); 29323 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 29324 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 29325 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 29326 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 29327 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 29328 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 29329 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 29330 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 29331 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 29332 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 29333 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 29334 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 29335 RECOMP_FLAGS_IN(); 29336 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 29337 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 29338 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 29339 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 29340 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 29341 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 29342 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 29343 PUSH32(esp, edi); /* 0x250A9294: push edi */ 29344 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 29345 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 29346 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 29347 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 29348 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 29349 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 29350 RECOMP_FLAGS_IN(); 29351 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 29352 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 29353 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 29354 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 29355 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 29356 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 29357 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 29358 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 29359 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 29360 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 29361 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 29362 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 29363 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 29364 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 29365 RECOMP_FLAGS_IN(); 29366 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 29367 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 29368 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 29369 PUSH32(esp, edi); /* 0x250A9301: push edi */ 29370 PUSH32(esp, edi); /* 0x250A9302: push edi */ 29371 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 29372 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 29373 RECOMP_FLAGS_IN(); 29374 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 29375 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 29376 RECOMP_FLAGS_IN(); 29377 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 29378 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 29379 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 29380 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 29381 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 29382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29383 _flag_k = FK_CMP; 29384 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 29385 L_250A9323: 29386 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 29387 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 29388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29389 _flag_k = FK_CMP; 29390 if (CMP_NE(_flag_a, _flag_b)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 29391 L_250A932D: 29392 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 29393 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 29394 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 29395 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 29396 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 29397 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 29398 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 29399 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 29400 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 29401 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 29402 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 29403 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 29404 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 29405 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 29406 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 29407 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 29408 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 29409 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 29410 RECOMP_FLAGS_IN(); 29411 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 29412 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 29413 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 29414 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 29415 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 29416 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 29417 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 29418 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 29419 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 29420 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 29421 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 29422 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 29423 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 29424 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 29425 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 29426 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 29427 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 29428 RECOMP_FLAGS_IN(); 29429 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 29430 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 29431 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 29432 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 29433 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 29434 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 29435 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 29436 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 29437 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 29438 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 29439 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 29440 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 29441 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 29442 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 29443 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 29444 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 29445 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 29446 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 29447 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 29448 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 29449 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 29450 RECOMP_FLAGS_IN(); 29451 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 29452 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 29453 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 29454 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 29455 RECOMP_FLAGS_IN(); 29456 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 29457 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 29458 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 29459 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 29460 RECOMP_FLAGS_IN(); 29461 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 29462 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 29463 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 29464 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 29465 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 29466 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 29467 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 29468 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 29469 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 29470 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 29471 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 29472 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 29473 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 29474 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 29475 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 29476 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 29477 PUSH32(esp, edx); /* 0x250A9443: push edx */ 29478 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 29479 PUSH32(esp, eax); /* 0x250A9447: push eax */ 29480 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 29481 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 29482 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 29483 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 29484 ecx = esi; /* 0x250A9455: mov ecx, esi */ 29485 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 29486 RECOMP_FLAGS_IN(); 29487 L_250A945C: 29488 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 29489 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 29490 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 29491 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 29492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29493 _flag_k = FK_CMP; 29494 RECOMP_BACKEDGE(); 29495 if (CMP_NE(_flag_a, _flag_b)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 29496 L_250A946A: 29497 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 29498 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 29499 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29500 _cf = 0; 29501 _flag_k = FK_NARROW(FK_TEST, 24); 29502 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 29503 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 29504 L_250A9478: 29505 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 29506 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 29507 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 29508 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 29509 PUSH32(esp, edx); /* 0x250A9488: push edx */ 29510 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 29511 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 29512 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 29513 RECOMP_FLAGS_IN(); 29514 L_250A9492: 29515 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 29516 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 29517 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29518 _cf = 0; 29519 _flag_k = FK_NARROW(FK_TEST, 24); 29520 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 29521 if (TEST_Z(_flag_a, _flag_b)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 29522 L_250A94A0: 29523 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 29524 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 29525 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 29526 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 29527 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 29528 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 29529 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 29530 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 29531 RECOMP_FLAGS_IN(); 29532 L_250A94BA: 29533 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 29534 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 29535 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29536 _cf = 0; 29537 _flag_k = FK_NARROW(FK_TEST, 24); 29538 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 29539 if (TEST_Z(_flag_a, _flag_b)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 29540 L_250A94C5: 29541 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 29542 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 29543 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 29544 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 29545 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 29546 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 29547 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 29548 RECOMP_FLAGS_IN(); 29549 L_250A94E0: 29550 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 29551 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 29552 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29553 _cf = 0; 29554 _flag_k = FK_NARROW(FK_TEST, 24); 29555 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 29556 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 29557 L_250A94EB: 29558 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 29559 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 29560 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 29561 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 29562 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 29563 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 29564 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 29565 RECOMP_FLAGS_IN(); 29566 L_250A9503: 29567 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 29568 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 29569 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29570 _cf = 0; 29571 _flag_k = FK_NARROW(FK_TEST, 24); 29572 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 29573 if (TEST_Z(_flag_a, _flag_b)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 29574 L_250A9511: 29575 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 29576 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 29577 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 29578 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 29579 PUSH32(esp, eax); /* 0x250A9522: push eax */ 29580 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 29581 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 29582 RECOMP_FLAGS_IN(); 29583 L_250A952A: 29584 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 29585 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 29586 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 29587 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 29588 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 29589 esp = ebp; /* 0x250A9537: mov esp, ebp */ 29590 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 29591 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 29592 RECOMP_REGS_OUT(); 29593 } 29594 29595 void sub_250A90FA(void) { 29596 int _fpu_cmp = 0; 29597 uint32_t _cf = 0; 29598 int _df = 1; 29599 uint32_t _flag_k = FK_NONE; 29600 uint32_t _flag_a = 0, _flag_b = 0; 29601 uint32_t _itail_tgt = 0; 29602 RECOMP_REGS_LOCALS 29603 RECOMP_ENTER(0x250A90FAu); 29604 29605 L_250A90FA: 29606 eax = MEM32(esi + 0xAC); /* 0x250A90FA: mov eax, dword ptr [esi + 0xac] */ 29607 /* test eax, eax */ /* 0x250A9100: test eax, eax */ 29608 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 29609 _cf = 0; 29610 _flag_k = FK_TEST; 29611 if (TEST_Z(_flag_a, _flag_b)) goto L_250A916B; /* 0x250A9102: je 0x250a916b */ 29612 L_250A9104: 29613 ecx = MEM32(esi + 0xB0); /* 0x250A9104: mov ecx, dword ptr [esi + 0xb0] */ 29614 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 29615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29616 ecx = ecx - eax; /* 0x250A910A: sub ecx, eax */ 29617 _flag_k = FK_CMP; 29618 eax = 0x66666667u; /* 0x250A910C: mov eax, 0x66666667 */ 29619 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9111: imul ecx */ 29620 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 29621 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 29622 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9113: sar edx, 3 */ 29623 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29624 edx = (uint32_t)((int32_t)edx >> 3u); 29625 eax = edx; /* 0x250A9116: mov eax, edx */ 29626 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9118: shr eax, 0x1f */ 29627 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29628 eax = eax >> 31u; /* 0x250A9118: shr eax, 0x1f */ 29629 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 29630 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29631 edx = edx + eax; /* 0x250A911B: add edx, eax */ 29632 _flag_k = FK_ADD; 29633 /* cmp edi, edx */ /* 0x250A911D: cmp edi, edx */ 29634 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29636 _flag_k = FK_CMP; 29637 if (CMP_AE(_flag_a, _flag_b)) goto L_250A916B; /* 0x250A911F: jae 0x250a916b */ 29638 L_250A9121: 29639 ecx = MEM32(esi + 0xAC); /* 0x250A9121: mov ecx, dword ptr [esi + 0xac] */ 29640 edx = MEM32(ebp + 0x8); /* 0x250A9127: mov edx, dword ptr [ebp + 8] */ 29641 eax = ecx + edx; /* 0x250A912A: lea eax, [ecx + edx] */ 29642 ecx = MEM32(eax + 0xC); /* 0x250A912D: mov ecx, dword ptr [eax + 0xc] */ 29643 /* test ecx, ecx */ /* 0x250A9130: test ecx, ecx */ 29644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 29645 _cf = 0; 29646 _flag_k = FK_TEST; 29647 if (TEST_LE(_flag_a, _flag_b)) goto L_250A913E; /* 0x250A9132: jle 0x250a913e */ 29648 L_250A9134: 29649 /* cmp ecx, 2 */ /* 0x250A9134: cmp ecx, 2 */ 29650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 29651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29652 _flag_k = FK_CMP; 29653 ecx = 0x00FFFF04u; /* 0x250A9137: mov ecx, 0xffff04 */ 29654 if (CMP_LE(_flag_a, _flag_b)) goto L_250A9143; /* 0x250A913C: jle 0x250a9143 */ 29655 L_250A913E: 29656 ecx = 0xDCFFu; /* 0x250A913E: mov ecx, 0xdcff */ 29657 L_250A9143: 29658 PUSH32(esp, ecx); /* 0x250A9143: push ecx */ 29659 PUSH32(esp, 0x80u); /* 0x250A9144: push 0x80 */ 29660 PUSH32(esp, 0x80u); /* 0x250A9149: push 0x80 */ 29661 PUSH32(esp, 0x52u); /* 0x250A914E: push 0x52 */ 29662 PUSH32(esp, 0x52u); /* 0x250A9150: push 0x52 */ 29663 PUSH32(esp, 0); /* 0x250A9152: push 0 */ 29664 PUSH32(esp, 0); /* 0x250A9154: push 0 */ 29665 PUSH32(esp, eax); /* 0x250A9156: push eax */ 29666 PUSH32(esp, ebx); /* 0x250A9157: push ebx */ 29667 ecx = esi; /* 0x250A9158: mov ecx, esi */ 29668 RECOMP_ICALL(0x250A8410u); /* 0x250A915A: call 0x250a8410 */ /* not lifted */ 29669 RECOMP_FLAGS_IN(); 29670 eax = MEM32(ebp + 0x8); /* 0x250A915F: mov eax, dword ptr [ebp + 8] */ 29671 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 29672 edi = edi + 1; /* 0x250A9162: inc edi */ 29673 _flag_k = FK_INC; 29674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 29675 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29676 eax = eax + 0x14u; /* 0x250A9163: add eax, 0x14 */ 29677 _flag_k = FK_ADD; 29678 MEM32(ebp + 0x8) = eax; /* 0x250A9166: mov dword ptr [ebp + 8], eax */ 29679 RECOMP_BACKEDGE(); 29680 goto L_250A90FA; /* 0x250A9169: jmp 0x250a90fa */ 29681 L_250A916B: 29682 SET_LO8(eax, MEM8(esi + 0x68)); /* 0x250A916B: mov al, byte ptr [esi + 0x68] */ 29683 /* test LO8(eax), LO8(eax) */ /* 0x250A916E: test al, al */ 29684 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29685 _cf = 0; 29686 _flag_k = FK_NARROW(FK_TEST, 24); 29687 if (TEST_Z(_flag_a, _flag_b)) goto L_250A91DC; /* 0x250A9170: je 0x250a91dc */ 29688 L_250A9172: 29689 fp_push(*(float*)&MEM32(esi + 0x8C)); /* 0x250A9172: fld dword ptr [esi + 0x8c] */ 29690 PUSH32(esp, 0x00DCDCDCu); /* 0x250A9178: push 0xdcdcdc */ 29691 _st[0] *= *(double*)ADDR(0x25151790); /* 0x250A917D: fmul qword ptr [0x25151790] */ 29692 PUSH32(esp, 0x80u); /* 0x250A9183: push 0x80 */ 29693 eax = esi + 0x80; /* 0x250A9188: lea eax, [esi + 0x80] */ 29694 ecx = MEM32(eax); /* 0x250A918E: mov ecx, dword ptr [eax] */ 29695 fp_push(_st[0]); /* 0x250A9190: fld st(0) */ 29696 edx = MEM32(eax + 0x4); /* 0x250A9192: mov edx, dword ptr [eax + 4] */ 29697 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250A9195: fsin */ 29698 eax = MEM32(eax + 0x8); /* 0x250A9197: mov eax, dword ptr [eax + 8] */ 29699 MEM32(ebp + (-0x28)) = ecx; /* 0x250A919A: mov dword ptr [ebp - 0x28], ecx */ 29700 PUSH32(esp, 0x80u); /* 0x250A919D: push 0x80 */ 29701 PUSH32(esp, 0x52u); /* 0x250A91A2: push 0x52 */ 29702 PUSH32(esp, 0x52u); /* 0x250A91A4: push 0x52 */ 29703 PUSH32(esp, 0); /* 0x250A91A6: push 0 */ 29704 MEM32(ebp + (-0x20)) = eax; /* 0x250A91A8: mov dword ptr [ebp - 0x20], eax */ 29705 PUSH32(esp, 0); /* 0x250A91AB: push 0 */ 29706 ecx = ebp + (-0x28); /* 0x250A91AD: lea ecx, [ebp - 0x28] */ 29707 PUSH32(esp, ecx); /* 0x250A91B0: push ecx */ 29708 PUSH32(esp, ebx); /* 0x250A91B1: push ebx */ 29709 ecx = esi; /* 0x250A91B2: mov ecx, esi */ 29710 MEM32(ebp + (-0x24)) = edx; /* 0x250A91B4: mov dword ptr [ebp - 0x24], edx */ 29711 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250A91B7: fstp dword ptr [ebp + 8] */ 29712 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250A91BA: fcos */ 29713 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250A91BC: fld dword ptr [ebp + 8] */ 29714 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91BF: fmul dword ptr [0x25152e4c] */ 29715 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250A91C5: fadd dword ptr [ebp - 0x28] */ 29716 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A91C8: fstp dword ptr [ebp - 0x28] */ 29717 _st[0] *= (double)*(float*)ADDR(0x25152E4C); /* 0x250A91CB: fmul dword ptr [0x25152e4c] */ 29718 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A91D1: fadd dword ptr [ebp - 0x20] */ 29719 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A91D4: fstp dword ptr [ebp - 0x20] */ 29720 RECOMP_ICALL(0x250A8410u); /* 0x250A91D7: call 0x250a8410 */ /* not lifted */ 29721 RECOMP_FLAGS_IN(); 29722 L_250A91DC: 29723 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A91DC: mov al, byte ptr [esi + 0xdd] */ 29724 /* test LO8(eax), LO8(eax) */ /* 0x250A91E2: test al, al */ 29725 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29726 _cf = 0; 29727 _flag_k = FK_NARROW(FK_TEST, 24); 29728 if (TEST_Z(_flag_a, _flag_b)) goto L_250A952A; /* 0x250A91E4: je 0x250a952a */ 29729 L_250A91EA: 29730 edx = MEM32(0x25238B94); /* 0x250A91EA: mov edx, dword ptr [0x25238b94] */ 29731 ecx = MEM32(edx + 0x894); /* 0x250A91F0: mov ecx, dword ptr [edx + 0x894] */ 29732 eax = MEM32(ecx + 0x538); /* 0x250A91F6: mov eax, dword ptr [ecx + 0x538] */ 29733 PUSH32(esp, 0xAu); /* 0x250A91FC: push 0xa */ 29734 PUSH32(esp, 1); /* 0x250A91FE: push 1 */ 29735 PUSH32(esp, 0x1Bu); /* 0x250A9200: push 0x1b */ 29736 MEM32(ebp + (-0x50)) = 0x1Bu; /* 0x250A9202: mov dword ptr [ebp - 0x50], 0x1b */ 29737 MEM32(ebp + (-0x44)) = eax; /* 0x250A9209: mov dword ptr [ebp - 0x44], eax */ 29738 MEM32(ebp + (-0x4C)) = eax; /* 0x250A920C: mov dword ptr [ebp - 0x4c], eax */ 29739 RECOMP_ICALL(0x250EFE90u); /* 0x250A920F: call 0x250efe90 */ /* not lifted */ 29740 RECOMP_FLAGS_IN(); 29741 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(eax)); /* 0x250A9214: mov byte ptr [ebp - 0x48], al */ 29742 eax = MEM32(0x25238B94); /* 0x250A9217: mov eax, dword ptr [0x25238b94] */ 29743 ecx = MEM32(eax + 0x894); /* 0x250A921C: mov ecx, dword ptr [eax + 0x894] */ 29744 eax = MEM32(ecx + 0x518); /* 0x250A9222: mov eax, dword ptr [ecx + 0x518] */ 29745 PUSH32(esp, 0xAu); /* 0x250A9228: push 0xa */ 29746 PUSH32(esp, 6); /* 0x250A922A: push 6 */ 29747 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29748 edi = 0; /* 0x250A922C: xor edi, edi */ 29749 _cf = 0; 29750 _flag_k = FK_TEST; 29751 PUSH32(esp, 0x13u); /* 0x250A922E: push 0x13 */ 29752 MEM32(ebp + (-0x4)) = edi; /* 0x250A9230: mov dword ptr [ebp - 4], edi */ 29753 MEM32(ebp + (-0x5C)) = 0x13u; /* 0x250A9233: mov dword ptr [ebp - 0x5c], 0x13 */ 29754 MEM32(ebp + (-0x40)) = eax; /* 0x250A923A: mov dword ptr [ebp - 0x40], eax */ 29755 MEM32(ebp + (-0x58)) = eax; /* 0x250A923D: mov dword ptr [ebp - 0x58], eax */ 29756 RECOMP_ICALL(0x250EFE90u); /* 0x250A9240: call 0x250efe90 */ /* not lifted */ 29757 RECOMP_FLAGS_IN(); 29758 MEM8(ebp + (-0x54)) = (uint8_t)(LO8(eax)); /* 0x250A9245: mov byte ptr [ebp - 0x54], al */ 29759 ecx = MEM32(0x25238B94); /* 0x250A9248: mov ecx, dword ptr [0x25238b94] */ 29760 ecx = MEM32(ecx + 0x894); /* 0x250A924E: mov ecx, dword ptr [ecx + 0x894] */ 29761 eax = MEM32(ecx + 0x51C); /* 0x250A9254: mov eax, dword ptr [ecx + 0x51c] */ 29762 PUSH32(esp, 0xAu); /* 0x250A925A: push 0xa */ 29763 PUSH32(esp, 5); /* 0x250A925C: push 5 */ 29764 PUSH32(esp, 0x14u); /* 0x250A925E: push 0x14 */ 29765 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9260: mov byte ptr [ebp - 4], 1 */ 29766 MEM32(ebp + (-0x74)) = 0x14u; /* 0x250A9264: mov dword ptr [ebp - 0x74], 0x14 */ 29767 MEM32(ebp + (-0xA0)) = eax; /* 0x250A926B: mov dword ptr [ebp - 0xa0], eax */ 29768 MEM32(ebp + (-0x70)) = eax; /* 0x250A9271: mov dword ptr [ebp - 0x70], eax */ 29769 RECOMP_ICALL(0x250EFE90u); /* 0x250A9274: call 0x250efe90 */ /* not lifted */ 29770 RECOMP_FLAGS_IN(); 29771 MEM8(ebp + (-0x6C)) = (uint8_t)(LO8(eax)); /* 0x250A9279: mov byte ptr [ebp - 0x6c], al */ 29772 edx = MEM32(0x25238B94); /* 0x250A927C: mov edx, dword ptr [0x25238b94] */ 29773 ecx = MEM32(edx + 0x894); /* 0x250A9282: mov ecx, dword ptr [edx + 0x894] */ 29774 eax = MEM32(ecx + 0xD98); /* 0x250A9288: mov eax, dword ptr [ecx + 0xd98] */ 29775 PUSH32(esp, 0xAu); /* 0x250A928E: push 0xa */ 29776 PUSH32(esp, 2); /* 0x250A9290: push 2 */ 29777 PUSH32(esp, 4); /* 0x250A9292: push 4 */ 29778 PUSH32(esp, edi); /* 0x250A9294: push edi */ 29779 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9295: mov byte ptr [ebp - 4], 2 */ 29780 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9299: mov dword ptr [ebp - 0x9c], edi */ 29781 MEM32(ebp + (-0x98)) = 4; /* 0x250A929F: mov dword ptr [ebp - 0x98], 4 */ 29782 MEM32(ebp + (-0x10)) = eax; /* 0x250A92A9: mov dword ptr [ebp - 0x10], eax */ 29783 MEM32(ebp + (-0x94)) = eax; /* 0x250A92AC: mov dword ptr [ebp - 0x94], eax */ 29784 RECOMP_ICALL(0x250EFF00u); /* 0x250A92B2: call 0x250eff00 */ /* not lifted */ 29785 RECOMP_FLAGS_IN(); 29786 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x250A92B7: mov byte ptr [ebp - 0x90], al */ 29787 eax = MEM32(0x25238B94); /* 0x250A92BD: mov eax, dword ptr [0x25238b94] */ 29788 ecx = MEM32(eax + 0x894); /* 0x250A92C2: mov ecx, dword ptr [eax + 0x894] */ 29789 eax = MEM32(ecx + 0xD9C); /* 0x250A92C8: mov eax, dword ptr [ecx + 0xd9c] */ 29790 PUSH32(esp, 0xAu); /* 0x250A92CE: push 0xa */ 29791 PUSH32(esp, edi); /* 0x250A92D0: push edi */ 29792 PUSH32(esp, 5); /* 0x250A92D1: push 5 */ 29793 PUSH32(esp, edi); /* 0x250A92D3: push edi */ 29794 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A92D4: mov byte ptr [ebp - 4], 3 */ 29795 MEM32(ebp + (-0xBC)) = edi; /* 0x250A92D8: mov dword ptr [ebp - 0xbc], edi */ 29796 MEM32(ebp + (-0xB8)) = 5; /* 0x250A92DE: mov dword ptr [ebp - 0xb8], 5 */ 29797 MEM32(ebp + (-0x14)) = eax; /* 0x250A92E8: mov dword ptr [ebp - 0x14], eax */ 29798 MEM32(ebp + (-0xB4)) = eax; /* 0x250A92EB: mov dword ptr [ebp - 0xb4], eax */ 29799 RECOMP_ICALL(0x250EFF00u); /* 0x250A92F1: call 0x250eff00 */ /* not lifted */ 29800 RECOMP_FLAGS_IN(); 29801 MEM8(ebp + (-0xB0)) = (uint8_t)(LO8(eax)); /* 0x250A92F6: mov byte ptr [ebp - 0xb0], al */ 29802 ecx = MEM32(ebx + 0x8); /* 0x250A92FC: mov ecx, dword ptr [ebx + 8] */ 29803 PUSH32(esp, 0xAu); /* 0x250A92FF: push 0xa */ 29804 PUSH32(esp, edi); /* 0x250A9301: push edi */ 29805 PUSH32(esp, edi); /* 0x250A9302: push edi */ 29806 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9303: mov byte ptr [ebp - 4], 4 */ 29807 RECOMP_ICALL(0x250EFF90u); /* 0x250A9307: call 0x250eff90 */ /* not lifted */ 29808 RECOMP_FLAGS_IN(); 29809 ecx = ebx; /* 0x250A930C: mov ecx, ebx */ 29810 RECOMP_ICALL(0x250E05D0u); /* 0x250A930E: call 0x250e05d0 */ /* not lifted */ 29811 RECOMP_FLAGS_IN(); 29812 ecx = MEM32(ebp + 0xC); /* 0x250A9313: mov ecx, dword ptr [ebp + 0xc] */ 29813 eax = MEM32(ecx + 0x4); /* 0x250A9316: mov eax, dword ptr [ecx + 4] */ 29814 edi = MEM32(eax); /* 0x250A9319: mov edi, dword ptr [eax] */ 29815 /* cmp edi, eax */ /* 0x250A931B: cmp edi, eax */ 29816 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 29817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29818 _flag_k = FK_CMP; 29819 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A946A; /* 0x250A931D: je 0x250a946a */ 29820 L_250A9323: 29821 /* cmp MEM32(edi + 0x34), 9 */ /* 0x250A9323: cmp dword ptr [edi + 0x34], 9 */ 29822 _flag_a = (uint32_t)(MEM32(edi + 0x34)); _flag_b = (uint32_t)(9); 29823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29824 _flag_k = FK_CMP; 29825 if (CMP_NE(_flag_a, _flag_b)) goto L_250A945C; /* 0x250A9327: jne 0x250a945c */ 29826 L_250A932D: 29827 eax = MEM32(edi + 0x18); /* 0x250A932D: mov eax, dword ptr [edi + 0x18] */ 29828 edx = MEM32(edi + 0x10); /* 0x250A9330: mov edx, dword ptr [edi + 0x10] */ 29829 MEM32(ebp + (-0x30)) = eax; /* 0x250A9333: mov dword ptr [ebp - 0x30], eax */ 29830 eax = edi + 0x1C; /* 0x250A9336: lea eax, [edi + 0x1c] */ 29831 ecx = MEM32(eax); /* 0x250A9339: mov ecx, dword ptr [eax] */ 29832 MEM32(ebp + (-0x80)) = ecx; /* 0x250A933B: mov dword ptr [ebp - 0x80], ecx */ 29833 MEM32(ebp + 0x8) = edx; /* 0x250A933E: mov dword ptr [ebp + 8], edx */ 29834 edx = MEM32(eax + 0x4); /* 0x250A9341: mov edx, dword ptr [eax + 4] */ 29835 eax = MEM32(eax + 0x8); /* 0x250A9344: mov eax, dword ptr [eax + 8] */ 29836 ecx = ebp + (-0x68); /* 0x250A9347: lea ecx, [ebp - 0x68] */ 29837 PUSH32(esp, ecx); /* 0x250A934A: push ecx */ 29838 ecx = ebp + (-0x80); /* 0x250A934B: lea ecx, [ebp - 0x80] */ 29839 MEM32(ebp + (-0x68)) = 0; /* 0x250A934E: mov dword ptr [ebp - 0x68], 0 */ 29840 MEM32(ebp + (-0x64)) = 0; /* 0x250A9355: mov dword ptr [ebp - 0x64], 0 */ 29841 MEM32(ebp + (-0x60)) = 0x3F800000u; /* 0x250A935C: mov dword ptr [ebp - 0x60], 0x3f800000 */ 29842 MEM32(ebp + (-0x7C)) = edx; /* 0x250A9363: mov dword ptr [ebp - 0x7c], edx */ 29843 MEM32(ebp + (-0x78)) = eax; /* 0x250A9366: mov dword ptr [ebp - 0x78], eax */ 29844 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A9369: call dword ptr [0x25151564] */ 29845 RECOMP_FLAGS_IN(); 29846 edx = MEM32(eax); /* 0x250A936F: mov edx, dword ptr [eax] */ 29847 MEM32(ebp + (-0x28)) = edx; /* 0x250A9371: mov dword ptr [ebp - 0x28], edx */ 29848 ecx = MEM32(eax + 0x4); /* 0x250A9374: mov ecx, dword ptr [eax + 4] */ 29849 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9377: mov dword ptr [ebp - 0x24], ecx */ 29850 edx = MEM32(eax + 0x8); /* 0x250A937A: mov edx, dword ptr [eax + 8] */ 29851 eax = edi + 0x1C; /* 0x250A937D: lea eax, [edi + 0x1c] */ 29852 ecx = MEM32(eax); /* 0x250A9380: mov ecx, dword ptr [eax] */ 29853 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9382: mov dword ptr [ebp - 0x8c], ecx */ 29854 MEM32(ebp + (-0x20)) = edx; /* 0x250A9388: mov dword ptr [ebp - 0x20], edx */ 29855 edx = MEM32(eax + 0x4); /* 0x250A938B: mov edx, dword ptr [eax + 4] */ 29856 eax = MEM32(eax + 0x8); /* 0x250A938E: mov eax, dword ptr [eax + 8] */ 29857 ecx = ebp + (-0x28); /* 0x250A9391: lea ecx, [ebp - 0x28] */ 29858 PUSH32(esp, ecx); /* 0x250A9394: push ecx */ 29859 ecx = ebp + (-0x8C); /* 0x250A9395: lea ecx, [ebp - 0x8c] */ 29860 MEM32(ebp + (-0x88)) = edx; /* 0x250A939B: mov dword ptr [ebp - 0x88], edx */ 29861 MEM32(ebp + (-0x84)) = eax; /* 0x250A93A1: mov dword ptr [ebp - 0x84], eax */ 29862 RECOMP_ICALL(MEM32(0x25151564)); /* 0x250A93A7: call dword ptr [0x25151564] */ 29863 RECOMP_FLAGS_IN(); 29864 fp_push(*(float*)&MEM32(edi + 0x28)); /* 0x250A93AD: fld dword ptr [edi + 0x28] */ 29865 edx = MEM32(eax); /* 0x250A93B0: mov edx, dword ptr [eax] */ 29866 _st[0] += _st[0]; /* 0x250A93B2: fadd st(0), st(0) */ 29867 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250A93B4: fld dword ptr [ebp - 0x28] */ 29868 MEM32(ebp + (-0x3C)) = edx; /* 0x250A93B7: mov dword ptr [ebp - 0x3c], edx */ 29869 ecx = MEM32(eax + 0x4); /* 0x250A93BA: mov ecx, dword ptr [eax + 4] */ 29870 _st[0] *= _st[1]; /* 0x250A93BD: fmul st(1) */ 29871 MEM32(ebp + (-0x38)) = ecx; /* 0x250A93BF: mov dword ptr [ebp - 0x38], ecx */ 29872 edx = MEM32(eax + 0x8); /* 0x250A93C2: mov edx, dword ptr [eax + 8] */ 29873 PUSH32(esp, 0x40000000u); /* 0x250A93C5: push 0x40000000 */ 29874 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250A93CA: fstp dword ptr [ebp - 0x28] */ 29875 ecx = ebp + (-0x3C); /* 0x250A93CD: lea ecx, [ebp - 0x3c] */ 29876 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250A93D0: fld dword ptr [ebp - 0x24] */ 29877 MEM32(ebp + (-0x34)) = edx; /* 0x250A93D3: mov dword ptr [ebp - 0x34], edx */ 29878 _st[0] *= _st[1]; /* 0x250A93D6: fmul st(1) */ 29879 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A93D8: fstp dword ptr [ebp - 0x24] */ 29880 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A93DB: fld dword ptr [ebp - 0x20] */ 29881 _st[0] *= _st[1]; /* 0x250A93DE: fmul st(1) */ 29882 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A93E0: fstp dword ptr [ebp - 0x20] */ 29883 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A93E3: fstp st(0) */ 29884 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250A93E5: call dword ptr [0x25151510] */ 29885 RECOMP_FLAGS_IN(); 29886 eax = ebp + (-0x28); /* 0x250A93EB: lea eax, [ebp - 0x28] */ 29887 PUSH32(esp, eax); /* 0x250A93EE: push eax */ 29888 ecx = ebp + (-0x68); /* 0x250A93EF: lea ecx, [ebp - 0x68] */ 29889 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93F2: call dword ptr [0x251514f8] */ 29890 RECOMP_FLAGS_IN(); 29891 ecx = ebp + (-0x3C); /* 0x250A93F8: lea ecx, [ebp - 0x3c] */ 29892 PUSH32(esp, ecx); /* 0x250A93FB: push ecx */ 29893 ecx = ebp + (-0x68); /* 0x250A93FC: lea ecx, [ebp - 0x68] */ 29894 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250A93FF: call dword ptr [0x251514f8] */ 29895 RECOMP_FLAGS_IN(); 29896 fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x250A9405: fld dword ptr [ebp - 0x68] */ 29897 _st[0] = -_st[0]; /* 0x250A9408: fchs */ 29898 edx = MEM32(ebp + 0x8); /* 0x250A940A: mov edx, dword ptr [ebp + 8] */ 29899 fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x250A940D: fld dword ptr [ebp - 0x60] */ 29900 ecx = MEM32(edi + 0x30); /* 0x250A9410: mov ecx, dword ptr [edi + 0x30] */ 29901 _st[0] = -_st[0]; /* 0x250A9413: fchs */ 29902 eax = MEM32(ebp + (-0x30)); /* 0x250A9415: mov eax, dword ptr [ebp - 0x30] */ 29903 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x250A9418: fpatan */ 29904 MEM32(ebp + (-0xE0)) = edx; /* 0x250A941A: mov dword ptr [ebp - 0xe0], edx */ 29905 PUSH32(esp, ecx); /* 0x250A9420: push ecx */ 29906 MEM32(ebp + (-0xDC)) = 0; /* 0x250A9421: mov dword ptr [ebp - 0xdc], 0 */ 29907 MEM32(ebp + (-0xD8)) = eax; /* 0x250A942B: mov dword ptr [ebp - 0xd8], eax */ 29908 _st[0] *= (double)*(float*)ADDR(0x25156404); /* 0x250A9431: fmul dword ptr [0x25156404] */ 29909 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250A9437: fadd dword ptr [0x25151788] */ 29910 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A943D: fstp dword ptr [ebp - 0x1c] */ 29911 edx = MEM32(ebp + (-0x1C)); /* 0x250A9440: mov edx, dword ptr [ebp - 0x1c] */ 29912 PUSH32(esp, edx); /* 0x250A9443: push edx */ 29913 eax = MEM32(edi + 0x2C); /* 0x250A9444: mov eax, dword ptr [edi + 0x2c] */ 29914 PUSH32(esp, eax); /* 0x250A9447: push eax */ 29915 PUSH32(esp, 0x47FF0000u); /* 0x250A9448: push 0x47ff0000 */ 29916 ecx = ebp + (-0xE0); /* 0x250A944D: lea ecx, [ebp - 0xe0] */ 29917 PUSH32(esp, ecx); /* 0x250A9453: push ecx */ 29918 PUSH32(esp, ebx); /* 0x250A9454: push ebx */ 29919 ecx = esi; /* 0x250A9455: mov ecx, esi */ 29920 RECOMP_ICALL(0x250A86E0u); /* 0x250A9457: call 0x250a86e0 */ /* not lifted */ 29921 RECOMP_FLAGS_IN(); 29922 L_250A945C: 29923 edx = MEM32(ebp + 0xC); /* 0x250A945C: mov edx, dword ptr [ebp + 0xc] */ 29924 edi = MEM32(edi); /* 0x250A945F: mov edi, dword ptr [edi] */ 29925 /* cmp edi, MEM32(edx + 0x4) */ /* 0x250A9461: cmp edi, dword ptr [edx + 4] */ 29926 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 29927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29928 _flag_k = FK_CMP; 29929 RECOMP_BACKEDGE(); 29930 if (CMP_NE(_flag_a, _flag_b)) goto L_250A9323; /* 0x250A9464: jne 0x250a9323 */ 29931 L_250A946A: 29932 SET_LO8(eax, MEM8(ebp + (-0xB0))); /* 0x250A946A: mov al, byte ptr [ebp - 0xb0] */ 29933 /* test LO8(eax), LO8(eax) */ /* 0x250A9470: test al, al */ 29934 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29935 _cf = 0; 29936 _flag_k = FK_NARROW(FK_TEST, 24); 29937 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9472: mov byte ptr [ebp - 4], 3 */ 29938 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9492; /* 0x250A9476: je 0x250a9492 */ 29939 L_250A9478: 29940 edx = MEM32(ebp + (-0x14)); /* 0x250A9478: mov edx, dword ptr [ebp - 0x14] */ 29941 eax = MEM32(0x25238B94); /* 0x250A947B: mov eax, dword ptr [0x25238b94] */ 29942 ecx = MEM32(eax + 0x894); /* 0x250A9480: mov ecx, dword ptr [eax + 0x894] */ 29943 PUSH32(esp, 2); /* 0x250A9486: push 2 */ 29944 PUSH32(esp, edx); /* 0x250A9488: push edx */ 29945 PUSH32(esp, 5); /* 0x250A9489: push 5 */ 29946 PUSH32(esp, 0); /* 0x250A948B: push 0 */ 29947 RECOMP_ICALL(0x250EFF00u); /* 0x250A948D: call 0x250eff00 */ /* not lifted */ 29948 RECOMP_FLAGS_IN(); 29949 L_250A9492: 29950 SET_LO8(eax, MEM8(ebp + (-0x90))); /* 0x250A9492: mov al, byte ptr [ebp - 0x90] */ 29951 /* test LO8(eax), LO8(eax) */ /* 0x250A9498: test al, al */ 29952 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29953 _cf = 0; 29954 _flag_k = FK_NARROW(FK_TEST, 24); 29955 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A949A: mov byte ptr [ebp - 4], 2 */ 29956 if (TEST_Z(_flag_a, _flag_b)) goto L_250A94BA; /* 0x250A949E: je 0x250a94ba */ 29957 L_250A94A0: 29958 edx = MEM32(ebp + (-0x10)); /* 0x250A94A0: mov edx, dword ptr [ebp - 0x10] */ 29959 eax = MEM32(0x25238B94); /* 0x250A94A3: mov eax, dword ptr [0x25238b94] */ 29960 ecx = MEM32(eax + 0x894); /* 0x250A94A8: mov ecx, dword ptr [eax + 0x894] */ 29961 PUSH32(esp, 2); /* 0x250A94AE: push 2 */ 29962 PUSH32(esp, edx); /* 0x250A94B0: push edx */ 29963 PUSH32(esp, 4); /* 0x250A94B1: push 4 */ 29964 PUSH32(esp, 0); /* 0x250A94B3: push 0 */ 29965 RECOMP_ICALL(0x250EFF00u); /* 0x250A94B5: call 0x250eff00 */ /* not lifted */ 29966 RECOMP_FLAGS_IN(); 29967 L_250A94BA: 29968 SET_LO8(eax, MEM8(ebp + (-0x6C))); /* 0x250A94BA: mov al, byte ptr [ebp - 0x6c] */ 29969 /* test LO8(eax), LO8(eax) */ /* 0x250A94BD: test al, al */ 29970 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29971 _cf = 0; 29972 _flag_k = FK_NARROW(FK_TEST, 24); 29973 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A94BF: mov byte ptr [ebp - 4], 1 */ 29974 if (TEST_Z(_flag_a, _flag_b)) goto L_250A94E0; /* 0x250A94C3: je 0x250a94e0 */ 29975 L_250A94C5: 29976 edx = MEM32(ebp + (-0xA0)); /* 0x250A94C5: mov edx, dword ptr [ebp - 0xa0] */ 29977 eax = MEM32(0x25238B94); /* 0x250A94CB: mov eax, dword ptr [0x25238b94] */ 29978 ecx = MEM32(eax + 0x894); /* 0x250A94D0: mov ecx, dword ptr [eax + 0x894] */ 29979 PUSH32(esp, 2); /* 0x250A94D6: push 2 */ 29980 PUSH32(esp, edx); /* 0x250A94D8: push edx */ 29981 PUSH32(esp, 0x14u); /* 0x250A94D9: push 0x14 */ 29982 RECOMP_ICALL(0x250EFE90u); /* 0x250A94DB: call 0x250efe90 */ /* not lifted */ 29983 RECOMP_FLAGS_IN(); 29984 L_250A94E0: 29985 SET_LO8(eax, MEM8(ebp + (-0x54))); /* 0x250A94E0: mov al, byte ptr [ebp - 0x54] */ 29986 /* test LO8(eax), LO8(eax) */ /* 0x250A94E3: test al, al */ 29987 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29988 _cf = 0; 29989 _flag_k = FK_NARROW(FK_TEST, 24); 29990 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250A94E5: mov byte ptr [ebp - 4], 0 */ 29991 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9503; /* 0x250A94E9: je 0x250a9503 */ 29992 L_250A94EB: 29993 edx = MEM32(ebp + (-0x40)); /* 0x250A94EB: mov edx, dword ptr [ebp - 0x40] */ 29994 eax = MEM32(0x25238B94); /* 0x250A94EE: mov eax, dword ptr [0x25238b94] */ 29995 ecx = MEM32(eax + 0x894); /* 0x250A94F3: mov ecx, dword ptr [eax + 0x894] */ 29996 PUSH32(esp, 2); /* 0x250A94F9: push 2 */ 29997 PUSH32(esp, edx); /* 0x250A94FB: push edx */ 29998 PUSH32(esp, 0x13u); /* 0x250A94FC: push 0x13 */ 29999 RECOMP_ICALL(0x250EFE90u); /* 0x250A94FE: call 0x250efe90 */ /* not lifted */ 30000 RECOMP_FLAGS_IN(); 30001 L_250A9503: 30002 SET_LO8(eax, MEM8(ebp + (-0x48))); /* 0x250A9503: mov al, byte ptr [ebp - 0x48] */ 30003 /* test LO8(eax), LO8(eax) */ /* 0x250A9506: test al, al */ 30004 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30005 _cf = 0; 30006 _flag_k = FK_NARROW(FK_TEST, 24); 30007 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9508: mov dword ptr [ebp - 4], 0xffffffff */ 30008 if (TEST_Z(_flag_a, _flag_b)) goto L_250A952A; /* 0x250A950F: je 0x250a952a */ 30009 L_250A9511: 30010 eax = MEM32(ebp + (-0x44)); /* 0x250A9511: mov eax, dword ptr [ebp - 0x44] */ 30011 ecx = MEM32(0x25238B94); /* 0x250A9514: mov ecx, dword ptr [0x25238b94] */ 30012 ecx = MEM32(ecx + 0x894); /* 0x250A951A: mov ecx, dword ptr [ecx + 0x894] */ 30013 PUSH32(esp, 2); /* 0x250A9520: push 2 */ 30014 PUSH32(esp, eax); /* 0x250A9522: push eax */ 30015 PUSH32(esp, 0x1Bu); /* 0x250A9523: push 0x1b */ 30016 RECOMP_ICALL(0x250EFE90u); /* 0x250A9525: call 0x250efe90 */ /* not lifted */ 30017 RECOMP_FLAGS_IN(); 30018 L_250A952A: 30019 ecx = MEM32(ebp + (-0xC)); /* 0x250A952A: mov ecx, dword ptr [ebp - 0xc] */ 30020 edi = POP32_VAL(esp); /* 0x250A952D: pop edi */ 30021 esi = POP32_VAL(esp); /* 0x250A952E: pop esi */ 30022 ebx = POP32_VAL(esp); /* 0x250A952F: pop ebx */ 30023 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9530: mov dword ptr fs:[0], ecx */ 30024 esp = ebp; /* 0x250A9537: mov esp, ebp */ 30025 ebp = POP32_VAL(esp); /* 0x250A9539: pop ebp */ 30026 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250A953A: ret 8 */ 30027 RECOMP_REGS_OUT(); 30028 } 30029 30030 void sub_250A9580(void) { 30031 int _fpu_cmp = 0; 30032 uint32_t _cf = 0; 30033 int _df = 1; 30034 uint32_t _flag_k = FK_NONE; 30035 uint32_t _flag_a = 0, _flag_b = 0; 30036 uint32_t _itail_tgt = 0; 30037 RECOMP_REGS_LOCALS 30038 RECOMP_ENTER(0x250A9580u); 30039 30040 L_250A9580: 30041 PUSH32(esp, ebp); /* 0x250A9580: push ebp */ 30042 ebp = esp; /* 0x250A9581: mov ebp, esp */ 30043 PUSH32(esp, ecx); /* 0x250A9583: push ecx */ 30044 PUSH32(esp, ebx); /* 0x250A9584: push ebx */ 30045 ebx = MEM32(ebp + 0x8); /* 0x250A9585: mov ebx, dword ptr [ebp + 8] */ 30046 PUSH32(esp, esi); /* 0x250A9588: push esi */ 30047 PUSH32(esp, edi); /* 0x250A9589: push edi */ 30048 edi = ecx + 0xA8; /* 0x250A958A: lea edi, [ecx + 0xa8] */ 30049 /* cmp edi, ebx */ /* 0x250A9590: cmp edi, ebx */ 30050 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 30051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30052 _flag_k = FK_CMP; 30053 MEM32(ebp + (-0x4)) = edi; /* 0x250A9592: mov dword ptr [ebp - 4], edi */ 30054 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A97C2; /* 0x250A9595: je 0x250a97c2 */ 30055 L_250A959B: 30056 esi = MEM32(ebx + 0x4); /* 0x250A959B: mov esi, dword ptr [ebx + 4] */ 30057 /* test esi, esi */ /* 0x250A959E: test esi, esi */ 30058 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 30059 _cf = 0; 30060 _flag_k = FK_TEST; 30061 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A95A7; /* 0x250A95A0: jne 0x250a95a7 */ 30062 L_250A95A2: 30063 MEM32(ebp + 0x8) = esi; /* 0x250A95A2: mov dword ptr [ebp + 8], esi */ 30064 goto L_250A95C0; /* 0x250A95A5: jmp 0x250a95c0 */ 30065 L_250A95A7: 30066 ecx = MEM32(ebx + 0x8); /* 0x250A95A7: mov ecx, dword ptr [ebx + 8] */ 30067 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 30068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30069 ecx = ecx - esi; /* 0x250A95AA: sub ecx, esi */ 30070 _flag_k = FK_CMP; 30071 eax = 0x66666667u; /* 0x250A95AC: mov eax, 0x66666667 */ 30072 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A95B1: imul ecx */ 30073 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 30074 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 30075 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A95B3: sar edx, 3 */ 30076 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30077 edx = (uint32_t)((int32_t)edx >> 3u); 30078 eax = edx; /* 0x250A95B6: mov eax, edx */ 30079 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A95B8: shr eax, 0x1f */ 30080 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30081 eax = eax >> 31u; /* 0x250A95B8: shr eax, 0x1f */ 30082 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30083 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30084 edx = edx + eax; /* 0x250A95BB: add edx, eax */ 30085 _flag_k = FK_ADD; 30086 MEM32(ebp + 0x8) = edx; /* 0x250A95BD: mov dword ptr [ebp + 8], edx */ 30087 L_250A95C0: 30088 ecx = MEM32(edi + 0x4); /* 0x250A95C0: mov ecx, dword ptr [edi + 4] */ 30089 /* test ecx, ecx */ /* 0x250A95C3: test ecx, ecx */ 30090 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 30091 _cf = 0; 30092 _flag_k = FK_TEST; 30093 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A95CB; /* 0x250A95C5: jne 0x250a95cb */ 30094 L_250A95C7: 30095 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30096 edx = 0; /* 0x250A95C7: xor edx, edx */ 30097 _cf = 0; 30098 _flag_k = FK_TEST; 30099 goto L_250A95E1; /* 0x250A95C9: jmp 0x250a95e1 */ 30100 L_250A95CB: 30101 edx = MEM32(edi + 0x8); /* 0x250A95CB: mov edx, dword ptr [edi + 8] */ 30102 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 30103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30104 edx = edx - ecx; /* 0x250A95CE: sub edx, ecx */ 30105 _flag_k = FK_CMP; 30106 eax = 0x66666667u; /* 0x250A95D0: mov eax, 0x66666667 */ 30107 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x250A95D5: imul edx */ 30108 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 30109 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 30110 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A95D7: sar edx, 3 */ 30111 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30112 edx = (uint32_t)((int32_t)edx >> 3u); 30113 eax = edx; /* 0x250A95DA: mov eax, edx */ 30114 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A95DC: shr eax, 0x1f */ 30115 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30116 eax = eax >> 31u; /* 0x250A95DC: shr eax, 0x1f */ 30117 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30118 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30119 edx = edx + eax; /* 0x250A95DF: add edx, eax */ 30120 _flag_k = FK_ADD; 30121 L_250A95E1: 30122 /* cmp MEM32(ebp + 0x8), edx */ /* 0x250A95E1: cmp dword ptr [ebp + 8], edx */ 30123 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(edx); 30124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30125 _flag_k = FK_CMP; 30126 if (CMP_A(_flag_a, _flag_b)) goto L_250A965B; /* 0x250A95E4: ja 0x250a965b */ 30127 L_250A95E6: 30128 edx = MEM32(ebx + 0x8); /* 0x250A95E6: mov edx, dword ptr [ebx + 8] */ 30129 MEM32(ebp + 0x8) = edx; /* 0x250A95E9: mov dword ptr [ebp + 8], edx */ 30130 edx = ecx; /* 0x250A95EC: mov edx, ecx */ 30131 ecx = MEM32(ebp + 0x8); /* 0x250A95EE: mov ecx, dword ptr [ebp + 8] */ 30132 eax = esi; /* 0x250A95F1: mov eax, esi */ 30133 /* cmp eax, ecx */ /* 0x250A95F3: cmp eax, ecx */ 30134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 30135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30136 _flag_k = FK_CMP; 30137 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A9612; /* 0x250A95F5: je 0x250a9612 */ 30138 L_250A95F7: 30139 esi = eax; /* 0x250A95F7: mov esi, eax */ 30140 edi = edx; /* 0x250A95F9: mov edi, edx */ 30141 ecx = 5; /* 0x250A95FB: mov ecx, 5 */ 30142 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A9600: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 30143 ecx = MEM32(ebp + 0x8); /* 0x250A9602: mov ecx, dword ptr [ebp + 8] */ 30144 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 30145 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30146 eax = eax + 0x14u; /* 0x250A9605: add eax, 0x14 */ 30147 _flag_k = FK_ADD; 30148 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x14u); 30149 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30150 edx = edx + 0x14u; /* 0x250A9608: add edx, 0x14 */ 30151 _flag_k = FK_ADD; 30152 /* cmp eax, ecx */ /* 0x250A960B: cmp eax, ecx */ 30153 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 30154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30155 _flag_k = FK_CMP; 30156 RECOMP_BACKEDGE(); 30157 if (CMP_NE(_flag_a, _flag_b)) goto L_250A95F7; /* 0x250A960D: jne 0x250a95f7 */ 30158 L_250A960F: 30159 edi = MEM32(ebp + (-0x4)); /* 0x250A960F: mov edi, dword ptr [ebp - 4] */ 30160 L_250A9612: 30161 eax = MEM32(ebx + 0x4); /* 0x250A9612: mov eax, dword ptr [ebx + 4] */ 30162 /* test eax, eax */ /* 0x250A9615: test eax, eax */ 30163 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 30164 _cf = 0; 30165 _flag_k = FK_TEST; 30166 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A9630; /* 0x250A9617: jne 0x250a9630 */ 30167 L_250A9619: 30168 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30169 edx = 0; /* 0x250A9619: xor edx, edx */ 30170 _cf = 0; 30171 _flag_k = FK_TEST; 30172 ecx = edx + edx * 4; /* 0x250A961B: lea ecx, [edx + edx*4] */ 30173 edx = MEM32(edi + 0x4); /* 0x250A961E: mov edx, dword ptr [edi + 4] */ 30174 eax = edx + ecx * 4; /* 0x250A9621: lea eax, [edx + ecx*4] */ 30175 MEM32(edi + 0x8) = eax; /* 0x250A9624: mov dword ptr [edi + 8], eax */ 30176 edi = POP32_VAL(esp); /* 0x250A9627: pop edi */ 30177 esi = POP32_VAL(esp); /* 0x250A9628: pop esi */ 30178 ebx = POP32_VAL(esp); /* 0x250A9629: pop ebx */ 30179 esp = ebp; /* 0x250A962A: mov esp, ebp */ 30180 ebp = POP32_VAL(esp); /* 0x250A962C: pop ebp */ 30181 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A962D: ret 4 */ 30182 L_250A9630: 30183 ebx = MEM32(ebx + 0x8); /* 0x250A9630: mov ebx, dword ptr [ebx + 8] */ 30184 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 30185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30186 ebx = ebx - eax; /* 0x250A9633: sub ebx, eax */ 30187 _flag_k = FK_CMP; 30188 eax = 0x66666667u; /* 0x250A9635: mov eax, 0x66666667 */ 30189 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x250A963A: imul ebx */ 30190 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 30191 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 30192 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A963C: sar edx, 3 */ 30193 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30194 edx = (uint32_t)((int32_t)edx >> 3u); 30195 eax = edx; /* 0x250A963F: mov eax, edx */ 30196 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9641: shr eax, 0x1f */ 30197 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30198 eax = eax >> 31u; /* 0x250A9641: shr eax, 0x1f */ 30199 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30201 edx = edx + eax; /* 0x250A9644: add edx, eax */ 30202 _flag_k = FK_ADD; 30203 ecx = edx + edx * 4; /* 0x250A9646: lea ecx, [edx + edx*4] */ 30204 edx = MEM32(edi + 0x4); /* 0x250A9649: mov edx, dword ptr [edi + 4] */ 30205 eax = edx + ecx * 4; /* 0x250A964C: lea eax, [edx + ecx*4] */ 30206 MEM32(edi + 0x8) = eax; /* 0x250A964F: mov dword ptr [edi + 8], eax */ 30207 edi = POP32_VAL(esp); /* 0x250A9652: pop edi */ 30208 esi = POP32_VAL(esp); /* 0x250A9653: pop esi */ 30209 ebx = POP32_VAL(esp); /* 0x250A9654: pop ebx */ 30210 esp = ebp; /* 0x250A9655: mov esp, ebp */ 30211 ebp = POP32_VAL(esp); /* 0x250A9657: pop ebp */ 30212 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A9658: ret 4 */ 30213 L_250A965B: 30214 /* test esi, esi */ /* 0x250A965B: test esi, esi */ 30215 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 30216 _cf = 0; 30217 _flag_k = FK_TEST; 30218 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A9664; /* 0x250A965D: jne 0x250a9664 */ 30219 L_250A965F: 30220 MEM32(ebp + 0x8) = esi; /* 0x250A965F: mov dword ptr [ebp + 8], esi */ 30221 goto L_250A967D; /* 0x250A9662: jmp 0x250a967d */ 30222 L_250A9664: 30223 edx = MEM32(ebx + 0x8); /* 0x250A9664: mov edx, dword ptr [ebx + 8] */ 30224 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 30225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30226 edx = edx - esi; /* 0x250A9667: sub edx, esi */ 30227 _flag_k = FK_CMP; 30228 eax = 0x66666667u; /* 0x250A9669: mov eax, 0x66666667 */ 30229 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x250A966E: imul edx */ 30230 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 30231 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 30232 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9670: sar edx, 3 */ 30233 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30234 edx = (uint32_t)((int32_t)edx >> 3u); 30235 eax = edx; /* 0x250A9673: mov eax, edx */ 30236 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9675: shr eax, 0x1f */ 30237 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30238 eax = eax >> 31u; /* 0x250A9675: shr eax, 0x1f */ 30239 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30240 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30241 edx = edx + eax; /* 0x250A9678: add edx, eax */ 30242 _flag_k = FK_ADD; 30243 MEM32(ebp + 0x8) = edx; /* 0x250A967A: mov dword ptr [ebp + 8], edx */ 30244 L_250A967D: 30245 /* test ecx, ecx */ /* 0x250A967D: test ecx, ecx */ 30246 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 30247 _cf = 0; 30248 _flag_k = FK_TEST; 30249 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A9685; /* 0x250A967F: jne 0x250a9685 */ 30250 L_250A9681: 30251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30252 edx = 0; /* 0x250A9681: xor edx, edx */ 30253 _cf = 0; 30254 _flag_k = FK_TEST; 30255 goto L_250A969B; /* 0x250A9683: jmp 0x250a969b */ 30256 L_250A9685: 30257 edx = MEM32(edi + 0xC); /* 0x250A9685: mov edx, dword ptr [edi + 0xc] */ 30258 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 30259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30260 edx = edx - ecx; /* 0x250A9688: sub edx, ecx */ 30261 _flag_k = FK_CMP; 30262 eax = 0x66666667u; /* 0x250A968A: mov eax, 0x66666667 */ 30263 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x250A968F: imul edx */ 30264 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 30265 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 30266 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9691: sar edx, 3 */ 30267 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30268 edx = (uint32_t)((int32_t)edx >> 3u); 30269 eax = edx; /* 0x250A9694: mov eax, edx */ 30270 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9696: shr eax, 0x1f */ 30271 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30272 eax = eax >> 31u; /* 0x250A9696: shr eax, 0x1f */ 30273 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30274 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30275 edx = edx + eax; /* 0x250A9699: add edx, eax */ 30276 _flag_k = FK_ADD; 30277 L_250A969B: 30278 /* cmp MEM32(ebp + 0x8), edx */ /* 0x250A969B: cmp dword ptr [ebp + 8], edx */ 30279 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(edx); 30280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30281 _flag_k = FK_CMP; 30282 if (CMP_A(_flag_a, _flag_b)) goto L_250A9765; /* 0x250A969E: ja 0x250a9765 */ 30283 L_250A96A4: 30284 /* test ecx, ecx */ /* 0x250A96A4: test ecx, ecx */ 30285 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 30286 _cf = 0; 30287 _flag_k = FK_TEST; 30288 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A96AC; /* 0x250A96A6: jne 0x250a96ac */ 30289 L_250A96A8: 30290 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30291 edx = 0; /* 0x250A96A8: xor edx, edx */ 30292 _cf = 0; 30293 _flag_k = FK_TEST; 30294 goto L_250A96C2; /* 0x250A96AA: jmp 0x250a96c2 */ 30295 L_250A96AC: 30296 edx = MEM32(edi + 0x8); /* 0x250A96AC: mov edx, dword ptr [edi + 8] */ 30297 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 30298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30299 edx = edx - ecx; /* 0x250A96AF: sub edx, ecx */ 30300 _flag_k = FK_CMP; 30301 eax = 0x66666667u; /* 0x250A96B1: mov eax, 0x66666667 */ 30302 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x250A96B6: imul edx */ 30303 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 30304 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 30305 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A96B8: sar edx, 3 */ 30306 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30307 edx = (uint32_t)((int32_t)edx >> 3u); 30308 eax = edx; /* 0x250A96BB: mov eax, edx */ 30309 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A96BD: shr eax, 0x1f */ 30310 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30311 eax = eax >> 31u; /* 0x250A96BD: shr eax, 0x1f */ 30312 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30313 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30314 edx = edx + eax; /* 0x250A96C0: add edx, eax */ 30315 _flag_k = FK_ADD; 30316 L_250A96C2: 30317 edx = edx + edx * 4; /* 0x250A96C2: lea edx, [edx + edx*4] */ 30318 edx = esi + edx * 4; /* 0x250A96C5: lea edx, [esi + edx*4] */ 30319 eax = esi; /* 0x250A96C8: mov eax, esi */ 30320 /* cmp eax, edx */ /* 0x250A96CA: cmp eax, edx */ 30321 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30323 _flag_k = FK_CMP; 30324 MEM32(ebp + 0x8) = ecx; /* 0x250A96CC: mov dword ptr [ebp + 8], ecx */ 30325 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A96F0; /* 0x250A96CF: je 0x250a96f0 */ 30326 L_250A96D1: 30327 edi = MEM32(ebp + 0x8); /* 0x250A96D1: mov edi, dword ptr [ebp + 8] */ 30328 esi = eax; /* 0x250A96D4: mov esi, eax */ 30329 ecx = 5; /* 0x250A96D6: mov ecx, 5 */ 30330 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A96DB: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 30331 edi = MEM32(ebp + 0x8); /* 0x250A96DD: mov edi, dword ptr [ebp + 8] */ 30332 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 30333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30334 edi = edi + 0x14u; /* 0x250A96E0: add edi, 0x14 */ 30335 _flag_k = FK_ADD; 30336 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 30337 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30338 eax = eax + 0x14u; /* 0x250A96E3: add eax, 0x14 */ 30339 _flag_k = FK_ADD; 30340 /* cmp eax, edx */ /* 0x250A96E6: cmp eax, edx */ 30341 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30343 _flag_k = FK_CMP; 30344 MEM32(ebp + 0x8) = edi; /* 0x250A96E8: mov dword ptr [ebp + 8], edi */ 30345 RECOMP_BACKEDGE(); 30346 if (CMP_NE(_flag_a, _flag_b)) goto L_250A96D1; /* 0x250A96EB: jne 0x250a96d1 */ 30347 L_250A96ED: 30348 edi = MEM32(ebp + (-0x4)); /* 0x250A96ED: mov edi, dword ptr [ebp - 4] */ 30349 L_250A96F0: 30350 eax = MEM32(ebx + 0x8); /* 0x250A96F0: mov eax, dword ptr [ebx + 8] */ 30351 /* cmp edx, eax */ /* 0x250A96F3: cmp edx, eax */ 30352 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30354 _flag_k = FK_CMP; 30355 edi = MEM32(edi + 0x8); /* 0x250A96F5: mov edi, dword ptr [edi + 8] */ 30356 MEM32(ebp + 0x8) = eax; /* 0x250A96F8: mov dword ptr [ebp + 8], eax */ 30357 esi = edx; /* 0x250A96FB: mov esi, edx */ 30358 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A9716; /* 0x250A96FD: je 0x250a9716 */ 30359 L_250A96FF: 30360 PUSH32(esp, esi); /* 0x250A96FF: push esi */ 30361 PUSH32(esp, edi); /* 0x250A9700: push edi */ 30362 RECOMP_ICALL(0x25126310u); /* 0x250A9701: call 0x25126310 */ /* not lifted */ 30363 RECOMP_FLAGS_IN(); 30364 eax = MEM32(ebp + 0x8); /* 0x250A9706: mov eax, dword ptr [ebp + 8] */ 30365 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 30366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30367 esi = esi + 0x14u; /* 0x250A9709: add esi, 0x14 */ 30368 _flag_k = FK_ADD; 30369 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 30370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30371 esp = esp + 8; /* 0x250A970C: add esp, 8 */ 30372 _flag_k = FK_ADD; 30373 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 30374 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30375 edi = edi + 0x14u; /* 0x250A970F: add edi, 0x14 */ 30376 _flag_k = FK_ADD; 30377 /* cmp esi, eax */ /* 0x250A9712: cmp esi, eax */ 30378 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 30379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30380 _flag_k = FK_CMP; 30381 RECOMP_BACKEDGE(); 30382 if (CMP_NE(_flag_a, _flag_b)) goto L_250A96FF; /* 0x250A9714: jne 0x250a96ff */ 30383 L_250A9716: 30384 eax = MEM32(ebx + 0x4); /* 0x250A9716: mov eax, dword ptr [ebx + 4] */ 30385 /* test eax, eax */ /* 0x250A9719: test eax, eax */ 30386 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 30387 _cf = 0; 30388 _flag_k = FK_TEST; 30389 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A9737; /* 0x250A971B: jne 0x250a9737 */ 30390 L_250A971D: 30391 eax = MEM32(ebp + (-0x4)); /* 0x250A971D: mov eax, dword ptr [ebp - 4] */ 30392 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30393 edx = 0; /* 0x250A9720: xor edx, edx */ 30394 _cf = 0; 30395 _flag_k = FK_TEST; 30396 ecx = edx + edx * 4; /* 0x250A9722: lea ecx, [edx + edx*4] */ 30397 edx = MEM32(eax + 0x4); /* 0x250A9725: mov edx, dword ptr [eax + 4] */ 30398 edi = POP32_VAL(esp); /* 0x250A9728: pop edi */ 30399 ecx = edx + ecx * 4; /* 0x250A9729: lea ecx, [edx + ecx*4] */ 30400 esi = POP32_VAL(esp); /* 0x250A972C: pop esi */ 30401 MEM32(eax + 0x8) = ecx; /* 0x250A972D: mov dword ptr [eax + 8], ecx */ 30402 ebx = POP32_VAL(esp); /* 0x250A9730: pop ebx */ 30403 esp = ebp; /* 0x250A9731: mov esp, ebp */ 30404 ebp = POP32_VAL(esp); /* 0x250A9733: pop ebp */ 30405 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A9734: ret 4 */ 30406 L_250A9737: 30407 ebx = MEM32(ebx + 0x8); /* 0x250A9737: mov ebx, dword ptr [ebx + 8] */ 30408 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 30409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30410 ebx = ebx - eax; /* 0x250A973A: sub ebx, eax */ 30411 _flag_k = FK_CMP; 30412 eax = 0x66666667u; /* 0x250A973C: mov eax, 0x66666667 */ 30413 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x250A9741: imul ebx */ 30414 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 30415 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 30416 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9743: sar edx, 3 */ 30417 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30418 edx = (uint32_t)((int32_t)edx >> 3u); 30419 eax = edx; /* 0x250A9746: mov eax, edx */ 30420 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A9748: shr eax, 0x1f */ 30421 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30422 eax = eax >> 31u; /* 0x250A9748: shr eax, 0x1f */ 30423 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30424 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30425 edx = edx + eax; /* 0x250A974B: add edx, eax */ 30426 _flag_k = FK_ADD; 30427 eax = MEM32(ebp + (-0x4)); /* 0x250A974D: mov eax, dword ptr [ebp - 4] */ 30428 ecx = edx + edx * 4; /* 0x250A9750: lea ecx, [edx + edx*4] */ 30429 edx = MEM32(eax + 0x4); /* 0x250A9753: mov edx, dword ptr [eax + 4] */ 30430 edi = POP32_VAL(esp); /* 0x250A9756: pop edi */ 30431 ecx = edx + ecx * 4; /* 0x250A9757: lea ecx, [edx + ecx*4] */ 30432 esi = POP32_VAL(esp); /* 0x250A975A: pop esi */ 30433 MEM32(eax + 0x8) = ecx; /* 0x250A975B: mov dword ptr [eax + 8], ecx */ 30434 ebx = POP32_VAL(esp); /* 0x250A975E: pop ebx */ 30435 esp = ebp; /* 0x250A975F: mov esp, ebp */ 30436 ebp = POP32_VAL(esp); /* 0x250A9761: pop ebp */ 30437 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A9762: ret 4 */ 30438 L_250A9765: 30439 PUSH32(esp, ecx); /* 0x250A9765: push ecx */ 30440 MEM32(ebp + 0x8) = ecx; /* 0x250A9766: mov dword ptr [ebp + 8], ecx */ 30441 RECOMP_ICALL(0x25137EECu); /* 0x250A9769: call 0x25137eec */ /* not lifted */ 30442 RECOMP_FLAGS_IN(); 30443 eax = MEM32(ebx + 0x4); /* 0x250A976E: mov eax, dword ptr [ebx + 4] */ 30444 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 30445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30446 esp = esp + 4; /* 0x250A9771: add esp, 4 */ 30447 _flag_k = FK_ADD; 30448 /* test eax, eax */ /* 0x250A9774: test eax, eax */ 30449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 30450 _cf = 0; 30451 _flag_k = FK_TEST; 30452 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A977C; /* 0x250A9776: jne 0x250a977c */ 30453 L_250A9778: 30454 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30455 edx = 0; /* 0x250A9778: xor edx, edx */ 30456 _cf = 0; 30457 _flag_k = FK_TEST; 30458 goto L_250A9792; /* 0x250A977A: jmp 0x250a9792 */ 30459 L_250A977C: 30460 ecx = MEM32(ebx + 0x8); /* 0x250A977C: mov ecx, dword ptr [ebx + 8] */ 30461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 30462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30463 ecx = ecx - eax; /* 0x250A977F: sub ecx, eax */ 30464 _flag_k = FK_CMP; 30465 eax = 0x66666667u; /* 0x250A9781: mov eax, 0x66666667 */ 30466 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250A9786: imul ecx */ 30467 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 30468 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 30469 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250A9788: sar edx, 3 */ 30470 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30471 edx = (uint32_t)((int32_t)edx >> 3u); 30472 eax = edx; /* 0x250A978B: mov eax, edx */ 30473 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250A978D: shr eax, 0x1f */ 30474 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30475 eax = eax >> 31u; /* 0x250A978D: shr eax, 0x1f */ 30476 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 30477 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30478 edx = edx + eax; /* 0x250A9790: add edx, eax */ 30479 _flag_k = FK_ADD; 30480 L_250A9792: 30481 /* test edx, edx */ /* 0x250A9792: test edx, edx */ 30482 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 30483 _cf = 0; 30484 _flag_k = FK_TEST; 30485 eax = edx; /* 0x250A9794: mov eax, edx */ 30486 if (TEST_NS(_flag_a, _flag_b)) goto L_250A979A; /* 0x250A9796: jge 0x250a979a */ 30487 L_250A9798: 30488 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30489 eax = 0; /* 0x250A9798: xor eax, eax */ 30490 _cf = 0; 30491 _flag_k = FK_TEST; 30492 L_250A979A: 30493 ecx = eax + eax * 4; /* 0x250A979A: lea ecx, [eax + eax*4] */ 30494 if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x250A979D: shl ecx, 2 */ 30495 if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30496 ecx = ecx << 2u; /* 0x250A979D: shl ecx, 2 */ 30497 PUSH32(esp, ecx); /* 0x250A97A0: push ecx */ 30498 RECOMP_ICALL(0x251380D0u); /* 0x250A97A1: call 0x251380d0 */ /* not lifted */ 30499 RECOMP_FLAGS_IN(); 30500 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 30501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30502 esp = esp + 4; /* 0x250A97A6: add esp, 4 */ 30503 _flag_k = FK_ADD; 30504 MEM32(edi + 0x4) = eax; /* 0x250A97A9: mov dword ptr [edi + 4], eax */ 30505 ecx = MEM32(ebx + 0x8); /* 0x250A97AC: mov ecx, dword ptr [ebx + 8] */ 30506 ebx = MEM32(ebx + 0x4); /* 0x250A97AF: mov ebx, dword ptr [ebx + 4] */ 30507 PUSH32(esp, eax); /* 0x250A97B2: push eax */ 30508 PUSH32(esp, ecx); /* 0x250A97B3: push ecx */ 30509 PUSH32(esp, ebx); /* 0x250A97B4: push ebx */ 30510 ecx = edi; /* 0x250A97B5: mov ecx, edi */ 30511 RECOMP_ICALL(0x2504A990u); /* 0x250A97B7: call 0x2504a990 */ /* not lifted */ 30512 RECOMP_FLAGS_IN(); 30513 MEM32(edi + 0x8) = eax; /* 0x250A97BC: mov dword ptr [edi + 8], eax */ 30514 MEM32(edi + 0xC) = eax; /* 0x250A97BF: mov dword ptr [edi + 0xc], eax */ 30515 L_250A97C2: 30516 edi = POP32_VAL(esp); /* 0x250A97C2: pop edi */ 30517 esi = POP32_VAL(esp); /* 0x250A97C3: pop esi */ 30518 ebx = POP32_VAL(esp); /* 0x250A97C4: pop ebx */ 30519 esp = ebp; /* 0x250A97C5: mov esp, ebp */ 30520 ebp = POP32_VAL(esp); /* 0x250A97C7: pop ebp */ 30521 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A97C8: ret 4 */ 30522 RECOMP_REGS_OUT(); 30523 } 30524 30525 void sub_250A97D0(void) { 30526 int _fpu_cmp = 0; 30527 uint32_t _cf = 0; 30528 int _df = 1; 30529 uint32_t _flag_k = FK_NONE; 30530 uint32_t _flag_a = 0, _flag_b = 0; 30531 uint32_t _itail_tgt = 0; 30532 RECOMP_REGS_LOCALS 30533 RECOMP_ENTER(0x250A97D0u); 30534 30535 L_250A97D0: 30536 MEM8(ecx + 0xDD) = (uint8_t)(1); /* 0x250A97D0: mov byte ptr [ecx + 0xdd], 1 */ 30537 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A97D7: ret */ 30538 RECOMP_REGS_OUT(); 30539 } 30540 30541 void sub_250A97E0(void) { 30542 int _fpu_cmp = 0; 30543 uint32_t _cf = 0; 30544 int _df = 1; 30545 uint32_t _flag_k = FK_NONE; 30546 uint32_t _flag_a = 0, _flag_b = 0; 30547 uint32_t _itail_tgt = 0; 30548 RECOMP_REGS_LOCALS 30549 RECOMP_ENTER(0x250A97E0u); 30550 30551 L_250A97E0: 30552 MEM8(ecx + 0xDD) = (uint8_t)(0); /* 0x250A97E0: mov byte ptr [ecx + 0xdd], 0 */ 30553 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A97E7: ret */ 30554 RECOMP_REGS_OUT(); 30555 } 30556 30557 void sub_250A97F0(void) { 30558 int _fpu_cmp = 0; 30559 uint32_t _cf = 0; 30560 int _df = 1; 30561 uint32_t _flag_k = FK_NONE; 30562 uint32_t _flag_a = 0, _flag_b = 0; 30563 uint32_t _itail_tgt = 0; 30564 RECOMP_REGS_LOCALS 30565 RECOMP_ENTER(0x250A97F0u); 30566 30567 L_250A97F0: 30568 PUSH32(esp, ebp); /* 0x250A97F0: push ebp */ 30569 ebp = esp; /* 0x250A97F1: mov ebp, esp */ 30570 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250A97F3: mov al, byte ptr [ebp + 8] */ 30571 MEM8(ecx + 0x67) = (uint8_t)(LO8(eax)); /* 0x250A97F6: mov byte ptr [ecx + 0x67], al */ 30572 ebp = POP32_VAL(esp); /* 0x250A97F9: pop ebp */ 30573 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A97FA: ret 4 */ 30574 RECOMP_REGS_OUT(); 30575 } 30576 30577 void sub_250A9800(void) { 30578 int _fpu_cmp = 0; 30579 uint32_t _cf = 0; 30580 int _df = 1; 30581 uint32_t _flag_k = FK_NONE; 30582 uint32_t _flag_a = 0, _flag_b = 0; 30583 uint32_t _itail_tgt = 0; 30584 RECOMP_REGS_LOCALS 30585 RECOMP_ENTER(0x250A9800u); 30586 30587 L_250A9800: 30588 PUSH32(esp, ebp); /* 0x250A9800: push ebp */ 30589 ebp = esp; /* 0x250A9801: mov ebp, esp */ 30590 PUSH32(esp, 0xFFFFFFFFu); /* 0x250A9803: push -1 */ 30591 PUSH32(esp, 0x2514A058u); /* 0x250A9805: push 0x2514a058 */ 30592 eax = MEM32(FS_BASE + (0)); /* 0x250A980A: mov eax, dword ptr fs:[0] */ 30593 PUSH32(esp, eax); /* 0x250A9810: push eax */ 30594 MEM32(FS_BASE + (0)) = esp; /* 0x250A9811: mov dword ptr fs:[0], esp */ 30595 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x50u); 30596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30597 esp = esp - 0x50u; /* 0x250A9818: sub esp, 0x50 */ 30598 _flag_k = FK_CMP; 30599 eax = MEM32(0x25238B94); /* 0x250A981B: mov eax, dword ptr [0x25238b94] */ 30600 PUSH32(esp, ebx); /* 0x250A9820: push ebx */ 30601 PUSH32(esp, esi); /* 0x250A9821: push esi */ 30602 esi = ecx; /* 0x250A9822: mov esi, ecx */ 30603 MEM32(ebp + (-0x3C)) = 0x1Bu; /* 0x250A9824: mov dword ptr [ebp - 0x3c], 0x1b */ 30604 ecx = MEM32(eax + 0x894); /* 0x250A982B: mov ecx, dword ptr [eax + 0x894] */ 30605 ecx = MEM32(ecx + 0x538); /* 0x250A9831: mov ecx, dword ptr [ecx + 0x538] */ 30606 PUSH32(esp, edi); /* 0x250A9837: push edi */ 30607 PUSH32(esp, 0xAu); /* 0x250A9838: push 0xa */ 30608 MEM32(ebp + (-0x38)) = ecx; /* 0x250A983A: mov dword ptr [ebp - 0x38], ecx */ 30609 eax = MEM32(eax + 0x894); /* 0x250A983D: mov eax, dword ptr [eax + 0x894] */ 30610 PUSH32(esp, 1); /* 0x250A9843: push 1 */ 30611 PUSH32(esp, 0x1Bu); /* 0x250A9845: push 0x1b */ 30612 ecx = eax; /* 0x250A9847: mov ecx, eax */ 30613 RECOMP_ICALL(0x250EFE90u); /* 0x250A9849: call 0x250efe90 */ /* not lifted */ 30614 RECOMP_FLAGS_IN(); 30615 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(eax)); /* 0x250A984E: mov byte ptr [ebp - 0x34], al */ 30616 eax = MEM32(0x25238B94); /* 0x250A9851: mov eax, dword ptr [0x25238b94] */ 30617 ecx = MEM32(eax + 0x894); /* 0x250A9856: mov ecx, dword ptr [eax + 0x894] */ 30618 eax = MEM32(ecx + 0x518); /* 0x250A985C: mov eax, dword ptr [ecx + 0x518] */ 30619 PUSH32(esp, 0xAu); /* 0x250A9862: push 0xa */ 30620 PUSH32(esp, 2); /* 0x250A9864: push 2 */ 30621 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30622 ebx = 0; /* 0x250A9866: xor ebx, ebx */ 30623 _cf = 0; 30624 _flag_k = FK_TEST; 30625 PUSH32(esp, 0x13u); /* 0x250A9868: push 0x13 */ 30626 MEM32(ebp + (-0x4)) = ebx; /* 0x250A986A: mov dword ptr [ebp - 4], ebx */ 30627 MEM32(ebp + (-0x30)) = 0x13u; /* 0x250A986D: mov dword ptr [ebp - 0x30], 0x13 */ 30628 MEM32(ebp + (-0x18)) = eax; /* 0x250A9874: mov dword ptr [ebp - 0x18], eax */ 30629 MEM32(ebp + (-0x2C)) = eax; /* 0x250A9877: mov dword ptr [ebp - 0x2c], eax */ 30630 RECOMP_ICALL(0x250EFE90u); /* 0x250A987A: call 0x250efe90 */ /* not lifted */ 30631 RECOMP_FLAGS_IN(); 30632 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(eax)); /* 0x250A987F: mov byte ptr [ebp - 0x28], al */ 30633 ecx = MEM32(0x25238B94); /* 0x250A9882: mov ecx, dword ptr [0x25238b94] */ 30634 ecx = MEM32(ecx + 0x894); /* 0x250A9888: mov ecx, dword ptr [ecx + 0x894] */ 30635 eax = MEM32(ecx + 0x51C); /* 0x250A988E: mov eax, dword ptr [ecx + 0x51c] */ 30636 PUSH32(esp, 0xAu); /* 0x250A9894: push 0xa */ 30637 PUSH32(esp, 6); /* 0x250A9896: push 6 */ 30638 PUSH32(esp, 0x14u); /* 0x250A9898: push 0x14 */ 30639 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A989A: mov byte ptr [ebp - 4], 1 */ 30640 MEM32(ebp + (-0x24)) = 0x14u; /* 0x250A989E: mov dword ptr [ebp - 0x24], 0x14 */ 30641 MEM32(ebp + (-0x14)) = eax; /* 0x250A98A5: mov dword ptr [ebp - 0x14], eax */ 30642 MEM32(ebp + (-0x20)) = eax; /* 0x250A98A8: mov dword ptr [ebp - 0x20], eax */ 30643 RECOMP_ICALL(0x250EFE90u); /* 0x250A98AB: call 0x250efe90 */ /* not lifted */ 30644 RECOMP_FLAGS_IN(); 30645 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(eax)); /* 0x250A98B0: mov byte ptr [ebp - 0x1c], al */ 30646 edx = MEM32(0x25238B94); /* 0x250A98B3: mov edx, dword ptr [0x25238b94] */ 30647 ecx = MEM32(edx + 0x894); /* 0x250A98B9: mov ecx, dword ptr [edx + 0x894] */ 30648 eax = MEM32(ecx + 0xD98); /* 0x250A98BF: mov eax, dword ptr [ecx + 0xd98] */ 30649 PUSH32(esp, 0xAu); /* 0x250A98C5: push 0xa */ 30650 PUSH32(esp, 2); /* 0x250A98C7: push 2 */ 30651 PUSH32(esp, 4); /* 0x250A98C9: push 4 */ 30652 PUSH32(esp, ebx); /* 0x250A98CB: push ebx */ 30653 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A98CC: mov byte ptr [ebp - 4], 2 */ 30654 MEM32(ebp + (-0x5C)) = ebx; /* 0x250A98D0: mov dword ptr [ebp - 0x5c], ebx */ 30655 MEM32(ebp + (-0x58)) = 4; /* 0x250A98D3: mov dword ptr [ebp - 0x58], 4 */ 30656 MEM32(ebp + (-0x10)) = eax; /* 0x250A98DA: mov dword ptr [ebp - 0x10], eax */ 30657 MEM32(ebp + (-0x54)) = eax; /* 0x250A98DD: mov dword ptr [ebp - 0x54], eax */ 30658 RECOMP_ICALL(0x250EFF00u); /* 0x250A98E0: call 0x250eff00 */ /* not lifted */ 30659 RECOMP_FLAGS_IN(); 30660 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x250A98E5: mov byte ptr [ebp - 0x50], al */ 30661 eax = MEM32(0x25238B94); /* 0x250A98E8: mov eax, dword ptr [0x25238b94] */ 30662 ecx = MEM32(eax + 0x894); /* 0x250A98ED: mov ecx, dword ptr [eax + 0x894] */ 30663 edi = MEM32(ecx + 0xD9C); /* 0x250A98F3: mov edi, dword ptr [ecx + 0xd9c] */ 30664 PUSH32(esp, 0xAu); /* 0x250A98F9: push 0xa */ 30665 PUSH32(esp, 2); /* 0x250A98FB: push 2 */ 30666 PUSH32(esp, 5); /* 0x250A98FD: push 5 */ 30667 PUSH32(esp, ebx); /* 0x250A98FF: push ebx */ 30668 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9900: mov byte ptr [ebp - 4], 3 */ 30669 MEM32(ebp + (-0x4C)) = ebx; /* 0x250A9904: mov dword ptr [ebp - 0x4c], ebx */ 30670 MEM32(ebp + (-0x48)) = 5; /* 0x250A9907: mov dword ptr [ebp - 0x48], 5 */ 30671 MEM32(ebp + (-0x44)) = edi; /* 0x250A990E: mov dword ptr [ebp - 0x44], edi */ 30672 RECOMP_ICALL(0x250EFF00u); /* 0x250A9911: call 0x250eff00 */ /* not lifted */ 30673 RECOMP_FLAGS_IN(); 30674 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(eax)); /* 0x250A9916: mov byte ptr [ebp - 0x40], al */ 30675 eax = MEM32(esi + 0x6C); /* 0x250A9919: mov eax, dword ptr [esi + 0x6c] */ 30676 /* cmp eax, ebx */ /* 0x250A991C: cmp eax, ebx */ 30677 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 30678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30679 _flag_k = FK_CMP; 30680 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A991E: mov byte ptr [ebp - 4], 4 */ 30681 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A9933; /* 0x250A9922: je 0x250a9933 */ 30682 L_250A9924: 30683 eax = MEM32(eax + 0x28); /* 0x250A9924: mov eax, dword ptr [eax + 0x28] */ 30684 ecx = MEM32(ebp + 0x8); /* 0x250A9927: mov ecx, dword ptr [ebp + 8] */ 30685 ecx = MEM32(ecx + 0x8); /* 0x250A992A: mov ecx, dword ptr [ecx + 8] */ 30686 PUSH32(esp, 0xAu); /* 0x250A992D: push 0xa */ 30687 PUSH32(esp, ebx); /* 0x250A992F: push ebx */ 30688 PUSH32(esp, eax); /* 0x250A9930: push eax */ 30689 goto L_250A993D; /* 0x250A9931: jmp 0x250a993d */ 30690 L_250A9933: 30691 edx = MEM32(ebp + 0x8); /* 0x250A9933: mov edx, dword ptr [ebp + 8] */ 30692 ecx = MEM32(edx + 0x8); /* 0x250A9936: mov ecx, dword ptr [edx + 8] */ 30693 PUSH32(esp, 0xAu); /* 0x250A9939: push 0xa */ 30694 PUSH32(esp, ebx); /* 0x250A993B: push ebx */ 30695 PUSH32(esp, ebx); /* 0x250A993C: push ebx */ 30696 L_250A993D: 30697 RECOMP_ICALL(0x250EFF90u); /* 0x250A993D: call 0x250eff90 */ /* not lifted */ 30698 RECOMP_FLAGS_IN(); 30699 ecx = MEM32(ebp + 0x8); /* 0x250A9942: mov ecx, dword ptr [ebp + 8] */ 30700 RECOMP_ICALL(0x250E05D0u); /* 0x250A9945: call 0x250e05d0 */ /* not lifted */ 30701 RECOMP_FLAGS_IN(); 30702 eax = MEM32(esi + 0xA4); /* 0x250A994A: mov eax, dword ptr [esi + 0xa4] */ 30703 ecx = MEM32(ebp + 0x8); /* 0x250A9950: mov ecx, dword ptr [ebp + 8] */ 30704 PUSH32(esp, eax); /* 0x250A9953: push eax */ 30705 PUSH32(esp, ecx); /* 0x250A9954: push ecx */ 30706 ecx = esi; /* 0x250A9955: mov ecx, esi */ 30707 RECOMP_ICALL(0x250A8AD0u); /* 0x250A9957: call 0x250a8ad0 */ /* not lifted */ 30708 RECOMP_FLAGS_IN(); 30709 /* cmp MEM8(esi + 0xDD), LO8(ebx) */ /* 0x250A995C: cmp byte ptr [esi + 0xdd], bl */ 30710 _flag_a = (uint32_t)(MEM8(esi + 0xDD)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 30711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30712 _flag_k = FK_NARROW(FK_CMP, 24); 30713 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A99BB; /* 0x250A9962: je 0x250a99bb */ 30714 L_250A9964: 30715 /* cmp MEM8(esi + 0xDC), LO8(ebx) */ /* 0x250A9964: cmp byte ptr [esi + 0xdc], bl */ 30716 _flag_a = (uint32_t)(MEM8(esi + 0xDC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 30717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30718 _flag_k = FK_NARROW(FK_CMP, 24); 30719 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A99BB; /* 0x250A996A: je 0x250a99bb */ 30720 L_250A996C: 30721 edx = MEM32(esi + 0xD8); /* 0x250A996C: mov edx, dword ptr [esi + 0xd8] */ 30722 /* cmp edx, MEM32(esi + 0xD4) */ /* 0x250A9972: cmp edx, dword ptr [esi + 0xd4] */ 30723 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xD4)); 30724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30725 _flag_k = FK_CMP; 30726 if (CMP_NE(_flag_a, _flag_b)) goto L_250A99BB; /* 0x250A9978: jne 0x250a99bb */ 30727 L_250A997A: 30728 eax = MEM32(esi + 0x6C); /* 0x250A997A: mov eax, dword ptr [esi + 0x6c] */ 30729 /* cmp eax, ebx */ /* 0x250A997D: cmp eax, ebx */ 30730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 30731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30732 _flag_k = FK_CMP; 30733 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A9990; /* 0x250A997F: je 0x250a9990 */ 30734 L_250A9981: 30735 eax = MEM32(eax + 0x28); /* 0x250A9981: mov eax, dword ptr [eax + 0x28] */ 30736 PUSH32(esp, 0xAu); /* 0x250A9984: push 0xa */ 30737 PUSH32(esp, ebx); /* 0x250A9986: push ebx */ 30738 PUSH32(esp, eax); /* 0x250A9987: push eax */ 30739 eax = MEM32(ebp + 0x8); /* 0x250A9988: mov eax, dword ptr [ebp + 8] */ 30740 ecx = MEM32(eax + 0x8); /* 0x250A998B: mov ecx, dword ptr [eax + 8] */ 30741 goto L_250A999A; /* 0x250A998E: jmp 0x250a999a */ 30742 L_250A9990: 30743 ecx = MEM32(ebp + 0x8); /* 0x250A9990: mov ecx, dword ptr [ebp + 8] */ 30744 ecx = MEM32(ecx + 0x8); /* 0x250A9993: mov ecx, dword ptr [ecx + 8] */ 30745 PUSH32(esp, 0xAu); /* 0x250A9996: push 0xa */ 30746 PUSH32(esp, ebx); /* 0x250A9998: push ebx */ 30747 PUSH32(esp, ebx); /* 0x250A9999: push ebx */ 30748 L_250A999A: 30749 RECOMP_ICALL(0x250EFF90u); /* 0x250A999A: call 0x250eff90 */ /* not lifted */ 30750 RECOMP_FLAGS_IN(); 30751 ecx = MEM32(ebp + 0x8); /* 0x250A999F: mov ecx, dword ptr [ebp + 8] */ 30752 RECOMP_ICALL(0x250E05D0u); /* 0x250A99A2: call 0x250e05d0 */ /* not lifted */ 30753 RECOMP_FLAGS_IN(); 30754 eax = MEM32(ebp + 0x8); /* 0x250A99A7: mov eax, dword ptr [ebp + 8] */ 30755 PUSH32(esp, 8); /* 0x250A99AA: push 8 */ 30756 edx = esi + 0xC8; /* 0x250A99AC: lea edx, [esi + 0xc8] */ 30757 PUSH32(esp, edx); /* 0x250A99B2: push edx */ 30758 PUSH32(esp, eax); /* 0x250A99B3: push eax */ 30759 ecx = esi; /* 0x250A99B4: mov ecx, esi */ 30760 RECOMP_ICALL(0x250A87E0u); /* 0x250A99B6: call 0x250a87e0 */ /* not lifted */ 30761 RECOMP_FLAGS_IN(); 30762 L_250A99BB: 30763 eax = MEM32(esi + 0x70); /* 0x250A99BB: mov eax, dword ptr [esi + 0x70] */ 30764 /* cmp eax, ebx */ /* 0x250A99BE: cmp eax, ebx */ 30765 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 30766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30767 _flag_k = FK_CMP; 30768 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A99D1; /* 0x250A99C0: je 0x250a99d1 */ 30769 L_250A99C2: 30770 eax = MEM32(eax + 0x28); /* 0x250A99C2: mov eax, dword ptr [eax + 0x28] */ 30771 ecx = MEM32(ebp + 0x8); /* 0x250A99C5: mov ecx, dword ptr [ebp + 8] */ 30772 ecx = MEM32(ecx + 0x8); /* 0x250A99C8: mov ecx, dword ptr [ecx + 8] */ 30773 PUSH32(esp, 0xAu); /* 0x250A99CB: push 0xa */ 30774 PUSH32(esp, ebx); /* 0x250A99CD: push ebx */ 30775 PUSH32(esp, eax); /* 0x250A99CE: push eax */ 30776 goto L_250A99DB; /* 0x250A99CF: jmp 0x250a99db */ 30777 L_250A99D1: 30778 edx = MEM32(ebp + 0x8); /* 0x250A99D1: mov edx, dword ptr [ebp + 8] */ 30779 ecx = MEM32(edx + 0x8); /* 0x250A99D4: mov ecx, dword ptr [edx + 8] */ 30780 PUSH32(esp, 0xAu); /* 0x250A99D7: push 0xa */ 30781 PUSH32(esp, ebx); /* 0x250A99D9: push ebx */ 30782 PUSH32(esp, ebx); /* 0x250A99DA: push ebx */ 30783 L_250A99DB: 30784 RECOMP_ICALL(0x250EFF90u); /* 0x250A99DB: call 0x250eff90 */ /* not lifted */ 30785 RECOMP_FLAGS_IN(); 30786 ecx = MEM32(ebp + 0x8); /* 0x250A99E0: mov ecx, dword ptr [ebp + 8] */ 30787 RECOMP_ICALL(0x250E05D0u); /* 0x250A99E3: call 0x250e05d0 */ /* not lifted */ 30788 RECOMP_FLAGS_IN(); 30789 eax = MEM32(esi + 0x8C); /* 0x250A99E8: mov eax, dword ptr [esi + 0x8c] */ 30790 edx = MEM32(ebp + 0x8); /* 0x250A99EE: mov edx, dword ptr [ebp + 8] */ 30791 PUSH32(esp, ebx); /* 0x250A99F1: push ebx */ 30792 PUSH32(esp, eax); /* 0x250A99F2: push eax */ 30793 ecx = esi + 0x80; /* 0x250A99F3: lea ecx, [esi + 0x80] */ 30794 PUSH32(esp, ecx); /* 0x250A99F9: push ecx */ 30795 PUSH32(esp, edx); /* 0x250A99FA: push edx */ 30796 ecx = esi; /* 0x250A99FB: mov ecx, esi */ 30797 RECOMP_ICALL(0x250A8830u); /* 0x250A99FD: call 0x250a8830 */ /* not lifted */ 30798 RECOMP_FLAGS_IN(); 30799 /* cmp MEM8(ebp + (-0x40)), LO8(ebx) */ /* 0x250A9A02: cmp byte ptr [ebp - 0x40], bl */ 30800 _flag_a = (uint32_t)(MEM8(ebp + (-0x40))) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 30801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30802 _flag_k = FK_NARROW(FK_CMP, 24); 30803 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9A05: mov byte ptr [ebp - 4], 3 */ 30804 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A9A21; /* 0x250A9A09: je 0x250a9a21 */ 30805 L_250A9A0B: 30806 eax = MEM32(0x25238B94); /* 0x250A9A0B: mov eax, dword ptr [0x25238b94] */ 30807 ecx = MEM32(eax + 0x894); /* 0x250A9A10: mov ecx, dword ptr [eax + 0x894] */ 30808 PUSH32(esp, 2); /* 0x250A9A16: push 2 */ 30809 PUSH32(esp, edi); /* 0x250A9A18: push edi */ 30810 PUSH32(esp, 5); /* 0x250A9A19: push 5 */ 30811 PUSH32(esp, ebx); /* 0x250A9A1B: push ebx */ 30812 RECOMP_ICALL(0x250EFF00u); /* 0x250A9A1C: call 0x250eff00 */ /* not lifted */ 30813 RECOMP_FLAGS_IN(); 30814 L_250A9A21: 30815 /* cmp MEM8(ebp + (-0x50)), LO8(ebx) */ /* 0x250A9A21: cmp byte ptr [ebp - 0x50], bl */ 30816 _flag_a = (uint32_t)(MEM8(ebp + (-0x50))) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 30817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30818 _flag_k = FK_NARROW(FK_CMP, 24); 30819 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9A24: mov byte ptr [ebp - 4], 2 */ 30820 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A9A44; /* 0x250A9A28: je 0x250a9a44 */ 30821 L_250A9A2A: 30822 edx = MEM32(ebp + (-0x10)); /* 0x250A9A2A: mov edx, dword ptr [ebp - 0x10] */ 30823 ecx = MEM32(0x25238B94); /* 0x250A9A2D: mov ecx, dword ptr [0x25238b94] */ 30824 ecx = MEM32(ecx + 0x894); /* 0x250A9A33: mov ecx, dword ptr [ecx + 0x894] */ 30825 PUSH32(esp, 2); /* 0x250A9A39: push 2 */ 30826 PUSH32(esp, edx); /* 0x250A9A3B: push edx */ 30827 PUSH32(esp, 4); /* 0x250A9A3C: push 4 */ 30828 PUSH32(esp, ebx); /* 0x250A9A3E: push ebx */ 30829 RECOMP_ICALL(0x250EFF00u); /* 0x250A9A3F: call 0x250eff00 */ /* not lifted */ 30830 RECOMP_FLAGS_IN(); 30831 L_250A9A44: 30832 /* cmp MEM8(ebp + (-0x1C)), LO8(ebx) */ /* 0x250A9A44: cmp byte ptr [ebp - 0x1c], bl */ 30833 _flag_a = (uint32_t)(MEM8(ebp + (-0x1C))) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 30834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30835 _flag_k = FK_NARROW(FK_CMP, 24); 30836 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9A47: mov byte ptr [ebp - 4], 1 */ 30837 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A9A65; /* 0x250A9A4B: je 0x250a9a65 */ 30838 L_250A9A4D: 30839 edx = MEM32(ebp + (-0x14)); /* 0x250A9A4D: mov edx, dword ptr [ebp - 0x14] */ 30840 eax = MEM32(0x25238B94); /* 0x250A9A50: mov eax, dword ptr [0x25238b94] */ 30841 ecx = MEM32(eax + 0x894); /* 0x250A9A55: mov ecx, dword ptr [eax + 0x894] */ 30842 PUSH32(esp, 2); /* 0x250A9A5B: push 2 */ 30843 PUSH32(esp, edx); /* 0x250A9A5D: push edx */ 30844 PUSH32(esp, 0x14u); /* 0x250A9A5E: push 0x14 */ 30845 RECOMP_ICALL(0x250EFE90u); /* 0x250A9A60: call 0x250efe90 */ /* not lifted */ 30846 RECOMP_FLAGS_IN(); 30847 L_250A9A65: 30848 /* cmp MEM8(ebp + (-0x28)), LO8(ebx) */ /* 0x250A9A65: cmp byte ptr [ebp - 0x28], bl */ 30849 _flag_a = (uint32_t)(MEM8(ebp + (-0x28))) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 30850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30851 _flag_k = FK_NARROW(FK_CMP, 24); 30852 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250A9A68: mov byte ptr [ebp - 4], bl */ 30853 if (CMP_EQ(_flag_a, _flag_b)) goto L_250A9A85; /* 0x250A9A6B: je 0x250a9a85 */ 30854 L_250A9A6D: 30855 edx = MEM32(ebp + (-0x18)); /* 0x250A9A6D: mov edx, dword ptr [ebp - 0x18] */ 30856 eax = MEM32(0x25238B94); /* 0x250A9A70: mov eax, dword ptr [0x25238b94] */ 30857 ecx = MEM32(eax + 0x894); /* 0x250A9A75: mov ecx, dword ptr [eax + 0x894] */ 30858 PUSH32(esp, 2); /* 0x250A9A7B: push 2 */ 30859 PUSH32(esp, edx); /* 0x250A9A7D: push edx */ 30860 PUSH32(esp, 0x13u); /* 0x250A9A7E: push 0x13 */ 30861 RECOMP_ICALL(0x250EFE90u); /* 0x250A9A80: call 0x250efe90 */ /* not lifted */ 30862 RECOMP_FLAGS_IN(); 30863 L_250A9A85: 30864 ecx = ebp + (-0x3C); /* 0x250A9A85: lea ecx, [ebp - 0x3c] */ 30865 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250A9A88: mov dword ptr [ebp - 4], 0xffffffff */ 30866 RECOMP_ICALL(0x25009BC0u); /* 0x250A9A8F: call 0x25009bc0 */ /* not lifted */ 30867 RECOMP_FLAGS_IN(); 30868 ecx = MEM32(ebp + 0x8); /* 0x250A9A94: mov ecx, dword ptr [ebp + 8] */ 30869 PUSH32(esp, ebx); /* 0x250A9A97: push ebx */ 30870 PUSH32(esp, ebx); /* 0x250A9A98: push ebx */ 30871 RECOMP_ICALL(0x2504A0D0u); /* 0x250A9A99: call 0x2504a0d0 */ /* not lifted */ 30872 RECOMP_FLAGS_IN(); 30873 ecx = MEM32(ebp + (-0xC)); /* 0x250A9A9E: mov ecx, dword ptr [ebp - 0xc] */ 30874 edi = POP32_VAL(esp); /* 0x250A9AA1: pop edi */ 30875 esi = POP32_VAL(esp); /* 0x250A9AA2: pop esi */ 30876 ebx = POP32_VAL(esp); /* 0x250A9AA3: pop ebx */ 30877 MEM32(FS_BASE + (0)) = ecx; /* 0x250A9AA4: mov dword ptr fs:[0], ecx */ 30878 esp = ebp; /* 0x250A9AAB: mov esp, ebp */ 30879 ebp = POP32_VAL(esp); /* 0x250A9AAD: pop ebp */ 30880 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250A9AAE: ret 4 */ 30881 RECOMP_REGS_OUT(); 30882 } 30883 30884 void sub_250A9AC0(void) { 30885 int _fpu_cmp = 0; 30886 uint32_t _cf = 0; 30887 int _df = 1; 30888 uint32_t _flag_k = FK_NONE; 30889 uint32_t _flag_a = 0, _flag_b = 0; 30890 uint32_t _itail_tgt = 0; 30891 RECOMP_REGS_LOCALS 30892 RECOMP_ENTER(0x250A9AC0u); 30893 30894 L_250A9AC0: 30895 SET_LO8(eax, MEM8(ecx + 0x66)); /* 0x250A9AC0: mov al, byte ptr [ecx + 0x66] */ 30896 /* test LO8(eax), LO8(eax) */ /* 0x250A9AC3: test al, al */ 30897 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30898 _cf = 0; 30899 _flag_k = FK_NARROW(FK_TEST, 24); 30900 SET_LO8(eax, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x250A9AC5: sete al */ 30901 MEM8(ecx + 0x66) = (uint8_t)(LO8(eax)); /* 0x250A9AC8: mov byte ptr [ecx + 0x66], al */ 30902 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A9ACB: ret */ 30903 RECOMP_REGS_OUT(); 30904 } 30905 30906 void sub_250A9AD0(void) { 30907 int _fpu_cmp = 0; 30908 uint32_t _cf = 0; 30909 int _df = 1; 30910 uint32_t _flag_k = FK_NONE; 30911 uint32_t _flag_a = 0, _flag_b = 0; 30912 uint32_t _itail_tgt = 0; 30913 RECOMP_REGS_LOCALS 30914 RECOMP_ENTER(0x250A9AD0u); 30915 30916 L_250A9AD0: 30917 PUSH32(esp, ebp); /* 0x250A9AD0: push ebp */ 30918 ebp = esp; /* 0x250A9AD1: mov ebp, esp */ 30919 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xA0u); 30920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30921 esp = esp - 0xA0u; /* 0x250A9AD3: sub esp, 0xa0 */ 30922 _flag_k = FK_CMP; 30923 edx = MEM32(ebp + 0x10); /* 0x250A9AD9: mov edx, dword ptr [ebp + 0x10] */ 30924 PUSH32(esp, esi); /* 0x250A9ADC: push esi */ 30925 PUSH32(esp, edi); /* 0x250A9ADD: push edi */ 30926 eax = ebp + (-0x94); /* 0x250A9ADE: lea eax, [ebp - 0x94] */ 30927 ecx = 8; /* 0x250A9AE4: mov ecx, 8 */ 30928 esi = 0x3C23D70Au; /* 0x250A9AE9: mov esi, 0x3c23d70a */ 30929 L_250A9AEE: 30930 MEM32(eax + (-0x4)) = esi; /* 0x250A9AEE: mov dword ptr [eax - 4], esi */ 30931 MEM32(eax) = 0x42C80000u; /* 0x250A9AF1: mov dword ptr [eax], 0x42c80000 */ 30932 MEM32(eax + 0x4) = edx; /* 0x250A9AF7: mov dword ptr [eax + 4], edx */ 30933 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 30934 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30935 eax = eax + 0x14u; /* 0x250A9AFA: add eax, 0x14 */ 30936 _flag_k = FK_ADD; 30937 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30938 ecx = ecx - 1; /* 0x250A9AFD: dec ecx */ 30939 _flag_k = FK_DEC; 30940 RECOMP_BACKEDGE(); 30941 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250A9AEE; /* 0x250A9AFE: jne 0x250a9aee */ 30942 L_250A9B00: 30943 eax = MEM32(ebp + 0xC); /* 0x250A9B00: mov eax, dword ptr [ebp + 0xc] */ 30944 ecx = MEM32(eax); /* 0x250A9B03: mov ecx, dword ptr [eax] */ 30945 edx = MEM32(eax + 0x4); /* 0x250A9B05: mov edx, dword ptr [eax + 4] */ 30946 MEM32(ebp + (-0xA0)) = ecx; /* 0x250A9B08: mov dword ptr [ebp - 0xa0], ecx */ 30947 ecx = MEM32(eax + 0x8); /* 0x250A9B0E: mov ecx, dword ptr [eax + 8] */ 30948 MEM32(ebp + (-0x8C)) = ecx; /* 0x250A9B11: mov dword ptr [ebp - 0x8c], ecx */ 30949 MEM32(ebp + (-0x9C)) = edx; /* 0x250A9B17: mov dword ptr [ebp - 0x9c], edx */ 30950 MEM32(ebp + (-0x88)) = edx; /* 0x250A9B1D: mov dword ptr [ebp - 0x88], edx */ 30951 edx = MEM32(eax + 0xC); /* 0x250A9B23: mov edx, dword ptr [eax + 0xc] */ 30952 ecx = 5; /* 0x250A9B26: mov ecx, 5 */ 30953 esi = ebp + (-0x8C); /* 0x250A9B2B: lea esi, [ebp - 0x8c] */ 30954 edi = ebp + (-0x78); /* 0x250A9B31: lea edi, [ebp - 0x78] */ 30955 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A9B34: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 30956 ecx = MEM32(eax + 0x8); /* 0x250A9B36: mov ecx, dword ptr [eax + 8] */ 30957 MEM32(ebp + (-0x64)) = ecx; /* 0x250A9B39: mov dword ptr [ebp - 0x64], ecx */ 30958 MEM32(ebp + (-0x60)) = edx; /* 0x250A9B3C: mov dword ptr [ebp - 0x60], edx */ 30959 ecx = 5; /* 0x250A9B3F: mov ecx, 5 */ 30960 esi = ebp + (-0x64); /* 0x250A9B44: lea esi, [ebp - 0x64] */ 30961 edi = ebp + (-0x50); /* 0x250A9B47: lea edi, [ebp - 0x50] */ 30962 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A9B4A: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 30963 ecx = MEM32(eax); /* 0x250A9B4C: mov ecx, dword ptr [eax] */ 30964 MEM32(ebp + (-0x3C)) = ecx; /* 0x250A9B4E: mov dword ptr [ebp - 0x3c], ecx */ 30965 MEM32(ebp + (-0x38)) = edx; /* 0x250A9B51: mov dword ptr [ebp - 0x38], edx */ 30966 ecx = 5; /* 0x250A9B54: mov ecx, 5 */ 30967 esi = ebp + (-0x3C); /* 0x250A9B59: lea esi, [ebp - 0x3c] */ 30968 edi = ebp + (-0x28); /* 0x250A9B5C: lea edi, [ebp - 0x28] */ 30969 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A9B5F: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 30970 ecx = 5; /* 0x250A9B61: mov ecx, 5 */ 30971 esi = ebp + (-0xA0); /* 0x250A9B66: lea esi, [ebp - 0xa0] */ 30972 edi = ebp + (-0x14); /* 0x250A9B6C: lea edi, [ebp - 0x14] */ 30973 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250A9B6F: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 30974 ecx = MEM32(ebp + 0x8); /* 0x250A9B71: mov ecx, dword ptr [ebp + 8] */ 30975 RECOMP_ICALL(0x250E05D0u); /* 0x250A9B74: call 0x250e05d0 */ /* not lifted */ 30976 RECOMP_FLAGS_IN(); 30977 ecx = MEM32(0x25238B58); /* 0x250A9B79: mov ecx, dword ptr [0x25238b58] */ 30978 PUSH32(esp, 0); /* 0x250A9B7F: push 0 */ 30979 PUSH32(esp, 8); /* 0x250A9B81: push 8 */ 30980 eax = ebp + (-0xA0); /* 0x250A9B83: lea eax, [ebp - 0xa0] */ 30981 PUSH32(esp, eax); /* 0x250A9B89: push eax */ 30982 PUSH32(esp, 0x44u); /* 0x250A9B8A: push 0x44 */ 30983 RECOMP_ICALL(0x250E8090u); /* 0x250A9B8C: call 0x250e8090 */ /* not lifted */ 30984 RECOMP_FLAGS_IN(); 30985 edi = POP32_VAL(esp); /* 0x250A9B91: pop edi */ 30986 esi = POP32_VAL(esp); /* 0x250A9B92: pop esi */ 30987 esp = ebp; /* 0x250A9B93: mov esp, ebp */ 30988 ebp = POP32_VAL(esp); /* 0x250A9B95: pop ebp */ 30989 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250A9B96: ret 0xc */ 30990 RECOMP_REGS_OUT(); 30991 } 30992 30993 void sub_250A9BA0(void) { 30994 int _fpu_cmp = 0; 30995 uint32_t _cf = 0; 30996 int _df = 1; 30997 uint32_t _flag_k = FK_NONE; 30998 uint32_t _flag_a = 0, _flag_b = 0; 30999 uint32_t _itail_tgt = 0; 31000 RECOMP_REGS_LOCALS 31001 RECOMP_ENTER(0x250A9BA0u); 31002 31003 L_250A9BA0: 31004 PUSH32(esp, ebp); /* 0x250A9BA0: push ebp */ 31005 ebp = esp; /* 0x250A9BA1: mov ebp, esp */ 31006 PUSH32(esp, 0xFFFFFFFFu); /* 0x250A9BA3: push -1 */ 31007 PUSH32(esp, 0x2514A263u); /* 0x250A9BA5: push 0x2514a263 */ 31008 eax = MEM32(FS_BASE + (0)); /* 0x250A9BAA: mov eax, dword ptr fs:[0] */ 31009 PUSH32(esp, eax); /* 0x250A9BB0: push eax */ 31010 MEM32(FS_BASE + (0)) = esp; /* 0x250A9BB1: mov dword ptr fs:[0], esp */ 31011 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1C8u); 31012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31013 esp = esp - 0x1C8u; /* 0x250A9BB8: sub esp, 0x1c8 */ 31014 _flag_k = FK_CMP; 31015 PUSH32(esp, ebx); /* 0x250A9BBE: push ebx */ 31016 PUSH32(esp, esi); /* 0x250A9BBF: push esi */ 31017 esi = ecx; /* 0x250A9BC0: mov esi, ecx */ 31018 SET_LO8(eax, MEM8(esi + 0x14)); /* 0x250A9BC2: mov al, byte ptr [esi + 0x14] */ 31019 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31020 ebx = 0; /* 0x250A9BC5: xor ebx, ebx */ 31021 _cf = 0; 31022 _flag_k = FK_TEST; 31023 /* test LO8(eax), LO8(eax) */ /* 0x250A9BC7: test al, al */ 31024 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31025 _cf = 0; 31026 _flag_k = FK_NARROW(FK_TEST, 24); 31027 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250A9BC9: je 0x250abac2 */ 31028 L_250A9BCF: 31029 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250A9BCF: mov al, byte ptr [esi + 0xdd] */ 31030 /* test LO8(eax), LO8(eax) */ /* 0x250A9BD5: test al, al */ 31031 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31032 _cf = 0; 31033 _flag_k = FK_NARROW(FK_TEST, 24); 31034 if (TEST_NZ(_flag_a, _flag_b)) goto L_250A9BF0; /* 0x250A9BD7: jne 0x250a9bf0 */ 31035 L_250A9BD9: 31036 /* cmp MEM32(esi + 0x98), ebx */ /* 0x250A9BD9: cmp dword ptr [esi + 0x98], ebx */ 31037 _flag_a = (uint32_t)(MEM32(esi + 0x98)); _flag_b = (uint32_t)(ebx); 31038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31039 _flag_k = FK_CMP; 31040 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250A9BDF: je 0x250abac2 */ 31041 L_250A9BE5: 31042 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250A9BE5: mov al, byte ptr [esi + 0x67] */ 31043 /* test LO8(eax), LO8(eax) */ /* 0x250A9BE8: test al, al */ 31044 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31045 _cf = 0; 31046 _flag_k = FK_NARROW(FK_TEST, 24); 31047 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250A9BEA: je 0x250abac2 */ 31048 L_250A9BF0: 31049 eax = MEM32(esi + 0x30); /* 0x250A9BF0: mov eax, dword ptr [esi + 0x30] */ 31050 fp_push(*(float*)&MEM32(esi + 0x58)); /* 0x250A9BF3: fld dword ptr [esi + 0x58] */ 31051 MEM32(ebp + (-0x30)) = eax; /* 0x250A9BF6: mov dword ptr [ebp - 0x30], eax */ 31052 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x250A9BF9: fld dword ptr [ebp - 0x30] */ 31053 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25155880)); /* 0x250A9BFC: fcomp qword ptr [0x25155880] */ 31054 fp_pop(); 31055 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A9C02: fnstsw ax */ 31056 /* test HI8(eax), 1 */ /* 0x250A9C04: test ah, 1 */ 31057 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 31058 _cf = 0; 31059 _flag_k = FK_NARROW(FK_TEST, 24); 31060 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9C13; /* 0x250A9C07: je 0x250a9c13 */ 31061 L_250A9C09: 31062 _st[0] += (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250A9C09: fadd dword ptr [ebp - 0x30] */ 31063 MEM32(ebp + (-0x30)) = 0; /* 0x250A9C0C: mov dword ptr [ebp - 0x30], 0 */ 31064 L_250A9C13: 31065 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A9C13: fcom dword ptr [0x2515177c] */ 31066 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A9C19: fnstsw ax */ 31067 /* test HI8(eax), 0x41u */ /* 0x250A9C1B: test ah, 0x41 */ 31068 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 31069 _cf = 0; 31070 _flag_k = FK_NARROW(FK_TEST, 24); 31071 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ABAC0; /* 0x250A9C1E: jne 0x250abac0 */ 31072 L_250A9C24: 31073 PUSH32(esp, edi); /* 0x250A9C24: push edi */ 31074 edi = MEM32(ebp + 0x8); /* 0x250A9C25: mov edi, dword ptr [ebp + 8] */ 31075 eax = MEM32(edi + 0x1C); /* 0x250A9C28: mov eax, dword ptr [edi + 0x1c] */ 31076 ecx = MEM32(edi + 0x20); /* 0x250A9C2B: mov ecx, dword ptr [edi + 0x20] */ 31077 edx = MEM32(edi + 0x24); /* 0x250A9C2E: mov edx, dword ptr [edi + 0x24] */ 31078 MEM32(ebp + (-0xD0)) = eax; /* 0x250A9C31: mov dword ptr [ebp - 0xd0], eax */ 31079 MEM32(ebp + (-0xCC)) = ebx; /* 0x250A9C37: mov dword ptr [ebp - 0xcc], ebx */ 31080 fp_push_i64((int64_t)MEM64(ebp + (-0xD0))); /* 0x250A9C3D: fild qword ptr [ebp - 0xd0] */ 31081 MEM32(ebp + (-0xD0)) = ecx; /* 0x250A9C43: mov dword ptr [ebp - 0xd0], ecx */ 31082 MEM32(ebp + (-0xCC)) = ebx; /* 0x250A9C49: mov dword ptr [ebp - 0xcc], ebx */ 31083 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 31084 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31085 edx = edx + eax; /* 0x250A9C4F: add edx, eax */ 31086 _flag_k = FK_ADD; 31087 eax = MEM32(edi + 0x28); /* 0x250A9C51: mov eax, dword ptr [edi + 0x28] */ 31088 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x17C)) = _v; } /* 0x250A9C54: fstp dword ptr [ebp - 0x17c] */ 31089 fp_push_i64((int64_t)MEM64(ebp + (-0xD0))); /* 0x250A9C5A: fild qword ptr [ebp - 0xd0] */ 31090 MEM32(ebp + (-0xD0)) = edx; /* 0x250A9C60: mov dword ptr [ebp - 0xd0], edx */ 31091 edx = MEM32(ebp + (-0x30)); /* 0x250A9C66: mov edx, dword ptr [ebp - 0x30] */ 31092 MEM32(ebp + (-0xCC)) = ebx; /* 0x250A9C69: mov dword ptr [ebp - 0xcc], ebx */ 31093 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x16C)) = _v; } /* 0x250A9C6F: fstp dword ptr [ebp - 0x16c] */ 31094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 31095 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31096 eax = eax + ecx; /* 0x250A9C75: add eax, ecx */ 31097 _flag_k = FK_ADD; 31098 fp_push_i64((int64_t)MEM64(ebp + (-0xD0))); /* 0x250A9C77: fild qword ptr [ebp - 0xd0] */ 31099 ecx = MEM32(esi + 0x2C); /* 0x250A9C7D: mov ecx, dword ptr [esi + 0x2c] */ 31100 MEM32(ebp + (-0xD0)) = eax; /* 0x250A9C80: mov dword ptr [ebp - 0xd0], eax */ 31101 MEM32(ebp + (-0xCC)) = ebx; /* 0x250A9C86: mov dword ptr [ebp - 0xcc], ebx */ 31102 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x188)) = _v; } /* 0x250A9C8C: fstp dword ptr [ebp - 0x188] */ 31103 PUSH32(esp, ecx); /* 0x250A9C92: push ecx */ 31104 fp_push_i64((int64_t)MEM64(ebp + (-0xD0))); /* 0x250A9C93: fild qword ptr [ebp - 0xd0] */ 31105 MEM32(ebp + (-0x10)) = ecx; /* 0x250A9C99: mov dword ptr [ebp - 0x10], ecx */ 31106 eax = ecx; /* 0x250A9C9C: mov eax, ecx */ 31107 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x174)) = _v; } /* 0x250A9C9E: fstp dword ptr [ebp - 0x174] */ 31108 _st[0] += (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250A9CA4: fadd dword ptr [ebp - 0x30] */ 31109 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A9CA7: fstp dword ptr [esp] */ 31110 PUSH32(esp, ecx); /* 0x250A9CAA: push ecx */ 31111 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250A9CAB: fld dword ptr [ebp - 0x10] */ 31112 ecx = edi; /* 0x250A9CAE: mov ecx, edi */ 31113 _st[0] += (double)*(float*)ADDR(esi + 0x54); /* 0x250A9CB0: fadd dword ptr [esi + 0x54] */ 31114 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A9CB3: fstp dword ptr [esp] */ 31115 PUSH32(esp, edx); /* 0x250A9CB6: push edx */ 31116 PUSH32(esp, eax); /* 0x250A9CB7: push eax */ 31117 RECOMP_ICALL(0x250DF880u); /* 0x250A9CB8: call 0x250df880 */ /* not lifted */ 31118 RECOMP_FLAGS_IN(); 31119 SET_LO8(eax, MEM8(esi + 0x64)); /* 0x250A9CBD: mov al, byte ptr [esi + 0x64] */ 31120 /* test LO8(eax), LO8(eax) */ /* 0x250A9CC0: test al, al */ 31121 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31122 _cf = 0; 31123 _flag_k = FK_NARROW(FK_TEST, 24); 31124 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9CF6; /* 0x250A9CC2: je 0x250a9cf6 */ 31125 L_250A9CC4: 31126 SET_LO8(eax, MEM8(esi + 0x65)); /* 0x250A9CC4: mov al, byte ptr [esi + 0x65] */ 31127 /* test LO8(eax), LO8(eax) */ /* 0x250A9CC7: test al, al */ 31128 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31129 _cf = 0; 31130 _flag_k = FK_NARROW(FK_TEST, 24); 31131 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9CF6; /* 0x250A9CC9: je 0x250a9cf6 */ 31132 L_250A9CCB: 31133 fp_push(*(float*)&MEM32(esi + 0x88)); /* 0x250A9CCB: fld dword ptr [esi + 0x88] */ 31134 PUSH32(esp, ecx); /* 0x250A9CD1: push ecx */ 31135 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A9CD2: fmul dword ptr [0x25151924] */ 31136 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A9CD8: fstp dword ptr [esp] */ 31137 PUSH32(esp, ecx); /* 0x250A9CDB: push ecx */ 31138 fp_push(*(float*)&MEM32(esi + 0x80)); /* 0x250A9CDC: fld dword ptr [esi + 0x80] */ 31139 ecx = esi; /* 0x250A9CE2: mov ecx, esi */ 31140 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250A9CE4: fmul dword ptr [0x25151924] */ 31141 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250A9CEA: fstp dword ptr [esp] */ 31142 RECOMP_ICALL(0x250A7E70u); /* 0x250A9CED: call 0x250a7e70 */ /* not lifted */ 31143 RECOMP_FLAGS_IN(); 31144 MEM8(esi + 0x65) = (uint8_t)(0); /* 0x250A9CF2: mov byte ptr [esi + 0x65], 0 */ 31145 L_250A9CF6: 31146 ecx = MEM32(esi + 0x28); /* 0x250A9CF6: mov ecx, dword ptr [esi + 0x28] */ 31147 PUSH32(esp, ecx); /* 0x250A9CF9: push ecx */ 31148 ecx = edi; /* 0x250A9CFA: mov ecx, edi */ 31149 RECOMP_ICALL(0x250DFDA0u); /* 0x250A9CFC: call 0x250dfda0 */ /* not lifted */ 31150 RECOMP_FLAGS_IN(); 31151 edx = MEM32(0x25238B94); /* 0x250A9D01: mov edx, dword ptr [0x25238b94] */ 31152 ecx = MEM32(edx + 0x894); /* 0x250A9D07: mov ecx, dword ptr [edx + 0x894] */ 31153 eax = MEM32(ecx + 0x6F0); /* 0x250A9D0D: mov eax, dword ptr [ecx + 0x6f0] */ 31154 PUSH32(esp, 0xAu); /* 0x250A9D13: push 0xa */ 31155 PUSH32(esp, ebx); /* 0x250A9D15: push ebx */ 31156 PUSH32(esp, 0x89u); /* 0x250A9D16: push 0x89 */ 31157 MEM32(ebp + (-0x194)) = 0x89u; /* 0x250A9D1B: mov dword ptr [ebp - 0x194], 0x89 */ 31158 MEM32(ebp + (-0xCC)) = eax; /* 0x250A9D25: mov dword ptr [ebp - 0xcc], eax */ 31159 MEM32(ebp + (-0x190)) = eax; /* 0x250A9D2B: mov dword ptr [ebp - 0x190], eax */ 31160 RECOMP_ICALL(0x250EFE90u); /* 0x250A9D31: call 0x250efe90 */ /* not lifted */ 31161 RECOMP_FLAGS_IN(); 31162 MEM8(ebp + (-0x18C)) = (uint8_t)(LO8(eax)); /* 0x250A9D36: mov byte ptr [ebp - 0x18c], al */ 31163 eax = MEM32(0x25238B94); /* 0x250A9D3C: mov eax, dword ptr [0x25238b94] */ 31164 ecx = MEM32(eax + 0x894); /* 0x250A9D41: mov ecx, dword ptr [eax + 0x894] */ 31165 eax = MEM32(ecx + 0x538); /* 0x250A9D47: mov eax, dword ptr [ecx + 0x538] */ 31166 PUSH32(esp, 0xAu); /* 0x250A9D4D: push 0xa */ 31167 PUSH32(esp, ebx); /* 0x250A9D4F: push ebx */ 31168 PUSH32(esp, 0x1Bu); /* 0x250A9D50: push 0x1b */ 31169 MEM32(ebp + (-0x4)) = ebx; /* 0x250A9D52: mov dword ptr [ebp - 4], ebx */ 31170 MEM32(ebp + (-0x1B8)) = 0x1Bu; /* 0x250A9D55: mov dword ptr [ebp - 0x1b8], 0x1b */ 31171 MEM32(ebp + (-0x184)) = eax; /* 0x250A9D5F: mov dword ptr [ebp - 0x184], eax */ 31172 MEM32(ebp + (-0x1B4)) = eax; /* 0x250A9D65: mov dword ptr [ebp - 0x1b4], eax */ 31173 RECOMP_ICALL(0x250EFE90u); /* 0x250A9D6B: call 0x250efe90 */ /* not lifted */ 31174 RECOMP_FLAGS_IN(); 31175 MEM8(ebp + (-0x1B0)) = (uint8_t)(LO8(eax)); /* 0x250A9D70: mov byte ptr [ebp - 0x1b0], al */ 31176 ecx = MEM32(0x25238B94); /* 0x250A9D76: mov ecx, dword ptr [0x25238b94] */ 31177 ecx = MEM32(ecx + 0x894); /* 0x250A9D7C: mov ecx, dword ptr [ecx + 0x894] */ 31178 eax = MEM32(ecx + 0x53C); /* 0x250A9D82: mov eax, dword ptr [ecx + 0x53c] */ 31179 PUSH32(esp, 0xAu); /* 0x250A9D88: push 0xa */ 31180 PUSH32(esp, ebx); /* 0x250A9D8A: push ebx */ 31181 PUSH32(esp, 0x1Cu); /* 0x250A9D8B: push 0x1c */ 31182 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250A9D8D: mov byte ptr [ebp - 4], 1 */ 31183 MEM32(ebp + (-0x1A0)) = 0x1Cu; /* 0x250A9D91: mov dword ptr [ebp - 0x1a0], 0x1c */ 31184 MEM32(ebp + (-0x180)) = eax; /* 0x250A9D9B: mov dword ptr [ebp - 0x180], eax */ 31185 MEM32(ebp + (-0x19C)) = eax; /* 0x250A9DA1: mov dword ptr [ebp - 0x19c], eax */ 31186 RECOMP_ICALL(0x250EFE90u); /* 0x250A9DA7: call 0x250efe90 */ /* not lifted */ 31187 RECOMP_FLAGS_IN(); 31188 MEM8(ebp + (-0x198)) = (uint8_t)(LO8(eax)); /* 0x250A9DAC: mov byte ptr [ebp - 0x198], al */ 31189 edx = MEM32(0x25238B94); /* 0x250A9DB2: mov edx, dword ptr [0x25238b94] */ 31190 ecx = MEM32(edx + 0x894); /* 0x250A9DB8: mov ecx, dword ptr [edx + 0x894] */ 31191 eax = MEM32(ecx + 0x710); /* 0x250A9DBE: mov eax, dword ptr [ecx + 0x710] */ 31192 PUSH32(esp, 0xAu); /* 0x250A9DC4: push 0xa */ 31193 PUSH32(esp, ebx); /* 0x250A9DC6: push ebx */ 31194 PUSH32(esp, 0x91u); /* 0x250A9DC7: push 0x91 */ 31195 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250A9DCC: mov byte ptr [ebp - 4], 2 */ 31196 MEM32(ebp + (-0x1C4)) = 0x91u; /* 0x250A9DD0: mov dword ptr [ebp - 0x1c4], 0x91 */ 31197 MEM32(ebp + (-0x178)) = eax; /* 0x250A9DDA: mov dword ptr [ebp - 0x178], eax */ 31198 MEM32(ebp + (-0x1C0)) = eax; /* 0x250A9DE0: mov dword ptr [ebp - 0x1c0], eax */ 31199 RECOMP_ICALL(0x250EFE90u); /* 0x250A9DE6: call 0x250efe90 */ /* not lifted */ 31200 RECOMP_FLAGS_IN(); 31201 MEM8(ebp + (-0x1BC)) = (uint8_t)(LO8(eax)); /* 0x250A9DEB: mov byte ptr [ebp - 0x1bc], al */ 31202 eax = MEM32(0x25238B94); /* 0x250A9DF1: mov eax, dword ptr [0x25238b94] */ 31203 ecx = MEM32(eax + 0x894); /* 0x250A9DF6: mov ecx, dword ptr [eax + 0x894] */ 31204 eax = MEM32(ecx + 0xDB8); /* 0x250A9DFC: mov eax, dword ptr [ecx + 0xdb8] */ 31205 PUSH32(esp, 0xAu); /* 0x250A9E02: push 0xa */ 31206 PUSH32(esp, 3); /* 0x250A9E04: push 3 */ 31207 PUSH32(esp, 0xCu); /* 0x250A9E06: push 0xc */ 31208 PUSH32(esp, ebx); /* 0x250A9E08: push ebx */ 31209 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250A9E09: mov byte ptr [ebp - 4], 3 */ 31210 MEM32(ebp + (-0x1D4)) = ebx; /* 0x250A9E0D: mov dword ptr [ebp - 0x1d4], ebx */ 31211 MEM32(ebp + (-0x1D0)) = 0xCu; /* 0x250A9E13: mov dword ptr [ebp - 0x1d0], 0xc */ 31212 MEM32(ebp + (-0x170)) = eax; /* 0x250A9E1D: mov dword ptr [ebp - 0x170], eax */ 31213 MEM32(ebp + (-0x1CC)) = eax; /* 0x250A9E23: mov dword ptr [ebp - 0x1cc], eax */ 31214 RECOMP_ICALL(0x250EFF00u); /* 0x250A9E29: call 0x250eff00 */ /* not lifted */ 31215 RECOMP_FLAGS_IN(); 31216 MEM8(ebp + (-0x1C8)) = (uint8_t)(LO8(eax)); /* 0x250A9E2E: mov byte ptr [ebp - 0x1c8], al */ 31217 ecx = MEM32(0x25238B94); /* 0x250A9E34: mov ecx, dword ptr [0x25238b94] */ 31218 ecx = MEM32(ecx + 0x894); /* 0x250A9E3A: mov ecx, dword ptr [ecx + 0x894] */ 31219 eax = MEM32(ecx + 0x4E8); /* 0x250A9E40: mov eax, dword ptr [ecx + 0x4e8] */ 31220 PUSH32(esp, 0xAu); /* 0x250A9E46: push 0xa */ 31221 PUSH32(esp, ebx); /* 0x250A9E48: push ebx */ 31222 PUSH32(esp, 7); /* 0x250A9E49: push 7 */ 31223 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250A9E4B: mov byte ptr [ebp - 4], 4 */ 31224 MEM32(ebp + (-0x1AC)) = 7; /* 0x250A9E4F: mov dword ptr [ebp - 0x1ac], 7 */ 31225 MEM32(ebp + (-0x15C)) = eax; /* 0x250A9E59: mov dword ptr [ebp - 0x15c], eax */ 31226 MEM32(ebp + (-0x1A8)) = eax; /* 0x250A9E5F: mov dword ptr [ebp - 0x1a8], eax */ 31227 RECOMP_ICALL(0x250EFE90u); /* 0x250A9E65: call 0x250efe90 */ /* not lifted */ 31228 RECOMP_FLAGS_IN(); 31229 MEM8(ebp + (-0x1A4)) = (uint8_t)(LO8(eax)); /* 0x250A9E6A: mov byte ptr [ebp - 0x1a4], al */ 31230 eax = MEM32(0x252385B4); /* 0x250A9E70: mov eax, dword ptr [0x252385b4] */ 31231 /* cmp eax, ebx */ /* 0x250A9E75: cmp eax, ebx */ 31232 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 31233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31234 _flag_k = FK_CMP; 31235 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250A9E77: mov byte ptr [ebp - 4], 5 */ 31236 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB139; /* 0x250A9E7B: je 0x250ab139 */ 31237 L_250A9E81: 31238 edi = MEM32(eax + 0x1D4); /* 0x250A9E81: mov edi, dword ptr [eax + 0x1d4] */ 31239 eax = MEM32(edi + 0x50); /* 0x250A9E87: mov eax, dword ptr [edi + 0x50] */ 31240 PUSH32(esp, eax); /* 0x250A9E8A: push eax */ 31241 ecx = edi; /* 0x250A9E8B: mov ecx, edi */ 31242 MEM32(ebp + (-0x9C)) = edi; /* 0x250A9E8D: mov dword ptr [ebp - 0x9c], edi */ 31243 RECOMP_ICALL(0x2504EB80u); /* 0x250A9E93: call 0x2504eb80 */ /* not lifted */ 31244 RECOMP_FLAGS_IN(); 31245 edx = MEM32(edi + 0x38); /* 0x250A9E98: mov edx, dword ptr [edi + 0x38] */ 31246 eax = esi + 0x3C; /* 0x250A9E9B: lea eax, [esi + 0x3c] */ 31247 ecx = MEM32(eax); /* 0x250A9E9E: mov ecx, dword ptr [eax] */ 31248 MEM32(ebp + (-0x10)) = edx; /* 0x250A9EA0: mov dword ptr [ebp - 0x10], edx */ 31249 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250A9EA3: fild dword ptr [ebp - 0x10] */ 31250 edx = MEM32(eax + 0x4); /* 0x250A9EA6: mov edx, dword ptr [eax + 4] */ 31251 MEM32(ebp + (-0x24)) = ecx; /* 0x250A9EA9: mov dword ptr [ebp - 0x24], ecx */ 31252 ecx = MEM32(eax + 0x8); /* 0x250A9EAC: mov ecx, dword ptr [eax + 8] */ 31253 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x250A9EAF: fstp dword ptr [ebp - 0x48] */ 31254 MEM32(ebp + (-0x20)) = edx; /* 0x250A9EB2: mov dword ptr [ebp - 0x20], edx */ 31255 edx = MEM32(eax + 0xC); /* 0x250A9EB5: mov edx, dword ptr [eax + 0xc] */ 31256 MEM32(ebp + (-0x1C)) = ecx; /* 0x250A9EB8: mov dword ptr [ebp - 0x1c], ecx */ 31257 MEM32(ebp + (-0x18)) = edx; /* 0x250A9EBB: mov dword ptr [ebp - 0x18], edx */ 31258 fp_push(*(float*)&MEM32(esi + 0x50)); /* 0x250A9EBE: fld dword ptr [esi + 0x50] */ 31259 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250A9EC1: fsub dword ptr [esi + 0x58] */ 31260 MEM32(ebp + (-0x80)) = 0; /* 0x250A9EC4: mov dword ptr [ebp - 0x80], 0 */ 31261 MEM32(ebp + (-0x30)) = 0; /* 0x250A9ECB: mov dword ptr [ebp - 0x30], 0 */ 31262 _st[0] /= (double)*(float*)ADDR(esi + 0x60); /* 0x250A9ED2: fdiv dword ptr [esi + 0x60] */ 31263 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A9ED5: fadd dword ptr [ebp - 0x20] */ 31264 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A9ED8: fstp dword ptr [ebp - 0x20] */ 31265 fp_push(*(float*)&MEM32(0x251517A4)); /* 0x250A9EDB: fld dword ptr [0x251517a4] */ 31266 _st[0] /= (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250A9EE1: fdiv dword ptr [ebp - 0x48] */ 31267 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x250A9EE4: fst dword ptr [ebp - 0x4c] */ 31268 _st[0] *= (double)*(float*)ADDR(ebp + (-0x24)); /* 0x250A9EE7: fmul dword ptr [ebp - 0x24] */ 31269 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A9EEA: fst dword ptr [ebp - 0x24] */ 31270 fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x250A9EED: fld dword ptr [ebp - 0x4c] */ 31271 _st[0] *= (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A9EF0: fmul dword ptr [ebp - 0x20] */ 31272 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A9EF3: fstp dword ptr [ebp - 0x20] */ 31273 fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x250A9EF6: fld dword ptr [ebp - 0x4c] */ 31274 _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x250A9EF9: fmul dword ptr [ebp - 0x1c] */ 31275 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A9EFC: fstp dword ptr [ebp - 0x1c] */ 31276 fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x250A9EFF: fld dword ptr [ebp - 0x4c] */ 31277 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250A9F02: fmul dword ptr [ebp - 0x18] */ 31278 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250A9F05: fstp dword ptr [ebp - 0x18] */ 31279 ecx = MEM32(edi + 0x48); /* 0x250A9F08: mov ecx, dword ptr [edi + 0x48] */ 31280 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250A9F0B: fld dword ptr [ebp - 0x1c] */ 31281 MEM32(ebp + (-0x10)) = ecx; /* 0x250A9F0E: mov dword ptr [ebp - 0x10], ecx */ 31282 _st[0] -= _st[1]; /* 0x250A9F11: fsub st(1) */ 31283 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250A9F13: fild dword ptr [ebp - 0x10] */ 31284 fp_push(_st[1]); /* 0x250A9F16: fld st(1) */ 31285 _fpu_cmp = FPU_CMP(_st[0], _st[1]); /* 0x250A9F18: fcompp */ 31286 fp_pop(); fp_pop(); 31287 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A9F1A: fnstsw ax */ 31288 /* test HI8(eax), 1 */ /* 0x250A9F1C: test ah, 1 */ 31289 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 31290 _cf = 0; 31291 _flag_k = FK_NARROW(FK_TEST, 24); 31292 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9F8B; /* 0x250A9F1F: je 0x250a9f8b */ 31293 L_250A9F21: 31294 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A9F21: fstp st(0) */ 31295 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A9F23: fcom dword ptr [0x2515177c] */ 31296 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A9F29: fnstsw ax */ 31297 /* test HI8(eax), 1 */ /* 0x250A9F2B: test ah, 1 */ 31298 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 31299 _cf = 0; 31300 _flag_k = FK_NARROW(FK_TEST, 24); 31301 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9F53; /* 0x250A9F2E: je 0x250a9f53 */ 31302 L_250A9F30: 31303 eax = MEM32(ebp + (-0x20)); /* 0x250A9F30: mov eax, dword ptr [ebp - 0x20] */ 31304 fp_push(_st[0]); /* 0x250A9F33: fld st(0) */ 31305 ecx = MEM32(ebp + (-0x18)); /* 0x250A9F35: mov ecx, dword ptr [ebp - 0x18] */ 31306 _st[0] = -_st[0]; /* 0x250A9F38: fchs */ 31307 fp_push(_st[0]); /* 0x250A9F3A: fld st(0) */ 31308 MEM32(ebp + (-0x20)) = eax; /* 0x250A9F3C: mov dword ptr [ebp - 0x20], eax */ 31309 { double _v = fp_pop(); _st[1] += _v; } /* 0x250A9F3F: faddp st(2) */ 31310 MEM32(ebp + (-0x18)) = ecx; /* 0x250A9F41: mov dword ptr [ebp - 0x18], ecx */ 31311 fp_xch(1); /* 0x250A9F44: fxch st(1) */ 31312 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A9F46: fst dword ptr [ebp - 0x24] */ 31313 fp_xch(1); /* 0x250A9F49: fxch st(1) */ 31314 _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x250A9F4B: fadd dword ptr [ebp - 0x1c] */ 31315 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A9F4E: fstp dword ptr [ebp - 0x1c] */ 31316 goto L_250A9FAB; /* 0x250A9F51: jmp 0x250a9fab */ 31317 L_250A9F53: 31318 MEM32(ebp + (-0x10)) = ecx; /* 0x250A9F53: mov dword ptr [ebp - 0x10], ecx */ 31319 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250A9F56: fild dword ptr [ebp - 0x10] */ 31320 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x1C))); /* 0x250A9F59: fcomp dword ptr [ebp - 0x1c] */ 31321 fp_pop(); 31322 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A9F5C: fnstsw ax */ 31323 /* test HI8(eax), 1 */ /* 0x250A9F5E: test ah, 1 */ 31324 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 31325 _cf = 0; 31326 _flag_k = FK_NARROW(FK_TEST, 24); 31327 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9FAB; /* 0x250A9F61: je 0x250a9fab */ 31328 L_250A9F63: 31329 edx = MEM32(ebp + (-0x20)); /* 0x250A9F63: mov edx, dword ptr [ebp - 0x20] */ 31330 eax = MEM32(ebp + (-0x18)); /* 0x250A9F66: mov eax, dword ptr [ebp - 0x18] */ 31331 MEM32(ebp + (-0x10)) = ecx; /* 0x250A9F69: mov dword ptr [ebp - 0x10], ecx */ 31332 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250A9F6C: fild dword ptr [ebp - 0x10] */ 31333 MEM32(ebp + (-0x20)) = edx; /* 0x250A9F6F: mov dword ptr [ebp - 0x20], edx */ 31334 MEM32(ebp + (-0x18)) = eax; /* 0x250A9F72: mov dword ptr [ebp - 0x18], eax */ 31335 _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x250A9F75: fsub dword ptr [ebp - 0x1c] */ 31336 fp_push(_st[0]); /* 0x250A9F78: fld st(0) */ 31337 { double _v = fp_pop(); _st[1] += _v; } /* 0x250A9F7A: faddp st(2) */ 31338 fp_xch(1); /* 0x250A9F7C: fxch st(1) */ 31339 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A9F7E: fst dword ptr [ebp - 0x24] */ 31340 fp_xch(1); /* 0x250A9F81: fxch st(1) */ 31341 _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x250A9F83: fadd dword ptr [ebp - 0x1c] */ 31342 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A9F86: fstp dword ptr [ebp - 0x1c] */ 31343 goto L_250A9FAB; /* 0x250A9F89: jmp 0x250a9fab */ 31344 L_250A9F8B: 31345 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250A9F8B: fmul dword ptr [0x25151788] */ 31346 MEM32(ebp + (-0x10)) = ecx; /* 0x250A9F91: mov dword ptr [ebp - 0x10], ecx */ 31347 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250A9F94: fild dword ptr [ebp - 0x10] */ 31348 MEM32(ebp + (-0x10)) = ecx; /* 0x250A9F97: mov dword ptr [ebp - 0x10], ecx */ 31349 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250A9F9A: fmul dword ptr [0x25151788] */ 31350 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250A9FA0: fsubp st(1) */ 31351 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x250A9FA2: fstp dword ptr [ebp - 0x80] */ 31352 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250A9FA5: fild dword ptr [ebp - 0x10] */ 31353 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250A9FA8: fstp dword ptr [ebp - 0x1c] */ 31354 L_250A9FAB: 31355 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250A9FAB: fld dword ptr [ebp - 0x18] */ 31356 edi = MEM32(edi + 0x4C); /* 0x250A9FAE: mov edi, dword ptr [edi + 0x4c] */ 31357 _st[0] -= (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A9FB1: fsub dword ptr [ebp - 0x20] */ 31358 MEM32(ebp + (-0x10)) = edi; /* 0x250A9FB4: mov dword ptr [ebp - 0x10], edi */ 31359 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250A9FB7: fild dword ptr [ebp - 0x10] */ 31360 fp_push(_st[1]); /* 0x250A9FBA: fld st(1) */ 31361 _fpu_cmp = FPU_CMP(_st[0], _st[1]); /* 0x250A9FBC: fcompp */ 31362 fp_pop(); fp_pop(); 31363 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A9FBE: fnstsw ax */ 31364 /* test HI8(eax), 1 */ /* 0x250A9FC0: test ah, 1 */ 31365 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 31366 _cf = 0; 31367 _flag_k = FK_NARROW(FK_TEST, 24); 31368 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA029; /* 0x250A9FC3: je 0x250aa029 */ 31369 L_250A9FC5: 31370 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250A9FC5: fstp st(0) */ 31371 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A9FC7: fld dword ptr [ebp - 0x20] */ 31372 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250A9FCA: fcomp dword ptr [0x2515177c] */ 31373 fp_pop(); 31374 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A9FD0: fnstsw ax */ 31375 /* test HI8(eax), 1 */ /* 0x250A9FD2: test ah, 1 */ 31376 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 31377 _cf = 0; 31378 _flag_k = FK_NARROW(FK_TEST, 24); 31379 if (TEST_Z(_flag_a, _flag_b)) goto L_250A9FF6; /* 0x250A9FD5: je 0x250a9ff6 */ 31380 L_250A9FD7: 31381 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250A9FD7: fld dword ptr [ebp - 0x20] */ 31382 ecx = MEM32(ebp + (-0x1C)); /* 0x250A9FDA: mov ecx, dword ptr [ebp - 0x1c] */ 31383 _st[0] = -_st[0]; /* 0x250A9FDD: fchs */ 31384 MEM32(ebp + (-0x1C)) = ecx; /* 0x250A9FDF: mov dword ptr [ebp - 0x1c], ecx */ 31385 fp_xch(1); /* 0x250A9FE2: fxch st(1) */ 31386 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250A9FE4: fst dword ptr [ebp - 0x24] */ 31387 fp_xch(1); /* 0x250A9FE7: fxch st(1) */ 31388 fp_push(_st[0]); /* 0x250A9FE9: fld st(0) */ 31389 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250A9FEB: fadd dword ptr [ebp - 0x20] */ 31390 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250A9FEE: fstp dword ptr [ebp - 0x20] */ 31391 _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250A9FF1: fadd dword ptr [ebp - 0x18] */ 31392 goto L_250AA046; /* 0x250A9FF4: jmp 0x250aa046 */ 31393 L_250A9FF6: 31394 MEM32(ebp + (-0x10)) = edi; /* 0x250A9FF6: mov dword ptr [ebp - 0x10], edi */ 31395 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250A9FF9: fild dword ptr [ebp - 0x10] */ 31396 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x18))); /* 0x250A9FFC: fcomp dword ptr [ebp - 0x18] */ 31397 fp_pop(); 31398 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250A9FFF: fnstsw ax */ 31399 /* test HI8(eax), 1 */ /* 0x250AA001: test ah, 1 */ 31400 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 31401 _cf = 0; 31402 _flag_k = FK_NARROW(FK_TEST, 24); 31403 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA049; /* 0x250AA004: je 0x250aa049 */ 31404 L_250AA006: 31405 edx = MEM32(ebp + (-0x1C)); /* 0x250AA006: mov edx, dword ptr [ebp - 0x1c] */ 31406 MEM32(ebp + (-0x10)) = edi; /* 0x250AA009: mov dword ptr [ebp - 0x10], edi */ 31407 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250AA00C: fild dword ptr [ebp - 0x10] */ 31408 MEM32(ebp + (-0x1C)) = edx; /* 0x250AA00F: mov dword ptr [ebp - 0x1c], edx */ 31409 _st[0] -= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250AA012: fsub dword ptr [ebp - 0x18] */ 31410 fp_xch(1); /* 0x250AA015: fxch st(1) */ 31411 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250AA017: fst dword ptr [ebp - 0x24] */ 31412 fp_xch(1); /* 0x250AA01A: fxch st(1) */ 31413 fp_push(_st[0]); /* 0x250AA01C: fld st(0) */ 31414 _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250AA01E: fadd dword ptr [ebp - 0x20] */ 31415 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AA021: fstp dword ptr [ebp - 0x20] */ 31416 _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250AA024: fadd dword ptr [ebp - 0x18] */ 31417 goto L_250AA046; /* 0x250AA027: jmp 0x250aa046 */ 31418 L_250AA029: 31419 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AA029: fmul dword ptr [0x25151788] */ 31420 MEM32(ebp + (-0x10)) = edi; /* 0x250AA02F: mov dword ptr [ebp - 0x10], edi */ 31421 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250AA032: fild dword ptr [ebp - 0x10] */ 31422 MEM32(ebp + (-0x10)) = edi; /* 0x250AA035: mov dword ptr [ebp - 0x10], edi */ 31423 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AA038: fmul dword ptr [0x25151788] */ 31424 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250AA03E: fsubp st(1) */ 31425 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x250AA040: fstp dword ptr [ebp - 0x30] */ 31426 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250AA043: fild dword ptr [ebp - 0x10] */ 31427 L_250AA046: 31428 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250AA046: fstp dword ptr [ebp - 0x18] */ 31429 L_250AA049: 31430 RECOMP_ICALL(0x251380E8u); /* 0x250AA049: call 0x251380e8 */ /* not lifted */ 31431 RECOMP_FLAGS_IN(); 31432 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250AA04E: fld dword ptr [ebp - 0x20] */ 31433 MEM32(ebp + (-0x88)) = eax; /* 0x250AA051: mov dword ptr [ebp - 0x88], eax */ 31434 RECOMP_ICALL(0x251380E8u); /* 0x250AA057: call 0x251380e8 */ /* not lifted */ 31435 RECOMP_FLAGS_IN(); 31436 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250AA05C: fld dword ptr [ebp - 0x1c] */ 31437 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 31438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31439 esp = esp - 8; /* 0x250AA05F: sub esp, 8 */ 31440 _flag_k = FK_CMP; 31441 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AA062: fstp qword ptr [esp] */ 31442 MEM32(ebp + (-0x34)) = eax; /* 0x250AA065: mov dword ptr [ebp - 0x34], eax */ 31443 RECOMP_ICALL(MEM32(0x2515131C)); /* 0x250AA068: call dword ptr [0x2515131c] */ 31444 RECOMP_FLAGS_IN(); 31445 RECOMP_ICALL(0x251380E8u); /* 0x250AA06E: call 0x251380e8 */ /* not lifted */ 31446 RECOMP_FLAGS_IN(); 31447 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250AA073: fld dword ptr [ebp - 0x18] */ 31448 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AA076: fstp qword ptr [esp] */ 31449 MEM32(ebp + (-0x4C)) = eax; /* 0x250AA079: mov dword ptr [ebp - 0x4c], eax */ 31450 RECOMP_ICALL(MEM32(0x2515131C)); /* 0x250AA07C: call dword ptr [0x2515131c] */ 31451 RECOMP_FLAGS_IN(); 31452 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 31453 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31454 esp = esp + 8; /* 0x250AA082: add esp, 8 */ 31455 _flag_k = FK_ADD; 31456 RECOMP_ICALL(0x251380E8u); /* 0x250AA085: call 0x251380e8 */ /* not lifted */ 31457 RECOMP_FLAGS_IN(); 31458 edi = eax; /* 0x250AA08A: mov edi, eax */ 31459 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x250AA08C: mov al, byte ptr [ebp + 0xb] */ 31460 MEM32(ebp + (-0x44)) = edi; /* 0x250AA08F: mov dword ptr [ebp - 0x44], edi */ 31461 MEM8(ebp + (-0xAC)) = (uint8_t)(LO8(eax)); /* 0x250AA092: mov byte ptr [ebp - 0xac], al */ 31462 MEM32(ebp + (-0xA8)) = ebx; /* 0x250AA098: mov dword ptr [ebp - 0xa8], ebx */ 31463 MEM32(ebp + (-0xA4)) = ebx; /* 0x250AA09E: mov dword ptr [ebp - 0xa4], ebx */ 31464 MEM32(ebp + (-0xA0)) = ebx; /* 0x250AA0A4: mov dword ptr [ebp - 0xa0], ebx */ 31465 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x250AA0AA: mov cl, byte ptr [ebp + 0xb] */ 31466 MEM8(ebp + (-0x98)) = (uint8_t)(LO8(ecx)); /* 0x250AA0AD: mov byte ptr [ebp - 0x98], cl */ 31467 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31468 ecx = 0; /* 0x250AA0B3: xor ecx, ecx */ 31469 _cf = 0; 31470 _flag_k = FK_TEST; 31471 MEM32(ebp + (-0x94)) = ebx; /* 0x250AA0B5: mov dword ptr [ebp - 0x94], ebx */ 31472 MEM32(ebp + (-0x90)) = ebx; /* 0x250AA0BB: mov dword ptr [ebp - 0x90], ebx */ 31473 MEM32(ebp + (-0x8C)) = ecx; /* 0x250AA0C1: mov dword ptr [ebp - 0x8c], ecx */ 31474 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x250AA0C7: mov dl, byte ptr [ebp + 0xb] */ 31475 MEM8(ebp + (-0xBC)) = (uint8_t)(LO8(edx)); /* 0x250AA0CA: mov byte ptr [ebp - 0xbc], dl */ 31476 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31477 edx = 0; /* 0x250AA0D0: xor edx, edx */ 31478 _cf = 0; 31479 _flag_k = FK_TEST; 31480 MEM32(ebp + (-0xB8)) = ebx; /* 0x250AA0D2: mov dword ptr [ebp - 0xb8], ebx */ 31481 MEM32(ebp + (-0xB4)) = ebx; /* 0x250AA0D8: mov dword ptr [ebp - 0xb4], ebx */ 31482 MEM32(ebp + (-0xB0)) = edx; /* 0x250AA0DE: mov dword ptr [ebp - 0xb0], edx */ 31483 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 31484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31485 edi = edi - MEM32(ebp + (-0x34)); /* 0x250AA0E4: sub edi, dword ptr [ebp - 0x34] */ 31486 _flag_k = FK_CMP; 31487 eax = MEM32(ebp + (-0x4C)); /* 0x250AA0E7: mov eax, dword ptr [ebp - 0x4c] */ 31488 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x88))); 31489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31490 eax = eax - MEM32(ebp + (-0x88)); /* 0x250AA0EA: sub eax, dword ptr [ebp - 0x88] */ 31491 _flag_k = FK_CMP; 31492 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 31493 edi = edi + 1; /* 0x250AA0F0: inc edi */ 31494 _flag_k = FK_INC; 31495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 31496 eax = eax + 1; /* 0x250AA0F1: inc eax */ 31497 _flag_k = FK_INC; 31498 edi = (uint32_t)((int32_t)edi * (int32_t)eax); /* 0x250AA0F2: imul edi, eax */ 31499 /* cmp edi, ebx */ /* 0x250AA0F5: cmp edi, ebx */ 31500 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 31501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31502 _flag_k = FK_CMP; 31503 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x250AA0F7: mov byte ptr [ebp - 4], 9 */ 31504 if (CMP_BE(_flag_a, _flag_b)) goto L_250AA195; /* 0x250AA0FB: jbe 0x250aa195 */ 31505 L_250AA101: 31506 eax = edi; /* 0x250AA101: mov eax, edi */ 31507 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA107; /* 0x250AA103: jge 0x250aa107 */ 31508 L_250AA105: 31509 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31510 eax = 0; /* 0x250AA105: xor eax, eax */ 31511 _cf = 0; 31512 _flag_k = FK_TEST; 31513 L_250AA107: 31514 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AA107: shl eax, 4 */ 31515 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31516 eax = eax << 4u; /* 0x250AA107: shl eax, 4 */ 31517 PUSH32(esp, eax); /* 0x250AA10A: push eax */ 31518 RECOMP_ICALL(0x251380D0u); /* 0x250AA10B: call 0x251380d0 */ /* not lifted */ 31519 RECOMP_FLAGS_IN(); 31520 ecx = MEM32(ebp + (-0xA4)); /* 0x250AA110: mov ecx, dword ptr [ebp - 0xa4] */ 31521 edx = MEM32(ebp + (-0xA8)); /* 0x250AA116: mov edx, dword ptr [ebp - 0xa8] */ 31522 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 31523 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31524 esp = esp + 4; /* 0x250AA11C: add esp, 4 */ 31525 _flag_k = FK_ADD; 31526 PUSH32(esp, eax); /* 0x250AA11F: push eax */ 31527 PUSH32(esp, ecx); /* 0x250AA120: push ecx */ 31528 PUSH32(esp, edx); /* 0x250AA121: push edx */ 31529 ecx = ebp + (-0xAC); /* 0x250AA122: lea ecx, [ebp - 0xac] */ 31530 MEM32(ebp + (-0x10)) = eax; /* 0x250AA128: mov dword ptr [ebp - 0x10], eax */ 31531 RECOMP_ICALL(0x2512B3E0u); /* 0x250AA12B: call 0x2512b3e0 */ /* not lifted */ 31532 RECOMP_FLAGS_IN(); 31533 eax = MEM32(ebp + (-0xA4)); /* 0x250AA130: mov eax, dword ptr [ebp - 0xa4] */ 31534 ecx = MEM32(ebp + (-0xA8)); /* 0x250AA136: mov ecx, dword ptr [ebp - 0xa8] */ 31535 PUSH32(esp, eax); /* 0x250AA13C: push eax */ 31536 PUSH32(esp, ecx); /* 0x250AA13D: push ecx */ 31537 ecx = ebp + (-0xAC); /* 0x250AA13E: lea ecx, [ebp - 0xac] */ 31538 RECOMP_ICALL(0x25093260u); /* 0x250AA144: call 0x25093260 */ /* not lifted */ 31539 RECOMP_FLAGS_IN(); 31540 edx = MEM32(ebp + (-0xA8)); /* 0x250AA149: mov edx, dword ptr [ebp - 0xa8] */ 31541 PUSH32(esp, edx); /* 0x250AA14F: push edx */ 31542 RECOMP_ICALL(0x25137EECu); /* 0x250AA150: call 0x25137eec */ /* not lifted */ 31543 RECOMP_FLAGS_IN(); 31544 ecx = MEM32(ebp + (-0x10)); /* 0x250AA155: mov ecx, dword ptr [ebp - 0x10] */ 31545 eax = edi; /* 0x250AA158: mov eax, edi */ 31546 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AA15A: shl eax, 4 */ 31547 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31548 eax = eax << 4u; /* 0x250AA15A: shl eax, 4 */ 31549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 31550 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31551 eax = eax + ecx; /* 0x250AA15D: add eax, ecx */ 31552 _flag_k = FK_ADD; 31553 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 31554 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31555 esp = esp + 4; /* 0x250AA15F: add esp, 4 */ 31556 _flag_k = FK_ADD; 31557 ecx = ebp + (-0xAC); /* 0x250AA162: lea ecx, [ebp - 0xac] */ 31558 MEM32(ebp + (-0xA0)) = eax; /* 0x250AA168: mov dword ptr [ebp - 0xa0], eax */ 31559 RECOMP_ICALL(0x2512B3C0u); /* 0x250AA16E: call 0x2512b3c0 */ /* not lifted */ 31560 RECOMP_FLAGS_IN(); 31561 edx = MEM32(ebp + (-0xB0)); /* 0x250AA173: mov edx, dword ptr [ebp - 0xb0] */ 31562 ecx = eax; /* 0x250AA179: mov ecx, eax */ 31563 eax = MEM32(ebp + (-0x10)); /* 0x250AA17B: mov eax, dword ptr [ebp - 0x10] */ 31564 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250AA17E: shl ecx, 4 */ 31565 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31566 ecx = ecx << 4u; /* 0x250AA17E: shl ecx, 4 */ 31567 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 31568 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31569 ecx = ecx + eax; /* 0x250AA181: add ecx, eax */ 31570 _flag_k = FK_ADD; 31571 MEM32(ebp + (-0xA4)) = ecx; /* 0x250AA183: mov dword ptr [ebp - 0xa4], ecx */ 31572 ecx = MEM32(ebp + (-0x8C)); /* 0x250AA189: mov ecx, dword ptr [ebp - 0x8c] */ 31573 MEM32(ebp + (-0xA8)) = eax; /* 0x250AA18F: mov dword ptr [ebp - 0xa8], eax */ 31574 L_250AA195: 31575 eax = MEM32(ebp + (-0x94)); /* 0x250AA195: mov eax, dword ptr [ebp - 0x94] */ 31576 /* cmp eax, ebx */ /* 0x250AA19B: cmp eax, ebx */ 31577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 31578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31579 _flag_k = FK_CMP; 31580 if (CMP_NE(_flag_a, _flag_b)) goto L_250AA1A3; /* 0x250AA19D: jne 0x250aa1a3 */ 31581 L_250AA19F: 31582 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31583 ecx = 0; /* 0x250AA19F: xor ecx, ecx */ 31584 _cf = 0; 31585 _flag_k = FK_TEST; 31586 goto L_250AA1A8; /* 0x250AA1A1: jmp 0x250aa1a8 */ 31587 L_250AA1A3: 31588 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 31589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31590 ecx = ecx - eax; /* 0x250AA1A3: sub ecx, eax */ 31591 _flag_k = FK_CMP; 31592 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x250AA1A5: sar ecx, 4 */ 31593 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31594 ecx = (uint32_t)((int32_t)ecx >> 4u); 31595 L_250AA1A8: 31596 /* cmp ecx, edi */ /* 0x250AA1A8: cmp ecx, edi */ 31597 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 31598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31599 _flag_k = FK_CMP; 31600 if (CMP_AE(_flag_a, _flag_b)) goto L_250AA240; /* 0x250AA1AA: jae 0x250aa240 */ 31601 L_250AA1B0: 31602 /* cmp edi, ebx */ /* 0x250AA1B0: cmp edi, ebx */ 31603 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 31604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31605 _flag_k = FK_CMP; 31606 eax = edi; /* 0x250AA1B2: mov eax, edi */ 31607 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA1B8; /* 0x250AA1B4: jge 0x250aa1b8 */ 31608 L_250AA1B6: 31609 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31610 eax = 0; /* 0x250AA1B6: xor eax, eax */ 31611 _cf = 0; 31612 _flag_k = FK_TEST; 31613 L_250AA1B8: 31614 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AA1B8: shl eax, 4 */ 31615 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31616 eax = eax << 4u; /* 0x250AA1B8: shl eax, 4 */ 31617 PUSH32(esp, eax); /* 0x250AA1BB: push eax */ 31618 RECOMP_ICALL(0x251380D0u); /* 0x250AA1BC: call 0x251380d0 */ /* not lifted */ 31619 RECOMP_FLAGS_IN(); 31620 edx = MEM32(ebp + (-0x90)); /* 0x250AA1C1: mov edx, dword ptr [ebp - 0x90] */ 31621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 31622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31623 esp = esp + 4; /* 0x250AA1C7: add esp, 4 */ 31624 _flag_k = FK_ADD; 31625 PUSH32(esp, eax); /* 0x250AA1CA: push eax */ 31626 MEM32(ebp + (-0x10)) = eax; /* 0x250AA1CB: mov dword ptr [ebp - 0x10], eax */ 31627 eax = MEM32(ebp + (-0x94)); /* 0x250AA1CE: mov eax, dword ptr [ebp - 0x94] */ 31628 PUSH32(esp, edx); /* 0x250AA1D4: push edx */ 31629 PUSH32(esp, eax); /* 0x250AA1D5: push eax */ 31630 ecx = ebp + (-0x98); /* 0x250AA1D6: lea ecx, [ebp - 0x98] */ 31631 RECOMP_ICALL(0x2512B3E0u); /* 0x250AA1DC: call 0x2512b3e0 */ /* not lifted */ 31632 RECOMP_FLAGS_IN(); 31633 ecx = MEM32(ebp + (-0x90)); /* 0x250AA1E1: mov ecx, dword ptr [ebp - 0x90] */ 31634 edx = MEM32(ebp + (-0x94)); /* 0x250AA1E7: mov edx, dword ptr [ebp - 0x94] */ 31635 PUSH32(esp, ecx); /* 0x250AA1ED: push ecx */ 31636 PUSH32(esp, edx); /* 0x250AA1EE: push edx */ 31637 ecx = ebp + (-0x98); /* 0x250AA1EF: lea ecx, [ebp - 0x98] */ 31638 RECOMP_ICALL(0x25093260u); /* 0x250AA1F5: call 0x25093260 */ /* not lifted */ 31639 RECOMP_FLAGS_IN(); 31640 eax = MEM32(ebp + (-0x94)); /* 0x250AA1FA: mov eax, dword ptr [ebp - 0x94] */ 31641 PUSH32(esp, eax); /* 0x250AA200: push eax */ 31642 RECOMP_ICALL(0x25137EECu); /* 0x250AA201: call 0x25137eec */ /* not lifted */ 31643 RECOMP_FLAGS_IN(); 31644 edx = MEM32(ebp + (-0x10)); /* 0x250AA206: mov edx, dword ptr [ebp - 0x10] */ 31645 ecx = edi; /* 0x250AA209: mov ecx, edi */ 31646 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250AA20B: shl ecx, 4 */ 31647 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31648 ecx = ecx << 4u; /* 0x250AA20B: shl ecx, 4 */ 31649 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 31650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31651 ecx = ecx + edx; /* 0x250AA20E: add ecx, edx */ 31652 _flag_k = FK_ADD; 31653 MEM32(ebp + (-0x8C)) = ecx; /* 0x250AA210: mov dword ptr [ebp - 0x8c], ecx */ 31654 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 31655 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31656 esp = esp + 4; /* 0x250AA216: add esp, 4 */ 31657 _flag_k = FK_ADD; 31658 ecx = ebp + (-0x98); /* 0x250AA219: lea ecx, [ebp - 0x98] */ 31659 RECOMP_ICALL(0x2512B3C0u); /* 0x250AA21F: call 0x2512b3c0 */ /* not lifted */ 31660 RECOMP_FLAGS_IN(); 31661 edx = eax; /* 0x250AA224: mov edx, eax */ 31662 eax = MEM32(ebp + (-0x10)); /* 0x250AA226: mov eax, dword ptr [ebp - 0x10] */ 31663 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250AA229: shl edx, 4 */ 31664 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31665 edx = edx << 4u; /* 0x250AA229: shl edx, 4 */ 31666 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 31667 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31668 edx = edx + eax; /* 0x250AA22C: add edx, eax */ 31669 _flag_k = FK_ADD; 31670 MEM32(ebp + (-0x90)) = edx; /* 0x250AA22E: mov dword ptr [ebp - 0x90], edx */ 31671 edx = MEM32(ebp + (-0xB0)); /* 0x250AA234: mov edx, dword ptr [ebp - 0xb0] */ 31672 MEM32(ebp + (-0x94)) = eax; /* 0x250AA23A: mov dword ptr [ebp - 0x94], eax */ 31673 L_250AA240: 31674 eax = MEM32(ebp + (-0xB8)); /* 0x250AA240: mov eax, dword ptr [ebp - 0xb8] */ 31675 /* cmp eax, ebx */ /* 0x250AA246: cmp eax, ebx */ 31676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 31677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31678 _flag_k = FK_CMP; 31679 if (CMP_NE(_flag_a, _flag_b)) goto L_250AA24E; /* 0x250AA248: jne 0x250aa24e */ 31680 L_250AA24A: 31681 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31682 edx = 0; /* 0x250AA24A: xor edx, edx */ 31683 _cf = 0; 31684 _flag_k = FK_TEST; 31685 goto L_250AA253; /* 0x250AA24C: jmp 0x250aa253 */ 31686 L_250AA24E: 31687 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 31688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31689 edx = edx - eax; /* 0x250AA24E: sub edx, eax */ 31690 _flag_k = FK_CMP; 31691 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250AA250: sar edx, 3 */ 31692 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31693 edx = (uint32_t)((int32_t)edx >> 3u); 31694 L_250AA253: 31695 /* cmp edx, edi */ /* 0x250AA253: cmp edx, edi */ 31696 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 31697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31698 _flag_k = FK_CMP; 31699 if (CMP_AE(_flag_a, _flag_b)) goto L_250AA2DD; /* 0x250AA255: jae 0x250aa2dd */ 31700 L_250AA25B: 31701 /* cmp edi, ebx */ /* 0x250AA25B: cmp edi, ebx */ 31702 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 31703 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31704 _flag_k = FK_CMP; 31705 eax = edi; /* 0x250AA25D: mov eax, edi */ 31706 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA263; /* 0x250AA25F: jge 0x250aa263 */ 31707 L_250AA261: 31708 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31709 eax = 0; /* 0x250AA261: xor eax, eax */ 31710 _cf = 0; 31711 _flag_k = FK_TEST; 31712 L_250AA263: 31713 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x250AA263: shl eax, 3 */ 31714 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31715 eax = eax << 3u; /* 0x250AA263: shl eax, 3 */ 31716 PUSH32(esp, eax); /* 0x250AA266: push eax */ 31717 RECOMP_ICALL(0x251380D0u); /* 0x250AA267: call 0x251380d0 */ /* not lifted */ 31718 RECOMP_FLAGS_IN(); 31719 ecx = MEM32(ebp + (-0xB4)); /* 0x250AA26C: mov ecx, dword ptr [ebp - 0xb4] */ 31720 edx = MEM32(ebp + (-0xB8)); /* 0x250AA272: mov edx, dword ptr [ebp - 0xb8] */ 31721 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 31722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31723 esp = esp + 4; /* 0x250AA278: add esp, 4 */ 31724 _flag_k = FK_ADD; 31725 PUSH32(esp, eax); /* 0x250AA27B: push eax */ 31726 PUSH32(esp, ecx); /* 0x250AA27C: push ecx */ 31727 PUSH32(esp, edx); /* 0x250AA27D: push edx */ 31728 ecx = ebp + (-0xBC); /* 0x250AA27E: lea ecx, [ebp - 0xbc] */ 31729 MEM32(ebp + (-0x10)) = eax; /* 0x250AA284: mov dword ptr [ebp - 0x10], eax */ 31730 RECOMP_ICALL(0x250AC770u); /* 0x250AA287: call 0x250ac770 */ /* not lifted */ 31731 RECOMP_FLAGS_IN(); 31732 eax = MEM32(ebp + (-0xB4)); /* 0x250AA28C: mov eax, dword ptr [ebp - 0xb4] */ 31733 ecx = MEM32(ebp + (-0xB8)); /* 0x250AA292: mov ecx, dword ptr [ebp - 0xb8] */ 31734 PUSH32(esp, eax); /* 0x250AA298: push eax */ 31735 PUSH32(esp, ecx); /* 0x250AA299: push ecx */ 31736 ecx = ebp + (-0xBC); /* 0x250AA29A: lea ecx, [ebp - 0xbc] */ 31737 RECOMP_ICALL(0x25093260u); /* 0x250AA2A0: call 0x25093260 */ /* not lifted */ 31738 RECOMP_FLAGS_IN(); 31739 edx = MEM32(ebp + (-0xB8)); /* 0x250AA2A5: mov edx, dword ptr [ebp - 0xb8] */ 31740 PUSH32(esp, edx); /* 0x250AA2AB: push edx */ 31741 RECOMP_ICALL(0x25137EECu); /* 0x250AA2AC: call 0x25137eec */ /* not lifted */ 31742 RECOMP_FLAGS_IN(); 31743 eax = MEM32(ebp + (-0x10)); /* 0x250AA2B1: mov eax, dword ptr [ebp - 0x10] */ 31744 ecx = eax + edi * 8; /* 0x250AA2B4: lea ecx, [eax + edi*8] */ 31745 MEM32(ebp + (-0xB0)) = ecx; /* 0x250AA2B7: mov dword ptr [ebp - 0xb0], ecx */ 31746 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 31747 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31748 esp = esp + 4; /* 0x250AA2BD: add esp, 4 */ 31749 _flag_k = FK_ADD; 31750 ecx = ebp + (-0xBC); /* 0x250AA2C0: lea ecx, [ebp - 0xbc] */ 31751 RECOMP_ICALL(0x2512B200u); /* 0x250AA2C6: call 0x2512b200 */ /* not lifted */ 31752 RECOMP_FLAGS_IN(); 31753 ecx = MEM32(ebp + (-0x10)); /* 0x250AA2CB: mov ecx, dword ptr [ebp - 0x10] */ 31754 edx = ecx + eax * 8; /* 0x250AA2CE: lea edx, [ecx + eax*8] */ 31755 MEM32(ebp + (-0xB4)) = edx; /* 0x250AA2D1: mov dword ptr [ebp - 0xb4], edx */ 31756 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AA2D7: mov dword ptr [ebp - 0xb8], ecx */ 31757 L_250AA2DD: 31758 /* cmp MEM32(ebp + (-0x88)), ebx */ /* 0x250AA2DD: cmp dword ptr [ebp - 0x88], ebx */ 31759 _flag_a = (uint32_t)(MEM32(ebp + (-0x88))); _flag_b = (uint32_t)(ebx); 31760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31761 _flag_k = FK_CMP; 31762 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA2EB; /* 0x250AA2E3: jge 0x250aa2eb */ 31763 L_250AA2E5: 31764 MEM32(ebp + (-0x88)) = ebx; /* 0x250AA2E5: mov dword ptr [ebp - 0x88], ebx */ 31765 L_250AA2EB: 31766 /* cmp MEM32(ebp + (-0x34)), ebx */ /* 0x250AA2EB: cmp dword ptr [ebp - 0x34], ebx */ 31767 _flag_a = (uint32_t)(MEM32(ebp + (-0x34))); _flag_b = (uint32_t)(ebx); 31768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31769 _flag_k = FK_CMP; 31770 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA2F3; /* 0x250AA2EE: jge 0x250aa2f3 */ 31771 L_250AA2F0: 31772 MEM32(ebp + (-0x34)) = ebx; /* 0x250AA2F0: mov dword ptr [ebp - 0x34], ebx */ 31773 L_250AA2F3: 31774 ecx = MEM32(ebp + (-0x9C)); /* 0x250AA2F3: mov ecx, dword ptr [ebp - 0x9c] */ 31775 eax = MEM32(ecx + 0x48); /* 0x250AA2F9: mov eax, dword ptr [ecx + 0x48] */ 31776 /* cmp MEM32(ebp + (-0x4C)), eax */ /* 0x250AA2FC: cmp dword ptr [ebp - 0x4c], eax */ 31777 _flag_a = (uint32_t)(MEM32(ebp + (-0x4C))); _flag_b = (uint32_t)(eax); 31778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31779 _flag_k = FK_CMP; 31780 if (CMP_LE(_flag_a, _flag_b)) goto L_250AA304; /* 0x250AA2FF: jle 0x250aa304 */ 31781 L_250AA301: 31782 MEM32(ebp + (-0x4C)) = eax; /* 0x250AA301: mov dword ptr [ebp - 0x4c], eax */ 31783 L_250AA304: 31784 eax = MEM32(ecx + 0x4C); /* 0x250AA304: mov eax, dword ptr [ecx + 0x4c] */ 31785 /* cmp MEM32(ebp + (-0x44)), eax */ /* 0x250AA307: cmp dword ptr [ebp - 0x44], eax */ 31786 _flag_a = (uint32_t)(MEM32(ebp + (-0x44))); _flag_b = (uint32_t)(eax); 31787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31788 _flag_k = FK_CMP; 31789 if (CMP_LE(_flag_a, _flag_b)) goto L_250AA30F; /* 0x250AA30A: jle 0x250aa30f */ 31790 L_250AA30C: 31791 MEM32(ebp + (-0x44)) = eax; /* 0x250AA30C: mov dword ptr [ebp - 0x44], eax */ 31792 L_250AA30F: 31793 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AA30F: fld dword ptr [esi + 0x3c] */ 31794 RECOMP_ICALL(0x251380E8u); /* 0x250AA312: call 0x251380e8 */ /* not lifted */ 31795 RECOMP_FLAGS_IN(); 31796 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AA317: fld dword ptr [esi + 0x40] */ 31797 MEM32(ebp + (-0x60)) = eax; /* 0x250AA31A: mov dword ptr [ebp - 0x60], eax */ 31798 RECOMP_ICALL(0x251380E8u); /* 0x250AA31D: call 0x251380e8 */ /* not lifted */ 31799 RECOMP_FLAGS_IN(); 31800 fp_push(*(float*)&MEM32(esi + 0x44)); /* 0x250AA322: fld dword ptr [esi + 0x44] */ 31801 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 31802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31803 esp = esp - 8; /* 0x250AA325: sub esp, 8 */ 31804 _flag_k = FK_CMP; 31805 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AA328: fstp qword ptr [esp] */ 31806 MEM32(ebp + (-0x28)) = eax; /* 0x250AA32B: mov dword ptr [ebp - 0x28], eax */ 31807 RECOMP_ICALL(MEM32(0x2515131C)); /* 0x250AA32E: call dword ptr [0x2515131c] */ 31808 RECOMP_FLAGS_IN(); 31809 RECOMP_ICALL(0x251380E8u); /* 0x250AA334: call 0x251380e8 */ /* not lifted */ 31810 RECOMP_FLAGS_IN(); 31811 fp_push(*(float*)&MEM32(esi + 0x48)); /* 0x250AA339: fld dword ptr [esi + 0x48] */ 31812 edi = eax; /* 0x250AA33C: mov edi, eax */ 31813 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AA33E: fstp qword ptr [esp] */ 31814 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 31815 edi = edi + 1; /* 0x250AA341: inc edi */ 31816 _flag_k = FK_INC; 31817 RECOMP_ICALL(MEM32(0x2515131C)); /* 0x250AA342: call dword ptr [0x2515131c] */ 31818 RECOMP_FLAGS_IN(); 31819 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 31820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31821 esp = esp + 8; /* 0x250AA348: add esp, 8 */ 31822 _flag_k = FK_ADD; 31823 RECOMP_ICALL(0x251380E8u); /* 0x250AA34B: call 0x251380e8 */ /* not lifted */ 31824 RECOMP_FLAGS_IN(); 31825 ecx = MEM32(ebp + (-0x60)); /* 0x250AA350: mov ecx, dword ptr [ebp - 0x60] */ 31826 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 31827 eax = eax + 1; /* 0x250AA353: inc eax */ 31828 _flag_k = FK_INC; 31829 /* cmp ecx, ebx */ /* 0x250AA354: cmp ecx, ebx */ 31830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 31831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31832 _flag_k = FK_CMP; 31833 MEM32(ebp + (-0x10)) = eax; /* 0x250AA356: mov dword ptr [ebp - 0x10], eax */ 31834 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA360; /* 0x250AA359: jge 0x250aa360 */ 31835 L_250AA35B: 31836 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 31837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31838 edi = edi - ecx; /* 0x250AA35B: sub edi, ecx */ 31839 _flag_k = FK_CMP; 31840 MEM32(ebp + (-0x60)) = ebx; /* 0x250AA35D: mov dword ptr [ebp - 0x60], ebx */ 31841 L_250AA360: 31842 ecx = MEM32(esi + 0x9C); /* 0x250AA360: mov ecx, dword ptr [esi + 0x9c] */ 31843 /* cmp edi, ecx */ /* 0x250AA366: cmp edi, ecx */ 31844 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 31845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31846 _flag_k = FK_CMP; 31847 if (CMP_LE(_flag_a, _flag_b)) goto L_250AA36C; /* 0x250AA368: jle 0x250aa36c */ 31848 L_250AA36A: 31849 edi = ecx; /* 0x250AA36A: mov edi, ecx */ 31850 L_250AA36C: 31851 edx = MEM32(ebp + (-0x28)); /* 0x250AA36C: mov edx, dword ptr [ebp - 0x28] */ 31852 /* cmp edx, ebx */ /* 0x250AA36F: cmp edx, ebx */ 31853 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 31854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31855 _flag_k = FK_CMP; 31856 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA37D; /* 0x250AA371: jge 0x250aa37d */ 31857 L_250AA373: 31858 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 31859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31860 eax = eax - edx; /* 0x250AA373: sub eax, edx */ 31861 _flag_k = FK_CMP; 31862 MEM32(ebp + (-0x10)) = eax; /* 0x250AA375: mov dword ptr [ebp - 0x10], eax */ 31863 MEM32(ebp + (-0x28)) = ebx; /* 0x250AA378: mov dword ptr [ebp - 0x28], ebx */ 31864 edx = ebx; /* 0x250AA37B: mov edx, ebx */ 31865 L_250AA37D: 31866 ecx = MEM32(esi + 0xA0); /* 0x250AA37D: mov ecx, dword ptr [esi + 0xa0] */ 31867 /* cmp eax, ecx */ /* 0x250AA383: cmp eax, ecx */ 31868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 31869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31870 _flag_k = FK_CMP; 31871 if (CMP_LE(_flag_a, _flag_b)) goto L_250AA38C; /* 0x250AA385: jle 0x250aa38c */ 31872 L_250AA387: 31873 eax = ecx; /* 0x250AA387: mov eax, ecx */ 31874 MEM32(ebp + (-0x10)) = eax; /* 0x250AA389: mov dword ptr [ebp - 0x10], eax */ 31875 L_250AA38C: 31876 fp_push((double)(int32_t)MEM32(ebp + (-0x60))); /* 0x250AA38C: fild dword ptr [ebp - 0x60] */ 31877 SET_LO8(ecx, MEM8(esi + 0x67)); /* 0x250AA38F: mov cl, byte ptr [esi + 0x67] */ 31878 /* test LO8(ecx), LO8(ecx) */ /* 0x250AA392: test cl, cl */ 31879 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 31880 _cf = 0; 31881 _flag_k = FK_NARROW(FK_TEST, 24); 31882 _st[0] = (double)*(float*)ADDR(esi + 0x3C) - _st[0]; /* 0x250AA394: fsubr dword ptr [esi + 0x3c] */ 31883 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AA397: fmul dword ptr [0x25152160] */ 31884 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x250AA39D: fstp dword ptr [ebp - 0x84] */ 31885 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250AA3A3: fild dword ptr [ebp - 0x10] */ 31886 _st[0] = (double)*(float*)ADDR(esi + 0x48) - _st[0]; /* 0x250AA3A6: fsubr dword ptr [esi + 0x48] */ 31887 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AA3A9: fmul dword ptr [0x25152160] */ 31888 _st[0] = -_st[0]; /* 0x250AA3AF: fchs */ 31889 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250AA3B1: fstp dword ptr [ebp - 0x28] */ 31890 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA3C4; /* 0x250AA3B4: je 0x250aa3c4 */ 31891 L_250AA3B6: 31892 PUSH32(esp, eax); /* 0x250AA3B6: push eax */ 31893 eax = MEM32(ebp + (-0x60)); /* 0x250AA3B7: mov eax, dword ptr [ebp - 0x60] */ 31894 PUSH32(esp, edi); /* 0x250AA3BA: push edi */ 31895 PUSH32(esp, edx); /* 0x250AA3BB: push edx */ 31896 PUSH32(esp, eax); /* 0x250AA3BC: push eax */ 31897 ecx = esi; /* 0x250AA3BD: mov ecx, esi */ 31898 RECOMP_ICALL(0x250A7CC0u); /* 0x250AA3BF: call 0x250a7cc0 */ /* not lifted */ 31899 RECOMP_FLAGS_IN(); 31900 L_250AA3C4: 31901 ebx = MEM32(ebp + (-0x34)); /* 0x250AA3C4: mov ebx, dword ptr [ebp - 0x34] */ 31902 /* cmp ebx, MEM32(ebp + (-0x44)) */ /* 0x250AA3C7: cmp ebx, dword ptr [ebp - 0x44] */ 31903 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 31904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31905 _flag_k = FK_CMP; 31906 MEM32(ebp + (-0x34)) = ebx; /* 0x250AA3CA: mov dword ptr [ebp - 0x34], ebx */ 31907 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA5A2; /* 0x250AA3CD: jge 0x250aa5a2 */ 31908 L_250AA3D3: 31909 edi = MEM32(ebp + (-0x88)); /* 0x250AA3D3: mov edi, dword ptr [ebp - 0x88] */ 31910 /* cmp edi, MEM32(ebp + (-0x4C)) */ /* 0x250AA3D9: cmp edi, dword ptr [ebp - 0x4c] */ 31911 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + (-0x4C))); 31912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31913 _flag_k = FK_CMP; 31914 MEM32(ebp + (-0x10)) = edi; /* 0x250AA3DC: mov dword ptr [ebp - 0x10], edi */ 31915 if (CMP_GE(_flag_a, _flag_b)) goto L_250AA593; /* 0x250AA3DF: jge 0x250aa593 */ 31916 L_250AA3E5: 31917 ecx = ebx + 0x1; /* 0x250AA3E5: lea ecx, [ebx + 1] */ 31918 MEM32(ebp + (-0x60)) = ecx; /* 0x250AA3E8: mov dword ptr [ebp - 0x60], ecx */ 31919 fp_push((double)(int32_t)MEM32(ebp + (-0x60))); /* 0x250AA3EB: fild dword ptr [ebp - 0x60] */ 31920 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AA3EE: fstp dword ptr [ebp - 0x14] */ 31921 fp_push((double)(int32_t)MEM32(ebp + (-0x34))); /* 0x250AA3F1: fild dword ptr [ebp - 0x34] */ 31922 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AA3F4: fstp dword ptr [ebp - 0x2c] */ 31923 L_250AA3F7: 31924 eax = MEM32(ebp + (-0x2C)); /* 0x250AA3F7: mov eax, dword ptr [ebp - 0x2c] */ 31925 ecx = MEM32(ebp + (-0x14)); /* 0x250AA3FA: mov ecx, dword ptr [ebp - 0x14] */ 31926 edx = edi + 0x1; /* 0x250AA3FD: lea edx, [edi + 1] */ 31927 MEM32(ebp + (-0x60)) = edx; /* 0x250AA400: mov dword ptr [ebp - 0x60], edx */ 31928 fp_push((double)(int32_t)MEM32(ebp + (-0x60))); /* 0x250AA403: fild dword ptr [ebp - 0x60] */ 31929 MEM32(ebp + (-0xDC)) = eax; /* 0x250AA406: mov dword ptr [ebp - 0xdc], eax */ 31930 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x250AA40C: fild dword ptr [ebp - 0x10] */ 31931 MEM32(ebp + (-0xD4)) = ecx; /* 0x250AA40F: mov dword ptr [ebp - 0xd4], ecx */ 31932 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AA415: fstp dword ptr [ebp - 0xe0] */ 31933 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AA41B: fstp dword ptr [ebp - 0xd8] */ 31934 edx = ebp + (-0x24); /* 0x250AA421: lea edx, [ebp - 0x24] */ 31935 PUSH32(esp, edx); /* 0x250AA424: push edx */ 31936 eax = ebp + (-0x100); /* 0x250AA425: lea eax, [ebp - 0x100] */ 31937 PUSH32(esp, eax); /* 0x250AA42B: push eax */ 31938 ecx = ebp + (-0xE0); /* 0x250AA42C: lea ecx, [ebp - 0xe0] */ 31939 RECOMP_ICALL(0x250A8650u); /* 0x250AA432: call 0x250a8650 */ /* not lifted */ 31940 RECOMP_FLAGS_IN(); 31941 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AA437: fld dword ptr [ebp - 0x100] */ 31942 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AA43D: fcomp dword ptr [ebp - 0xf8] */ 31943 fp_pop(); 31944 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x250AA443: mov byte ptr [ebp - 4], 0xb */ 31945 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AA447: fnstsw ax */ 31946 /* test HI8(eax), 0x41u */ /* 0x250AA449: test ah, 0x41 */ 31947 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 31948 _cf = 0; 31949 _flag_k = FK_NARROW(FK_TEST, 24); 31950 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA584; /* 0x250AA44C: je 0x250aa584 */ 31951 L_250AA452: 31952 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AA452: fld dword ptr [ebp - 0xfc] */ 31953 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AA458: fcomp dword ptr [ebp - 0xf4] */ 31954 fp_pop(); 31955 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AA45E: fnstsw ax */ 31956 /* test HI8(eax), 0x41u */ /* 0x250AA460: test ah, 0x41 */ 31957 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 31958 _cf = 0; 31959 _flag_k = FK_NARROW(FK_TEST, 24); 31960 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA584; /* 0x250AA463: je 0x250aa584 */ 31961 L_250AA469: 31962 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AA469: fld dword ptr [ebp - 0xe0] */ 31963 ecx = ebp + (-0x40); /* 0x250AA46F: lea ecx, [ebp - 0x40] */ 31964 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x250AA472: fstp dword ptr [ebp - 0x40] */ 31965 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AA475: fld dword ptr [ebp - 0xdc] */ 31966 PUSH32(esp, ecx); /* 0x250AA47B: push ecx */ 31967 edx = ebp + (-0xF0); /* 0x250AA47C: lea edx, [ebp - 0xf0] */ 31968 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x250AA482: fstp dword ptr [ebp - 0x3c] */ 31969 PUSH32(esp, edx); /* 0x250AA485: push edx */ 31970 ecx = ebp + (-0x100); /* 0x250AA486: lea ecx, [ebp - 0x100] */ 31971 MEM32(ebp + (-0x38)) = 0; /* 0x250AA48C: mov dword ptr [ebp - 0x38], 0 */ 31972 RECOMP_ICALL(0x250ABAE0u); /* 0x250AA493: call 0x250abae0 */ /* not lifted */ 31973 RECOMP_FLAGS_IN(); 31974 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250AA498: fld dword ptr [ebp - 0x24] */ 31975 eax = ebp + (-0x6C); /* 0x250AA49B: lea eax, [ebp - 0x6c] */ 31976 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x250AA49E: fstp dword ptr [ebp - 0x6c] */ 31977 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250AA4A1: fld dword ptr [ebp - 0x20] */ 31978 PUSH32(esp, eax); /* 0x250AA4A4: push eax */ 31979 ecx = ebp + (-0x5C); /* 0x250AA4A5: lea ecx, [ebp - 0x5c] */ 31980 PUSH32(esp, ecx); /* 0x250AA4A8: push ecx */ 31981 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x250AA4A9: fstp dword ptr [ebp - 0x68] */ 31982 ecx = ebp + (-0x100); /* 0x250AA4AC: lea ecx, [ebp - 0x100] */ 31983 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x250AA4B2: mov byte ptr [ebp - 4], 0xc */ 31984 MEM32(ebp + (-0x64)) = 0; /* 0x250AA4B6: mov dword ptr [ebp - 0x64], 0 */ 31985 RECOMP_ICALL(0x250ABAE0u); /* 0x250AA4BD: call 0x250abae0 */ /* not lifted */ 31986 RECOMP_FLAGS_IN(); 31987 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AA4C2: fld dword ptr [ebp - 0x5c] */ 31988 _st[0] += (double)*(float*)ADDR(ebp + (-0x80)); /* 0x250AA4C5: fadd dword ptr [ebp - 0x80] */ 31989 eax = MEM32(ebp + (-0xA4)); /* 0x250AA4C8: mov eax, dword ptr [ebp - 0xa4] */ 31990 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AA4CE: fld dword ptr [ebp - 0x58] */ 31991 edx = ebp + (-0xF0); /* 0x250AA4D1: lea edx, [ebp - 0xf0] */ 31992 _st[0] += (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250AA4D7: fadd dword ptr [ebp - 0x30] */ 31993 PUSH32(esp, edx); /* 0x250AA4DA: push edx */ 31994 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AA4DB: fld dword ptr [ebp - 0x54] */ 31995 PUSH32(esp, eax); /* 0x250AA4DE: push eax */ 31996 _st[0] += (double)*(float*)ADDR(ebp + (-0x80)); /* 0x250AA4DF: fadd dword ptr [ebp - 0x80] */ 31997 ecx = ebp + (-0xAC); /* 0x250AA4E2: lea ecx, [ebp - 0xac] */ 31998 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x250AA4E8: mov byte ptr [ebp - 4], 0xd */ 31999 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AA4EC: fstp dword ptr [ebp - 0x54] */ 32000 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AA4EF: fld dword ptr [ebp - 0x50] */ 32001 _st[0] += (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250AA4F2: fadd dword ptr [ebp - 0x30] */ 32002 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AA4F5: fstp dword ptr [ebp - 0x50] */ 32003 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250AA4F8: fld dword ptr [ebp - 0x18] */ 32004 _st[0] -= (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250AA4FB: fsub dword ptr [ebp - 0x20] */ 32005 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AA4FE: fst dword ptr [ebp - 0x10] */ 32006 _st[0] -= _st[1]; /* 0x250AA501: fsub st(1) */ 32007 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AA503: fstp dword ptr [ebp - 0x58] */ 32008 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AA506: fstp st(0) */ 32009 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250AA508: fld dword ptr [ebp - 0x10] */ 32010 _st[0] -= (double)*(float*)ADDR(ebp + (-0x50)); /* 0x250AA50B: fsub dword ptr [ebp - 0x50] */ 32011 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AA50E: fstp dword ptr [ebp - 0x50] */ 32012 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x250AA511: fld dword ptr [ebp - 0x48] */ 32013 _st[0] *= (double)*(float*)ADDR(esi + 0x60); /* 0x250AA514: fmul dword ptr [esi + 0x60] */ 32014 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x250AA517: fstp dword ptr [ebp - 0x34] */ 32015 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x250AA51A: fld dword ptr [ebp - 0x48] */ 32016 _st[0] *= (double)*(float*)ADDR(esi + 0x5C); /* 0x250AA51D: fmul dword ptr [esi + 0x5c] */ 32017 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AA520: fstp dword ptr [ebp - 0x10] */ 32018 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x250AA523: fmul dword ptr [ebp - 0x10] */ 32019 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AA526: fstp dword ptr [ebp - 0x5c] */ 32020 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x250AA529: fld dword ptr [ebp - 0x34] */ 32021 _st[0] *= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AA52C: fmul dword ptr [ebp - 0x58] */ 32022 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AA52F: fstp dword ptr [ebp - 0x58] */ 32023 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250AA532: fld dword ptr [ebp - 0x10] */ 32024 _st[0] *= (double)*(float*)ADDR(ebp + (-0x54)); /* 0x250AA535: fmul dword ptr [ebp - 0x54] */ 32025 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AA538: fstp dword ptr [ebp - 0x54] */ 32026 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x250AA53B: fld dword ptr [ebp - 0x34] */ 32027 _st[0] *= (double)*(float*)ADDR(ebp + (-0x50)); /* 0x250AA53E: fmul dword ptr [ebp - 0x50] */ 32028 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AA541: fstp dword ptr [ebp - 0x50] */ 32029 RECOMP_ICALL(0x250AC570u); /* 0x250AA544: call 0x250ac570 */ /* not lifted */ 32030 RECOMP_FLAGS_IN(); 32031 edx = MEM32(ebp + (-0x90)); /* 0x250AA549: mov edx, dword ptr [ebp - 0x90] */ 32032 ecx = ebp + (-0x5C); /* 0x250AA54F: lea ecx, [ebp - 0x5c] */ 32033 PUSH32(esp, ecx); /* 0x250AA552: push ecx */ 32034 PUSH32(esp, edx); /* 0x250AA553: push edx */ 32035 ecx = ebp + (-0x98); /* 0x250AA554: lea ecx, [ebp - 0x98] */ 32036 RECOMP_ICALL(0x250AC570u); /* 0x250AA55A: call 0x250ac570 */ /* not lifted */ 32037 RECOMP_FLAGS_IN(); 32038 MEM32(ebp + (-0x148)) = edi; /* 0x250AA55F: mov dword ptr [ebp - 0x148], edi */ 32039 MEM32(ebp + (-0x144)) = ebx; /* 0x250AA565: mov dword ptr [ebp - 0x144], ebx */ 32040 eax = ebp + (-0x148); /* 0x250AA56B: lea eax, [ebp - 0x148] */ 32041 ecx = MEM32(ebp + (-0xB4)); /* 0x250AA571: mov ecx, dword ptr [ebp - 0xb4] */ 32042 PUSH32(esp, eax); /* 0x250AA577: push eax */ 32043 PUSH32(esp, ecx); /* 0x250AA578: push ecx */ 32044 ecx = ebp + (-0xBC); /* 0x250AA579: lea ecx, [ebp - 0xbc] */ 32045 RECOMP_ICALL(0x2512B450u); /* 0x250AA57F: call 0x2512b450 */ /* not lifted */ 32046 RECOMP_FLAGS_IN(); 32047 L_250AA584: 32048 edi = MEM32(ebp + (-0x60)); /* 0x250AA584: mov edi, dword ptr [ebp - 0x60] */ 32049 /* cmp edi, MEM32(ebp + (-0x4C)) */ /* 0x250AA587: cmp edi, dword ptr [ebp - 0x4c] */ 32050 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + (-0x4C))); 32051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32052 _flag_k = FK_CMP; 32053 MEM32(ebp + (-0x10)) = edi; /* 0x250AA58A: mov dword ptr [ebp - 0x10], edi */ 32054 RECOMP_BACKEDGE(); 32055 if (CMP_L(_flag_a, _flag_b)) goto L_250AA3F7; /* 0x250AA58D: jl 0x250aa3f7 */ 32056 L_250AA593: 32057 eax = MEM32(ebp + (-0x44)); /* 0x250AA593: mov eax, dword ptr [ebp - 0x44] */ 32058 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 32059 ebx = ebx + 1; /* 0x250AA596: inc ebx */ 32060 _flag_k = FK_INC; 32061 /* cmp ebx, eax */ /* 0x250AA597: cmp ebx, eax */ 32062 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 32063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32064 _flag_k = FK_CMP; 32065 MEM32(ebp + (-0x34)) = ebx; /* 0x250AA599: mov dword ptr [ebp - 0x34], ebx */ 32066 RECOMP_BACKEDGE(); 32067 if (CMP_L(_flag_a, _flag_b)) goto L_250AA3D3; /* 0x250AA59C: jl 0x250aa3d3 */ 32068 L_250AA5A2: 32069 edx = MEM32(ebp + (-0x24)); /* 0x250AA5A2: mov edx, dword ptr [ebp - 0x24] */ 32070 eax = MEM32(ebp + (-0x20)); /* 0x250AA5A5: mov eax, dword ptr [ebp - 0x20] */ 32071 ecx = MEM32(ebp + (-0x1C)); /* 0x250AA5A8: mov ecx, dword ptr [ebp - 0x1c] */ 32072 MEM32(ebp + (-0xF0)) = edx; /* 0x250AA5AB: mov dword ptr [ebp - 0xf0], edx */ 32073 edx = MEM32(ebp + (-0x18)); /* 0x250AA5B1: mov edx, dword ptr [ebp - 0x18] */ 32074 MEM32(ebp + (-0xEC)) = eax; /* 0x250AA5B4: mov dword ptr [ebp - 0xec], eax */ 32075 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AA5BA: mov dword ptr [ebp - 0xe8], ecx */ 32076 MEM32(ebp + (-0xE4)) = edx; /* 0x250AA5C0: mov dword ptr [ebp - 0xe4], edx */ 32077 ecx = MEM32(ebp + (-0x30)); /* 0x250AA5C6: mov ecx, dword ptr [ebp - 0x30] */ 32078 eax = MEM32(ebp + (-0x80)); /* 0x250AA5C9: mov eax, dword ptr [ebp - 0x80] */ 32079 edx = ebp + (-0x158); /* 0x250AA5CC: lea edx, [ebp - 0x158] */ 32080 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AA5D2: mov dword ptr [ebp - 0x3c], ecx */ 32081 PUSH32(esp, edx); /* 0x250AA5D5: push edx */ 32082 ecx = ebp + (-0x24); /* 0x250AA5D6: lea ecx, [ebp - 0x24] */ 32083 MEM32(ebp + (-0x40)) = eax; /* 0x250AA5D9: mov dword ptr [ebp - 0x40], eax */ 32084 MEM32(ebp + (-0x38)) = 0; /* 0x250AA5DC: mov dword ptr [ebp - 0x38], 0 */ 32085 RECOMP_ICALL(0x250A8040u); /* 0x250AA5E3: call 0x250a8040 */ /* not lifted */ 32086 RECOMP_FLAGS_IN(); 32087 ecx = ebp + (-0x40); /* 0x250AA5E8: lea ecx, [ebp - 0x40] */ 32088 PUSH32(esp, ecx); /* 0x250AA5EB: push ecx */ 32089 edx = ebp + (-0x7C); /* 0x250AA5EC: lea edx, [ebp - 0x7c] */ 32090 PUSH32(esp, edx); /* 0x250AA5EF: push edx */ 32091 ecx = eax; /* 0x250AA5F0: mov ecx, eax */ 32092 RECOMP_ICALL(0x250A8070u); /* 0x250AA5F2: call 0x250a8070 */ /* not lifted */ 32093 RECOMP_FLAGS_IN(); 32094 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x250AA5F7: fld dword ptr [ebp - 0x48] */ 32095 _st[0] *= (double)*(float*)ADDR(esi + 0x60); /* 0x250AA5FA: fmul dword ptr [esi + 0x60] */ 32096 ecx = MEM32(eax); /* 0x250AA5FD: mov ecx, dword ptr [eax] */ 32097 fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x250AA5FF: fld dword ptr [ebp - 0x48] */ 32098 MEM32(ebp + (-0x24)) = ecx; /* 0x250AA602: mov dword ptr [ebp - 0x24], ecx */ 32099 _st[0] *= (double)*(float*)ADDR(esi + 0x5C); /* 0x250AA605: fmul dword ptr [esi + 0x5c] */ 32100 edx = MEM32(eax + 0x4); /* 0x250AA608: mov edx, dword ptr [eax + 4] */ 32101 MEM32(ebp + (-0x20)) = edx; /* 0x250AA60B: mov dword ptr [ebp - 0x20], edx */ 32102 ecx = MEM32(eax + 0x8); /* 0x250AA60E: mov ecx, dword ptr [eax + 8] */ 32103 fp_push(_st[0]); /* 0x250AA611: fld st(0) */ 32104 MEM32(ebp + (-0x1C)) = ecx; /* 0x250AA613: mov dword ptr [ebp - 0x1c], ecx */ 32105 _st[0] *= (double)*(float*)ADDR(ebp + (-0x24)); /* 0x250AA616: fmul dword ptr [ebp - 0x24] */ 32106 edx = MEM32(eax + 0xC); /* 0x250AA619: mov edx, dword ptr [eax + 0xc] */ 32107 MEM32(ebp + (-0x18)) = edx; /* 0x250AA61C: mov dword ptr [ebp - 0x18], edx */ 32108 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 32109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32110 esp = esp - 8; /* 0x250AA61F: sub esp, 8 */ 32111 _flag_k = FK_CMP; 32112 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250AA622: fstp dword ptr [ebp - 0x24] */ 32113 fp_push(_st[1]); /* 0x250AA625: fld st(1) */ 32114 _st[0] *= (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250AA627: fmul dword ptr [ebp - 0x20] */ 32115 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AA62A: fstp dword ptr [ebp - 0x20] */ 32116 _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x250AA62D: fmul dword ptr [ebp - 0x1c] */ 32117 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AA630: fstp dword ptr [ebp - 0x1c] */ 32118 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250AA633: fmul dword ptr [ebp - 0x18] */ 32119 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250AA636: fstp dword ptr [ebp - 0x18] */ 32120 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250AA639: fld dword ptr [ebp - 0x24] */ 32121 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250AA63C: fadd dword ptr [0x25151788] */ 32122 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AA642: fstp qword ptr [esp] */ 32123 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AA645: call dword ptr [0x25151260] */ 32124 RECOMP_FLAGS_IN(); 32125 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250AA64B: fstp dword ptr [ebp - 0x24] */ 32126 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250AA64E: fld dword ptr [ebp - 0x20] */ 32127 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250AA651: fadd dword ptr [0x25151788] */ 32128 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AA657: fstp qword ptr [esp] */ 32129 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AA65A: call dword ptr [0x25151260] */ 32130 RECOMP_FLAGS_IN(); 32131 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AA660: fstp dword ptr [ebp - 0x20] */ 32132 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250AA663: fld dword ptr [ebp - 0x1c] */ 32133 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250AA666: fadd dword ptr [0x25151788] */ 32134 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AA66C: fstp qword ptr [esp] */ 32135 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AA66F: call dword ptr [0x25151260] */ 32136 RECOMP_FLAGS_IN(); 32137 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AA675: fstp dword ptr [ebp - 0x1c] */ 32138 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250AA678: fld dword ptr [ebp - 0x18] */ 32139 _st[0] += (double)*(float*)ADDR(0x25151788); /* 0x250AA67B: fadd dword ptr [0x25151788] */ 32140 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AA681: fstp qword ptr [esp] */ 32141 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AA684: call dword ptr [0x25151260] */ 32142 RECOMP_FLAGS_IN(); 32143 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250AA68A: mov al, byte ptr [esi + 0xdd] */ 32144 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250AA690: fstp dword ptr [ebp - 0x18] */ 32145 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 32146 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32147 esp = esp + 8; /* 0x250AA693: add esp, 8 */ 32148 _flag_k = FK_ADD; 32149 /* test LO8(eax), LO8(eax) */ /* 0x250AA696: test al, al */ 32150 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32151 _cf = 0; 32152 _flag_k = FK_NARROW(FK_TEST, 24); 32153 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AA736; /* 0x250AA698: jne 0x250aa736 */ 32154 L_250AA69E: 32155 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250AA69E: mov al, byte ptr [esi + 0x67] */ 32156 /* test LO8(eax), LO8(eax) */ /* 0x250AA6A1: test al, al */ 32157 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32158 _cf = 0; 32159 _flag_k = FK_NARROW(FK_TEST, 24); 32160 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA736; /* 0x250AA6A3: je 0x250aa736 */ 32161 L_250AA6A9: 32162 eax = MEM32(esi + 0x7C); /* 0x250AA6A9: mov eax, dword ptr [esi + 0x7c] */ 32163 /* test eax, eax */ /* 0x250AA6AC: test eax, eax */ 32164 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32165 _cf = 0; 32166 _flag_k = FK_TEST; 32167 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA736; /* 0x250AA6AE: je 0x250aa736 */ 32168 L_250AA6B4: 32169 fp_push(*(float*)&MEM32(esi + 0x48)); /* 0x250AA6B4: fld dword ptr [esi + 0x48] */ 32170 eax = MEM32(ebp + (-0x84)); /* 0x250AA6B7: mov eax, dword ptr [ebp - 0x84] */ 32171 _st[0] -= (double)*(float*)ADDR(esi + 0x40); /* 0x250AA6BD: fsub dword ptr [esi + 0x40] */ 32172 ecx = MEM32(ebp + (-0x28)); /* 0x250AA6C0: mov ecx, dword ptr [ebp - 0x28] */ 32173 MEM32(ebp + (-0x7C)) = eax; /* 0x250AA6C3: mov dword ptr [ebp - 0x7c], eax */ 32174 MEM32(ebp + (-0x78)) = ecx; /* 0x250AA6C6: mov dword ptr [ebp - 0x78], ecx */ 32175 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AA6C9: fmul dword ptr [0x25152160] */ 32176 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250AA6CF: fadd dword ptr [ebp - 0x28] */ 32177 fp_push(*(float*)&MEM32(esi + 0x44)); /* 0x250AA6D2: fld dword ptr [esi + 0x44] */ 32178 _st[0] -= (double)*(float*)ADDR(esi + 0x3C); /* 0x250AA6D5: fsub dword ptr [esi + 0x3c] */ 32179 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AA6D8: fmul dword ptr [0x25152160] */ 32180 _st[0] += (double)*(float*)ADDR(ebp + (-0x84)); /* 0x250AA6DE: fadd dword ptr [ebp - 0x84] */ 32181 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x250AA6E4: fstp dword ptr [ebp - 0x74] */ 32182 fp_push(*(float*)&MEM32(esi + 0x58)); /* 0x250AA6E7: fld dword ptr [esi + 0x58] */ 32183 edx = MEM32(ebp + (-0x80)); /* 0x250AA6EA: mov edx, dword ptr [ebp - 0x80] */ 32184 _st[0] -= (double)*(float*)ADDR(esi + 0x50); /* 0x250AA6ED: fsub dword ptr [esi + 0x50] */ 32185 eax = MEM32(ebp + (-0x30)); /* 0x250AA6F0: mov eax, dword ptr [ebp - 0x30] */ 32186 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AA6F3: fld dword ptr [esi + 0x60] */ 32187 ecx = ebp + (-0x40); /* 0x250AA6F6: lea ecx, [ebp - 0x40] */ 32188 _st[0] *= (double)*(float*)ADDR(0x25156408); /* 0x250AA6F9: fmul dword ptr [0x25156408] */ 32189 MEM32(ebp + (-0x40)) = edx; /* 0x250AA6FF: mov dword ptr [ebp - 0x40], edx */ 32190 PUSH32(esp, ecx); /* 0x250AA702: push ecx */ 32191 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250AA703: fdivp st(1) */ 32192 edx = ebp + (-0x158); /* 0x250AA705: lea edx, [ebp - 0x158] */ 32193 PUSH32(esp, edx); /* 0x250AA70B: push edx */ 32194 ecx = ebp + (-0x24); /* 0x250AA70C: lea ecx, [ebp - 0x24] */ 32195 MEM32(ebp + (-0x3C)) = eax; /* 0x250AA70F: mov dword ptr [ebp - 0x3c], eax */ 32196 MEM32(ebp + (-0x38)) = 0; /* 0x250AA712: mov dword ptr [ebp - 0x38], 0 */ 32197 _st[0] += _st[1]; /* 0x250AA719: fadd st(1) */ 32198 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AA71B: fstp dword ptr [ebp - 0x70] */ 32199 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AA71E: fstp st(0) */ 32200 RECOMP_ICALL(0x250A8070u); /* 0x250AA720: call 0x250a8070 */ /* not lifted */ 32201 RECOMP_FLAGS_IN(); 32202 ecx = MEM32(esi + 0x7C); /* 0x250AA725: mov ecx, dword ptr [esi + 0x7c] */ 32203 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AA728: push -1 */ 32204 PUSH32(esp, eax); /* 0x250AA72A: push eax */ 32205 eax = ebp + (-0x7C); /* 0x250AA72B: lea eax, [ebp - 0x7c] */ 32206 PUSH32(esp, eax); /* 0x250AA72E: push eax */ 32207 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x250AA72F: mov byte ptr [ebp - 4], 0x11 */ 32208 PUSH32(esp, ecx); /* 0x250AA733: push ecx */ 32209 goto L_250AA762; /* 0x250AA734: jmp 0x250aa762 */ 32210 L_250AA736: 32211 MEM32(ebp + (-0x7C)) = 0; /* 0x250AA736: mov dword ptr [ebp - 0x7c], 0 */ 32212 MEM32(ebp + (-0x78)) = 0; /* 0x250AA73D: mov dword ptr [ebp - 0x78], 0 */ 32213 MEM32(ebp + (-0x74)) = 0x3F800000u; /* 0x250AA744: mov dword ptr [ebp - 0x74], 0x3f800000 */ 32214 MEM32(ebp + (-0x70)) = 0x3F800000u; /* 0x250AA74B: mov dword ptr [ebp - 0x70], 0x3f800000 */ 32215 PUSH32(esp, 0); /* 0x250AA752: push 0 */ 32216 eax = ebp + (-0x24); /* 0x250AA754: lea eax, [ebp - 0x24] */ 32217 PUSH32(esp, eax); /* 0x250AA757: push eax */ 32218 ecx = ebp + (-0x7C); /* 0x250AA758: lea ecx, [ebp - 0x7c] */ 32219 PUSH32(esp, ecx); /* 0x250AA75B: push ecx */ 32220 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x250AA75C: mov byte ptr [ebp - 4], 0xf */ 32221 PUSH32(esp, 0); /* 0x250AA760: push 0 */ 32222 L_250AA762: 32223 edx = MEM32(ebp + 0x8); /* 0x250AA762: mov edx, dword ptr [ebp + 8] */ 32224 PUSH32(esp, edx); /* 0x250AA765: push edx */ 32225 ecx = esi; /* 0x250AA766: mov ecx, esi */ 32226 RECOMP_ICALL(0x250ABB20u); /* 0x250AA768: call 0x250abb20 */ /* not lifted */ 32227 RECOMP_FLAGS_IN(); 32228 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250AA76D: mov al, byte ptr [esi + 0xdd] */ 32229 /* test LO8(eax), LO8(eax) */ /* 0x250AA773: test al, al */ 32230 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32231 _cf = 0; 32232 _flag_k = FK_NARROW(FK_TEST, 24); 32233 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AA775: mov byte ptr [ebp - 4], 0xe */ 32234 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAD99; /* 0x250AA779: je 0x250aad99 */ 32235 L_250AA77F: 32236 eax = MEM32(0x25238B94); /* 0x250AA77F: mov eax, dword ptr [0x25238b94] */ 32237 ecx = MEM32(eax + 0x894); /* 0x250AA784: mov ecx, dword ptr [eax + 0x894] */ 32238 eax = MEM32(ecx + 0x518); /* 0x250AA78A: mov eax, dword ptr [ecx + 0x518] */ 32239 PUSH32(esp, 0xAu); /* 0x250AA790: push 0xa */ 32240 PUSH32(esp, 2); /* 0x250AA792: push 2 */ 32241 PUSH32(esp, 0x13u); /* 0x250AA794: push 0x13 */ 32242 MEM32(ebp + (-0x6C)) = 0x13u; /* 0x250AA796: mov dword ptr [ebp - 0x6c], 0x13 */ 32243 MEM32(ebp + (-0x2C)) = eax; /* 0x250AA79D: mov dword ptr [ebp - 0x2c], eax */ 32244 MEM32(ebp + (-0x68)) = eax; /* 0x250AA7A0: mov dword ptr [ebp - 0x68], eax */ 32245 RECOMP_ICALL(0x250EFE90u); /* 0x250AA7A3: call 0x250efe90 */ /* not lifted */ 32246 RECOMP_FLAGS_IN(); 32247 MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x250AA7A8: mov byte ptr [ebp - 0x64], al */ 32248 ecx = MEM32(0x25238B94); /* 0x250AA7AB: mov ecx, dword ptr [0x25238b94] */ 32249 ecx = MEM32(ecx + 0x894); /* 0x250AA7B1: mov ecx, dword ptr [ecx + 0x894] */ 32250 eax = MEM32(ecx + 0x51C); /* 0x250AA7B7: mov eax, dword ptr [ecx + 0x51c] */ 32251 PUSH32(esp, 0xAu); /* 0x250AA7BD: push 0xa */ 32252 PUSH32(esp, 1); /* 0x250AA7BF: push 1 */ 32253 PUSH32(esp, 0x14u); /* 0x250AA7C1: push 0x14 */ 32254 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x250AA7C3: mov byte ptr [ebp - 4], 0x12 */ 32255 MEM32(ebp + (-0x40)) = 0x14u; /* 0x250AA7C7: mov dword ptr [ebp - 0x40], 0x14 */ 32256 MEM32(ebp + (-0x14)) = eax; /* 0x250AA7CE: mov dword ptr [ebp - 0x14], eax */ 32257 MEM32(ebp + (-0x3C)) = eax; /* 0x250AA7D1: mov dword ptr [ebp - 0x3c], eax */ 32258 RECOMP_ICALL(0x250EFE90u); /* 0x250AA7D4: call 0x250efe90 */ /* not lifted */ 32259 RECOMP_FLAGS_IN(); 32260 MEM8(ebp + (-0x38)) = (uint8_t)(LO8(eax)); /* 0x250AA7D9: mov byte ptr [ebp - 0x38], al */ 32261 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32262 edi = 0; /* 0x250AA7DC: xor edi, edi */ 32263 _cf = 0; 32264 _flag_k = FK_TEST; 32265 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x250AA7DE: mov byte ptr [ebp - 4], 0x13 */ 32266 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32267 ebx = 0; /* 0x250AA7E2: xor ebx, ebx */ 32268 _cf = 0; 32269 _flag_k = FK_TEST; 32270 L_250AA7E4: 32271 eax = MEM32(ebp + (-0xA8)); /* 0x250AA7E4: mov eax, dword ptr [ebp - 0xa8] */ 32272 /* test eax, eax */ /* 0x250AA7EA: test eax, eax */ 32273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32274 _cf = 0; 32275 _flag_k = FK_TEST; 32276 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA843; /* 0x250AA7EC: je 0x250aa843 */ 32277 L_250AA7EE: 32278 edx = MEM32(ebp + (-0xA4)); /* 0x250AA7EE: mov edx, dword ptr [ebp - 0xa4] */ 32279 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 32280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32281 edx = edx - eax; /* 0x250AA7F4: sub edx, eax */ 32282 _flag_k = FK_CMP; 32283 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x250AA7F6: sar edx, 4 */ 32284 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32285 edx = (uint32_t)((int32_t)edx >> 4u); 32286 /* cmp edi, edx */ /* 0x250AA7F9: cmp edi, edx */ 32287 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32289 _flag_k = FK_CMP; 32290 if (CMP_AE(_flag_a, _flag_b)) goto L_250AA843; /* 0x250AA7FB: jae 0x250aa843 */ 32291 L_250AA7FD: 32292 eax = MEM32(ebp + (-0xB8)); /* 0x250AA7FD: mov eax, dword ptr [ebp - 0xb8] */ 32293 ecx = MEM32(eax + edi * 8); /* 0x250AA803: mov ecx, dword ptr [eax + edi*8] */ 32294 eax = MEM32(eax + edi * 8 + 0x4); /* 0x250AA806: mov eax, dword ptr [eax + edi*8 + 4] */ 32295 PUSH32(esp, eax); /* 0x250AA80A: push eax */ 32296 PUSH32(esp, ecx); /* 0x250AA80B: push ecx */ 32297 ecx = MEM32(0x252385B4); /* 0x250AA80C: mov ecx, dword ptr [0x252385b4] */ 32298 RECOMP_ICALL(0x25049640u); /* 0x250AA812: call 0x25049640 */ /* not lifted */ 32299 RECOMP_FLAGS_IN(); 32300 /* test eax, eax */ /* 0x250AA817: test eax, eax */ 32301 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32302 _cf = 0; 32303 _flag_k = FK_TEST; 32304 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA83D; /* 0x250AA819: je 0x250aa83d */ 32305 L_250AA81B: 32306 ecx = MEM32(ebp + (-0x94)); /* 0x250AA81B: mov ecx, dword ptr [ebp - 0x94] */ 32307 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AA821: push -1 */ 32308 edx = ebx + ecx; /* 0x250AA823: lea edx, [ebx + ecx] */ 32309 ecx = MEM32(ebp + (-0xA8)); /* 0x250AA826: mov ecx, dword ptr [ebp - 0xa8] */ 32310 PUSH32(esp, edx); /* 0x250AA82C: push edx */ 32311 edx = ebx + ecx; /* 0x250AA82D: lea edx, [ebx + ecx] */ 32312 PUSH32(esp, edx); /* 0x250AA830: push edx */ 32313 PUSH32(esp, eax); /* 0x250AA831: push eax */ 32314 eax = MEM32(ebp + 0x8); /* 0x250AA832: mov eax, dword ptr [ebp + 8] */ 32315 PUSH32(esp, eax); /* 0x250AA835: push eax */ 32316 ecx = esi; /* 0x250AA836: mov ecx, esi */ 32317 RECOMP_ICALL(0x250ABB20u); /* 0x250AA838: call 0x250abb20 */ /* not lifted */ 32318 RECOMP_FLAGS_IN(); 32319 L_250AA83D: 32320 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 32321 edi = edi + 1; /* 0x250AA83D: inc edi */ 32322 _flag_k = FK_INC; 32323 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 32324 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32325 ebx = ebx + 0x10u; /* 0x250AA83E: add ebx, 0x10 */ 32326 _flag_k = FK_ADD; 32327 RECOMP_BACKEDGE(); 32328 goto L_250AA7E4; /* 0x250AA841: jmp 0x250aa7e4 */ 32329 L_250AA843: 32330 SET_LO8(eax, MEM8(ebp + (-0x38))); /* 0x250AA843: mov al, byte ptr [ebp - 0x38] */ 32331 /* test LO8(eax), LO8(eax) */ /* 0x250AA846: test al, al */ 32332 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32333 _cf = 0; 32334 _flag_k = FK_NARROW(FK_TEST, 24); 32335 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x250AA848: mov byte ptr [ebp - 4], 0x12 */ 32336 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA867; /* 0x250AA84C: je 0x250aa867 */ 32337 L_250AA84E: 32338 edx = MEM32(ebp + (-0x14)); /* 0x250AA84E: mov edx, dword ptr [ebp - 0x14] */ 32339 ecx = MEM32(0x25238B94); /* 0x250AA851: mov ecx, dword ptr [0x25238b94] */ 32340 ecx = MEM32(ecx + 0x894); /* 0x250AA857: mov ecx, dword ptr [ecx + 0x894] */ 32341 PUSH32(esp, 2); /* 0x250AA85D: push 2 */ 32342 PUSH32(esp, edx); /* 0x250AA85F: push edx */ 32343 PUSH32(esp, 0x14u); /* 0x250AA860: push 0x14 */ 32344 RECOMP_ICALL(0x250EFE90u); /* 0x250AA862: call 0x250efe90 */ /* not lifted */ 32345 RECOMP_FLAGS_IN(); 32346 L_250AA867: 32347 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AA867: mov al, byte ptr [ebp - 0x64] */ 32348 /* test LO8(eax), LO8(eax) */ /* 0x250AA86A: test al, al */ 32349 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32350 _cf = 0; 32351 _flag_k = FK_NARROW(FK_TEST, 24); 32352 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AA86C: mov byte ptr [ebp - 4], 0xe */ 32353 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA88A; /* 0x250AA870: je 0x250aa88a */ 32354 L_250AA872: 32355 edx = MEM32(ebp + (-0x2C)); /* 0x250AA872: mov edx, dword ptr [ebp - 0x2c] */ 32356 eax = MEM32(0x25238B94); /* 0x250AA875: mov eax, dword ptr [0x25238b94] */ 32357 ecx = MEM32(eax + 0x894); /* 0x250AA87A: mov ecx, dword ptr [eax + 0x894] */ 32358 PUSH32(esp, 2); /* 0x250AA880: push 2 */ 32359 PUSH32(esp, edx); /* 0x250AA882: push edx */ 32360 PUSH32(esp, 0x13u); /* 0x250AA883: push 0x13 */ 32361 RECOMP_ICALL(0x250EFE90u); /* 0x250AA885: call 0x250efe90 */ /* not lifted */ 32362 RECOMP_FLAGS_IN(); 32363 L_250AA88A: 32364 eax = MEM32(0x252385BC); /* 0x250AA88A: mov eax, dword ptr [0x252385bc] */ 32365 /* test eax, eax */ /* 0x250AA88F: test eax, eax */ 32366 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32367 _cf = 0; 32368 _flag_k = FK_TEST; 32369 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA9CB; /* 0x250AA891: je 0x250aa9cb */ 32370 L_250AA897: 32371 eax = MEM32(0x25238B94); /* 0x250AA897: mov eax, dword ptr [0x25238b94] */ 32372 ecx = MEM32(eax + 0x894); /* 0x250AA89C: mov ecx, dword ptr [eax + 0x894] */ 32373 eax = MEM32(ecx + 0x538); /* 0x250AA8A2: mov eax, dword ptr [ecx + 0x538] */ 32374 PUSH32(esp, 0xAu); /* 0x250AA8A8: push 0xa */ 32375 PUSH32(esp, 1); /* 0x250AA8AA: push 1 */ 32376 PUSH32(esp, 0x1Bu); /* 0x250AA8AC: push 0x1b */ 32377 MEM32(ebp + (-0xC8)) = 0x1Bu; /* 0x250AA8AE: mov dword ptr [ebp - 0xc8], 0x1b */ 32378 MEM32(ebp + (-0x14)) = eax; /* 0x250AA8B8: mov dword ptr [ebp - 0x14], eax */ 32379 MEM32(ebp + (-0xC4)) = eax; /* 0x250AA8BB: mov dword ptr [ebp - 0xc4], eax */ 32380 RECOMP_ICALL(0x250EFE90u); /* 0x250AA8C1: call 0x250efe90 */ /* not lifted */ 32381 RECOMP_FLAGS_IN(); 32382 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(eax)); /* 0x250AA8C6: mov byte ptr [ebp - 0xc0], al */ 32383 ecx = MEM32(0x25238B94); /* 0x250AA8CC: mov ecx, dword ptr [0x25238b94] */ 32384 ecx = MEM32(ecx + 0x894); /* 0x250AA8D2: mov ecx, dword ptr [ecx + 0x894] */ 32385 ebx = MEM32(ecx + 0x518); /* 0x250AA8D8: mov ebx, dword ptr [ecx + 0x518] */ 32386 PUSH32(esp, 0xAu); /* 0x250AA8DE: push 0xa */ 32387 PUSH32(esp, 2); /* 0x250AA8E0: push 2 */ 32388 PUSH32(esp, 0x13u); /* 0x250AA8E2: push 0x13 */ 32389 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x250AA8E4: mov byte ptr [ebp - 4], 0x14 */ 32390 MEM32(ebp + (-0x6C)) = 0x13u; /* 0x250AA8E8: mov dword ptr [ebp - 0x6c], 0x13 */ 32391 MEM32(ebp + (-0x68)) = ebx; /* 0x250AA8EF: mov dword ptr [ebp - 0x68], ebx */ 32392 RECOMP_ICALL(0x250EFE90u); /* 0x250AA8F2: call 0x250efe90 */ /* not lifted */ 32393 RECOMP_FLAGS_IN(); 32394 MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x250AA8F7: mov byte ptr [ebp - 0x64], al */ 32395 edx = MEM32(0x25238B94); /* 0x250AA8FA: mov edx, dword ptr [0x25238b94] */ 32396 ecx = MEM32(edx + 0x894); /* 0x250AA900: mov ecx, dword ptr [edx + 0x894] */ 32397 edi = MEM32(ecx + 0x51C); /* 0x250AA906: mov edi, dword ptr [ecx + 0x51c] */ 32398 PUSH32(esp, 0xAu); /* 0x250AA90C: push 0xa */ 32399 PUSH32(esp, 2); /* 0x250AA90E: push 2 */ 32400 PUSH32(esp, 0x14u); /* 0x250AA910: push 0x14 */ 32401 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x250AA912: mov byte ptr [ebp - 4], 0x15 */ 32402 MEM32(ebp + (-0x40)) = 0x14u; /* 0x250AA916: mov dword ptr [ebp - 0x40], 0x14 */ 32403 MEM32(ebp + (-0x3C)) = edi; /* 0x250AA91D: mov dword ptr [ebp - 0x3c], edi */ 32404 RECOMP_ICALL(0x250EFE90u); /* 0x250AA920: call 0x250efe90 */ /* not lifted */ 32405 RECOMP_FLAGS_IN(); 32406 MEM8(ebp + (-0x38)) = (uint8_t)(LO8(eax)); /* 0x250AA925: mov byte ptr [ebp - 0x38], al */ 32407 MEM32(ebp + (-0x7C)) = 0; /* 0x250AA928: mov dword ptr [ebp - 0x7c], 0 */ 32408 MEM32(ebp + (-0x78)) = 0; /* 0x250AA92F: mov dword ptr [ebp - 0x78], 0 */ 32409 MEM32(ebp + (-0x74)) = 0; /* 0x250AA936: mov dword ptr [ebp - 0x74], 0 */ 32410 MEM32(ebp + (-0x70)) = 0; /* 0x250AA93D: mov dword ptr [ebp - 0x70], 0 */ 32411 eax = MEM32(0x252385BC); /* 0x250AA944: mov eax, dword ptr [0x252385bc] */ 32412 PUSH32(esp, eax); /* 0x250AA949: push eax */ 32413 eax = MEM32(ebp + 0x8); /* 0x250AA94A: mov eax, dword ptr [ebp + 8] */ 32414 ecx = ebp + (-0x24); /* 0x250AA94D: lea ecx, [ebp - 0x24] */ 32415 PUSH32(esp, ecx); /* 0x250AA950: push ecx */ 32416 edx = ebp + (-0x7C); /* 0x250AA951: lea edx, [ebp - 0x7c] */ 32417 PUSH32(esp, edx); /* 0x250AA954: push edx */ 32418 PUSH32(esp, 0); /* 0x250AA955: push 0 */ 32419 PUSH32(esp, eax); /* 0x250AA957: push eax */ 32420 ecx = esi; /* 0x250AA958: mov ecx, esi */ 32421 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x250AA95A: mov byte ptr [ebp - 4], 0x17 */ 32422 RECOMP_ICALL(0x250ABB20u); /* 0x250AA95E: call 0x250abb20 */ /* not lifted */ 32423 RECOMP_FLAGS_IN(); 32424 SET_LO8(eax, MEM8(ebp + (-0x38))); /* 0x250AA963: mov al, byte ptr [ebp - 0x38] */ 32425 /* test LO8(eax), LO8(eax) */ /* 0x250AA966: test al, al */ 32426 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32427 _cf = 0; 32428 _flag_k = FK_NARROW(FK_TEST, 24); 32429 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x250AA968: mov byte ptr [ebp - 4], 0x15 */ 32430 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA984; /* 0x250AA96C: je 0x250aa984 */ 32431 L_250AA96E: 32432 ecx = MEM32(0x25238B94); /* 0x250AA96E: mov ecx, dword ptr [0x25238b94] */ 32433 ecx = MEM32(ecx + 0x894); /* 0x250AA974: mov ecx, dword ptr [ecx + 0x894] */ 32434 PUSH32(esp, 2); /* 0x250AA97A: push 2 */ 32435 PUSH32(esp, edi); /* 0x250AA97C: push edi */ 32436 PUSH32(esp, 0x14u); /* 0x250AA97D: push 0x14 */ 32437 RECOMP_ICALL(0x250EFE90u); /* 0x250AA97F: call 0x250efe90 */ /* not lifted */ 32438 RECOMP_FLAGS_IN(); 32439 L_250AA984: 32440 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AA984: mov al, byte ptr [ebp - 0x64] */ 32441 /* test LO8(eax), LO8(eax) */ /* 0x250AA987: test al, al */ 32442 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32443 _cf = 0; 32444 _flag_k = FK_NARROW(FK_TEST, 24); 32445 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x250AA989: mov byte ptr [ebp - 4], 0x14 */ 32446 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA9A5; /* 0x250AA98D: je 0x250aa9a5 */ 32447 L_250AA98F: 32448 edx = MEM32(0x25238B94); /* 0x250AA98F: mov edx, dword ptr [0x25238b94] */ 32449 ecx = MEM32(edx + 0x894); /* 0x250AA995: mov ecx, dword ptr [edx + 0x894] */ 32450 PUSH32(esp, 2); /* 0x250AA99B: push 2 */ 32451 PUSH32(esp, ebx); /* 0x250AA99D: push ebx */ 32452 PUSH32(esp, 0x13u); /* 0x250AA99E: push 0x13 */ 32453 RECOMP_ICALL(0x250EFE90u); /* 0x250AA9A0: call 0x250efe90 */ /* not lifted */ 32454 RECOMP_FLAGS_IN(); 32455 L_250AA9A5: 32456 SET_LO8(eax, MEM8(ebp + (-0xC0))); /* 0x250AA9A5: mov al, byte ptr [ebp - 0xc0] */ 32457 /* test LO8(eax), LO8(eax) */ /* 0x250AA9AB: test al, al */ 32458 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32459 _cf = 0; 32460 _flag_k = FK_NARROW(FK_TEST, 24); 32461 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AA9AD: mov byte ptr [ebp - 4], 0xe */ 32462 if (TEST_Z(_flag_a, _flag_b)) goto L_250AA9CB; /* 0x250AA9B1: je 0x250aa9cb */ 32463 L_250AA9B3: 32464 edx = MEM32(ebp + (-0x14)); /* 0x250AA9B3: mov edx, dword ptr [ebp - 0x14] */ 32465 eax = MEM32(0x25238B94); /* 0x250AA9B6: mov eax, dword ptr [0x25238b94] */ 32466 ecx = MEM32(eax + 0x894); /* 0x250AA9BB: mov ecx, dword ptr [eax + 0x894] */ 32467 PUSH32(esp, 2); /* 0x250AA9C1: push 2 */ 32468 PUSH32(esp, edx); /* 0x250AA9C3: push edx */ 32469 PUSH32(esp, 0x1Bu); /* 0x250AA9C4: push 0x1b */ 32470 RECOMP_ICALL(0x250EFE90u); /* 0x250AA9C6: call 0x250efe90 */ /* not lifted */ 32471 RECOMP_FLAGS_IN(); 32472 L_250AA9CB: 32473 eax = MEM32(0x25238B94); /* 0x250AA9CB: mov eax, dword ptr [0x25238b94] */ 32474 ecx = MEM32(eax + 0x894); /* 0x250AA9D0: mov ecx, dword ptr [eax + 0x894] */ 32475 eax = MEM32(ecx + 0x518); /* 0x250AA9D6: mov eax, dword ptr [ecx + 0x518] */ 32476 PUSH32(esp, 0xAu); /* 0x250AA9DC: push 0xa */ 32477 PUSH32(esp, 9); /* 0x250AA9DE: push 9 */ 32478 PUSH32(esp, 0x13u); /* 0x250AA9E0: push 0x13 */ 32479 MEM32(ebp + (-0xC8)) = 0x13u; /* 0x250AA9E2: mov dword ptr [ebp - 0xc8], 0x13 */ 32480 MEM32(ebp + (-0x34)) = eax; /* 0x250AA9EC: mov dword ptr [ebp - 0x34], eax */ 32481 MEM32(ebp + (-0xC4)) = eax; /* 0x250AA9EF: mov dword ptr [ebp - 0xc4], eax */ 32482 RECOMP_ICALL(0x250EFE90u); /* 0x250AA9F5: call 0x250efe90 */ /* not lifted */ 32483 RECOMP_FLAGS_IN(); 32484 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(eax)); /* 0x250AA9FA: mov byte ptr [ebp - 0xc0], al */ 32485 ecx = MEM32(0x25238B94); /* 0x250AAA00: mov ecx, dword ptr [0x25238b94] */ 32486 ecx = MEM32(ecx + 0x894); /* 0x250AAA06: mov ecx, dword ptr [ecx + 0x894] */ 32487 eax = MEM32(ecx + 0x51C); /* 0x250AAA0C: mov eax, dword ptr [ecx + 0x51c] */ 32488 PUSH32(esp, 0xAu); /* 0x250AAA12: push 0xa */ 32489 PUSH32(esp, 1); /* 0x250AAA14: push 1 */ 32490 PUSH32(esp, 0x14u); /* 0x250AAA16: push 0x14 */ 32491 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x250AAA18: mov byte ptr [ebp - 4], 0x18 */ 32492 MEM32(ebp + (-0x6C)) = 0x14u; /* 0x250AAA1C: mov dword ptr [ebp - 0x6c], 0x14 */ 32493 MEM32(ebp + (-0x2C)) = eax; /* 0x250AAA23: mov dword ptr [ebp - 0x2c], eax */ 32494 MEM32(ebp + (-0x68)) = eax; /* 0x250AAA26: mov dword ptr [ebp - 0x68], eax */ 32495 RECOMP_ICALL(0x250EFE90u); /* 0x250AAA29: call 0x250efe90 */ /* not lifted */ 32496 RECOMP_FLAGS_IN(); 32497 MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x250AAA2E: mov byte ptr [ebp - 0x64], al */ 32498 edx = MEM32(0x25238B94); /* 0x250AAA31: mov edx, dword ptr [0x25238b94] */ 32499 ecx = MEM32(edx + 0x894); /* 0x250AAA37: mov ecx, dword ptr [edx + 0x894] */ 32500 eax = MEM32(ecx + 0x538); /* 0x250AAA3D: mov eax, dword ptr [ecx + 0x538] */ 32501 PUSH32(esp, 0xAu); /* 0x250AAA43: push 0xa */ 32502 PUSH32(esp, 1); /* 0x250AAA45: push 1 */ 32503 PUSH32(esp, 0x1Bu); /* 0x250AAA47: push 0x1b */ 32504 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x250AAA49: mov byte ptr [ebp - 4], 0x19 */ 32505 MEM32(ebp + (-0x40)) = 0x1Bu; /* 0x250AAA4D: mov dword ptr [ebp - 0x40], 0x1b */ 32506 MEM32(ebp + (-0x14)) = eax; /* 0x250AAA54: mov dword ptr [ebp - 0x14], eax */ 32507 MEM32(ebp + (-0x3C)) = eax; /* 0x250AAA57: mov dword ptr [ebp - 0x3c], eax */ 32508 RECOMP_ICALL(0x250EFE90u); /* 0x250AAA5A: call 0x250efe90 */ /* not lifted */ 32509 RECOMP_FLAGS_IN(); 32510 MEM8(ebp + (-0x38)) = (uint8_t)(LO8(eax)); /* 0x250AAA5F: mov byte ptr [ebp - 0x38], al */ 32511 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32512 edi = 0; /* 0x250AAA62: xor edi, edi */ 32513 _cf = 0; 32514 _flag_k = FK_TEST; 32515 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Au); /* 0x250AAA64: mov byte ptr [ebp - 4], 0x1a */ 32516 MEM32(ebp + (-0x44)) = edi; /* 0x250AAA68: mov dword ptr [ebp - 0x44], edi */ 32517 L_250AAA6B: 32518 eax = MEM32(ebp + (-0xA8)); /* 0x250AAA6B: mov eax, dword ptr [ebp - 0xa8] */ 32519 /* test eax, eax */ /* 0x250AAA71: test eax, eax */ 32520 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32521 _cf = 0; 32522 _flag_k = FK_TEST; 32523 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAB7E; /* 0x250AAA73: je 0x250aab7e */ 32524 L_250AAA79: 32525 ecx = MEM32(ebp + (-0xA4)); /* 0x250AAA79: mov ecx, dword ptr [ebp - 0xa4] */ 32526 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 32527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32528 ecx = ecx - eax; /* 0x250AAA7F: sub ecx, eax */ 32529 _flag_k = FK_CMP; 32530 eax = MEM32(ebp + (-0x44)); /* 0x250AAA81: mov eax, dword ptr [ebp - 0x44] */ 32531 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x250AAA84: sar ecx, 4 */ 32532 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32533 ecx = (uint32_t)((int32_t)ecx >> 4u); 32534 /* cmp eax, ecx */ /* 0x250AAA87: cmp eax, ecx */ 32535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 32536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32537 _flag_k = FK_CMP; 32538 if (CMP_AE(_flag_a, _flag_b)) goto L_250AAB7E; /* 0x250AAA89: jae 0x250aab7e */ 32539 L_250AAA8F: 32540 ecx = MEM32(ebp + (-0xB8)); /* 0x250AAA8F: mov ecx, dword ptr [ebp - 0xb8] */ 32541 edx = MEM32(ebp + (-0x9C)); /* 0x250AAA95: mov edx, dword ptr [ebp - 0x9c] */ 32542 ebx = eax; /* 0x250AAA9B: mov ebx, eax */ 32543 eax = MEM32(ecx + ebx * 8 + 0x4); /* 0x250AAA9D: mov eax, dword ptr [ecx + ebx*8 + 4] */ 32544 eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(edx + 0x48)); /* 0x250AAAA1: imul eax, dword ptr [edx + 0x48] */ 32545 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + ebx * 8)); 32546 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32547 eax = eax + MEM32(ecx + ebx * 8); /* 0x250AAAA5: add eax, dword ptr [ecx + ebx*8] */ 32548 _flag_k = FK_ADD; 32549 ecx = eax * 8; /* 0x250AAAA8: lea ecx, [eax*8] */ 32550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 32551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32552 ecx = ecx - eax; /* 0x250AAAAF: sub ecx, eax */ 32553 _flag_k = FK_CMP; 32554 eax = ecx + ecx * 2; /* 0x250AAAB1: lea eax, [ecx + ecx*2] */ 32555 ecx = MEM32(edx + 0x50); /* 0x250AAAB4: mov ecx, dword ptr [edx + 0x50] */ 32556 ebx = ecx + eax * 4; /* 0x250AAAB7: lea ebx, [ecx + eax*4] */ 32557 PUSH32(esp, ebx); /* 0x250AAABA: push ebx */ 32558 ecx = edx; /* 0x250AAABB: mov ecx, edx */ 32559 RECOMP_ICALL(0x2504EB80u); /* 0x250AAABD: call 0x2504eb80 */ /* not lifted */ 32560 RECOMP_FLAGS_IN(); 32561 eax = MEM32(ebx + 0x50); /* 0x250AAAC2: mov eax, dword ptr [ebx + 0x50] */ 32562 /* test eax, eax */ /* 0x250AAAC5: test eax, eax */ 32563 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32564 _cf = 0; 32565 _flag_k = FK_TEST; 32566 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAAD1; /* 0x250AAAC7: je 0x250aaad1 */ 32567 L_250AAAC9: 32568 MEM32(ebp + (-0x88)) = eax; /* 0x250AAAC9: mov dword ptr [ebp - 0x88], eax */ 32569 goto L_250AAADA; /* 0x250AAACF: jmp 0x250aaada */ 32570 L_250AAAD1: 32571 edx = MEM32(ebx + 0x48); /* 0x250AAAD1: mov edx, dword ptr [ebx + 0x48] */ 32572 MEM32(ebp + (-0x88)) = edx; /* 0x250AAAD4: mov dword ptr [ebp - 0x88], edx */ 32573 L_250AAADA: 32574 eax = MEM32(ebp + (-0x9C)); /* 0x250AAADA: mov eax, dword ptr [ebp - 0x9c] */ 32575 ecx = MEM32(eax + 0x24); /* 0x250AAAE0: mov ecx, dword ptr [eax + 0x24] */ 32576 MEM32(ebp + (-0x10)) = ebx; /* 0x250AAAE3: mov dword ptr [ebp - 0x10], ebx */ 32577 MEM32(ebx + 0x40) = ecx; /* 0x250AAAE6: mov dword ptr [ebx + 0x40], ecx */ 32578 ecx = MEM32(ebp + (-0x10)); /* 0x250AAAE9: mov ecx, dword ptr [ebp - 0x10] */ 32579 eax = MEM32(ecx + 0x44); /* 0x250AAAEC: mov eax, dword ptr [ecx + 0x44] */ 32580 /* test eax, eax */ /* 0x250AAAEF: test eax, eax */ 32581 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32582 _cf = 0; 32583 _flag_k = FK_TEST; 32584 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AAB29; /* 0x250AAAF1: jne 0x250aab29 */ 32585 L_250AAAF3: 32586 ebx = MEM32(ebp + (-0x9C)); /* 0x250AAAF3: mov ebx, dword ptr [ebp - 0x9c] */ 32587 SET_LO8(eax, MEM8(ebx + 0x28)); /* 0x250AAAF9: mov al, byte ptr [ebx + 0x28] */ 32588 edx = MEM32(ebx + 0x88); /* 0x250AAAFC: mov edx, dword ptr [ebx + 0x88] */ 32589 PUSH32(esp, edx); /* 0x250AAB02: push edx */ 32590 PUSH32(esp, eax); /* 0x250AAB03: push eax */ 32591 RECOMP_ICALL(0x2504BA40u); /* 0x250AAB04: call 0x2504ba40 */ /* not lifted */ 32592 RECOMP_FLAGS_IN(); 32593 eax = MEM32(ebx + 0xC4); /* 0x250AAB09: mov eax, dword ptr [ebx + 0xc4] */ 32594 ecx = ebx + 0xBC; /* 0x250AAB0F: lea ecx, [ebx + 0xbc] */ 32595 edx = ebp + (-0x10); /* 0x250AAB15: lea edx, [ebp - 0x10] */ 32596 PUSH32(esp, edx); /* 0x250AAB18: push edx */ 32597 PUSH32(esp, eax); /* 0x250AAB19: push eax */ 32598 RECOMP_ICALL(0x2504AC20u); /* 0x250AAB1A: call 0x2504ac20 */ /* not lifted */ 32599 RECOMP_FLAGS_IN(); 32600 ecx = MEM32(ebp + (-0x10)); /* 0x250AAB1F: mov ecx, dword ptr [ebp - 0x10] */ 32601 eax = MEM32(ecx + 0x44); /* 0x250AAB22: mov eax, dword ptr [ecx + 0x44] */ 32602 /* test eax, eax */ /* 0x250AAB25: test eax, eax */ 32603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32604 _cf = 0; 32605 _flag_k = FK_TEST; 32606 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAB4B; /* 0x250AAB27: je 0x250aab4b */ 32607 L_250AAB29: 32608 edx = MEM32(ebp + (-0x94)); /* 0x250AAB29: mov edx, dword ptr [ebp - 0x94] */ 32609 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAB2F: push -1 */ 32610 ecx = edi + edx; /* 0x250AAB31: lea ecx, [edi + edx] */ 32611 edx = MEM32(ebp + (-0xA8)); /* 0x250AAB34: mov edx, dword ptr [ebp - 0xa8] */ 32612 PUSH32(esp, ecx); /* 0x250AAB3A: push ecx */ 32613 ecx = edi + edx; /* 0x250AAB3B: lea ecx, [edi + edx] */ 32614 edx = MEM32(ebp + 0x8); /* 0x250AAB3E: mov edx, dword ptr [ebp + 8] */ 32615 PUSH32(esp, ecx); /* 0x250AAB41: push ecx */ 32616 PUSH32(esp, eax); /* 0x250AAB42: push eax */ 32617 PUSH32(esp, edx); /* 0x250AAB43: push edx */ 32618 ecx = esi; /* 0x250AAB44: mov ecx, esi */ 32619 RECOMP_ICALL(0x250ABB20u); /* 0x250AAB46: call 0x250abb20 */ /* not lifted */ 32620 RECOMP_FLAGS_IN(); 32621 L_250AAB4B: 32622 eax = MEM32(ebp + (-0x94)); /* 0x250AAB4B: mov eax, dword ptr [ebp - 0x94] */ 32623 edx = MEM32(ebp + (-0xA8)); /* 0x250AAB51: mov edx, dword ptr [ebp - 0xa8] */ 32624 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAB57: push -1 */ 32625 ecx = edi + eax; /* 0x250AAB59: lea ecx, [edi + eax] */ 32626 PUSH32(esp, ecx); /* 0x250AAB5C: push ecx */ 32627 ecx = MEM32(ebp + (-0x88)); /* 0x250AAB5D: mov ecx, dword ptr [ebp - 0x88] */ 32628 eax = edi + edx; /* 0x250AAB63: lea eax, [edi + edx] */ 32629 edx = MEM32(ebp + 0x8); /* 0x250AAB66: mov edx, dword ptr [ebp + 8] */ 32630 PUSH32(esp, eax); /* 0x250AAB69: push eax */ 32631 PUSH32(esp, ecx); /* 0x250AAB6A: push ecx */ 32632 PUSH32(esp, edx); /* 0x250AAB6B: push edx */ 32633 ecx = esi; /* 0x250AAB6C: mov ecx, esi */ 32634 RECOMP_ICALL(0x250ABB20u); /* 0x250AAB6E: call 0x250abb20 */ /* not lifted */ 32635 RECOMP_FLAGS_IN(); 32636 _flag_a = (uint32_t)(MEM32(ebp + (-0x44))); _flag_b = (uint32_t)(1); 32637 MEM32(ebp + (-0x44)) = MEM32(ebp + (-0x44)) + 1; /* 0x250AAB73: inc dword ptr [ebp - 0x44] */ 32638 _flag_k = FK_INC; 32639 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 32640 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32641 edi = edi + 0x10u; /* 0x250AAB76: add edi, 0x10 */ 32642 _flag_k = FK_ADD; 32643 RECOMP_BACKEDGE(); 32644 goto L_250AAA6B; /* 0x250AAB79: jmp 0x250aaa6b */ 32645 L_250AAB7E: 32646 SET_LO8(eax, MEM8(ebp + (-0x38))); /* 0x250AAB7E: mov al, byte ptr [ebp - 0x38] */ 32647 /* test LO8(eax), LO8(eax) */ /* 0x250AAB81: test al, al */ 32648 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32649 _cf = 0; 32650 _flag_k = FK_NARROW(FK_TEST, 24); 32651 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x250AAB83: mov byte ptr [ebp - 4], 0x19 */ 32652 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABA1; /* 0x250AAB87: je 0x250aaba1 */ 32653 L_250AAB89: 32654 edx = MEM32(ebp + (-0x14)); /* 0x250AAB89: mov edx, dword ptr [ebp - 0x14] */ 32655 eax = MEM32(0x25238B94); /* 0x250AAB8C: mov eax, dword ptr [0x25238b94] */ 32656 ecx = MEM32(eax + 0x894); /* 0x250AAB91: mov ecx, dword ptr [eax + 0x894] */ 32657 PUSH32(esp, 2); /* 0x250AAB97: push 2 */ 32658 PUSH32(esp, edx); /* 0x250AAB99: push edx */ 32659 PUSH32(esp, 0x1Bu); /* 0x250AAB9A: push 0x1b */ 32660 RECOMP_ICALL(0x250EFE90u); /* 0x250AAB9C: call 0x250efe90 */ /* not lifted */ 32661 RECOMP_FLAGS_IN(); 32662 L_250AABA1: 32663 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AABA1: mov al, byte ptr [ebp - 0x64] */ 32664 /* test LO8(eax), LO8(eax) */ /* 0x250AABA4: test al, al */ 32665 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32666 _cf = 0; 32667 _flag_k = FK_NARROW(FK_TEST, 24); 32668 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x250AABA6: mov byte ptr [ebp - 4], 0x18 */ 32669 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABC4; /* 0x250AABAA: je 0x250aabc4 */ 32670 L_250AABAC: 32671 edx = MEM32(ebp + (-0x2C)); /* 0x250AABAC: mov edx, dword ptr [ebp - 0x2c] */ 32672 eax = MEM32(0x25238B94); /* 0x250AABAF: mov eax, dword ptr [0x25238b94] */ 32673 ecx = MEM32(eax + 0x894); /* 0x250AABB4: mov ecx, dword ptr [eax + 0x894] */ 32674 PUSH32(esp, 2); /* 0x250AABBA: push 2 */ 32675 PUSH32(esp, edx); /* 0x250AABBC: push edx */ 32676 PUSH32(esp, 0x14u); /* 0x250AABBD: push 0x14 */ 32677 RECOMP_ICALL(0x250EFE90u); /* 0x250AABBF: call 0x250efe90 */ /* not lifted */ 32678 RECOMP_FLAGS_IN(); 32679 L_250AABC4: 32680 SET_LO8(eax, MEM8(ebp + (-0xC0))); /* 0x250AABC4: mov al, byte ptr [ebp - 0xc0] */ 32681 /* test LO8(eax), LO8(eax) */ /* 0x250AABCA: test al, al */ 32682 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32683 _cf = 0; 32684 _flag_k = FK_NARROW(FK_TEST, 24); 32685 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AABCC: mov byte ptr [ebp - 4], 0xe */ 32686 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABEA; /* 0x250AABD0: je 0x250aabea */ 32687 L_250AABD2: 32688 edx = MEM32(ebp + (-0x34)); /* 0x250AABD2: mov edx, dword ptr [ebp - 0x34] */ 32689 eax = MEM32(0x25238B94); /* 0x250AABD5: mov eax, dword ptr [0x25238b94] */ 32690 ecx = MEM32(eax + 0x894); /* 0x250AABDA: mov ecx, dword ptr [eax + 0x894] */ 32691 PUSH32(esp, 2); /* 0x250AABE0: push 2 */ 32692 PUSH32(esp, edx); /* 0x250AABE2: push edx */ 32693 PUSH32(esp, 0x13u); /* 0x250AABE3: push 0x13 */ 32694 RECOMP_ICALL(0x250EFE90u); /* 0x250AABE5: call 0x250efe90 */ /* not lifted */ 32695 RECOMP_FLAGS_IN(); 32696 L_250AABEA: 32697 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250AABEA: mov al, byte ptr [esi + 0x67] */ 32698 /* test LO8(eax), LO8(eax) */ /* 0x250AABED: test al, al */ 32699 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32700 _cf = 0; 32701 _flag_k = FK_NARROW(FK_TEST, 24); 32702 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AABEF: je 0x250ab084 */ 32703 L_250AABF5: 32704 eax = MEM32(esi + 0x7C); /* 0x250AABF5: mov eax, dword ptr [esi + 0x7c] */ 32705 /* test eax, eax */ /* 0x250AABF8: test eax, eax */ 32706 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32707 _cf = 0; 32708 _flag_k = FK_TEST; 32709 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AABFA: je 0x250ab084 */ 32710 L_250AAC00: 32711 eax = MEM32(0x25238B94); /* 0x250AAC00: mov eax, dword ptr [0x25238b94] */ 32712 ecx = MEM32(eax + 0x894); /* 0x250AAC05: mov ecx, dword ptr [eax + 0x894] */ 32713 eax = MEM32(ecx + 0x538); /* 0x250AAC0B: mov eax, dword ptr [ecx + 0x538] */ 32714 PUSH32(esp, 0xAu); /* 0x250AAC11: push 0xa */ 32715 PUSH32(esp, 1); /* 0x250AAC13: push 1 */ 32716 PUSH32(esp, 0x1Bu); /* 0x250AAC15: push 0x1b */ 32717 MEM32(ebp + (-0x10C)) = 0x1Bu; /* 0x250AAC17: mov dword ptr [ebp - 0x10c], 0x1b */ 32718 MEM32(ebp + (-0x14)) = eax; /* 0x250AAC21: mov dword ptr [ebp - 0x14], eax */ 32719 MEM32(ebp + (-0x108)) = eax; /* 0x250AAC24: mov dword ptr [ebp - 0x108], eax */ 32720 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC2A: call 0x250efe90 */ /* not lifted */ 32721 RECOMP_FLAGS_IN(); 32722 MEM8(ebp + (-0x104)) = (uint8_t)(LO8(eax)); /* 0x250AAC2F: mov byte ptr [ebp - 0x104], al */ 32723 ecx = MEM32(0x25238B94); /* 0x250AAC35: mov ecx, dword ptr [0x25238b94] */ 32724 ecx = MEM32(ecx + 0x894); /* 0x250AAC3B: mov ecx, dword ptr [ecx + 0x894] */ 32725 ebx = MEM32(ecx + 0x518); /* 0x250AAC41: mov ebx, dword ptr [ecx + 0x518] */ 32726 PUSH32(esp, 0xAu); /* 0x250AAC47: push 0xa */ 32727 PUSH32(esp, 5); /* 0x250AAC49: push 5 */ 32728 PUSH32(esp, 0x13u); /* 0x250AAC4B: push 0x13 */ 32729 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x250AAC4D: mov byte ptr [ebp - 4], 0x1b */ 32730 MEM32(ebp + (-0xC8)) = 0x13u; /* 0x250AAC51: mov dword ptr [ebp - 0xc8], 0x13 */ 32731 MEM32(ebp + (-0xC4)) = ebx; /* 0x250AAC5B: mov dword ptr [ebp - 0xc4], ebx */ 32732 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC61: call 0x250efe90 */ /* not lifted */ 32733 RECOMP_FLAGS_IN(); 32734 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(eax)); /* 0x250AAC66: mov byte ptr [ebp - 0xc0], al */ 32735 edx = MEM32(0x25238B94); /* 0x250AAC6C: mov edx, dword ptr [0x25238b94] */ 32736 ecx = MEM32(edx + 0x894); /* 0x250AAC72: mov ecx, dword ptr [edx + 0x894] */ 32737 edi = MEM32(ecx + 0x51C); /* 0x250AAC78: mov edi, dword ptr [ecx + 0x51c] */ 32738 PUSH32(esp, 0xAu); /* 0x250AAC7E: push 0xa */ 32739 PUSH32(esp, 6); /* 0x250AAC80: push 6 */ 32740 PUSH32(esp, 0x14u); /* 0x250AAC82: push 0x14 */ 32741 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x250AAC84: mov byte ptr [ebp - 4], 0x1c */ 32742 MEM32(ebp + (-0x6C)) = 0x14u; /* 0x250AAC88: mov dword ptr [ebp - 0x6c], 0x14 */ 32743 MEM32(ebp + (-0x68)) = edi; /* 0x250AAC8F: mov dword ptr [ebp - 0x68], edi */ 32744 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC92: call 0x250efe90 */ /* not lifted */ 32745 RECOMP_FLAGS_IN(); 32746 MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x250AAC97: mov byte ptr [ebp - 0x64], al */ 32747 fp_push(*(float*)&MEM32(esi + 0x48)); /* 0x250AAC9A: fld dword ptr [esi + 0x48] */ 32748 _st[0] -= (double)*(float*)ADDR(esi + 0x40); /* 0x250AAC9D: fsub dword ptr [esi + 0x40] */ 32749 eax = MEM32(ebp + (-0x84)); /* 0x250AACA0: mov eax, dword ptr [ebp - 0x84] */ 32750 ecx = MEM32(ebp + (-0x28)); /* 0x250AACA6: mov ecx, dword ptr [ebp - 0x28] */ 32751 MEM32(ebp + (-0x7C)) = eax; /* 0x250AACA9: mov dword ptr [ebp - 0x7c], eax */ 32752 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AACAC: fmul dword ptr [0x25152160] */ 32753 MEM32(ebp + (-0x78)) = ecx; /* 0x250AACB2: mov dword ptr [ebp - 0x78], ecx */ 32754 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250AACB5: fadd dword ptr [ebp - 0x28] */ 32755 fp_push(*(float*)&MEM32(esi + 0x44)); /* 0x250AACB8: fld dword ptr [esi + 0x44] */ 32756 _st[0] -= (double)*(float*)ADDR(esi + 0x3C); /* 0x250AACBB: fsub dword ptr [esi + 0x3c] */ 32757 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AACBE: fmul dword ptr [0x25152160] */ 32758 _st[0] += (double)*(float*)ADDR(ebp + (-0x84)); /* 0x250AACC4: fadd dword ptr [ebp - 0x84] */ 32759 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x250AACCA: fstp dword ptr [ebp - 0x74] */ 32760 fp_push(*(float*)&MEM32(esi + 0x58)); /* 0x250AACCD: fld dword ptr [esi + 0x58] */ 32761 edx = MEM32(ebp + (-0x80)); /* 0x250AACD0: mov edx, dword ptr [ebp - 0x80] */ 32762 _st[0] -= (double)*(float*)ADDR(esi + 0x50); /* 0x250AACD3: fsub dword ptr [esi + 0x50] */ 32763 eax = MEM32(ebp + (-0x30)); /* 0x250AACD6: mov eax, dword ptr [ebp - 0x30] */ 32764 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AACD9: fld dword ptr [esi + 0x60] */ 32765 ecx = ebp + (-0x40); /* 0x250AACDC: lea ecx, [ebp - 0x40] */ 32766 _st[0] *= (double)*(float*)ADDR(0x25156408); /* 0x250AACDF: fmul dword ptr [0x25156408] */ 32767 MEM32(ebp + (-0x40)) = edx; /* 0x250AACE5: mov dword ptr [ebp - 0x40], edx */ 32768 PUSH32(esp, ecx); /* 0x250AACE8: push ecx */ 32769 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250AACE9: fdivp st(1) */ 32770 edx = ebp + (-0x158); /* 0x250AACEB: lea edx, [ebp - 0x158] */ 32771 PUSH32(esp, edx); /* 0x250AACF1: push edx */ 32772 ecx = ebp + (-0x24); /* 0x250AACF2: lea ecx, [ebp - 0x24] */ 32773 MEM32(ebp + (-0x3C)) = eax; /* 0x250AACF5: mov dword ptr [ebp - 0x3c], eax */ 32774 MEM32(ebp + (-0x38)) = 0; /* 0x250AACF8: mov dword ptr [ebp - 0x38], 0 */ 32775 _st[0] += _st[1]; /* 0x250AACFF: fadd st(1) */ 32776 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AAD01: fstp dword ptr [ebp - 0x70] */ 32777 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AAD04: fstp st(0) */ 32778 RECOMP_ICALL(0x250A8070u); /* 0x250AAD06: call 0x250a8070 */ /* not lifted */ 32779 RECOMP_FLAGS_IN(); 32780 ecx = MEM32(esi + 0x7C); /* 0x250AAD0B: mov ecx, dword ptr [esi + 0x7c] */ 32781 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAD0E: push -1 */ 32782 PUSH32(esp, eax); /* 0x250AAD10: push eax */ 32783 eax = ebp + (-0x7C); /* 0x250AAD11: lea eax, [ebp - 0x7c] */ 32784 PUSH32(esp, eax); /* 0x250AAD14: push eax */ 32785 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x250AAD15: mov byte ptr [ebp - 4], 0x1f */ 32786 PUSH32(esp, ecx); /* 0x250AAD19: push ecx */ 32787 edx = MEM32(ebp + 0x8); /* 0x250AAD1A: mov edx, dword ptr [ebp + 8] */ 32788 PUSH32(esp, edx); /* 0x250AAD1D: push edx */ 32789 ecx = esi; /* 0x250AAD1E: mov ecx, esi */ 32790 RECOMP_ICALL(0x250ABB20u); /* 0x250AAD20: call 0x250abb20 */ /* not lifted */ 32791 RECOMP_FLAGS_IN(); 32792 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AAD25: mov al, byte ptr [ebp - 0x64] */ 32793 /* test LO8(eax), LO8(eax) */ /* 0x250AAD28: test al, al */ 32794 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32795 _cf = 0; 32796 _flag_k = FK_NARROW(FK_TEST, 24); 32797 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x250AAD2A: mov byte ptr [ebp - 4], 0x1c */ 32798 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAD45; /* 0x250AAD2E: je 0x250aad45 */ 32799 L_250AAD30: 32800 eax = MEM32(0x25238B94); /* 0x250AAD30: mov eax, dword ptr [0x25238b94] */ 32801 ecx = MEM32(eax + 0x894); /* 0x250AAD35: mov ecx, dword ptr [eax + 0x894] */ 32802 PUSH32(esp, 2); /* 0x250AAD3B: push 2 */ 32803 PUSH32(esp, edi); /* 0x250AAD3D: push edi */ 32804 PUSH32(esp, 0x14u); /* 0x250AAD3E: push 0x14 */ 32805 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD40: call 0x250efe90 */ /* not lifted */ 32806 RECOMP_FLAGS_IN(); 32807 L_250AAD45: 32808 SET_LO8(eax, MEM8(ebp + (-0xC0))); /* 0x250AAD45: mov al, byte ptr [ebp - 0xc0] */ 32809 /* test LO8(eax), LO8(eax) */ /* 0x250AAD4B: test al, al */ 32810 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32811 _cf = 0; 32812 _flag_k = FK_NARROW(FK_TEST, 24); 32813 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x250AAD4D: mov byte ptr [ebp - 4], 0x1b */ 32814 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAD69; /* 0x250AAD51: je 0x250aad69 */ 32815 L_250AAD53: 32816 ecx = MEM32(0x25238B94); /* 0x250AAD53: mov ecx, dword ptr [0x25238b94] */ 32817 ecx = MEM32(ecx + 0x894); /* 0x250AAD59: mov ecx, dword ptr [ecx + 0x894] */ 32818 PUSH32(esp, 2); /* 0x250AAD5F: push 2 */ 32819 PUSH32(esp, ebx); /* 0x250AAD61: push ebx */ 32820 PUSH32(esp, 0x13u); /* 0x250AAD62: push 0x13 */ 32821 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD64: call 0x250efe90 */ /* not lifted */ 32822 RECOMP_FLAGS_IN(); 32823 L_250AAD69: 32824 SET_LO8(eax, MEM8(ebp + (-0x104))); /* 0x250AAD69: mov al, byte ptr [ebp - 0x104] */ 32825 /* test LO8(eax), LO8(eax) */ /* 0x250AAD6F: test al, al */ 32826 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32827 _cf = 0; 32828 _flag_k = FK_NARROW(FK_TEST, 24); 32829 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AAD71: mov byte ptr [ebp - 4], 0xe */ 32830 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AAD75: je 0x250ab084 */ 32831 L_250AAD7B: 32832 eax = MEM32(ebp + (-0x14)); /* 0x250AAD7B: mov eax, dword ptr [ebp - 0x14] */ 32833 edx = MEM32(0x25238B94); /* 0x250AAD7E: mov edx, dword ptr [0x25238b94] */ 32834 ecx = MEM32(edx + 0x894); /* 0x250AAD84: mov ecx, dword ptr [edx + 0x894] */ 32835 PUSH32(esp, 2); /* 0x250AAD8A: push 2 */ 32836 PUSH32(esp, eax); /* 0x250AAD8C: push eax */ 32837 PUSH32(esp, 0x1Bu); /* 0x250AAD8D: push 0x1b */ 32838 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD8F: call 0x250efe90 */ /* not lifted */ 32839 RECOMP_FLAGS_IN(); 32840 goto L_250AB084; /* 0x250AAD94: jmp 0x250ab084 */ 32841 L_250AAD99: 32842 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250AAD99: fld dword ptr [ebp - 0x1c] */ 32843 _st[0] -= (double)*(float*)ADDR(ebp + (-0x24)); /* 0x250AAD9C: fsub dword ptr [ebp - 0x24] */ 32844 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AAD9F: fmul dword ptr [0x25152160] */ 32845 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AADA5: fstp dword ptr [ebp - 0x2c] */ 32846 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250AADA8: fld dword ptr [ebp - 0x18] */ 32847 _st[0] -= (double)*(float*)ADDR(ebp + (-0x20)); /* 0x250AADAB: fsub dword ptr [ebp - 0x20] */ 32848 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AADAE: fmul dword ptr [0x25152160] */ 32849 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AADB4: fld dword ptr [esi + 0x5c] */ 32850 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AADB7: fmul dword ptr [0x25152160] */ 32851 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AADBD: fstp dword ptr [ebp - 0x14] */ 32852 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AADC0: fld dword ptr [esi + 0x60] */ 32853 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AADC3: fmul dword ptr [0x25152160] */ 32854 _st[0] *= (double)*(float*)ADDR(esi + 0x40); /* 0x250AADC9: fmul dword ptr [esi + 0x40] */ 32855 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AADCC: fstp dword ptr [ebp - 0x10] */ 32856 _st[0] -= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x250AADCF: fsub dword ptr [ebp - 0x10] */ 32857 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250AADD2: fld dword ptr [ebp - 0x14] */ 32858 _st[0] *= (double)*(float*)ADDR(esi + 0x3C); /* 0x250AADD5: fmul dword ptr [esi + 0x3c] */ 32859 fp_push(_st[0]); /* 0x250AADD8: fld st(0) */ 32860 _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250AADDA: fadd dword ptr [ebp - 0x2c] */ 32861 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AADDD: fstp dword ptr [ebp - 0x2c] */ 32862 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250AADE0: fld dword ptr [ebp - 0x10] */ 32863 edx = MEM32(ebp + (-0x2C)); /* 0x250AADE3: mov edx, dword ptr [ebp - 0x2c] */ 32864 _st[0] = -_st[0]; /* 0x250AADE6: fchs */ 32865 MEM32(ebp + (-0x74)) = edx; /* 0x250AADE8: mov dword ptr [ebp - 0x74], edx */ 32866 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AADEB: fstp dword ptr [ebp - 0x14] */ 32867 ecx = MEM32(ebp + (-0x14)); /* 0x250AADEE: mov ecx, dword ptr [ebp - 0x14] */ 32868 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AADF1: fstp dword ptr [ebp - 0x7c] */ 32869 MEM32(ebp + (-0x78)) = ecx; /* 0x250AADF4: mov dword ptr [ebp - 0x78], ecx */ 32870 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AADF7: fstp dword ptr [ebp - 0x70] */ 32871 eax = MEM32(0x25238B94); /* 0x250AADFA: mov eax, dword ptr [0x25238b94] */ 32872 ecx = MEM32(eax + 0x894); /* 0x250AADFF: mov ecx, dword ptr [eax + 0x894] */ 32873 eax = MEM32(ecx + 0xDB8); /* 0x250AAE05: mov eax, dword ptr [ecx + 0xdb8] */ 32874 PUSH32(esp, 0xAu); /* 0x250AAE0B: push 0xa */ 32875 PUSH32(esp, 1); /* 0x250AAE0D: push 1 */ 32876 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32877 edi = 0; /* 0x250AAE0F: xor edi, edi */ 32878 _cf = 0; 32879 _flag_k = FK_TEST; 32880 PUSH32(esp, 0xCu); /* 0x250AAE11: push 0xc */ 32881 PUSH32(esp, edi); /* 0x250AAE13: push edi */ 32882 MEM8(ebp + (-0x4)) = (uint8_t)(0x20u); /* 0x250AAE14: mov byte ptr [ebp - 4], 0x20 */ 32883 MEM32(ebp + (-0x128)) = edi; /* 0x250AAE18: mov dword ptr [ebp - 0x128], edi */ 32884 MEM32(ebp + (-0x124)) = 0xCu; /* 0x250AAE1E: mov dword ptr [ebp - 0x124], 0xc */ 32885 MEM32(ebp + (-0x28)) = eax; /* 0x250AAE28: mov dword ptr [ebp - 0x28], eax */ 32886 MEM32(ebp + (-0x120)) = eax; /* 0x250AAE2B: mov dword ptr [ebp - 0x120], eax */ 32887 RECOMP_ICALL(0x250EFF00u); /* 0x250AAE31: call 0x250eff00 */ /* not lifted */ 32888 RECOMP_FLAGS_IN(); 32889 MEM8(ebp + (-0x11C)) = (uint8_t)(LO8(eax)); /* 0x250AAE36: mov byte ptr [ebp - 0x11c], al */ 32890 ecx = MEM32(0x25238B94); /* 0x250AAE3C: mov ecx, dword ptr [0x25238b94] */ 32891 ecx = MEM32(ecx + 0x894); /* 0x250AAE42: mov ecx, dword ptr [ecx + 0x894] */ 32892 eax = MEM32(ecx + 0x538); /* 0x250AAE48: mov eax, dword ptr [ecx + 0x538] */ 32893 PUSH32(esp, 0xAu); /* 0x250AAE4E: push 0xa */ 32894 PUSH32(esp, 1); /* 0x250AAE50: push 1 */ 32895 PUSH32(esp, 0x1Bu); /* 0x250AAE52: push 0x1b */ 32896 MEM8(ebp + (-0x4)) = (uint8_t)(0x21u); /* 0x250AAE54: mov byte ptr [ebp - 4], 0x21 */ 32897 MEM32(ebp + (-0x10C)) = 0x1Bu; /* 0x250AAE58: mov dword ptr [ebp - 0x10c], 0x1b */ 32898 MEM32(ebp + (-0x10)) = eax; /* 0x250AAE62: mov dword ptr [ebp - 0x10], eax */ 32899 MEM32(ebp + (-0x108)) = eax; /* 0x250AAE65: mov dword ptr [ebp - 0x108], eax */ 32900 RECOMP_ICALL(0x250EFE90u); /* 0x250AAE6B: call 0x250efe90 */ /* not lifted */ 32901 RECOMP_FLAGS_IN(); 32902 MEM8(ebp + (-0x104)) = (uint8_t)(LO8(eax)); /* 0x250AAE70: mov byte ptr [ebp - 0x104], al */ 32903 edx = MEM32(0x25238B94); /* 0x250AAE76: mov edx, dword ptr [0x25238b94] */ 32904 ecx = MEM32(edx + 0x894); /* 0x250AAE7C: mov ecx, dword ptr [edx + 0x894] */ 32905 eax = MEM32(ecx + 0x518); /* 0x250AAE82: mov eax, dword ptr [ecx + 0x518] */ 32906 PUSH32(esp, 0xAu); /* 0x250AAE88: push 0xa */ 32907 PUSH32(esp, 2); /* 0x250AAE8A: push 2 */ 32908 PUSH32(esp, 0x13u); /* 0x250AAE8C: push 0x13 */ 32909 MEM8(ebp + (-0x4)) = (uint8_t)(0x22u); /* 0x250AAE8E: mov byte ptr [ebp - 4], 0x22 */ 32910 MEM32(ebp + (-0xC8)) = 0x13u; /* 0x250AAE92: mov dword ptr [ebp - 0xc8], 0x13 */ 32911 MEM32(ebp + (-0x2C)) = eax; /* 0x250AAE9C: mov dword ptr [ebp - 0x2c], eax */ 32912 MEM32(ebp + (-0xC4)) = eax; /* 0x250AAE9F: mov dword ptr [ebp - 0xc4], eax */ 32913 RECOMP_ICALL(0x250EFE90u); /* 0x250AAEA5: call 0x250efe90 */ /* not lifted */ 32914 RECOMP_FLAGS_IN(); 32915 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(eax)); /* 0x250AAEAA: mov byte ptr [ebp - 0xc0], al */ 32916 eax = MEM32(0x25238B94); /* 0x250AAEB0: mov eax, dword ptr [0x25238b94] */ 32917 ecx = MEM32(eax + 0x894); /* 0x250AAEB5: mov ecx, dword ptr [eax + 0x894] */ 32918 eax = MEM32(ecx + 0x51C); /* 0x250AAEBB: mov eax, dword ptr [ecx + 0x51c] */ 32919 MEM8(ebp + (-0x4)) = (uint8_t)(0x23u); /* 0x250AAEC1: mov byte ptr [ebp - 4], 0x23 */ 32920 MEM32(ebp + (-0x6C)) = 0x14u; /* 0x250AAEC5: mov dword ptr [ebp - 0x6c], 0x14 */ 32921 MEM32(ebp + (-0x14)) = eax; /* 0x250AAECC: mov dword ptr [ebp - 0x14], eax */ 32922 MEM32(ebp + (-0x68)) = eax; /* 0x250AAECF: mov dword ptr [ebp - 0x68], eax */ 32923 PUSH32(esp, 0xAu); /* 0x250AAED2: push 0xa */ 32924 PUSH32(esp, 6); /* 0x250AAED4: push 6 */ 32925 PUSH32(esp, 0x14u); /* 0x250AAED6: push 0x14 */ 32926 RECOMP_ICALL(0x250EFE90u); /* 0x250AAED8: call 0x250efe90 */ /* not lifted */ 32927 RECOMP_FLAGS_IN(); 32928 MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x250AAEDD: mov byte ptr [ebp - 0x64], al */ 32929 ecx = MEM32(0x25238B94); /* 0x250AAEE0: mov ecx, dword ptr [0x25238b94] */ 32930 ecx = MEM32(ecx + 0x894); /* 0x250AAEE6: mov ecx, dword ptr [ecx + 0x894] */ 32931 ebx = MEM32(ecx + 0xD98); /* 0x250AAEEC: mov ebx, dword ptr [ecx + 0xd98] */ 32932 PUSH32(esp, 0xAu); /* 0x250AAEF2: push 0xa */ 32933 PUSH32(esp, 2); /* 0x250AAEF4: push 2 */ 32934 PUSH32(esp, 4); /* 0x250AAEF6: push 4 */ 32935 PUSH32(esp, edi); /* 0x250AAEF8: push edi */ 32936 MEM8(ebp + (-0x4)) = (uint8_t)(0x24u); /* 0x250AAEF9: mov byte ptr [ebp - 4], 0x24 */ 32937 MEM32(ebp + (-0x100)) = edi; /* 0x250AAEFD: mov dword ptr [ebp - 0x100], edi */ 32938 MEM32(ebp + (-0xFC)) = 4; /* 0x250AAF03: mov dword ptr [ebp - 0xfc], 4 */ 32939 MEM32(ebp + (-0xF8)) = ebx; /* 0x250AAF0D: mov dword ptr [ebp - 0xf8], ebx */ 32940 RECOMP_ICALL(0x250EFF00u); /* 0x250AAF13: call 0x250eff00 */ /* not lifted */ 32941 RECOMP_FLAGS_IN(); 32942 MEM8(ebp + (-0xF4)) = (uint8_t)(LO8(eax)); /* 0x250AAF18: mov byte ptr [ebp - 0xf4], al */ 32943 edx = MEM32(0x25238B94); /* 0x250AAF1E: mov edx, dword ptr [0x25238b94] */ 32944 ecx = MEM32(edx + 0x894); /* 0x250AAF24: mov ecx, dword ptr [edx + 0x894] */ 32945 PUSH32(esp, 0xAu); /* 0x250AAF2A: push 0xa */ 32946 PUSH32(esp, 2); /* 0x250AAF2C: push 2 */ 32947 PUSH32(esp, 5); /* 0x250AAF2E: push 5 */ 32948 MEM32(ebp + (-0xE0)) = edi; /* 0x250AAF30: mov dword ptr [ebp - 0xe0], edi */ 32949 edi = MEM32(ecx + 0xD9C); /* 0x250AAF36: mov edi, dword ptr [ecx + 0xd9c] */ 32950 PUSH32(esp, 0); /* 0x250AAF3C: push 0 */ 32951 MEM8(ebp + (-0x4)) = (uint8_t)(0x25u); /* 0x250AAF3E: mov byte ptr [ebp - 4], 0x25 */ 32952 MEM32(ebp + (-0xDC)) = 5; /* 0x250AAF42: mov dword ptr [ebp - 0xdc], 5 */ 32953 MEM32(ebp + (-0xD8)) = edi; /* 0x250AAF4C: mov dword ptr [ebp - 0xd8], edi */ 32954 RECOMP_ICALL(0x250EFF00u); /* 0x250AAF52: call 0x250eff00 */ /* not lifted */ 32955 RECOMP_FLAGS_IN(); 32956 MEM8(ebp + (-0xD4)) = (uint8_t)(LO8(eax)); /* 0x250AAF57: mov byte ptr [ebp - 0xd4], al */ 32957 eax = MEM32(ebp + (-0x80)); /* 0x250AAF5D: mov eax, dword ptr [ebp - 0x80] */ 32958 ecx = MEM32(ebp + (-0x30)); /* 0x250AAF60: mov ecx, dword ptr [ebp - 0x30] */ 32959 edx = ebp + (-0x40); /* 0x250AAF63: lea edx, [ebp - 0x40] */ 32960 MEM32(ebp + (-0x40)) = eax; /* 0x250AAF66: mov dword ptr [ebp - 0x40], eax */ 32961 PUSH32(esp, edx); /* 0x250AAF69: push edx */ 32962 eax = ebp + (-0x158); /* 0x250AAF6A: lea eax, [ebp - 0x158] */ 32963 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AAF70: mov dword ptr [ebp - 0x3c], ecx */ 32964 PUSH32(esp, eax); /* 0x250AAF73: push eax */ 32965 ecx = ebp + (-0x24); /* 0x250AAF74: lea ecx, [ebp - 0x24] */ 32966 MEM32(ebp + (-0x38)) = 0; /* 0x250AAF77: mov dword ptr [ebp - 0x38], 0 */ 32967 RECOMP_ICALL(0x250A8070u); /* 0x250AAF7E: call 0x250a8070 */ /* not lifted */ 32968 RECOMP_FLAGS_IN(); 32969 edx = MEM32(esi + 0x78); /* 0x250AAF83: mov edx, dword ptr [esi + 0x78] */ 32970 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAF86: push -1 */ 32971 PUSH32(esp, eax); /* 0x250AAF88: push eax */ 32972 eax = MEM32(ebp + 0x8); /* 0x250AAF89: mov eax, dword ptr [ebp + 8] */ 32973 ecx = ebp + (-0x7C); /* 0x250AAF8C: lea ecx, [ebp - 0x7c] */ 32974 PUSH32(esp, ecx); /* 0x250AAF8F: push ecx */ 32975 PUSH32(esp, edx); /* 0x250AAF90: push edx */ 32976 PUSH32(esp, eax); /* 0x250AAF91: push eax */ 32977 ecx = esi; /* 0x250AAF92: mov ecx, esi */ 32978 MEM8(ebp + (-0x4)) = (uint8_t)(0x27u); /* 0x250AAF94: mov byte ptr [ebp - 4], 0x27 */ 32979 RECOMP_ICALL(0x250ABB20u); /* 0x250AAF98: call 0x250abb20 */ /* not lifted */ 32980 RECOMP_FLAGS_IN(); 32981 SET_LO8(eax, MEM8(ebp + (-0xD4))); /* 0x250AAF9D: mov al, byte ptr [ebp - 0xd4] */ 32982 /* test LO8(eax), LO8(eax) */ /* 0x250AAFA3: test al, al */ 32983 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32984 _cf = 0; 32985 _flag_k = FK_NARROW(FK_TEST, 24); 32986 MEM8(ebp + (-0x4)) = (uint8_t)(0x25u); /* 0x250AAFA5: mov byte ptr [ebp - 4], 0x25 */ 32987 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAFC3; /* 0x250AAFA9: je 0x250aafc3 */ 32988 L_250AAFAB: 32989 ecx = MEM32(0x25238B94); /* 0x250AAFAB: mov ecx, dword ptr [0x25238b94] */ 32990 ecx = MEM32(ecx + 0x894); /* 0x250AAFB1: mov ecx, dword ptr [ecx + 0x894] */ 32991 PUSH32(esp, 2); /* 0x250AAFB7: push 2 */ 32992 PUSH32(esp, edi); /* 0x250AAFB9: push edi */ 32993 PUSH32(esp, 5); /* 0x250AAFBA: push 5 */ 32994 PUSH32(esp, 0); /* 0x250AAFBC: push 0 */ 32995 RECOMP_ICALL(0x250EFF00u); /* 0x250AAFBE: call 0x250eff00 */ /* not lifted */ 32996 RECOMP_FLAGS_IN(); 32997 L_250AAFC3: 32998 SET_LO8(eax, MEM8(ebp + (-0xF4))); /* 0x250AAFC3: mov al, byte ptr [ebp - 0xf4] */ 32999 /* test LO8(eax), LO8(eax) */ /* 0x250AAFC9: test al, al */ 33000 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33001 _cf = 0; 33002 _flag_k = FK_NARROW(FK_TEST, 24); 33003 MEM8(ebp + (-0x4)) = (uint8_t)(0x24u); /* 0x250AAFCB: mov byte ptr [ebp - 4], 0x24 */ 33004 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAFE9; /* 0x250AAFCF: je 0x250aafe9 */ 33005 L_250AAFD1: 33006 edx = MEM32(0x25238B94); /* 0x250AAFD1: mov edx, dword ptr [0x25238b94] */ 33007 ecx = MEM32(edx + 0x894); /* 0x250AAFD7: mov ecx, dword ptr [edx + 0x894] */ 33008 PUSH32(esp, 2); /* 0x250AAFDD: push 2 */ 33009 PUSH32(esp, ebx); /* 0x250AAFDF: push ebx */ 33010 PUSH32(esp, 4); /* 0x250AAFE0: push 4 */ 33011 PUSH32(esp, 0); /* 0x250AAFE2: push 0 */ 33012 RECOMP_ICALL(0x250EFF00u); /* 0x250AAFE4: call 0x250eff00 */ /* not lifted */ 33013 RECOMP_FLAGS_IN(); 33014 L_250AAFE9: 33015 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AAFE9: mov al, byte ptr [ebp - 0x64] */ 33016 /* test LO8(eax), LO8(eax) */ /* 0x250AAFEC: test al, al */ 33017 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33018 _cf = 0; 33019 _flag_k = FK_NARROW(FK_TEST, 24); 33020 MEM8(ebp + (-0x4)) = (uint8_t)(0x23u); /* 0x250AAFEE: mov byte ptr [ebp - 4], 0x23 */ 33021 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB00C; /* 0x250AAFF2: je 0x250ab00c */ 33022 L_250AAFF4: 33023 edx = MEM32(ebp + (-0x14)); /* 0x250AAFF4: mov edx, dword ptr [ebp - 0x14] */ 33024 eax = MEM32(0x25238B94); /* 0x250AAFF7: mov eax, dword ptr [0x25238b94] */ 33025 ecx = MEM32(eax + 0x894); /* 0x250AAFFC: mov ecx, dword ptr [eax + 0x894] */ 33026 PUSH32(esp, 2); /* 0x250AB002: push 2 */ 33027 PUSH32(esp, edx); /* 0x250AB004: push edx */ 33028 PUSH32(esp, 0x14u); /* 0x250AB005: push 0x14 */ 33029 RECOMP_ICALL(0x250EFE90u); /* 0x250AB007: call 0x250efe90 */ /* not lifted */ 33030 RECOMP_FLAGS_IN(); 33031 L_250AB00C: 33032 SET_LO8(eax, MEM8(ebp + (-0xC0))); /* 0x250AB00C: mov al, byte ptr [ebp - 0xc0] */ 33033 /* test LO8(eax), LO8(eax) */ /* 0x250AB012: test al, al */ 33034 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33035 _cf = 0; 33036 _flag_k = FK_NARROW(FK_TEST, 24); 33037 MEM8(ebp + (-0x4)) = (uint8_t)(0x22u); /* 0x250AB014: mov byte ptr [ebp - 4], 0x22 */ 33038 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB032; /* 0x250AB018: je 0x250ab032 */ 33039 L_250AB01A: 33040 edx = MEM32(ebp + (-0x2C)); /* 0x250AB01A: mov edx, dword ptr [ebp - 0x2c] */ 33041 eax = MEM32(0x25238B94); /* 0x250AB01D: mov eax, dword ptr [0x25238b94] */ 33042 ecx = MEM32(eax + 0x894); /* 0x250AB022: mov ecx, dword ptr [eax + 0x894] */ 33043 PUSH32(esp, 2); /* 0x250AB028: push 2 */ 33044 PUSH32(esp, edx); /* 0x250AB02A: push edx */ 33045 PUSH32(esp, 0x13u); /* 0x250AB02B: push 0x13 */ 33046 RECOMP_ICALL(0x250EFE90u); /* 0x250AB02D: call 0x250efe90 */ /* not lifted */ 33047 RECOMP_FLAGS_IN(); 33048 L_250AB032: 33049 SET_LO8(eax, MEM8(ebp + (-0x104))); /* 0x250AB032: mov al, byte ptr [ebp - 0x104] */ 33050 /* test LO8(eax), LO8(eax) */ /* 0x250AB038: test al, al */ 33051 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33052 _cf = 0; 33053 _flag_k = FK_NARROW(FK_TEST, 24); 33054 MEM8(ebp + (-0x4)) = (uint8_t)(0x21u); /* 0x250AB03A: mov byte ptr [ebp - 4], 0x21 */ 33055 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB058; /* 0x250AB03E: je 0x250ab058 */ 33056 L_250AB040: 33057 edx = MEM32(ebp + (-0x10)); /* 0x250AB040: mov edx, dword ptr [ebp - 0x10] */ 33058 eax = MEM32(0x25238B94); /* 0x250AB043: mov eax, dword ptr [0x25238b94] */ 33059 ecx = MEM32(eax + 0x894); /* 0x250AB048: mov ecx, dword ptr [eax + 0x894] */ 33060 PUSH32(esp, 2); /* 0x250AB04E: push 2 */ 33061 PUSH32(esp, edx); /* 0x250AB050: push edx */ 33062 PUSH32(esp, 0x1Bu); /* 0x250AB051: push 0x1b */ 33063 RECOMP_ICALL(0x250EFE90u); /* 0x250AB053: call 0x250efe90 */ /* not lifted */ 33064 RECOMP_FLAGS_IN(); 33065 L_250AB058: 33066 SET_LO8(eax, MEM8(ebp + (-0x11C))); /* 0x250AB058: mov al, byte ptr [ebp - 0x11c] */ 33067 /* test LO8(eax), LO8(eax) */ /* 0x250AB05E: test al, al */ 33068 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33069 _cf = 0; 33070 _flag_k = FK_NARROW(FK_TEST, 24); 33071 MEM8(ebp + (-0x4)) = (uint8_t)(0x20u); /* 0x250AB060: mov byte ptr [ebp - 4], 0x20 */ 33072 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB080; /* 0x250AB064: je 0x250ab080 */ 33073 L_250AB066: 33074 edx = MEM32(ebp + (-0x28)); /* 0x250AB066: mov edx, dword ptr [ebp - 0x28] */ 33075 eax = MEM32(0x25238B94); /* 0x250AB069: mov eax, dword ptr [0x25238b94] */ 33076 ecx = MEM32(eax + 0x894); /* 0x250AB06E: mov ecx, dword ptr [eax + 0x894] */ 33077 PUSH32(esp, 2); /* 0x250AB074: push 2 */ 33078 PUSH32(esp, edx); /* 0x250AB076: push edx */ 33079 PUSH32(esp, 0xCu); /* 0x250AB077: push 0xc */ 33080 PUSH32(esp, 0); /* 0x250AB079: push 0 */ 33081 RECOMP_ICALL(0x250EFF00u); /* 0x250AB07B: call 0x250eff00 */ /* not lifted */ 33082 RECOMP_FLAGS_IN(); 33083 L_250AB080: 33084 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AB080: mov byte ptr [ebp - 4], 0xe */ 33085 L_250AB084: 33086 eax = MEM32(ebp + 0x8); /* 0x250AB084: mov eax, dword ptr [ebp + 8] */ 33087 PUSH32(esp, eax); /* 0x250AB087: push eax */ 33088 ecx = esi; /* 0x250AB088: mov ecx, esi */ 33089 RECOMP_ICALL(0x250A9800u); /* 0x250AB08A: call 0x250a9800 */ /* not lifted */ 33090 RECOMP_FLAGS_IN(); 33091 ecx = MEM32(ebp + (-0xB8)); /* 0x250AB08F: mov ecx, dword ptr [ebp - 0xb8] */ 33092 PUSH32(esp, ecx); /* 0x250AB095: push ecx */ 33093 RECOMP_ICALL(0x25137EECu); /* 0x250AB096: call 0x25137eec */ /* not lifted */ 33094 RECOMP_FLAGS_IN(); 33095 eax = MEM32(ebp + (-0x90)); /* 0x250AB09B: mov eax, dword ptr [ebp - 0x90] */ 33096 edi = MEM32(ebp + (-0x94)); /* 0x250AB0A1: mov edi, dword ptr [ebp - 0x94] */ 33097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33098 ebx = 0; /* 0x250AB0A7: xor ebx, ebx */ 33099 _cf = 0; 33100 _flag_k = FK_TEST; 33101 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 33102 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33103 esp = esp + 4; /* 0x250AB0A9: add esp, 4 */ 33104 _flag_k = FK_ADD; 33105 /* cmp edi, eax */ /* 0x250AB0AC: cmp edi, eax */ 33106 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 33107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33108 _flag_k = FK_CMP; 33109 MEM32(ebp + (-0xB8)) = ebx; /* 0x250AB0AE: mov dword ptr [ebp - 0xb8], ebx */ 33110 MEM32(ebp + (-0xB4)) = ebx; /* 0x250AB0B4: mov dword ptr [ebp - 0xb4], ebx */ 33111 MEM32(ebp + (-0xB0)) = ebx; /* 0x250AB0BA: mov dword ptr [ebp - 0xb0], ebx */ 33112 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x250AB0C0: mov byte ptr [ebp - 4], 7 */ 33113 MEM32(ebp + (-0x14)) = eax; /* 0x250AB0C4: mov dword ptr [ebp - 0x14], eax */ 33114 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB0E1; /* 0x250AB0C7: je 0x250ab0e1 */ 33115 L_250AB0C9: 33116 PUSH32(esp, ebx); /* 0x250AB0C9: push ebx */ 33117 ecx = edi; /* 0x250AB0CA: mov ecx, edi */ 33118 RECOMP_ICALL(0x250AD010u); /* 0x250AB0CC: call 0x250ad010 */ /* not lifted */ 33119 RECOMP_FLAGS_IN(); 33120 eax = MEM32(ebp + (-0x14)); /* 0x250AB0D1: mov eax, dword ptr [ebp - 0x14] */ 33121 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 33122 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33123 edi = edi + 0x10u; /* 0x250AB0D4: add edi, 0x10 */ 33124 _flag_k = FK_ADD; 33125 /* cmp edi, eax */ /* 0x250AB0D7: cmp edi, eax */ 33126 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 33127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33128 _flag_k = FK_CMP; 33129 RECOMP_BACKEDGE(); 33130 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB0C9; /* 0x250AB0D9: jne 0x250ab0c9 */ 33131 L_250AB0DB: 33132 edi = MEM32(ebp + (-0x94)); /* 0x250AB0DB: mov edi, dword ptr [ebp - 0x94] */ 33133 L_250AB0E1: 33134 PUSH32(esp, edi); /* 0x250AB0E1: push edi */ 33135 RECOMP_ICALL(0x25137EECu); /* 0x250AB0E2: call 0x25137eec */ /* not lifted */ 33136 RECOMP_FLAGS_IN(); 33137 eax = MEM32(ebp + (-0xA4)); /* 0x250AB0E7: mov eax, dword ptr [ebp - 0xa4] */ 33138 edi = MEM32(ebp + (-0xA8)); /* 0x250AB0ED: mov edi, dword ptr [ebp - 0xa8] */ 33139 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 33140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33141 esp = esp + 4; /* 0x250AB0F3: add esp, 4 */ 33142 _flag_k = FK_ADD; 33143 /* cmp edi, eax */ /* 0x250AB0F6: cmp edi, eax */ 33144 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 33145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33146 _flag_k = FK_CMP; 33147 MEM32(ebp + (-0x94)) = ebx; /* 0x250AB0F8: mov dword ptr [ebp - 0x94], ebx */ 33148 MEM32(ebp + (-0x90)) = ebx; /* 0x250AB0FE: mov dword ptr [ebp - 0x90], ebx */ 33149 MEM32(ebp + (-0x8C)) = ebx; /* 0x250AB104: mov dword ptr [ebp - 0x8c], ebx */ 33150 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250AB10A: mov byte ptr [ebp - 4], 6 */ 33151 MEM32(ebp + (-0x14)) = eax; /* 0x250AB10E: mov dword ptr [ebp - 0x14], eax */ 33152 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB12B; /* 0x250AB111: je 0x250ab12b */ 33153 L_250AB113: 33154 PUSH32(esp, ebx); /* 0x250AB113: push ebx */ 33155 ecx = edi; /* 0x250AB114: mov ecx, edi */ 33156 RECOMP_ICALL(0x250AD010u); /* 0x250AB116: call 0x250ad010 */ /* not lifted */ 33157 RECOMP_FLAGS_IN(); 33158 eax = MEM32(ebp + (-0x14)); /* 0x250AB11B: mov eax, dword ptr [ebp - 0x14] */ 33159 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 33160 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33161 edi = edi + 0x10u; /* 0x250AB11E: add edi, 0x10 */ 33162 _flag_k = FK_ADD; 33163 /* cmp edi, eax */ /* 0x250AB121: cmp edi, eax */ 33164 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 33165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33166 _flag_k = FK_CMP; 33167 RECOMP_BACKEDGE(); 33168 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB113; /* 0x250AB123: jne 0x250ab113 */ 33169 L_250AB125: 33170 edi = MEM32(ebp + (-0xA8)); /* 0x250AB125: mov edi, dword ptr [ebp - 0xa8] */ 33171 L_250AB12B: 33172 PUSH32(esp, edi); /* 0x250AB12B: push edi */ 33173 RECOMP_ICALL(0x25137EECu); /* 0x250AB12C: call 0x25137eec */ /* not lifted */ 33174 RECOMP_FLAGS_IN(); 33175 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 33176 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33177 esp = esp + 4; /* 0x250AB131: add esp, 4 */ 33178 _flag_k = FK_ADD; 33179 goto L_250AB7E2; /* 0x250AB134: jmp 0x250ab7e2 */ 33180 L_250AB139: 33181 SET_LO8(eax, MEM8(esi + 0xDD)); /* 0x250AB139: mov al, byte ptr [esi + 0xdd] */ 33182 /* test LO8(eax), LO8(eax) */ /* 0x250AB13F: test al, al */ 33183 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33184 _cf = 0; 33185 _flag_k = FK_NARROW(FK_TEST, 24); 33186 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7EB; /* 0x250AB141: je 0x250ab7eb */ 33187 L_250AB147: 33188 ecx = MEM32(0x2523858C); /* 0x250AB147: mov ecx, dword ptr [0x2523858c] */ 33189 /* cmp ecx, ebx */ /* 0x250AB14D: cmp ecx, ebx */ 33190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 33191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33192 _flag_k = FK_CMP; 33193 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB7EB; /* 0x250AB14F: je 0x250ab7eb */ 33194 L_250AB155: 33195 edx = MEM32(0x25238590); /* 0x250AB155: mov edx, dword ptr [0x25238590] */ 33196 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 33197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33198 edx = edx - ecx; /* 0x250AB15B: sub edx, ecx */ 33199 _flag_k = FK_CMP; 33200 MEM32(ebp + (-0x14)) = edx; /* 0x250AB15D: mov dword ptr [ebp - 0x14], edx */ 33201 eax = 0x92492493u; /* 0x250AB160: mov eax, 0x92492493 */ 33202 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x250AB165: imul edx */ 33203 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 33204 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 33205 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 33206 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33207 edx = edx + MEM32(ebp + (-0x14)); /* 0x250AB167: add edx, dword ptr [ebp - 0x14] */ 33208 _flag_k = FK_ADD; 33209 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AB16A: sar edx, 5 */ 33210 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33211 edx = (uint32_t)((int32_t)edx >> 5u); 33212 eax = edx; /* 0x250AB16D: mov eax, edx */ 33213 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250AB16F: shr eax, 0x1f */ 33214 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33215 eax = eax >> 31u; /* 0x250AB16F: shr eax, 0x1f */ 33216 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 33217 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33218 edx = edx + eax; /* 0x250AB172: add edx, eax */ 33219 _flag_k = FK_ADD; 33220 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_E)) goto L_250AB7EB; /* 0x250AB174: je 0x250ab7eb */ 33221 L_250AB17A: 33222 ecx = MEM32(ecx + 0x30); /* 0x250AB17A: mov ecx, dword ptr [ecx + 0x30] */ 33223 eax = esi + 0x3C; /* 0x250AB17D: lea eax, [esi + 0x3c] */ 33224 edx = MEM32(eax); /* 0x250AB180: mov edx, dword ptr [eax] */ 33225 MEM32(ebp + (-0x48)) = ecx; /* 0x250AB182: mov dword ptr [ebp - 0x48], ecx */ 33226 ecx = MEM32(eax + 0x4); /* 0x250AB185: mov ecx, dword ptr [eax + 4] */ 33227 MEM32(ebp + (-0x128)) = edx; /* 0x250AB188: mov dword ptr [ebp - 0x128], edx */ 33228 edx = MEM32(eax + 0x8); /* 0x250AB18E: mov edx, dword ptr [eax + 8] */ 33229 eax = MEM32(eax + 0xC); /* 0x250AB191: mov eax, dword ptr [eax + 0xc] */ 33230 MEM32(ebp + (-0x124)) = ecx; /* 0x250AB194: mov dword ptr [ebp - 0x124], ecx */ 33231 MEM32(ebp + (-0x120)) = edx; /* 0x250AB19A: mov dword ptr [ebp - 0x120], edx */ 33232 MEM32(ebp + (-0x11C)) = eax; /* 0x250AB1A0: mov dword ptr [ebp - 0x11c], eax */ 33233 fp_push(*(float*)&MEM32(esi + 0x50)); /* 0x250AB1A6: fld dword ptr [esi + 0x50] */ 33234 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB1A9: fsub dword ptr [esi + 0x58] */ 33235 ecx = MEM32(esi + 0x58); /* 0x250AB1AC: mov ecx, dword ptr [esi + 0x58] */ 33236 edx = ecx; /* 0x250AB1AF: mov edx, ecx */ 33237 MEM32(ebp + (-0x14)) = ecx; /* 0x250AB1B1: mov dword ptr [ebp - 0x14], ecx */ 33238 _st[0] /= (double)*(float*)ADDR(esi + 0x60); /* 0x250AB1B4: fdiv dword ptr [esi + 0x60] */ 33239 MEM32(ebp + (-0x7C)) = 0; /* 0x250AB1B7: mov dword ptr [ebp - 0x7c], 0 */ 33240 MEM32(ebp + (-0x78)) = 0; /* 0x250AB1BE: mov dword ptr [ebp - 0x78], 0 */ 33241 MEM32(ebp + (-0x70)) = edx; /* 0x250AB1C5: mov dword ptr [ebp - 0x70], edx */ 33242 _st[0] += (double)*(float*)ADDR(ebp + (-0x124)); /* 0x250AB1C8: fadd dword ptr [ebp - 0x124] */ 33243 fp_push(*(float*)&MEM32(0x251517A4)); /* 0x250AB1CE: fld dword ptr [0x251517a4] */ 33244 _st[0] /= (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB1D4: fdiv dword ptr [ebp - 0x48] */ 33245 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250AB1D7: fstp dword ptr [ebp - 0x28] */ 33246 fp_push(*(float*)&MEM32(ebp + (-0x128))); /* 0x250AB1DA: fld dword ptr [ebp - 0x128] */ 33247 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250AB1E0: fmul dword ptr [ebp - 0x28] */ 33248 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x128)) = _v; } /* 0x250AB1E3: fstp dword ptr [ebp - 0x128] */ 33249 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250AB1E9: fmul dword ptr [ebp - 0x28] */ 33250 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x124)) = _v; } /* 0x250AB1EC: fstp dword ptr [ebp - 0x124] */ 33251 fp_push(*(float*)&MEM32(ebp + (-0x120))); /* 0x250AB1F2: fld dword ptr [ebp - 0x120] */ 33252 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250AB1F8: fmul dword ptr [ebp - 0x28] */ 33253 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x120)) = _v; } /* 0x250AB1FB: fstp dword ptr [ebp - 0x120] */ 33254 fp_push(*(float*)&MEM32(ebp + (-0x11C))); /* 0x250AB201: fld dword ptr [ebp - 0x11c] */ 33255 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250AB207: fmul dword ptr [ebp - 0x28] */ 33256 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x11C)) = _v; } /* 0x250AB20A: fstp dword ptr [ebp - 0x11c] */ 33257 fp_push(*(float*)&MEM32(esi + 0x54)); /* 0x250AB210: fld dword ptr [esi + 0x54] */ 33258 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x250AB213: fstp dword ptr [ebp - 0x74] */ 33259 MEM32(ebp + (-0xE0)) = 0; /* 0x250AB216: mov dword ptr [ebp - 0xe0], 0 */ 33260 MEM32(ebp + (-0xDC)) = 0; /* 0x250AB220: mov dword ptr [ebp - 0xdc], 0 */ 33261 MEM32(ebp + (-0xD8)) = 0x3F800000u; /* 0x250AB22A: mov dword ptr [ebp - 0xd8], 0x3f800000 */ 33262 MEM32(ebp + (-0xD4)) = 0x3F800000u; /* 0x250AB234: mov dword ptr [ebp - 0xd4], 0x3f800000 */ 33263 PUSH32(esp, ebx); /* 0x250AB23E: push ebx */ 33264 eax = ebp + (-0x7C); /* 0x250AB23F: lea eax, [ebp - 0x7c] */ 33265 PUSH32(esp, eax); /* 0x250AB242: push eax */ 33266 ecx = ebp + (-0xE0); /* 0x250AB243: lea ecx, [ebp - 0xe0] */ 33267 PUSH32(esp, ecx); /* 0x250AB249: push ecx */ 33268 PUSH32(esp, ebx); /* 0x250AB24A: push ebx */ 33269 PUSH32(esp, edi); /* 0x250AB24B: push edi */ 33270 ecx = esi; /* 0x250AB24C: mov ecx, esi */ 33271 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Au); /* 0x250AB24E: mov byte ptr [ebp - 4], 0x2a */ 33272 RECOMP_ICALL(0x250ABB20u); /* 0x250AB252: call 0x250abb20 */ /* not lifted */ 33273 RECOMP_FLAGS_IN(); 33274 edx = MEM32(0x25238B94); /* 0x250AB257: mov edx, dword ptr [0x25238b94] */ 33275 ecx = MEM32(edx + 0x894); /* 0x250AB25D: mov ecx, dword ptr [edx + 0x894] */ 33276 eax = MEM32(ecx + 0xD8C); /* 0x250AB263: mov eax, dword ptr [ecx + 0xd8c] */ 33277 PUSH32(esp, 0xAu); /* 0x250AB269: push 0xa */ 33278 PUSH32(esp, 5); /* 0x250AB26B: push 5 */ 33279 PUSH32(esp, 1); /* 0x250AB26D: push 1 */ 33280 PUSH32(esp, ebx); /* 0x250AB26F: push ebx */ 33281 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB270: mov byte ptr [ebp - 4], 0x28 */ 33282 MEM32(ebp + (-0xF0)) = ebx; /* 0x250AB274: mov dword ptr [ebp - 0xf0], ebx */ 33283 MEM32(ebp + (-0xEC)) = 1; /* 0x250AB27A: mov dword ptr [ebp - 0xec], 1 */ 33284 MEM32(ebp + (-0x44)) = eax; /* 0x250AB284: mov dword ptr [ebp - 0x44], eax */ 33285 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB287: mov dword ptr [ebp - 0xe8], eax */ 33286 RECOMP_ICALL(0x250EFF00u); /* 0x250AB28D: call 0x250eff00 */ /* not lifted */ 33287 RECOMP_FLAGS_IN(); 33288 MEM8(ebp + (-0xE4)) = (uint8_t)(LO8(eax)); /* 0x250AB292: mov byte ptr [ebp - 0xe4], al */ 33289 eax = MEM32(0x25238590); /* 0x250AB298: mov eax, dword ptr [0x25238590] */ 33290 edi = MEM32(0x2523858C); /* 0x250AB29D: mov edi, dword ptr [0x2523858c] */ 33291 /* cmp edi, eax */ /* 0x250AB2A3: cmp edi, eax */ 33292 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 33293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33294 _flag_k = FK_CMP; 33295 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB2A5: mov byte ptr [ebp - 4], 0x2b */ 33296 MEM32(ebp + (-0x2C)) = eax; /* 0x250AB2A9: mov dword ptr [ebp - 0x2c], eax */ 33297 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB7AE; /* 0x250AB2AC: je 0x250ab7ae */ 33298 L_250AB2B2: 33299 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 33300 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 33301 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 33302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33303 _flag_k = FK_CMP; 33304 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 33305 L_250AB2C1: 33306 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 33307 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 33308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 33309 _cf = 0; 33310 _flag_k = FK_TEST; 33311 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 33312 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 33313 L_250AB2D1: 33314 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 33315 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 33316 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33317 _cf = 0; 33318 _flag_k = FK_NARROW(FK_TEST, 24); 33319 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 33320 L_250AB2DC: 33321 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 33322 L_250AB2E6: 33323 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 33324 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33325 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 33326 _cf = 0; 33327 _flag_k = FK_TEST; 33328 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 33329 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 33330 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 33331 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 33332 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 33333 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 33334 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 33335 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 33336 _cf = 0; 33337 _flag_k = FK_NARROW(FK_TEST, 24); 33338 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 33339 L_250AB310: 33340 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 33341 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 33342 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 33343 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 33344 _cf = 0; 33345 _flag_k = FK_NARROW(FK_TEST, 24); 33346 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 33347 L_250AB31D: 33348 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 33349 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 33350 L_250AB325: 33351 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 33352 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 33353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33354 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 33355 _flag_k = FK_CMP; 33356 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 33357 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 33358 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 33359 RECOMP_FLAGS_IN(); 33360 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 33361 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 33362 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33363 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 33364 _flag_k = FK_ADD; 33365 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 33366 L_250AB346: 33367 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 33368 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 33369 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 33370 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 33371 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 33372 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 33373 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 33374 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 33375 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 33376 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 33377 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 33378 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 33379 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 33380 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 33381 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 33382 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 33383 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 33384 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 33385 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 33386 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 33387 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 33388 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 33389 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 33390 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 33391 RECOMP_FLAGS_IN(); 33392 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 33393 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 33394 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 33395 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 33396 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 33397 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 33398 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 33399 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 33400 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 33401 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 33402 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 33403 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 33404 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 33405 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 33406 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 33407 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 33408 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 33409 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 33410 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 33411 RECOMP_FLAGS_IN(); 33412 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 33413 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 33414 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 33415 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 33416 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 33417 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 33418 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 33419 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 33420 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 33421 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 33422 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 33423 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 33424 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 33425 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 33426 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 33427 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 33428 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 33429 RECOMP_FLAGS_IN(); 33430 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 33431 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 33432 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 33433 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 33434 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 33435 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 33436 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 33437 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 33438 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 33439 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 33440 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 33441 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 33442 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 33443 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 33444 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 33445 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 33446 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 33447 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 33448 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 33449 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 33450 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 33451 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 33452 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 33453 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 33454 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 33455 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 33456 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 33457 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 33458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33459 _flag_k = FK_CMP; 33460 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 33461 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 33462 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 33463 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 33464 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 33465 L_250AB4EE: 33466 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 33467 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 33468 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 33469 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 33470 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 33471 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 33472 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 33473 _cf = 0; 33474 _flag_k = FK_TEST; 33475 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 33476 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 33477 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 33478 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 33479 L_250AB524: 33480 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 33481 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 33482 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 33483 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 33484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33485 _flag_k = FK_CMP; 33486 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 33487 L_250AB534: 33488 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 33489 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 33490 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 33491 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 33492 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 33493 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 33494 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 33495 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 33496 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 33497 PUSH32(esp, eax); /* 0x250AB561: push eax */ 33498 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 33499 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 33500 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 33501 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 33502 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 33503 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 33504 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 33505 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 33506 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 33507 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 33508 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 33509 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 33510 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 33511 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 33512 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 33513 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 33514 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 33515 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 33516 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 33517 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 33518 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 33519 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 33520 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 33521 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 33522 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 33523 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 33524 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 33525 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 33526 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 33527 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 33528 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 33529 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 33530 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 33531 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 33532 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 33533 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 33534 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 33535 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 33536 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 33537 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 33538 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 33539 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 33540 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 33541 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 33542 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 33543 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 33544 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 33545 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 33546 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 33547 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 33548 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 33549 RECOMP_FLAGS_IN(); 33550 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 33551 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 33552 fp_pop(); 33553 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 33554 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 33555 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 33556 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 33557 _cf = 0; 33558 _flag_k = FK_NARROW(FK_TEST, 24); 33559 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 33560 L_250AB623: 33561 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 33562 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 33563 fp_pop(); 33564 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 33565 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 33566 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 33567 _cf = 0; 33568 _flag_k = FK_NARROW(FK_TEST, 24); 33569 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 33570 L_250AB63A: 33571 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 33572 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 33573 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 33574 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 33575 RECOMP_FLAGS_IN(); 33576 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 33577 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 33578 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 33579 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 33580 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 33581 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 33582 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 33583 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 33584 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 33585 ebx = eax; /* 0x250AB665: mov ebx, eax */ 33586 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 33587 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 33588 RECOMP_FLAGS_IN(); 33589 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 33590 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 33591 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 33592 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 33593 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 33594 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 33595 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 33596 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 33597 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 33598 PUSH32(esp, edx); /* 0x250AB696: push edx */ 33599 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 33600 PUSH32(esp, eax); /* 0x250AB698: push eax */ 33601 ecx = esi; /* 0x250AB699: mov ecx, esi */ 33602 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 33603 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 33604 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 33605 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 33606 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 33607 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 33608 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 33609 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 33610 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 33611 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 33612 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 33613 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 33614 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 33615 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 33616 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 33617 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 33618 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 33619 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 33620 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 33621 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 33622 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 33623 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 33624 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 33625 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 33626 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 33627 RECOMP_FLAGS_IN(); 33628 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 33629 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 33630 RECOMP_FLAGS_IN(); 33631 L_250AB711: 33632 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 33633 L_250AB715: 33634 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 33635 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 33636 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 33637 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 33638 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 33639 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 33640 eax = eax + 1; /* 0x250AB727: inc eax */ 33641 _flag_k = FK_INC; 33642 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 33643 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 33644 edx = edx + 1; /* 0x250AB72E: inc edx */ 33645 _flag_k = FK_INC; 33646 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 33647 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 33648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33649 _flag_k = FK_CMP; 33650 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 33651 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 33652 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 33653 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 33654 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 33655 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 33656 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 33657 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 33658 RECOMP_BACKEDGE(); 33659 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 33660 L_250AB75B: 33661 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 33662 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 33663 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 33664 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 33665 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 33666 eax = eax + 1; /* 0x250AB76D: inc eax */ 33667 _flag_k = FK_INC; 33668 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 33669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 33670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33671 _flag_k = FK_CMP; 33672 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 33673 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 33674 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 33675 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 33676 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 33677 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 33678 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 33679 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 33680 RECOMP_BACKEDGE(); 33681 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 33682 L_250AB7A0: 33683 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 33684 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 33685 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33686 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 33687 _flag_k = FK_ADD; 33688 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 33689 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 33690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33691 _flag_k = FK_CMP; 33692 RECOMP_BACKEDGE(); 33693 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 33694 L_250AB7AE: 33695 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 33696 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 33697 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 33698 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 33699 RECOMP_FLAGS_IN(); 33700 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 33701 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 33702 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33703 _cf = 0; 33704 _flag_k = FK_NARROW(FK_TEST, 24); 33705 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 33706 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 33707 L_250AB7C7: 33708 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 33709 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 33710 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 33711 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 33712 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 33713 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 33714 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 33715 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 33716 RECOMP_FLAGS_IN(); 33717 L_250AB7E2: 33718 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 33719 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 33720 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33721 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 33722 _cf = 0; 33723 _flag_k = FK_TEST; 33724 L_250AB7EB: 33725 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 33726 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 33727 fp_pop(); 33728 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 33729 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 33730 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 33731 _cf = 0; 33732 _flag_k = FK_NARROW(FK_TEST, 24); 33733 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 33734 L_250AB802: 33735 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 33736 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 33737 fp_pop(); 33738 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 33739 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 33740 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 33741 _cf = 0; 33742 _flag_k = FK_NARROW(FK_TEST, 24); 33743 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 33744 L_250AB819: 33745 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 33746 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 33747 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 33748 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 33749 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 33750 RECOMP_FLAGS_IN(); 33751 ecx = edi; /* 0x250AB825: mov ecx, edi */ 33752 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 33753 RECOMP_FLAGS_IN(); 33754 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 33755 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 33756 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 33757 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 33758 edx = ecx; /* 0x250AB838: mov edx, ecx */ 33759 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 33760 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 33761 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 33762 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 33763 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 33764 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 33765 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 33766 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 33767 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 33768 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 33769 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 33770 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 33771 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 33772 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 33773 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 33774 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 33775 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 33776 ecx = esi; /* 0x250AB880: mov ecx, esi */ 33777 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 33778 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 33779 RECOMP_FLAGS_IN(); 33780 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 33781 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 33782 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 33783 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 33784 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 33785 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 33786 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 33787 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 33788 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 33789 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 33790 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 33791 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 33792 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 33793 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 33794 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 33795 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 33796 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 33797 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 33798 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 33799 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 33800 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 33801 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 33802 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 33803 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 33804 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 33805 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 33806 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 33807 RECOMP_FLAGS_IN(); 33808 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 33809 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 33810 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 33811 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 33812 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 33813 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 33814 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 33815 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 33816 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 33817 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 33818 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 33819 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 33820 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 33821 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 33822 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 33823 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 33824 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 33825 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 33826 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 33827 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 33828 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 33829 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 33830 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 33831 PUSH32(esp, edi); /* 0x250AB957: push edi */ 33832 ecx = esi; /* 0x250AB958: mov ecx, esi */ 33833 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 33834 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 33835 RECOMP_FLAGS_IN(); 33836 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 33837 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 33838 L_250AB969: 33839 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 33840 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 33841 fp_pop(); 33842 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 33843 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 33844 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 33845 _cf = 0; 33846 _flag_k = FK_NARROW(FK_TEST, 24); 33847 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 33848 L_250AB97C: 33849 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 33850 L_250AB982: 33851 ecx = edi; /* 0x250AB982: mov ecx, edi */ 33852 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 33853 RECOMP_FLAGS_IN(); 33854 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 33855 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 33856 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 33857 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 33858 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 33859 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 33860 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 33861 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 33862 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 33863 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 33864 RECOMP_FLAGS_IN(); 33865 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 33866 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 33867 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33868 _cf = 0; 33869 _flag_k = FK_NARROW(FK_TEST, 24); 33870 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 33871 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 33872 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 33873 L_250AB9BB: 33874 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 33875 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 33876 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 33877 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 33878 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 33879 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 33880 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 33881 RECOMP_FLAGS_IN(); 33882 L_250AB9D6: 33883 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 33884 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 33885 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33886 _cf = 0; 33887 _flag_k = FK_NARROW(FK_TEST, 24); 33888 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 33889 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 33890 L_250AB9E4: 33891 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 33892 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 33893 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 33894 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 33895 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 33896 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 33897 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 33898 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 33899 RECOMP_FLAGS_IN(); 33900 L_250ABA00: 33901 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 33902 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 33903 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33904 _cf = 0; 33905 _flag_k = FK_NARROW(FK_TEST, 24); 33906 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 33907 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 33908 L_250ABA0E: 33909 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 33910 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 33911 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 33912 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 33913 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 33914 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 33915 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 33916 RECOMP_FLAGS_IN(); 33917 L_250ABA2C: 33918 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 33919 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 33920 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33921 _cf = 0; 33922 _flag_k = FK_NARROW(FK_TEST, 24); 33923 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 33924 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 33925 L_250ABA3A: 33926 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 33927 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 33928 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 33929 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 33930 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 33931 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 33932 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 33933 RECOMP_FLAGS_IN(); 33934 L_250ABA55: 33935 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 33936 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 33937 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33938 _cf = 0; 33939 _flag_k = FK_NARROW(FK_TEST, 24); 33940 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 33941 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 33942 L_250ABA63: 33943 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 33944 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 33945 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 33946 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 33947 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 33948 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 33949 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 33950 RECOMP_FLAGS_IN(); 33951 L_250ABA7E: 33952 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 33953 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 33954 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33955 _cf = 0; 33956 _flag_k = FK_NARROW(FK_TEST, 24); 33957 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 33958 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 33959 L_250ABA8F: 33960 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 33961 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 33962 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 33963 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 33964 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 33965 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 33966 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 33967 RECOMP_FLAGS_IN(); 33968 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 33969 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 33970 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 33971 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 33972 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 33973 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 33974 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 33975 L_250ABAC0: 33976 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250ABAC0: fstp st(0) */ 33977 L_250ABAC2: 33978 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 33979 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 33980 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 33981 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 33982 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 33983 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 33984 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 33985 RECOMP_REGS_OUT(); 33986 } 33987 33988 void sub_250AAA6B(void) { 33989 int _fpu_cmp = 0; 33990 uint32_t _cf = 0; 33991 int _df = 1; 33992 uint32_t _flag_k = FK_NONE; 33993 uint32_t _flag_a = 0, _flag_b = 0; 33994 uint32_t _itail_tgt = 0; 33995 RECOMP_REGS_LOCALS 33996 RECOMP_ENTER(0x250AAA6Bu); 33997 33998 L_250AAA6B: 33999 eax = MEM32(ebp + (-0xA8)); /* 0x250AAA6B: mov eax, dword ptr [ebp - 0xa8] */ 34000 /* test eax, eax */ /* 0x250AAA71: test eax, eax */ 34001 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34002 _cf = 0; 34003 _flag_k = FK_TEST; 34004 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAB7E; /* 0x250AAA73: je 0x250aab7e */ 34005 L_250AAA79: 34006 ecx = MEM32(ebp + (-0xA4)); /* 0x250AAA79: mov ecx, dword ptr [ebp - 0xa4] */ 34007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 34008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34009 ecx = ecx - eax; /* 0x250AAA7F: sub ecx, eax */ 34010 _flag_k = FK_CMP; 34011 eax = MEM32(ebp + (-0x44)); /* 0x250AAA81: mov eax, dword ptr [ebp - 0x44] */ 34012 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x250AAA84: sar ecx, 4 */ 34013 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34014 ecx = (uint32_t)((int32_t)ecx >> 4u); 34015 /* cmp eax, ecx */ /* 0x250AAA87: cmp eax, ecx */ 34016 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 34017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34018 _flag_k = FK_CMP; 34019 if (CMP_AE(_flag_a, _flag_b)) goto L_250AAB7E; /* 0x250AAA89: jae 0x250aab7e */ 34020 L_250AAA8F: 34021 ecx = MEM32(ebp + (-0xB8)); /* 0x250AAA8F: mov ecx, dword ptr [ebp - 0xb8] */ 34022 edx = MEM32(ebp + (-0x9C)); /* 0x250AAA95: mov edx, dword ptr [ebp - 0x9c] */ 34023 ebx = eax; /* 0x250AAA9B: mov ebx, eax */ 34024 eax = MEM32(ecx + ebx * 8 + 0x4); /* 0x250AAA9D: mov eax, dword ptr [ecx + ebx*8 + 4] */ 34025 eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(edx + 0x48)); /* 0x250AAAA1: imul eax, dword ptr [edx + 0x48] */ 34026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + ebx * 8)); 34027 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34028 eax = eax + MEM32(ecx + ebx * 8); /* 0x250AAAA5: add eax, dword ptr [ecx + ebx*8] */ 34029 _flag_k = FK_ADD; 34030 ecx = eax * 8; /* 0x250AAAA8: lea ecx, [eax*8] */ 34031 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 34032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34033 ecx = ecx - eax; /* 0x250AAAAF: sub ecx, eax */ 34034 _flag_k = FK_CMP; 34035 eax = ecx + ecx * 2; /* 0x250AAAB1: lea eax, [ecx + ecx*2] */ 34036 ecx = MEM32(edx + 0x50); /* 0x250AAAB4: mov ecx, dword ptr [edx + 0x50] */ 34037 ebx = ecx + eax * 4; /* 0x250AAAB7: lea ebx, [ecx + eax*4] */ 34038 PUSH32(esp, ebx); /* 0x250AAABA: push ebx */ 34039 ecx = edx; /* 0x250AAABB: mov ecx, edx */ 34040 RECOMP_ICALL(0x2504EB80u); /* 0x250AAABD: call 0x2504eb80 */ /* not lifted */ 34041 RECOMP_FLAGS_IN(); 34042 eax = MEM32(ebx + 0x50); /* 0x250AAAC2: mov eax, dword ptr [ebx + 0x50] */ 34043 /* test eax, eax */ /* 0x250AAAC5: test eax, eax */ 34044 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34045 _cf = 0; 34046 _flag_k = FK_TEST; 34047 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAAD1; /* 0x250AAAC7: je 0x250aaad1 */ 34048 L_250AAAC9: 34049 MEM32(ebp + (-0x88)) = eax; /* 0x250AAAC9: mov dword ptr [ebp - 0x88], eax */ 34050 goto L_250AAADA; /* 0x250AAACF: jmp 0x250aaada */ 34051 L_250AAAD1: 34052 edx = MEM32(ebx + 0x48); /* 0x250AAAD1: mov edx, dword ptr [ebx + 0x48] */ 34053 MEM32(ebp + (-0x88)) = edx; /* 0x250AAAD4: mov dword ptr [ebp - 0x88], edx */ 34054 L_250AAADA: 34055 eax = MEM32(ebp + (-0x9C)); /* 0x250AAADA: mov eax, dword ptr [ebp - 0x9c] */ 34056 ecx = MEM32(eax + 0x24); /* 0x250AAAE0: mov ecx, dword ptr [eax + 0x24] */ 34057 MEM32(ebp + (-0x10)) = ebx; /* 0x250AAAE3: mov dword ptr [ebp - 0x10], ebx */ 34058 MEM32(ebx + 0x40) = ecx; /* 0x250AAAE6: mov dword ptr [ebx + 0x40], ecx */ 34059 ecx = MEM32(ebp + (-0x10)); /* 0x250AAAE9: mov ecx, dword ptr [ebp - 0x10] */ 34060 eax = MEM32(ecx + 0x44); /* 0x250AAAEC: mov eax, dword ptr [ecx + 0x44] */ 34061 /* test eax, eax */ /* 0x250AAAEF: test eax, eax */ 34062 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34063 _cf = 0; 34064 _flag_k = FK_TEST; 34065 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AAB29; /* 0x250AAAF1: jne 0x250aab29 */ 34066 L_250AAAF3: 34067 ebx = MEM32(ebp + (-0x9C)); /* 0x250AAAF3: mov ebx, dword ptr [ebp - 0x9c] */ 34068 SET_LO8(eax, MEM8(ebx + 0x28)); /* 0x250AAAF9: mov al, byte ptr [ebx + 0x28] */ 34069 edx = MEM32(ebx + 0x88); /* 0x250AAAFC: mov edx, dword ptr [ebx + 0x88] */ 34070 PUSH32(esp, edx); /* 0x250AAB02: push edx */ 34071 PUSH32(esp, eax); /* 0x250AAB03: push eax */ 34072 RECOMP_ICALL(0x2504BA40u); /* 0x250AAB04: call 0x2504ba40 */ /* not lifted */ 34073 RECOMP_FLAGS_IN(); 34074 eax = MEM32(ebx + 0xC4); /* 0x250AAB09: mov eax, dword ptr [ebx + 0xc4] */ 34075 ecx = ebx + 0xBC; /* 0x250AAB0F: lea ecx, [ebx + 0xbc] */ 34076 edx = ebp + (-0x10); /* 0x250AAB15: lea edx, [ebp - 0x10] */ 34077 PUSH32(esp, edx); /* 0x250AAB18: push edx */ 34078 PUSH32(esp, eax); /* 0x250AAB19: push eax */ 34079 RECOMP_ICALL(0x2504AC20u); /* 0x250AAB1A: call 0x2504ac20 */ /* not lifted */ 34080 RECOMP_FLAGS_IN(); 34081 ecx = MEM32(ebp + (-0x10)); /* 0x250AAB1F: mov ecx, dword ptr [ebp - 0x10] */ 34082 eax = MEM32(ecx + 0x44); /* 0x250AAB22: mov eax, dword ptr [ecx + 0x44] */ 34083 /* test eax, eax */ /* 0x250AAB25: test eax, eax */ 34084 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34085 _cf = 0; 34086 _flag_k = FK_TEST; 34087 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAB4B; /* 0x250AAB27: je 0x250aab4b */ 34088 L_250AAB29: 34089 edx = MEM32(ebp + (-0x94)); /* 0x250AAB29: mov edx, dword ptr [ebp - 0x94] */ 34090 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAB2F: push -1 */ 34091 ecx = edi + edx; /* 0x250AAB31: lea ecx, [edi + edx] */ 34092 edx = MEM32(ebp + (-0xA8)); /* 0x250AAB34: mov edx, dword ptr [ebp - 0xa8] */ 34093 PUSH32(esp, ecx); /* 0x250AAB3A: push ecx */ 34094 ecx = edi + edx; /* 0x250AAB3B: lea ecx, [edi + edx] */ 34095 edx = MEM32(ebp + 0x8); /* 0x250AAB3E: mov edx, dword ptr [ebp + 8] */ 34096 PUSH32(esp, ecx); /* 0x250AAB41: push ecx */ 34097 PUSH32(esp, eax); /* 0x250AAB42: push eax */ 34098 PUSH32(esp, edx); /* 0x250AAB43: push edx */ 34099 ecx = esi; /* 0x250AAB44: mov ecx, esi */ 34100 RECOMP_ICALL(0x250ABB20u); /* 0x250AAB46: call 0x250abb20 */ /* not lifted */ 34101 RECOMP_FLAGS_IN(); 34102 L_250AAB4B: 34103 eax = MEM32(ebp + (-0x94)); /* 0x250AAB4B: mov eax, dword ptr [ebp - 0x94] */ 34104 edx = MEM32(ebp + (-0xA8)); /* 0x250AAB51: mov edx, dword ptr [ebp - 0xa8] */ 34105 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAB57: push -1 */ 34106 ecx = edi + eax; /* 0x250AAB59: lea ecx, [edi + eax] */ 34107 PUSH32(esp, ecx); /* 0x250AAB5C: push ecx */ 34108 ecx = MEM32(ebp + (-0x88)); /* 0x250AAB5D: mov ecx, dword ptr [ebp - 0x88] */ 34109 eax = edi + edx; /* 0x250AAB63: lea eax, [edi + edx] */ 34110 edx = MEM32(ebp + 0x8); /* 0x250AAB66: mov edx, dword ptr [ebp + 8] */ 34111 PUSH32(esp, eax); /* 0x250AAB69: push eax */ 34112 PUSH32(esp, ecx); /* 0x250AAB6A: push ecx */ 34113 PUSH32(esp, edx); /* 0x250AAB6B: push edx */ 34114 ecx = esi; /* 0x250AAB6C: mov ecx, esi */ 34115 RECOMP_ICALL(0x250ABB20u); /* 0x250AAB6E: call 0x250abb20 */ /* not lifted */ 34116 RECOMP_FLAGS_IN(); 34117 _flag_a = (uint32_t)(MEM32(ebp + (-0x44))); _flag_b = (uint32_t)(1); 34118 MEM32(ebp + (-0x44)) = MEM32(ebp + (-0x44)) + 1; /* 0x250AAB73: inc dword ptr [ebp - 0x44] */ 34119 _flag_k = FK_INC; 34120 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 34121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34122 edi = edi + 0x10u; /* 0x250AAB76: add edi, 0x10 */ 34123 _flag_k = FK_ADD; 34124 RECOMP_BACKEDGE(); 34125 goto L_250AAA6B; /* 0x250AAB79: jmp 0x250aaa6b */ 34126 L_250AAB7E: 34127 SET_LO8(eax, MEM8(ebp + (-0x38))); /* 0x250AAB7E: mov al, byte ptr [ebp - 0x38] */ 34128 /* test LO8(eax), LO8(eax) */ /* 0x250AAB81: test al, al */ 34129 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34130 _cf = 0; 34131 _flag_k = FK_NARROW(FK_TEST, 24); 34132 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x250AAB83: mov byte ptr [ebp - 4], 0x19 */ 34133 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABA1; /* 0x250AAB87: je 0x250aaba1 */ 34134 L_250AAB89: 34135 edx = MEM32(ebp + (-0x14)); /* 0x250AAB89: mov edx, dword ptr [ebp - 0x14] */ 34136 eax = MEM32(0x25238B94); /* 0x250AAB8C: mov eax, dword ptr [0x25238b94] */ 34137 ecx = MEM32(eax + 0x894); /* 0x250AAB91: mov ecx, dword ptr [eax + 0x894] */ 34138 PUSH32(esp, 2); /* 0x250AAB97: push 2 */ 34139 PUSH32(esp, edx); /* 0x250AAB99: push edx */ 34140 PUSH32(esp, 0x1Bu); /* 0x250AAB9A: push 0x1b */ 34141 RECOMP_ICALL(0x250EFE90u); /* 0x250AAB9C: call 0x250efe90 */ /* not lifted */ 34142 RECOMP_FLAGS_IN(); 34143 L_250AABA1: 34144 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AABA1: mov al, byte ptr [ebp - 0x64] */ 34145 /* test LO8(eax), LO8(eax) */ /* 0x250AABA4: test al, al */ 34146 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34147 _cf = 0; 34148 _flag_k = FK_NARROW(FK_TEST, 24); 34149 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x250AABA6: mov byte ptr [ebp - 4], 0x18 */ 34150 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABC4; /* 0x250AABAA: je 0x250aabc4 */ 34151 L_250AABAC: 34152 edx = MEM32(ebp + (-0x2C)); /* 0x250AABAC: mov edx, dword ptr [ebp - 0x2c] */ 34153 eax = MEM32(0x25238B94); /* 0x250AABAF: mov eax, dword ptr [0x25238b94] */ 34154 ecx = MEM32(eax + 0x894); /* 0x250AABB4: mov ecx, dword ptr [eax + 0x894] */ 34155 PUSH32(esp, 2); /* 0x250AABBA: push 2 */ 34156 PUSH32(esp, edx); /* 0x250AABBC: push edx */ 34157 PUSH32(esp, 0x14u); /* 0x250AABBD: push 0x14 */ 34158 RECOMP_ICALL(0x250EFE90u); /* 0x250AABBF: call 0x250efe90 */ /* not lifted */ 34159 RECOMP_FLAGS_IN(); 34160 L_250AABC4: 34161 SET_LO8(eax, MEM8(ebp + (-0xC0))); /* 0x250AABC4: mov al, byte ptr [ebp - 0xc0] */ 34162 /* test LO8(eax), LO8(eax) */ /* 0x250AABCA: test al, al */ 34163 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34164 _cf = 0; 34165 _flag_k = FK_NARROW(FK_TEST, 24); 34166 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AABCC: mov byte ptr [ebp - 4], 0xe */ 34167 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABEA; /* 0x250AABD0: je 0x250aabea */ 34168 L_250AABD2: 34169 edx = MEM32(ebp + (-0x34)); /* 0x250AABD2: mov edx, dword ptr [ebp - 0x34] */ 34170 eax = MEM32(0x25238B94); /* 0x250AABD5: mov eax, dword ptr [0x25238b94] */ 34171 ecx = MEM32(eax + 0x894); /* 0x250AABDA: mov ecx, dword ptr [eax + 0x894] */ 34172 PUSH32(esp, 2); /* 0x250AABE0: push 2 */ 34173 PUSH32(esp, edx); /* 0x250AABE2: push edx */ 34174 PUSH32(esp, 0x13u); /* 0x250AABE3: push 0x13 */ 34175 RECOMP_ICALL(0x250EFE90u); /* 0x250AABE5: call 0x250efe90 */ /* not lifted */ 34176 RECOMP_FLAGS_IN(); 34177 L_250AABEA: 34178 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250AABEA: mov al, byte ptr [esi + 0x67] */ 34179 /* test LO8(eax), LO8(eax) */ /* 0x250AABED: test al, al */ 34180 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34181 _cf = 0; 34182 _flag_k = FK_NARROW(FK_TEST, 24); 34183 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AABEF: je 0x250ab084 */ 34184 L_250AABF5: 34185 eax = MEM32(esi + 0x7C); /* 0x250AABF5: mov eax, dword ptr [esi + 0x7c] */ 34186 /* test eax, eax */ /* 0x250AABF8: test eax, eax */ 34187 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34188 _cf = 0; 34189 _flag_k = FK_TEST; 34190 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AABFA: je 0x250ab084 */ 34191 L_250AAC00: 34192 eax = MEM32(0x25238B94); /* 0x250AAC00: mov eax, dword ptr [0x25238b94] */ 34193 ecx = MEM32(eax + 0x894); /* 0x250AAC05: mov ecx, dword ptr [eax + 0x894] */ 34194 eax = MEM32(ecx + 0x538); /* 0x250AAC0B: mov eax, dword ptr [ecx + 0x538] */ 34195 PUSH32(esp, 0xAu); /* 0x250AAC11: push 0xa */ 34196 PUSH32(esp, 1); /* 0x250AAC13: push 1 */ 34197 PUSH32(esp, 0x1Bu); /* 0x250AAC15: push 0x1b */ 34198 MEM32(ebp + (-0x10C)) = 0x1Bu; /* 0x250AAC17: mov dword ptr [ebp - 0x10c], 0x1b */ 34199 MEM32(ebp + (-0x14)) = eax; /* 0x250AAC21: mov dword ptr [ebp - 0x14], eax */ 34200 MEM32(ebp + (-0x108)) = eax; /* 0x250AAC24: mov dword ptr [ebp - 0x108], eax */ 34201 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC2A: call 0x250efe90 */ /* not lifted */ 34202 RECOMP_FLAGS_IN(); 34203 MEM8(ebp + (-0x104)) = (uint8_t)(LO8(eax)); /* 0x250AAC2F: mov byte ptr [ebp - 0x104], al */ 34204 ecx = MEM32(0x25238B94); /* 0x250AAC35: mov ecx, dword ptr [0x25238b94] */ 34205 ecx = MEM32(ecx + 0x894); /* 0x250AAC3B: mov ecx, dword ptr [ecx + 0x894] */ 34206 ebx = MEM32(ecx + 0x518); /* 0x250AAC41: mov ebx, dword ptr [ecx + 0x518] */ 34207 PUSH32(esp, 0xAu); /* 0x250AAC47: push 0xa */ 34208 PUSH32(esp, 5); /* 0x250AAC49: push 5 */ 34209 PUSH32(esp, 0x13u); /* 0x250AAC4B: push 0x13 */ 34210 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x250AAC4D: mov byte ptr [ebp - 4], 0x1b */ 34211 MEM32(ebp + (-0xC8)) = 0x13u; /* 0x250AAC51: mov dword ptr [ebp - 0xc8], 0x13 */ 34212 MEM32(ebp + (-0xC4)) = ebx; /* 0x250AAC5B: mov dword ptr [ebp - 0xc4], ebx */ 34213 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC61: call 0x250efe90 */ /* not lifted */ 34214 RECOMP_FLAGS_IN(); 34215 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(eax)); /* 0x250AAC66: mov byte ptr [ebp - 0xc0], al */ 34216 edx = MEM32(0x25238B94); /* 0x250AAC6C: mov edx, dword ptr [0x25238b94] */ 34217 ecx = MEM32(edx + 0x894); /* 0x250AAC72: mov ecx, dword ptr [edx + 0x894] */ 34218 edi = MEM32(ecx + 0x51C); /* 0x250AAC78: mov edi, dword ptr [ecx + 0x51c] */ 34219 PUSH32(esp, 0xAu); /* 0x250AAC7E: push 0xa */ 34220 PUSH32(esp, 6); /* 0x250AAC80: push 6 */ 34221 PUSH32(esp, 0x14u); /* 0x250AAC82: push 0x14 */ 34222 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x250AAC84: mov byte ptr [ebp - 4], 0x1c */ 34223 MEM32(ebp + (-0x6C)) = 0x14u; /* 0x250AAC88: mov dword ptr [ebp - 0x6c], 0x14 */ 34224 MEM32(ebp + (-0x68)) = edi; /* 0x250AAC8F: mov dword ptr [ebp - 0x68], edi */ 34225 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC92: call 0x250efe90 */ /* not lifted */ 34226 RECOMP_FLAGS_IN(); 34227 MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x250AAC97: mov byte ptr [ebp - 0x64], al */ 34228 fp_push(*(float*)&MEM32(esi + 0x48)); /* 0x250AAC9A: fld dword ptr [esi + 0x48] */ 34229 _st[0] -= (double)*(float*)ADDR(esi + 0x40); /* 0x250AAC9D: fsub dword ptr [esi + 0x40] */ 34230 eax = MEM32(ebp + (-0x84)); /* 0x250AACA0: mov eax, dword ptr [ebp - 0x84] */ 34231 ecx = MEM32(ebp + (-0x28)); /* 0x250AACA6: mov ecx, dword ptr [ebp - 0x28] */ 34232 MEM32(ebp + (-0x7C)) = eax; /* 0x250AACA9: mov dword ptr [ebp - 0x7c], eax */ 34233 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AACAC: fmul dword ptr [0x25152160] */ 34234 MEM32(ebp + (-0x78)) = ecx; /* 0x250AACB2: mov dword ptr [ebp - 0x78], ecx */ 34235 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250AACB5: fadd dword ptr [ebp - 0x28] */ 34236 fp_push(*(float*)&MEM32(esi + 0x44)); /* 0x250AACB8: fld dword ptr [esi + 0x44] */ 34237 _st[0] -= (double)*(float*)ADDR(esi + 0x3C); /* 0x250AACBB: fsub dword ptr [esi + 0x3c] */ 34238 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AACBE: fmul dword ptr [0x25152160] */ 34239 _st[0] += (double)*(float*)ADDR(ebp + (-0x84)); /* 0x250AACC4: fadd dword ptr [ebp - 0x84] */ 34240 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x250AACCA: fstp dword ptr [ebp - 0x74] */ 34241 fp_push(*(float*)&MEM32(esi + 0x58)); /* 0x250AACCD: fld dword ptr [esi + 0x58] */ 34242 edx = MEM32(ebp + (-0x80)); /* 0x250AACD0: mov edx, dword ptr [ebp - 0x80] */ 34243 _st[0] -= (double)*(float*)ADDR(esi + 0x50); /* 0x250AACD3: fsub dword ptr [esi + 0x50] */ 34244 eax = MEM32(ebp + (-0x30)); /* 0x250AACD6: mov eax, dword ptr [ebp - 0x30] */ 34245 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AACD9: fld dword ptr [esi + 0x60] */ 34246 ecx = ebp + (-0x40); /* 0x250AACDC: lea ecx, [ebp - 0x40] */ 34247 _st[0] *= (double)*(float*)ADDR(0x25156408); /* 0x250AACDF: fmul dword ptr [0x25156408] */ 34248 MEM32(ebp + (-0x40)) = edx; /* 0x250AACE5: mov dword ptr [ebp - 0x40], edx */ 34249 PUSH32(esp, ecx); /* 0x250AACE8: push ecx */ 34250 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250AACE9: fdivp st(1) */ 34251 edx = ebp + (-0x158); /* 0x250AACEB: lea edx, [ebp - 0x158] */ 34252 PUSH32(esp, edx); /* 0x250AACF1: push edx */ 34253 ecx = ebp + (-0x24); /* 0x250AACF2: lea ecx, [ebp - 0x24] */ 34254 MEM32(ebp + (-0x3C)) = eax; /* 0x250AACF5: mov dword ptr [ebp - 0x3c], eax */ 34255 MEM32(ebp + (-0x38)) = 0; /* 0x250AACF8: mov dword ptr [ebp - 0x38], 0 */ 34256 _st[0] += _st[1]; /* 0x250AACFF: fadd st(1) */ 34257 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AAD01: fstp dword ptr [ebp - 0x70] */ 34258 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AAD04: fstp st(0) */ 34259 RECOMP_ICALL(0x250A8070u); /* 0x250AAD06: call 0x250a8070 */ /* not lifted */ 34260 RECOMP_FLAGS_IN(); 34261 ecx = MEM32(esi + 0x7C); /* 0x250AAD0B: mov ecx, dword ptr [esi + 0x7c] */ 34262 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAD0E: push -1 */ 34263 PUSH32(esp, eax); /* 0x250AAD10: push eax */ 34264 eax = ebp + (-0x7C); /* 0x250AAD11: lea eax, [ebp - 0x7c] */ 34265 PUSH32(esp, eax); /* 0x250AAD14: push eax */ 34266 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x250AAD15: mov byte ptr [ebp - 4], 0x1f */ 34267 PUSH32(esp, ecx); /* 0x250AAD19: push ecx */ 34268 edx = MEM32(ebp + 0x8); /* 0x250AAD1A: mov edx, dword ptr [ebp + 8] */ 34269 PUSH32(esp, edx); /* 0x250AAD1D: push edx */ 34270 ecx = esi; /* 0x250AAD1E: mov ecx, esi */ 34271 RECOMP_ICALL(0x250ABB20u); /* 0x250AAD20: call 0x250abb20 */ /* not lifted */ 34272 RECOMP_FLAGS_IN(); 34273 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AAD25: mov al, byte ptr [ebp - 0x64] */ 34274 /* test LO8(eax), LO8(eax) */ /* 0x250AAD28: test al, al */ 34275 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34276 _cf = 0; 34277 _flag_k = FK_NARROW(FK_TEST, 24); 34278 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x250AAD2A: mov byte ptr [ebp - 4], 0x1c */ 34279 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAD45; /* 0x250AAD2E: je 0x250aad45 */ 34280 L_250AAD30: 34281 eax = MEM32(0x25238B94); /* 0x250AAD30: mov eax, dword ptr [0x25238b94] */ 34282 ecx = MEM32(eax + 0x894); /* 0x250AAD35: mov ecx, dword ptr [eax + 0x894] */ 34283 PUSH32(esp, 2); /* 0x250AAD3B: push 2 */ 34284 PUSH32(esp, edi); /* 0x250AAD3D: push edi */ 34285 PUSH32(esp, 0x14u); /* 0x250AAD3E: push 0x14 */ 34286 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD40: call 0x250efe90 */ /* not lifted */ 34287 RECOMP_FLAGS_IN(); 34288 L_250AAD45: 34289 SET_LO8(eax, MEM8(ebp + (-0xC0))); /* 0x250AAD45: mov al, byte ptr [ebp - 0xc0] */ 34290 /* test LO8(eax), LO8(eax) */ /* 0x250AAD4B: test al, al */ 34291 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34292 _cf = 0; 34293 _flag_k = FK_NARROW(FK_TEST, 24); 34294 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x250AAD4D: mov byte ptr [ebp - 4], 0x1b */ 34295 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAD69; /* 0x250AAD51: je 0x250aad69 */ 34296 L_250AAD53: 34297 ecx = MEM32(0x25238B94); /* 0x250AAD53: mov ecx, dword ptr [0x25238b94] */ 34298 ecx = MEM32(ecx + 0x894); /* 0x250AAD59: mov ecx, dword ptr [ecx + 0x894] */ 34299 PUSH32(esp, 2); /* 0x250AAD5F: push 2 */ 34300 PUSH32(esp, ebx); /* 0x250AAD61: push ebx */ 34301 PUSH32(esp, 0x13u); /* 0x250AAD62: push 0x13 */ 34302 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD64: call 0x250efe90 */ /* not lifted */ 34303 RECOMP_FLAGS_IN(); 34304 L_250AAD69: 34305 SET_LO8(eax, MEM8(ebp + (-0x104))); /* 0x250AAD69: mov al, byte ptr [ebp - 0x104] */ 34306 /* test LO8(eax), LO8(eax) */ /* 0x250AAD6F: test al, al */ 34307 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34308 _cf = 0; 34309 _flag_k = FK_NARROW(FK_TEST, 24); 34310 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AAD71: mov byte ptr [ebp - 4], 0xe */ 34311 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AAD75: je 0x250ab084 */ 34312 L_250AAD7B: 34313 eax = MEM32(ebp + (-0x14)); /* 0x250AAD7B: mov eax, dword ptr [ebp - 0x14] */ 34314 edx = MEM32(0x25238B94); /* 0x250AAD7E: mov edx, dword ptr [0x25238b94] */ 34315 ecx = MEM32(edx + 0x894); /* 0x250AAD84: mov ecx, dword ptr [edx + 0x894] */ 34316 PUSH32(esp, 2); /* 0x250AAD8A: push 2 */ 34317 PUSH32(esp, eax); /* 0x250AAD8C: push eax */ 34318 PUSH32(esp, 0x1Bu); /* 0x250AAD8D: push 0x1b */ 34319 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD8F: call 0x250efe90 */ /* not lifted */ 34320 RECOMP_FLAGS_IN(); 34321 goto L_250AB084; /* 0x250AAD94: jmp 0x250ab084 */ 34322 L_250AB084: 34323 eax = MEM32(ebp + 0x8); /* 0x250AB084: mov eax, dword ptr [ebp + 8] */ 34324 PUSH32(esp, eax); /* 0x250AB087: push eax */ 34325 ecx = esi; /* 0x250AB088: mov ecx, esi */ 34326 RECOMP_ICALL(0x250A9800u); /* 0x250AB08A: call 0x250a9800 */ /* not lifted */ 34327 RECOMP_FLAGS_IN(); 34328 ecx = MEM32(ebp + (-0xB8)); /* 0x250AB08F: mov ecx, dword ptr [ebp - 0xb8] */ 34329 PUSH32(esp, ecx); /* 0x250AB095: push ecx */ 34330 RECOMP_ICALL(0x25137EECu); /* 0x250AB096: call 0x25137eec */ /* not lifted */ 34331 RECOMP_FLAGS_IN(); 34332 eax = MEM32(ebp + (-0x90)); /* 0x250AB09B: mov eax, dword ptr [ebp - 0x90] */ 34333 edi = MEM32(ebp + (-0x94)); /* 0x250AB0A1: mov edi, dword ptr [ebp - 0x94] */ 34334 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34335 ebx = 0; /* 0x250AB0A7: xor ebx, ebx */ 34336 _cf = 0; 34337 _flag_k = FK_TEST; 34338 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 34339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34340 esp = esp + 4; /* 0x250AB0A9: add esp, 4 */ 34341 _flag_k = FK_ADD; 34342 /* cmp edi, eax */ /* 0x250AB0AC: cmp edi, eax */ 34343 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 34344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34345 _flag_k = FK_CMP; 34346 MEM32(ebp + (-0xB8)) = ebx; /* 0x250AB0AE: mov dword ptr [ebp - 0xb8], ebx */ 34347 MEM32(ebp + (-0xB4)) = ebx; /* 0x250AB0B4: mov dword ptr [ebp - 0xb4], ebx */ 34348 MEM32(ebp + (-0xB0)) = ebx; /* 0x250AB0BA: mov dword ptr [ebp - 0xb0], ebx */ 34349 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x250AB0C0: mov byte ptr [ebp - 4], 7 */ 34350 MEM32(ebp + (-0x14)) = eax; /* 0x250AB0C4: mov dword ptr [ebp - 0x14], eax */ 34351 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB0E1; /* 0x250AB0C7: je 0x250ab0e1 */ 34352 L_250AB0C9: 34353 PUSH32(esp, ebx); /* 0x250AB0C9: push ebx */ 34354 ecx = edi; /* 0x250AB0CA: mov ecx, edi */ 34355 RECOMP_ICALL(0x250AD010u); /* 0x250AB0CC: call 0x250ad010 */ /* not lifted */ 34356 RECOMP_FLAGS_IN(); 34357 eax = MEM32(ebp + (-0x14)); /* 0x250AB0D1: mov eax, dword ptr [ebp - 0x14] */ 34358 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 34359 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34360 edi = edi + 0x10u; /* 0x250AB0D4: add edi, 0x10 */ 34361 _flag_k = FK_ADD; 34362 /* cmp edi, eax */ /* 0x250AB0D7: cmp edi, eax */ 34363 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 34364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34365 _flag_k = FK_CMP; 34366 RECOMP_BACKEDGE(); 34367 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB0C9; /* 0x250AB0D9: jne 0x250ab0c9 */ 34368 L_250AB0DB: 34369 edi = MEM32(ebp + (-0x94)); /* 0x250AB0DB: mov edi, dword ptr [ebp - 0x94] */ 34370 L_250AB0E1: 34371 PUSH32(esp, edi); /* 0x250AB0E1: push edi */ 34372 RECOMP_ICALL(0x25137EECu); /* 0x250AB0E2: call 0x25137eec */ /* not lifted */ 34373 RECOMP_FLAGS_IN(); 34374 eax = MEM32(ebp + (-0xA4)); /* 0x250AB0E7: mov eax, dword ptr [ebp - 0xa4] */ 34375 edi = MEM32(ebp + (-0xA8)); /* 0x250AB0ED: mov edi, dword ptr [ebp - 0xa8] */ 34376 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 34377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34378 esp = esp + 4; /* 0x250AB0F3: add esp, 4 */ 34379 _flag_k = FK_ADD; 34380 /* cmp edi, eax */ /* 0x250AB0F6: cmp edi, eax */ 34381 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 34382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34383 _flag_k = FK_CMP; 34384 MEM32(ebp + (-0x94)) = ebx; /* 0x250AB0F8: mov dword ptr [ebp - 0x94], ebx */ 34385 MEM32(ebp + (-0x90)) = ebx; /* 0x250AB0FE: mov dword ptr [ebp - 0x90], ebx */ 34386 MEM32(ebp + (-0x8C)) = ebx; /* 0x250AB104: mov dword ptr [ebp - 0x8c], ebx */ 34387 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250AB10A: mov byte ptr [ebp - 4], 6 */ 34388 MEM32(ebp + (-0x14)) = eax; /* 0x250AB10E: mov dword ptr [ebp - 0x14], eax */ 34389 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB12B; /* 0x250AB111: je 0x250ab12b */ 34390 L_250AB113: 34391 PUSH32(esp, ebx); /* 0x250AB113: push ebx */ 34392 ecx = edi; /* 0x250AB114: mov ecx, edi */ 34393 RECOMP_ICALL(0x250AD010u); /* 0x250AB116: call 0x250ad010 */ /* not lifted */ 34394 RECOMP_FLAGS_IN(); 34395 eax = MEM32(ebp + (-0x14)); /* 0x250AB11B: mov eax, dword ptr [ebp - 0x14] */ 34396 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 34397 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34398 edi = edi + 0x10u; /* 0x250AB11E: add edi, 0x10 */ 34399 _flag_k = FK_ADD; 34400 /* cmp edi, eax */ /* 0x250AB121: cmp edi, eax */ 34401 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 34402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34403 _flag_k = FK_CMP; 34404 RECOMP_BACKEDGE(); 34405 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB113; /* 0x250AB123: jne 0x250ab113 */ 34406 L_250AB125: 34407 edi = MEM32(ebp + (-0xA8)); /* 0x250AB125: mov edi, dword ptr [ebp - 0xa8] */ 34408 L_250AB12B: 34409 PUSH32(esp, edi); /* 0x250AB12B: push edi */ 34410 RECOMP_ICALL(0x25137EECu); /* 0x250AB12C: call 0x25137eec */ /* not lifted */ 34411 RECOMP_FLAGS_IN(); 34412 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 34413 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34414 esp = esp + 4; /* 0x250AB131: add esp, 4 */ 34415 _flag_k = FK_ADD; 34416 goto L_250AB7E2; /* 0x250AB134: jmp 0x250ab7e2 */ 34417 L_250AB7E2: 34418 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 34419 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 34420 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34421 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 34422 _cf = 0; 34423 _flag_k = FK_TEST; 34424 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 34425 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 34426 fp_pop(); 34427 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 34428 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 34429 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 34430 _cf = 0; 34431 _flag_k = FK_NARROW(FK_TEST, 24); 34432 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 34433 L_250AB802: 34434 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 34435 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 34436 fp_pop(); 34437 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 34438 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 34439 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 34440 _cf = 0; 34441 _flag_k = FK_NARROW(FK_TEST, 24); 34442 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 34443 L_250AB819: 34444 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 34445 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 34446 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 34447 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 34448 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 34449 RECOMP_FLAGS_IN(); 34450 ecx = edi; /* 0x250AB825: mov ecx, edi */ 34451 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 34452 RECOMP_FLAGS_IN(); 34453 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 34454 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 34455 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 34456 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 34457 edx = ecx; /* 0x250AB838: mov edx, ecx */ 34458 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 34459 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 34460 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 34461 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 34462 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 34463 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 34464 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 34465 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 34466 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 34467 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 34468 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 34469 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 34470 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 34471 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 34472 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 34473 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 34474 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 34475 ecx = esi; /* 0x250AB880: mov ecx, esi */ 34476 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 34477 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 34478 RECOMP_FLAGS_IN(); 34479 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 34480 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 34481 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 34482 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 34483 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 34484 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 34485 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 34486 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 34487 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 34488 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 34489 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 34490 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 34491 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 34492 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 34493 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 34494 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 34495 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 34496 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 34497 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 34498 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 34499 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 34500 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 34501 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 34502 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 34503 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 34504 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 34505 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 34506 RECOMP_FLAGS_IN(); 34507 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 34508 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 34509 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 34510 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 34511 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 34512 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 34513 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 34514 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 34515 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 34516 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 34517 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 34518 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 34519 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 34520 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 34521 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 34522 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 34523 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 34524 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 34525 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 34526 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 34527 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 34528 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 34529 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 34530 PUSH32(esp, edi); /* 0x250AB957: push edi */ 34531 ecx = esi; /* 0x250AB958: mov ecx, esi */ 34532 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 34533 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 34534 RECOMP_FLAGS_IN(); 34535 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 34536 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 34537 L_250AB969: 34538 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 34539 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 34540 fp_pop(); 34541 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 34542 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 34543 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 34544 _cf = 0; 34545 _flag_k = FK_NARROW(FK_TEST, 24); 34546 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 34547 L_250AB97C: 34548 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 34549 L_250AB982: 34550 ecx = edi; /* 0x250AB982: mov ecx, edi */ 34551 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 34552 RECOMP_FLAGS_IN(); 34553 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 34554 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 34555 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 34556 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 34557 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 34558 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 34559 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 34560 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 34561 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 34562 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 34563 RECOMP_FLAGS_IN(); 34564 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 34565 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 34566 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34567 _cf = 0; 34568 _flag_k = FK_NARROW(FK_TEST, 24); 34569 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 34570 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 34571 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 34572 L_250AB9BB: 34573 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 34574 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 34575 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 34576 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 34577 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 34578 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 34579 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 34580 RECOMP_FLAGS_IN(); 34581 L_250AB9D6: 34582 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 34583 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 34584 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34585 _cf = 0; 34586 _flag_k = FK_NARROW(FK_TEST, 24); 34587 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 34588 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 34589 L_250AB9E4: 34590 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 34591 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 34592 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 34593 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 34594 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 34595 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 34596 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 34597 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 34598 RECOMP_FLAGS_IN(); 34599 L_250ABA00: 34600 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 34601 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 34602 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34603 _cf = 0; 34604 _flag_k = FK_NARROW(FK_TEST, 24); 34605 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 34606 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 34607 L_250ABA0E: 34608 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 34609 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 34610 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 34611 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 34612 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 34613 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 34614 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 34615 RECOMP_FLAGS_IN(); 34616 L_250ABA2C: 34617 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 34618 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 34619 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34620 _cf = 0; 34621 _flag_k = FK_NARROW(FK_TEST, 24); 34622 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 34623 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 34624 L_250ABA3A: 34625 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 34626 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 34627 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 34628 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 34629 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 34630 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 34631 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 34632 RECOMP_FLAGS_IN(); 34633 L_250ABA55: 34634 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 34635 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 34636 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34637 _cf = 0; 34638 _flag_k = FK_NARROW(FK_TEST, 24); 34639 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 34640 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 34641 L_250ABA63: 34642 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 34643 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 34644 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 34645 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 34646 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 34647 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 34648 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 34649 RECOMP_FLAGS_IN(); 34650 L_250ABA7E: 34651 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 34652 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 34653 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34654 _cf = 0; 34655 _flag_k = FK_NARROW(FK_TEST, 24); 34656 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 34657 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 34658 L_250ABA8F: 34659 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 34660 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 34661 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 34662 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 34663 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 34664 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 34665 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 34666 RECOMP_FLAGS_IN(); 34667 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 34668 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 34669 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 34670 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 34671 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 34672 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 34673 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 34674 L_250ABAC2: 34675 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 34676 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 34677 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 34678 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 34679 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 34680 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 34681 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 34682 RECOMP_REGS_OUT(); 34683 } 34684 34685 void sub_250AAADA(void) { 34686 int _fpu_cmp = 0; 34687 uint32_t _cf = 0; 34688 int _df = 1; 34689 uint32_t _flag_k = FK_NONE; 34690 uint32_t _flag_a = 0, _flag_b = 0; 34691 uint32_t _itail_tgt = 0; 34692 RECOMP_REGS_LOCALS 34693 RECOMP_ENTER(0x250AAADAu); 34694 34695 goto L_250AAADA; 34696 L_250AAA6B: 34697 eax = MEM32(ebp + (-0xA8)); /* 0x250AAA6B: mov eax, dword ptr [ebp - 0xa8] */ 34698 /* test eax, eax */ /* 0x250AAA71: test eax, eax */ 34699 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34700 _cf = 0; 34701 _flag_k = FK_TEST; 34702 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAB7E; /* 0x250AAA73: je 0x250aab7e */ 34703 L_250AAA79: 34704 ecx = MEM32(ebp + (-0xA4)); /* 0x250AAA79: mov ecx, dword ptr [ebp - 0xa4] */ 34705 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 34706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34707 ecx = ecx - eax; /* 0x250AAA7F: sub ecx, eax */ 34708 _flag_k = FK_CMP; 34709 eax = MEM32(ebp + (-0x44)); /* 0x250AAA81: mov eax, dword ptr [ebp - 0x44] */ 34710 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x250AAA84: sar ecx, 4 */ 34711 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34712 ecx = (uint32_t)((int32_t)ecx >> 4u); 34713 /* cmp eax, ecx */ /* 0x250AAA87: cmp eax, ecx */ 34714 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 34715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34716 _flag_k = FK_CMP; 34717 if (CMP_AE(_flag_a, _flag_b)) goto L_250AAB7E; /* 0x250AAA89: jae 0x250aab7e */ 34718 L_250AAA8F: 34719 ecx = MEM32(ebp + (-0xB8)); /* 0x250AAA8F: mov ecx, dword ptr [ebp - 0xb8] */ 34720 edx = MEM32(ebp + (-0x9C)); /* 0x250AAA95: mov edx, dword ptr [ebp - 0x9c] */ 34721 ebx = eax; /* 0x250AAA9B: mov ebx, eax */ 34722 eax = MEM32(ecx + ebx * 8 + 0x4); /* 0x250AAA9D: mov eax, dword ptr [ecx + ebx*8 + 4] */ 34723 eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(edx + 0x48)); /* 0x250AAAA1: imul eax, dword ptr [edx + 0x48] */ 34724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + ebx * 8)); 34725 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34726 eax = eax + MEM32(ecx + ebx * 8); /* 0x250AAAA5: add eax, dword ptr [ecx + ebx*8] */ 34727 _flag_k = FK_ADD; 34728 ecx = eax * 8; /* 0x250AAAA8: lea ecx, [eax*8] */ 34729 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 34730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34731 ecx = ecx - eax; /* 0x250AAAAF: sub ecx, eax */ 34732 _flag_k = FK_CMP; 34733 eax = ecx + ecx * 2; /* 0x250AAAB1: lea eax, [ecx + ecx*2] */ 34734 ecx = MEM32(edx + 0x50); /* 0x250AAAB4: mov ecx, dword ptr [edx + 0x50] */ 34735 ebx = ecx + eax * 4; /* 0x250AAAB7: lea ebx, [ecx + eax*4] */ 34736 PUSH32(esp, ebx); /* 0x250AAABA: push ebx */ 34737 ecx = edx; /* 0x250AAABB: mov ecx, edx */ 34738 RECOMP_ICALL(0x2504EB80u); /* 0x250AAABD: call 0x2504eb80 */ /* not lifted */ 34739 RECOMP_FLAGS_IN(); 34740 eax = MEM32(ebx + 0x50); /* 0x250AAAC2: mov eax, dword ptr [ebx + 0x50] */ 34741 /* test eax, eax */ /* 0x250AAAC5: test eax, eax */ 34742 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34743 _cf = 0; 34744 _flag_k = FK_TEST; 34745 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAAD1; /* 0x250AAAC7: je 0x250aaad1 */ 34746 L_250AAAC9: 34747 MEM32(ebp + (-0x88)) = eax; /* 0x250AAAC9: mov dword ptr [ebp - 0x88], eax */ 34748 goto L_250AAADA; /* 0x250AAACF: jmp 0x250aaada */ 34749 L_250AAAD1: 34750 edx = MEM32(ebx + 0x48); /* 0x250AAAD1: mov edx, dword ptr [ebx + 0x48] */ 34751 MEM32(ebp + (-0x88)) = edx; /* 0x250AAAD4: mov dword ptr [ebp - 0x88], edx */ 34752 L_250AAADA: 34753 eax = MEM32(ebp + (-0x9C)); /* 0x250AAADA: mov eax, dword ptr [ebp - 0x9c] */ 34754 ecx = MEM32(eax + 0x24); /* 0x250AAAE0: mov ecx, dword ptr [eax + 0x24] */ 34755 MEM32(ebp + (-0x10)) = ebx; /* 0x250AAAE3: mov dword ptr [ebp - 0x10], ebx */ 34756 MEM32(ebx + 0x40) = ecx; /* 0x250AAAE6: mov dword ptr [ebx + 0x40], ecx */ 34757 ecx = MEM32(ebp + (-0x10)); /* 0x250AAAE9: mov ecx, dword ptr [ebp - 0x10] */ 34758 eax = MEM32(ecx + 0x44); /* 0x250AAAEC: mov eax, dword ptr [ecx + 0x44] */ 34759 /* test eax, eax */ /* 0x250AAAEF: test eax, eax */ 34760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34761 _cf = 0; 34762 _flag_k = FK_TEST; 34763 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AAB29; /* 0x250AAAF1: jne 0x250aab29 */ 34764 L_250AAAF3: 34765 ebx = MEM32(ebp + (-0x9C)); /* 0x250AAAF3: mov ebx, dword ptr [ebp - 0x9c] */ 34766 SET_LO8(eax, MEM8(ebx + 0x28)); /* 0x250AAAF9: mov al, byte ptr [ebx + 0x28] */ 34767 edx = MEM32(ebx + 0x88); /* 0x250AAAFC: mov edx, dword ptr [ebx + 0x88] */ 34768 PUSH32(esp, edx); /* 0x250AAB02: push edx */ 34769 PUSH32(esp, eax); /* 0x250AAB03: push eax */ 34770 RECOMP_ICALL(0x2504BA40u); /* 0x250AAB04: call 0x2504ba40 */ /* not lifted */ 34771 RECOMP_FLAGS_IN(); 34772 eax = MEM32(ebx + 0xC4); /* 0x250AAB09: mov eax, dword ptr [ebx + 0xc4] */ 34773 ecx = ebx + 0xBC; /* 0x250AAB0F: lea ecx, [ebx + 0xbc] */ 34774 edx = ebp + (-0x10); /* 0x250AAB15: lea edx, [ebp - 0x10] */ 34775 PUSH32(esp, edx); /* 0x250AAB18: push edx */ 34776 PUSH32(esp, eax); /* 0x250AAB19: push eax */ 34777 RECOMP_ICALL(0x2504AC20u); /* 0x250AAB1A: call 0x2504ac20 */ /* not lifted */ 34778 RECOMP_FLAGS_IN(); 34779 ecx = MEM32(ebp + (-0x10)); /* 0x250AAB1F: mov ecx, dword ptr [ebp - 0x10] */ 34780 eax = MEM32(ecx + 0x44); /* 0x250AAB22: mov eax, dword ptr [ecx + 0x44] */ 34781 /* test eax, eax */ /* 0x250AAB25: test eax, eax */ 34782 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34783 _cf = 0; 34784 _flag_k = FK_TEST; 34785 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAB4B; /* 0x250AAB27: je 0x250aab4b */ 34786 L_250AAB29: 34787 edx = MEM32(ebp + (-0x94)); /* 0x250AAB29: mov edx, dword ptr [ebp - 0x94] */ 34788 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAB2F: push -1 */ 34789 ecx = edi + edx; /* 0x250AAB31: lea ecx, [edi + edx] */ 34790 edx = MEM32(ebp + (-0xA8)); /* 0x250AAB34: mov edx, dword ptr [ebp - 0xa8] */ 34791 PUSH32(esp, ecx); /* 0x250AAB3A: push ecx */ 34792 ecx = edi + edx; /* 0x250AAB3B: lea ecx, [edi + edx] */ 34793 edx = MEM32(ebp + 0x8); /* 0x250AAB3E: mov edx, dword ptr [ebp + 8] */ 34794 PUSH32(esp, ecx); /* 0x250AAB41: push ecx */ 34795 PUSH32(esp, eax); /* 0x250AAB42: push eax */ 34796 PUSH32(esp, edx); /* 0x250AAB43: push edx */ 34797 ecx = esi; /* 0x250AAB44: mov ecx, esi */ 34798 RECOMP_ICALL(0x250ABB20u); /* 0x250AAB46: call 0x250abb20 */ /* not lifted */ 34799 RECOMP_FLAGS_IN(); 34800 L_250AAB4B: 34801 eax = MEM32(ebp + (-0x94)); /* 0x250AAB4B: mov eax, dword ptr [ebp - 0x94] */ 34802 edx = MEM32(ebp + (-0xA8)); /* 0x250AAB51: mov edx, dword ptr [ebp - 0xa8] */ 34803 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAB57: push -1 */ 34804 ecx = edi + eax; /* 0x250AAB59: lea ecx, [edi + eax] */ 34805 PUSH32(esp, ecx); /* 0x250AAB5C: push ecx */ 34806 ecx = MEM32(ebp + (-0x88)); /* 0x250AAB5D: mov ecx, dword ptr [ebp - 0x88] */ 34807 eax = edi + edx; /* 0x250AAB63: lea eax, [edi + edx] */ 34808 edx = MEM32(ebp + 0x8); /* 0x250AAB66: mov edx, dword ptr [ebp + 8] */ 34809 PUSH32(esp, eax); /* 0x250AAB69: push eax */ 34810 PUSH32(esp, ecx); /* 0x250AAB6A: push ecx */ 34811 PUSH32(esp, edx); /* 0x250AAB6B: push edx */ 34812 ecx = esi; /* 0x250AAB6C: mov ecx, esi */ 34813 RECOMP_ICALL(0x250ABB20u); /* 0x250AAB6E: call 0x250abb20 */ /* not lifted */ 34814 RECOMP_FLAGS_IN(); 34815 _flag_a = (uint32_t)(MEM32(ebp + (-0x44))); _flag_b = (uint32_t)(1); 34816 MEM32(ebp + (-0x44)) = MEM32(ebp + (-0x44)) + 1; /* 0x250AAB73: inc dword ptr [ebp - 0x44] */ 34817 _flag_k = FK_INC; 34818 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 34819 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34820 edi = edi + 0x10u; /* 0x250AAB76: add edi, 0x10 */ 34821 _flag_k = FK_ADD; 34822 RECOMP_BACKEDGE(); 34823 goto L_250AAA6B; /* 0x250AAB79: jmp 0x250aaa6b */ 34824 L_250AAB7E: 34825 SET_LO8(eax, MEM8(ebp + (-0x38))); /* 0x250AAB7E: mov al, byte ptr [ebp - 0x38] */ 34826 /* test LO8(eax), LO8(eax) */ /* 0x250AAB81: test al, al */ 34827 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34828 _cf = 0; 34829 _flag_k = FK_NARROW(FK_TEST, 24); 34830 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x250AAB83: mov byte ptr [ebp - 4], 0x19 */ 34831 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABA1; /* 0x250AAB87: je 0x250aaba1 */ 34832 L_250AAB89: 34833 edx = MEM32(ebp + (-0x14)); /* 0x250AAB89: mov edx, dword ptr [ebp - 0x14] */ 34834 eax = MEM32(0x25238B94); /* 0x250AAB8C: mov eax, dword ptr [0x25238b94] */ 34835 ecx = MEM32(eax + 0x894); /* 0x250AAB91: mov ecx, dword ptr [eax + 0x894] */ 34836 PUSH32(esp, 2); /* 0x250AAB97: push 2 */ 34837 PUSH32(esp, edx); /* 0x250AAB99: push edx */ 34838 PUSH32(esp, 0x1Bu); /* 0x250AAB9A: push 0x1b */ 34839 RECOMP_ICALL(0x250EFE90u); /* 0x250AAB9C: call 0x250efe90 */ /* not lifted */ 34840 RECOMP_FLAGS_IN(); 34841 L_250AABA1: 34842 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AABA1: mov al, byte ptr [ebp - 0x64] */ 34843 /* test LO8(eax), LO8(eax) */ /* 0x250AABA4: test al, al */ 34844 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34845 _cf = 0; 34846 _flag_k = FK_NARROW(FK_TEST, 24); 34847 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x250AABA6: mov byte ptr [ebp - 4], 0x18 */ 34848 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABC4; /* 0x250AABAA: je 0x250aabc4 */ 34849 L_250AABAC: 34850 edx = MEM32(ebp + (-0x2C)); /* 0x250AABAC: mov edx, dword ptr [ebp - 0x2c] */ 34851 eax = MEM32(0x25238B94); /* 0x250AABAF: mov eax, dword ptr [0x25238b94] */ 34852 ecx = MEM32(eax + 0x894); /* 0x250AABB4: mov ecx, dword ptr [eax + 0x894] */ 34853 PUSH32(esp, 2); /* 0x250AABBA: push 2 */ 34854 PUSH32(esp, edx); /* 0x250AABBC: push edx */ 34855 PUSH32(esp, 0x14u); /* 0x250AABBD: push 0x14 */ 34856 RECOMP_ICALL(0x250EFE90u); /* 0x250AABBF: call 0x250efe90 */ /* not lifted */ 34857 RECOMP_FLAGS_IN(); 34858 L_250AABC4: 34859 SET_LO8(eax, MEM8(ebp + (-0xC0))); /* 0x250AABC4: mov al, byte ptr [ebp - 0xc0] */ 34860 /* test LO8(eax), LO8(eax) */ /* 0x250AABCA: test al, al */ 34861 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34862 _cf = 0; 34863 _flag_k = FK_NARROW(FK_TEST, 24); 34864 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AABCC: mov byte ptr [ebp - 4], 0xe */ 34865 if (TEST_Z(_flag_a, _flag_b)) goto L_250AABEA; /* 0x250AABD0: je 0x250aabea */ 34866 L_250AABD2: 34867 edx = MEM32(ebp + (-0x34)); /* 0x250AABD2: mov edx, dword ptr [ebp - 0x34] */ 34868 eax = MEM32(0x25238B94); /* 0x250AABD5: mov eax, dword ptr [0x25238b94] */ 34869 ecx = MEM32(eax + 0x894); /* 0x250AABDA: mov ecx, dword ptr [eax + 0x894] */ 34870 PUSH32(esp, 2); /* 0x250AABE0: push 2 */ 34871 PUSH32(esp, edx); /* 0x250AABE2: push edx */ 34872 PUSH32(esp, 0x13u); /* 0x250AABE3: push 0x13 */ 34873 RECOMP_ICALL(0x250EFE90u); /* 0x250AABE5: call 0x250efe90 */ /* not lifted */ 34874 RECOMP_FLAGS_IN(); 34875 L_250AABEA: 34876 SET_LO8(eax, MEM8(esi + 0x67)); /* 0x250AABEA: mov al, byte ptr [esi + 0x67] */ 34877 /* test LO8(eax), LO8(eax) */ /* 0x250AABED: test al, al */ 34878 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34879 _cf = 0; 34880 _flag_k = FK_NARROW(FK_TEST, 24); 34881 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AABEF: je 0x250ab084 */ 34882 L_250AABF5: 34883 eax = MEM32(esi + 0x7C); /* 0x250AABF5: mov eax, dword ptr [esi + 0x7c] */ 34884 /* test eax, eax */ /* 0x250AABF8: test eax, eax */ 34885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34886 _cf = 0; 34887 _flag_k = FK_TEST; 34888 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AABFA: je 0x250ab084 */ 34889 L_250AAC00: 34890 eax = MEM32(0x25238B94); /* 0x250AAC00: mov eax, dword ptr [0x25238b94] */ 34891 ecx = MEM32(eax + 0x894); /* 0x250AAC05: mov ecx, dword ptr [eax + 0x894] */ 34892 eax = MEM32(ecx + 0x538); /* 0x250AAC0B: mov eax, dword ptr [ecx + 0x538] */ 34893 PUSH32(esp, 0xAu); /* 0x250AAC11: push 0xa */ 34894 PUSH32(esp, 1); /* 0x250AAC13: push 1 */ 34895 PUSH32(esp, 0x1Bu); /* 0x250AAC15: push 0x1b */ 34896 MEM32(ebp + (-0x10C)) = 0x1Bu; /* 0x250AAC17: mov dword ptr [ebp - 0x10c], 0x1b */ 34897 MEM32(ebp + (-0x14)) = eax; /* 0x250AAC21: mov dword ptr [ebp - 0x14], eax */ 34898 MEM32(ebp + (-0x108)) = eax; /* 0x250AAC24: mov dword ptr [ebp - 0x108], eax */ 34899 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC2A: call 0x250efe90 */ /* not lifted */ 34900 RECOMP_FLAGS_IN(); 34901 MEM8(ebp + (-0x104)) = (uint8_t)(LO8(eax)); /* 0x250AAC2F: mov byte ptr [ebp - 0x104], al */ 34902 ecx = MEM32(0x25238B94); /* 0x250AAC35: mov ecx, dword ptr [0x25238b94] */ 34903 ecx = MEM32(ecx + 0x894); /* 0x250AAC3B: mov ecx, dword ptr [ecx + 0x894] */ 34904 ebx = MEM32(ecx + 0x518); /* 0x250AAC41: mov ebx, dword ptr [ecx + 0x518] */ 34905 PUSH32(esp, 0xAu); /* 0x250AAC47: push 0xa */ 34906 PUSH32(esp, 5); /* 0x250AAC49: push 5 */ 34907 PUSH32(esp, 0x13u); /* 0x250AAC4B: push 0x13 */ 34908 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x250AAC4D: mov byte ptr [ebp - 4], 0x1b */ 34909 MEM32(ebp + (-0xC8)) = 0x13u; /* 0x250AAC51: mov dword ptr [ebp - 0xc8], 0x13 */ 34910 MEM32(ebp + (-0xC4)) = ebx; /* 0x250AAC5B: mov dword ptr [ebp - 0xc4], ebx */ 34911 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC61: call 0x250efe90 */ /* not lifted */ 34912 RECOMP_FLAGS_IN(); 34913 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(eax)); /* 0x250AAC66: mov byte ptr [ebp - 0xc0], al */ 34914 edx = MEM32(0x25238B94); /* 0x250AAC6C: mov edx, dword ptr [0x25238b94] */ 34915 ecx = MEM32(edx + 0x894); /* 0x250AAC72: mov ecx, dword ptr [edx + 0x894] */ 34916 edi = MEM32(ecx + 0x51C); /* 0x250AAC78: mov edi, dword ptr [ecx + 0x51c] */ 34917 PUSH32(esp, 0xAu); /* 0x250AAC7E: push 0xa */ 34918 PUSH32(esp, 6); /* 0x250AAC80: push 6 */ 34919 PUSH32(esp, 0x14u); /* 0x250AAC82: push 0x14 */ 34920 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x250AAC84: mov byte ptr [ebp - 4], 0x1c */ 34921 MEM32(ebp + (-0x6C)) = 0x14u; /* 0x250AAC88: mov dword ptr [ebp - 0x6c], 0x14 */ 34922 MEM32(ebp + (-0x68)) = edi; /* 0x250AAC8F: mov dword ptr [ebp - 0x68], edi */ 34923 RECOMP_ICALL(0x250EFE90u); /* 0x250AAC92: call 0x250efe90 */ /* not lifted */ 34924 RECOMP_FLAGS_IN(); 34925 MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x250AAC97: mov byte ptr [ebp - 0x64], al */ 34926 fp_push(*(float*)&MEM32(esi + 0x48)); /* 0x250AAC9A: fld dword ptr [esi + 0x48] */ 34927 _st[0] -= (double)*(float*)ADDR(esi + 0x40); /* 0x250AAC9D: fsub dword ptr [esi + 0x40] */ 34928 eax = MEM32(ebp + (-0x84)); /* 0x250AACA0: mov eax, dword ptr [ebp - 0x84] */ 34929 ecx = MEM32(ebp + (-0x28)); /* 0x250AACA6: mov ecx, dword ptr [ebp - 0x28] */ 34930 MEM32(ebp + (-0x7C)) = eax; /* 0x250AACA9: mov dword ptr [ebp - 0x7c], eax */ 34931 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AACAC: fmul dword ptr [0x25152160] */ 34932 MEM32(ebp + (-0x78)) = ecx; /* 0x250AACB2: mov dword ptr [ebp - 0x78], ecx */ 34933 _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250AACB5: fadd dword ptr [ebp - 0x28] */ 34934 fp_push(*(float*)&MEM32(esi + 0x44)); /* 0x250AACB8: fld dword ptr [esi + 0x44] */ 34935 _st[0] -= (double)*(float*)ADDR(esi + 0x3C); /* 0x250AACBB: fsub dword ptr [esi + 0x3c] */ 34936 _st[0] *= (double)*(float*)ADDR(0x25152160); /* 0x250AACBE: fmul dword ptr [0x25152160] */ 34937 _st[0] += (double)*(float*)ADDR(ebp + (-0x84)); /* 0x250AACC4: fadd dword ptr [ebp - 0x84] */ 34938 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x250AACCA: fstp dword ptr [ebp - 0x74] */ 34939 fp_push(*(float*)&MEM32(esi + 0x58)); /* 0x250AACCD: fld dword ptr [esi + 0x58] */ 34940 edx = MEM32(ebp + (-0x80)); /* 0x250AACD0: mov edx, dword ptr [ebp - 0x80] */ 34941 _st[0] -= (double)*(float*)ADDR(esi + 0x50); /* 0x250AACD3: fsub dword ptr [esi + 0x50] */ 34942 eax = MEM32(ebp + (-0x30)); /* 0x250AACD6: mov eax, dword ptr [ebp - 0x30] */ 34943 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AACD9: fld dword ptr [esi + 0x60] */ 34944 ecx = ebp + (-0x40); /* 0x250AACDC: lea ecx, [ebp - 0x40] */ 34945 _st[0] *= (double)*(float*)ADDR(0x25156408); /* 0x250AACDF: fmul dword ptr [0x25156408] */ 34946 MEM32(ebp + (-0x40)) = edx; /* 0x250AACE5: mov dword ptr [ebp - 0x40], edx */ 34947 PUSH32(esp, ecx); /* 0x250AACE8: push ecx */ 34948 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250AACE9: fdivp st(1) */ 34949 edx = ebp + (-0x158); /* 0x250AACEB: lea edx, [ebp - 0x158] */ 34950 PUSH32(esp, edx); /* 0x250AACF1: push edx */ 34951 ecx = ebp + (-0x24); /* 0x250AACF2: lea ecx, [ebp - 0x24] */ 34952 MEM32(ebp + (-0x3C)) = eax; /* 0x250AACF5: mov dword ptr [ebp - 0x3c], eax */ 34953 MEM32(ebp + (-0x38)) = 0; /* 0x250AACF8: mov dword ptr [ebp - 0x38], 0 */ 34954 _st[0] += _st[1]; /* 0x250AACFF: fadd st(1) */ 34955 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AAD01: fstp dword ptr [ebp - 0x70] */ 34956 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AAD04: fstp st(0) */ 34957 RECOMP_ICALL(0x250A8070u); /* 0x250AAD06: call 0x250a8070 */ /* not lifted */ 34958 RECOMP_FLAGS_IN(); 34959 ecx = MEM32(esi + 0x7C); /* 0x250AAD0B: mov ecx, dword ptr [esi + 0x7c] */ 34960 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AAD0E: push -1 */ 34961 PUSH32(esp, eax); /* 0x250AAD10: push eax */ 34962 eax = ebp + (-0x7C); /* 0x250AAD11: lea eax, [ebp - 0x7c] */ 34963 PUSH32(esp, eax); /* 0x250AAD14: push eax */ 34964 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x250AAD15: mov byte ptr [ebp - 4], 0x1f */ 34965 PUSH32(esp, ecx); /* 0x250AAD19: push ecx */ 34966 edx = MEM32(ebp + 0x8); /* 0x250AAD1A: mov edx, dword ptr [ebp + 8] */ 34967 PUSH32(esp, edx); /* 0x250AAD1D: push edx */ 34968 ecx = esi; /* 0x250AAD1E: mov ecx, esi */ 34969 RECOMP_ICALL(0x250ABB20u); /* 0x250AAD20: call 0x250abb20 */ /* not lifted */ 34970 RECOMP_FLAGS_IN(); 34971 SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250AAD25: mov al, byte ptr [ebp - 0x64] */ 34972 /* test LO8(eax), LO8(eax) */ /* 0x250AAD28: test al, al */ 34973 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34974 _cf = 0; 34975 _flag_k = FK_NARROW(FK_TEST, 24); 34976 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x250AAD2A: mov byte ptr [ebp - 4], 0x1c */ 34977 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAD45; /* 0x250AAD2E: je 0x250aad45 */ 34978 L_250AAD30: 34979 eax = MEM32(0x25238B94); /* 0x250AAD30: mov eax, dword ptr [0x25238b94] */ 34980 ecx = MEM32(eax + 0x894); /* 0x250AAD35: mov ecx, dword ptr [eax + 0x894] */ 34981 PUSH32(esp, 2); /* 0x250AAD3B: push 2 */ 34982 PUSH32(esp, edi); /* 0x250AAD3D: push edi */ 34983 PUSH32(esp, 0x14u); /* 0x250AAD3E: push 0x14 */ 34984 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD40: call 0x250efe90 */ /* not lifted */ 34985 RECOMP_FLAGS_IN(); 34986 L_250AAD45: 34987 SET_LO8(eax, MEM8(ebp + (-0xC0))); /* 0x250AAD45: mov al, byte ptr [ebp - 0xc0] */ 34988 /* test LO8(eax), LO8(eax) */ /* 0x250AAD4B: test al, al */ 34989 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34990 _cf = 0; 34991 _flag_k = FK_NARROW(FK_TEST, 24); 34992 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x250AAD4D: mov byte ptr [ebp - 4], 0x1b */ 34993 if (TEST_Z(_flag_a, _flag_b)) goto L_250AAD69; /* 0x250AAD51: je 0x250aad69 */ 34994 L_250AAD53: 34995 ecx = MEM32(0x25238B94); /* 0x250AAD53: mov ecx, dword ptr [0x25238b94] */ 34996 ecx = MEM32(ecx + 0x894); /* 0x250AAD59: mov ecx, dword ptr [ecx + 0x894] */ 34997 PUSH32(esp, 2); /* 0x250AAD5F: push 2 */ 34998 PUSH32(esp, ebx); /* 0x250AAD61: push ebx */ 34999 PUSH32(esp, 0x13u); /* 0x250AAD62: push 0x13 */ 35000 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD64: call 0x250efe90 */ /* not lifted */ 35001 RECOMP_FLAGS_IN(); 35002 L_250AAD69: 35003 SET_LO8(eax, MEM8(ebp + (-0x104))); /* 0x250AAD69: mov al, byte ptr [ebp - 0x104] */ 35004 /* test LO8(eax), LO8(eax) */ /* 0x250AAD6F: test al, al */ 35005 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35006 _cf = 0; 35007 _flag_k = FK_NARROW(FK_TEST, 24); 35008 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x250AAD71: mov byte ptr [ebp - 4], 0xe */ 35009 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB084; /* 0x250AAD75: je 0x250ab084 */ 35010 L_250AAD7B: 35011 eax = MEM32(ebp + (-0x14)); /* 0x250AAD7B: mov eax, dword ptr [ebp - 0x14] */ 35012 edx = MEM32(0x25238B94); /* 0x250AAD7E: mov edx, dword ptr [0x25238b94] */ 35013 ecx = MEM32(edx + 0x894); /* 0x250AAD84: mov ecx, dword ptr [edx + 0x894] */ 35014 PUSH32(esp, 2); /* 0x250AAD8A: push 2 */ 35015 PUSH32(esp, eax); /* 0x250AAD8C: push eax */ 35016 PUSH32(esp, 0x1Bu); /* 0x250AAD8D: push 0x1b */ 35017 RECOMP_ICALL(0x250EFE90u); /* 0x250AAD8F: call 0x250efe90 */ /* not lifted */ 35018 RECOMP_FLAGS_IN(); 35019 goto L_250AB084; /* 0x250AAD94: jmp 0x250ab084 */ 35020 L_250AB084: 35021 eax = MEM32(ebp + 0x8); /* 0x250AB084: mov eax, dword ptr [ebp + 8] */ 35022 PUSH32(esp, eax); /* 0x250AB087: push eax */ 35023 ecx = esi; /* 0x250AB088: mov ecx, esi */ 35024 RECOMP_ICALL(0x250A9800u); /* 0x250AB08A: call 0x250a9800 */ /* not lifted */ 35025 RECOMP_FLAGS_IN(); 35026 ecx = MEM32(ebp + (-0xB8)); /* 0x250AB08F: mov ecx, dword ptr [ebp - 0xb8] */ 35027 PUSH32(esp, ecx); /* 0x250AB095: push ecx */ 35028 RECOMP_ICALL(0x25137EECu); /* 0x250AB096: call 0x25137eec */ /* not lifted */ 35029 RECOMP_FLAGS_IN(); 35030 eax = MEM32(ebp + (-0x90)); /* 0x250AB09B: mov eax, dword ptr [ebp - 0x90] */ 35031 edi = MEM32(ebp + (-0x94)); /* 0x250AB0A1: mov edi, dword ptr [ebp - 0x94] */ 35032 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35033 ebx = 0; /* 0x250AB0A7: xor ebx, ebx */ 35034 _cf = 0; 35035 _flag_k = FK_TEST; 35036 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 35037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35038 esp = esp + 4; /* 0x250AB0A9: add esp, 4 */ 35039 _flag_k = FK_ADD; 35040 /* cmp edi, eax */ /* 0x250AB0AC: cmp edi, eax */ 35041 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35043 _flag_k = FK_CMP; 35044 MEM32(ebp + (-0xB8)) = ebx; /* 0x250AB0AE: mov dword ptr [ebp - 0xb8], ebx */ 35045 MEM32(ebp + (-0xB4)) = ebx; /* 0x250AB0B4: mov dword ptr [ebp - 0xb4], ebx */ 35046 MEM32(ebp + (-0xB0)) = ebx; /* 0x250AB0BA: mov dword ptr [ebp - 0xb0], ebx */ 35047 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x250AB0C0: mov byte ptr [ebp - 4], 7 */ 35048 MEM32(ebp + (-0x14)) = eax; /* 0x250AB0C4: mov dword ptr [ebp - 0x14], eax */ 35049 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB0E1; /* 0x250AB0C7: je 0x250ab0e1 */ 35050 L_250AB0C9: 35051 PUSH32(esp, ebx); /* 0x250AB0C9: push ebx */ 35052 ecx = edi; /* 0x250AB0CA: mov ecx, edi */ 35053 RECOMP_ICALL(0x250AD010u); /* 0x250AB0CC: call 0x250ad010 */ /* not lifted */ 35054 RECOMP_FLAGS_IN(); 35055 eax = MEM32(ebp + (-0x14)); /* 0x250AB0D1: mov eax, dword ptr [ebp - 0x14] */ 35056 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 35057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35058 edi = edi + 0x10u; /* 0x250AB0D4: add edi, 0x10 */ 35059 _flag_k = FK_ADD; 35060 /* cmp edi, eax */ /* 0x250AB0D7: cmp edi, eax */ 35061 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35063 _flag_k = FK_CMP; 35064 RECOMP_BACKEDGE(); 35065 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB0C9; /* 0x250AB0D9: jne 0x250ab0c9 */ 35066 L_250AB0DB: 35067 edi = MEM32(ebp + (-0x94)); /* 0x250AB0DB: mov edi, dword ptr [ebp - 0x94] */ 35068 L_250AB0E1: 35069 PUSH32(esp, edi); /* 0x250AB0E1: push edi */ 35070 RECOMP_ICALL(0x25137EECu); /* 0x250AB0E2: call 0x25137eec */ /* not lifted */ 35071 RECOMP_FLAGS_IN(); 35072 eax = MEM32(ebp + (-0xA4)); /* 0x250AB0E7: mov eax, dword ptr [ebp - 0xa4] */ 35073 edi = MEM32(ebp + (-0xA8)); /* 0x250AB0ED: mov edi, dword ptr [ebp - 0xa8] */ 35074 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 35075 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35076 esp = esp + 4; /* 0x250AB0F3: add esp, 4 */ 35077 _flag_k = FK_ADD; 35078 /* cmp edi, eax */ /* 0x250AB0F6: cmp edi, eax */ 35079 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35081 _flag_k = FK_CMP; 35082 MEM32(ebp + (-0x94)) = ebx; /* 0x250AB0F8: mov dword ptr [ebp - 0x94], ebx */ 35083 MEM32(ebp + (-0x90)) = ebx; /* 0x250AB0FE: mov dword ptr [ebp - 0x90], ebx */ 35084 MEM32(ebp + (-0x8C)) = ebx; /* 0x250AB104: mov dword ptr [ebp - 0x8c], ebx */ 35085 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250AB10A: mov byte ptr [ebp - 4], 6 */ 35086 MEM32(ebp + (-0x14)) = eax; /* 0x250AB10E: mov dword ptr [ebp - 0x14], eax */ 35087 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB12B; /* 0x250AB111: je 0x250ab12b */ 35088 L_250AB113: 35089 PUSH32(esp, ebx); /* 0x250AB113: push ebx */ 35090 ecx = edi; /* 0x250AB114: mov ecx, edi */ 35091 RECOMP_ICALL(0x250AD010u); /* 0x250AB116: call 0x250ad010 */ /* not lifted */ 35092 RECOMP_FLAGS_IN(); 35093 eax = MEM32(ebp + (-0x14)); /* 0x250AB11B: mov eax, dword ptr [ebp - 0x14] */ 35094 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 35095 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35096 edi = edi + 0x10u; /* 0x250AB11E: add edi, 0x10 */ 35097 _flag_k = FK_ADD; 35098 /* cmp edi, eax */ /* 0x250AB121: cmp edi, eax */ 35099 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35101 _flag_k = FK_CMP; 35102 RECOMP_BACKEDGE(); 35103 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB113; /* 0x250AB123: jne 0x250ab113 */ 35104 L_250AB125: 35105 edi = MEM32(ebp + (-0xA8)); /* 0x250AB125: mov edi, dword ptr [ebp - 0xa8] */ 35106 L_250AB12B: 35107 PUSH32(esp, edi); /* 0x250AB12B: push edi */ 35108 RECOMP_ICALL(0x25137EECu); /* 0x250AB12C: call 0x25137eec */ /* not lifted */ 35109 RECOMP_FLAGS_IN(); 35110 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 35111 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35112 esp = esp + 4; /* 0x250AB131: add esp, 4 */ 35113 _flag_k = FK_ADD; 35114 goto L_250AB7E2; /* 0x250AB134: jmp 0x250ab7e2 */ 35115 L_250AB7E2: 35116 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 35117 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 35118 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35119 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 35120 _cf = 0; 35121 _flag_k = FK_TEST; 35122 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 35123 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 35124 fp_pop(); 35125 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 35126 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 35127 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 35128 _cf = 0; 35129 _flag_k = FK_NARROW(FK_TEST, 24); 35130 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 35131 L_250AB802: 35132 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 35133 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 35134 fp_pop(); 35135 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 35136 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 35137 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 35138 _cf = 0; 35139 _flag_k = FK_NARROW(FK_TEST, 24); 35140 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 35141 L_250AB819: 35142 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 35143 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 35144 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 35145 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 35146 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 35147 RECOMP_FLAGS_IN(); 35148 ecx = edi; /* 0x250AB825: mov ecx, edi */ 35149 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 35150 RECOMP_FLAGS_IN(); 35151 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 35152 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 35153 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 35154 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 35155 edx = ecx; /* 0x250AB838: mov edx, ecx */ 35156 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 35157 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 35158 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 35159 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 35160 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 35161 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 35162 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 35163 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 35164 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 35165 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 35166 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 35167 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 35168 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 35169 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 35170 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 35171 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 35172 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 35173 ecx = esi; /* 0x250AB880: mov ecx, esi */ 35174 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 35175 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 35176 RECOMP_FLAGS_IN(); 35177 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 35178 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 35179 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 35180 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 35181 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 35182 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 35183 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 35184 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 35185 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 35186 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 35187 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 35188 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 35189 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 35190 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 35191 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 35192 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 35193 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 35194 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 35195 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 35196 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 35197 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 35198 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 35199 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 35200 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 35201 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 35202 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 35203 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 35204 RECOMP_FLAGS_IN(); 35205 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 35206 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 35207 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 35208 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 35209 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 35210 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 35211 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 35212 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 35213 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 35214 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 35215 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 35216 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 35217 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 35218 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 35219 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 35220 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 35221 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 35222 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 35223 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 35224 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 35225 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 35226 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 35227 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 35228 PUSH32(esp, edi); /* 0x250AB957: push edi */ 35229 ecx = esi; /* 0x250AB958: mov ecx, esi */ 35230 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 35231 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 35232 RECOMP_FLAGS_IN(); 35233 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 35234 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 35235 L_250AB969: 35236 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 35237 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 35238 fp_pop(); 35239 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 35240 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 35241 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 35242 _cf = 0; 35243 _flag_k = FK_NARROW(FK_TEST, 24); 35244 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 35245 L_250AB97C: 35246 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 35247 L_250AB982: 35248 ecx = edi; /* 0x250AB982: mov ecx, edi */ 35249 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 35250 RECOMP_FLAGS_IN(); 35251 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 35252 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 35253 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 35254 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 35255 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 35256 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 35257 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 35258 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 35259 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 35260 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 35261 RECOMP_FLAGS_IN(); 35262 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 35263 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 35264 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35265 _cf = 0; 35266 _flag_k = FK_NARROW(FK_TEST, 24); 35267 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 35268 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 35269 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 35270 L_250AB9BB: 35271 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 35272 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 35273 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 35274 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 35275 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 35276 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 35277 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 35278 RECOMP_FLAGS_IN(); 35279 L_250AB9D6: 35280 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 35281 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 35282 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35283 _cf = 0; 35284 _flag_k = FK_NARROW(FK_TEST, 24); 35285 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 35286 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 35287 L_250AB9E4: 35288 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 35289 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 35290 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 35291 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 35292 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 35293 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 35294 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 35295 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 35296 RECOMP_FLAGS_IN(); 35297 L_250ABA00: 35298 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 35299 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 35300 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35301 _cf = 0; 35302 _flag_k = FK_NARROW(FK_TEST, 24); 35303 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 35304 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 35305 L_250ABA0E: 35306 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 35307 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 35308 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 35309 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 35310 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 35311 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 35312 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 35313 RECOMP_FLAGS_IN(); 35314 L_250ABA2C: 35315 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 35316 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 35317 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35318 _cf = 0; 35319 _flag_k = FK_NARROW(FK_TEST, 24); 35320 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 35321 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 35322 L_250ABA3A: 35323 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 35324 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 35325 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 35326 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 35327 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 35328 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 35329 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 35330 RECOMP_FLAGS_IN(); 35331 L_250ABA55: 35332 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 35333 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 35334 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35335 _cf = 0; 35336 _flag_k = FK_NARROW(FK_TEST, 24); 35337 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 35338 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 35339 L_250ABA63: 35340 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 35341 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 35342 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 35343 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 35344 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 35345 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 35346 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 35347 RECOMP_FLAGS_IN(); 35348 L_250ABA7E: 35349 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 35350 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 35351 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35352 _cf = 0; 35353 _flag_k = FK_NARROW(FK_TEST, 24); 35354 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 35355 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 35356 L_250ABA8F: 35357 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 35358 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 35359 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 35360 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 35361 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 35362 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 35363 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 35364 RECOMP_FLAGS_IN(); 35365 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 35366 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 35367 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 35368 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 35369 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 35370 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 35371 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 35372 L_250ABAC2: 35373 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 35374 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 35375 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 35376 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 35377 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 35378 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 35379 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 35380 RECOMP_REGS_OUT(); 35381 } 35382 35383 void sub_250AB084(void) { 35384 int _fpu_cmp = 0; 35385 uint32_t _cf = 0; 35386 int _df = 1; 35387 uint32_t _flag_k = FK_NONE; 35388 uint32_t _flag_a = 0, _flag_b = 0; 35389 uint32_t _itail_tgt = 0; 35390 RECOMP_REGS_LOCALS 35391 RECOMP_ENTER(0x250AB084u); 35392 35393 L_250AB084: 35394 eax = MEM32(ebp + 0x8); /* 0x250AB084: mov eax, dword ptr [ebp + 8] */ 35395 PUSH32(esp, eax); /* 0x250AB087: push eax */ 35396 ecx = esi; /* 0x250AB088: mov ecx, esi */ 35397 RECOMP_ICALL(0x250A9800u); /* 0x250AB08A: call 0x250a9800 */ /* not lifted */ 35398 RECOMP_FLAGS_IN(); 35399 ecx = MEM32(ebp + (-0xB8)); /* 0x250AB08F: mov ecx, dword ptr [ebp - 0xb8] */ 35400 PUSH32(esp, ecx); /* 0x250AB095: push ecx */ 35401 RECOMP_ICALL(0x25137EECu); /* 0x250AB096: call 0x25137eec */ /* not lifted */ 35402 RECOMP_FLAGS_IN(); 35403 eax = MEM32(ebp + (-0x90)); /* 0x250AB09B: mov eax, dword ptr [ebp - 0x90] */ 35404 edi = MEM32(ebp + (-0x94)); /* 0x250AB0A1: mov edi, dword ptr [ebp - 0x94] */ 35405 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35406 ebx = 0; /* 0x250AB0A7: xor ebx, ebx */ 35407 _cf = 0; 35408 _flag_k = FK_TEST; 35409 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 35410 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35411 esp = esp + 4; /* 0x250AB0A9: add esp, 4 */ 35412 _flag_k = FK_ADD; 35413 /* cmp edi, eax */ /* 0x250AB0AC: cmp edi, eax */ 35414 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35416 _flag_k = FK_CMP; 35417 MEM32(ebp + (-0xB8)) = ebx; /* 0x250AB0AE: mov dword ptr [ebp - 0xb8], ebx */ 35418 MEM32(ebp + (-0xB4)) = ebx; /* 0x250AB0B4: mov dword ptr [ebp - 0xb4], ebx */ 35419 MEM32(ebp + (-0xB0)) = ebx; /* 0x250AB0BA: mov dword ptr [ebp - 0xb0], ebx */ 35420 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x250AB0C0: mov byte ptr [ebp - 4], 7 */ 35421 MEM32(ebp + (-0x14)) = eax; /* 0x250AB0C4: mov dword ptr [ebp - 0x14], eax */ 35422 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB0E1; /* 0x250AB0C7: je 0x250ab0e1 */ 35423 L_250AB0C9: 35424 PUSH32(esp, ebx); /* 0x250AB0C9: push ebx */ 35425 ecx = edi; /* 0x250AB0CA: mov ecx, edi */ 35426 RECOMP_ICALL(0x250AD010u); /* 0x250AB0CC: call 0x250ad010 */ /* not lifted */ 35427 RECOMP_FLAGS_IN(); 35428 eax = MEM32(ebp + (-0x14)); /* 0x250AB0D1: mov eax, dword ptr [ebp - 0x14] */ 35429 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 35430 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35431 edi = edi + 0x10u; /* 0x250AB0D4: add edi, 0x10 */ 35432 _flag_k = FK_ADD; 35433 /* cmp edi, eax */ /* 0x250AB0D7: cmp edi, eax */ 35434 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35436 _flag_k = FK_CMP; 35437 RECOMP_BACKEDGE(); 35438 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB0C9; /* 0x250AB0D9: jne 0x250ab0c9 */ 35439 L_250AB0DB: 35440 edi = MEM32(ebp + (-0x94)); /* 0x250AB0DB: mov edi, dword ptr [ebp - 0x94] */ 35441 L_250AB0E1: 35442 PUSH32(esp, edi); /* 0x250AB0E1: push edi */ 35443 RECOMP_ICALL(0x25137EECu); /* 0x250AB0E2: call 0x25137eec */ /* not lifted */ 35444 RECOMP_FLAGS_IN(); 35445 eax = MEM32(ebp + (-0xA4)); /* 0x250AB0E7: mov eax, dword ptr [ebp - 0xa4] */ 35446 edi = MEM32(ebp + (-0xA8)); /* 0x250AB0ED: mov edi, dword ptr [ebp - 0xa8] */ 35447 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 35448 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35449 esp = esp + 4; /* 0x250AB0F3: add esp, 4 */ 35450 _flag_k = FK_ADD; 35451 /* cmp edi, eax */ /* 0x250AB0F6: cmp edi, eax */ 35452 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35454 _flag_k = FK_CMP; 35455 MEM32(ebp + (-0x94)) = ebx; /* 0x250AB0F8: mov dword ptr [ebp - 0x94], ebx */ 35456 MEM32(ebp + (-0x90)) = ebx; /* 0x250AB0FE: mov dword ptr [ebp - 0x90], ebx */ 35457 MEM32(ebp + (-0x8C)) = ebx; /* 0x250AB104: mov dword ptr [ebp - 0x8c], ebx */ 35458 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250AB10A: mov byte ptr [ebp - 4], 6 */ 35459 MEM32(ebp + (-0x14)) = eax; /* 0x250AB10E: mov dword ptr [ebp - 0x14], eax */ 35460 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB12B; /* 0x250AB111: je 0x250ab12b */ 35461 L_250AB113: 35462 PUSH32(esp, ebx); /* 0x250AB113: push ebx */ 35463 ecx = edi; /* 0x250AB114: mov ecx, edi */ 35464 RECOMP_ICALL(0x250AD010u); /* 0x250AB116: call 0x250ad010 */ /* not lifted */ 35465 RECOMP_FLAGS_IN(); 35466 eax = MEM32(ebp + (-0x14)); /* 0x250AB11B: mov eax, dword ptr [ebp - 0x14] */ 35467 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 35468 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35469 edi = edi + 0x10u; /* 0x250AB11E: add edi, 0x10 */ 35470 _flag_k = FK_ADD; 35471 /* cmp edi, eax */ /* 0x250AB121: cmp edi, eax */ 35472 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35474 _flag_k = FK_CMP; 35475 RECOMP_BACKEDGE(); 35476 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB113; /* 0x250AB123: jne 0x250ab113 */ 35477 L_250AB125: 35478 edi = MEM32(ebp + (-0xA8)); /* 0x250AB125: mov edi, dword ptr [ebp - 0xa8] */ 35479 L_250AB12B: 35480 PUSH32(esp, edi); /* 0x250AB12B: push edi */ 35481 RECOMP_ICALL(0x25137EECu); /* 0x250AB12C: call 0x25137eec */ /* not lifted */ 35482 RECOMP_FLAGS_IN(); 35483 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 35484 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35485 esp = esp + 4; /* 0x250AB131: add esp, 4 */ 35486 _flag_k = FK_ADD; 35487 goto L_250AB7E2; /* 0x250AB134: jmp 0x250ab7e2 */ 35488 L_250AB7E2: 35489 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 35490 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 35491 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35492 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 35493 _cf = 0; 35494 _flag_k = FK_TEST; 35495 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 35496 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 35497 fp_pop(); 35498 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 35499 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 35500 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 35501 _cf = 0; 35502 _flag_k = FK_NARROW(FK_TEST, 24); 35503 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 35504 L_250AB802: 35505 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 35506 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 35507 fp_pop(); 35508 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 35509 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 35510 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 35511 _cf = 0; 35512 _flag_k = FK_NARROW(FK_TEST, 24); 35513 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 35514 L_250AB819: 35515 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 35516 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 35517 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 35518 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 35519 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 35520 RECOMP_FLAGS_IN(); 35521 ecx = edi; /* 0x250AB825: mov ecx, edi */ 35522 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 35523 RECOMP_FLAGS_IN(); 35524 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 35525 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 35526 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 35527 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 35528 edx = ecx; /* 0x250AB838: mov edx, ecx */ 35529 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 35530 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 35531 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 35532 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 35533 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 35534 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 35535 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 35536 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 35537 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 35538 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 35539 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 35540 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 35541 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 35542 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 35543 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 35544 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 35545 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 35546 ecx = esi; /* 0x250AB880: mov ecx, esi */ 35547 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 35548 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 35549 RECOMP_FLAGS_IN(); 35550 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 35551 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 35552 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 35553 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 35554 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 35555 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 35556 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 35557 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 35558 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 35559 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 35560 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 35561 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 35562 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 35563 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 35564 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 35565 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 35566 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 35567 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 35568 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 35569 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 35570 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 35571 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 35572 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 35573 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 35574 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 35575 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 35576 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 35577 RECOMP_FLAGS_IN(); 35578 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 35579 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 35580 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 35581 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 35582 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 35583 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 35584 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 35585 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 35586 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 35587 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 35588 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 35589 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 35590 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 35591 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 35592 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 35593 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 35594 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 35595 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 35596 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 35597 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 35598 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 35599 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 35600 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 35601 PUSH32(esp, edi); /* 0x250AB957: push edi */ 35602 ecx = esi; /* 0x250AB958: mov ecx, esi */ 35603 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 35604 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 35605 RECOMP_FLAGS_IN(); 35606 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 35607 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 35608 L_250AB969: 35609 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 35610 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 35611 fp_pop(); 35612 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 35613 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 35614 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 35615 _cf = 0; 35616 _flag_k = FK_NARROW(FK_TEST, 24); 35617 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 35618 L_250AB97C: 35619 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 35620 L_250AB982: 35621 ecx = edi; /* 0x250AB982: mov ecx, edi */ 35622 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 35623 RECOMP_FLAGS_IN(); 35624 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 35625 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 35626 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 35627 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 35628 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 35629 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 35630 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 35631 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 35632 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 35633 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 35634 RECOMP_FLAGS_IN(); 35635 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 35636 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 35637 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35638 _cf = 0; 35639 _flag_k = FK_NARROW(FK_TEST, 24); 35640 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 35641 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 35642 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 35643 L_250AB9BB: 35644 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 35645 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 35646 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 35647 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 35648 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 35649 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 35650 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 35651 RECOMP_FLAGS_IN(); 35652 L_250AB9D6: 35653 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 35654 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 35655 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35656 _cf = 0; 35657 _flag_k = FK_NARROW(FK_TEST, 24); 35658 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 35659 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 35660 L_250AB9E4: 35661 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 35662 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 35663 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 35664 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 35665 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 35666 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 35667 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 35668 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 35669 RECOMP_FLAGS_IN(); 35670 L_250ABA00: 35671 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 35672 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 35673 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35674 _cf = 0; 35675 _flag_k = FK_NARROW(FK_TEST, 24); 35676 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 35677 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 35678 L_250ABA0E: 35679 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 35680 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 35681 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 35682 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 35683 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 35684 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 35685 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 35686 RECOMP_FLAGS_IN(); 35687 L_250ABA2C: 35688 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 35689 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 35690 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35691 _cf = 0; 35692 _flag_k = FK_NARROW(FK_TEST, 24); 35693 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 35694 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 35695 L_250ABA3A: 35696 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 35697 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 35698 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 35699 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 35700 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 35701 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 35702 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 35703 RECOMP_FLAGS_IN(); 35704 L_250ABA55: 35705 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 35706 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 35707 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35708 _cf = 0; 35709 _flag_k = FK_NARROW(FK_TEST, 24); 35710 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 35711 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 35712 L_250ABA63: 35713 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 35714 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 35715 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 35716 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 35717 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 35718 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 35719 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 35720 RECOMP_FLAGS_IN(); 35721 L_250ABA7E: 35722 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 35723 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 35724 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35725 _cf = 0; 35726 _flag_k = FK_NARROW(FK_TEST, 24); 35727 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 35728 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 35729 L_250ABA8F: 35730 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 35731 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 35732 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 35733 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 35734 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 35735 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 35736 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 35737 RECOMP_FLAGS_IN(); 35738 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 35739 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 35740 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 35741 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 35742 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 35743 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 35744 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 35745 L_250ABAC2: 35746 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 35747 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 35748 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 35749 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 35750 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 35751 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 35752 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 35753 RECOMP_REGS_OUT(); 35754 } 35755 35756 void sub_250AB2B2(void) { 35757 int _fpu_cmp = 0; 35758 uint32_t _cf = 0; 35759 int _df = 1; 35760 uint32_t _flag_k = FK_NONE; 35761 uint32_t _flag_a = 0, _flag_b = 0; 35762 uint32_t _itail_tgt = 0; 35763 RECOMP_REGS_LOCALS 35764 RECOMP_ENTER(0x250AB2B2u); 35765 35766 L_250AB2B2: 35767 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 35768 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 35769 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 35770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35771 _flag_k = FK_CMP; 35772 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 35773 L_250AB2C1: 35774 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 35775 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 35776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 35777 _cf = 0; 35778 _flag_k = FK_TEST; 35779 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 35780 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 35781 L_250AB2D1: 35782 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 35783 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 35784 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35785 _cf = 0; 35786 _flag_k = FK_NARROW(FK_TEST, 24); 35787 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 35788 L_250AB2DC: 35789 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 35790 L_250AB2E6: 35791 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 35792 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35793 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 35794 _cf = 0; 35795 _flag_k = FK_TEST; 35796 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 35797 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 35798 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 35799 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 35800 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 35801 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 35802 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 35803 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 35804 _cf = 0; 35805 _flag_k = FK_NARROW(FK_TEST, 24); 35806 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 35807 L_250AB310: 35808 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 35809 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 35810 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 35811 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 35812 _cf = 0; 35813 _flag_k = FK_NARROW(FK_TEST, 24); 35814 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 35815 L_250AB31D: 35816 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 35817 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 35818 L_250AB325: 35819 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 35820 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 35821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35822 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 35823 _flag_k = FK_CMP; 35824 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 35825 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 35826 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 35827 RECOMP_FLAGS_IN(); 35828 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 35829 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 35830 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35831 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 35832 _flag_k = FK_ADD; 35833 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 35834 L_250AB346: 35835 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 35836 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 35837 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 35838 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 35839 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 35840 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 35841 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 35842 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 35843 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 35844 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 35845 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 35846 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 35847 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 35848 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 35849 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 35850 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 35851 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 35852 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 35853 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 35854 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 35855 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 35856 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 35857 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 35858 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 35859 RECOMP_FLAGS_IN(); 35860 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 35861 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 35862 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 35863 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 35864 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 35865 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 35866 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 35867 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 35868 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 35869 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 35870 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 35871 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 35872 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 35873 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 35874 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 35875 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 35876 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 35877 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 35878 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 35879 RECOMP_FLAGS_IN(); 35880 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 35881 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 35882 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 35883 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 35884 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 35885 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 35886 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 35887 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 35888 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 35889 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 35890 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 35891 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 35892 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 35893 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 35894 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 35895 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 35896 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 35897 RECOMP_FLAGS_IN(); 35898 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 35899 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 35900 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 35901 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 35902 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 35903 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 35904 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 35905 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 35906 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 35907 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 35908 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 35909 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 35910 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 35911 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 35912 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 35913 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 35914 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 35915 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 35916 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 35917 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 35918 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 35919 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 35920 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 35921 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 35922 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 35923 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 35924 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 35925 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 35926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35927 _flag_k = FK_CMP; 35928 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 35929 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 35930 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 35931 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 35932 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 35933 L_250AB4EE: 35934 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 35935 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 35936 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 35937 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 35938 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 35939 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 35940 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 35941 _cf = 0; 35942 _flag_k = FK_TEST; 35943 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 35944 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 35945 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 35946 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 35947 L_250AB524: 35948 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 35949 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 35950 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 35951 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 35952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35953 _flag_k = FK_CMP; 35954 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 35955 L_250AB534: 35956 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 35957 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 35958 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 35959 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 35960 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 35961 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 35962 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 35963 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 35964 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 35965 PUSH32(esp, eax); /* 0x250AB561: push eax */ 35966 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 35967 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 35968 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 35969 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 35970 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 35971 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 35972 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 35973 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 35974 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 35975 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 35976 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 35977 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 35978 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 35979 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 35980 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 35981 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 35982 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 35983 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 35984 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 35985 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 35986 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 35987 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 35988 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 35989 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 35990 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 35991 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 35992 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 35993 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 35994 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 35995 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 35996 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 35997 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 35998 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 35999 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 36000 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 36001 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 36002 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 36003 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 36004 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 36005 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 36006 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 36007 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 36008 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 36009 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 36010 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 36011 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 36012 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 36013 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 36014 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 36015 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 36016 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 36017 RECOMP_FLAGS_IN(); 36018 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 36019 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 36020 fp_pop(); 36021 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 36022 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 36023 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 36024 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 36025 _cf = 0; 36026 _flag_k = FK_NARROW(FK_TEST, 24); 36027 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 36028 L_250AB623: 36029 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 36030 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 36031 fp_pop(); 36032 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 36033 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 36034 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 36035 _cf = 0; 36036 _flag_k = FK_NARROW(FK_TEST, 24); 36037 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 36038 L_250AB63A: 36039 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 36040 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 36041 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 36042 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 36043 RECOMP_FLAGS_IN(); 36044 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 36045 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 36046 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 36047 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 36048 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 36049 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 36050 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 36051 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 36052 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 36053 ebx = eax; /* 0x250AB665: mov ebx, eax */ 36054 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 36055 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 36056 RECOMP_FLAGS_IN(); 36057 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 36058 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 36059 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 36060 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 36061 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 36062 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 36063 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 36064 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 36065 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 36066 PUSH32(esp, edx); /* 0x250AB696: push edx */ 36067 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 36068 PUSH32(esp, eax); /* 0x250AB698: push eax */ 36069 ecx = esi; /* 0x250AB699: mov ecx, esi */ 36070 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 36071 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 36072 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 36073 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 36074 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 36075 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 36076 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 36077 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 36078 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 36079 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 36080 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 36081 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 36082 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 36083 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 36084 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 36085 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 36086 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 36087 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 36088 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 36089 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 36090 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 36091 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 36092 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 36093 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 36094 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 36095 RECOMP_FLAGS_IN(); 36096 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 36097 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 36098 RECOMP_FLAGS_IN(); 36099 L_250AB711: 36100 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 36101 L_250AB715: 36102 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 36103 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 36104 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 36105 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 36106 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 36107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 36108 eax = eax + 1; /* 0x250AB727: inc eax */ 36109 _flag_k = FK_INC; 36110 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 36111 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 36112 edx = edx + 1; /* 0x250AB72E: inc edx */ 36113 _flag_k = FK_INC; 36114 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 36115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 36116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36117 _flag_k = FK_CMP; 36118 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 36119 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 36120 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 36121 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 36122 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 36123 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 36124 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 36125 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 36126 RECOMP_BACKEDGE(); 36127 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 36128 L_250AB75B: 36129 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 36130 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 36131 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 36132 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 36133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 36134 eax = eax + 1; /* 0x250AB76D: inc eax */ 36135 _flag_k = FK_INC; 36136 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 36137 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 36138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36139 _flag_k = FK_CMP; 36140 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 36141 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 36142 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 36143 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 36144 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 36145 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 36146 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 36147 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 36148 RECOMP_BACKEDGE(); 36149 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 36150 L_250AB7A0: 36151 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 36152 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 36153 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36154 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 36155 _flag_k = FK_ADD; 36156 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 36157 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 36158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36159 _flag_k = FK_CMP; 36160 RECOMP_BACKEDGE(); 36161 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 36162 L_250AB7AE: 36163 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 36164 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 36165 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 36166 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 36167 RECOMP_FLAGS_IN(); 36168 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 36169 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 36170 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36171 _cf = 0; 36172 _flag_k = FK_NARROW(FK_TEST, 24); 36173 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 36174 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 36175 L_250AB7C7: 36176 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 36177 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 36178 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 36179 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 36180 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 36181 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 36182 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 36183 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 36184 RECOMP_FLAGS_IN(); 36185 L_250AB7E2: 36186 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 36187 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 36188 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 36189 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 36190 _cf = 0; 36191 _flag_k = FK_TEST; 36192 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 36193 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 36194 fp_pop(); 36195 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 36196 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 36197 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 36198 _cf = 0; 36199 _flag_k = FK_NARROW(FK_TEST, 24); 36200 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 36201 L_250AB802: 36202 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 36203 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 36204 fp_pop(); 36205 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 36206 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 36207 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 36208 _cf = 0; 36209 _flag_k = FK_NARROW(FK_TEST, 24); 36210 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 36211 L_250AB819: 36212 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 36213 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 36214 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 36215 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 36216 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 36217 RECOMP_FLAGS_IN(); 36218 ecx = edi; /* 0x250AB825: mov ecx, edi */ 36219 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 36220 RECOMP_FLAGS_IN(); 36221 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 36222 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 36223 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 36224 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 36225 edx = ecx; /* 0x250AB838: mov edx, ecx */ 36226 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 36227 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 36228 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 36229 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 36230 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 36231 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 36232 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 36233 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 36234 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 36235 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 36236 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 36237 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 36238 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 36239 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 36240 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 36241 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 36242 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 36243 ecx = esi; /* 0x250AB880: mov ecx, esi */ 36244 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 36245 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 36246 RECOMP_FLAGS_IN(); 36247 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 36248 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 36249 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 36250 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 36251 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 36252 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 36253 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 36254 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 36255 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 36256 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 36257 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 36258 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 36259 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 36260 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 36261 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 36262 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 36263 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 36264 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 36265 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 36266 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 36267 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 36268 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 36269 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 36270 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 36271 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 36272 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 36273 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 36274 RECOMP_FLAGS_IN(); 36275 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 36276 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 36277 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 36278 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 36279 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 36280 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 36281 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 36282 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 36283 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 36284 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 36285 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 36286 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 36287 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 36288 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 36289 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 36290 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 36291 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 36292 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 36293 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 36294 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 36295 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 36296 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 36297 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 36298 PUSH32(esp, edi); /* 0x250AB957: push edi */ 36299 ecx = esi; /* 0x250AB958: mov ecx, esi */ 36300 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 36301 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 36302 RECOMP_FLAGS_IN(); 36303 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 36304 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 36305 L_250AB969: 36306 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 36307 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 36308 fp_pop(); 36309 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 36310 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 36311 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 36312 _cf = 0; 36313 _flag_k = FK_NARROW(FK_TEST, 24); 36314 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 36315 L_250AB97C: 36316 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 36317 L_250AB982: 36318 ecx = edi; /* 0x250AB982: mov ecx, edi */ 36319 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 36320 RECOMP_FLAGS_IN(); 36321 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 36322 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 36323 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 36324 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 36325 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 36326 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 36327 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 36328 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 36329 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 36330 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 36331 RECOMP_FLAGS_IN(); 36332 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 36333 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 36334 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36335 _cf = 0; 36336 _flag_k = FK_NARROW(FK_TEST, 24); 36337 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 36338 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 36339 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 36340 L_250AB9BB: 36341 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 36342 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 36343 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 36344 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 36345 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 36346 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 36347 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 36348 RECOMP_FLAGS_IN(); 36349 L_250AB9D6: 36350 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 36351 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 36352 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36353 _cf = 0; 36354 _flag_k = FK_NARROW(FK_TEST, 24); 36355 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 36356 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 36357 L_250AB9E4: 36358 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 36359 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 36360 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 36361 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 36362 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 36363 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 36364 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 36365 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 36366 RECOMP_FLAGS_IN(); 36367 L_250ABA00: 36368 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 36369 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 36370 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36371 _cf = 0; 36372 _flag_k = FK_NARROW(FK_TEST, 24); 36373 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 36374 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 36375 L_250ABA0E: 36376 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 36377 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 36378 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 36379 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 36380 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 36381 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 36382 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 36383 RECOMP_FLAGS_IN(); 36384 L_250ABA2C: 36385 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 36386 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 36387 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36388 _cf = 0; 36389 _flag_k = FK_NARROW(FK_TEST, 24); 36390 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 36391 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 36392 L_250ABA3A: 36393 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 36394 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 36395 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 36396 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 36397 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 36398 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 36399 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 36400 RECOMP_FLAGS_IN(); 36401 L_250ABA55: 36402 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 36403 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 36404 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36405 _cf = 0; 36406 _flag_k = FK_NARROW(FK_TEST, 24); 36407 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 36408 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 36409 L_250ABA63: 36410 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 36411 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 36412 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 36413 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 36414 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 36415 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 36416 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 36417 RECOMP_FLAGS_IN(); 36418 L_250ABA7E: 36419 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 36420 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 36421 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36422 _cf = 0; 36423 _flag_k = FK_NARROW(FK_TEST, 24); 36424 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 36425 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 36426 L_250ABA8F: 36427 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 36428 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 36429 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 36430 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 36431 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 36432 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 36433 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 36434 RECOMP_FLAGS_IN(); 36435 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 36436 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 36437 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 36438 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 36439 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 36440 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 36441 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 36442 L_250ABAC2: 36443 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 36444 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 36445 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 36446 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 36447 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 36448 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 36449 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 36450 RECOMP_REGS_OUT(); 36451 } 36452 36453 void sub_250AB346(void) { 36454 int _fpu_cmp = 0; 36455 uint32_t _cf = 0; 36456 int _df = 1; 36457 uint32_t _flag_k = FK_NONE; 36458 uint32_t _flag_a = 0, _flag_b = 0; 36459 uint32_t _itail_tgt = 0; 36460 RECOMP_REGS_LOCALS 36461 RECOMP_ENTER(0x250AB346u); 36462 36463 goto L_250AB346; 36464 L_250AB2B2: 36465 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 36466 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 36467 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 36468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36469 _flag_k = FK_CMP; 36470 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 36471 L_250AB2C1: 36472 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 36473 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 36474 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 36475 _cf = 0; 36476 _flag_k = FK_TEST; 36477 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 36478 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 36479 L_250AB2D1: 36480 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 36481 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 36482 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36483 _cf = 0; 36484 _flag_k = FK_NARROW(FK_TEST, 24); 36485 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 36486 L_250AB2DC: 36487 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 36488 L_250AB2E6: 36489 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 36490 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 36491 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 36492 _cf = 0; 36493 _flag_k = FK_TEST; 36494 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 36495 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 36496 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 36497 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 36498 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 36499 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 36500 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 36501 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 36502 _cf = 0; 36503 _flag_k = FK_NARROW(FK_TEST, 24); 36504 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 36505 L_250AB310: 36506 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 36507 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 36508 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 36509 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 36510 _cf = 0; 36511 _flag_k = FK_NARROW(FK_TEST, 24); 36512 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 36513 L_250AB31D: 36514 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 36515 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 36516 L_250AB325: 36517 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 36518 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 36519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36520 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 36521 _flag_k = FK_CMP; 36522 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 36523 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 36524 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 36525 RECOMP_FLAGS_IN(); 36526 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 36527 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 36528 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36529 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 36530 _flag_k = FK_ADD; 36531 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 36532 L_250AB346: 36533 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 36534 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 36535 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 36536 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 36537 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 36538 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 36539 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 36540 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 36541 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 36542 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 36543 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 36544 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 36545 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 36546 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 36547 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 36548 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 36549 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 36550 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 36551 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 36552 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 36553 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 36554 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 36555 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 36556 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 36557 RECOMP_FLAGS_IN(); 36558 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 36559 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 36560 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 36561 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 36562 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 36563 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 36564 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 36565 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 36566 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 36567 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 36568 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 36569 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 36570 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 36571 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 36572 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 36573 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 36574 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 36575 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 36576 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 36577 RECOMP_FLAGS_IN(); 36578 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 36579 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 36580 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 36581 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 36582 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 36583 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 36584 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 36585 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 36586 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 36587 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 36588 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 36589 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 36590 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 36591 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 36592 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 36593 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 36594 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 36595 RECOMP_FLAGS_IN(); 36596 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 36597 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 36598 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 36599 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 36600 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 36601 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 36602 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 36603 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 36604 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 36605 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 36606 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 36607 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 36608 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 36609 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 36610 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 36611 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 36612 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 36613 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 36614 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 36615 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 36616 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 36617 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 36618 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 36619 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 36620 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 36621 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 36622 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 36623 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 36624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36625 _flag_k = FK_CMP; 36626 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 36627 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 36628 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 36629 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 36630 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 36631 L_250AB4EE: 36632 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 36633 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 36634 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 36635 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 36636 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 36637 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 36638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36639 _cf = 0; 36640 _flag_k = FK_TEST; 36641 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 36642 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 36643 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 36644 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 36645 L_250AB524: 36646 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 36647 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 36648 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 36649 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 36650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36651 _flag_k = FK_CMP; 36652 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 36653 L_250AB534: 36654 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 36655 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 36656 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 36657 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 36658 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 36659 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 36660 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 36661 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 36662 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 36663 PUSH32(esp, eax); /* 0x250AB561: push eax */ 36664 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 36665 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 36666 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 36667 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 36668 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 36669 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 36670 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 36671 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 36672 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 36673 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 36674 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 36675 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 36676 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 36677 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 36678 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 36679 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 36680 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 36681 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 36682 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 36683 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 36684 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 36685 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 36686 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 36687 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 36688 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 36689 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 36690 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 36691 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 36692 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 36693 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 36694 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 36695 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 36696 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 36697 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 36698 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 36699 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 36700 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 36701 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 36702 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 36703 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 36704 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 36705 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 36706 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 36707 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 36708 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 36709 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 36710 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 36711 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 36712 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 36713 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 36714 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 36715 RECOMP_FLAGS_IN(); 36716 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 36717 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 36718 fp_pop(); 36719 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 36720 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 36721 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 36722 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 36723 _cf = 0; 36724 _flag_k = FK_NARROW(FK_TEST, 24); 36725 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 36726 L_250AB623: 36727 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 36728 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 36729 fp_pop(); 36730 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 36731 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 36732 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 36733 _cf = 0; 36734 _flag_k = FK_NARROW(FK_TEST, 24); 36735 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 36736 L_250AB63A: 36737 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 36738 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 36739 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 36740 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 36741 RECOMP_FLAGS_IN(); 36742 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 36743 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 36744 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 36745 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 36746 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 36747 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 36748 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 36749 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 36750 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 36751 ebx = eax; /* 0x250AB665: mov ebx, eax */ 36752 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 36753 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 36754 RECOMP_FLAGS_IN(); 36755 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 36756 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 36757 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 36758 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 36759 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 36760 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 36761 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 36762 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 36763 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 36764 PUSH32(esp, edx); /* 0x250AB696: push edx */ 36765 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 36766 PUSH32(esp, eax); /* 0x250AB698: push eax */ 36767 ecx = esi; /* 0x250AB699: mov ecx, esi */ 36768 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 36769 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 36770 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 36771 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 36772 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 36773 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 36774 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 36775 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 36776 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 36777 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 36778 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 36779 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 36780 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 36781 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 36782 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 36783 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 36784 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 36785 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 36786 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 36787 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 36788 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 36789 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 36790 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 36791 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 36792 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 36793 RECOMP_FLAGS_IN(); 36794 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 36795 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 36796 RECOMP_FLAGS_IN(); 36797 L_250AB711: 36798 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 36799 L_250AB715: 36800 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 36801 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 36802 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 36803 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 36804 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 36805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 36806 eax = eax + 1; /* 0x250AB727: inc eax */ 36807 _flag_k = FK_INC; 36808 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 36809 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 36810 edx = edx + 1; /* 0x250AB72E: inc edx */ 36811 _flag_k = FK_INC; 36812 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 36813 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 36814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36815 _flag_k = FK_CMP; 36816 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 36817 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 36818 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 36819 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 36820 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 36821 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 36822 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 36823 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 36824 RECOMP_BACKEDGE(); 36825 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 36826 L_250AB75B: 36827 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 36828 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 36829 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 36830 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 36831 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 36832 eax = eax + 1; /* 0x250AB76D: inc eax */ 36833 _flag_k = FK_INC; 36834 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 36835 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 36836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36837 _flag_k = FK_CMP; 36838 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 36839 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 36840 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 36841 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 36842 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 36843 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 36844 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 36845 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 36846 RECOMP_BACKEDGE(); 36847 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 36848 L_250AB7A0: 36849 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 36850 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 36851 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36852 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 36853 _flag_k = FK_ADD; 36854 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 36855 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 36856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36857 _flag_k = FK_CMP; 36858 RECOMP_BACKEDGE(); 36859 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 36860 L_250AB7AE: 36861 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 36862 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 36863 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 36864 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 36865 RECOMP_FLAGS_IN(); 36866 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 36867 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 36868 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36869 _cf = 0; 36870 _flag_k = FK_NARROW(FK_TEST, 24); 36871 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 36872 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 36873 L_250AB7C7: 36874 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 36875 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 36876 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 36877 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 36878 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 36879 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 36880 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 36881 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 36882 RECOMP_FLAGS_IN(); 36883 L_250AB7E2: 36884 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 36885 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 36886 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 36887 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 36888 _cf = 0; 36889 _flag_k = FK_TEST; 36890 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 36891 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 36892 fp_pop(); 36893 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 36894 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 36895 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 36896 _cf = 0; 36897 _flag_k = FK_NARROW(FK_TEST, 24); 36898 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 36899 L_250AB802: 36900 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 36901 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 36902 fp_pop(); 36903 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 36904 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 36905 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 36906 _cf = 0; 36907 _flag_k = FK_NARROW(FK_TEST, 24); 36908 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 36909 L_250AB819: 36910 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 36911 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 36912 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 36913 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 36914 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 36915 RECOMP_FLAGS_IN(); 36916 ecx = edi; /* 0x250AB825: mov ecx, edi */ 36917 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 36918 RECOMP_FLAGS_IN(); 36919 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 36920 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 36921 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 36922 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 36923 edx = ecx; /* 0x250AB838: mov edx, ecx */ 36924 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 36925 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 36926 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 36927 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 36928 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 36929 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 36930 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 36931 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 36932 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 36933 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 36934 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 36935 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 36936 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 36937 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 36938 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 36939 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 36940 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 36941 ecx = esi; /* 0x250AB880: mov ecx, esi */ 36942 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 36943 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 36944 RECOMP_FLAGS_IN(); 36945 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 36946 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 36947 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 36948 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 36949 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 36950 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 36951 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 36952 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 36953 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 36954 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 36955 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 36956 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 36957 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 36958 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 36959 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 36960 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 36961 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 36962 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 36963 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 36964 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 36965 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 36966 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 36967 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 36968 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 36969 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 36970 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 36971 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 36972 RECOMP_FLAGS_IN(); 36973 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 36974 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 36975 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 36976 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 36977 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 36978 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 36979 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 36980 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 36981 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 36982 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 36983 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 36984 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 36985 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 36986 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 36987 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 36988 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 36989 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 36990 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 36991 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 36992 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 36993 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 36994 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 36995 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 36996 PUSH32(esp, edi); /* 0x250AB957: push edi */ 36997 ecx = esi; /* 0x250AB958: mov ecx, esi */ 36998 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 36999 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 37000 RECOMP_FLAGS_IN(); 37001 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 37002 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 37003 L_250AB969: 37004 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 37005 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 37006 fp_pop(); 37007 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 37008 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 37009 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 37010 _cf = 0; 37011 _flag_k = FK_NARROW(FK_TEST, 24); 37012 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 37013 L_250AB97C: 37014 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 37015 L_250AB982: 37016 ecx = edi; /* 0x250AB982: mov ecx, edi */ 37017 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 37018 RECOMP_FLAGS_IN(); 37019 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 37020 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 37021 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 37022 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 37023 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 37024 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 37025 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 37026 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 37027 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 37028 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 37029 RECOMP_FLAGS_IN(); 37030 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 37031 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 37032 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37033 _cf = 0; 37034 _flag_k = FK_NARROW(FK_TEST, 24); 37035 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 37036 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 37037 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 37038 L_250AB9BB: 37039 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 37040 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 37041 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 37042 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 37043 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 37044 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 37045 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 37046 RECOMP_FLAGS_IN(); 37047 L_250AB9D6: 37048 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 37049 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 37050 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37051 _cf = 0; 37052 _flag_k = FK_NARROW(FK_TEST, 24); 37053 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 37054 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 37055 L_250AB9E4: 37056 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 37057 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 37058 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 37059 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 37060 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 37061 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 37062 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 37063 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 37064 RECOMP_FLAGS_IN(); 37065 L_250ABA00: 37066 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 37067 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 37068 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37069 _cf = 0; 37070 _flag_k = FK_NARROW(FK_TEST, 24); 37071 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 37072 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 37073 L_250ABA0E: 37074 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 37075 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 37076 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 37077 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 37078 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 37079 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 37080 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 37081 RECOMP_FLAGS_IN(); 37082 L_250ABA2C: 37083 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 37084 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 37085 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37086 _cf = 0; 37087 _flag_k = FK_NARROW(FK_TEST, 24); 37088 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 37089 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 37090 L_250ABA3A: 37091 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 37092 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 37093 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 37094 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 37095 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 37096 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 37097 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 37098 RECOMP_FLAGS_IN(); 37099 L_250ABA55: 37100 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 37101 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 37102 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37103 _cf = 0; 37104 _flag_k = FK_NARROW(FK_TEST, 24); 37105 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 37106 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 37107 L_250ABA63: 37108 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 37109 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 37110 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 37111 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 37112 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 37113 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 37114 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 37115 RECOMP_FLAGS_IN(); 37116 L_250ABA7E: 37117 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 37118 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 37119 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37120 _cf = 0; 37121 _flag_k = FK_NARROW(FK_TEST, 24); 37122 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 37123 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 37124 L_250ABA8F: 37125 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 37126 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 37127 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 37128 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 37129 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 37130 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 37131 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 37132 RECOMP_FLAGS_IN(); 37133 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 37134 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 37135 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 37136 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 37137 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 37138 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 37139 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 37140 L_250ABAC2: 37141 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 37142 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 37143 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 37144 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 37145 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 37146 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 37147 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 37148 RECOMP_REGS_OUT(); 37149 } 37150 37151 void sub_250AB4EE(void) { 37152 int _fpu_cmp = 0; 37153 uint32_t _cf = 0; 37154 int _df = 1; 37155 uint32_t _flag_k = FK_NONE; 37156 uint32_t _flag_a = 0, _flag_b = 0; 37157 uint32_t _itail_tgt = 0; 37158 RECOMP_REGS_LOCALS 37159 RECOMP_ENTER(0x250AB4EEu); 37160 37161 goto L_250AB4EE; 37162 L_250AB2B2: 37163 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 37164 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 37165 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 37166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37167 _flag_k = FK_CMP; 37168 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 37169 L_250AB2C1: 37170 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 37171 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 37172 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 37173 _cf = 0; 37174 _flag_k = FK_TEST; 37175 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 37176 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 37177 L_250AB2D1: 37178 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 37179 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 37180 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37181 _cf = 0; 37182 _flag_k = FK_NARROW(FK_TEST, 24); 37183 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 37184 L_250AB2DC: 37185 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 37186 L_250AB2E6: 37187 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 37188 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 37189 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 37190 _cf = 0; 37191 _flag_k = FK_TEST; 37192 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 37193 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 37194 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 37195 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 37196 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 37197 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 37198 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 37199 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 37200 _cf = 0; 37201 _flag_k = FK_NARROW(FK_TEST, 24); 37202 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 37203 L_250AB310: 37204 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 37205 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 37206 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 37207 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 37208 _cf = 0; 37209 _flag_k = FK_NARROW(FK_TEST, 24); 37210 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 37211 L_250AB31D: 37212 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 37213 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 37214 L_250AB325: 37215 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 37216 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 37217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37218 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 37219 _flag_k = FK_CMP; 37220 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 37221 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 37222 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 37223 RECOMP_FLAGS_IN(); 37224 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 37225 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 37226 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37227 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 37228 _flag_k = FK_ADD; 37229 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 37230 L_250AB346: 37231 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 37232 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 37233 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 37234 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 37235 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 37236 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 37237 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 37238 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 37239 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 37240 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 37241 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 37242 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 37243 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 37244 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 37245 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 37246 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 37247 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 37248 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 37249 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 37250 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 37251 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 37252 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 37253 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 37254 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 37255 RECOMP_FLAGS_IN(); 37256 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 37257 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 37258 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 37259 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 37260 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 37261 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 37262 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 37263 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 37264 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 37265 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 37266 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 37267 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 37268 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 37269 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 37270 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 37271 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 37272 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 37273 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 37274 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 37275 RECOMP_FLAGS_IN(); 37276 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 37277 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 37278 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 37279 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 37280 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 37281 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 37282 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 37283 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 37284 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 37285 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 37286 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 37287 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 37288 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 37289 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 37290 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 37291 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 37292 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 37293 RECOMP_FLAGS_IN(); 37294 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 37295 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 37296 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 37297 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 37298 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 37299 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 37300 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 37301 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 37302 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 37303 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 37304 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 37305 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 37306 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 37307 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 37308 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 37309 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 37310 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 37311 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 37312 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 37313 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 37314 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 37315 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 37316 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 37317 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 37318 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 37319 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 37320 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 37321 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 37322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37323 _flag_k = FK_CMP; 37324 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 37325 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 37326 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 37327 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 37328 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 37329 L_250AB4EE: 37330 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 37331 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 37332 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 37333 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 37334 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 37335 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 37336 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37337 _cf = 0; 37338 _flag_k = FK_TEST; 37339 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 37340 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 37341 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 37342 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 37343 L_250AB524: 37344 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 37345 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 37346 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 37347 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 37348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37349 _flag_k = FK_CMP; 37350 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 37351 L_250AB534: 37352 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 37353 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 37354 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 37355 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 37356 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 37357 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 37358 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 37359 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 37360 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 37361 PUSH32(esp, eax); /* 0x250AB561: push eax */ 37362 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 37363 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 37364 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 37365 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 37366 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 37367 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 37368 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 37369 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 37370 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 37371 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 37372 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 37373 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 37374 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 37375 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 37376 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 37377 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 37378 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 37379 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 37380 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 37381 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 37382 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 37383 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 37384 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 37385 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 37386 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 37387 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 37388 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 37389 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 37390 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 37391 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 37392 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 37393 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 37394 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 37395 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 37396 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 37397 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 37398 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 37399 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 37400 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 37401 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 37402 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 37403 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 37404 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 37405 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 37406 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 37407 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 37408 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 37409 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 37410 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 37411 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 37412 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 37413 RECOMP_FLAGS_IN(); 37414 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 37415 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 37416 fp_pop(); 37417 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 37418 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 37419 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 37420 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 37421 _cf = 0; 37422 _flag_k = FK_NARROW(FK_TEST, 24); 37423 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 37424 L_250AB623: 37425 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 37426 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 37427 fp_pop(); 37428 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 37429 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 37430 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 37431 _cf = 0; 37432 _flag_k = FK_NARROW(FK_TEST, 24); 37433 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 37434 L_250AB63A: 37435 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 37436 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 37437 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 37438 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 37439 RECOMP_FLAGS_IN(); 37440 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 37441 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 37442 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 37443 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 37444 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 37445 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 37446 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 37447 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 37448 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 37449 ebx = eax; /* 0x250AB665: mov ebx, eax */ 37450 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 37451 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 37452 RECOMP_FLAGS_IN(); 37453 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 37454 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 37455 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 37456 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 37457 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 37458 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 37459 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 37460 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 37461 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 37462 PUSH32(esp, edx); /* 0x250AB696: push edx */ 37463 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 37464 PUSH32(esp, eax); /* 0x250AB698: push eax */ 37465 ecx = esi; /* 0x250AB699: mov ecx, esi */ 37466 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 37467 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 37468 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 37469 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 37470 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 37471 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 37472 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 37473 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 37474 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 37475 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 37476 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 37477 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 37478 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 37479 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 37480 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 37481 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 37482 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 37483 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 37484 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 37485 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 37486 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 37487 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 37488 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 37489 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 37490 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 37491 RECOMP_FLAGS_IN(); 37492 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 37493 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 37494 RECOMP_FLAGS_IN(); 37495 L_250AB711: 37496 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 37497 L_250AB715: 37498 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 37499 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 37500 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 37501 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 37502 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 37503 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 37504 eax = eax + 1; /* 0x250AB727: inc eax */ 37505 _flag_k = FK_INC; 37506 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 37507 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 37508 edx = edx + 1; /* 0x250AB72E: inc edx */ 37509 _flag_k = FK_INC; 37510 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 37511 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 37512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37513 _flag_k = FK_CMP; 37514 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 37515 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 37516 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 37517 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 37518 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 37519 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 37520 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 37521 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 37522 RECOMP_BACKEDGE(); 37523 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 37524 L_250AB75B: 37525 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 37526 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 37527 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 37528 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 37529 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 37530 eax = eax + 1; /* 0x250AB76D: inc eax */ 37531 _flag_k = FK_INC; 37532 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 37533 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 37534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37535 _flag_k = FK_CMP; 37536 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 37537 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 37538 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 37539 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 37540 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 37541 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 37542 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 37543 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 37544 RECOMP_BACKEDGE(); 37545 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 37546 L_250AB7A0: 37547 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 37548 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 37549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37550 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 37551 _flag_k = FK_ADD; 37552 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 37553 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 37554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37555 _flag_k = FK_CMP; 37556 RECOMP_BACKEDGE(); 37557 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 37558 L_250AB7AE: 37559 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 37560 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 37561 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 37562 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 37563 RECOMP_FLAGS_IN(); 37564 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 37565 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 37566 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37567 _cf = 0; 37568 _flag_k = FK_NARROW(FK_TEST, 24); 37569 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 37570 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 37571 L_250AB7C7: 37572 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 37573 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 37574 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 37575 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 37576 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 37577 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 37578 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 37579 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 37580 RECOMP_FLAGS_IN(); 37581 L_250AB7E2: 37582 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 37583 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 37584 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 37585 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 37586 _cf = 0; 37587 _flag_k = FK_TEST; 37588 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 37589 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 37590 fp_pop(); 37591 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 37592 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 37593 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 37594 _cf = 0; 37595 _flag_k = FK_NARROW(FK_TEST, 24); 37596 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 37597 L_250AB802: 37598 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 37599 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 37600 fp_pop(); 37601 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 37602 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 37603 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 37604 _cf = 0; 37605 _flag_k = FK_NARROW(FK_TEST, 24); 37606 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 37607 L_250AB819: 37608 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 37609 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 37610 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 37611 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 37612 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 37613 RECOMP_FLAGS_IN(); 37614 ecx = edi; /* 0x250AB825: mov ecx, edi */ 37615 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 37616 RECOMP_FLAGS_IN(); 37617 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 37618 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 37619 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 37620 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 37621 edx = ecx; /* 0x250AB838: mov edx, ecx */ 37622 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 37623 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 37624 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 37625 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 37626 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 37627 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 37628 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 37629 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 37630 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 37631 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 37632 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 37633 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 37634 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 37635 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 37636 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 37637 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 37638 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 37639 ecx = esi; /* 0x250AB880: mov ecx, esi */ 37640 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 37641 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 37642 RECOMP_FLAGS_IN(); 37643 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 37644 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 37645 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 37646 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 37647 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 37648 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 37649 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 37650 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 37651 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 37652 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 37653 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 37654 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 37655 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 37656 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 37657 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 37658 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 37659 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 37660 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 37661 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 37662 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 37663 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 37664 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 37665 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 37666 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 37667 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 37668 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 37669 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 37670 RECOMP_FLAGS_IN(); 37671 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 37672 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 37673 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 37674 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 37675 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 37676 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 37677 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 37678 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 37679 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 37680 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 37681 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 37682 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 37683 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 37684 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 37685 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 37686 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 37687 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 37688 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 37689 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 37690 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 37691 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 37692 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 37693 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 37694 PUSH32(esp, edi); /* 0x250AB957: push edi */ 37695 ecx = esi; /* 0x250AB958: mov ecx, esi */ 37696 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 37697 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 37698 RECOMP_FLAGS_IN(); 37699 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 37700 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 37701 L_250AB969: 37702 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 37703 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 37704 fp_pop(); 37705 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 37706 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 37707 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 37708 _cf = 0; 37709 _flag_k = FK_NARROW(FK_TEST, 24); 37710 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 37711 L_250AB97C: 37712 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 37713 L_250AB982: 37714 ecx = edi; /* 0x250AB982: mov ecx, edi */ 37715 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 37716 RECOMP_FLAGS_IN(); 37717 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 37718 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 37719 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 37720 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 37721 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 37722 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 37723 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 37724 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 37725 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 37726 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 37727 RECOMP_FLAGS_IN(); 37728 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 37729 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 37730 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37731 _cf = 0; 37732 _flag_k = FK_NARROW(FK_TEST, 24); 37733 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 37734 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 37735 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 37736 L_250AB9BB: 37737 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 37738 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 37739 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 37740 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 37741 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 37742 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 37743 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 37744 RECOMP_FLAGS_IN(); 37745 L_250AB9D6: 37746 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 37747 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 37748 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37749 _cf = 0; 37750 _flag_k = FK_NARROW(FK_TEST, 24); 37751 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 37752 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 37753 L_250AB9E4: 37754 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 37755 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 37756 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 37757 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 37758 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 37759 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 37760 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 37761 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 37762 RECOMP_FLAGS_IN(); 37763 L_250ABA00: 37764 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 37765 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 37766 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37767 _cf = 0; 37768 _flag_k = FK_NARROW(FK_TEST, 24); 37769 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 37770 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 37771 L_250ABA0E: 37772 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 37773 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 37774 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 37775 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 37776 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 37777 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 37778 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 37779 RECOMP_FLAGS_IN(); 37780 L_250ABA2C: 37781 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 37782 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 37783 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37784 _cf = 0; 37785 _flag_k = FK_NARROW(FK_TEST, 24); 37786 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 37787 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 37788 L_250ABA3A: 37789 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 37790 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 37791 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 37792 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 37793 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 37794 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 37795 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 37796 RECOMP_FLAGS_IN(); 37797 L_250ABA55: 37798 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 37799 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 37800 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37801 _cf = 0; 37802 _flag_k = FK_NARROW(FK_TEST, 24); 37803 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 37804 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 37805 L_250ABA63: 37806 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 37807 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 37808 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 37809 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 37810 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 37811 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 37812 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 37813 RECOMP_FLAGS_IN(); 37814 L_250ABA7E: 37815 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 37816 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 37817 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37818 _cf = 0; 37819 _flag_k = FK_NARROW(FK_TEST, 24); 37820 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 37821 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 37822 L_250ABA8F: 37823 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 37824 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 37825 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 37826 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 37827 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 37828 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 37829 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 37830 RECOMP_FLAGS_IN(); 37831 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 37832 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 37833 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 37834 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 37835 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 37836 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 37837 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 37838 L_250ABAC2: 37839 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 37840 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 37841 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 37842 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 37843 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 37844 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 37845 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 37846 RECOMP_REGS_OUT(); 37847 } 37848 37849 void sub_250AB524(void) { 37850 int _fpu_cmp = 0; 37851 uint32_t _cf = 0; 37852 int _df = 1; 37853 uint32_t _flag_k = FK_NONE; 37854 uint32_t _flag_a = 0, _flag_b = 0; 37855 uint32_t _itail_tgt = 0; 37856 RECOMP_REGS_LOCALS 37857 RECOMP_ENTER(0x250AB524u); 37858 37859 goto L_250AB524; 37860 L_250AB2B2: 37861 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 37862 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 37863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 37864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37865 _flag_k = FK_CMP; 37866 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 37867 L_250AB2C1: 37868 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 37869 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 37870 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 37871 _cf = 0; 37872 _flag_k = FK_TEST; 37873 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 37874 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 37875 L_250AB2D1: 37876 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 37877 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 37878 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37879 _cf = 0; 37880 _flag_k = FK_NARROW(FK_TEST, 24); 37881 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 37882 L_250AB2DC: 37883 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 37884 L_250AB2E6: 37885 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 37886 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 37887 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 37888 _cf = 0; 37889 _flag_k = FK_TEST; 37890 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 37891 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 37892 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 37893 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 37894 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 37895 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 37896 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 37897 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 37898 _cf = 0; 37899 _flag_k = FK_NARROW(FK_TEST, 24); 37900 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 37901 L_250AB310: 37902 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 37903 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 37904 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 37905 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 37906 _cf = 0; 37907 _flag_k = FK_NARROW(FK_TEST, 24); 37908 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 37909 L_250AB31D: 37910 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 37911 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 37912 L_250AB325: 37913 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 37914 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 37915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37916 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 37917 _flag_k = FK_CMP; 37918 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 37919 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 37920 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 37921 RECOMP_FLAGS_IN(); 37922 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 37923 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 37924 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37925 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 37926 _flag_k = FK_ADD; 37927 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 37928 L_250AB346: 37929 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 37930 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 37931 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 37932 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 37933 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 37934 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 37935 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 37936 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 37937 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 37938 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 37939 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 37940 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 37941 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 37942 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 37943 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 37944 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 37945 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 37946 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 37947 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 37948 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 37949 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 37950 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 37951 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 37952 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 37953 RECOMP_FLAGS_IN(); 37954 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 37955 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 37956 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 37957 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 37958 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 37959 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 37960 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 37961 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 37962 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 37963 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 37964 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 37965 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 37966 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 37967 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 37968 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 37969 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 37970 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 37971 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 37972 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 37973 RECOMP_FLAGS_IN(); 37974 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 37975 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 37976 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 37977 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 37978 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 37979 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 37980 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 37981 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 37982 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 37983 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 37984 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 37985 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 37986 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 37987 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 37988 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 37989 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 37990 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 37991 RECOMP_FLAGS_IN(); 37992 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 37993 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 37994 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 37995 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 37996 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 37997 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 37998 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 37999 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 38000 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 38001 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 38002 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 38003 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 38004 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 38005 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 38006 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 38007 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 38008 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 38009 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 38010 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 38011 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 38012 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 38013 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 38014 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 38015 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 38016 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 38017 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 38018 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 38019 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 38020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38021 _flag_k = FK_CMP; 38022 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 38023 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 38024 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 38025 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 38026 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 38027 L_250AB4EE: 38028 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 38029 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 38030 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 38031 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 38032 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 38033 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 38034 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 38035 _cf = 0; 38036 _flag_k = FK_TEST; 38037 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 38038 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 38039 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 38040 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 38041 L_250AB524: 38042 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 38043 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 38044 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 38045 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 38046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38047 _flag_k = FK_CMP; 38048 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 38049 L_250AB534: 38050 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 38051 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 38052 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 38053 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 38054 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 38055 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 38056 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 38057 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 38058 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 38059 PUSH32(esp, eax); /* 0x250AB561: push eax */ 38060 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 38061 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 38062 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 38063 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 38064 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 38065 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 38066 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 38067 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 38068 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 38069 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 38070 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 38071 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 38072 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 38073 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 38074 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 38075 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 38076 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 38077 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 38078 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 38079 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 38080 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 38081 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 38082 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 38083 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 38084 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 38085 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 38086 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 38087 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 38088 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 38089 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 38090 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 38091 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 38092 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 38093 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 38094 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 38095 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 38096 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 38097 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 38098 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 38099 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 38100 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 38101 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 38102 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 38103 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 38104 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 38105 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 38106 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 38107 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 38108 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 38109 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 38110 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 38111 RECOMP_FLAGS_IN(); 38112 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 38113 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 38114 fp_pop(); 38115 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 38116 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 38117 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 38118 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 38119 _cf = 0; 38120 _flag_k = FK_NARROW(FK_TEST, 24); 38121 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 38122 L_250AB623: 38123 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 38124 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 38125 fp_pop(); 38126 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 38127 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 38128 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 38129 _cf = 0; 38130 _flag_k = FK_NARROW(FK_TEST, 24); 38131 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 38132 L_250AB63A: 38133 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 38134 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 38135 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 38136 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 38137 RECOMP_FLAGS_IN(); 38138 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 38139 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 38140 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 38141 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 38142 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 38143 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 38144 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 38145 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 38146 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 38147 ebx = eax; /* 0x250AB665: mov ebx, eax */ 38148 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 38149 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 38150 RECOMP_FLAGS_IN(); 38151 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 38152 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 38153 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 38154 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 38155 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 38156 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 38157 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 38158 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 38159 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 38160 PUSH32(esp, edx); /* 0x250AB696: push edx */ 38161 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 38162 PUSH32(esp, eax); /* 0x250AB698: push eax */ 38163 ecx = esi; /* 0x250AB699: mov ecx, esi */ 38164 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 38165 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 38166 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 38167 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 38168 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 38169 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 38170 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 38171 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 38172 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 38173 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 38174 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 38175 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 38176 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 38177 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 38178 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 38179 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 38180 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 38181 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 38182 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 38183 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 38184 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 38185 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 38186 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 38187 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 38188 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 38189 RECOMP_FLAGS_IN(); 38190 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 38191 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 38192 RECOMP_FLAGS_IN(); 38193 L_250AB711: 38194 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 38195 L_250AB715: 38196 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 38197 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 38198 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 38199 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 38200 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 38201 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 38202 eax = eax + 1; /* 0x250AB727: inc eax */ 38203 _flag_k = FK_INC; 38204 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 38205 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 38206 edx = edx + 1; /* 0x250AB72E: inc edx */ 38207 _flag_k = FK_INC; 38208 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 38209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 38210 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38211 _flag_k = FK_CMP; 38212 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 38213 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 38214 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 38215 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 38216 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 38217 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 38218 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 38219 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 38220 RECOMP_BACKEDGE(); 38221 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 38222 L_250AB75B: 38223 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 38224 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 38225 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 38226 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 38227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 38228 eax = eax + 1; /* 0x250AB76D: inc eax */ 38229 _flag_k = FK_INC; 38230 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 38231 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 38232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38233 _flag_k = FK_CMP; 38234 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 38235 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 38236 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 38237 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 38238 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 38239 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 38240 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 38241 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 38242 RECOMP_BACKEDGE(); 38243 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 38244 L_250AB7A0: 38245 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 38246 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 38247 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38248 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 38249 _flag_k = FK_ADD; 38250 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 38251 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 38252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38253 _flag_k = FK_CMP; 38254 RECOMP_BACKEDGE(); 38255 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 38256 L_250AB7AE: 38257 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 38258 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 38259 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 38260 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 38261 RECOMP_FLAGS_IN(); 38262 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 38263 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 38264 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38265 _cf = 0; 38266 _flag_k = FK_NARROW(FK_TEST, 24); 38267 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 38268 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 38269 L_250AB7C7: 38270 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 38271 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 38272 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 38273 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 38274 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 38275 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 38276 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 38277 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 38278 RECOMP_FLAGS_IN(); 38279 L_250AB7E2: 38280 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 38281 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 38282 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38283 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 38284 _cf = 0; 38285 _flag_k = FK_TEST; 38286 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 38287 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 38288 fp_pop(); 38289 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 38290 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 38291 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 38292 _cf = 0; 38293 _flag_k = FK_NARROW(FK_TEST, 24); 38294 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 38295 L_250AB802: 38296 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 38297 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 38298 fp_pop(); 38299 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 38300 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 38301 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 38302 _cf = 0; 38303 _flag_k = FK_NARROW(FK_TEST, 24); 38304 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 38305 L_250AB819: 38306 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 38307 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 38308 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 38309 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 38310 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 38311 RECOMP_FLAGS_IN(); 38312 ecx = edi; /* 0x250AB825: mov ecx, edi */ 38313 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 38314 RECOMP_FLAGS_IN(); 38315 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 38316 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 38317 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 38318 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 38319 edx = ecx; /* 0x250AB838: mov edx, ecx */ 38320 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 38321 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 38322 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 38323 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 38324 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 38325 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 38326 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 38327 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 38328 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 38329 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 38330 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 38331 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 38332 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 38333 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 38334 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 38335 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 38336 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 38337 ecx = esi; /* 0x250AB880: mov ecx, esi */ 38338 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 38339 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 38340 RECOMP_FLAGS_IN(); 38341 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 38342 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 38343 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 38344 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 38345 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 38346 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 38347 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 38348 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 38349 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 38350 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 38351 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 38352 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 38353 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 38354 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 38355 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 38356 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 38357 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 38358 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 38359 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 38360 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 38361 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 38362 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 38363 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 38364 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 38365 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 38366 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 38367 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 38368 RECOMP_FLAGS_IN(); 38369 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 38370 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 38371 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 38372 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 38373 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 38374 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 38375 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 38376 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 38377 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 38378 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 38379 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 38380 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 38381 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 38382 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 38383 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 38384 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 38385 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 38386 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 38387 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 38388 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 38389 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 38390 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 38391 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 38392 PUSH32(esp, edi); /* 0x250AB957: push edi */ 38393 ecx = esi; /* 0x250AB958: mov ecx, esi */ 38394 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 38395 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 38396 RECOMP_FLAGS_IN(); 38397 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 38398 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 38399 L_250AB969: 38400 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 38401 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 38402 fp_pop(); 38403 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 38404 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 38405 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 38406 _cf = 0; 38407 _flag_k = FK_NARROW(FK_TEST, 24); 38408 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 38409 L_250AB97C: 38410 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 38411 L_250AB982: 38412 ecx = edi; /* 0x250AB982: mov ecx, edi */ 38413 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 38414 RECOMP_FLAGS_IN(); 38415 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 38416 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 38417 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 38418 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 38419 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 38420 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 38421 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 38422 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 38423 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 38424 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 38425 RECOMP_FLAGS_IN(); 38426 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 38427 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 38428 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38429 _cf = 0; 38430 _flag_k = FK_NARROW(FK_TEST, 24); 38431 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 38432 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 38433 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 38434 L_250AB9BB: 38435 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 38436 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 38437 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 38438 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 38439 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 38440 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 38441 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 38442 RECOMP_FLAGS_IN(); 38443 L_250AB9D6: 38444 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 38445 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 38446 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38447 _cf = 0; 38448 _flag_k = FK_NARROW(FK_TEST, 24); 38449 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 38450 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 38451 L_250AB9E4: 38452 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 38453 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 38454 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 38455 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 38456 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 38457 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 38458 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 38459 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 38460 RECOMP_FLAGS_IN(); 38461 L_250ABA00: 38462 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 38463 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 38464 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38465 _cf = 0; 38466 _flag_k = FK_NARROW(FK_TEST, 24); 38467 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 38468 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 38469 L_250ABA0E: 38470 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 38471 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 38472 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 38473 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 38474 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 38475 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 38476 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 38477 RECOMP_FLAGS_IN(); 38478 L_250ABA2C: 38479 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 38480 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 38481 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38482 _cf = 0; 38483 _flag_k = FK_NARROW(FK_TEST, 24); 38484 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 38485 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 38486 L_250ABA3A: 38487 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 38488 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 38489 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 38490 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 38491 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 38492 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 38493 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 38494 RECOMP_FLAGS_IN(); 38495 L_250ABA55: 38496 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 38497 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 38498 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38499 _cf = 0; 38500 _flag_k = FK_NARROW(FK_TEST, 24); 38501 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 38502 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 38503 L_250ABA63: 38504 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 38505 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 38506 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 38507 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 38508 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 38509 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 38510 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 38511 RECOMP_FLAGS_IN(); 38512 L_250ABA7E: 38513 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 38514 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 38515 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38516 _cf = 0; 38517 _flag_k = FK_NARROW(FK_TEST, 24); 38518 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 38519 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 38520 L_250ABA8F: 38521 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 38522 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 38523 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 38524 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 38525 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 38526 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 38527 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 38528 RECOMP_FLAGS_IN(); 38529 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 38530 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 38531 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 38532 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 38533 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 38534 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 38535 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 38536 L_250ABAC2: 38537 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 38538 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 38539 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 38540 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 38541 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 38542 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 38543 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 38544 RECOMP_REGS_OUT(); 38545 } 38546 38547 void sub_250AB66E(void) { 38548 int _fpu_cmp = 0; 38549 uint32_t _cf = 0; 38550 int _df = 1; 38551 uint32_t _flag_k = FK_NONE; 38552 uint32_t _flag_a = 0, _flag_b = 0; 38553 uint32_t _itail_tgt = 0; 38554 RECOMP_REGS_LOCALS 38555 RECOMP_ENTER(0x250AB66Eu); 38556 38557 goto L_250AB66E; 38558 L_250AB2B2: 38559 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 38560 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 38561 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 38562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38563 _flag_k = FK_CMP; 38564 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 38565 L_250AB2C1: 38566 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 38567 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 38568 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 38569 _cf = 0; 38570 _flag_k = FK_TEST; 38571 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 38572 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 38573 L_250AB2D1: 38574 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 38575 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 38576 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38577 _cf = 0; 38578 _flag_k = FK_NARROW(FK_TEST, 24); 38579 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 38580 L_250AB2DC: 38581 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 38582 L_250AB2E6: 38583 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 38584 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38585 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 38586 _cf = 0; 38587 _flag_k = FK_TEST; 38588 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 38589 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 38590 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 38591 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 38592 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 38593 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 38594 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 38595 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 38596 _cf = 0; 38597 _flag_k = FK_NARROW(FK_TEST, 24); 38598 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 38599 L_250AB310: 38600 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 38601 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 38602 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 38603 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 38604 _cf = 0; 38605 _flag_k = FK_NARROW(FK_TEST, 24); 38606 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 38607 L_250AB31D: 38608 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 38609 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 38610 L_250AB325: 38611 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 38612 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 38613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38614 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 38615 _flag_k = FK_CMP; 38616 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 38617 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 38618 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 38619 RECOMP_FLAGS_IN(); 38620 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 38621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 38622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38623 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 38624 _flag_k = FK_ADD; 38625 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 38626 L_250AB346: 38627 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 38628 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 38629 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 38630 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 38631 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 38632 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 38633 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 38634 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 38635 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 38636 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 38637 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 38638 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 38639 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 38640 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 38641 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 38642 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 38643 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 38644 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 38645 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 38646 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 38647 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 38648 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 38649 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 38650 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 38651 RECOMP_FLAGS_IN(); 38652 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 38653 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 38654 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 38655 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 38656 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 38657 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 38658 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 38659 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 38660 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 38661 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 38662 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 38663 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 38664 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 38665 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 38666 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 38667 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 38668 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 38669 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 38670 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 38671 RECOMP_FLAGS_IN(); 38672 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 38673 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 38674 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 38675 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 38676 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 38677 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 38678 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 38679 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 38680 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 38681 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 38682 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 38683 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 38684 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 38685 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 38686 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 38687 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 38688 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 38689 RECOMP_FLAGS_IN(); 38690 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 38691 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 38692 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 38693 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 38694 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 38695 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 38696 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 38697 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 38698 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 38699 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 38700 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 38701 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 38702 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 38703 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 38704 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 38705 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 38706 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 38707 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 38708 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 38709 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 38710 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 38711 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 38712 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 38713 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 38714 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 38715 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 38716 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 38717 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 38718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38719 _flag_k = FK_CMP; 38720 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 38721 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 38722 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 38723 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 38724 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 38725 L_250AB4EE: 38726 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 38727 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 38728 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 38729 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 38730 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 38731 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 38732 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 38733 _cf = 0; 38734 _flag_k = FK_TEST; 38735 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 38736 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 38737 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 38738 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 38739 L_250AB524: 38740 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 38741 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 38742 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 38743 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 38744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38745 _flag_k = FK_CMP; 38746 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 38747 L_250AB534: 38748 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 38749 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 38750 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 38751 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 38752 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 38753 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 38754 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 38755 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 38756 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 38757 PUSH32(esp, eax); /* 0x250AB561: push eax */ 38758 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 38759 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 38760 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 38761 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 38762 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 38763 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 38764 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 38765 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 38766 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 38767 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 38768 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 38769 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 38770 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 38771 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 38772 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 38773 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 38774 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 38775 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 38776 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 38777 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 38778 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 38779 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 38780 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 38781 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 38782 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 38783 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 38784 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 38785 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 38786 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 38787 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 38788 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 38789 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 38790 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 38791 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 38792 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 38793 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 38794 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 38795 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 38796 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 38797 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 38798 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 38799 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 38800 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 38801 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 38802 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 38803 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 38804 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 38805 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 38806 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 38807 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 38808 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 38809 RECOMP_FLAGS_IN(); 38810 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 38811 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 38812 fp_pop(); 38813 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 38814 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 38815 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 38816 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 38817 _cf = 0; 38818 _flag_k = FK_NARROW(FK_TEST, 24); 38819 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 38820 L_250AB623: 38821 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 38822 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 38823 fp_pop(); 38824 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 38825 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 38826 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 38827 _cf = 0; 38828 _flag_k = FK_NARROW(FK_TEST, 24); 38829 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 38830 L_250AB63A: 38831 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 38832 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 38833 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 38834 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 38835 RECOMP_FLAGS_IN(); 38836 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 38837 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 38838 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 38839 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 38840 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 38841 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 38842 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 38843 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 38844 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 38845 ebx = eax; /* 0x250AB665: mov ebx, eax */ 38846 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 38847 L_250AB66E: 38848 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 38849 RECOMP_FLAGS_IN(); 38850 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 38851 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 38852 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 38853 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 38854 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 38855 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 38856 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 38857 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 38858 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 38859 PUSH32(esp, edx); /* 0x250AB696: push edx */ 38860 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 38861 PUSH32(esp, eax); /* 0x250AB698: push eax */ 38862 ecx = esi; /* 0x250AB699: mov ecx, esi */ 38863 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 38864 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 38865 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 38866 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 38867 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 38868 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 38869 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 38870 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 38871 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 38872 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 38873 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 38874 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 38875 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 38876 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 38877 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 38878 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 38879 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 38880 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 38881 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 38882 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 38883 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 38884 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 38885 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 38886 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 38887 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 38888 RECOMP_FLAGS_IN(); 38889 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 38890 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 38891 RECOMP_FLAGS_IN(); 38892 L_250AB711: 38893 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 38894 L_250AB715: 38895 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 38896 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 38897 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 38898 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 38899 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 38900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 38901 eax = eax + 1; /* 0x250AB727: inc eax */ 38902 _flag_k = FK_INC; 38903 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 38904 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 38905 edx = edx + 1; /* 0x250AB72E: inc edx */ 38906 _flag_k = FK_INC; 38907 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 38908 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 38909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38910 _flag_k = FK_CMP; 38911 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 38912 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 38913 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 38914 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 38915 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 38916 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 38917 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 38918 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 38919 RECOMP_BACKEDGE(); 38920 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 38921 L_250AB75B: 38922 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 38923 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 38924 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 38925 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 38926 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 38927 eax = eax + 1; /* 0x250AB76D: inc eax */ 38928 _flag_k = FK_INC; 38929 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 38930 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 38931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38932 _flag_k = FK_CMP; 38933 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 38934 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 38935 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 38936 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 38937 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 38938 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 38939 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 38940 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 38941 RECOMP_BACKEDGE(); 38942 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 38943 L_250AB7A0: 38944 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 38945 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 38946 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38947 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 38948 _flag_k = FK_ADD; 38949 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 38950 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 38951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38952 _flag_k = FK_CMP; 38953 RECOMP_BACKEDGE(); 38954 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 38955 L_250AB7AE: 38956 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 38957 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 38958 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 38959 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 38960 RECOMP_FLAGS_IN(); 38961 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 38962 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 38963 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38964 _cf = 0; 38965 _flag_k = FK_NARROW(FK_TEST, 24); 38966 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 38967 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 38968 L_250AB7C7: 38969 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 38970 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 38971 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 38972 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 38973 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 38974 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 38975 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 38976 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 38977 RECOMP_FLAGS_IN(); 38978 L_250AB7E2: 38979 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 38980 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 38981 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38982 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 38983 _cf = 0; 38984 _flag_k = FK_TEST; 38985 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 38986 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 38987 fp_pop(); 38988 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 38989 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 38990 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 38991 _cf = 0; 38992 _flag_k = FK_NARROW(FK_TEST, 24); 38993 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 38994 L_250AB802: 38995 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 38996 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 38997 fp_pop(); 38998 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 38999 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 39000 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 39001 _cf = 0; 39002 _flag_k = FK_NARROW(FK_TEST, 24); 39003 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 39004 L_250AB819: 39005 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 39006 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 39007 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 39008 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 39009 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 39010 RECOMP_FLAGS_IN(); 39011 ecx = edi; /* 0x250AB825: mov ecx, edi */ 39012 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 39013 RECOMP_FLAGS_IN(); 39014 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 39015 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 39016 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 39017 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 39018 edx = ecx; /* 0x250AB838: mov edx, ecx */ 39019 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 39020 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 39021 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 39022 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 39023 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 39024 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 39025 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 39026 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 39027 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 39028 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 39029 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 39030 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 39031 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 39032 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 39033 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 39034 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 39035 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 39036 ecx = esi; /* 0x250AB880: mov ecx, esi */ 39037 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 39038 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 39039 RECOMP_FLAGS_IN(); 39040 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 39041 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 39042 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 39043 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 39044 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 39045 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 39046 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 39047 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 39048 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 39049 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 39050 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 39051 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 39052 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 39053 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 39054 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 39055 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 39056 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 39057 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 39058 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 39059 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 39060 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 39061 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 39062 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 39063 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 39064 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 39065 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 39066 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 39067 RECOMP_FLAGS_IN(); 39068 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 39069 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 39070 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 39071 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 39072 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 39073 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 39074 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 39075 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 39076 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 39077 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 39078 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 39079 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 39080 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 39081 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 39082 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 39083 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 39084 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 39085 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 39086 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 39087 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 39088 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 39089 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 39090 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 39091 PUSH32(esp, edi); /* 0x250AB957: push edi */ 39092 ecx = esi; /* 0x250AB958: mov ecx, esi */ 39093 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 39094 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 39095 RECOMP_FLAGS_IN(); 39096 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 39097 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 39098 L_250AB969: 39099 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 39100 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 39101 fp_pop(); 39102 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 39103 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 39104 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 39105 _cf = 0; 39106 _flag_k = FK_NARROW(FK_TEST, 24); 39107 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 39108 L_250AB97C: 39109 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 39110 L_250AB982: 39111 ecx = edi; /* 0x250AB982: mov ecx, edi */ 39112 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 39113 RECOMP_FLAGS_IN(); 39114 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 39115 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 39116 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 39117 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 39118 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 39119 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 39120 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 39121 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 39122 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 39123 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 39124 RECOMP_FLAGS_IN(); 39125 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 39126 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 39127 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39128 _cf = 0; 39129 _flag_k = FK_NARROW(FK_TEST, 24); 39130 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 39131 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 39132 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 39133 L_250AB9BB: 39134 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 39135 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 39136 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 39137 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 39138 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 39139 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 39140 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 39141 RECOMP_FLAGS_IN(); 39142 L_250AB9D6: 39143 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 39144 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 39145 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39146 _cf = 0; 39147 _flag_k = FK_NARROW(FK_TEST, 24); 39148 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 39149 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 39150 L_250AB9E4: 39151 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 39152 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 39153 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 39154 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 39155 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 39156 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 39157 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 39158 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 39159 RECOMP_FLAGS_IN(); 39160 L_250ABA00: 39161 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 39162 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 39163 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39164 _cf = 0; 39165 _flag_k = FK_NARROW(FK_TEST, 24); 39166 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 39167 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 39168 L_250ABA0E: 39169 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 39170 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 39171 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 39172 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 39173 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 39174 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 39175 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 39176 RECOMP_FLAGS_IN(); 39177 L_250ABA2C: 39178 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 39179 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 39180 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39181 _cf = 0; 39182 _flag_k = FK_NARROW(FK_TEST, 24); 39183 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 39184 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 39185 L_250ABA3A: 39186 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 39187 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 39188 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 39189 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 39190 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 39191 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 39192 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 39193 RECOMP_FLAGS_IN(); 39194 L_250ABA55: 39195 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 39196 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 39197 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39198 _cf = 0; 39199 _flag_k = FK_NARROW(FK_TEST, 24); 39200 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 39201 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 39202 L_250ABA63: 39203 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 39204 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 39205 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 39206 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 39207 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 39208 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 39209 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 39210 RECOMP_FLAGS_IN(); 39211 L_250ABA7E: 39212 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 39213 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 39214 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39215 _cf = 0; 39216 _flag_k = FK_NARROW(FK_TEST, 24); 39217 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 39218 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 39219 L_250ABA8F: 39220 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 39221 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 39222 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 39223 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 39224 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 39225 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 39226 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 39227 RECOMP_FLAGS_IN(); 39228 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 39229 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 39230 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 39231 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 39232 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 39233 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 39234 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 39235 L_250ABAC2: 39236 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 39237 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 39238 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 39239 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 39240 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 39241 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 39242 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 39243 RECOMP_REGS_OUT(); 39244 } 39245 39246 void sub_250AB711(void) { 39247 int _fpu_cmp = 0; 39248 uint32_t _cf = 0; 39249 int _df = 1; 39250 uint32_t _flag_k = FK_NONE; 39251 uint32_t _flag_a = 0, _flag_b = 0; 39252 uint32_t _itail_tgt = 0; 39253 RECOMP_REGS_LOCALS 39254 RECOMP_ENTER(0x250AB711u); 39255 39256 goto L_250AB711; 39257 L_250AB2B2: 39258 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 39259 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 39260 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 39261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39262 _flag_k = FK_CMP; 39263 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 39264 L_250AB2C1: 39265 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 39266 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 39267 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 39268 _cf = 0; 39269 _flag_k = FK_TEST; 39270 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 39271 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 39272 L_250AB2D1: 39273 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 39274 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 39275 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39276 _cf = 0; 39277 _flag_k = FK_NARROW(FK_TEST, 24); 39278 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 39279 L_250AB2DC: 39280 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 39281 L_250AB2E6: 39282 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 39283 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39284 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 39285 _cf = 0; 39286 _flag_k = FK_TEST; 39287 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 39288 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 39289 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 39290 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 39291 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 39292 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 39293 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 39294 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 39295 _cf = 0; 39296 _flag_k = FK_NARROW(FK_TEST, 24); 39297 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 39298 L_250AB310: 39299 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 39300 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 39301 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 39302 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 39303 _cf = 0; 39304 _flag_k = FK_NARROW(FK_TEST, 24); 39305 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 39306 L_250AB31D: 39307 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 39308 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 39309 L_250AB325: 39310 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 39311 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 39312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39313 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 39314 _flag_k = FK_CMP; 39315 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 39316 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 39317 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 39318 RECOMP_FLAGS_IN(); 39319 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 39320 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 39321 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39322 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 39323 _flag_k = FK_ADD; 39324 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 39325 L_250AB346: 39326 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 39327 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 39328 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 39329 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 39330 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 39331 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 39332 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 39333 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 39334 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 39335 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 39336 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 39337 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 39338 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 39339 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 39340 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 39341 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 39342 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 39343 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 39344 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 39345 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 39346 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 39347 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 39348 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 39349 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 39350 RECOMP_FLAGS_IN(); 39351 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 39352 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 39353 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 39354 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 39355 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 39356 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 39357 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 39358 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 39359 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 39360 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 39361 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 39362 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 39363 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 39364 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 39365 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 39366 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 39367 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 39368 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 39369 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 39370 RECOMP_FLAGS_IN(); 39371 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 39372 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 39373 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 39374 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 39375 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 39376 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 39377 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 39378 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 39379 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 39380 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 39381 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 39382 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 39383 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 39384 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 39385 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 39386 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 39387 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 39388 RECOMP_FLAGS_IN(); 39389 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 39390 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 39391 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 39392 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 39393 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 39394 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 39395 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 39396 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 39397 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 39398 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 39399 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 39400 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 39401 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 39402 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 39403 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 39404 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 39405 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 39406 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 39407 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 39408 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 39409 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 39410 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 39411 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 39412 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 39413 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 39414 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 39415 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 39416 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 39417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39418 _flag_k = FK_CMP; 39419 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 39420 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 39421 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 39422 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 39423 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 39424 L_250AB4EE: 39425 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 39426 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 39427 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 39428 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 39429 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 39430 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 39431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 39432 _cf = 0; 39433 _flag_k = FK_TEST; 39434 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 39435 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 39436 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 39437 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 39438 L_250AB524: 39439 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 39440 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 39441 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 39442 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 39443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39444 _flag_k = FK_CMP; 39445 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 39446 L_250AB534: 39447 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 39448 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 39449 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 39450 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 39451 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 39452 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 39453 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 39454 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 39455 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 39456 PUSH32(esp, eax); /* 0x250AB561: push eax */ 39457 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 39458 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 39459 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 39460 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 39461 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 39462 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 39463 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 39464 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 39465 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 39466 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 39467 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 39468 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 39469 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 39470 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 39471 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 39472 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 39473 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 39474 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 39475 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 39476 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 39477 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 39478 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 39479 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 39480 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 39481 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 39482 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 39483 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 39484 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 39485 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 39486 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 39487 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 39488 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 39489 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 39490 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 39491 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 39492 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 39493 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 39494 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 39495 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 39496 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 39497 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 39498 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 39499 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 39500 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 39501 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 39502 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 39503 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 39504 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 39505 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 39506 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 39507 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 39508 RECOMP_FLAGS_IN(); 39509 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 39510 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 39511 fp_pop(); 39512 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 39513 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 39514 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 39515 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 39516 _cf = 0; 39517 _flag_k = FK_NARROW(FK_TEST, 24); 39518 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 39519 L_250AB623: 39520 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 39521 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 39522 fp_pop(); 39523 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 39524 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 39525 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 39526 _cf = 0; 39527 _flag_k = FK_NARROW(FK_TEST, 24); 39528 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 39529 L_250AB63A: 39530 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 39531 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 39532 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 39533 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 39534 RECOMP_FLAGS_IN(); 39535 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 39536 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 39537 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 39538 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 39539 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 39540 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 39541 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 39542 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 39543 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 39544 ebx = eax; /* 0x250AB665: mov ebx, eax */ 39545 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 39546 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 39547 RECOMP_FLAGS_IN(); 39548 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 39549 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 39550 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 39551 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 39552 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 39553 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 39554 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 39555 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 39556 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 39557 PUSH32(esp, edx); /* 0x250AB696: push edx */ 39558 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 39559 PUSH32(esp, eax); /* 0x250AB698: push eax */ 39560 ecx = esi; /* 0x250AB699: mov ecx, esi */ 39561 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 39562 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 39563 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 39564 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 39565 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 39566 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 39567 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 39568 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 39569 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 39570 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 39571 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 39572 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 39573 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 39574 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 39575 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 39576 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 39577 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 39578 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 39579 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 39580 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 39581 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 39582 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 39583 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 39584 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 39585 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 39586 RECOMP_FLAGS_IN(); 39587 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 39588 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 39589 RECOMP_FLAGS_IN(); 39590 L_250AB711: 39591 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 39592 L_250AB715: 39593 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 39594 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 39595 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 39596 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 39597 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 39598 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 39599 eax = eax + 1; /* 0x250AB727: inc eax */ 39600 _flag_k = FK_INC; 39601 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 39602 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 39603 edx = edx + 1; /* 0x250AB72E: inc edx */ 39604 _flag_k = FK_INC; 39605 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 39606 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 39607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39608 _flag_k = FK_CMP; 39609 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 39610 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 39611 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 39612 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 39613 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 39614 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 39615 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 39616 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 39617 RECOMP_BACKEDGE(); 39618 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 39619 L_250AB75B: 39620 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 39621 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 39622 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 39623 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 39624 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 39625 eax = eax + 1; /* 0x250AB76D: inc eax */ 39626 _flag_k = FK_INC; 39627 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 39628 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 39629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39630 _flag_k = FK_CMP; 39631 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 39632 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 39633 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 39634 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 39635 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 39636 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 39637 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 39638 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 39639 RECOMP_BACKEDGE(); 39640 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 39641 L_250AB7A0: 39642 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 39643 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 39644 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39645 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 39646 _flag_k = FK_ADD; 39647 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 39648 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 39649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39650 _flag_k = FK_CMP; 39651 RECOMP_BACKEDGE(); 39652 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 39653 L_250AB7AE: 39654 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 39655 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 39656 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 39657 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 39658 RECOMP_FLAGS_IN(); 39659 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 39660 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 39661 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39662 _cf = 0; 39663 _flag_k = FK_NARROW(FK_TEST, 24); 39664 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 39665 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 39666 L_250AB7C7: 39667 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 39668 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 39669 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 39670 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 39671 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 39672 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 39673 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 39674 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 39675 RECOMP_FLAGS_IN(); 39676 L_250AB7E2: 39677 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 39678 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 39679 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39680 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 39681 _cf = 0; 39682 _flag_k = FK_TEST; 39683 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 39684 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 39685 fp_pop(); 39686 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 39687 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 39688 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 39689 _cf = 0; 39690 _flag_k = FK_NARROW(FK_TEST, 24); 39691 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 39692 L_250AB802: 39693 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 39694 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 39695 fp_pop(); 39696 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 39697 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 39698 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 39699 _cf = 0; 39700 _flag_k = FK_NARROW(FK_TEST, 24); 39701 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 39702 L_250AB819: 39703 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 39704 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 39705 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 39706 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 39707 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 39708 RECOMP_FLAGS_IN(); 39709 ecx = edi; /* 0x250AB825: mov ecx, edi */ 39710 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 39711 RECOMP_FLAGS_IN(); 39712 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 39713 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 39714 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 39715 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 39716 edx = ecx; /* 0x250AB838: mov edx, ecx */ 39717 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 39718 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 39719 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 39720 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 39721 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 39722 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 39723 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 39724 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 39725 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 39726 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 39727 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 39728 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 39729 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 39730 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 39731 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 39732 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 39733 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 39734 ecx = esi; /* 0x250AB880: mov ecx, esi */ 39735 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 39736 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 39737 RECOMP_FLAGS_IN(); 39738 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 39739 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 39740 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 39741 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 39742 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 39743 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 39744 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 39745 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 39746 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 39747 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 39748 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 39749 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 39750 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 39751 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 39752 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 39753 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 39754 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 39755 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 39756 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 39757 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 39758 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 39759 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 39760 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 39761 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 39762 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 39763 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 39764 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 39765 RECOMP_FLAGS_IN(); 39766 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 39767 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 39768 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 39769 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 39770 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 39771 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 39772 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 39773 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 39774 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 39775 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 39776 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 39777 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 39778 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 39779 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 39780 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 39781 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 39782 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 39783 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 39784 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 39785 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 39786 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 39787 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 39788 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 39789 PUSH32(esp, edi); /* 0x250AB957: push edi */ 39790 ecx = esi; /* 0x250AB958: mov ecx, esi */ 39791 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 39792 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 39793 RECOMP_FLAGS_IN(); 39794 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 39795 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 39796 L_250AB969: 39797 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 39798 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 39799 fp_pop(); 39800 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 39801 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 39802 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 39803 _cf = 0; 39804 _flag_k = FK_NARROW(FK_TEST, 24); 39805 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 39806 L_250AB97C: 39807 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 39808 L_250AB982: 39809 ecx = edi; /* 0x250AB982: mov ecx, edi */ 39810 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 39811 RECOMP_FLAGS_IN(); 39812 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 39813 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 39814 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 39815 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 39816 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 39817 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 39818 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 39819 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 39820 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 39821 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 39822 RECOMP_FLAGS_IN(); 39823 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 39824 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 39825 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39826 _cf = 0; 39827 _flag_k = FK_NARROW(FK_TEST, 24); 39828 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 39829 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 39830 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 39831 L_250AB9BB: 39832 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 39833 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 39834 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 39835 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 39836 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 39837 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 39838 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 39839 RECOMP_FLAGS_IN(); 39840 L_250AB9D6: 39841 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 39842 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 39843 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39844 _cf = 0; 39845 _flag_k = FK_NARROW(FK_TEST, 24); 39846 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 39847 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 39848 L_250AB9E4: 39849 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 39850 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 39851 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 39852 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 39853 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 39854 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 39855 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 39856 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 39857 RECOMP_FLAGS_IN(); 39858 L_250ABA00: 39859 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 39860 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 39861 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39862 _cf = 0; 39863 _flag_k = FK_NARROW(FK_TEST, 24); 39864 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 39865 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 39866 L_250ABA0E: 39867 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 39868 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 39869 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 39870 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 39871 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 39872 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 39873 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 39874 RECOMP_FLAGS_IN(); 39875 L_250ABA2C: 39876 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 39877 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 39878 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39879 _cf = 0; 39880 _flag_k = FK_NARROW(FK_TEST, 24); 39881 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 39882 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 39883 L_250ABA3A: 39884 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 39885 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 39886 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 39887 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 39888 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 39889 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 39890 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 39891 RECOMP_FLAGS_IN(); 39892 L_250ABA55: 39893 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 39894 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 39895 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39896 _cf = 0; 39897 _flag_k = FK_NARROW(FK_TEST, 24); 39898 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 39899 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 39900 L_250ABA63: 39901 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 39902 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 39903 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 39904 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 39905 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 39906 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 39907 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 39908 RECOMP_FLAGS_IN(); 39909 L_250ABA7E: 39910 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 39911 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 39912 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39913 _cf = 0; 39914 _flag_k = FK_NARROW(FK_TEST, 24); 39915 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 39916 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 39917 L_250ABA8F: 39918 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 39919 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 39920 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 39921 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 39922 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 39923 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 39924 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 39925 RECOMP_FLAGS_IN(); 39926 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 39927 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 39928 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 39929 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 39930 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 39931 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 39932 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 39933 L_250ABAC2: 39934 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 39935 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 39936 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 39937 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 39938 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 39939 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 39940 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 39941 RECOMP_REGS_OUT(); 39942 } 39943 39944 void sub_250AB715(void) { 39945 int _fpu_cmp = 0; 39946 uint32_t _cf = 0; 39947 int _df = 1; 39948 uint32_t _flag_k = FK_NONE; 39949 uint32_t _flag_a = 0, _flag_b = 0; 39950 uint32_t _itail_tgt = 0; 39951 RECOMP_REGS_LOCALS 39952 RECOMP_ENTER(0x250AB715u); 39953 39954 goto L_250AB715; 39955 L_250AB2B2: 39956 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 39957 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 39958 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 39959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39960 _flag_k = FK_CMP; 39961 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 39962 L_250AB2C1: 39963 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 39964 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 39965 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 39966 _cf = 0; 39967 _flag_k = FK_TEST; 39968 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 39969 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 39970 L_250AB2D1: 39971 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 39972 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 39973 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39974 _cf = 0; 39975 _flag_k = FK_NARROW(FK_TEST, 24); 39976 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 39977 L_250AB2DC: 39978 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 39979 L_250AB2E6: 39980 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 39981 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39982 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 39983 _cf = 0; 39984 _flag_k = FK_TEST; 39985 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 39986 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 39987 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 39988 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 39989 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 39990 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 39991 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 39992 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 39993 _cf = 0; 39994 _flag_k = FK_NARROW(FK_TEST, 24); 39995 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 39996 L_250AB310: 39997 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 39998 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 39999 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 40000 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 40001 _cf = 0; 40002 _flag_k = FK_NARROW(FK_TEST, 24); 40003 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 40004 L_250AB31D: 40005 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 40006 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 40007 L_250AB325: 40008 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 40009 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 40010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40011 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 40012 _flag_k = FK_CMP; 40013 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 40014 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 40015 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 40016 RECOMP_FLAGS_IN(); 40017 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 40018 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 40019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40020 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 40021 _flag_k = FK_ADD; 40022 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 40023 L_250AB346: 40024 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 40025 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 40026 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 40027 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 40028 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 40029 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 40030 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 40031 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 40032 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 40033 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 40034 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 40035 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 40036 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 40037 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 40038 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 40039 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 40040 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 40041 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 40042 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 40043 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 40044 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 40045 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 40046 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 40047 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 40048 RECOMP_FLAGS_IN(); 40049 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 40050 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 40051 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 40052 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 40053 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 40054 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 40055 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 40056 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 40057 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 40058 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 40059 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 40060 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 40061 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 40062 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 40063 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 40064 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 40065 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 40066 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 40067 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 40068 RECOMP_FLAGS_IN(); 40069 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 40070 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 40071 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 40072 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 40073 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 40074 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 40075 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 40076 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 40077 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 40078 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 40079 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 40080 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 40081 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 40082 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 40083 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 40084 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 40085 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 40086 RECOMP_FLAGS_IN(); 40087 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 40088 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 40089 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 40090 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 40091 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 40092 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 40093 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 40094 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 40095 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 40096 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 40097 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 40098 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 40099 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 40100 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 40101 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 40102 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 40103 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 40104 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 40105 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 40106 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 40107 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 40108 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 40109 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 40110 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 40111 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 40112 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 40113 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 40114 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 40115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40116 _flag_k = FK_CMP; 40117 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 40118 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 40119 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 40120 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 40121 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 40122 L_250AB4EE: 40123 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 40124 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 40125 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 40126 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 40127 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 40128 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 40129 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 40130 _cf = 0; 40131 _flag_k = FK_TEST; 40132 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 40133 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 40134 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 40135 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 40136 L_250AB524: 40137 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 40138 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 40139 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 40140 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 40141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40142 _flag_k = FK_CMP; 40143 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 40144 L_250AB534: 40145 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 40146 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 40147 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 40148 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 40149 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 40150 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 40151 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 40152 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 40153 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 40154 PUSH32(esp, eax); /* 0x250AB561: push eax */ 40155 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 40156 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 40157 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 40158 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 40159 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 40160 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 40161 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 40162 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 40163 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 40164 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 40165 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 40166 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 40167 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 40168 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 40169 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 40170 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 40171 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 40172 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 40173 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 40174 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 40175 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 40176 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 40177 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 40178 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 40179 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 40180 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 40181 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 40182 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 40183 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 40184 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 40185 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 40186 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 40187 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 40188 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 40189 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 40190 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 40191 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 40192 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 40193 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 40194 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 40195 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 40196 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 40197 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 40198 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 40199 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 40200 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 40201 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 40202 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 40203 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 40204 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 40205 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 40206 RECOMP_FLAGS_IN(); 40207 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 40208 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 40209 fp_pop(); 40210 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 40211 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 40212 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 40213 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 40214 _cf = 0; 40215 _flag_k = FK_NARROW(FK_TEST, 24); 40216 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 40217 L_250AB623: 40218 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 40219 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 40220 fp_pop(); 40221 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 40222 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 40223 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 40224 _cf = 0; 40225 _flag_k = FK_NARROW(FK_TEST, 24); 40226 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 40227 L_250AB63A: 40228 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 40229 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 40230 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 40231 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 40232 RECOMP_FLAGS_IN(); 40233 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 40234 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 40235 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 40236 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 40237 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 40238 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 40239 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 40240 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 40241 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 40242 ebx = eax; /* 0x250AB665: mov ebx, eax */ 40243 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 40244 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 40245 RECOMP_FLAGS_IN(); 40246 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 40247 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 40248 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 40249 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 40250 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 40251 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 40252 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 40253 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 40254 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 40255 PUSH32(esp, edx); /* 0x250AB696: push edx */ 40256 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 40257 PUSH32(esp, eax); /* 0x250AB698: push eax */ 40258 ecx = esi; /* 0x250AB699: mov ecx, esi */ 40259 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 40260 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 40261 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 40262 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 40263 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 40264 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 40265 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 40266 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 40267 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 40268 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 40269 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 40270 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 40271 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 40272 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 40273 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 40274 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 40275 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 40276 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 40277 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 40278 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 40279 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 40280 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 40281 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 40282 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 40283 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 40284 RECOMP_FLAGS_IN(); 40285 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 40286 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 40287 RECOMP_FLAGS_IN(); 40288 L_250AB711: 40289 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 40290 L_250AB715: 40291 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 40292 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 40293 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 40294 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 40295 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 40296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 40297 eax = eax + 1; /* 0x250AB727: inc eax */ 40298 _flag_k = FK_INC; 40299 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 40300 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 40301 edx = edx + 1; /* 0x250AB72E: inc edx */ 40302 _flag_k = FK_INC; 40303 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 40304 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 40305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40306 _flag_k = FK_CMP; 40307 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 40308 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 40309 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 40310 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 40311 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 40312 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 40313 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 40314 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 40315 RECOMP_BACKEDGE(); 40316 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 40317 L_250AB75B: 40318 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 40319 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 40320 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 40321 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 40322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 40323 eax = eax + 1; /* 0x250AB76D: inc eax */ 40324 _flag_k = FK_INC; 40325 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 40326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 40327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40328 _flag_k = FK_CMP; 40329 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 40330 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 40331 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 40332 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 40333 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 40334 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 40335 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 40336 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 40337 RECOMP_BACKEDGE(); 40338 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 40339 L_250AB7A0: 40340 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 40341 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 40342 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40343 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 40344 _flag_k = FK_ADD; 40345 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 40346 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 40347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40348 _flag_k = FK_CMP; 40349 RECOMP_BACKEDGE(); 40350 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 40351 L_250AB7AE: 40352 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 40353 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 40354 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 40355 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 40356 RECOMP_FLAGS_IN(); 40357 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 40358 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 40359 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40360 _cf = 0; 40361 _flag_k = FK_NARROW(FK_TEST, 24); 40362 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 40363 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 40364 L_250AB7C7: 40365 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 40366 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 40367 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 40368 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 40369 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 40370 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 40371 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 40372 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 40373 RECOMP_FLAGS_IN(); 40374 L_250AB7E2: 40375 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 40376 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 40377 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 40378 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 40379 _cf = 0; 40380 _flag_k = FK_TEST; 40381 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 40382 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 40383 fp_pop(); 40384 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 40385 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 40386 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 40387 _cf = 0; 40388 _flag_k = FK_NARROW(FK_TEST, 24); 40389 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 40390 L_250AB802: 40391 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 40392 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 40393 fp_pop(); 40394 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 40395 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 40396 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 40397 _cf = 0; 40398 _flag_k = FK_NARROW(FK_TEST, 24); 40399 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 40400 L_250AB819: 40401 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 40402 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 40403 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 40404 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 40405 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 40406 RECOMP_FLAGS_IN(); 40407 ecx = edi; /* 0x250AB825: mov ecx, edi */ 40408 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 40409 RECOMP_FLAGS_IN(); 40410 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 40411 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 40412 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 40413 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 40414 edx = ecx; /* 0x250AB838: mov edx, ecx */ 40415 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 40416 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 40417 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 40418 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 40419 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 40420 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 40421 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 40422 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 40423 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 40424 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 40425 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 40426 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 40427 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 40428 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 40429 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 40430 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 40431 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 40432 ecx = esi; /* 0x250AB880: mov ecx, esi */ 40433 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 40434 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 40435 RECOMP_FLAGS_IN(); 40436 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 40437 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 40438 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 40439 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 40440 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 40441 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 40442 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 40443 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 40444 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 40445 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 40446 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 40447 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 40448 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 40449 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 40450 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 40451 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 40452 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 40453 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 40454 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 40455 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 40456 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 40457 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 40458 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 40459 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 40460 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 40461 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 40462 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 40463 RECOMP_FLAGS_IN(); 40464 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 40465 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 40466 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 40467 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 40468 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 40469 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 40470 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 40471 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 40472 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 40473 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 40474 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 40475 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 40476 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 40477 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 40478 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 40479 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 40480 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 40481 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 40482 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 40483 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 40484 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 40485 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 40486 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 40487 PUSH32(esp, edi); /* 0x250AB957: push edi */ 40488 ecx = esi; /* 0x250AB958: mov ecx, esi */ 40489 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 40490 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 40491 RECOMP_FLAGS_IN(); 40492 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 40493 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 40494 L_250AB969: 40495 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 40496 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 40497 fp_pop(); 40498 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 40499 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 40500 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 40501 _cf = 0; 40502 _flag_k = FK_NARROW(FK_TEST, 24); 40503 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 40504 L_250AB97C: 40505 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 40506 L_250AB982: 40507 ecx = edi; /* 0x250AB982: mov ecx, edi */ 40508 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 40509 RECOMP_FLAGS_IN(); 40510 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 40511 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 40512 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 40513 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 40514 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 40515 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 40516 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 40517 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 40518 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 40519 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 40520 RECOMP_FLAGS_IN(); 40521 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 40522 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 40523 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40524 _cf = 0; 40525 _flag_k = FK_NARROW(FK_TEST, 24); 40526 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 40527 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 40528 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 40529 L_250AB9BB: 40530 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 40531 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 40532 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 40533 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 40534 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 40535 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 40536 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 40537 RECOMP_FLAGS_IN(); 40538 L_250AB9D6: 40539 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 40540 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 40541 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40542 _cf = 0; 40543 _flag_k = FK_NARROW(FK_TEST, 24); 40544 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 40545 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 40546 L_250AB9E4: 40547 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 40548 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 40549 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 40550 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 40551 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 40552 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 40553 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 40554 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 40555 RECOMP_FLAGS_IN(); 40556 L_250ABA00: 40557 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 40558 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 40559 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40560 _cf = 0; 40561 _flag_k = FK_NARROW(FK_TEST, 24); 40562 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 40563 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 40564 L_250ABA0E: 40565 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 40566 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 40567 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 40568 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 40569 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 40570 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 40571 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 40572 RECOMP_FLAGS_IN(); 40573 L_250ABA2C: 40574 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 40575 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 40576 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40577 _cf = 0; 40578 _flag_k = FK_NARROW(FK_TEST, 24); 40579 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 40580 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 40581 L_250ABA3A: 40582 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 40583 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 40584 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 40585 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 40586 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 40587 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 40588 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 40589 RECOMP_FLAGS_IN(); 40590 L_250ABA55: 40591 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 40592 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 40593 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40594 _cf = 0; 40595 _flag_k = FK_NARROW(FK_TEST, 24); 40596 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 40597 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 40598 L_250ABA63: 40599 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 40600 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 40601 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 40602 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 40603 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 40604 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 40605 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 40606 RECOMP_FLAGS_IN(); 40607 L_250ABA7E: 40608 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 40609 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 40610 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40611 _cf = 0; 40612 _flag_k = FK_NARROW(FK_TEST, 24); 40613 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 40614 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 40615 L_250ABA8F: 40616 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 40617 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 40618 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 40619 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 40620 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 40621 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 40622 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 40623 RECOMP_FLAGS_IN(); 40624 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 40625 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 40626 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 40627 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 40628 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 40629 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 40630 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 40631 L_250ABAC2: 40632 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 40633 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 40634 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 40635 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 40636 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 40637 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 40638 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 40639 RECOMP_REGS_OUT(); 40640 } 40641 40642 void sub_250AB75B(void) { 40643 int _fpu_cmp = 0; 40644 uint32_t _cf = 0; 40645 int _df = 1; 40646 uint32_t _flag_k = FK_NONE; 40647 uint32_t _flag_a = 0, _flag_b = 0; 40648 uint32_t _itail_tgt = 0; 40649 RECOMP_REGS_LOCALS 40650 RECOMP_ENTER(0x250AB75Bu); 40651 40652 goto L_250AB75B; 40653 L_250AB2B2: 40654 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 40655 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 40656 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 40657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40658 _flag_k = FK_CMP; 40659 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 40660 L_250AB2C1: 40661 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 40662 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 40663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 40664 _cf = 0; 40665 _flag_k = FK_TEST; 40666 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 40667 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 40668 L_250AB2D1: 40669 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 40670 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 40671 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40672 _cf = 0; 40673 _flag_k = FK_NARROW(FK_TEST, 24); 40674 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 40675 L_250AB2DC: 40676 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 40677 L_250AB2E6: 40678 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 40679 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 40680 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 40681 _cf = 0; 40682 _flag_k = FK_TEST; 40683 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 40684 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 40685 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 40686 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 40687 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 40688 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 40689 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 40690 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 40691 _cf = 0; 40692 _flag_k = FK_NARROW(FK_TEST, 24); 40693 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 40694 L_250AB310: 40695 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 40696 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 40697 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 40698 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 40699 _cf = 0; 40700 _flag_k = FK_NARROW(FK_TEST, 24); 40701 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 40702 L_250AB31D: 40703 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 40704 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 40705 L_250AB325: 40706 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 40707 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 40708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40709 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 40710 _flag_k = FK_CMP; 40711 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 40712 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 40713 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 40714 RECOMP_FLAGS_IN(); 40715 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 40716 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 40717 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40718 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 40719 _flag_k = FK_ADD; 40720 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 40721 L_250AB346: 40722 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 40723 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 40724 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 40725 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 40726 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 40727 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 40728 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 40729 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 40730 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 40731 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 40732 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 40733 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 40734 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 40735 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 40736 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 40737 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 40738 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 40739 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 40740 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 40741 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 40742 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 40743 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 40744 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 40745 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 40746 RECOMP_FLAGS_IN(); 40747 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 40748 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 40749 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 40750 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 40751 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 40752 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 40753 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 40754 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 40755 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 40756 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 40757 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 40758 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 40759 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 40760 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 40761 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 40762 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 40763 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 40764 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 40765 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 40766 RECOMP_FLAGS_IN(); 40767 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 40768 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 40769 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 40770 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 40771 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 40772 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 40773 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 40774 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 40775 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 40776 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 40777 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 40778 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 40779 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 40780 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 40781 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 40782 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 40783 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 40784 RECOMP_FLAGS_IN(); 40785 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 40786 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 40787 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 40788 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 40789 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 40790 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 40791 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 40792 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 40793 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 40794 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 40795 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 40796 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 40797 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 40798 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 40799 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 40800 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 40801 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 40802 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 40803 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 40804 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 40805 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 40806 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 40807 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 40808 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 40809 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 40810 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 40811 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 40812 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 40813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40814 _flag_k = FK_CMP; 40815 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 40816 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 40817 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 40818 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 40819 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 40820 L_250AB4EE: 40821 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 40822 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 40823 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 40824 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 40825 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 40826 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 40827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 40828 _cf = 0; 40829 _flag_k = FK_TEST; 40830 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 40831 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 40832 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 40833 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 40834 L_250AB524: 40835 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 40836 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 40837 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 40838 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 40839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40840 _flag_k = FK_CMP; 40841 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 40842 L_250AB534: 40843 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 40844 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 40845 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 40846 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 40847 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 40848 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 40849 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 40850 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 40851 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 40852 PUSH32(esp, eax); /* 0x250AB561: push eax */ 40853 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 40854 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 40855 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 40856 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 40857 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 40858 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 40859 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 40860 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 40861 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 40862 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 40863 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 40864 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 40865 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 40866 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 40867 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 40868 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 40869 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 40870 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 40871 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 40872 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 40873 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 40874 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 40875 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 40876 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 40877 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 40878 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 40879 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 40880 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 40881 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 40882 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 40883 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 40884 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 40885 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 40886 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 40887 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 40888 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 40889 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 40890 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 40891 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 40892 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 40893 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 40894 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 40895 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 40896 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 40897 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 40898 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 40899 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 40900 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 40901 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 40902 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 40903 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 40904 RECOMP_FLAGS_IN(); 40905 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 40906 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 40907 fp_pop(); 40908 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 40909 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 40910 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 40911 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 40912 _cf = 0; 40913 _flag_k = FK_NARROW(FK_TEST, 24); 40914 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 40915 L_250AB623: 40916 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 40917 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 40918 fp_pop(); 40919 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 40920 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 40921 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 40922 _cf = 0; 40923 _flag_k = FK_NARROW(FK_TEST, 24); 40924 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 40925 L_250AB63A: 40926 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 40927 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 40928 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 40929 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 40930 RECOMP_FLAGS_IN(); 40931 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 40932 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 40933 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 40934 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 40935 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 40936 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 40937 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 40938 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 40939 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 40940 ebx = eax; /* 0x250AB665: mov ebx, eax */ 40941 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 40942 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 40943 RECOMP_FLAGS_IN(); 40944 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 40945 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 40946 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 40947 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 40948 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 40949 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 40950 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 40951 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 40952 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 40953 PUSH32(esp, edx); /* 0x250AB696: push edx */ 40954 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 40955 PUSH32(esp, eax); /* 0x250AB698: push eax */ 40956 ecx = esi; /* 0x250AB699: mov ecx, esi */ 40957 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 40958 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 40959 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 40960 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 40961 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 40962 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 40963 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 40964 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 40965 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 40966 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 40967 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 40968 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 40969 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 40970 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 40971 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 40972 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 40973 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 40974 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 40975 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 40976 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 40977 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 40978 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 40979 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 40980 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 40981 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 40982 RECOMP_FLAGS_IN(); 40983 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 40984 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 40985 RECOMP_FLAGS_IN(); 40986 L_250AB711: 40987 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 40988 L_250AB715: 40989 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 40990 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 40991 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 40992 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 40993 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 40994 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 40995 eax = eax + 1; /* 0x250AB727: inc eax */ 40996 _flag_k = FK_INC; 40997 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 40998 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 40999 edx = edx + 1; /* 0x250AB72E: inc edx */ 41000 _flag_k = FK_INC; 41001 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 41002 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 41003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41004 _flag_k = FK_CMP; 41005 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 41006 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 41007 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 41008 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 41009 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 41010 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 41011 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 41012 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 41013 RECOMP_BACKEDGE(); 41014 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 41015 L_250AB75B: 41016 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 41017 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 41018 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 41019 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 41020 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 41021 eax = eax + 1; /* 0x250AB76D: inc eax */ 41022 _flag_k = FK_INC; 41023 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 41024 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 41025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41026 _flag_k = FK_CMP; 41027 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 41028 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 41029 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 41030 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 41031 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 41032 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 41033 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 41034 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 41035 RECOMP_BACKEDGE(); 41036 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 41037 L_250AB7A0: 41038 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 41039 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 41040 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41041 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 41042 _flag_k = FK_ADD; 41043 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 41044 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 41045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41046 _flag_k = FK_CMP; 41047 RECOMP_BACKEDGE(); 41048 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 41049 L_250AB7AE: 41050 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 41051 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 41052 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 41053 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 41054 RECOMP_FLAGS_IN(); 41055 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 41056 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 41057 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41058 _cf = 0; 41059 _flag_k = FK_NARROW(FK_TEST, 24); 41060 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 41061 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 41062 L_250AB7C7: 41063 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 41064 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 41065 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 41066 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 41067 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 41068 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 41069 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 41070 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 41071 RECOMP_FLAGS_IN(); 41072 L_250AB7E2: 41073 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 41074 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 41075 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41076 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 41077 _cf = 0; 41078 _flag_k = FK_TEST; 41079 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 41080 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 41081 fp_pop(); 41082 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 41083 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 41084 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 41085 _cf = 0; 41086 _flag_k = FK_NARROW(FK_TEST, 24); 41087 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 41088 L_250AB802: 41089 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 41090 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 41091 fp_pop(); 41092 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 41093 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 41094 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 41095 _cf = 0; 41096 _flag_k = FK_NARROW(FK_TEST, 24); 41097 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 41098 L_250AB819: 41099 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 41100 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 41101 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 41102 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 41103 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 41104 RECOMP_FLAGS_IN(); 41105 ecx = edi; /* 0x250AB825: mov ecx, edi */ 41106 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 41107 RECOMP_FLAGS_IN(); 41108 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 41109 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 41110 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 41111 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 41112 edx = ecx; /* 0x250AB838: mov edx, ecx */ 41113 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 41114 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 41115 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 41116 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 41117 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 41118 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 41119 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 41120 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 41121 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 41122 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 41123 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 41124 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 41125 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 41126 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 41127 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 41128 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 41129 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 41130 ecx = esi; /* 0x250AB880: mov ecx, esi */ 41131 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 41132 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 41133 RECOMP_FLAGS_IN(); 41134 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 41135 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 41136 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 41137 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 41138 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 41139 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 41140 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 41141 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 41142 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 41143 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 41144 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 41145 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 41146 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 41147 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 41148 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 41149 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 41150 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 41151 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 41152 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 41153 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 41154 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 41155 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 41156 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 41157 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 41158 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 41159 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 41160 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 41161 RECOMP_FLAGS_IN(); 41162 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 41163 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 41164 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 41165 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 41166 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 41167 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 41168 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 41169 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 41170 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 41171 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 41172 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 41173 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 41174 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 41175 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 41176 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 41177 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 41178 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 41179 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 41180 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 41181 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 41182 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 41183 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 41184 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 41185 PUSH32(esp, edi); /* 0x250AB957: push edi */ 41186 ecx = esi; /* 0x250AB958: mov ecx, esi */ 41187 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 41188 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 41189 RECOMP_FLAGS_IN(); 41190 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 41191 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 41192 L_250AB969: 41193 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 41194 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 41195 fp_pop(); 41196 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 41197 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 41198 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 41199 _cf = 0; 41200 _flag_k = FK_NARROW(FK_TEST, 24); 41201 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 41202 L_250AB97C: 41203 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 41204 L_250AB982: 41205 ecx = edi; /* 0x250AB982: mov ecx, edi */ 41206 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 41207 RECOMP_FLAGS_IN(); 41208 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 41209 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 41210 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 41211 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 41212 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 41213 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 41214 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 41215 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 41216 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 41217 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 41218 RECOMP_FLAGS_IN(); 41219 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 41220 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 41221 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41222 _cf = 0; 41223 _flag_k = FK_NARROW(FK_TEST, 24); 41224 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 41225 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 41226 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 41227 L_250AB9BB: 41228 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 41229 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 41230 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 41231 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 41232 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 41233 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 41234 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 41235 RECOMP_FLAGS_IN(); 41236 L_250AB9D6: 41237 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 41238 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 41239 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41240 _cf = 0; 41241 _flag_k = FK_NARROW(FK_TEST, 24); 41242 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 41243 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 41244 L_250AB9E4: 41245 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 41246 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 41247 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 41248 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 41249 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 41250 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 41251 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 41252 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 41253 RECOMP_FLAGS_IN(); 41254 L_250ABA00: 41255 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 41256 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 41257 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41258 _cf = 0; 41259 _flag_k = FK_NARROW(FK_TEST, 24); 41260 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 41261 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 41262 L_250ABA0E: 41263 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 41264 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 41265 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 41266 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 41267 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 41268 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 41269 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 41270 RECOMP_FLAGS_IN(); 41271 L_250ABA2C: 41272 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 41273 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 41274 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41275 _cf = 0; 41276 _flag_k = FK_NARROW(FK_TEST, 24); 41277 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 41278 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 41279 L_250ABA3A: 41280 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 41281 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 41282 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 41283 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 41284 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 41285 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 41286 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 41287 RECOMP_FLAGS_IN(); 41288 L_250ABA55: 41289 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 41290 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 41291 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41292 _cf = 0; 41293 _flag_k = FK_NARROW(FK_TEST, 24); 41294 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 41295 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 41296 L_250ABA63: 41297 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 41298 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 41299 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 41300 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 41301 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 41302 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 41303 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 41304 RECOMP_FLAGS_IN(); 41305 L_250ABA7E: 41306 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 41307 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 41308 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41309 _cf = 0; 41310 _flag_k = FK_NARROW(FK_TEST, 24); 41311 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 41312 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 41313 L_250ABA8F: 41314 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 41315 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 41316 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 41317 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 41318 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 41319 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 41320 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 41321 RECOMP_FLAGS_IN(); 41322 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 41323 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 41324 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 41325 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 41326 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 41327 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 41328 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 41329 L_250ABAC2: 41330 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 41331 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 41332 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 41333 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 41334 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 41335 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 41336 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 41337 RECOMP_REGS_OUT(); 41338 } 41339 41340 void sub_250AB7A0(void) { 41341 int _fpu_cmp = 0; 41342 uint32_t _cf = 0; 41343 int _df = 1; 41344 uint32_t _flag_k = FK_NONE; 41345 uint32_t _flag_a = 0, _flag_b = 0; 41346 uint32_t _itail_tgt = 0; 41347 RECOMP_REGS_LOCALS 41348 RECOMP_ENTER(0x250AB7A0u); 41349 41350 goto L_250AB7A0; 41351 L_250AB2B2: 41352 eax = MEM32(edi + 0x2C); /* 0x250AB2B2: mov eax, dword ptr [edi + 0x2c] */ 41353 /* cmp eax, MEM32(0x252385C0) */ /* 0x250AB2B5: cmp eax, dword ptr [0x252385c0] */ 41354 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x252385C0)); 41355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41356 _flag_k = FK_CMP; 41357 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2BB: jne 0x250ab7a0 */ 41358 L_250AB2C1: 41359 eax = MEM32(edi + 0x4); /* 0x250AB2C1: mov eax, dword ptr [edi + 4] */ 41360 /* test eax, 0x00FFFFFFu */ /* 0x250AB2C4: test eax, 0xffffff */ 41361 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFFFFFu); 41362 _cf = 0; 41363 _flag_k = FK_TEST; 41364 MEM32(ebp + (-0x84)) = eax; /* 0x250AB2C9: mov dword ptr [ebp - 0x84], eax */ 41365 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB2E6; /* 0x250AB2CF: jne 0x250ab2e6 */ 41366 L_250AB2D1: 41367 SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250AB2D1: mov al, byte ptr [esi + 0x69] */ 41368 /* test LO8(eax), LO8(eax) */ /* 0x250AB2D4: test al, al */ 41369 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41370 _cf = 0; 41371 _flag_k = FK_NARROW(FK_TEST, 24); 41372 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB2D6: je 0x250ab7a0 */ 41373 L_250AB2DC: 41374 MEM32(ebp + (-0x84)) = 0xFF808080u; /* 0x250AB2DC: mov dword ptr [ebp - 0x84], 0xff808080 */ 41375 L_250AB2E6: 41376 ecx = MEM32(edi + 0x20); /* 0x250AB2E6: mov ecx, dword ptr [edi + 0x20] */ 41377 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41378 ebx = 0; /* 0x250AB2E9: xor ebx, ebx */ 41379 _cf = 0; 41380 _flag_k = FK_TEST; 41381 MEM32(ebp + (-0x148)) = ecx; /* 0x250AB2EB: mov dword ptr [ebp - 0x148], ecx */ 41382 MEM32(ebp + (-0x144)) = ebx; /* 0x250AB2F1: mov dword ptr [ebp - 0x144], ebx */ 41383 fp_push_i64((int64_t)MEM64(ebp + (-0x148))); /* 0x250AB2F7: fild qword ptr [ebp - 0x148] */ 41384 _st[0] *= (double)*(float*)ADDR(0x25152390); /* 0x250AB2FD: fmul dword ptr [0x25152390] */ 41385 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AB303: fcom dword ptr [0x2515177c] */ 41386 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB309: fnstsw ax */ 41387 /* test HI8(eax), 1 */ /* 0x250AB30B: test ah, 1 */ 41388 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 41389 _cf = 0; 41390 _flag_k = FK_NARROW(FK_TEST, 24); 41391 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB30E: jne 0x250ab325 */ 41392 L_250AB310: 41393 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250AB310: fcom qword ptr [0x25151790] */ 41394 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB316: fnstsw ax */ 41395 /* test HI8(eax), 1 */ /* 0x250AB318: test ah, 1 */ 41396 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 41397 _cf = 0; 41398 _flag_k = FK_NARROW(FK_TEST, 24); 41399 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB325; /* 0x250AB31B: je 0x250ab325 */ 41400 L_250AB31D: 41401 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250AB31D: fmul dword ptr [0x25151788] */ 41402 goto L_250AB346; /* 0x250AB323: jmp 0x250ab346 */ 41403 L_250AB325: 41404 _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250AB325: fmul dword ptr [0x25151784] */ 41405 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41407 esp = esp - 8; /* 0x250AB32B: sub esp, 8 */ 41408 _flag_k = FK_CMP; 41409 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AB32E: fst dword ptr [ebp - 0x10] */ 41410 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250AB331: fstp qword ptr [esp] */ 41411 RECOMP_ICALL(MEM32(0x25151260)); /* 0x250AB334: call dword ptr [0x25151260] */ 41412 RECOMP_FLAGS_IN(); 41413 _st[0] = (double)*(float*)ADDR(ebp + (-0x10)) - _st[0]; /* 0x250AB33A: fsubr dword ptr [ebp - 0x10] */ 41414 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41415 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41416 esp = esp + 8; /* 0x250AB33D: add esp, 8 */ 41417 _flag_k = FK_ADD; 41418 _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250AB340: fmul dword ptr [0x25151780] */ 41419 L_250AB346: 41420 fp_push(_st[0]); /* 0x250AB346: fld st(0) */ 41421 eax = MEM32(ebp + (-0x48)); /* 0x250AB348: mov eax, dword ptr [ebp - 0x48] */ 41422 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AB34B: fsin */ 41423 ecx = eax; /* 0x250AB34D: mov ecx, eax */ 41424 MEM32(ebp + (-0xB8)) = ecx; /* 0x250AB34F: mov dword ptr [ebp - 0xb8], ecx */ 41425 ecx = ebp + (-0x7C); /* 0x250AB355: lea ecx, [ebp - 0x7c] */ 41426 MEM32(ebp + (-0x168)) = eax; /* 0x250AB358: mov dword ptr [ebp - 0x168], eax */ 41427 MEM32(ebp + (-0x164)) = 0; /* 0x250AB35E: mov dword ptr [ebp - 0x164], 0 */ 41428 MEM32(ebp + (-0x160)) = 0; /* 0x250AB368: mov dword ptr [ebp - 0x160], 0 */ 41429 eax = MEM32(ebp + (-0x160)); /* 0x250AB372: mov eax, dword ptr [ebp - 0x160] */ 41430 PUSH32(esp, ecx); /* 0x250AB378: push ecx */ 41431 ecx = ebp + (-0xB8); /* 0x250AB379: lea ecx, [ebp - 0xb8] */ 41432 MEM32(ebp + (-0xB0)) = eax; /* 0x250AB37F: mov dword ptr [ebp - 0xb0], eax */ 41433 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AB385: fld dword ptr [0x2515177c] */ 41434 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB38B: fst dword ptr [ebp - 0x14] */ 41435 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x250AB38E: fstp dword ptr [ebp - 0x7c] */ 41436 edx = MEM32(ebp + (-0x14)); /* 0x250AB391: mov edx, dword ptr [ebp - 0x14] */ 41437 MEM32(ebp + (-0x74)) = edx; /* 0x250AB394: mov dword ptr [ebp - 0x74], edx */ 41438 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x250AB397: fstp dword ptr [ebp - 0x78] */ 41439 edx = MEM32(ebp + (-0x164)); /* 0x250AB39A: mov edx, dword ptr [ebp - 0x164] */ 41440 MEM32(ebp + (-0xB4)) = edx; /* 0x250AB3A0: mov dword ptr [ebp - 0xb4], edx */ 41441 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AB3A6: fcos */ 41442 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250AB3A8: fstp dword ptr [ebp - 0x70] */ 41443 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB3AB: call dword ptr [0x2515157c] */ 41444 RECOMP_FLAGS_IN(); 41445 edx = MEM32(eax); /* 0x250AB3B1: mov edx, dword ptr [eax] */ 41446 ecx = MEM32(eax + 0x4); /* 0x250AB3B3: mov ecx, dword ptr [eax + 4] */ 41447 MEM32(ebp + (-0x68)) = ecx; /* 0x250AB3B6: mov dword ptr [ebp - 0x68], ecx */ 41448 MEM32(ebp + (-0x6C)) = edx; /* 0x250AB3B9: mov dword ptr [ebp - 0x6c], edx */ 41449 edx = MEM32(eax + 0x8); /* 0x250AB3BC: mov edx, dword ptr [eax + 8] */ 41450 eax = MEM32(ebp + (-0x48)); /* 0x250AB3BF: mov eax, dword ptr [ebp - 0x48] */ 41451 MEM32(ebp + (-0x10C)) = 0; /* 0x250AB3C2: mov dword ptr [ebp - 0x10c], 0 */ 41452 ecx = MEM32(ebp + (-0x10C)); /* 0x250AB3CC: mov ecx, dword ptr [ebp - 0x10c] */ 41453 MEM32(ebp + (-0xA8)) = ecx; /* 0x250AB3D2: mov dword ptr [ebp - 0xa8], ecx */ 41454 ecx = ebp + (-0x7C); /* 0x250AB3D8: lea ecx, [ebp - 0x7c] */ 41455 MEM32(ebp + (-0x64)) = edx; /* 0x250AB3DB: mov dword ptr [ebp - 0x64], edx */ 41456 MEM32(ebp + (-0x108)) = 0; /* 0x250AB3DE: mov dword ptr [ebp - 0x108], 0 */ 41457 edx = MEM32(ebp + (-0x108)); /* 0x250AB3E8: mov edx, dword ptr [ebp - 0x108] */ 41458 PUSH32(esp, ecx); /* 0x250AB3EE: push ecx */ 41459 ecx = ebp + (-0xA8); /* 0x250AB3EF: lea ecx, [ebp - 0xa8] */ 41460 MEM32(ebp + (-0x104)) = eax; /* 0x250AB3F5: mov dword ptr [ebp - 0x104], eax */ 41461 MEM32(ebp + (-0xA4)) = edx; /* 0x250AB3FB: mov dword ptr [ebp - 0xa4], edx */ 41462 MEM32(ebp + (-0xA0)) = eax; /* 0x250AB401: mov dword ptr [ebp - 0xa0], eax */ 41463 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB407: call dword ptr [0x2515157c] */ 41464 RECOMP_FLAGS_IN(); 41465 edx = MEM32(eax); /* 0x250AB40D: mov edx, dword ptr [eax] */ 41466 ecx = MEM32(eax + 0x4); /* 0x250AB40F: mov ecx, dword ptr [eax + 4] */ 41467 MEM32(ebp + (-0x40)) = edx; /* 0x250AB412: mov dword ptr [ebp - 0x40], edx */ 41468 edx = MEM32(eax + 0x8); /* 0x250AB415: mov edx, dword ptr [eax + 8] */ 41469 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AB418: mov dword ptr [ebp - 0x3c], ecx */ 41470 eax = edi + 0x14; /* 0x250AB41B: lea eax, [edi + 0x14] */ 41471 ecx = MEM32(eax); /* 0x250AB41E: mov ecx, dword ptr [eax] */ 41472 MEM32(ebp + (-0x94)) = ecx; /* 0x250AB420: mov dword ptr [ebp - 0x94], ecx */ 41473 MEM32(ebp + (-0x38)) = edx; /* 0x250AB426: mov dword ptr [ebp - 0x38], edx */ 41474 edx = MEM32(eax + 0x4); /* 0x250AB429: mov edx, dword ptr [eax + 4] */ 41475 eax = MEM32(eax + 0x8); /* 0x250AB42C: mov eax, dword ptr [eax + 8] */ 41476 ecx = ebp + (-0x7C); /* 0x250AB42F: lea ecx, [ebp - 0x7c] */ 41477 PUSH32(esp, ecx); /* 0x250AB432: push ecx */ 41478 ecx = ebp + (-0x94); /* 0x250AB433: lea ecx, [ebp - 0x94] */ 41479 MEM32(ebp + (-0x90)) = edx; /* 0x250AB439: mov dword ptr [ebp - 0x90], edx */ 41480 MEM32(ebp + (-0x8C)) = eax; /* 0x250AB43F: mov dword ptr [ebp - 0x8c], eax */ 41481 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250AB445: call dword ptr [0x2515157c] */ 41482 RECOMP_FLAGS_IN(); 41483 edx = MEM32(eax); /* 0x250AB44B: mov edx, dword ptr [eax] */ 41484 ecx = MEM32(eax + 0x4); /* 0x250AB44D: mov ecx, dword ptr [eax + 4] */ 41485 MEM32(ebp + (-0xC8)) = edx; /* 0x250AB450: mov dword ptr [ebp - 0xc8], edx */ 41486 fp_push(*(float*)&MEM32(ebp + (-0xC8))); /* 0x250AB456: fld dword ptr [ebp - 0xc8] */ 41487 edx = MEM32(eax + 0x8); /* 0x250AB45C: mov edx, dword ptr [eax + 8] */ 41488 eax = edi + 0x8; /* 0x250AB45F: lea eax, [edi + 8] */ 41489 MEM32(ebp + (-0xC4)) = ecx; /* 0x250AB462: mov dword ptr [ebp - 0xc4], ecx */ 41490 ecx = MEM32(eax); /* 0x250AB468: mov ecx, dword ptr [eax] */ 41491 MEM32(ebp + (-0x134)) = ecx; /* 0x250AB46A: mov dword ptr [ebp - 0x134], ecx */ 41492 _st[0] += (double)*(float*)ADDR(ebp + (-0x134)); /* 0x250AB470: fadd dword ptr [ebp - 0x134] */ 41493 MEM32(ebp + (-0xC0)) = edx; /* 0x250AB476: mov dword ptr [ebp - 0xc0], edx */ 41494 edx = MEM32(eax + 0x4); /* 0x250AB47C: mov edx, dword ptr [eax + 4] */ 41495 eax = MEM32(eax + 0x8); /* 0x250AB47F: mov eax, dword ptr [eax + 8] */ 41496 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x134)) = _v; } /* 0x250AB482: fstp dword ptr [ebp - 0x134] */ 41497 fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x250AB488: fld dword ptr [ebp - 0xc4] */ 41498 MEM32(ebp + (-0x130)) = edx; /* 0x250AB48E: mov dword ptr [ebp - 0x130], edx */ 41499 _st[0] += (double)*(float*)ADDR(ebp + (-0x130)); /* 0x250AB494: fadd dword ptr [ebp - 0x130] */ 41500 MEM32(ebp + (-0x12C)) = eax; /* 0x250AB49A: mov dword ptr [ebp - 0x12c], eax */ 41501 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x130)) = _v; } /* 0x250AB4A0: fstp dword ptr [ebp - 0x130] */ 41502 fp_push(*(float*)&MEM32(ebp + (-0xC0))); /* 0x250AB4A6: fld dword ptr [ebp - 0xc0] */ 41503 _st[0] += (double)*(float*)ADDR(ebp + (-0x12C)); /* 0x250AB4AC: fadd dword ptr [ebp - 0x12c] */ 41504 ecx = MEM32(ebp + (-0x134)); /* 0x250AB4B2: mov ecx, dword ptr [ebp - 0x134] */ 41505 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x12C)) = _v; } /* 0x250AB4B8: fstp dword ptr [ebp - 0x12c] */ 41506 eax = MEM32(ebp + (-0x12C)); /* 0x250AB4BE: mov eax, dword ptr [ebp - 0x12c] */ 41507 edx = MEM32(ebp + (-0x130)); /* 0x250AB4C4: mov edx, dword ptr [ebp - 0x130] */ 41508 MEM32(ebp + (-0x138)) = eax; /* 0x250AB4CA: mov dword ptr [ebp - 0x138], eax */ 41509 /* cmp MEM32(edi + 0x28), ebx */ /* 0x250AB4D0: cmp dword ptr [edi + 0x28], ebx */ 41510 _flag_a = (uint32_t)(MEM32(edi + 0x28)); _flag_b = (uint32_t)(ebx); 41511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41512 _flag_k = FK_CMP; 41513 MEM32(ebp + (-0x140)) = ecx; /* 0x250AB4D3: mov dword ptr [ebp - 0x140], ecx */ 41514 MEM32(ebp + (-0x13C)) = edx; /* 0x250AB4D9: mov dword ptr [ebp - 0x13c], edx */ 41515 MEM32(ebp + (-0x9C)) = ebx; /* 0x250AB4DF: mov dword ptr [ebp - 0x9c], ebx */ 41516 MEM32(ebp + (-0x28)) = ebx; /* 0x250AB4E5: mov dword ptr [ebp - 0x28], ebx */ 41517 if (CMP_BE(_flag_a, _flag_b)) goto L_250AB7A0; /* 0x250AB4E8: jbe 0x250ab7a0 */ 41518 L_250AB4EE: 41519 eax = MEM32(ebp + (-0x138)); /* 0x250AB4EE: mov eax, dword ptr [ebp - 0x138] */ 41520 ecx = MEM32(ebp + (-0x140)); /* 0x250AB4F4: mov ecx, dword ptr [ebp - 0x140] */ 41521 edx = MEM32(ebp + (-0x13C)); /* 0x250AB4FA: mov edx, dword ptr [ebp - 0x13c] */ 41522 MEM32(ebp + (-0x110)) = eax; /* 0x250AB500: mov dword ptr [ebp - 0x110], eax */ 41523 eax = MEM32(edi + 0x24); /* 0x250AB506: mov eax, dword ptr [edi + 0x24] */ 41524 /* test eax, eax */ /* 0x250AB509: test eax, eax */ 41525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41526 _cf = 0; 41527 _flag_k = FK_TEST; 41528 MEM32(ebp + (-0x118)) = ecx; /* 0x250AB50B: mov dword ptr [ebp - 0x118], ecx */ 41529 MEM32(ebp + (-0x114)) = edx; /* 0x250AB511: mov dword ptr [ebp - 0x114], edx */ 41530 MEM32(ebp + (-0x10)) = 0; /* 0x250AB517: mov dword ptr [ebp - 0x10], 0 */ 41531 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB75B; /* 0x250AB51E: jbe 0x250ab75b */ 41532 L_250AB524: 41533 ecx = MEM32(edi + 0x34); /* 0x250AB524: mov ecx, dword ptr [edi + 0x34] */ 41534 edx = MEM32(ebp + (-0x28)); /* 0x250AB527: mov edx, dword ptr [ebp - 0x28] */ 41535 /* cmp MEM32(ecx + edx * 4), 0 */ /* 0x250AB52A: cmp dword ptr [ecx + edx*4], 0 */ 41536 _flag_a = (uint32_t)(MEM32(ecx + edx * 4)); _flag_b = (uint32_t)(0); 41537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41538 _flag_k = FK_CMP; 41539 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AB715; /* 0x250AB52E: je 0x250ab715 */ 41540 L_250AB534: 41541 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB534: fld dword ptr [ebp - 0x110] */ 41542 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB53A: fadd dword ptr [ebp - 0x48] */ 41543 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB53D: fld dword ptr [ebp - 0x118] */ 41544 _st[0] += (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250AB543: fadd dword ptr [ebp - 0x48] */ 41545 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB546: fld dword ptr [ebp - 0x118] */ 41546 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB54C: fld dword ptr [ebp - 0x110] */ 41547 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB552: fstp dword ptr [ebp - 0x58] */ 41548 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB555: fmul dword ptr [0x25151924] */ 41549 eax = ebp + (-0x158); /* 0x250AB55B: lea eax, [ebp - 0x158] */ 41550 PUSH32(esp, eax); /* 0x250AB561: push eax */ 41551 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB562: fstp dword ptr [ebp - 0x5c] */ 41552 ecx = ebp + (-0x100); /* 0x250AB565: lea ecx, [ebp - 0x100] */ 41553 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB56B: fld dword ptr [ebp - 0x58] */ 41554 PUSH32(esp, ecx); /* 0x250AB56E: push ecx */ 41555 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB56F: fmul dword ptr [0x25151924] */ 41556 ecx = ebp + (-0x5C); /* 0x250AB575: lea ecx, [ebp - 0x5c] */ 41557 MEM32(ebp + (-0x158)) = 0; /* 0x250AB578: mov dword ptr [ebp - 0x158], 0 */ 41558 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB582: fstp dword ptr [ebp - 0x58] */ 41559 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB585: fmul dword ptr [0x25151924] */ 41560 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB58B: fstp dword ptr [ebp - 0x54] */ 41561 _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x250AB58E: fmul dword ptr [0x25151924] */ 41562 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AB594: fld dword ptr [esi + 0x40] */ 41563 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AB597: fld dword ptr [esi + 0x3c] */ 41564 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB59A: fld dword ptr [ebp - 0x5c] */ 41565 _st[0] -= _st[1]; /* 0x250AB59D: fsub st(1) */ 41566 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB59F: fstp dword ptr [ebp - 0x5c] */ 41567 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5A2: fld dword ptr [ebp - 0x58] */ 41568 _st[0] -= _st[2]; /* 0x250AB5A5: fsub st(2) */ 41569 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5A7: fstp dword ptr [ebp - 0x58] */ 41570 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5AA: fld dword ptr [ebp - 0x54] */ 41571 _st[0] -= _st[1]; /* 0x250AB5AD: fsub st(1) */ 41572 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5AF: fstp dword ptr [ebp - 0x54] */ 41573 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5B2: fstp st(0) */ 41574 fp_xch(1); /* 0x250AB5B4: fxch st(1) */ 41575 _st[0] -= _st[1]; /* 0x250AB5B6: fsub st(1) */ 41576 fp_xch(1); /* 0x250AB5B8: fxch st(1) */ 41577 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5BA: fstp st(0) */ 41578 fp_push(*(float*)&MEM32(esi + 0x60)); /* 0x250AB5BC: fld dword ptr [esi + 0x60] */ 41579 fp_push(*(float*)&MEM32(esi + 0x5C)); /* 0x250AB5BF: fld dword ptr [esi + 0x5c] */ 41580 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB5C2: fld dword ptr [ebp - 0x5c] */ 41581 _st[0] *= _st[1]; /* 0x250AB5C5: fmul st(1) */ 41582 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x250AB5C7: fstp dword ptr [ebp - 0x5c] */ 41583 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB5CA: fld dword ptr [ebp - 0x58] */ 41584 _st[0] *= _st[2]; /* 0x250AB5CD: fmul st(2) */ 41585 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250AB5CF: fstp dword ptr [ebp - 0x58] */ 41586 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB5D2: fld dword ptr [ebp - 0x54] */ 41587 _st[0] *= _st[1]; /* 0x250AB5D5: fmul st(1) */ 41588 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250AB5D7: fstp dword ptr [ebp - 0x54] */ 41589 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5DA: fstp st(0) */ 41590 fp_xch(1); /* 0x250AB5DC: fxch st(1) */ 41591 _st[0] *= _st[1]; /* 0x250AB5DE: fmul st(1) */ 41592 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250AB5E0: fstp dword ptr [ebp - 0x50] */ 41593 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB5E3: fstp st(0) */ 41594 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5E5: fld dword ptr [esi + 0x38] */ 41595 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB5E8: fld dword ptr [esi + 0x34] */ 41596 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB5EB: fld dword ptr [esi + 0x38] */ 41597 _st[0] -= (double)*(float*)ADDR(esi + 0x58); /* 0x250AB5EE: fsub dword ptr [esi + 0x58] */ 41598 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x154)) = _v; } /* 0x250AB5F1: fstp dword ptr [ebp - 0x154] */ 41599 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x150)) = _v; } /* 0x250AB5F7: fstp dword ptr [ebp - 0x150] */ 41600 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14C)) = _v; } /* 0x250AB5FD: fstp dword ptr [ebp - 0x14c] */ 41601 RECOMP_ICALL(0x250A8650u); /* 0x250AB603: call 0x250a8650 */ /* not lifted */ 41602 RECOMP_FLAGS_IN(); 41603 fp_push(*(float*)&MEM32(ebp + (-0x100))); /* 0x250AB608: fld dword ptr [ebp - 0x100] */ 41604 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF8))); /* 0x250AB60E: fcomp dword ptr [ebp - 0xf8] */ 41605 fp_pop(); 41606 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Du); /* 0x250AB614: mov byte ptr [ebp - 4], 0x2d */ 41607 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB618: fnstsw ax */ 41608 /* test HI8(eax), 0x41u */ /* 0x250AB61A: test ah, 0x41 */ 41609 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 41610 _cf = 0; 41611 _flag_k = FK_NARROW(FK_TEST, 24); 41612 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB61D: je 0x250ab711 */ 41613 L_250AB623: 41614 fp_push(*(float*)&MEM32(ebp + (-0xFC))); /* 0x250AB623: fld dword ptr [ebp - 0xfc] */ 41615 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xF4))); /* 0x250AB629: fcomp dword ptr [ebp - 0xf4] */ 41616 fp_pop(); 41617 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB62F: fnstsw ax */ 41618 /* test HI8(eax), 0x41u */ /* 0x250AB631: test ah, 0x41 */ 41619 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 41620 _cf = 0; 41621 _flag_k = FK_NARROW(FK_TEST, 24); 41622 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB711; /* 0x250AB634: je 0x250ab711 */ 41623 L_250AB63A: 41624 edx = MEM32(edi + 0x34); /* 0x250AB63A: mov edx, dword ptr [edi + 0x34] */ 41625 eax = MEM32(ebp + (-0x28)); /* 0x250AB63D: mov eax, dword ptr [ebp - 0x28] */ 41626 ecx = MEM32(edx + eax * 4); /* 0x250AB640: mov ecx, dword ptr [edx + eax*4] */ 41627 RECOMP_ICALL(0x250A3B60u); /* 0x250AB643: call 0x250a3b60 */ /* not lifted */ 41628 RECOMP_FLAGS_IN(); 41629 fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x250AB648: fld dword ptr [ebp - 0x5c] */ 41630 ecx = ebp + (-0x20); /* 0x250AB64B: lea ecx, [ebp - 0x20] */ 41631 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AB64E: fstp dword ptr [ebp - 0x20] */ 41632 fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x250AB651: fld dword ptr [ebp - 0x58] */ 41633 PUSH32(esp, ecx); /* 0x250AB654: push ecx */ 41634 edx = ebp + (-0xE0); /* 0x250AB655: lea edx, [ebp - 0xe0] */ 41635 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AB65B: fstp dword ptr [ebp - 0x1c] */ 41636 PUSH32(esp, edx); /* 0x250AB65E: push edx */ 41637 ecx = ebp + (-0x100); /* 0x250AB65F: lea ecx, [ebp - 0x100] */ 41638 ebx = eax; /* 0x250AB665: mov ebx, eax */ 41639 MEM32(ebp + (-0x18)) = 0; /* 0x250AB667: mov dword ptr [ebp - 0x18], 0 */ 41640 RECOMP_ICALL(0x250ABAE0u); /* 0x250AB66E: call 0x250abae0 */ /* not lifted */ 41641 RECOMP_FLAGS_IN(); 41642 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250AB673: fld dword ptr [ebp - 0x50] */ 41643 _st[0] -= (double)*(float*)ADDR(ebp + (-0x58)); /* 0x250AB676: fsub dword ptr [ebp - 0x58] */ 41644 eax = MEM32(ebp + (-0x84)); /* 0x250AB679: mov eax, dword ptr [ebp - 0x84] */ 41645 PUSH32(esp, eax); /* 0x250AB67F: push eax */ 41646 eax = MEM32(ebp + 0x8); /* 0x250AB680: mov eax, dword ptr [ebp + 8] */ 41647 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB683: fdivr dword ptr [0x251517a4] */ 41648 ecx = ebp + (-0x100); /* 0x250AB689: lea ecx, [ebp - 0x100] */ 41649 PUSH32(esp, ecx); /* 0x250AB68F: push ecx */ 41650 edx = ebp + (-0xE0); /* 0x250AB690: lea edx, [ebp - 0xe0] */ 41651 PUSH32(esp, edx); /* 0x250AB696: push edx */ 41652 PUSH32(esp, ebx); /* 0x250AB697: push ebx */ 41653 PUSH32(esp, eax); /* 0x250AB698: push eax */ 41654 ecx = esi; /* 0x250AB699: mov ecx, esi */ 41655 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Eu); /* 0x250AB69B: mov byte ptr [ebp - 4], 0x2e */ 41656 fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x250AB69F: fld dword ptr [ebp - 0x54] */ 41657 _st[0] -= (double)*(float*)ADDR(ebp + (-0x5C)); /* 0x250AB6A2: fsub dword ptr [ebp - 0x5c] */ 41658 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250AB6A5: fdivr dword ptr [0x251517a4] */ 41659 fp_push(*(float*)&MEM32(ebp + (-0xE0))); /* 0x250AB6AB: fld dword ptr [ebp - 0xe0] */ 41660 _st[0] *= _st[1]; /* 0x250AB6B1: fmul st(1) */ 41661 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x250AB6B3: fstp dword ptr [ebp - 0xe0] */ 41662 fp_push(*(float*)&MEM32(ebp + (-0xDC))); /* 0x250AB6B9: fld dword ptr [ebp - 0xdc] */ 41663 _st[0] *= _st[2]; /* 0x250AB6BF: fmul st(2) */ 41664 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xDC)) = _v; } /* 0x250AB6C1: fstp dword ptr [ebp - 0xdc] */ 41665 fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x250AB6C7: fld dword ptr [ebp - 0xd8] */ 41666 _st[0] *= _st[1]; /* 0x250AB6CD: fmul st(1) */ 41667 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x250AB6CF: fstp dword ptr [ebp - 0xd8] */ 41668 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6D5: fstp st(0) */ 41669 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AB6D7: fld dword ptr [ebp - 0xd4] */ 41670 _st[0] *= _st[1]; /* 0x250AB6DD: fmul st(1) */ 41671 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x250AB6DF: fstp dword ptr [ebp - 0xd4] */ 41672 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250AB6E5: fstp st(0) */ 41673 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6E7: fld dword ptr [esi + 0x38] */ 41674 _st[0] -= (double)*(float*)ADDR(ebp + (-0xFC)); /* 0x250AB6EA: fsub dword ptr [ebp - 0xfc] */ 41675 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xFC)) = _v; } /* 0x250AB6F0: fstp dword ptr [ebp - 0xfc] */ 41676 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB6F6: fld dword ptr [esi + 0x38] */ 41677 _st[0] -= (double)*(float*)ADDR(ebp + (-0xF4)); /* 0x250AB6F9: fsub dword ptr [ebp - 0xf4] */ 41678 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x250AB6FF: fstp dword ptr [ebp - 0xf4] */ 41679 RECOMP_ICALL(0x250ABB20u); /* 0x250AB705: call 0x250abb20 */ /* not lifted */ 41680 RECOMP_FLAGS_IN(); 41681 ecx = ebx; /* 0x250AB70A: mov ecx, ebx */ 41682 RECOMP_ICALL(0x250EBDE0u); /* 0x250AB70C: call 0x250ebde0 */ /* not lifted */ 41683 RECOMP_FLAGS_IN(); 41684 L_250AB711: 41685 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Bu); /* 0x250AB711: mov byte ptr [ebp - 4], 0x2b */ 41686 L_250AB715: 41687 fp_push(*(float*)&MEM32(ebp + (-0x118))); /* 0x250AB715: fld dword ptr [ebp - 0x118] */ 41688 eax = MEM32(ebp + (-0x10)); /* 0x250AB71B: mov eax, dword ptr [ebp - 0x10] */ 41689 _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x250AB71E: fadd dword ptr [ebp - 0x6c] */ 41690 edx = MEM32(ebp + (-0x28)); /* 0x250AB721: mov edx, dword ptr [ebp - 0x28] */ 41691 ecx = MEM32(edi + 0x24); /* 0x250AB724: mov ecx, dword ptr [edi + 0x24] */ 41692 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 41693 eax = eax + 1; /* 0x250AB727: inc eax */ 41694 _flag_k = FK_INC; 41695 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x118)) = _v; } /* 0x250AB728: fstp dword ptr [ebp - 0x118] */ 41696 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 41697 edx = edx + 1; /* 0x250AB72E: inc edx */ 41698 _flag_k = FK_INC; 41699 /* cmp eax, ecx */ /* 0x250AB72F: cmp eax, ecx */ 41700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 41701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41702 _flag_k = FK_CMP; 41703 fp_push(*(float*)&MEM32(ebp + (-0x114))); /* 0x250AB731: fld dword ptr [ebp - 0x114] */ 41704 _st[0] += (double)*(float*)ADDR(ebp + (-0x68)); /* 0x250AB737: fadd dword ptr [ebp - 0x68] */ 41705 MEM32(ebp + (-0x10)) = eax; /* 0x250AB73A: mov dword ptr [ebp - 0x10], eax */ 41706 MEM32(ebp + (-0x28)) = edx; /* 0x250AB73D: mov dword ptr [ebp - 0x28], edx */ 41707 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x114)) = _v; } /* 0x250AB740: fstp dword ptr [ebp - 0x114] */ 41708 fp_push(*(float*)&MEM32(ebp + (-0x110))); /* 0x250AB746: fld dword ptr [ebp - 0x110] */ 41709 _st[0] += (double)*(float*)ADDR(ebp + (-0x64)); /* 0x250AB74C: fadd dword ptr [ebp - 0x64] */ 41710 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x110)) = _v; } /* 0x250AB74F: fstp dword ptr [ebp - 0x110] */ 41711 RECOMP_BACKEDGE(); 41712 if (CMP_B(_flag_a, _flag_b)) goto L_250AB524; /* 0x250AB755: jb 0x250ab524 */ 41713 L_250AB75B: 41714 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x250AB75B: fld dword ptr [ebp - 0x40] */ 41715 eax = MEM32(ebp + (-0x9C)); /* 0x250AB75E: mov eax, dword ptr [ebp - 0x9c] */ 41716 _st[0] += (double)*(float*)ADDR(ebp + (-0x140)); /* 0x250AB764: fadd dword ptr [ebp - 0x140] */ 41717 ecx = MEM32(edi + 0x28); /* 0x250AB76A: mov ecx, dword ptr [edi + 0x28] */ 41718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 41719 eax = eax + 1; /* 0x250AB76D: inc eax */ 41720 _flag_k = FK_INC; 41721 /* cmp eax, ecx */ /* 0x250AB76E: cmp eax, ecx */ 41722 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 41723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41724 _flag_k = FK_CMP; 41725 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x140)) = _v; } /* 0x250AB770: fstp dword ptr [ebp - 0x140] */ 41726 MEM32(ebp + (-0x9C)) = eax; /* 0x250AB776: mov dword ptr [ebp - 0x9c], eax */ 41727 fp_push(*(float*)&MEM32(ebp + (-0x13C))); /* 0x250AB77C: fld dword ptr [ebp - 0x13c] */ 41728 _st[0] += (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x250AB782: fadd dword ptr [ebp - 0x3c] */ 41729 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x13C)) = _v; } /* 0x250AB785: fstp dword ptr [ebp - 0x13c] */ 41730 fp_push(*(float*)&MEM32(ebp + (-0x138))); /* 0x250AB78B: fld dword ptr [ebp - 0x138] */ 41731 _st[0] += (double)*(float*)ADDR(ebp + (-0x38)); /* 0x250AB791: fadd dword ptr [ebp - 0x38] */ 41732 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x138)) = _v; } /* 0x250AB794: fstp dword ptr [ebp - 0x138] */ 41733 RECOMP_BACKEDGE(); 41734 if (CMP_B(_flag_a, _flag_b)) goto L_250AB4EE; /* 0x250AB79A: jb 0x250ab4ee */ 41735 L_250AB7A0: 41736 eax = MEM32(ebp + (-0x2C)); /* 0x250AB7A0: mov eax, dword ptr [ebp - 0x2c] */ 41737 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x38u); 41738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41739 edi = edi + 0x38u; /* 0x250AB7A3: add edi, 0x38 */ 41740 _flag_k = FK_ADD; 41741 /* cmp edi, eax */ /* 0x250AB7A6: cmp edi, eax */ 41742 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 41743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41744 _flag_k = FK_CMP; 41745 RECOMP_BACKEDGE(); 41746 if (CMP_NE(_flag_a, _flag_b)) goto L_250AB2B2; /* 0x250AB7A8: jne 0x250ab2b2 */ 41747 L_250AB7AE: 41748 ecx = MEM32(ebp + 0x8); /* 0x250AB7AE: mov ecx, dword ptr [ebp + 8] */ 41749 PUSH32(esp, ecx); /* 0x250AB7B1: push ecx */ 41750 ecx = esi; /* 0x250AB7B2: mov ecx, esi */ 41751 RECOMP_ICALL(0x250A9800u); /* 0x250AB7B4: call 0x250a9800 */ /* not lifted */ 41752 RECOMP_FLAGS_IN(); 41753 SET_LO8(eax, MEM8(ebp + (-0xE4))); /* 0x250AB7B9: mov al, byte ptr [ebp - 0xe4] */ 41754 /* test LO8(eax), LO8(eax) */ /* 0x250AB7BF: test al, al */ 41755 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41756 _cf = 0; 41757 _flag_k = FK_NARROW(FK_TEST, 24); 41758 MEM8(ebp + (-0x4)) = (uint8_t)(0x28u); /* 0x250AB7C1: mov byte ptr [ebp - 4], 0x28 */ 41759 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB7E2; /* 0x250AB7C5: je 0x250ab7e2 */ 41760 L_250AB7C7: 41761 eax = MEM32(ebp + (-0x44)); /* 0x250AB7C7: mov eax, dword ptr [ebp - 0x44] */ 41762 edx = MEM32(0x25238B94); /* 0x250AB7CA: mov edx, dword ptr [0x25238b94] */ 41763 ecx = MEM32(edx + 0x894); /* 0x250AB7D0: mov ecx, dword ptr [edx + 0x894] */ 41764 PUSH32(esp, 2); /* 0x250AB7D6: push 2 */ 41765 PUSH32(esp, eax); /* 0x250AB7D8: push eax */ 41766 PUSH32(esp, 1); /* 0x250AB7D9: push 1 */ 41767 PUSH32(esp, 0); /* 0x250AB7DB: push 0 */ 41768 RECOMP_ICALL(0x250EFF00u); /* 0x250AB7DD: call 0x250eff00 */ /* not lifted */ 41769 RECOMP_FLAGS_IN(); 41770 L_250AB7E2: 41771 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 41772 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 41773 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41774 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 41775 _cf = 0; 41776 _flag_k = FK_TEST; 41777 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 41778 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 41779 fp_pop(); 41780 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 41781 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 41782 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 41783 _cf = 0; 41784 _flag_k = FK_NARROW(FK_TEST, 24); 41785 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 41786 L_250AB802: 41787 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 41788 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 41789 fp_pop(); 41790 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 41791 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 41792 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 41793 _cf = 0; 41794 _flag_k = FK_NARROW(FK_TEST, 24); 41795 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 41796 L_250AB819: 41797 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 41798 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 41799 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 41800 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 41801 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 41802 RECOMP_FLAGS_IN(); 41803 ecx = edi; /* 0x250AB825: mov ecx, edi */ 41804 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 41805 RECOMP_FLAGS_IN(); 41806 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 41807 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 41808 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 41809 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 41810 edx = ecx; /* 0x250AB838: mov edx, ecx */ 41811 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 41812 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 41813 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 41814 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 41815 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 41816 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 41817 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 41818 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 41819 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 41820 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 41821 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 41822 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 41823 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 41824 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 41825 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 41826 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 41827 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 41828 ecx = esi; /* 0x250AB880: mov ecx, esi */ 41829 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 41830 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 41831 RECOMP_FLAGS_IN(); 41832 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 41833 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 41834 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 41835 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 41836 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 41837 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 41838 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 41839 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 41840 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 41841 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 41842 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 41843 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 41844 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 41845 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 41846 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 41847 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 41848 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 41849 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 41850 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 41851 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 41852 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 41853 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 41854 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 41855 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 41856 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 41857 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 41858 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 41859 RECOMP_FLAGS_IN(); 41860 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 41861 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 41862 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 41863 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 41864 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 41865 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 41866 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 41867 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 41868 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 41869 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 41870 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 41871 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 41872 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 41873 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 41874 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 41875 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 41876 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 41877 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 41878 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 41879 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 41880 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 41881 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 41882 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 41883 PUSH32(esp, edi); /* 0x250AB957: push edi */ 41884 ecx = esi; /* 0x250AB958: mov ecx, esi */ 41885 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 41886 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 41887 RECOMP_FLAGS_IN(); 41888 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 41889 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 41890 L_250AB969: 41891 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 41892 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 41893 fp_pop(); 41894 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 41895 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 41896 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 41897 _cf = 0; 41898 _flag_k = FK_NARROW(FK_TEST, 24); 41899 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 41900 L_250AB97C: 41901 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 41902 L_250AB982: 41903 ecx = edi; /* 0x250AB982: mov ecx, edi */ 41904 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 41905 RECOMP_FLAGS_IN(); 41906 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 41907 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 41908 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 41909 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 41910 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 41911 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 41912 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 41913 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 41914 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 41915 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 41916 RECOMP_FLAGS_IN(); 41917 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 41918 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 41919 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41920 _cf = 0; 41921 _flag_k = FK_NARROW(FK_TEST, 24); 41922 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 41923 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 41924 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 41925 L_250AB9BB: 41926 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 41927 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 41928 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 41929 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 41930 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 41931 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 41932 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 41933 RECOMP_FLAGS_IN(); 41934 L_250AB9D6: 41935 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 41936 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 41937 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41938 _cf = 0; 41939 _flag_k = FK_NARROW(FK_TEST, 24); 41940 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 41941 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 41942 L_250AB9E4: 41943 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 41944 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 41945 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 41946 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 41947 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 41948 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 41949 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 41950 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 41951 RECOMP_FLAGS_IN(); 41952 L_250ABA00: 41953 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 41954 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 41955 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41956 _cf = 0; 41957 _flag_k = FK_NARROW(FK_TEST, 24); 41958 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 41959 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 41960 L_250ABA0E: 41961 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 41962 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 41963 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 41964 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 41965 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 41966 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 41967 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 41968 RECOMP_FLAGS_IN(); 41969 L_250ABA2C: 41970 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 41971 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 41972 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41973 _cf = 0; 41974 _flag_k = FK_NARROW(FK_TEST, 24); 41975 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 41976 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 41977 L_250ABA3A: 41978 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 41979 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 41980 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 41981 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 41982 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 41983 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 41984 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 41985 RECOMP_FLAGS_IN(); 41986 L_250ABA55: 41987 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 41988 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 41989 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 41990 _cf = 0; 41991 _flag_k = FK_NARROW(FK_TEST, 24); 41992 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 41993 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 41994 L_250ABA63: 41995 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 41996 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 41997 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 41998 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 41999 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 42000 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 42001 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 42002 RECOMP_FLAGS_IN(); 42003 L_250ABA7E: 42004 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 42005 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 42006 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42007 _cf = 0; 42008 _flag_k = FK_NARROW(FK_TEST, 24); 42009 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 42010 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 42011 L_250ABA8F: 42012 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 42013 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 42014 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 42015 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 42016 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 42017 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 42018 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 42019 RECOMP_FLAGS_IN(); 42020 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 42021 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 42022 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 42023 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 42024 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 42025 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 42026 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 42027 L_250ABAC2: 42028 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 42029 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 42030 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 42031 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 42032 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 42033 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 42034 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 42035 RECOMP_REGS_OUT(); 42036 } 42037 42038 void sub_250AB7E2(void) { 42039 int _fpu_cmp = 0; 42040 uint32_t _cf = 0; 42041 int _df = 1; 42042 uint32_t _flag_k = FK_NONE; 42043 uint32_t _flag_a = 0, _flag_b = 0; 42044 uint32_t _itail_tgt = 0; 42045 RECOMP_REGS_LOCALS 42046 RECOMP_ENTER(0x250AB7E2u); 42047 42048 L_250AB7E2: 42049 edi = MEM32(ebp + 0x8); /* 0x250AB7E2: mov edi, dword ptr [ebp + 8] */ 42050 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB7E5: mov byte ptr [ebp - 4], 5 */ 42051 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42052 ebx = 0; /* 0x250AB7E9: xor ebx, ebx */ 42053 _cf = 0; 42054 _flag_k = FK_TEST; 42055 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AB7EB: fld dword ptr [esi + 0xb8] */ 42056 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151CE0)); /* 0x250AB7F1: fcomp dword ptr [0x25151ce0] */ 42057 fp_pop(); 42058 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB7F7: fnstsw ax */ 42059 /* test HI8(eax), 0x41u */ /* 0x250AB7F9: test ah, 0x41 */ 42060 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 42061 _cf = 0; 42062 _flag_k = FK_NARROW(FK_TEST, 24); 42063 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB7FC: jne 0x250ab982 */ 42064 L_250AB802: 42065 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB802: fld dword ptr [esi + 0xbc] */ 42066 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151788)); /* 0x250AB808: fcomp dword ptr [0x25151788] */ 42067 fp_pop(); 42068 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB80E: fnstsw ax */ 42069 /* test HI8(eax), 1 */ /* 0x250AB810: test ah, 1 */ 42070 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 42071 _cf = 0; 42072 _flag_k = FK_NARROW(FK_TEST, 24); 42073 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB969; /* 0x250AB813: je 0x250ab969 */ 42074 L_250AB819: 42075 ecx = MEM32(edi + 0x8); /* 0x250AB819: mov ecx, dword ptr [edi + 8] */ 42076 PUSH32(esp, 0xAu); /* 0x250AB81C: push 0xa */ 42077 PUSH32(esp, ebx); /* 0x250AB81E: push ebx */ 42078 PUSH32(esp, ebx); /* 0x250AB81F: push ebx */ 42079 RECOMP_ICALL(0x250EFF90u); /* 0x250AB820: call 0x250eff90 */ /* not lifted */ 42080 RECOMP_FLAGS_IN(); 42081 ecx = edi; /* 0x250AB825: mov ecx, edi */ 42082 RECOMP_ICALL(0x250E05D0u); /* 0x250AB827: call 0x250e05d0 */ /* not lifted */ 42083 RECOMP_FLAGS_IN(); 42084 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB82C: fld dword ptr [esi + 0x2c] */ 42085 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB82F: fld dword ptr [esi + 0x34] */ 42086 ecx = MEM32(esi + 0x30); /* 0x250AB832: mov ecx, dword ptr [esi + 0x30] */ 42087 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB835: fadd dword ptr [esi + 0x2c] */ 42088 edx = ecx; /* 0x250AB838: mov edx, ecx */ 42089 MEM32(ebp + 0x8) = ecx; /* 0x250AB83A: mov dword ptr [ebp + 8], ecx */ 42090 MEM32(ebp + (-0xEC)) = edx; /* 0x250AB83D: mov dword ptr [ebp - 0xec], edx */ 42091 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB843: fsub dword ptr [0x251517a4] */ 42092 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB849: fstp dword ptr [ebp - 0x14] */ 42093 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB84C: fld dword ptr [esi + 0x38] */ 42094 eax = MEM32(ebp + (-0x14)); /* 0x250AB84F: mov eax, dword ptr [ebp - 0x14] */ 42095 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB852: fadd dword ptr [esi + 0x30] */ 42096 MEM32(ebp + (-0xE8)) = eax; /* 0x250AB855: mov dword ptr [ebp - 0xe8], eax */ 42097 _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250AB85B: fsub dword ptr [0x251517a4] */ 42098 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB861: fstp dword ptr [ebp - 0x2c] */ 42099 ecx = MEM32(ebp + (-0x2C)); /* 0x250AB864: mov ecx, dword ptr [ebp - 0x2c] */ 42100 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB867: fstp dword ptr [ebp - 0xf0] */ 42101 MEM32(ebp + (-0xE4)) = ecx; /* 0x250AB86D: mov dword ptr [ebp - 0xe4], ecx */ 42102 PUSH32(esp, 0x00FF0000u); /* 0x250AB873: push 0xff0000 */ 42103 edx = ebp + (-0xF0); /* 0x250AB878: lea edx, [ebp - 0xf0] */ 42104 PUSH32(esp, edx); /* 0x250AB87E: push edx */ 42105 PUSH32(esp, edi); /* 0x250AB87F: push edi */ 42106 ecx = esi; /* 0x250AB880: mov ecx, esi */ 42107 MEM8(ebp + (-0x4)) = (uint8_t)(0x2Fu); /* 0x250AB882: mov byte ptr [ebp - 4], 0x2f */ 42108 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB886: call 0x250a9ad0 */ /* not lifted */ 42109 RECOMP_FLAGS_IN(); 42110 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB88B: fld dword ptr [esi + 0x2c] */ 42111 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB88E: fadd dword ptr [0x251517a4] */ 42112 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB894: fld dword ptr [esi + 0x30] */ 42113 _st[0] += (double)*(float*)ADDR(0x251517A4); /* 0x250AB897: fadd dword ptr [0x251517a4] */ 42114 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB89D: fstp dword ptr [ebp + 8] */ 42115 eax = MEM32(ebp + 0x8); /* 0x250AB8A0: mov eax, dword ptr [ebp + 8] */ 42116 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB8A3: fld dword ptr [esi + 0x34] */ 42117 MEM32(ebp + (-0xEC)) = eax; /* 0x250AB8A6: mov dword ptr [ebp - 0xec], eax */ 42118 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB8AC: fadd dword ptr [esi + 0x2c] */ 42119 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8AF: fsub dword ptr [0x2515412c] */ 42120 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB8B5: fstp dword ptr [ebp - 0x14] */ 42121 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB8B8: fld dword ptr [esi + 0x38] */ 42122 ecx = MEM32(ebp + (-0x14)); /* 0x250AB8BB: mov ecx, dword ptr [ebp - 0x14] */ 42123 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB8BE: fadd dword ptr [esi + 0x30] */ 42124 MEM32(ebp + (-0xE8)) = ecx; /* 0x250AB8C1: mov dword ptr [ebp - 0xe8], ecx */ 42125 _st[0] -= (double)*(float*)ADDR(0x2515412C); /* 0x250AB8C7: fsub dword ptr [0x2515412c] */ 42126 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB8CD: fstp dword ptr [ebp - 0x2c] */ 42127 edx = MEM32(ebp + (-0x2C)); /* 0x250AB8D0: mov edx, dword ptr [ebp - 0x2c] */ 42128 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB8D3: fstp dword ptr [ebp - 0xf0] */ 42129 MEM32(ebp + (-0xE4)) = edx; /* 0x250AB8D9: mov dword ptr [ebp - 0xe4], edx */ 42130 PUSH32(esp, 0x00FF0000u); /* 0x250AB8DF: push 0xff0000 */ 42131 eax = ebp + (-0xF0); /* 0x250AB8E4: lea eax, [ebp - 0xf0] */ 42132 PUSH32(esp, eax); /* 0x250AB8EA: push eax */ 42133 PUSH32(esp, edi); /* 0x250AB8EB: push edi */ 42134 ecx = esi; /* 0x250AB8EC: mov ecx, esi */ 42135 MEM8(ebp + (-0x4)) = (uint8_t)(0x30u); /* 0x250AB8EE: mov byte ptr [ebp - 4], 0x30 */ 42136 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB8F2: call 0x250a9ad0 */ /* not lifted */ 42137 RECOMP_FLAGS_IN(); 42138 fp_push(*(float*)&MEM32(esi + 0x2C)); /* 0x250AB8F7: fld dword ptr [esi + 0x2c] */ 42139 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB8FA: fadd dword ptr [0x2515412c] */ 42140 fp_push(*(float*)&MEM32(esi + 0x30)); /* 0x250AB900: fld dword ptr [esi + 0x30] */ 42141 _st[0] += (double)*(float*)ADDR(0x2515412C); /* 0x250AB903: fadd dword ptr [0x2515412c] */ 42142 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AB909: fstp dword ptr [ebp + 8] */ 42143 ecx = MEM32(ebp + 0x8); /* 0x250AB90C: mov ecx, dword ptr [ebp + 8] */ 42144 fp_push(*(float*)&MEM32(esi + 0x34)); /* 0x250AB90F: fld dword ptr [esi + 0x34] */ 42145 MEM32(ebp + (-0xEC)) = ecx; /* 0x250AB912: mov dword ptr [ebp - 0xec], ecx */ 42146 _st[0] += (double)*(float*)ADDR(esi + 0x2C); /* 0x250AB918: fadd dword ptr [esi + 0x2c] */ 42147 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB91B: fsub dword ptr [0x25152e4c] */ 42148 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AB921: fstp dword ptr [ebp - 0x14] */ 42149 fp_push(*(float*)&MEM32(esi + 0x38)); /* 0x250AB924: fld dword ptr [esi + 0x38] */ 42150 edx = MEM32(ebp + (-0x14)); /* 0x250AB927: mov edx, dword ptr [ebp - 0x14] */ 42151 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x250AB92A: fadd dword ptr [esi + 0x30] */ 42152 MEM32(ebp + (-0xE8)) = edx; /* 0x250AB92D: mov dword ptr [ebp - 0xe8], edx */ 42153 _st[0] -= (double)*(float*)ADDR(0x25152E4C); /* 0x250AB933: fsub dword ptr [0x25152e4c] */ 42154 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250AB939: fstp dword ptr [ebp - 0x2c] */ 42155 eax = MEM32(ebp + (-0x2C)); /* 0x250AB93C: mov eax, dword ptr [ebp - 0x2c] */ 42156 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF0)) = _v; } /* 0x250AB93F: fstp dword ptr [ebp - 0xf0] */ 42157 MEM32(ebp + (-0xE4)) = eax; /* 0x250AB945: mov dword ptr [ebp - 0xe4], eax */ 42158 PUSH32(esp, 0x00FF0000u); /* 0x250AB94B: push 0xff0000 */ 42159 ecx = ebp + (-0xF0); /* 0x250AB950: lea ecx, [ebp - 0xf0] */ 42160 PUSH32(esp, ecx); /* 0x250AB956: push ecx */ 42161 PUSH32(esp, edi); /* 0x250AB957: push edi */ 42162 ecx = esi; /* 0x250AB958: mov ecx, esi */ 42163 MEM8(ebp + (-0x4)) = (uint8_t)(0x31u); /* 0x250AB95A: mov byte ptr [ebp - 4], 0x31 */ 42164 RECOMP_ICALL(0x250A9AD0u); /* 0x250AB95E: call 0x250a9ad0 */ /* not lifted */ 42165 RECOMP_FLAGS_IN(); 42166 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AB963: mov byte ptr [ebp - 4], 5 */ 42167 goto L_250AB982; /* 0x250AB967: jmp 0x250ab982 */ 42168 L_250AB969: 42169 fp_push(*(float*)&MEM32(esi + 0xBC)); /* 0x250AB969: fld dword ptr [esi + 0xbc] */ 42170 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25154758)); /* 0x250AB96F: fcomp dword ptr [0x25154758] */ 42171 fp_pop(); 42172 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AB975: fnstsw ax */ 42173 /* test HI8(eax), 0x41u */ /* 0x250AB977: test ah, 0x41 */ 42174 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 42175 _cf = 0; 42176 _flag_k = FK_NARROW(FK_TEST, 24); 42177 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AB982; /* 0x250AB97A: jne 0x250ab982 */ 42178 L_250AB97C: 42179 MEM32(esi + 0xBC) = ebx; /* 0x250AB97C: mov dword ptr [esi + 0xbc], ebx */ 42180 L_250AB982: 42181 ecx = edi; /* 0x250AB982: mov ecx, edi */ 42182 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 42183 RECOMP_FLAGS_IN(); 42184 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 42185 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 42186 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 42187 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 42188 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 42189 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 42190 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 42191 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 42192 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 42193 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 42194 RECOMP_FLAGS_IN(); 42195 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 42196 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 42197 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42198 _cf = 0; 42199 _flag_k = FK_NARROW(FK_TEST, 24); 42200 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 42201 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 42202 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 42203 L_250AB9BB: 42204 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 42205 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 42206 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 42207 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 42208 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 42209 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 42210 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 42211 RECOMP_FLAGS_IN(); 42212 L_250AB9D6: 42213 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 42214 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 42215 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42216 _cf = 0; 42217 _flag_k = FK_NARROW(FK_TEST, 24); 42218 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 42219 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 42220 L_250AB9E4: 42221 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 42222 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 42223 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 42224 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 42225 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 42226 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 42227 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 42228 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 42229 RECOMP_FLAGS_IN(); 42230 L_250ABA00: 42231 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 42232 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 42233 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42234 _cf = 0; 42235 _flag_k = FK_NARROW(FK_TEST, 24); 42236 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 42237 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 42238 L_250ABA0E: 42239 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 42240 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 42241 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 42242 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 42243 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 42244 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 42245 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 42246 RECOMP_FLAGS_IN(); 42247 L_250ABA2C: 42248 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 42249 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 42250 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42251 _cf = 0; 42252 _flag_k = FK_NARROW(FK_TEST, 24); 42253 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 42254 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 42255 L_250ABA3A: 42256 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 42257 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 42258 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 42259 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 42260 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 42261 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 42262 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 42263 RECOMP_FLAGS_IN(); 42264 L_250ABA55: 42265 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 42266 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 42267 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42268 _cf = 0; 42269 _flag_k = FK_NARROW(FK_TEST, 24); 42270 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 42271 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 42272 L_250ABA63: 42273 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 42274 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 42275 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 42276 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 42277 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 42278 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 42279 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 42280 RECOMP_FLAGS_IN(); 42281 L_250ABA7E: 42282 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 42283 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 42284 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42285 _cf = 0; 42286 _flag_k = FK_NARROW(FK_TEST, 24); 42287 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 42288 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 42289 L_250ABA8F: 42290 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 42291 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 42292 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 42293 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 42294 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 42295 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 42296 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 42297 RECOMP_FLAGS_IN(); 42298 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 42299 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 42300 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 42301 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 42302 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 42303 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 42304 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 42305 L_250ABAC2: 42306 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 42307 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 42308 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 42309 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 42310 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 42311 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 42312 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 42313 RECOMP_REGS_OUT(); 42314 } 42315 42316 void sub_250AB982(void) { 42317 int _fpu_cmp = 0; 42318 uint32_t _cf = 0; 42319 int _df = 1; 42320 uint32_t _flag_k = FK_NONE; 42321 uint32_t _flag_a = 0, _flag_b = 0; 42322 uint32_t _itail_tgt = 0; 42323 RECOMP_REGS_LOCALS 42324 RECOMP_ENTER(0x250AB982u); 42325 42326 L_250AB982: 42327 ecx = edi; /* 0x250AB982: mov ecx, edi */ 42328 RECOMP_ICALL(0x250E0360u); /* 0x250AB984: call 0x250e0360 */ /* not lifted */ 42329 RECOMP_FLAGS_IN(); 42330 edx = MEM32(ebp + (-0x174)); /* 0x250AB989: mov edx, dword ptr [ebp - 0x174] */ 42331 eax = MEM32(ebp + (-0x188)); /* 0x250AB98F: mov eax, dword ptr [ebp - 0x188] */ 42332 ecx = MEM32(ebp + (-0x16C)); /* 0x250AB995: mov ecx, dword ptr [ebp - 0x16c] */ 42333 PUSH32(esp, edx); /* 0x250AB99B: push edx */ 42334 edx = MEM32(ebp + (-0x17C)); /* 0x250AB99C: mov edx, dword ptr [ebp - 0x17c] */ 42335 PUSH32(esp, eax); /* 0x250AB9A2: push eax */ 42336 PUSH32(esp, ecx); /* 0x250AB9A3: push ecx */ 42337 PUSH32(esp, edx); /* 0x250AB9A4: push edx */ 42338 ecx = edi; /* 0x250AB9A5: mov ecx, edi */ 42339 RECOMP_ICALL(0x250DF880u); /* 0x250AB9A7: call 0x250df880 */ /* not lifted */ 42340 RECOMP_FLAGS_IN(); 42341 SET_LO8(eax, MEM8(ebp + (-0x1A4))); /* 0x250AB9AC: mov al, byte ptr [ebp - 0x1a4] */ 42342 /* test LO8(eax), LO8(eax) */ /* 0x250AB9B2: test al, al */ 42343 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42344 _cf = 0; 42345 _flag_k = FK_NARROW(FK_TEST, 24); 42346 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AB9B4: mov byte ptr [ebp - 4], 4 */ 42347 edi = POP32_VAL(esp); /* 0x250AB9B8: pop edi */ 42348 if (TEST_Z(_flag_a, _flag_b)) goto L_250AB9D6; /* 0x250AB9B9: je 0x250ab9d6 */ 42349 L_250AB9BB: 42350 edx = MEM32(ebp + (-0x15C)); /* 0x250AB9BB: mov edx, dword ptr [ebp - 0x15c] */ 42351 eax = MEM32(0x25238B94); /* 0x250AB9C1: mov eax, dword ptr [0x25238b94] */ 42352 ecx = MEM32(eax + 0x894); /* 0x250AB9C6: mov ecx, dword ptr [eax + 0x894] */ 42353 PUSH32(esp, 2); /* 0x250AB9CC: push 2 */ 42354 PUSH32(esp, edx); /* 0x250AB9CE: push edx */ 42355 PUSH32(esp, 7); /* 0x250AB9CF: push 7 */ 42356 RECOMP_ICALL(0x250EFE90u); /* 0x250AB9D1: call 0x250efe90 */ /* not lifted */ 42357 RECOMP_FLAGS_IN(); 42358 L_250AB9D6: 42359 SET_LO8(eax, MEM8(ebp + (-0x1C8))); /* 0x250AB9D6: mov al, byte ptr [ebp - 0x1c8] */ 42360 /* test LO8(eax), LO8(eax) */ /* 0x250AB9DC: test al, al */ 42361 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42362 _cf = 0; 42363 _flag_k = FK_NARROW(FK_TEST, 24); 42364 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AB9DE: mov byte ptr [ebp - 4], 3 */ 42365 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA00; /* 0x250AB9E2: je 0x250aba00 */ 42366 L_250AB9E4: 42367 edx = MEM32(ebp + (-0x170)); /* 0x250AB9E4: mov edx, dword ptr [ebp - 0x170] */ 42368 eax = MEM32(0x25238B94); /* 0x250AB9EA: mov eax, dword ptr [0x25238b94] */ 42369 ecx = MEM32(eax + 0x894); /* 0x250AB9EF: mov ecx, dword ptr [eax + 0x894] */ 42370 PUSH32(esp, 2); /* 0x250AB9F5: push 2 */ 42371 PUSH32(esp, edx); /* 0x250AB9F7: push edx */ 42372 PUSH32(esp, 0xCu); /* 0x250AB9F8: push 0xc */ 42373 PUSH32(esp, ebx); /* 0x250AB9FA: push ebx */ 42374 RECOMP_ICALL(0x250EFF00u); /* 0x250AB9FB: call 0x250eff00 */ /* not lifted */ 42375 RECOMP_FLAGS_IN(); 42376 L_250ABA00: 42377 SET_LO8(eax, MEM8(ebp + (-0x1BC))); /* 0x250ABA00: mov al, byte ptr [ebp - 0x1bc] */ 42378 /* test LO8(eax), LO8(eax) */ /* 0x250ABA06: test al, al */ 42379 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42380 _cf = 0; 42381 _flag_k = FK_NARROW(FK_TEST, 24); 42382 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250ABA08: mov byte ptr [ebp - 4], 2 */ 42383 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA2C; /* 0x250ABA0C: je 0x250aba2c */ 42384 L_250ABA0E: 42385 edx = MEM32(ebp + (-0x178)); /* 0x250ABA0E: mov edx, dword ptr [ebp - 0x178] */ 42386 eax = MEM32(0x25238B94); /* 0x250ABA14: mov eax, dword ptr [0x25238b94] */ 42387 ecx = MEM32(eax + 0x894); /* 0x250ABA19: mov ecx, dword ptr [eax + 0x894] */ 42388 PUSH32(esp, 2); /* 0x250ABA1F: push 2 */ 42389 PUSH32(esp, edx); /* 0x250ABA21: push edx */ 42390 PUSH32(esp, 0x91u); /* 0x250ABA22: push 0x91 */ 42391 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA27: call 0x250efe90 */ /* not lifted */ 42392 RECOMP_FLAGS_IN(); 42393 L_250ABA2C: 42394 SET_LO8(eax, MEM8(ebp + (-0x198))); /* 0x250ABA2C: mov al, byte ptr [ebp - 0x198] */ 42395 /* test LO8(eax), LO8(eax) */ /* 0x250ABA32: test al, al */ 42396 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42397 _cf = 0; 42398 _flag_k = FK_NARROW(FK_TEST, 24); 42399 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250ABA34: mov byte ptr [ebp - 4], 1 */ 42400 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA55; /* 0x250ABA38: je 0x250aba55 */ 42401 L_250ABA3A: 42402 edx = MEM32(ebp + (-0x180)); /* 0x250ABA3A: mov edx, dword ptr [ebp - 0x180] */ 42403 eax = MEM32(0x25238B94); /* 0x250ABA40: mov eax, dword ptr [0x25238b94] */ 42404 ecx = MEM32(eax + 0x894); /* 0x250ABA45: mov ecx, dword ptr [eax + 0x894] */ 42405 PUSH32(esp, 2); /* 0x250ABA4B: push 2 */ 42406 PUSH32(esp, edx); /* 0x250ABA4D: push edx */ 42407 PUSH32(esp, 0x1Cu); /* 0x250ABA4E: push 0x1c */ 42408 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA50: call 0x250efe90 */ /* not lifted */ 42409 RECOMP_FLAGS_IN(); 42410 L_250ABA55: 42411 SET_LO8(eax, MEM8(ebp + (-0x1B0))); /* 0x250ABA55: mov al, byte ptr [ebp - 0x1b0] */ 42412 /* test LO8(eax), LO8(eax) */ /* 0x250ABA5B: test al, al */ 42413 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42414 _cf = 0; 42415 _flag_k = FK_NARROW(FK_TEST, 24); 42416 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250ABA5D: mov byte ptr [ebp - 4], 0 */ 42417 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABA7E; /* 0x250ABA61: je 0x250aba7e */ 42418 L_250ABA63: 42419 edx = MEM32(ebp + (-0x184)); /* 0x250ABA63: mov edx, dword ptr [ebp - 0x184] */ 42420 eax = MEM32(0x25238B94); /* 0x250ABA69: mov eax, dword ptr [0x25238b94] */ 42421 ecx = MEM32(eax + 0x894); /* 0x250ABA6E: mov ecx, dword ptr [eax + 0x894] */ 42422 PUSH32(esp, 2); /* 0x250ABA74: push 2 */ 42423 PUSH32(esp, edx); /* 0x250ABA76: push edx */ 42424 PUSH32(esp, 0x1Bu); /* 0x250ABA77: push 0x1b */ 42425 RECOMP_ICALL(0x250EFE90u); /* 0x250ABA79: call 0x250efe90 */ /* not lifted */ 42426 RECOMP_FLAGS_IN(); 42427 L_250ABA7E: 42428 SET_LO8(eax, MEM8(ebp + (-0x18C))); /* 0x250ABA7E: mov al, byte ptr [ebp - 0x18c] */ 42429 /* test LO8(eax), LO8(eax) */ /* 0x250ABA84: test al, al */ 42430 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42431 _cf = 0; 42432 _flag_k = FK_NARROW(FK_TEST, 24); 42433 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250ABA86: mov dword ptr [ebp - 4], 0xffffffff */ 42434 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABAC2; /* 0x250ABA8D: je 0x250abac2 */ 42435 L_250ABA8F: 42436 eax = MEM32(ebp + (-0xCC)); /* 0x250ABA8F: mov eax, dword ptr [ebp - 0xcc] */ 42437 ecx = MEM32(0x25238B94); /* 0x250ABA95: mov ecx, dword ptr [0x25238b94] */ 42438 ecx = MEM32(ecx + 0x894); /* 0x250ABA9B: mov ecx, dword ptr [ecx + 0x894] */ 42439 PUSH32(esp, 2); /* 0x250ABAA1: push 2 */ 42440 PUSH32(esp, eax); /* 0x250ABAA3: push eax */ 42441 PUSH32(esp, 0x89u); /* 0x250ABAA4: push 0x89 */ 42442 RECOMP_ICALL(0x250EFE90u); /* 0x250ABAA9: call 0x250efe90 */ /* not lifted */ 42443 RECOMP_FLAGS_IN(); 42444 esi = POP32_VAL(esp); /* 0x250ABAAE: pop esi */ 42445 ebx = POP32_VAL(esp); /* 0x250ABAAF: pop ebx */ 42446 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAB0: mov ecx, dword ptr [ebp - 0xc] */ 42447 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAB3: mov dword ptr fs:[0], ecx */ 42448 esp = ebp; /* 0x250ABABA: mov esp, ebp */ 42449 ebp = POP32_VAL(esp); /* 0x250ABABC: pop ebp */ 42450 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABABD: ret 8 */ 42451 L_250ABAC2: 42452 ecx = MEM32(ebp + (-0xC)); /* 0x250ABAC2: mov ecx, dword ptr [ebp - 0xc] */ 42453 esi = POP32_VAL(esp); /* 0x250ABAC5: pop esi */ 42454 ebx = POP32_VAL(esp); /* 0x250ABAC6: pop ebx */ 42455 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABAC7: mov dword ptr fs:[0], ecx */ 42456 esp = ebp; /* 0x250ABACE: mov esp, ebp */ 42457 ebp = POP32_VAL(esp); /* 0x250ABAD0: pop ebp */ 42458 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABAD1: ret 8 */ 42459 RECOMP_REGS_OUT(); 42460 } 42461 42462 void sub_250ABAE0(void) { 42463 int _fpu_cmp = 0; 42464 uint32_t _cf = 0; 42465 int _df = 1; 42466 uint32_t _flag_k = FK_NONE; 42467 uint32_t _flag_a = 0, _flag_b = 0; 42468 uint32_t _itail_tgt = 0; 42469 RECOMP_REGS_LOCALS 42470 RECOMP_ENTER(0x250ABAE0u); 42471 42472 L_250ABAE0: 42473 PUSH32(esp, ebp); /* 0x250ABAE0: push ebp */ 42474 ebp = esp; /* 0x250ABAE1: mov ebp, esp */ 42475 PUSH32(esp, ecx); /* 0x250ABAE3: push ecx */ 42476 eax = MEM32(ebp + 0xC); /* 0x250ABAE4: mov eax, dword ptr [ebp + 0xc] */ 42477 fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x250ABAE7: fld dword ptr [ecx + 0xc] */ 42478 _st[0] -= (double)*(float*)ADDR(eax + 0x4); /* 0x250ABAEA: fsub dword ptr [eax + 4] */ 42479 MEM32(ebp + (-0x4)) = 0; /* 0x250ABAED: mov dword ptr [ebp - 4], 0 */ 42480 fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250ABAF4: fld dword ptr [ecx + 8] */ 42481 _st[0] -= (double)*(float*)ADDR(eax); /* 0x250ABAF7: fsub dword ptr [eax] */ 42482 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250ABAF9: fld dword ptr [ecx + 4] */ 42483 _st[0] -= (double)*(float*)ADDR(eax + 0x4); /* 0x250ABAFC: fsub dword ptr [eax + 4] */ 42484 fp_push(*(float*)&MEM32(ecx)); /* 0x250ABAFF: fld dword ptr [ecx] */ 42485 _st[0] -= (double)*(float*)ADDR(eax); /* 0x250ABB01: fsub dword ptr [eax] */ 42486 eax = MEM32(ebp + 0x8); /* 0x250ABB03: mov eax, dword ptr [ebp + 8] */ 42487 { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x250ABB06: fstp dword ptr [eax] */ 42488 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x4) = _v; } /* 0x250ABB08: fstp dword ptr [eax + 4] */ 42489 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x8) = _v; } /* 0x250ABB0B: fstp dword ptr [eax + 8] */ 42490 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0xC) = _v; } /* 0x250ABB0E: fstp dword ptr [eax + 0xc] */ 42491 esp = ebp; /* 0x250ABB11: mov esp, ebp */ 42492 ebp = POP32_VAL(esp); /* 0x250ABB13: pop ebp */ 42493 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250ABB14: ret 8 */ 42494 RECOMP_REGS_OUT(); 42495 } 42496 42497 void sub_250ABB20(void) { 42498 int _fpu_cmp = 0; 42499 uint32_t _cf = 0; 42500 int _df = 1; 42501 uint32_t _flag_k = FK_NONE; 42502 uint32_t _flag_a = 0, _flag_b = 0; 42503 uint32_t _itail_tgt = 0; 42504 RECOMP_REGS_LOCALS 42505 RECOMP_ENTER(0x250ABB20u); 42506 42507 L_250ABB20: 42508 PUSH32(esp, ebp); /* 0x250ABB20: push ebp */ 42509 ebp = esp; /* 0x250ABB21: mov ebp, esp */ 42510 PUSH32(esp, 0xFFFFFFFFu); /* 0x250ABB23: push -1 */ 42511 PUSH32(esp, 0x2514A278u); /* 0x250ABB25: push 0x2514a278 */ 42512 eax = MEM32(FS_BASE + (0)); /* 0x250ABB2A: mov eax, dword ptr fs:[0] */ 42513 PUSH32(esp, eax); /* 0x250ABB30: push eax */ 42514 MEM32(FS_BASE + (0)) = esp; /* 0x250ABB31: mov dword ptr fs:[0], esp */ 42515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x80u); 42516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42517 esp = esp - 0x80u; /* 0x250ABB38: sub esp, 0x80 */ 42518 _flag_k = FK_CMP; 42519 PUSH32(esp, esi); /* 0x250ABB3E: push esi */ 42520 fp_push(*(float*)&MEM32(ecx + 0x2C)); /* 0x250ABB3F: fld dword ptr [ecx + 0x2c] */ 42521 eax = MEM32(ebp + 0x14); /* 0x250ABB42: mov eax, dword ptr [ebp + 0x14] */ 42522 _st[0] += (double)*(float*)ADDR(eax); /* 0x250ABB45: fadd dword ptr [eax] */ 42523 esi = MEM32(ebp + 0x8); /* 0x250ABB47: mov esi, dword ptr [ebp + 8] */ 42524 PUSH32(esp, 0xAu); /* 0x250ABB4A: push 0xa */ 42525 MEM32(ebp + (-0x4)) = 0; /* 0x250ABB4C: mov dword ptr [ebp - 4], 0 */ 42526 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250ABB53: fst dword ptr [ebp - 0x1c] */ 42527 MEM32(ebp + (-0x84)) = 0x3C23D70Au; /* 0x250ABB56: mov dword ptr [ebp - 0x84], 0x3c23d70a */ 42528 fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250ABB60: fld dword ptr [eax + 8] */ 42529 MEM32(ebp + (-0x80)) = 0x42C80000u; /* 0x250ABB63: mov dword ptr [ebp - 0x80], 0x42c80000 */ 42530 _st[0] += (double)*(float*)ADDR(ecx + 0x2C); /* 0x250ABB6A: fadd dword ptr [ecx + 0x2c] */ 42531 MEM32(ebp + (-0x68)) = 0x3C23D70Au; /* 0x250ABB6D: mov dword ptr [ebp - 0x68], 0x3c23d70a */ 42532 MEM32(ebp + (-0x64)) = 0x42C80000u; /* 0x250ABB74: mov dword ptr [ebp - 0x64], 0x42c80000 */ 42533 MEM32(ebp + (-0x4C)) = 0x3C23D70Au; /* 0x250ABB7B: mov dword ptr [ebp - 0x4c], 0x3c23d70a */ 42534 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250ABB82: fst dword ptr [ebp - 0x14] */ 42535 MEM32(ebp + (-0x48)) = 0x42C80000u; /* 0x250ABB85: mov dword ptr [ebp - 0x48], 0x42c80000 */ 42536 fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250ABB8C: fld dword ptr [eax + 4] */ 42537 MEM32(ebp + (-0x30)) = 0x3C23D70Au; /* 0x250ABB8F: mov dword ptr [ebp - 0x30], 0x3c23d70a */ 42538 _st[0] += (double)*(float*)ADDR(ecx + 0x30); /* 0x250ABB96: fadd dword ptr [ecx + 0x30] */ 42539 MEM32(ebp + (-0x2C)) = 0x42C80000u; /* 0x250ABB99: mov dword ptr [ebp - 0x2c], 0x42c80000 */ 42540 PUSH32(esp, 0); /* 0x250ABBA0: push 0 */ 42541 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250ABBA2: fst dword ptr [ebp - 0x18] */ 42542 fp_push(*(float*)&MEM32(eax + 0xC)); /* 0x250ABBA5: fld dword ptr [eax + 0xc] */ 42543 eax = MEM32(ebp + 0x10); /* 0x250ABBA8: mov eax, dword ptr [ebp + 0x10] */ 42544 _st[0] += (double)*(float*)ADDR(ecx + 0x30); /* 0x250ABBAB: fadd dword ptr [ecx + 0x30] */ 42545 edx = MEM32(eax); /* 0x250ABBAE: mov edx, dword ptr [eax] */ 42546 ecx = MEM32(ebp + 0x18); /* 0x250ABBB0: mov ecx, dword ptr [ebp + 0x18] */ 42547 MEM32(ebp + (-0x78)) = edx; /* 0x250ABBB3: mov dword ptr [ebp - 0x78], edx */ 42548 edx = MEM32(eax + 0x4); /* 0x250ABBB6: mov edx, dword ptr [eax + 4] */ 42549 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250ABBB9: fstp dword ptr [ebp - 0x10] */ 42550 MEM32(ebp + (-0x74)) = edx; /* 0x250ABBBC: mov dword ptr [ebp - 0x74], edx */ 42551 fp_push(_st[2]); /* 0x250ABBBF: fld st(2) */ 42552 edx = MEM32(eax + 0x8); /* 0x250ABBC1: mov edx, dword ptr [eax + 8] */ 42553 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x250ABBC4: fstp dword ptr [ebp - 0x8c] */ 42554 MEM32(ebp + (-0x5C)) = edx; /* 0x250ABBCA: mov dword ptr [ebp - 0x5c], edx */ 42555 edx = MEM32(eax + 0x4); /* 0x250ABBCD: mov edx, dword ptr [eax + 4] */ 42556 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x250ABBD0: fst dword ptr [ebp - 0x88] */ 42557 MEM32(ebp + (-0x58)) = edx; /* 0x250ABBD6: mov dword ptr [ebp - 0x58], edx */ 42558 fp_push(_st[1]); /* 0x250ABBD9: fld st(1) */ 42559 edx = MEM32(ebp + (-0x10)); /* 0x250ABBDB: mov edx, dword ptr [ebp - 0x10] */ 42560 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x250ABBDE: fstp dword ptr [ebp - 0x70] */ 42561 MEM32(ebp + (-0x50)) = edx; /* 0x250ABBE1: mov dword ptr [ebp - 0x50], edx */ 42562 edx = MEM32(eax + 0x8); /* 0x250ABBE4: mov edx, dword ptr [eax + 8] */ 42563 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x250ABBE7: fstp dword ptr [ebp - 0x6c] */ 42564 MEM32(ebp + (-0x40)) = edx; /* 0x250ABBEA: mov dword ptr [ebp - 0x40], edx */ 42565 edx = MEM32(eax + 0xC); /* 0x250ABBED: mov edx, dword ptr [eax + 0xc] */ 42566 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250ABBF0: fstp dword ptr [ebp - 0x54] */ 42567 MEM32(ebp + (-0x3C)) = edx; /* 0x250ABBF3: mov dword ptr [ebp - 0x3c], edx */ 42568 edx = MEM32(ebp + (-0x10)); /* 0x250ABBF6: mov edx, dword ptr [ebp - 0x10] */ 42569 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x250ABBF9: fstp dword ptr [ebp - 0x38] */ 42570 MEM32(ebp + (-0x7C)) = ecx; /* 0x250ABBFC: mov dword ptr [ebp - 0x7c], ecx */ 42571 MEM32(ebp + (-0x60)) = ecx; /* 0x250ABBFF: mov dword ptr [ebp - 0x60], ecx */ 42572 MEM32(ebp + (-0x44)) = ecx; /* 0x250ABC02: mov dword ptr [ebp - 0x44], ecx */ 42573 MEM32(ebp + (-0x34)) = edx; /* 0x250ABC05: mov dword ptr [ebp - 0x34], edx */ 42574 edx = MEM32(eax + 0xC); /* 0x250ABC08: mov edx, dword ptr [eax + 0xc] */ 42575 MEM32(ebp + (-0x28)) = ecx; /* 0x250ABC0B: mov dword ptr [ebp - 0x28], ecx */ 42576 ecx = MEM32(eax); /* 0x250ABC0E: mov ecx, dword ptr [eax] */ 42577 eax = MEM32(ebp + 0xC); /* 0x250ABC10: mov eax, dword ptr [ebp + 0xc] */ 42578 /* test eax, eax */ /* 0x250ABC13: test eax, eax */ 42579 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 42580 _cf = 0; 42581 _flag_k = FK_TEST; 42582 MEM32(ebp + (-0x24)) = ecx; /* 0x250ABC15: mov dword ptr [ebp - 0x24], ecx */ 42583 MEM32(ebp + (-0x20)) = edx; /* 0x250ABC18: mov dword ptr [ebp - 0x20], edx */ 42584 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABC23; /* 0x250ABC1B: je 0x250abc23 */ 42585 L_250ABC1D: 42586 eax = MEM32(eax + 0x28); /* 0x250ABC1D: mov eax, dword ptr [eax + 0x28] */ 42587 PUSH32(esp, eax); /* 0x250ABC20: push eax */ 42588 goto L_250ABC25; /* 0x250ABC21: jmp 0x250abc25 */ 42589 L_250ABC23: 42590 PUSH32(esp, 0); /* 0x250ABC23: push 0 */ 42591 L_250ABC25: 42592 ecx = MEM32(esi + 0x8); /* 0x250ABC25: mov ecx, dword ptr [esi + 8] */ 42593 RECOMP_ICALL(0x250EFF90u); /* 0x250ABC28: call 0x250eff90 */ /* not lifted */ 42594 RECOMP_FLAGS_IN(); 42595 ecx = esi; /* 0x250ABC2D: mov ecx, esi */ 42596 RECOMP_ICALL(0x250E05D0u); /* 0x250ABC2F: call 0x250e05d0 */ /* not lifted */ 42597 RECOMP_FLAGS_IN(); 42598 PUSH32(esp, 0); /* 0x250ABC34: push 0 */ 42599 PUSH32(esp, 4); /* 0x250ABC36: push 4 */ 42600 ecx = ebp + (-0x8C); /* 0x250ABC38: lea ecx, [ebp - 0x8c] */ 42601 PUSH32(esp, ecx); /* 0x250ABC3E: push ecx */ 42602 ecx = MEM32(0x25238B58); /* 0x250ABC3F: mov ecx, dword ptr [0x25238b58] */ 42603 PUSH32(esp, 0x144u); /* 0x250ABC45: push 0x144 */ 42604 RECOMP_ICALL(0x250E85D0u); /* 0x250ABC4A: call 0x250e85d0 */ /* not lifted */ 42605 RECOMP_FLAGS_IN(); 42606 ecx = MEM32(esi + 0x8); /* 0x250ABC4F: mov ecx, dword ptr [esi + 8] */ 42607 PUSH32(esp, 0xAu); /* 0x250ABC52: push 0xa */ 42608 PUSH32(esp, 0); /* 0x250ABC54: push 0 */ 42609 PUSH32(esp, 0); /* 0x250ABC56: push 0 */ 42610 RECOMP_ICALL(0x250EFF90u); /* 0x250ABC58: call 0x250eff90 */ /* not lifted */ 42611 RECOMP_FLAGS_IN(); 42612 ecx = MEM32(ebp + (-0xC)); /* 0x250ABC5D: mov ecx, dword ptr [ebp - 0xc] */ 42613 esi = POP32_VAL(esp); /* 0x250ABC60: pop esi */ 42614 MEM32(FS_BASE + (0)) = ecx; /* 0x250ABC61: mov dword ptr fs:[0], ecx */ 42615 esp = ebp; /* 0x250ABC68: mov esp, ebp */ 42616 ebp = POP32_VAL(esp); /* 0x250ABC6A: pop ebp */ 42617 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x250ABC6B: ret 0x14 */ 42618 RECOMP_REGS_OUT(); 42619 } 42620 42621 void sub_250ABC70(void) { 42622 int _fpu_cmp = 0; 42623 uint32_t _cf = 0; 42624 int _df = 1; 42625 uint32_t _flag_k = FK_NONE; 42626 uint32_t _flag_a = 0, _flag_b = 0; 42627 uint32_t _itail_tgt = 0; 42628 RECOMP_REGS_LOCALS 42629 RECOMP_ENTER(0x250ABC70u); 42630 42631 L_250ABC70: 42632 PUSH32(esp, ebp); /* 0x250ABC70: push ebp */ 42633 ebp = esp; /* 0x250ABC71: mov ebp, esp */ 42634 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 42635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42636 esp = esp - 8; /* 0x250ABC73: sub esp, 8 */ 42637 _flag_k = FK_CMP; 42638 PUSH32(esp, esi); /* 0x250ABC76: push esi */ 42639 esi = ecx; /* 0x250ABC77: mov esi, ecx */ 42640 SET_LO8(eax, MEM8(esi + 0xDC)); /* 0x250ABC79: mov al, byte ptr [esi + 0xdc] */ 42641 /* test LO8(eax), LO8(eax) */ /* 0x250ABC7F: test al, al */ 42642 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42643 _cf = 0; 42644 _flag_k = FK_NARROW(FK_TEST, 24); 42645 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABC9A; /* 0x250ABC81: je 0x250abc9a */ 42646 L_250ABC83: 42647 eax = ebp + (-0x8); /* 0x250ABC83: lea eax, [ebp - 8] */ 42648 PUSH32(esp, eax); /* 0x250ABC86: push eax */ 42649 MEM32(ebp + (-0x8)) = 0; /* 0x250ABC87: mov dword ptr [ebp - 8], 0 */ 42650 MEM32(ebp + (-0x4)) = 0; /* 0x250ABC8E: mov dword ptr [ebp - 4], 0 */ 42651 RECOMP_ICALL(0x250ABCF0u); /* 0x250ABC95: call 0x250abcf0 */ /* not lifted */ 42652 RECOMP_FLAGS_IN(); 42653 L_250ABC9A: 42654 ecx = MEM32(ebp + 0x10); /* 0x250ABC9A: mov ecx, dword ptr [ebp + 0x10] */ 42655 /* test ecx, ecx */ /* 0x250ABC9D: test ecx, ecx */ 42656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 42657 _cf = 0; 42658 _flag_k = FK_TEST; 42659 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABCDD; /* 0x250ABC9F: je 0x250abcdd */ 42660 L_250ABCA1: 42661 eax = MEM32(ebp + 0x8); /* 0x250ABCA1: mov eax, dword ptr [ebp + 8] */ 42662 edx = MEM32(eax); /* 0x250ABCA4: mov edx, dword ptr [eax] */ 42663 MEM32(esi + 0xC0) = edx; /* 0x250ABCA6: mov dword ptr [esi + 0xc0], edx */ 42664 eax = MEM32(eax + 0x4); /* 0x250ABCAC: mov eax, dword ptr [eax + 4] */ 42665 MEM32(esi + 0xC4) = eax; /* 0x250ABCAF: mov dword ptr [esi + 0xc4], eax */ 42666 eax = MEM32(ebp + 0xC); /* 0x250ABCB5: mov eax, dword ptr [ebp + 0xc] */ 42667 PUSH32(esp, edi); /* 0x250ABCB8: push edi */ 42668 edi = MEM32(eax); /* 0x250ABCB9: mov edi, dword ptr [eax] */ 42669 edx = esi + 0xC8; /* 0x250ABCBB: lea edx, [esi + 0xc8] */ 42670 MEM32(edx) = edi; /* 0x250ABCC1: mov dword ptr [edx], edi */ 42671 edi = MEM32(eax + 0x4); /* 0x250ABCC3: mov edi, dword ptr [eax + 4] */ 42672 MEM32(edx + 0x4) = edi; /* 0x250ABCC6: mov dword ptr [edx + 4], edi */ 42673 eax = MEM32(eax + 0x8); /* 0x250ABCC9: mov eax, dword ptr [eax + 8] */ 42674 MEM32(edx + 0x8) = eax; /* 0x250ABCCC: mov dword ptr [edx + 8], eax */ 42675 MEM32(esi + 0xD4) = ecx; /* 0x250ABCCF: mov dword ptr [esi + 0xd4], ecx */ 42676 MEM8(esi + 0xDC) = (uint8_t)(1); /* 0x250ABCD5: mov byte ptr [esi + 0xdc], 1 */ 42677 edi = POP32_VAL(esp); /* 0x250ABCDC: pop edi */ 42678 L_250ABCDD: 42679 esi = POP32_VAL(esp); /* 0x250ABCDD: pop esi */ 42680 esp = ebp; /* 0x250ABCDE: mov esp, ebp */ 42681 ebp = POP32_VAL(esp); /* 0x250ABCE0: pop ebp */ 42682 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250ABCE1: ret 0xc */ 42683 RECOMP_REGS_OUT(); 42684 } 42685 42686 void sub_250ABCF0(void) { 42687 int _fpu_cmp = 0; 42688 uint32_t _cf = 0; 42689 int _df = 1; 42690 uint32_t _flag_k = FK_NONE; 42691 uint32_t _flag_a = 0, _flag_b = 0; 42692 uint32_t _itail_tgt = 0; 42693 RECOMP_REGS_LOCALS 42694 RECOMP_ENTER(0x250ABCF0u); 42695 uint32_t identity = MEM32(esp + 4); 42696 42697 L_250ABCF0: 42698 /* Keep a different mission's marker; zero identity explicitly clears all. */ 42699 if (!(MEM32(identity) || MEM32(identity + 4)) || 42700 (MEM32(identity) == MEM32(ecx + 0xC0) && 42701 MEM32(identity + 4) == MEM32(ecx + 0xC4))) 42702 MEM8(ecx + 0xDC) = 0; 42703 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250ABCF7: ret 4 */ 42704 RECOMP_REGS_OUT(); 42705 } 42706 42707 void sub_250ABD00(void) { 42708 int _fpu_cmp = 0; 42709 uint32_t _cf = 0; 42710 int _df = 1; 42711 uint32_t _flag_k = FK_NONE; 42712 uint32_t _flag_a = 0, _flag_b = 0; 42713 uint32_t _itail_tgt = 0; 42714 RECOMP_REGS_LOCALS 42715 RECOMP_ENTER(0x250ABD00u); 42716 42717 L_250ABD00: 42718 PUSH32(esp, ebp); /* 0x250ABD00: push ebp */ 42719 ebp = esp; /* 0x250ABD01: mov ebp, esp */ 42720 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x88u); 42721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42722 esp = esp - 0x88u; /* 0x250ABD03: sub esp, 0x88 */ 42723 _flag_k = FK_CMP; 42724 PUSH32(esp, ebx); /* 0x250ABD09: push ebx */ 42725 PUSH32(esp, esi); /* 0x250ABD0A: push esi */ 42726 esi = MEM32(0x252385A4); /* 0x250ABD0B: mov esi, dword ptr [0x252385a4] */ 42727 PUSH32(esp, edi); /* 0x250ABD11: push edi */ 42728 eax = ebp + 0x8; /* 0x250ABD12: lea eax, [ebp + 8] */ 42729 PUSH32(esp, eax); /* 0x250ABD15: push eax */ 42730 ecx = ebp + (-0x4); /* 0x250ABD16: lea ecx, [ebp - 4] */ 42731 PUSH32(esp, ecx); /* 0x250ABD19: push ecx */ 42732 ecx = 0x252385A0u; /* 0x250ABD1A: mov ecx, 0x252385a0 */ 42733 RECOMP_ICALL(0x250AC4E0u); /* 0x250ABD1F: call 0x250ac4e0 */ /* not lifted */ 42734 RECOMP_FLAGS_IN(); 42735 /* cmp MEM32(eax), esi */ /* 0x250ABD24: cmp dword ptr [eax], esi */ 42736 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(esi); 42737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42738 _flag_k = FK_CMP; 42739 if (CMP_NE(_flag_a, _flag_b)) goto L_250ABEE4; /* 0x250ABD26: jne 0x250abee4 */ 42740 L_250ABD2C: 42741 edx = MEM32(ebp + 0x8); /* 0x250ABD2C: mov edx, dword ptr [ebp + 8] */ 42742 eax = MEM32(ebp + 0xC); /* 0x250ABD2F: mov eax, dword ptr [ebp + 0xc] */ 42743 ecx = MEM32(eax); /* 0x250ABD32: mov ecx, dword ptr [eax] */ 42744 MEM32(ebp + (-0x40)) = edx; /* 0x250ABD34: mov dword ptr [ebp - 0x40], edx */ 42745 edx = MEM32(eax + 0x4); /* 0x250ABD37: mov edx, dword ptr [eax + 4] */ 42746 eax = MEM32(eax + 0x8); /* 0x250ABD3A: mov eax, dword ptr [eax + 8] */ 42747 MEM32(ebp + (-0x38)) = ecx; /* 0x250ABD3D: mov dword ptr [ebp - 0x38], ecx */ 42748 ecx = MEM32(ebp + 0x10); /* 0x250ABD40: mov ecx, dword ptr [ebp + 0x10] */ 42749 MEM32(ebp + (-0x34)) = edx; /* 0x250ABD43: mov dword ptr [ebp - 0x34], edx */ 42750 edx = MEM32(ecx); /* 0x250ABD46: mov edx, dword ptr [ecx] */ 42751 MEM32(ebp + (-0x30)) = eax; /* 0x250ABD48: mov dword ptr [ebp - 0x30], eax */ 42752 eax = MEM32(ecx + 0x4); /* 0x250ABD4B: mov eax, dword ptr [ecx + 4] */ 42753 ecx = MEM32(ecx + 0x8); /* 0x250ABD4E: mov ecx, dword ptr [ecx + 8] */ 42754 MEM32(ebp + (-0x28)) = eax; /* 0x250ABD51: mov dword ptr [ebp - 0x28], eax */ 42755 eax = MEM32(ebp + 0x18); /* 0x250ABD54: mov eax, dword ptr [ebp + 0x18] */ 42756 MEM32(ebp + (-0x24)) = ecx; /* 0x250ABD57: mov dword ptr [ebp - 0x24], ecx */ 42757 ecx = MEM32(ebp + 0x1C); /* 0x250ABD5A: mov ecx, dword ptr [ebp + 0x1c] */ 42758 MEM32(ebp + (-0x1C)) = eax; /* 0x250ABD5D: mov dword ptr [ebp - 0x1c], eax */ 42759 eax = (uint32_t)((int32_t)eax * (int32_t)ecx); /* 0x250ABD60: imul eax, ecx */ 42760 MEM32(ebp + (-0x2C)) = edx; /* 0x250ABD63: mov dword ptr [ebp - 0x2c], edx */ 42761 edx = MEM32(ebp + 0x14); /* 0x250ABD66: mov edx, dword ptr [ebp + 0x14] */ 42762 MEM32(ebp + (-0x20)) = edx; /* 0x250ABD69: mov dword ptr [ebp - 0x20], edx */ 42763 edx = MEM32(ebp + 0x20); /* 0x250ABD6C: mov edx, dword ptr [ebp + 0x20] */ 42764 ebx = eax; /* 0x250ABD6F: mov ebx, eax */ 42765 MEM32(ebp + (-0x14)) = edx; /* 0x250ABD71: mov dword ptr [ebp - 0x14], edx */ 42766 edx = MEM32(ebp + 0x24); /* 0x250ABD74: mov edx, dword ptr [ebp + 0x24] */ 42767 eax = ebx * 4; /* 0x250ABD77: lea eax, [ebx*4] */ 42768 PUSH32(esp, eax); /* 0x250ABD7E: push eax */ 42769 MEM32(ebp + (-0x3C)) = 0xFF000000u; /* 0x250ABD7F: mov dword ptr [ebp - 0x3c], 0xff000000 */ 42770 MEM32(ebp + (-0x18)) = ecx; /* 0x250ABD86: mov dword ptr [ebp - 0x18], ecx */ 42771 MEM32(ebp + (-0x10)) = edx; /* 0x250ABD89: mov dword ptr [ebp - 0x10], edx */ 42772 RECOMP_ICALL(0x251380D0u); /* 0x250ABD8C: call 0x251380d0 */ /* not lifted */ 42773 RECOMP_FLAGS_IN(); 42774 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42776 esp = esp + 4; /* 0x250ABD91: add esp, 4 */ 42777 _flag_k = FK_ADD; 42778 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42779 esi = 0; /* 0x250ABD94: xor esi, esi */ 42780 _cf = 0; 42781 _flag_k = FK_TEST; 42782 /* test ebx, ebx */ /* 0x250ABD96: test ebx, ebx */ 42783 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 42784 _cf = 0; 42785 _flag_k = FK_TEST; 42786 MEM32(ebp + (-0xC)) = eax; /* 0x250ABD98: mov dword ptr [ebp - 0xc], eax */ 42787 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABDF2; /* 0x250ABD9B: jbe 0x250abdf2 */ 42788 L_250ABD9D: 42789 edi = MEM32(0x251515D8); /* 0x250ABD9D: mov edi, dword ptr [0x251515d8] */ 42790 L_250ABDA3: 42791 ecx = MEM32(ebp + (-0xC)); /* 0x250ABDA3: mov ecx, dword ptr [ebp - 0xc] */ 42792 edx = MEM32(ebp + 0x28); /* 0x250ABDA6: mov edx, dword ptr [ebp + 0x28] */ 42793 MEM32(ecx + esi * 4) = 0; /* 0x250ABDA9: mov dword ptr [ecx + esi*4], 0 */ 42794 eax = MEM32(edx + esi * 4); /* 0x250ABDB0: mov eax, dword ptr [edx + esi*4] */ 42795 /* cmp eax, 1 */ /* 0x250ABDB3: cmp eax, 1 */ 42796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 42797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42798 _flag_k = FK_CMP; 42799 if (CMP_BE(_flag_a, _flag_b)) goto L_250ABDED; /* 0x250ABDB6: jbe 0x250abded */ 42800 L_250ABDB8: 42801 /* test eax, 0x80000000u */ /* 0x250ABDB8: test eax, 0x80000000 */ 42802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80000000u); 42803 _cf = 0; 42804 _flag_k = FK_TEST; 42805 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABDCB; /* 0x250ABDBD: je 0x250abdcb */ 42806 L_250ABDBF: 42807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x7FFFFFFFu); 42808 eax = eax & 0x7FFFFFFFu; /* 0x250ABDBF: and eax, 0x7fffffff */ 42809 _cf = 0; 42810 _flag_k = FK_TEST; 42811 ecx = 0x000F6954u; /* 0x250ABDC4: mov ecx, 0xf6954 */ 42812 goto L_250ABDD0; /* 0x250ABDC9: jmp 0x250abdd0 */ 42813 L_250ABDCB: 42814 ecx = 0x000F6959u; /* 0x250ABDCB: mov ecx, 0xf6959 */ 42815 L_250ABDD0: 42816 MEM32(ebp + (-0x8)) = ecx; /* 0x250ABDD0: mov dword ptr [ebp - 8], ecx */ 42817 MEM32(ebp + (-0x4)) = eax; /* 0x250ABDD3: mov dword ptr [ebp - 4], eax */ 42818 RECOMP_ICALL(edi); /* 0x250ABDD6: call edi */ 42819 RECOMP_FLAGS_IN(); 42820 edx = MEM32(eax); /* 0x250ABDD8: mov edx, dword ptr [eax] */ 42821 PUSH32(esp, 3); /* 0x250ABDDA: push 3 */ 42822 PUSH32(esp, 1); /* 0x250ABDDC: push 1 */ 42823 ecx = ebp + (-0x8); /* 0x250ABDDE: lea ecx, [ebp - 8] */ 42824 PUSH32(esp, ecx); /* 0x250ABDE1: push ecx */ 42825 ecx = eax; /* 0x250ABDE2: mov ecx, eax */ 42826 RECOMP_ICALL(MEM32(edx + 0x24)); /* 0x250ABDE4: call dword ptr [edx + 0x24] */ 42827 RECOMP_FLAGS_IN(); 42828 edx = MEM32(ebp + (-0xC)); /* 0x250ABDE7: mov edx, dword ptr [ebp - 0xc] */ 42829 MEM32(edx + esi * 4) = eax; /* 0x250ABDEA: mov dword ptr [edx + esi*4], eax */ 42830 L_250ABDED: 42831 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 42832 esi = esi + 1; /* 0x250ABDED: inc esi */ 42833 _flag_k = FK_INC; 42834 /* cmp esi, ebx */ /* 0x250ABDEE: cmp esi, ebx */ 42835 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 42836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42837 _flag_k = FK_CMP; 42838 RECOMP_BACKEDGE(); 42839 if (CMP_B(_flag_a, _flag_b)) goto L_250ABDA3; /* 0x250ABDF0: jb 0x250abda3 */ 42840 L_250ABDF2: 42841 ecx = MEM32(0x25238590); /* 0x250ABDF2: mov ecx, dword ptr [0x25238590] */ 42842 eax = ebp + (-0x40); /* 0x250ABDF8: lea eax, [ebp - 0x40] */ 42843 PUSH32(esp, eax); /* 0x250ABDFB: push eax */ 42844 PUSH32(esp, 1); /* 0x250ABDFC: push 1 */ 42845 PUSH32(esp, ecx); /* 0x250ABDFE: push ecx */ 42846 ecx = 0x25238588u; /* 0x250ABDFF: mov ecx, 0x25238588 */ 42847 RECOMP_ICALL(0x250AC830u); /* 0x250ABE04: call 0x250ac830 */ /* not lifted */ 42848 RECOMP_FLAGS_IN(); 42849 edi = MEM32(0x25238590); /* 0x250ABE09: mov edi, dword ptr [0x25238590] */ 42850 esi = MEM32(0x2523858C); /* 0x250ABE0F: mov esi, dword ptr [0x2523858c] */ 42851 ecx = edi; /* 0x250ABE15: mov ecx, edi */ 42852 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 42853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42854 ecx = ecx - esi; /* 0x250ABE17: sub ecx, esi */ 42855 _flag_k = FK_CMP; 42856 eax = 0x92492493u; /* 0x250ABE19: mov eax, 0x92492493 */ 42857 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250ABE1E: imul ecx */ 42858 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 42859 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 42860 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 42861 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42862 edx = edx + ecx; /* 0x250ABE20: add edx, ecx */ 42863 _flag_k = FK_ADD; 42864 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250ABE22: sar edx, 5 */ 42865 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 42866 edx = (uint32_t)((int32_t)edx >> 5u); 42867 eax = edx; /* 0x250ABE25: mov eax, edx */ 42868 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250ABE27: shr eax, 0x1f */ 42869 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 42870 eax = eax >> 31u; /* 0x250ABE27: shr eax, 0x1f */ 42871 PUSH32(esp, 0); /* 0x250ABE2A: push 0 */ 42872 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 42873 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42874 edx = edx + eax; /* 0x250ABE2C: add edx, eax */ 42875 _flag_k = FK_ADD; 42876 /* cmp edx, 0x10u */ /* 0x250ABE2E: cmp edx, 0x10 */ 42877 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 42878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42879 _flag_k = FK_CMP; 42880 PUSH32(esp, edi); /* 0x250ABE31: push edi */ 42881 MEM32(ebp + 0xC) = edi; /* 0x250ABE32: mov dword ptr [ebp + 0xc], edi */ 42882 PUSH32(esp, esi); /* 0x250ABE35: push esi */ 42883 if (CMP_G(_flag_a, _flag_b)) goto L_250ABE42; /* 0x250ABE36: jg 0x250abe42 */ 42884 L_250ABE38: 42885 RECOMP_ICALL(0x250AD200u); /* 0x250ABE38: call 0x250ad200 */ /* not lifted */ 42886 RECOMP_FLAGS_IN(); 42887 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 42888 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42889 esp = esp + 0xCu; /* 0x250ABE3D: add esp, 0xc */ 42890 _flag_k = FK_ADD; 42891 goto L_250ABE9F; /* 0x250ABE40: jmp 0x250abe9f */ 42892 L_250ABE42: 42893 RECOMP_ICALL(0x250AD030u); /* 0x250ABE42: call 0x250ad030 */ /* not lifted */ 42894 RECOMP_FLAGS_IN(); 42895 PUSH32(esp, 0); /* 0x250ABE47: push 0 */ 42896 ebx = esi + 0x380; /* 0x250ABE49: lea ebx, [esi + 0x380] */ 42897 PUSH32(esp, ebx); /* 0x250ABE4F: push ebx */ 42898 PUSH32(esp, esi); /* 0x250ABE50: push esi */ 42899 RECOMP_ICALL(0x250AD200u); /* 0x250ABE51: call 0x250ad200 */ /* not lifted */ 42900 RECOMP_FLAGS_IN(); 42901 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 42902 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42903 esp = esp + 0x18u; /* 0x250ABE56: add esp, 0x18 */ 42904 _flag_k = FK_ADD; 42905 /* cmp ebx, edi */ /* 0x250ABE59: cmp ebx, edi */ 42906 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 42907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42908 _flag_k = FK_CMP; 42909 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ABE9F; /* 0x250ABE5B: je 0x250abe9f */ 42910 L_250ABE5D: 42911 ecx = 0xEu; /* 0x250ABE5D: mov ecx, 0xe */ 42912 esi = ebx; /* 0x250ABE62: mov esi, ebx */ 42913 edi = ebp + (-0x88); /* 0x250ABE64: lea edi, [ebp - 0x88] */ 42914 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ABE6A: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 42915 edi = ebx; /* 0x250ABE6C: mov edi, ebx */ 42916 edx = ebx; /* 0x250ABE6E: mov edx, ebx */ 42917 L_250ABE70: 42918 fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x250ABE70: fld dword ptr [ebp - 0x7c] */ 42919 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x38u); 42920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42921 edx = edx - 0x38u; /* 0x250ABE73: sub edx, 0x38 */ 42922 _flag_k = FK_CMP; 42923 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0xC)); /* 0x250ABE76: fcomp dword ptr [edx + 0xc] */ 42924 fp_pop(); 42925 ecx = 0xEu; /* 0x250ABE79: mov ecx, 0xe */ 42926 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250ABE7E: fnstsw ax */ 42927 /* test HI8(eax), 1 */ /* 0x250ABE80: test ah, 1 */ 42928 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 42929 _cf = 0; 42930 _flag_k = FK_NARROW(FK_TEST, 24); 42931 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABE8D; /* 0x250ABE83: je 0x250abe8d */ 42932 L_250ABE85: 42933 esi = edx; /* 0x250ABE85: mov esi, edx */ 42934 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ABE87: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 42935 edi = edx; /* 0x250ABE89: mov edi, edx */ 42936 RECOMP_BACKEDGE(); 42937 goto L_250ABE70; /* 0x250ABE8B: jmp 0x250abe70 */ 42938 L_250ABE8D: 42939 eax = MEM32(ebp + 0xC); /* 0x250ABE8D: mov eax, dword ptr [ebp + 0xc] */ 42940 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x38u); 42941 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42942 ebx = ebx + 0x38u; /* 0x250ABE90: add ebx, 0x38 */ 42943 _flag_k = FK_ADD; 42944 /* cmp ebx, eax */ /* 0x250ABE93: cmp ebx, eax */ 42945 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 42946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42947 _flag_k = FK_CMP; 42948 esi = ebp + (-0x88); /* 0x250ABE95: lea esi, [ebp - 0x88] */ 42949 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ABE9B: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 42950 RECOMP_BACKEDGE(); 42951 if (CMP_NE(_flag_a, _flag_b)) goto L_250ABE5D; /* 0x250ABE9D: jne 0x250abe5d */ 42952 L_250ABE9F: 42953 esi = MEM32(0x2523858C); /* 0x250ABE9F: mov esi, dword ptr [0x2523858c] */ 42954 ebx = MEM32(0x25238590); /* 0x250ABEA5: mov ebx, dword ptr [0x25238590] */ 42955 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42956 edi = 0; /* 0x250ABEAB: xor edi, edi */ 42957 _cf = 0; 42958 _flag_k = FK_TEST; 42959 /* cmp esi, ebx */ /* 0x250ABEAD: cmp esi, ebx */ 42960 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 42961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42962 _flag_k = FK_CMP; 42963 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ABEE4; /* 0x250ABEAF: je 0x250abee4 */ 42964 L_250ABEB1: 42965 ecx = MEM32(esi); /* 0x250ABEB1: mov ecx, dword ptr [esi] */ 42966 edx = ebp + (-0x8); /* 0x250ABEB3: lea edx, [ebp - 8] */ 42967 PUSH32(esp, edx); /* 0x250ABEB6: push edx */ 42968 eax = ebp + (-0x50); /* 0x250ABEB7: lea eax, [ebp - 0x50] */ 42969 MEM32(ebp + (-0x8)) = ecx; /* 0x250ABEBA: mov dword ptr [ebp - 8], ecx */ 42970 PUSH32(esp, eax); /* 0x250ABEBD: push eax */ 42971 ecx = 0x252385A0u; /* 0x250ABEBE: mov ecx, 0x252385a0 */ 42972 MEM32(ebp + (-0x4)) = 0; /* 0x250ABEC3: mov dword ptr [ebp - 4], 0 */ 42973 RECOMP_ICALL(0x250F0290u); /* 0x250ABECA: call 0x250f0290 */ /* not lifted */ 42974 RECOMP_FLAGS_IN(); 42975 ecx = eax; /* 0x250ABECF: mov ecx, eax */ 42976 eax = MEM32(ecx); /* 0x250ABED1: mov eax, dword ptr [ecx] */ 42977 edx = MEM32(ecx + 0x4); /* 0x250ABED3: mov edx, dword ptr [ecx + 4] */ 42978 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x38u); 42979 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42980 esi = esi + 0x38u; /* 0x250ABED6: add esi, 0x38 */ 42981 _flag_k = FK_ADD; 42982 MEM32(eax + 0x10) = edi; /* 0x250ABED9: mov dword ptr [eax + 0x10], edi */ 42983 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 42984 edi = edi + 1; /* 0x250ABEDC: inc edi */ 42985 _flag_k = FK_INC; 42986 /* cmp esi, ebx */ /* 0x250ABEDD: cmp esi, ebx */ 42987 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 42988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42989 _flag_k = FK_CMP; 42990 MEM32(ebp + (-0x44)) = edx; /* 0x250ABEDF: mov dword ptr [ebp - 0x44], edx */ 42991 RECOMP_BACKEDGE(); 42992 if (CMP_NE(_flag_a, _flag_b)) goto L_250ABEB1; /* 0x250ABEE2: jne 0x250abeb1 */ 42993 L_250ABEE4: 42994 edi = POP32_VAL(esp); /* 0x250ABEE4: pop edi */ 42995 esi = POP32_VAL(esp); /* 0x250ABEE5: pop esi */ 42996 ebx = POP32_VAL(esp); /* 0x250ABEE6: pop ebx */ 42997 esp = ebp; /* 0x250ABEE7: mov esp, ebp */ 42998 ebp = POP32_VAL(esp); /* 0x250ABEE9: pop ebp */ 42999 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ABEEA: ret */ 43000 RECOMP_REGS_OUT(); 43001 } 43002 43003 void sub_250ABEF0(void) { 43004 int _fpu_cmp = 0; 43005 uint32_t _cf = 0; 43006 int _df = 1; 43007 uint32_t _flag_k = FK_NONE; 43008 uint32_t _flag_a = 0, _flag_b = 0; 43009 uint32_t _itail_tgt = 0; 43010 RECOMP_REGS_LOCALS 43011 RECOMP_ENTER(0x250ABEF0u); 43012 43013 L_250ABEF0: 43014 PUSH32(esp, ebp); /* 0x250ABEF0: push ebp */ 43015 ebp = esp; /* 0x250ABEF1: mov ebp, esp */ 43016 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 43017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43018 esp = esp - 0x18u; /* 0x250ABEF3: sub esp, 0x18 */ 43019 _flag_k = FK_CMP; 43020 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250ABEF6: mov al, byte ptr [ebp + 0xc] */ 43021 /* test LO8(eax), LO8(eax) */ /* 0x250ABEF9: test al, al */ 43022 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 43023 _cf = 0; 43024 _flag_k = FK_NARROW(FK_TEST, 24); 43025 PUSH32(esp, ebx); /* 0x250ABEFB: push ebx */ 43026 PUSH32(esp, esi); /* 0x250ABEFC: push esi */ 43027 esi = MEM32(ebp + 0x8); /* 0x250ABEFD: mov esi, dword ptr [ebp + 8] */ 43028 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABF5C; /* 0x250ABF00: je 0x250abf5c */ 43029 L_250ABF02: 43030 SET_LO8(ebx, MEM8(ebp + 0x10)); /* 0x250ABF02: mov bl, byte ptr [ebp + 0x10] */ 43031 /* test LO8(ebx), LO8(ebx) */ /* 0x250ABF05: test bl, bl */ 43032 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 43033 _cf = 0; 43034 _flag_k = FK_NARROW(FK_TEST, 24); 43035 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABF4A; /* 0x250ABF07: je 0x250abf4a */ 43036 L_250ABF09: 43037 eax = ebp + (-0x8); /* 0x250ABF09: lea eax, [ebp - 8] */ 43038 PUSH32(esp, eax); /* 0x250ABF0C: push eax */ 43039 ecx = ebp + (-0x10); /* 0x250ABF0D: lea ecx, [ebp - 0x10] */ 43040 PUSH32(esp, ecx); /* 0x250ABF10: push ecx */ 43041 ecx = 0x252385A0u; /* 0x250ABF11: mov ecx, 0x252385a0 */ 43042 MEM32(ebp + (-0x8)) = esi; /* 0x250ABF16: mov dword ptr [ebp - 8], esi */ 43043 MEM32(ebp + (-0x4)) = 0; /* 0x250ABF19: mov dword ptr [ebp - 4], 0 */ 43044 RECOMP_ICALL(0x250F0290u); /* 0x250ABF20: call 0x250f0290 */ /* not lifted */ 43045 RECOMP_FLAGS_IN(); 43046 edx = eax; /* 0x250ABF25: mov edx, eax */ 43047 eax = MEM32(edx); /* 0x250ABF27: mov eax, dword ptr [edx] */ 43048 ecx = MEM32(edx + 0x4); /* 0x250ABF29: mov ecx, dword ptr [edx + 4] */ 43049 eax = MEM32(eax + 0x10); /* 0x250ABF2C: mov eax, dword ptr [eax + 0x10] */ 43050 edx = eax * 8; /* 0x250ABF2F: lea edx, [eax*8] */ 43051 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 43052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43053 edx = edx - eax; /* 0x250ABF36: sub edx, eax */ 43054 _flag_k = FK_CMP; 43055 eax = MEM32(0x2523858C); /* 0x250ABF38: mov eax, dword ptr [0x2523858c] */ 43056 MEM32(ebp + (-0x14)) = ecx; /* 0x250ABF3D: mov dword ptr [ebp - 0x14], ecx */ 43057 ecx = MEM32(eax + edx * 8 + 0x2C); /* 0x250ABF40: mov ecx, dword ptr [eax + edx*8 + 0x2c] */ 43058 MEM32(0x252385C0) = ecx; /* 0x250ABF44: mov dword ptr [0x252385c0], ecx */ 43059 L_250ABF4A: 43060 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 43061 _cf = (LO8(ebx)) != 0; 43062 SET_LO8(ebx, (uint32_t)(-(int32_t)LO8(ebx))); /* 0x250ABF4A: neg bl */ 43063 _flag_k = FK_NARROW(FK_CMP, 24); 43064 { uint32_t _sa = ebx, _sb = ebx, _sc = _cf; /* 0x250ABF4C: sbb ebx, ebx */ 43065 ebx = _sc ? 0xFFFFFFFFu : 0; 43066 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 43067 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 43068 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x007F7F7Fu); 43069 ebx = ebx & 0x007F7F7Fu; /* 0x250ABF4E: and ebx, 0x7f7f7f */ 43070 _cf = 0; 43071 _flag_k = FK_TEST; 43072 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFF808080u); 43073 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43074 ebx = ebx + 0xFF808080u; /* 0x250ABF54: add ebx, 0xff808080 */ 43075 _flag_k = FK_ADD; 43076 goto L_250ABF61; /* 0x250ABF5A: jmp 0x250abf61 */ 43077 L_250ABF5C: 43078 ebx = 0xFF000000u; /* 0x250ABF5C: mov ebx, 0xff000000 */ 43079 L_250ABF61: 43080 edx = ebp + (-0x8); /* 0x250ABF61: lea edx, [ebp - 8] */ 43081 PUSH32(esp, edx); /* 0x250ABF64: push edx */ 43082 eax = ebp + (-0x18); /* 0x250ABF65: lea eax, [ebp - 0x18] */ 43083 PUSH32(esp, eax); /* 0x250ABF68: push eax */ 43084 ecx = 0x252385A0u; /* 0x250ABF69: mov ecx, 0x252385a0 */ 43085 MEM32(ebp + (-0x8)) = esi; /* 0x250ABF6E: mov dword ptr [ebp - 8], esi */ 43086 MEM32(ebp + (-0x4)) = 0; /* 0x250ABF71: mov dword ptr [ebp - 4], 0 */ 43087 RECOMP_ICALL(0x250F0290u); /* 0x250ABF78: call 0x250f0290 */ /* not lifted */ 43088 RECOMP_FLAGS_IN(); 43089 ecx = eax; /* 0x250ABF7D: mov ecx, eax */ 43090 eax = MEM32(ecx); /* 0x250ABF7F: mov eax, dword ptr [ecx] */ 43091 edx = MEM32(ecx + 0x4); /* 0x250ABF81: mov edx, dword ptr [ecx + 4] */ 43092 eax = MEM32(eax + 0x10); /* 0x250ABF84: mov eax, dword ptr [eax + 0x10] */ 43093 ecx = eax * 8; /* 0x250ABF87: lea ecx, [eax*8] */ 43094 MEM32(ebp + (-0xC)) = edx; /* 0x250ABF8E: mov dword ptr [ebp - 0xc], edx */ 43095 edx = MEM32(0x2523858C); /* 0x250ABF91: mov edx, dword ptr [0x2523858c] */ 43096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 43097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43098 ecx = ecx - eax; /* 0x250ABF97: sub ecx, eax */ 43099 _flag_k = FK_CMP; 43100 esi = POP32_VAL(esp); /* 0x250ABF99: pop esi */ 43101 MEM32(edx + ecx * 8 + 0x4) = ebx; /* 0x250ABF9A: mov dword ptr [edx + ecx*8 + 4], ebx */ 43102 ebx = POP32_VAL(esp); /* 0x250ABF9E: pop ebx */ 43103 esp = ebp; /* 0x250ABF9F: mov esp, ebp */ 43104 ebp = POP32_VAL(esp); /* 0x250ABFA1: pop ebp */ 43105 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ABFA2: ret */ 43106 RECOMP_REGS_OUT(); 43107 } 43108 43109 void sub_250ABFB0(void) { 43110 int _fpu_cmp = 0; 43111 uint32_t _cf = 0; 43112 int _df = 1; 43113 uint32_t _flag_k = FK_NONE; 43114 uint32_t _flag_a = 0, _flag_b = 0; 43115 uint32_t _itail_tgt = 0; 43116 RECOMP_REGS_LOCALS 43117 RECOMP_ENTER(0x250ABFB0u); 43118 43119 L_250ABFB0: 43120 PUSH32(esp, ebp); /* 0x250ABFB0: push ebp */ 43121 ebp = esp; /* 0x250ABFB1: mov ebp, esp */ 43122 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 43123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43124 esp = esp - 8; /* 0x250ABFB3: sub esp, 8 */ 43125 _flag_k = FK_CMP; 43126 eax = MEM32(0x25238590); /* 0x250ABFB6: mov eax, dword ptr [0x25238590] */ 43127 PUSH32(esp, ebx); /* 0x250ABFBB: push ebx */ 43128 PUSH32(esp, esi); /* 0x250ABFBC: push esi */ 43129 esi = MEM32(0x2523858C); /* 0x250ABFBD: mov esi, dword ptr [0x2523858c] */ 43130 /* cmp esi, eax */ /* 0x250ABFC3: cmp esi, eax */ 43131 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 43132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43133 _flag_k = FK_CMP; 43134 PUSH32(esp, edi); /* 0x250ABFC5: push edi */ 43135 MEM32(ebp + (-0x4)) = esi; /* 0x250ABFC6: mov dword ptr [ebp - 4], esi */ 43136 MEM32(ebp + (-0x8)) = eax; /* 0x250ABFC9: mov dword ptr [ebp - 8], eax */ 43137 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC01B; /* 0x250ABFCC: je 0x250ac01b */ 43138 L_250ABFCE: 43139 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 43140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43141 esi = esi + 0x34u; /* 0x250ABFCE: add esi, 0x34 */ 43142 _flag_k = FK_ADD; 43143 L_250ABFD1: 43144 ebx = MEM32(esi + (-0xC)); /* 0x250ABFD1: mov ebx, dword ptr [esi - 0xc] */ 43145 ebx = (uint32_t)((int32_t)ebx * (int32_t)MEM32(esi + (-0x10))); /* 0x250ABFD4: imul ebx, dword ptr [esi - 0x10] */ 43146 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 43147 edi = 0; /* 0x250ABFD8: xor edi, edi */ 43148 _cf = 0; 43149 _flag_k = FK_TEST; 43150 /* test ebx, ebx */ /* 0x250ABFDA: test ebx, ebx */ 43151 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 43152 _cf = 0; 43153 _flag_k = FK_TEST; 43154 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABFF8; /* 0x250ABFDC: jbe 0x250abff8 */ 43155 L_250ABFDE: 43156 eax = MEM32(esi); /* 0x250ABFDE: mov eax, dword ptr [esi] */ 43157 ecx = MEM32(eax + edi * 4); /* 0x250ABFE0: mov ecx, dword ptr [eax + edi*4] */ 43158 /* test ecx, ecx */ /* 0x250ABFE3: test ecx, ecx */ 43159 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 43160 _cf = 0; 43161 _flag_k = FK_TEST; 43162 eax = eax + edi * 4; /* 0x250ABFE5: lea eax, [eax + edi*4] */ 43163 if (TEST_Z(_flag_a, _flag_b)) goto L_250ABFF3; /* 0x250ABFE8: je 0x250abff3 */ 43164 L_250ABFEA: 43165 eax = ecx; /* 0x250ABFEA: mov eax, ecx */ 43166 edx = MEM32(eax); /* 0x250ABFEC: mov edx, dword ptr [eax] */ 43167 PUSH32(esp, 0); /* 0x250ABFEE: push 0 */ 43168 RECOMP_ICALL(MEM32(edx + 0x28)); /* 0x250ABFF0: call dword ptr [edx + 0x28] */ 43169 RECOMP_FLAGS_IN(); 43170 L_250ABFF3: 43171 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 43172 edi = edi + 1; /* 0x250ABFF3: inc edi */ 43173 _flag_k = FK_INC; 43174 /* cmp edi, ebx */ /* 0x250ABFF4: cmp edi, ebx */ 43175 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 43176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43177 _flag_k = FK_CMP; 43178 RECOMP_BACKEDGE(); 43179 if (CMP_B(_flag_a, _flag_b)) goto L_250ABFDE; /* 0x250ABFF6: jb 0x250abfde */ 43180 L_250ABFF8: 43181 eax = MEM32(esi); /* 0x250ABFF8: mov eax, dword ptr [esi] */ 43182 PUSH32(esp, eax); /* 0x250ABFFA: push eax */ 43183 RECOMP_ICALL(0x25137EECu); /* 0x250ABFFB: call 0x25137eec */ /* not lifted */ 43184 RECOMP_FLAGS_IN(); 43185 eax = MEM32(ebp + (-0x4)); /* 0x250AC000: mov eax, dword ptr [ebp - 4] */ 43186 ecx = MEM32(ebp + (-0x8)); /* 0x250AC003: mov ecx, dword ptr [ebp - 8] */ 43187 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 43188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43189 eax = eax + 0x38u; /* 0x250AC006: add eax, 0x38 */ 43190 _flag_k = FK_ADD; 43191 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 43192 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43193 esp = esp + 4; /* 0x250AC009: add esp, 4 */ 43194 _flag_k = FK_ADD; 43195 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x38u); 43196 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43197 esi = esi + 0x38u; /* 0x250AC00C: add esi, 0x38 */ 43198 _flag_k = FK_ADD; 43199 /* cmp eax, ecx */ /* 0x250AC00F: cmp eax, ecx */ 43200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 43201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43202 _flag_k = FK_CMP; 43203 MEM32(ebp + (-0x4)) = eax; /* 0x250AC011: mov dword ptr [ebp - 4], eax */ 43204 RECOMP_BACKEDGE(); 43205 if (CMP_NE(_flag_a, _flag_b)) goto L_250ABFD1; /* 0x250AC014: jne 0x250abfd1 */ 43206 L_250AC016: 43207 eax = MEM32(0x25238590); /* 0x250AC016: mov eax, dword ptr [0x25238590] */ 43208 L_250AC01B: 43209 edx = MEM32(0x2523858C); /* 0x250AC01B: mov edx, dword ptr [0x2523858c] */ 43210 ebx = eax; /* 0x250AC021: mov ebx, eax */ 43211 /* cmp eax, ebx */ /* 0x250AC023: cmp eax, ebx */ 43212 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 43213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43214 _flag_k = FK_CMP; 43215 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC041; /* 0x250AC025: je 0x250ac041 */ 43216 L_250AC027: 43217 esi = eax; /* 0x250AC027: mov esi, eax */ 43218 edi = edx; /* 0x250AC029: mov edi, edx */ 43219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 43220 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43221 eax = eax + 0x38u; /* 0x250AC02B: add eax, 0x38 */ 43222 _flag_k = FK_ADD; 43223 ecx = 0xEu; /* 0x250AC02E: mov ecx, 0xe */ 43224 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x38u); 43225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43226 edx = edx + 0x38u; /* 0x250AC033: add edx, 0x38 */ 43227 _flag_k = FK_ADD; 43228 /* cmp eax, ebx */ /* 0x250AC036: cmp eax, ebx */ 43229 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 43230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43231 _flag_k = FK_CMP; 43232 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AC038: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 43233 RECOMP_BACKEDGE(); 43234 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC027; /* 0x250AC03A: jne 0x250ac027 */ 43235 L_250AC03C: 43236 eax = MEM32(0x25238590); /* 0x250AC03C: mov eax, dword ptr [0x25238590] */ 43237 L_250AC041: 43238 ecx = MEM32(0x252385A4); /* 0x250AC041: mov ecx, dword ptr [0x252385a4] */ 43239 MEM32(0x25238590) = edx; /* 0x250AC047: mov dword ptr [0x25238590], edx */ 43240 edx = MEM32(0x252385B0); /* 0x250AC04D: mov edx, dword ptr [0x252385b0] */ 43241 /* test edx, edx */ /* 0x250AC053: test edx, edx */ 43242 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 43243 _cf = 0; 43244 _flag_k = FK_TEST; 43245 esi = ecx; /* 0x250AC055: mov esi, ecx */ 43246 MEM32(ebp + (-0x8)) = eax; /* 0x250AC057: mov dword ptr [ebp - 8], eax */ 43247 eax = MEM32(esi); /* 0x250AC05A: mov eax, dword ptr [esi] */ 43248 MEM32(ebp + (-0x4)) = eax; /* 0x250AC05C: mov dword ptr [ebp - 4], eax */ 43249 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC0C6; /* 0x250AC05F: je 0x250ac0c6 */ 43250 L_250AC061: 43251 edx = eax; /* 0x250AC061: mov edx, eax */ 43252 /* cmp eax, edx */ /* 0x250AC063: cmp eax, edx */ 43253 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 43254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43255 _flag_k = FK_CMP; 43256 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC0C6; /* 0x250AC065: jne 0x250ac0c6 */ 43257 L_250AC067: 43258 /* cmp esi, esi */ /* 0x250AC067: cmp esi, esi */ 43259 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 43260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43261 _flag_k = FK_CMP; 43262 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC0C6; /* 0x250AC069: jne 0x250ac0c6 */ 43263 L_250AC06B: 43264 edi = MEM32(ecx + 0x4); /* 0x250AC06B: mov edi, dword ptr [ecx + 4] */ 43265 eax = MEM32(0x252385A8); /* 0x250AC06E: mov eax, dword ptr [0x252385a8] */ 43266 /* cmp edi, eax */ /* 0x250AC073: cmp edi, eax */ 43267 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 43268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43269 _flag_k = FK_CMP; 43270 esi = edi; /* 0x250AC075: mov esi, edi */ 43271 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC0A3; /* 0x250AC077: je 0x250ac0a3 */ 43272 L_250AC079: 43273 ecx = MEM32(esi + 0x8); /* 0x250AC079: mov ecx, dword ptr [esi + 8] */ 43274 PUSH32(esp, ecx); /* 0x250AC07C: push ecx */ 43275 ecx = 0x252385A0u; /* 0x250AC07D: mov ecx, 0x252385a0 */ 43276 RECOMP_ICALL(0x250AC7F0u); /* 0x250AC082: call 0x250ac7f0 */ /* not lifted */ 43277 RECOMP_FLAGS_IN(); 43278 esi = MEM32(esi); /* 0x250AC087: mov esi, dword ptr [esi] */ 43279 PUSH32(esp, edi); /* 0x250AC089: push edi */ 43280 RECOMP_ICALL(0x25137EECu); /* 0x250AC08A: call 0x25137eec */ /* not lifted */ 43281 RECOMP_FLAGS_IN(); 43282 eax = MEM32(0x252385A8); /* 0x250AC08F: mov eax, dword ptr [0x252385a8] */ 43283 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 43284 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43285 esp = esp + 4; /* 0x250AC094: add esp, 4 */ 43286 _flag_k = FK_ADD; 43287 /* cmp esi, eax */ /* 0x250AC097: cmp esi, eax */ 43288 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 43289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43290 _flag_k = FK_CMP; 43291 edi = esi; /* 0x250AC099: mov edi, esi */ 43292 RECOMP_BACKEDGE(); 43293 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC079; /* 0x250AC09B: jne 0x250ac079 */ 43294 L_250AC09D: 43295 ecx = MEM32(0x252385A4); /* 0x250AC09D: mov ecx, dword ptr [0x252385a4] */ 43296 L_250AC0A3: 43297 MEM32(ecx + 0x4) = eax; /* 0x250AC0A3: mov dword ptr [ecx + 4], eax */ 43298 eax = MEM32(0x252385A4); /* 0x250AC0A6: mov eax, dword ptr [0x252385a4] */ 43299 MEM32(0x252385B0) = 0; /* 0x250AC0AB: mov dword ptr [0x252385b0], 0 */ 43300 edi = POP32_VAL(esp); /* 0x250AC0B5: pop edi */ 43301 MEM32(eax) = eax; /* 0x250AC0B6: mov dword ptr [eax], eax */ 43302 eax = MEM32(0x252385A4); /* 0x250AC0B8: mov eax, dword ptr [0x252385a4] */ 43303 esi = POP32_VAL(esp); /* 0x250AC0BD: pop esi */ 43304 MEM32(eax + 0x8) = eax; /* 0x250AC0BE: mov dword ptr [eax + 8], eax */ 43305 ebx = POP32_VAL(esp); /* 0x250AC0C1: pop ebx */ 43306 esp = ebp; /* 0x250AC0C2: mov esp, ebp */ 43307 ebp = POP32_VAL(esp); /* 0x250AC0C4: pop ebp */ 43308 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC0C5: ret */ 43309 L_250AC0C6: 43310 /* cmp eax, esi */ /* 0x250AC0C6: cmp eax, esi */ 43311 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 43312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43313 _flag_k = FK_CMP; 43314 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC0EA; /* 0x250AC0C8: je 0x250ac0ea */ 43315 L_250AC0CA: 43316 ecx = ebp + (-0x4); /* 0x250AC0CA: lea ecx, [ebp - 4] */ 43317 edi = eax; /* 0x250AC0CD: mov edi, eax */ 43318 RECOMP_ICALL(0x250DE300u); /* 0x250AC0CF: call 0x250de300 */ /* not lifted */ 43319 RECOMP_FLAGS_IN(); 43320 PUSH32(esp, edi); /* 0x250AC0D4: push edi */ 43321 edx = ebp + (-0x8); /* 0x250AC0D5: lea edx, [ebp - 8] */ 43322 PUSH32(esp, edx); /* 0x250AC0D8: push edx */ 43323 ecx = 0x252385A0u; /* 0x250AC0D9: mov ecx, 0x252385a0 */ 43324 RECOMP_ICALL(0x250985D0u); /* 0x250AC0DE: call 0x250985d0 */ /* not lifted */ 43325 RECOMP_FLAGS_IN(); 43326 eax = MEM32(ebp + (-0x4)); /* 0x250AC0E3: mov eax, dword ptr [ebp - 4] */ 43327 /* cmp eax, esi */ /* 0x250AC0E6: cmp eax, esi */ 43328 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 43329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43330 _flag_k = FK_CMP; 43331 RECOMP_BACKEDGE(); 43332 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC0CA; /* 0x250AC0E8: jne 0x250ac0ca */ 43333 L_250AC0EA: 43334 edi = POP32_VAL(esp); /* 0x250AC0EA: pop edi */ 43335 esi = POP32_VAL(esp); /* 0x250AC0EB: pop esi */ 43336 ebx = POP32_VAL(esp); /* 0x250AC0EC: pop ebx */ 43337 esp = ebp; /* 0x250AC0ED: mov esp, ebp */ 43338 ebp = POP32_VAL(esp); /* 0x250AC0EF: pop ebp */ 43339 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC0F0: ret */ 43340 RECOMP_REGS_OUT(); 43341 } 43342 43343 void sub_250AC100(void) { 43344 int _fpu_cmp = 0; 43345 uint32_t _cf = 0; 43346 int _df = 1; 43347 uint32_t _flag_k = FK_NONE; 43348 uint32_t _flag_a = 0, _flag_b = 0; 43349 uint32_t _itail_tgt = 0; 43350 RECOMP_REGS_LOCALS 43351 RECOMP_ENTER(0x250AC100u); 43352 43353 L_250AC100: 43354 PUSH32(esp, ebp); /* 0x250AC100: push ebp */ 43355 ebp = esp; /* 0x250AC101: mov ebp, esp */ 43356 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 43357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43358 esp = esp - 0x10u; /* 0x250AC103: sub esp, 0x10 */ 43359 _flag_k = FK_CMP; 43360 eax = MEM32(0x252385B4); /* 0x250AC106: mov eax, dword ptr [0x252385b4] */ 43361 /* test eax, eax */ /* 0x250AC10B: test eax, eax */ 43362 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 43363 _cf = 0; 43364 _flag_k = FK_TEST; 43365 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC117; /* 0x250AC10D: je 0x250ac117 */ 43366 L_250AC10F: 43367 fp_push(*(float*)&MEM32(0x251517A4)); /* 0x250AC10F: fld dword ptr [0x251517a4] */ 43368 goto L_250AC11D; /* 0x250AC115: jmp 0x250ac11d */ 43369 L_250AC117: 43370 fp_push(*(float*)&MEM32(0x2515412C)); /* 0x250AC117: fld dword ptr [0x2515412c] */ 43371 L_250AC11D: 43372 _st[0] = (double)*(float*)ADDR(0x2515640C) / _st[0]; /* 0x250AC11D: fdivr dword ptr [0x2515640c] */ 43373 eax = 0x43400000u; /* 0x250AC123: mov eax, 0x43400000 */ 43374 MEM32(ecx + 0x4C) = eax; /* 0x250AC128: mov dword ptr [ecx + 0x4c], eax */ 43375 MEM32(ecx + 0x50) = eax; /* 0x250AC12B: mov dword ptr [ecx + 0x50], eax */ 43376 eax = ecx + 0x3C; /* 0x250AC12E: lea eax, [ecx + 0x3c] */ 43377 PUSH32(esp, esi); /* 0x250AC131: push esi */ 43378 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x250AC132: mov dword ptr [ebp - 0x10], 0x3f800000 */ 43379 esi = MEM32(ebp + (-0x10)); /* 0x250AC139: mov esi, dword ptr [ebp - 0x10] */ 43380 edx = eax; /* 0x250AC13C: mov edx, eax */ 43381 MEM32(edx) = esi; /* 0x250AC13E: mov dword ptr [edx], esi */ 43382 MEM32(ebp + (-0xC)) = 0x3F800000u; /* 0x250AC140: mov dword ptr [ebp - 0xc], 0x3f800000 */ 43383 esi = MEM32(ebp + (-0xC)); /* 0x250AC147: mov esi, dword ptr [ebp - 0xc] */ 43384 MEM32(edx + 0x4) = esi; /* 0x250AC14A: mov dword ptr [edx + 4], esi */ 43385 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250AC14D: fst dword ptr [ebp - 8] */ 43386 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250AC150: fstp dword ptr [ebp - 4] */ 43387 esi = MEM32(ebp + (-0x8)); /* 0x250AC153: mov esi, dword ptr [ebp - 8] */ 43388 MEM32(edx + 0x8) = esi; /* 0x250AC156: mov dword ptr [edx + 8], esi */ 43389 esi = MEM32(ebp + (-0x4)); /* 0x250AC159: mov esi, dword ptr [ebp - 4] */ 43390 MEM32(edx + 0xC) = esi; /* 0x250AC15C: mov dword ptr [edx + 0xc], esi */ 43391 fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250AC15F: fld dword ptr [eax + 8] */ 43392 _st[0] -= (double)*(float*)ADDR(eax); /* 0x250AC162: fsub dword ptr [eax] */ 43393 esi = POP32_VAL(esp); /* 0x250AC164: pop esi */ 43394 _st[0] = (double)*(float*)ADDR(ecx + 0x34) / _st[0]; /* 0x250AC165: fdivr dword ptr [ecx + 0x34] */ 43395 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x5C) = _v; } /* 0x250AC168: fstp dword ptr [ecx + 0x5c] */ 43396 fp_push(*(float*)&MEM32(eax + 0xC)); /* 0x250AC16B: fld dword ptr [eax + 0xc] */ 43397 _st[0] -= (double)*(float*)ADDR(eax + 0x4); /* 0x250AC16E: fsub dword ptr [eax + 4] */ 43398 _st[0] = (double)*(float*)ADDR(ecx + 0x38) / _st[0]; /* 0x250AC171: fdivr dword ptr [ecx + 0x38] */ 43399 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x60) = _v; } /* 0x250AC174: fstp dword ptr [ecx + 0x60] */ 43400 esp = ebp; /* 0x250AC177: mov esp, ebp */ 43401 ebp = POP32_VAL(esp); /* 0x250AC179: pop ebp */ 43402 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC17A: ret */ 43403 RECOMP_REGS_OUT(); 43404 }