client/game/bbr.dll/lifted-0039.c (612466B)
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_250AC180(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(0x250AC180u); 17 18 L_250AC180: 19 PUSH32(esp, ebp); /* 0x250AC180: push ebp */ 20 ebp = esp; /* 0x250AC181: mov ebp, esp */ 21 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x5Cu); 22 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23 esp = esp - 0x5Cu; /* 0x250AC183: sub esp, 0x5c */ 24 _flag_k = FK_CMP; 25 eax = MEM32(ebp + 0x8); /* 0x250AC186: mov eax, dword ptr [ebp + 8] */ 26 ecx = ebp + (-0x5C); /* 0x250AC189: lea ecx, [ebp - 0x5c] */ 27 /* cmp ecx, eax */ /* 0x250AC18C: cmp ecx, eax */ 28 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 29 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30 _flag_k = FK_CMP; 31 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC19B; /* 0x250AC18E: je 0x250ac19b */ 32 L_250AC190: 33 edx = MEM32(eax); /* 0x250AC190: mov edx, dword ptr [eax] */ 34 eax = MEM32(eax + 0x4); /* 0x250AC192: mov eax, dword ptr [eax + 4] */ 35 MEM32(ebp + (-0x5C)) = edx; /* 0x250AC195: mov dword ptr [ebp - 0x5c], edx */ 36 MEM32(ebp + (-0x58)) = eax; /* 0x250AC198: mov dword ptr [ebp - 0x58], eax */ 37 L_250AC19B: 38 ecx = MEM32(0x25238578); /* 0x250AC19B: mov ecx, dword ptr [0x25238578] */ 39 PUSH32(esp, esi); /* 0x250AC1A1: push esi */ 40 PUSH32(esp, edi); /* 0x250AC1A2: push edi */ 41 edi = MEM32(0x25238574); /* 0x250AC1A3: mov edi, dword ptr [0x25238574] */ 42 MEM32(ebp + (-0x54)) = 0; /* 0x250AC1A9: mov dword ptr [ebp - 0x54], 0 */ 43 esi = MEM32(edi + 0x4); /* 0x250AC1B0: mov esi, dword ptr [edi + 4] */ 44 /* cmp esi, ecx */ /* 0x250AC1B3: cmp esi, ecx */ 45 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 46 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 47 _flag_k = FK_CMP; 48 SET_LO8(eax, 1); /* 0x250AC1B5: mov al, 1 */ 49 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC1DA; /* 0x250AC1B7: je 0x250ac1da */ 50 L_250AC1B9: 51 ecx = esi + 0xC; /* 0x250AC1B9: lea ecx, [esi + 0xc] */ 52 PUSH32(esp, ecx); /* 0x250AC1BC: push ecx */ 53 ecx = ebp + (-0x5C); /* 0x250AC1BD: lea ecx, [ebp - 0x5c] */ 54 edi = esi; /* 0x250AC1C0: mov edi, esi */ 55 RECOMP_ICALL(0x250A1990u); /* 0x250AC1C2: call 0x250a1990 */ /* not lifted */ 56 RECOMP_FLAGS_IN(); 57 /* test LO8(eax), LO8(eax) */ /* 0x250AC1C7: test al, al */ 58 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 59 _cf = 0; 60 _flag_k = FK_NARROW(FK_TEST, 24); 61 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC1CF; /* 0x250AC1C9: je 0x250ac1cf */ 62 L_250AC1CB: 63 esi = MEM32(esi); /* 0x250AC1CB: mov esi, dword ptr [esi] */ 64 goto L_250AC1D2; /* 0x250AC1CD: jmp 0x250ac1d2 */ 65 L_250AC1CF: 66 esi = MEM32(esi + 0x8); /* 0x250AC1CF: mov esi, dword ptr [esi + 8] */ 67 L_250AC1D2: 68 /* cmp esi, MEM32(0x25238578) */ /* 0x250AC1D2: cmp esi, dword ptr [0x25238578] */ 69 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(0x25238578)); 70 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 71 _flag_k = FK_CMP; 72 RECOMP_BACKEDGE(); 73 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC1B9; /* 0x250AC1D8: jne 0x250ac1b9 */ 74 L_250AC1DA: 75 SET_LO8(ecx, MEM8(0x2523857C)); /* 0x250AC1DA: mov cl, byte ptr [0x2523857c] */ 76 /* test LO8(ecx), LO8(ecx) */ /* 0x250AC1E0: test cl, cl */ 77 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 78 _cf = 0; 79 _flag_k = FK_NARROW(FK_TEST, 24); 80 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC215; /* 0x250AC1E2: je 0x250ac215 */ 81 L_250AC1E4: 82 edx = ebp + 0xB; /* 0x250AC1E4: lea edx, [ebp + 0xb] */ 83 PUSH32(esp, edx); /* 0x250AC1E7: push edx */ 84 eax = ebp + (-0x5C); /* 0x250AC1E8: lea eax, [ebp - 0x5c] */ 85 PUSH32(esp, eax); /* 0x250AC1EB: push eax */ 86 PUSH32(esp, edi); /* 0x250AC1EC: push edi */ 87 PUSH32(esp, esi); /* 0x250AC1ED: push esi */ 88 ecx = ebp + (-0xC); /* 0x250AC1EE: lea ecx, [ebp - 0xc] */ 89 PUSH32(esp, ecx); /* 0x250AC1F1: push ecx */ 90 ecx = 0x25238570u; /* 0x250AC1F2: mov ecx, 0x25238570 */ 91 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x250AC1F7: mov byte ptr [ebp + 0xb], 1 */ 92 RECOMP_ICALL(0x250ACB30u); /* 0x250AC1FB: call 0x250acb30 */ /* not lifted */ 93 RECOMP_FLAGS_IN(); 94 PUSH32(esp, eax); /* 0x250AC200: push eax */ 95 ecx = ebp + (-0x28); /* 0x250AC201: lea ecx, [ebp - 0x28] */ 96 RECOMP_ICALL(0x250865B0u); /* 0x250AC204: call 0x250865b0 */ /* not lifted */ 97 RECOMP_FLAGS_IN(); 98 edx = eax; /* 0x250AC209: mov edx, eax */ 99 eax = MEM32(edx); /* 0x250AC20B: mov eax, dword ptr [edx] */ 100 ecx = MEM32(edx + 0x4); /* 0x250AC20D: mov ecx, dword ptr [edx + 4] */ 101 goto L_250AC2B7; /* 0x250AC210: jmp 0x250ac2b7 */ 102 L_250AC215: 103 /* test LO8(eax), LO8(eax) */ /* 0x250AC215: test al, al */ 104 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 105 _cf = 0; 106 _flag_k = FK_NARROW(FK_TEST, 24); 107 MEM32(ebp + (-0x8)) = edi; /* 0x250AC217: mov dword ptr [ebp - 8], edi */ 108 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC267; /* 0x250AC21A: je 0x250ac267 */ 109 L_250AC21C: 110 eax = ebp + (-0x10); /* 0x250AC21C: lea eax, [ebp - 0x10] */ 111 PUSH32(esp, eax); /* 0x250AC21F: push eax */ 112 ecx = 0x25238570u; /* 0x250AC220: mov ecx, 0x25238570 */ 113 RECOMP_ICALL(0x25085270u); /* 0x250AC225: call 0x25085270 */ /* not lifted */ 114 RECOMP_FLAGS_IN(); 115 ecx = MEM32(ebp + (-0x8)); /* 0x250AC22A: mov ecx, dword ptr [ebp - 8] */ 116 /* cmp ecx, MEM32(eax) */ /* 0x250AC22D: cmp ecx, dword ptr [eax] */ 117 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 119 _flag_k = FK_CMP; 120 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC25F; /* 0x250AC22F: jne 0x250ac25f */ 121 L_250AC231: 122 edx = ebp + (-0x1); /* 0x250AC231: lea edx, [ebp - 1] */ 123 PUSH32(esp, edx); /* 0x250AC234: push edx */ 124 eax = ebp + (-0x5C); /* 0x250AC235: lea eax, [ebp - 0x5c] */ 125 PUSH32(esp, eax); /* 0x250AC238: push eax */ 126 PUSH32(esp, edi); /* 0x250AC239: push edi */ 127 PUSH32(esp, esi); /* 0x250AC23A: push esi */ 128 ecx = ebp + (-0x14); /* 0x250AC23B: lea ecx, [ebp - 0x14] */ 129 PUSH32(esp, ecx); /* 0x250AC23E: push ecx */ 130 ecx = 0x25238570u; /* 0x250AC23F: mov ecx, 0x25238570 */ 131 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x250AC244: mov byte ptr [ebp - 1], 1 */ 132 RECOMP_ICALL(0x250ACB30u); /* 0x250AC248: call 0x250acb30 */ /* not lifted */ 133 RECOMP_FLAGS_IN(); 134 PUSH32(esp, eax); /* 0x250AC24D: push eax */ 135 ecx = ebp + (-0x30); /* 0x250AC24E: lea ecx, [ebp - 0x30] */ 136 RECOMP_ICALL(0x250865B0u); /* 0x250AC251: call 0x250865b0 */ /* not lifted */ 137 RECOMP_FLAGS_IN(); 138 edx = eax; /* 0x250AC256: mov edx, eax */ 139 eax = MEM32(edx); /* 0x250AC258: mov eax, dword ptr [edx] */ 140 ecx = MEM32(edx + 0x4); /* 0x250AC25A: mov ecx, dword ptr [edx + 4] */ 141 goto L_250AC2B7; /* 0x250AC25D: jmp 0x250ac2b7 */ 142 L_250AC25F: 143 ecx = ebp + (-0x8); /* 0x250AC25F: lea ecx, [ebp - 8] */ 144 RECOMP_ICALL(0x25050770u); /* 0x250AC262: call 0x25050770 */ /* not lifted */ 145 RECOMP_FLAGS_IN(); 146 L_250AC267: 147 eax = MEM32(ebp + (-0x8)); /* 0x250AC267: mov eax, dword ptr [ebp - 8] */ 148 edx = ebp + (-0x5C); /* 0x250AC26A: lea edx, [ebp - 0x5c] */ 149 ecx = eax + 0xC; /* 0x250AC26D: lea ecx, [eax + 0xc] */ 150 PUSH32(esp, edx); /* 0x250AC270: push edx */ 151 RECOMP_ICALL(0x250A1990u); /* 0x250AC271: call 0x250a1990 */ /* not lifted */ 152 RECOMP_FLAGS_IN(); 153 /* test LO8(eax), LO8(eax) */ /* 0x250AC276: test al, al */ 154 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 155 _cf = 0; 156 _flag_k = FK_NARROW(FK_TEST, 24); 157 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC29C; /* 0x250AC278: je 0x250ac29c */ 158 L_250AC27A: 159 eax = ebp + (-0x2); /* 0x250AC27A: lea eax, [ebp - 2] */ 160 PUSH32(esp, eax); /* 0x250AC27D: push eax */ 161 ecx = ebp + (-0x5C); /* 0x250AC27E: lea ecx, [ebp - 0x5c] */ 162 PUSH32(esp, ecx); /* 0x250AC281: push ecx */ 163 PUSH32(esp, edi); /* 0x250AC282: push edi */ 164 PUSH32(esp, esi); /* 0x250AC283: push esi */ 165 edx = ebp + (-0x18); /* 0x250AC284: lea edx, [ebp - 0x18] */ 166 PUSH32(esp, edx); /* 0x250AC287: push edx */ 167 ecx = 0x25238570u; /* 0x250AC288: mov ecx, 0x25238570 */ 168 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x250AC28D: mov byte ptr [ebp - 2], 1 */ 169 RECOMP_ICALL(0x250ACB30u); /* 0x250AC291: call 0x250acb30 */ /* not lifted */ 170 RECOMP_FLAGS_IN(); 171 PUSH32(esp, eax); /* 0x250AC296: push eax */ 172 ecx = ebp + (-0x38); /* 0x250AC297: lea ecx, [ebp - 0x38] */ 173 goto L_250AC2AB; /* 0x250AC29A: jmp 0x250ac2ab */ 174 L_250AC29C: 175 edx = ebp + (-0x3); /* 0x250AC29C: lea edx, [ebp - 3] */ 176 PUSH32(esp, edx); /* 0x250AC29F: push edx */ 177 eax = ebp + (-0x8); /* 0x250AC2A0: lea eax, [ebp - 8] */ 178 MEM8(ebp + (-0x3)) = (uint8_t)(0); /* 0x250AC2A3: mov byte ptr [ebp - 3], 0 */ 179 PUSH32(esp, eax); /* 0x250AC2A7: push eax */ 180 ecx = ebp + (-0x40); /* 0x250AC2A8: lea ecx, [ebp - 0x40] */ 181 L_250AC2AB: 182 RECOMP_ICALL(0x250865B0u); /* 0x250AC2AB: call 0x250865b0 */ /* not lifted */ 183 RECOMP_FLAGS_IN(); 184 ecx = eax; /* 0x250AC2B0: mov ecx, eax */ 185 eax = MEM32(ecx); /* 0x250AC2B2: mov eax, dword ptr [ecx] */ 186 ecx = MEM32(ecx + 0x4); /* 0x250AC2B4: mov ecx, dword ptr [ecx + 4] */ 187 L_250AC2B7: 188 edx = ebp + (-0x1C); /* 0x250AC2B7: lea edx, [ebp - 0x1c] */ 189 MEM32(ebp + (-0x20)) = eax; /* 0x250AC2BA: mov dword ptr [ebp - 0x20], eax */ 190 PUSH32(esp, edx); /* 0x250AC2BD: push edx */ 191 eax = ebp + (-0x20); /* 0x250AC2BE: lea eax, [ebp - 0x20] */ 192 MEM32(ebp + (-0x1C)) = ecx; /* 0x250AC2C1: mov dword ptr [ebp - 0x1c], ecx */ 193 PUSH32(esp, eax); /* 0x250AC2C4: push eax */ 194 ecx = ebp + (-0x48); /* 0x250AC2C5: lea ecx, [ebp - 0x48] */ 195 RECOMP_ICALL(0x250865B0u); /* 0x250AC2C8: call 0x250865b0 */ /* not lifted */ 196 RECOMP_FLAGS_IN(); 197 esi = MEM32(eax); /* 0x250AC2CD: mov esi, dword ptr [eax] */ 198 ecx = MEM32(eax + 0x4); /* 0x250AC2CF: mov ecx, dword ptr [eax + 4] */ 199 PUSH32(esp, 0); /* 0x250AC2D2: push 0 */ 200 MEM32(ebp + (-0x4C)) = ecx; /* 0x250AC2D4: mov dword ptr [ebp - 0x4c], ecx */ 201 RECOMP_ICALL(MEM32(0x25151320)); /* 0x250AC2D7: call dword ptr [0x25151320] */ 202 RECOMP_FLAGS_IN(); 203 ecx = MEM32(ebp + 0xC); /* 0x250AC2DD: mov ecx, dword ptr [ebp + 0xc] */ 204 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 205 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 206 esp = esp + 4; /* 0x250AC2E0: add esp, 4 */ 207 _flag_k = FK_ADD; 208 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 209 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 210 eax = eax + ecx; /* 0x250AC2E3: add eax, ecx */ 211 _flag_k = FK_ADD; 212 edi = POP32_VAL(esp); /* 0x250AC2E5: pop edi */ 213 MEM32(esi + 0x14) = eax; /* 0x250AC2E6: mov dword ptr [esi + 0x14], eax */ 214 esi = POP32_VAL(esp); /* 0x250AC2E9: pop esi */ 215 esp = ebp; /* 0x250AC2EA: mov esp, ebp */ 216 ebp = POP32_VAL(esp); /* 0x250AC2EC: pop ebp */ 217 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC2ED: ret */ 218 RECOMP_REGS_OUT(); 219 } 220 221 void sub_250AC2B7(void) { 222 int _fpu_cmp = 0; 223 uint32_t _cf = 0; 224 int _df = 1; 225 uint32_t _flag_k = FK_NONE; 226 uint32_t _flag_a = 0, _flag_b = 0; 227 uint32_t _itail_tgt = 0; 228 RECOMP_REGS_LOCALS 229 RECOMP_ENTER(0x250AC2B7u); 230 231 L_250AC2B7: 232 edx = ebp + (-0x1C); /* 0x250AC2B7: lea edx, [ebp - 0x1c] */ 233 MEM32(ebp + (-0x20)) = eax; /* 0x250AC2BA: mov dword ptr [ebp - 0x20], eax */ 234 PUSH32(esp, edx); /* 0x250AC2BD: push edx */ 235 eax = ebp + (-0x20); /* 0x250AC2BE: lea eax, [ebp - 0x20] */ 236 MEM32(ebp + (-0x1C)) = ecx; /* 0x250AC2C1: mov dword ptr [ebp - 0x1c], ecx */ 237 PUSH32(esp, eax); /* 0x250AC2C4: push eax */ 238 ecx = ebp + (-0x48); /* 0x250AC2C5: lea ecx, [ebp - 0x48] */ 239 RECOMP_ICALL(0x250865B0u); /* 0x250AC2C8: call 0x250865b0 */ /* not lifted */ 240 RECOMP_FLAGS_IN(); 241 esi = MEM32(eax); /* 0x250AC2CD: mov esi, dword ptr [eax] */ 242 ecx = MEM32(eax + 0x4); /* 0x250AC2CF: mov ecx, dword ptr [eax + 4] */ 243 PUSH32(esp, 0); /* 0x250AC2D2: push 0 */ 244 MEM32(ebp + (-0x4C)) = ecx; /* 0x250AC2D4: mov dword ptr [ebp - 0x4c], ecx */ 245 RECOMP_ICALL(MEM32(0x25151320)); /* 0x250AC2D7: call dword ptr [0x25151320] */ 246 RECOMP_FLAGS_IN(); 247 ecx = MEM32(ebp + 0xC); /* 0x250AC2DD: mov ecx, dword ptr [ebp + 0xc] */ 248 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 249 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 250 esp = esp + 4; /* 0x250AC2E0: add esp, 4 */ 251 _flag_k = FK_ADD; 252 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 253 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 254 eax = eax + ecx; /* 0x250AC2E3: add eax, ecx */ 255 _flag_k = FK_ADD; 256 edi = POP32_VAL(esp); /* 0x250AC2E5: pop edi */ 257 MEM32(esi + 0x14) = eax; /* 0x250AC2E6: mov dword ptr [esi + 0x14], eax */ 258 esi = POP32_VAL(esp); /* 0x250AC2E9: pop esi */ 259 esp = ebp; /* 0x250AC2EA: mov esp, ebp */ 260 ebp = POP32_VAL(esp); /* 0x250AC2EC: pop ebp */ 261 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC2ED: ret */ 262 RECOMP_REGS_OUT(); 263 } 264 265 void sub_250AC2F0(void) { 266 int _fpu_cmp = 0; 267 uint32_t _cf = 0; 268 int _df = 1; 269 uint32_t _flag_k = FK_NONE; 270 uint32_t _flag_a = 0, _flag_b = 0; 271 uint32_t _itail_tgt = 0; 272 RECOMP_REGS_LOCALS 273 RECOMP_ENTER(0x250AC2F0u); 274 275 L_250AC2F0: 276 PUSH32(esp, ebp); /* 0x250AC2F0: push ebp */ 277 ebp = esp; /* 0x250AC2F1: mov ebp, esp */ 278 eax = MEM32(ebp + 0x8); /* 0x250AC2F3: mov eax, dword ptr [ebp + 8] */ 279 MEM32(ecx + 0xB8) = eax; /* 0x250AC2F6: mov dword ptr [ecx + 0xb8], eax */ 280 ebp = POP32_VAL(esp); /* 0x250AC2FC: pop ebp */ 281 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AC2FD: ret 4 */ 282 RECOMP_REGS_OUT(); 283 } 284 285 void sub_250AC300(void) { 286 int _fpu_cmp = 0; 287 uint32_t _cf = 0; 288 int _df = 1; 289 uint32_t _flag_k = FK_NONE; 290 uint32_t _flag_a = 0, _flag_b = 0; 291 uint32_t _itail_tgt = 0; 292 RECOMP_REGS_LOCALS 293 RECOMP_ENTER(0x250AC300u); 294 295 L_250AC300: 296 PUSH32(esp, ebp); /* 0x250AC300: push ebp */ 297 ebp = esp; /* 0x250AC301: mov ebp, esp */ 298 PUSH32(esp, ecx); /* 0x250AC303: push ecx */ 299 PUSH32(esp, esi); /* 0x250AC304: push esi */ 300 PUSH32(esp, 0); /* 0x250AC305: push 0 */ 301 RECOMP_ICALL(MEM32(0x25151320)); /* 0x250AC307: call dword ptr [0x25151320] */ 302 RECOMP_FLAGS_IN(); 303 edx = MEM32(0x25238574); /* 0x250AC30D: mov edx, dword ptr [0x25238574] */ 304 esi = eax; /* 0x250AC313: mov esi, eax */ 305 eax = MEM32(edx); /* 0x250AC315: mov eax, dword ptr [edx] */ 306 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 307 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 308 esp = esp + 4; /* 0x250AC317: add esp, 4 */ 309 _flag_k = FK_ADD; 310 /* cmp eax, edx */ /* 0x250AC31A: cmp eax, edx */ 311 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 313 _flag_k = FK_CMP; 314 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC37D; /* 0x250AC31C: je 0x250ac37d */ 315 L_250AC31E: 316 PUSH32(esp, ebx); /* 0x250AC31E: push ebx */ 317 L_250AC31F: 318 /* cmp MEM32(eax + 0x14), esi */ /* 0x250AC31F: cmp dword ptr [eax + 0x14], esi */ 319 _flag_a = (uint32_t)(MEM32(eax + 0x14)); _flag_b = (uint32_t)(esi); 320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 321 _flag_k = FK_CMP; 322 if (CMP_GE(_flag_a, _flag_b)) goto L_250AC33D; /* 0x250AC322: jge 0x250ac33d */ 323 L_250AC324: 324 PUSH32(esp, eax); /* 0x250AC324: push eax */ 325 eax = ebp + (-0x4); /* 0x250AC325: lea eax, [ebp - 4] */ 326 PUSH32(esp, eax); /* 0x250AC328: push eax */ 327 ecx = 0x25238570u; /* 0x250AC329: mov ecx, 0x25238570 */ 328 RECOMP_ICALL(0x2504FFF0u); /* 0x250AC32E: call 0x2504fff0 */ /* not lifted */ 329 RECOMP_FLAGS_IN(); 330 eax = MEM32(eax); /* 0x250AC333: mov eax, dword ptr [eax] */ 331 edx = MEM32(0x25238574); /* 0x250AC335: mov edx, dword ptr [0x25238574] */ 332 goto L_250AC378; /* 0x250AC33B: jmp 0x250ac378 */ 333 L_250AC33D: 334 ecx = MEM32(eax + 0x8); /* 0x250AC33D: mov ecx, dword ptr [eax + 8] */ 335 SET_LO8(ebx, MEM8(ecx + 0x19)); /* 0x250AC340: mov bl, byte ptr [ecx + 0x19] */ 336 /* test LO8(ebx), LO8(ebx) */ /* 0x250AC343: test bl, bl */ 337 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 338 _cf = 0; 339 _flag_k = FK_NARROW(FK_TEST, 24); 340 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AC35F; /* 0x250AC345: jne 0x250ac35f */ 341 L_250AC347: 342 eax = ecx; /* 0x250AC347: mov eax, ecx */ 343 ecx = MEM32(eax); /* 0x250AC349: mov ecx, dword ptr [eax] */ 344 SET_LO8(ebx, MEM8(ecx + 0x19)); /* 0x250AC34B: mov bl, byte ptr [ecx + 0x19] */ 345 /* test LO8(ebx), LO8(ebx) */ /* 0x250AC34E: test bl, bl */ 346 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 347 _cf = 0; 348 _flag_k = FK_NARROW(FK_TEST, 24); 349 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AC378; /* 0x250AC350: jne 0x250ac378 */ 350 L_250AC352: 351 eax = ecx; /* 0x250AC352: mov eax, ecx */ 352 ecx = MEM32(eax); /* 0x250AC354: mov ecx, dword ptr [eax] */ 353 SET_LO8(ebx, MEM8(ecx + 0x19)); /* 0x250AC356: mov bl, byte ptr [ecx + 0x19] */ 354 /* test LO8(ebx), LO8(ebx) */ /* 0x250AC359: test bl, bl */ 355 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 356 _cf = 0; 357 _flag_k = FK_NARROW(FK_TEST, 24); 358 RECOMP_BACKEDGE(); 359 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC352; /* 0x250AC35B: je 0x250ac352 */ 360 L_250AC35D: 361 goto L_250AC378; /* 0x250AC35D: jmp 0x250ac378 */ 362 L_250AC35F: 363 ecx = MEM32(eax + 0x4); /* 0x250AC35F: mov ecx, dword ptr [eax + 4] */ 364 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250AC362: cmp eax, dword ptr [ecx + 8] */ 365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 367 _flag_k = FK_CMP; 368 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC371; /* 0x250AC365: jne 0x250ac371 */ 369 L_250AC367: 370 eax = ecx; /* 0x250AC367: mov eax, ecx */ 371 ecx = MEM32(ecx + 0x4); /* 0x250AC369: mov ecx, dword ptr [ecx + 4] */ 372 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250AC36C: cmp eax, dword ptr [ecx + 8] */ 373 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 375 _flag_k = FK_CMP; 376 RECOMP_BACKEDGE(); 377 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC367; /* 0x250AC36F: je 0x250ac367 */ 378 L_250AC371: 379 /* cmp MEM32(eax + 0x8), ecx */ /* 0x250AC371: cmp dword ptr [eax + 8], ecx */ 380 _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx); 381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 382 _flag_k = FK_CMP; 383 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC378; /* 0x250AC374: je 0x250ac378 */ 384 L_250AC376: 385 eax = ecx; /* 0x250AC376: mov eax, ecx */ 386 L_250AC378: 387 /* cmp eax, edx */ /* 0x250AC378: cmp eax, edx */ 388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 390 _flag_k = FK_CMP; 391 RECOMP_BACKEDGE(); 392 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC31F; /* 0x250AC37A: jne 0x250ac31f */ 393 L_250AC37C: 394 ebx = POP32_VAL(esp); /* 0x250AC37C: pop ebx */ 395 L_250AC37D: 396 esi = POP32_VAL(esp); /* 0x250AC37D: pop esi */ 397 esp = ebp; /* 0x250AC37E: mov esp, ebp */ 398 ebp = POP32_VAL(esp); /* 0x250AC380: pop ebp */ 399 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC381: ret */ 400 RECOMP_REGS_OUT(); 401 } 402 403 void sub_250AC390(void) { 404 int _fpu_cmp = 0; 405 uint32_t _cf = 0; 406 int _df = 1; 407 uint32_t _flag_k = FK_NONE; 408 uint32_t _flag_a = 0, _flag_b = 0; 409 uint32_t _itail_tgt = 0; 410 RECOMP_REGS_LOCALS 411 RECOMP_ENTER(0x250AC390u); 412 413 L_250AC390: 414 PUSH32(esp, esi); /* 0x250AC390: push esi */ 415 esi = ecx; /* 0x250AC391: mov esi, ecx */ 416 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AC393: fld dword ptr [esi + 0xb8] */ 417 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250AC399: fcomp dword ptr [0x2515177c] */ 418 fp_pop(); 419 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AC39F: fnstsw ax */ 420 /* test HI8(eax), 0x41u */ /* 0x250AC3A1: test ah, 0x41 */ 421 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 422 _cf = 0; 423 _flag_k = FK_NARROW(FK_TEST, 24); 424 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AC3CB; /* 0x250AC3A4: jne 0x250ac3cb */ 425 L_250AC3A6: 426 RECOMP_ICALL(MEM32(0x251513AC)); /* 0x250AC3A6: call dword ptr [0x251513ac] */ 427 RECOMP_FLAGS_IN(); 428 eax = MEM32(eax + 0x14); /* 0x250AC3AC: mov eax, dword ptr [eax + 0x14] */ 429 fp_push(*(float*)&MEM32(eax)); /* 0x250AC3AF: fld dword ptr [eax] */ 430 fp_push(*(float*)&MEM32(esi + 0xB8)); /* 0x250AC3B1: fld dword ptr [esi + 0xb8] */ 431 _st[0] -= _st[1]; /* 0x250AC3B7: fsub st(1) */ 432 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0xB8) = _v; } /* 0x250AC3B9: fstp dword ptr [esi + 0xb8] */ 433 _st[0] += (double)*(float*)ADDR(esi + 0xBC); /* 0x250AC3BF: fadd dword ptr [esi + 0xbc] */ 434 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0xBC) = _v; } /* 0x250AC3C5: fstp dword ptr [esi + 0xbc] */ 435 L_250AC3CB: 436 esi = POP32_VAL(esp); /* 0x250AC3CB: pop esi */ 437 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC3CC: ret */ 438 RECOMP_REGS_OUT(); 439 } 440 441 void sub_250AC3D0(void) { 442 int _fpu_cmp = 0; 443 uint32_t _cf = 0; 444 int _df = 1; 445 uint32_t _flag_k = FK_NONE; 446 uint32_t _flag_a = 0, _flag_b = 0; 447 uint32_t _itail_tgt = 0; 448 RECOMP_REGS_LOCALS 449 RECOMP_ENTER(0x250AC3D0u); 450 451 L_250AC3D0: 452 PUSH32(esp, ebp); /* 0x250AC3D0: push ebp */ 453 ebp = esp; /* 0x250AC3D1: mov ebp, esp */ 454 eax = MEM32(ebp + 0xC); /* 0x250AC3D3: mov eax, dword ptr [ebp + 0xc] */ 455 edx = MEM32(ebp + 0x8); /* 0x250AC3D6: mov edx, dword ptr [ebp + 8] */ 456 PUSH32(esp, ebx); /* 0x250AC3D9: push ebx */ 457 PUSH32(esp, esi); /* 0x250AC3DA: push esi */ 458 esi = ecx; /* 0x250AC3DB: mov esi, ecx */ 459 SET_LO8(ecx, MEM8(eax)); /* 0x250AC3DD: mov cl, byte ptr [eax] */ 460 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x250AC3DF: mov byte ptr [esi], cl */ 461 SET_LO8(eax, MEM8(edx)); /* 0x250AC3E1: mov al, byte ptr [edx] */ 462 PUSH32(esp, edi); /* 0x250AC3E3: push edi */ 463 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 464 ebx = 0; /* 0x250AC3E4: xor ebx, ebx */ 465 _cf = 0; 466 _flag_k = FK_TEST; 467 PUSH32(esp, 0x1Cu); /* 0x250AC3E6: push 0x1c */ 468 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x250AC3E8: mov byte ptr [esi + 1], al */ 469 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x250AC3EB: mov byte ptr [esi + 0xc], bl */ 470 RECOMP_ICALL(0x251380D0u); /* 0x250AC3EE: call 0x251380d0 */ /* not lifted */ 471 RECOMP_FLAGS_IN(); 472 MEM32(eax + 0x4) = ebx; /* 0x250AC3F3: mov dword ptr [eax + 4], ebx */ 473 MEM8(eax + 0x19) = (uint8_t)(LO8(ebx)); /* 0x250AC3F6: mov byte ptr [eax + 0x19], bl */ 474 SET_LO8(ecx, 1); /* 0x250AC3F9: mov cl, 1 */ 475 MEM8(eax + 0x18) = (uint8_t)(LO8(ecx)); /* 0x250AC3FB: mov byte ptr [eax + 0x18], cl */ 476 MEM32(esi + 0x8) = eax; /* 0x250AC3FE: mov dword ptr [esi + 8], eax */ 477 MEM8(eax + 0x19) = (uint8_t)(LO8(ecx)); /* 0x250AC401: mov byte ptr [eax + 0x19], cl */ 478 ecx = MEM32(esi + 0x8); /* 0x250AC404: mov ecx, dword ptr [esi + 8] */ 479 MEM32(ecx) = ebx; /* 0x250AC407: mov dword ptr [ecx], ebx */ 480 edx = MEM32(esi + 0x8); /* 0x250AC409: mov edx, dword ptr [esi + 8] */ 481 MEM32(edx + 0x8) = ebx; /* 0x250AC40C: mov dword ptr [edx + 8], ebx */ 482 edi = MEM32(esi + 0x8); /* 0x250AC40F: mov edi, dword ptr [esi + 8] */ 483 PUSH32(esp, 0x1Cu); /* 0x250AC412: push 0x1c */ 484 RECOMP_ICALL(0x251380D0u); /* 0x250AC414: call 0x251380d0 */ /* not lifted */ 485 RECOMP_FLAGS_IN(); 486 MEM32(eax + 0x4) = edi; /* 0x250AC419: mov dword ptr [eax + 4], edi */ 487 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250AC41C: mov byte ptr [eax + 0x18], bl */ 488 MEM8(eax + 0x19) = (uint8_t)(LO8(ebx)); /* 0x250AC41F: mov byte ptr [eax + 0x19], bl */ 489 MEM32(esi + 0x4) = eax; /* 0x250AC422: mov dword ptr [esi + 4], eax */ 490 MEM32(eax) = eax; /* 0x250AC425: mov dword ptr [eax], eax */ 491 eax = MEM32(esi + 0x4); /* 0x250AC427: mov eax, dword ptr [esi + 4] */ 492 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 493 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 494 esp = esp + 8; /* 0x250AC42A: add esp, 8 */ 495 _flag_k = FK_ADD; 496 MEM32(eax + 0x8) = eax; /* 0x250AC42D: mov dword ptr [eax + 8], eax */ 497 edi = POP32_VAL(esp); /* 0x250AC430: pop edi */ 498 MEM32(esi + 0x10) = ebx; /* 0x250AC431: mov dword ptr [esi + 0x10], ebx */ 499 eax = esi; /* 0x250AC434: mov eax, esi */ 500 esi = POP32_VAL(esp); /* 0x250AC436: pop esi */ 501 ebx = POP32_VAL(esp); /* 0x250AC437: pop ebx */ 502 ebp = POP32_VAL(esp); /* 0x250AC438: pop ebp */ 503 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250AC439: ret 8 */ 504 RECOMP_REGS_OUT(); 505 } 506 507 void sub_250AC440(void) { 508 int _fpu_cmp = 0; 509 uint32_t _cf = 0; 510 int _df = 1; 511 uint32_t _flag_k = FK_NONE; 512 uint32_t _flag_a = 0, _flag_b = 0; 513 uint32_t _itail_tgt = 0; 514 RECOMP_REGS_LOCALS 515 RECOMP_ENTER(0x250AC440u); 516 517 L_250AC440: 518 PUSH32(esp, ebp); /* 0x250AC440: push ebp */ 519 ebp = esp; /* 0x250AC441: mov ebp, esp */ 520 eax = MEM32(ebp + 0xC); /* 0x250AC443: mov eax, dword ptr [ebp + 0xc] */ 521 edx = MEM32(ebp + 0x8); /* 0x250AC446: mov edx, dword ptr [ebp + 8] */ 522 PUSH32(esp, ebx); /* 0x250AC449: push ebx */ 523 PUSH32(esp, esi); /* 0x250AC44A: push esi */ 524 esi = ecx; /* 0x250AC44B: mov esi, ecx */ 525 SET_LO8(ecx, MEM8(eax)); /* 0x250AC44D: mov cl, byte ptr [eax] */ 526 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x250AC44F: mov byte ptr [esi], cl */ 527 SET_LO8(eax, MEM8(edx)); /* 0x250AC451: mov al, byte ptr [edx] */ 528 PUSH32(esp, edi); /* 0x250AC453: push edi */ 529 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 530 ebx = 0; /* 0x250AC454: xor ebx, ebx */ 531 _cf = 0; 532 _flag_k = FK_TEST; 533 PUSH32(esp, 0x18u); /* 0x250AC456: push 0x18 */ 534 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x250AC458: mov byte ptr [esi + 1], al */ 535 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x250AC45B: mov byte ptr [esi + 0xc], bl */ 536 RECOMP_ICALL(0x251380D0u); /* 0x250AC45E: call 0x251380d0 */ /* not lifted */ 537 RECOMP_FLAGS_IN(); 538 MEM32(eax + 0x4) = ebx; /* 0x250AC463: mov dword ptr [eax + 4], ebx */ 539 MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x250AC466: mov byte ptr [eax + 0x15], bl */ 540 SET_LO8(ecx, 1); /* 0x250AC469: mov cl, 1 */ 541 MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x250AC46B: mov byte ptr [eax + 0x14], cl */ 542 MEM32(esi + 0x8) = eax; /* 0x250AC46E: mov dword ptr [esi + 8], eax */ 543 MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x250AC471: mov byte ptr [eax + 0x15], cl */ 544 ecx = MEM32(esi + 0x8); /* 0x250AC474: mov ecx, dword ptr [esi + 8] */ 545 MEM32(ecx) = ebx; /* 0x250AC477: mov dword ptr [ecx], ebx */ 546 edx = MEM32(esi + 0x8); /* 0x250AC479: mov edx, dword ptr [esi + 8] */ 547 MEM32(edx + 0x8) = ebx; /* 0x250AC47C: mov dword ptr [edx + 8], ebx */ 548 edi = MEM32(esi + 0x8); /* 0x250AC47F: mov edi, dword ptr [esi + 8] */ 549 PUSH32(esp, 0x18u); /* 0x250AC482: push 0x18 */ 550 RECOMP_ICALL(0x251380D0u); /* 0x250AC484: call 0x251380d0 */ /* not lifted */ 551 RECOMP_FLAGS_IN(); 552 MEM32(eax + 0x4) = edi; /* 0x250AC489: mov dword ptr [eax + 4], edi */ 553 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250AC48C: mov byte ptr [eax + 0x14], bl */ 554 MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x250AC48F: mov byte ptr [eax + 0x15], bl */ 555 MEM32(esi + 0x4) = eax; /* 0x250AC492: mov dword ptr [esi + 4], eax */ 556 MEM32(eax) = eax; /* 0x250AC495: mov dword ptr [eax], eax */ 557 eax = MEM32(esi + 0x4); /* 0x250AC497: mov eax, dword ptr [esi + 4] */ 558 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 559 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 560 esp = esp + 8; /* 0x250AC49A: add esp, 8 */ 561 _flag_k = FK_ADD; 562 MEM32(eax + 0x8) = eax; /* 0x250AC49D: mov dword ptr [eax + 8], eax */ 563 edi = POP32_VAL(esp); /* 0x250AC4A0: pop edi */ 564 MEM32(esi + 0x10) = ebx; /* 0x250AC4A1: mov dword ptr [esi + 0x10], ebx */ 565 eax = esi; /* 0x250AC4A4: mov eax, esi */ 566 esi = POP32_VAL(esp); /* 0x250AC4A6: pop esi */ 567 ebx = POP32_VAL(esp); /* 0x250AC4A7: pop ebx */ 568 ebp = POP32_VAL(esp); /* 0x250AC4A8: pop ebp */ 569 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250AC4A9: ret 8 */ 570 RECOMP_REGS_OUT(); 571 } 572 573 void sub_250AC4B0(void) { 574 int _fpu_cmp = 0; 575 uint32_t _cf = 0; 576 int _df = 1; 577 uint32_t _flag_k = FK_NONE; 578 uint32_t _flag_a = 0, _flag_b = 0; 579 uint32_t _itail_tgt = 0; 580 RECOMP_REGS_LOCALS 581 RECOMP_ENTER(0x250AC4B0u); 582 583 L_250AC4B0: 584 PUSH32(esp, ebp); /* 0x250AC4B0: push ebp */ 585 ebp = esp; /* 0x250AC4B1: mov ebp, esp */ 586 PUSH32(esp, ecx); /* 0x250AC4B3: push ecx */ 587 PUSH32(esp, esi); /* 0x250AC4B4: push esi */ 588 esi = ecx; /* 0x250AC4B5: mov esi, ecx */ 589 eax = MEM32(esi + 0x8); /* 0x250AC4B7: mov eax, dword ptr [esi + 8] */ 590 MEM32(ebp + (-0x4)) = eax; /* 0x250AC4BA: mov dword ptr [ebp - 4], eax */ 591 eax = MEM32(esi + 0x4); /* 0x250AC4BD: mov eax, dword ptr [esi + 4] */ 592 PUSH32(esp, eax); /* 0x250AC4C0: push eax */ 593 MEM32(ebp + (-0x4)) = eax; /* 0x250AC4C1: mov dword ptr [ebp - 4], eax */ 594 RECOMP_ICALL(0x25137EECu); /* 0x250AC4C4: call 0x25137eec */ /* not lifted */ 595 RECOMP_FLAGS_IN(); 596 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 597 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 598 esp = esp + 4; /* 0x250AC4C9: add esp, 4 */ 599 _flag_k = FK_ADD; 600 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 601 eax = 0; /* 0x250AC4CC: xor eax, eax */ 602 _cf = 0; 603 _flag_k = FK_TEST; 604 MEM32(esi + 0x4) = eax; /* 0x250AC4CE: mov dword ptr [esi + 4], eax */ 605 MEM32(esi + 0x8) = eax; /* 0x250AC4D1: mov dword ptr [esi + 8], eax */ 606 MEM32(esi + 0xC) = eax; /* 0x250AC4D4: mov dword ptr [esi + 0xc], eax */ 607 esi = POP32_VAL(esp); /* 0x250AC4D7: pop esi */ 608 esp = ebp; /* 0x250AC4D8: mov esp, ebp */ 609 ebp = POP32_VAL(esp); /* 0x250AC4DA: pop ebp */ 610 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC4DB: ret */ 611 RECOMP_REGS_OUT(); 612 } 613 614 void sub_250AC4E0(void) { 615 int _fpu_cmp = 0; 616 uint32_t _cf = 0; 617 int _df = 1; 618 uint32_t _flag_k = FK_NONE; 619 uint32_t _flag_a = 0, _flag_b = 0; 620 uint32_t _itail_tgt = 0; 621 RECOMP_REGS_LOCALS 622 RECOMP_ENTER(0x250AC4E0u); 623 624 L_250AC4E0: 625 PUSH32(esp, ebp); /* 0x250AC4E0: push ebp */ 626 ebp = esp; /* 0x250AC4E1: mov ebp, esp */ 627 PUSH32(esp, ecx); /* 0x250AC4E3: push ecx */ 628 edx = MEM32(ecx + 0x4); /* 0x250AC4E4: mov edx, dword ptr [ecx + 4] */ 629 eax = MEM32(edx + 0x4); /* 0x250AC4E7: mov eax, dword ptr [edx + 4] */ 630 ecx = MEM32(ecx + 0x8); /* 0x250AC4EA: mov ecx, dword ptr [ecx + 8] */ 631 /* cmp eax, ecx */ /* 0x250AC4ED: cmp eax, ecx */ 632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 634 _flag_k = FK_CMP; 635 PUSH32(esp, ebx); /* 0x250AC4EF: push ebx */ 636 ebx = MEM32(ebp + 0xC); /* 0x250AC4F0: mov ebx, dword ptr [ebp + 0xc] */ 637 PUSH32(esp, esi); /* 0x250AC4F3: push esi */ 638 esi = edx; /* 0x250AC4F4: mov esi, edx */ 639 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC50E; /* 0x250AC4F6: je 0x250ac50e */ 640 L_250AC4F8: 641 PUSH32(esp, edi); /* 0x250AC4F8: push edi */ 642 edi = MEM32(ebx); /* 0x250AC4F9: mov edi, dword ptr [ebx] */ 643 L_250AC4FB: 644 /* cmp MEM32(eax + 0xC), edi */ /* 0x250AC4FB: cmp dword ptr [eax + 0xc], edi */ 645 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edi); 646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 647 _flag_k = FK_CMP; 648 if (CMP_AE(_flag_a, _flag_b)) goto L_250AC505; /* 0x250AC4FE: jae 0x250ac505 */ 649 L_250AC500: 650 eax = MEM32(eax + 0x8); /* 0x250AC500: mov eax, dword ptr [eax + 8] */ 651 goto L_250AC509; /* 0x250AC503: jmp 0x250ac509 */ 652 L_250AC505: 653 esi = eax; /* 0x250AC505: mov esi, eax */ 654 eax = MEM32(eax); /* 0x250AC507: mov eax, dword ptr [eax] */ 655 L_250AC509: 656 /* cmp eax, ecx */ /* 0x250AC509: cmp eax, ecx */ 657 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 659 _flag_k = FK_CMP; 660 RECOMP_BACKEDGE(); 661 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC4FB; /* 0x250AC50B: jne 0x250ac4fb */ 662 L_250AC50D: 663 edi = POP32_VAL(esp); /* 0x250AC50D: pop edi */ 664 L_250AC50E: 665 /* cmp esi, edx */ /* 0x250AC50E: cmp esi, edx */ 666 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 668 _flag_k = FK_CMP; 669 MEM32(ebp + 0xC) = esi; /* 0x250AC510: mov dword ptr [ebp + 0xc], esi */ 670 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC52E; /* 0x250AC513: je 0x250ac52e */ 671 L_250AC515: 672 eax = MEM32(ebx); /* 0x250AC515: mov eax, dword ptr [ebx] */ 673 /* cmp eax, MEM32(esi + 0xC) */ /* 0x250AC517: cmp eax, dword ptr [esi + 0xc] */ 674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 676 _flag_k = FK_CMP; 677 if (CMP_B(_flag_a, _flag_b)) goto L_250AC52E; /* 0x250AC51A: jb 0x250ac52e */ 678 L_250AC51C: 679 eax = ebp + 0xC; /* 0x250AC51C: lea eax, [ebp + 0xc] */ 680 ecx = MEM32(eax); /* 0x250AC51F: mov ecx, dword ptr [eax] */ 681 eax = MEM32(ebp + 0x8); /* 0x250AC521: mov eax, dword ptr [ebp + 8] */ 682 esi = POP32_VAL(esp); /* 0x250AC524: pop esi */ 683 MEM32(eax) = ecx; /* 0x250AC525: mov dword ptr [eax], ecx */ 684 ebx = POP32_VAL(esp); /* 0x250AC527: pop ebx */ 685 esp = ebp; /* 0x250AC528: mov esp, ebp */ 686 ebp = POP32_VAL(esp); /* 0x250AC52A: pop ebp */ 687 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250AC52B: ret 8 */ 688 L_250AC52E: 689 eax = ebp + (-0x4); /* 0x250AC52E: lea eax, [ebp - 4] */ 690 MEM32(ebp + (-0x4)) = edx; /* 0x250AC531: mov dword ptr [ebp - 4], edx */ 691 ecx = MEM32(eax); /* 0x250AC534: mov ecx, dword ptr [eax] */ 692 eax = MEM32(ebp + 0x8); /* 0x250AC536: mov eax, dword ptr [ebp + 8] */ 693 esi = POP32_VAL(esp); /* 0x250AC539: pop esi */ 694 MEM32(eax) = ecx; /* 0x250AC53A: mov dword ptr [eax], ecx */ 695 ebx = POP32_VAL(esp); /* 0x250AC53C: pop ebx */ 696 esp = ebp; /* 0x250AC53D: mov esp, ebp */ 697 ebp = POP32_VAL(esp); /* 0x250AC53F: pop ebp */ 698 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250AC540: ret 8 */ 699 RECOMP_REGS_OUT(); 700 } 701 702 void sub_250AC550(void) { 703 int _fpu_cmp = 0; 704 uint32_t _cf = 0; 705 int _df = 1; 706 uint32_t _flag_k = FK_NONE; 707 uint32_t _flag_a = 0, _flag_b = 0; 708 uint32_t _itail_tgt = 0; 709 RECOMP_REGS_LOCALS 710 RECOMP_ENTER(0x250AC550u); 711 712 L_250AC550: 713 MEM8(ecx + 0x14) = (uint8_t)(1); /* 0x250AC550: mov byte ptr [ecx + 0x14], 1 */ 714 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AC554: ret */ 715 RECOMP_REGS_OUT(); 716 } 717 718 void sub_250AC560(void) { 719 int _fpu_cmp = 0; 720 uint32_t _cf = 0; 721 int _df = 1; 722 uint32_t _flag_k = FK_NONE; 723 uint32_t _flag_a = 0, _flag_b = 0; 724 uint32_t _itail_tgt = 0; 725 RECOMP_REGS_LOCALS 726 RECOMP_ENTER(0x250AC560u); 727 728 L_250AC560: 729 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250AC560: mov byte ptr [ecx + 0x14], 0 */ 730 goto L_250AF190; /* 0x250AC564: jmp 0x250af190 */ 731 L_250AF190: 732 PUSH32(esp, ebp); /* 0x250AF190: push ebp */ 733 ebp = esp; /* 0x250AF191: mov ebp, esp */ 734 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 736 esp = esp - 0x24u; /* 0x250AF193: sub esp, 0x24 */ 737 _flag_k = FK_CMP; 738 /* test MEM8(ecx + 0x10), 1 */ /* 0x250AF196: test byte ptr [ecx + 0x10], 1 */ 739 _flag_a = (uint32_t)(MEM8(ecx + 0x10)) << 24; _flag_b = (uint32_t)(1) << 24; 740 _cf = 0; 741 _flag_k = FK_NARROW(FK_TEST, 24); 742 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AF20C; /* 0x250AF19A: jne 0x250af20c */ 743 L_250AF19C: 744 eax = MEM32(ecx + 0x24); /* 0x250AF19C: mov eax, dword ptr [ecx + 0x24] */ 745 MEM32(ebp + (-0x4)) = eax; /* 0x250AF19F: mov dword ptr [ebp - 4], eax */ 746 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250AF1A2: fld dword ptr [ebp - 4] */ 747 _st[0] -= *(double*)ADDR(0x25156430); /* 0x250AF1A5: fsub qword ptr [0x25156430] */ 748 MEM32(ebp + (-0x14)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x250AF1AB: fistp dword ptr [ebp - 0x14] */ 749 edx = MEM32(ecx + 0x20); /* 0x250AF1AE: mov edx, dword ptr [ecx + 0x20] */ 750 MEM32(ebp + (-0x4)) = edx; /* 0x250AF1B1: mov dword ptr [ebp - 4], edx */ 751 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250AF1B4: fld dword ptr [ebp - 4] */ 752 _st[0] -= *(double*)ADDR(0x25156430); /* 0x250AF1B7: fsub qword ptr [0x25156430] */ 753 MEM32(ebp + (-0x10)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x250AF1BD: fistp dword ptr [ebp - 0x10] */ 754 eax = MEM32(ecx + 0x1C); /* 0x250AF1C0: mov eax, dword ptr [ecx + 0x1c] */ 755 MEM32(ebp + (-0x4)) = eax; /* 0x250AF1C3: mov dword ptr [ebp - 4], eax */ 756 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250AF1C6: fld dword ptr [ebp - 4] */ 757 _st[0] -= *(double*)ADDR(0x25156430); /* 0x250AF1C9: fsub qword ptr [0x25156430] */ 758 MEM32(ebp + (-0xC)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x250AF1CF: fistp dword ptr [ebp - 0xc] */ 759 ecx = MEM32(ecx + 0x18); /* 0x250AF1D2: mov ecx, dword ptr [ecx + 0x18] */ 760 MEM32(ebp + (-0x4)) = ecx; /* 0x250AF1D5: mov dword ptr [ebp - 4], ecx */ 761 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250AF1D8: fld dword ptr [ebp - 4] */ 762 _st[0] -= *(double*)ADDR(0x25156430); /* 0x250AF1DB: fsub qword ptr [0x25156430] */ 763 MEM32(ebp + (-0x8)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x250AF1E1: fistp dword ptr [ebp - 8] */ 764 eax = MEM32(ebp + (-0xC)); /* 0x250AF1E4: mov eax, dword ptr [ebp - 0xc] */ 765 edx = MEM32(ebp + (-0x8)); /* 0x250AF1E7: mov edx, dword ptr [ebp - 8] */ 766 ecx = MEM32(ebp + (-0x10)); /* 0x250AF1EA: mov ecx, dword ptr [ebp - 0x10] */ 767 MEM32(ebp + (-0x20)) = eax; /* 0x250AF1ED: mov dword ptr [ebp - 0x20], eax */ 768 MEM32(ebp + (-0x24)) = edx; /* 0x250AF1F0: mov dword ptr [ebp - 0x24], edx */ 769 edx = MEM32(ebp + (-0x14)); /* 0x250AF1F3: mov edx, dword ptr [ebp - 0x14] */ 770 eax = ebp + (-0x24); /* 0x250AF1F6: lea eax, [ebp - 0x24] */ 771 PUSH32(esp, eax); /* 0x250AF1F9: push eax */ 772 MEM32(ebp + (-0x1C)) = ecx; /* 0x250AF1FA: mov dword ptr [ebp - 0x1c], ecx */ 773 MEM32(ebp + (-0x18)) = edx; /* 0x250AF1FD: mov dword ptr [ebp - 0x18], edx */ 774 RECOMP_ICALL(0x250A4C30u); /* 0x250AF200: call 0x250a4c30 */ /* not lifted */ 775 RECOMP_FLAGS_IN(); 776 ecx = eax; /* 0x250AF205: mov ecx, eax */ 777 RECOMP_ICALL(0x250A4FA0u); /* 0x250AF207: call 0x250a4fa0 */ /* not lifted */ 778 RECOMP_FLAGS_IN(); 779 L_250AF20C: 780 esp = ebp; /* 0x250AF20C: mov esp, ebp */ 781 ebp = POP32_VAL(esp); /* 0x250AF20E: pop ebp */ 782 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AF20F: ret */ 783 RECOMP_REGS_OUT(); 784 } 785 786 void sub_250AC570(void) { 787 int _fpu_cmp = 0; 788 uint32_t _cf = 0; 789 int _df = 1; 790 uint32_t _flag_k = FK_NONE; 791 uint32_t _flag_a = 0, _flag_b = 0; 792 uint32_t _itail_tgt = 0; 793 RECOMP_REGS_LOCALS 794 RECOMP_ENTER(0x250AC570u); 795 796 L_250AC570: 797 PUSH32(esp, ebp); /* 0x250AC570: push ebp */ 798 ebp = esp; /* 0x250AC571: mov ebp, esp */ 799 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 801 esp = esp - 0xCu; /* 0x250AC573: sub esp, 0xc */ 802 _flag_k = FK_CMP; 803 PUSH32(esp, ebx); /* 0x250AC576: push ebx */ 804 PUSH32(esp, esi); /* 0x250AC577: push esi */ 805 esi = ecx; /* 0x250AC578: mov esi, ecx */ 806 edx = MEM32(esi + 0x4); /* 0x250AC57A: mov edx, dword ptr [esi + 4] */ 807 ecx = MEM32(esi + 0xC); /* 0x250AC57D: mov ecx, dword ptr [esi + 0xc] */ 808 PUSH32(esp, edi); /* 0x250AC580: push edi */ 809 edi = MEM32(ebp + 0x8); /* 0x250AC581: mov edi, dword ptr [ebp + 8] */ 810 eax = edi; /* 0x250AC584: mov eax, edi */ 811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 813 eax = eax - edx; /* 0x250AC586: sub eax, edx */ 814 _flag_k = FK_CMP; 815 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x250AC588: sar eax, 4 */ 816 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 817 eax = (uint32_t)((int32_t)eax >> 4u); 818 MEM32(ebp + (-0xC)) = eax; /* 0x250AC58B: mov dword ptr [ebp - 0xc], eax */ 819 eax = MEM32(esi + 0x8); /* 0x250AC58E: mov eax, dword ptr [esi + 8] */ 820 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 822 ecx = ecx - eax; /* 0x250AC591: sub ecx, eax */ 823 _flag_k = FK_CMP; 824 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x250AC593: sar ecx, 4 */ 825 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 826 ecx = (uint32_t)((int32_t)ecx >> 4u); 827 /* cmp ecx, 1 */ /* 0x250AC596: cmp ecx, 1 */ 828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 830 _flag_k = FK_CMP; 831 if (CMP_AE(_flag_a, _flag_b)) goto L_250AC674; /* 0x250AC599: jae 0x250ac674 */ 832 L_250AC59F: 833 /* test edx, edx */ /* 0x250AC59F: test edx, edx */ 834 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 835 _cf = 0; 836 _flag_k = FK_TEST; 837 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC5AF; /* 0x250AC5A1: je 0x250ac5af */ 838 L_250AC5A3: 839 ecx = eax; /* 0x250AC5A3: mov ecx, eax */ 840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 842 ecx = ecx - edx; /* 0x250AC5A5: sub ecx, edx */ 843 _flag_k = FK_CMP; 844 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x250AC5A7: sar ecx, 4 */ 845 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 846 ecx = (uint32_t)((int32_t)ecx >> 4u); 847 /* cmp ecx, 1 */ /* 0x250AC5AA: cmp ecx, 1 */ 848 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 850 _flag_k = FK_CMP; 851 if (CMP_A(_flag_a, _flag_b)) goto L_250AC5B4; /* 0x250AC5AD: ja 0x250ac5b4 */ 852 L_250AC5AF: 853 ecx = 1; /* 0x250AC5AF: mov ecx, 1 */ 854 L_250AC5B4: 855 /* test edx, edx */ /* 0x250AC5B4: test edx, edx */ 856 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 857 _cf = 0; 858 _flag_k = FK_TEST; 859 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AC5BC; /* 0x250AC5B6: jne 0x250ac5bc */ 860 L_250AC5B8: 861 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 862 eax = 0; /* 0x250AC5B8: xor eax, eax */ 863 _cf = 0; 864 _flag_k = FK_TEST; 865 goto L_250AC5C1; /* 0x250AC5BA: jmp 0x250ac5c1 */ 866 L_250AC5BC: 867 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 869 eax = eax - edx; /* 0x250AC5BC: sub eax, edx */ 870 _flag_k = FK_CMP; 871 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x250AC5BE: sar eax, 4 */ 872 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 873 eax = (uint32_t)((int32_t)eax >> 4u); 874 L_250AC5C1: 875 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 876 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 877 eax = eax + ecx; /* 0x250AC5C1: add eax, ecx */ 878 _flag_k = FK_ADD; 879 /* test eax, eax */ /* 0x250AC5C3: test eax, eax */ 880 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 881 _cf = 0; 882 _flag_k = FK_TEST; 883 MEM32(ebp + (-0x4)) = eax; /* 0x250AC5C5: mov dword ptr [ebp - 4], eax */ 884 if (TEST_NS(_flag_a, _flag_b)) goto L_250AC5CC; /* 0x250AC5C8: jge 0x250ac5cc */ 885 L_250AC5CA: 886 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 887 eax = 0; /* 0x250AC5CA: xor eax, eax */ 888 _cf = 0; 889 _flag_k = FK_TEST; 890 L_250AC5CC: 891 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AC5CC: shl eax, 4 */ 892 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 893 eax = eax << 4u; /* 0x250AC5CC: shl eax, 4 */ 894 PUSH32(esp, eax); /* 0x250AC5CF: push eax */ 895 RECOMP_ICALL(0x251380D0u); /* 0x250AC5D0: call 0x251380d0 */ /* not lifted */ 896 RECOMP_FLAGS_IN(); 897 ebx = MEM32(esi + 0x4); /* 0x250AC5D5: mov ebx, dword ptr [esi + 4] */ 898 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 899 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 900 esp = esp + 4; /* 0x250AC5D8: add esp, 4 */ 901 _flag_k = FK_ADD; 902 /* cmp ebx, edi */ /* 0x250AC5DB: cmp ebx, edi */ 903 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 905 _flag_k = FK_CMP; 906 MEM32(ebp + (-0x8)) = eax; /* 0x250AC5DD: mov dword ptr [ebp - 8], eax */ 907 MEM32(ebp + 0x8) = eax; /* 0x250AC5E0: mov dword ptr [ebp + 8], eax */ 908 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC602; /* 0x250AC5E3: je 0x250ac602 */ 909 L_250AC5E5: 910 edx = MEM32(ebp + 0x8); /* 0x250AC5E5: mov edx, dword ptr [ebp + 8] */ 911 PUSH32(esp, ebx); /* 0x250AC5E8: push ebx */ 912 PUSH32(esp, edx); /* 0x250AC5E9: push edx */ 913 RECOMP_ICALL(0x250ACFE0u); /* 0x250AC5EA: call 0x250acfe0 */ /* not lifted */ 914 RECOMP_FLAGS_IN(); 915 edx = MEM32(ebp + 0x8); /* 0x250AC5EF: mov edx, dword ptr [ebp + 8] */ 916 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 917 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 918 edx = edx + 0x10u; /* 0x250AC5F2: add edx, 0x10 */ 919 _flag_k = FK_ADD; 920 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 921 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 922 ebx = ebx + 0x10u; /* 0x250AC5F5: add ebx, 0x10 */ 923 _flag_k = FK_ADD; 924 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 925 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 926 esp = esp + 8; /* 0x250AC5F8: add esp, 8 */ 927 _flag_k = FK_ADD; 928 /* cmp ebx, edi */ /* 0x250AC5FB: cmp ebx, edi */ 929 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 931 _flag_k = FK_CMP; 932 MEM32(ebp + 0x8) = edx; /* 0x250AC5FD: mov dword ptr [ebp + 8], edx */ 933 RECOMP_BACKEDGE(); 934 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC5E5; /* 0x250AC600: jne 0x250ac5e5 */ 935 L_250AC602: 936 eax = MEM32(ebp + 0xC); /* 0x250AC602: mov eax, dword ptr [ebp + 0xc] */ 937 ecx = MEM32(ebp + 0x8); /* 0x250AC605: mov ecx, dword ptr [ebp + 8] */ 938 PUSH32(esp, eax); /* 0x250AC608: push eax */ 939 PUSH32(esp, ecx); /* 0x250AC609: push ecx */ 940 RECOMP_ICALL(0x250ACFE0u); /* 0x250AC60A: call 0x250acfe0 */ /* not lifted */ 941 RECOMP_FLAGS_IN(); 942 edx = MEM32(ebp + 0x8); /* 0x250AC60F: mov edx, dword ptr [ebp + 8] */ 943 eax = MEM32(esi + 0x8); /* 0x250AC612: mov eax, dword ptr [esi + 8] */ 944 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 945 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 946 esp = esp + 8; /* 0x250AC615: add esp, 8 */ 947 _flag_k = FK_ADD; 948 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 950 edx = edx + 0x10u; /* 0x250AC618: add edx, 0x10 */ 951 _flag_k = FK_ADD; 952 PUSH32(esp, edx); /* 0x250AC61B: push edx */ 953 PUSH32(esp, eax); /* 0x250AC61C: push eax */ 954 PUSH32(esp, edi); /* 0x250AC61D: push edi */ 955 ecx = esi; /* 0x250AC61E: mov ecx, esi */ 956 RECOMP_ICALL(0x2512B3E0u); /* 0x250AC620: call 0x2512b3e0 */ /* not lifted */ 957 RECOMP_FLAGS_IN(); 958 ecx = MEM32(esi + 0x8); /* 0x250AC625: mov ecx, dword ptr [esi + 8] */ 959 edx = MEM32(esi + 0x4); /* 0x250AC628: mov edx, dword ptr [esi + 4] */ 960 PUSH32(esp, ecx); /* 0x250AC62B: push ecx */ 961 PUSH32(esp, edx); /* 0x250AC62C: push edx */ 962 ecx = esi; /* 0x250AC62D: mov ecx, esi */ 963 RECOMP_ICALL(0x25093260u); /* 0x250AC62F: call 0x25093260 */ /* not lifted */ 964 RECOMP_FLAGS_IN(); 965 eax = MEM32(esi + 0x4); /* 0x250AC634: mov eax, dword ptr [esi + 4] */ 966 PUSH32(esp, eax); /* 0x250AC637: push eax */ 967 RECOMP_ICALL(0x25137EECu); /* 0x250AC638: call 0x25137eec */ /* not lifted */ 968 RECOMP_FLAGS_IN(); 969 eax = MEM32(ebp + (-0x4)); /* 0x250AC63D: mov eax, dword ptr [ebp - 4] */ 970 edi = MEM32(ebp + (-0x8)); /* 0x250AC640: mov edi, dword ptr [ebp - 8] */ 971 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AC643: shl eax, 4 */ 972 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 973 eax = eax << 4u; /* 0x250AC643: shl eax, 4 */ 974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 975 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 976 eax = eax + edi; /* 0x250AC646: add eax, edi */ 977 _flag_k = FK_ADD; 978 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 979 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 980 esp = esp + 4; /* 0x250AC648: add esp, 4 */ 981 _flag_k = FK_ADD; 982 ecx = esi; /* 0x250AC64B: mov ecx, esi */ 983 MEM32(esi + 0xC) = eax; /* 0x250AC64D: mov dword ptr [esi + 0xc], eax */ 984 RECOMP_ICALL(0x2512B3C0u); /* 0x250AC650: call 0x2512b3c0 */ /* not lifted */ 985 RECOMP_FLAGS_IN(); 986 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 987 eax = eax + 1; /* 0x250AC655: inc eax */ 988 _flag_k = FK_INC; 989 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AC656: shl eax, 4 */ 990 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 991 eax = eax << 4u; /* 0x250AC656: shl eax, 4 */ 992 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 993 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 994 eax = eax + edi; /* 0x250AC659: add eax, edi */ 995 _flag_k = FK_ADD; 996 MEM32(esi + 0x8) = eax; /* 0x250AC65B: mov dword ptr [esi + 8], eax */ 997 eax = MEM32(ebp + (-0xC)); /* 0x250AC65E: mov eax, dword ptr [ebp - 0xc] */ 998 MEM32(esi + 0x4) = edi; /* 0x250AC661: mov dword ptr [esi + 4], edi */ 999 ecx = edi; /* 0x250AC664: mov ecx, edi */ 1000 edi = POP32_VAL(esp); /* 0x250AC666: pop edi */ 1001 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AC667: shl eax, 4 */ 1002 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1003 eax = eax << 4u; /* 0x250AC667: shl eax, 4 */ 1004 esi = POP32_VAL(esp); /* 0x250AC66A: pop esi */ 1005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1006 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1007 eax = eax + ecx; /* 0x250AC66B: add eax, ecx */ 1008 _flag_k = FK_ADD; 1009 ebx = POP32_VAL(esp); /* 0x250AC66D: pop ebx */ 1010 esp = ebp; /* 0x250AC66E: mov esp, ebp */ 1011 ebp = POP32_VAL(esp); /* 0x250AC670: pop ebp */ 1012 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250AC671: ret 8 */ 1013 L_250AC674: 1014 ecx = eax; /* 0x250AC674: mov ecx, eax */ 1015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1017 ecx = ecx - edi; /* 0x250AC676: sub ecx, edi */ 1018 _flag_k = FK_CMP; 1019 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x250AC678: sar ecx, 4 */ 1020 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1021 ecx = (uint32_t)((int32_t)ecx >> 4u); 1022 /* cmp ecx, 1 */ /* 0x250AC67B: cmp ecx, 1 */ 1023 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1025 _flag_k = FK_CMP; 1026 if (CMP_AE(_flag_a, _flag_b)) goto L_250AC6DA; /* 0x250AC67E: jae 0x250ac6da */ 1027 L_250AC680: 1028 edx = edi + 0x10; /* 0x250AC680: lea edx, [edi + 0x10] */ 1029 PUSH32(esp, edx); /* 0x250AC683: push edx */ 1030 PUSH32(esp, eax); /* 0x250AC684: push eax */ 1031 PUSH32(esp, edi); /* 0x250AC685: push edi */ 1032 ecx = esi; /* 0x250AC686: mov ecx, esi */ 1033 RECOMP_ICALL(0x2512B3E0u); /* 0x250AC688: call 0x2512b3e0 */ /* not lifted */ 1034 RECOMP_FLAGS_IN(); 1035 eax = MEM32(esi + 0x8); /* 0x250AC68D: mov eax, dword ptr [esi + 8] */ 1036 ecx = MEM32(ebp + 0xC); /* 0x250AC690: mov ecx, dword ptr [ebp + 0xc] */ 1037 PUSH32(esp, ecx); /* 0x250AC693: push ecx */ 1038 edx = eax; /* 0x250AC694: mov edx, eax */ 1039 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 1040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1041 edx = edx - edi; /* 0x250AC696: sub edx, edi */ 1042 _flag_k = FK_CMP; 1043 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x250AC698: sar edx, 4 */ 1044 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1045 edx = (uint32_t)((int32_t)edx >> 4u); 1046 ecx = 1; /* 0x250AC69B: mov ecx, 1 */ 1047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1049 ecx = ecx - edx; /* 0x250AC6A0: sub ecx, edx */ 1050 _flag_k = FK_CMP; 1051 PUSH32(esp, ecx); /* 0x250AC6A2: push ecx */ 1052 PUSH32(esp, eax); /* 0x250AC6A3: push eax */ 1053 ecx = esi; /* 0x250AC6A4: mov ecx, esi */ 1054 RECOMP_ICALL(0x250B0DA0u); /* 0x250AC6A6: call 0x250b0da0 */ /* not lifted */ 1055 RECOMP_FLAGS_IN(); 1056 eax = MEM32(esi + 0x8); /* 0x250AC6AB: mov eax, dword ptr [esi + 8] */ 1057 /* cmp edi, eax */ /* 0x250AC6AE: cmp edi, eax */ 1058 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1060 _flag_k = FK_CMP; 1061 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC744; /* 0x250AC6B0: je 0x250ac744 */ 1062 L_250AC6B6: 1063 edx = MEM32(ebp + 0xC); /* 0x250AC6B6: mov edx, dword ptr [ebp + 0xc] */ 1064 ebx = MEM32(edx); /* 0x250AC6B9: mov ebx, dword ptr [edx] */ 1065 ecx = edi; /* 0x250AC6BB: mov ecx, edi */ 1066 MEM32(ecx) = ebx; /* 0x250AC6BD: mov dword ptr [ecx], ebx */ 1067 ebx = MEM32(edx + 0x4); /* 0x250AC6BF: mov ebx, dword ptr [edx + 4] */ 1068 MEM32(ecx + 0x4) = ebx; /* 0x250AC6C2: mov dword ptr [ecx + 4], ebx */ 1069 ebx = MEM32(edx + 0x8); /* 0x250AC6C5: mov ebx, dword ptr [edx + 8] */ 1070 MEM32(ecx + 0x8) = ebx; /* 0x250AC6C8: mov dword ptr [ecx + 8], ebx */ 1071 edx = MEM32(edx + 0xC); /* 0x250AC6CB: mov edx, dword ptr [edx + 0xc] */ 1072 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 1073 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1074 edi = edi + 0x10u; /* 0x250AC6CE: add edi, 0x10 */ 1075 _flag_k = FK_ADD; 1076 /* cmp edi, eax */ /* 0x250AC6D1: cmp edi, eax */ 1077 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1079 _flag_k = FK_CMP; 1080 MEM32(ecx + 0xC) = edx; /* 0x250AC6D3: mov dword ptr [ecx + 0xc], edx */ 1081 RECOMP_BACKEDGE(); 1082 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC6B6; /* 0x250AC6D6: jne 0x250ac6b6 */ 1083 L_250AC6D8: 1084 goto L_250AC744; /* 0x250AC6D8: jmp 0x250ac744 */ 1085 L_250AC6DA: 1086 PUSH32(esp, eax); /* 0x250AC6DA: push eax */ 1087 PUSH32(esp, eax); /* 0x250AC6DB: push eax */ 1088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF0u); 1089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1090 eax = eax + 0xFFFFFFF0u; /* 0x250AC6DC: add eax, -0x10 */ 1091 _flag_k = FK_ADD; 1092 PUSH32(esp, eax); /* 0x250AC6DF: push eax */ 1093 ecx = esi; /* 0x250AC6E0: mov ecx, esi */ 1094 RECOMP_ICALL(0x2512B3E0u); /* 0x250AC6E2: call 0x2512b3e0 */ /* not lifted */ 1095 RECOMP_FLAGS_IN(); 1096 ecx = MEM32(esi + 0x8); /* 0x250AC6E7: mov ecx, dword ptr [esi + 8] */ 1097 eax = ecx + (-0x10); /* 0x250AC6EA: lea eax, [ecx - 0x10] */ 1098 /* cmp edi, eax */ /* 0x250AC6ED: cmp edi, eax */ 1099 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1101 _flag_k = FK_CMP; 1102 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC71B; /* 0x250AC6EF: je 0x250ac71b */ 1103 L_250AC6F1: 1104 goto L_250AC6F6; /* 0x250AC6F1: jmp 0x250ac6f6 */ 1105 L_250AC6F3: 1106 ecx = MEM32(ebp + 0x8); /* 0x250AC6F3: mov ecx, dword ptr [ebp + 8] */ 1107 L_250AC6F6: 1108 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 1109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1110 eax = eax - 0x10u; /* 0x250AC6F6: sub eax, 0x10 */ 1111 _flag_k = FK_CMP; 1112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 1113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1114 ecx = ecx - 0x10u; /* 0x250AC6F9: sub ecx, 0x10 */ 1115 _flag_k = FK_CMP; 1116 /* cmp eax, edi */ /* 0x250AC6FC: cmp eax, edi */ 1117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1119 _flag_k = FK_CMP; 1120 edx = eax; /* 0x250AC6FE: mov edx, eax */ 1121 ebx = MEM32(edx); /* 0x250AC700: mov ebx, dword ptr [edx] */ 1122 MEM32(ebp + 0x8) = ecx; /* 0x250AC702: mov dword ptr [ebp + 8], ecx */ 1123 MEM32(ecx) = ebx; /* 0x250AC705: mov dword ptr [ecx], ebx */ 1124 ebx = MEM32(edx + 0x4); /* 0x250AC707: mov ebx, dword ptr [edx + 4] */ 1125 MEM32(ecx + 0x4) = ebx; /* 0x250AC70A: mov dword ptr [ecx + 4], ebx */ 1126 ebx = MEM32(edx + 0x8); /* 0x250AC70D: mov ebx, dword ptr [edx + 8] */ 1127 MEM32(ecx + 0x8) = ebx; /* 0x250AC710: mov dword ptr [ecx + 8], ebx */ 1128 edx = MEM32(edx + 0xC); /* 0x250AC713: mov edx, dword ptr [edx + 0xc] */ 1129 MEM32(ecx + 0xC) = edx; /* 0x250AC716: mov dword ptr [ecx + 0xc], edx */ 1130 RECOMP_BACKEDGE(); 1131 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC6F3; /* 0x250AC719: jne 0x250ac6f3 */ 1132 L_250AC71B: 1133 eax = edi + 0x10; /* 0x250AC71B: lea eax, [edi + 0x10] */ 1134 /* cmp edi, eax */ /* 0x250AC71E: cmp edi, eax */ 1135 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1137 _flag_k = FK_CMP; 1138 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC744; /* 0x250AC720: je 0x250ac744 */ 1139 L_250AC722: 1140 ecx = MEM32(ebp + 0xC); /* 0x250AC722: mov ecx, dword ptr [ebp + 0xc] */ 1141 ebx = MEM32(ecx); /* 0x250AC725: mov ebx, dword ptr [ecx] */ 1142 edx = edi; /* 0x250AC727: mov edx, edi */ 1143 MEM32(edx) = ebx; /* 0x250AC729: mov dword ptr [edx], ebx */ 1144 ebx = MEM32(ecx + 0x4); /* 0x250AC72B: mov ebx, dword ptr [ecx + 4] */ 1145 MEM32(edx + 0x4) = ebx; /* 0x250AC72E: mov dword ptr [edx + 4], ebx */ 1146 ebx = MEM32(ecx + 0x8); /* 0x250AC731: mov ebx, dword ptr [ecx + 8] */ 1147 MEM32(edx + 0x8) = ebx; /* 0x250AC734: mov dword ptr [edx + 8], ebx */ 1148 ecx = MEM32(ecx + 0xC); /* 0x250AC737: mov ecx, dword ptr [ecx + 0xc] */ 1149 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 1150 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1151 edi = edi + 0x10u; /* 0x250AC73A: add edi, 0x10 */ 1152 _flag_k = FK_ADD; 1153 /* cmp edi, eax */ /* 0x250AC73D: cmp edi, eax */ 1154 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1156 _flag_k = FK_CMP; 1157 MEM32(edx + 0xC) = ecx; /* 0x250AC73F: mov dword ptr [edx + 0xc], ecx */ 1158 RECOMP_BACKEDGE(); 1159 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC722; /* 0x250AC742: jne 0x250ac722 */ 1160 L_250AC744: 1161 eax = MEM32(esi + 0x8); /* 0x250AC744: mov eax, dword ptr [esi + 8] */ 1162 ecx = MEM32(esi + 0x4); /* 0x250AC747: mov ecx, dword ptr [esi + 4] */ 1163 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 1164 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1165 eax = eax + 0x10u; /* 0x250AC74A: add eax, 0x10 */ 1166 _flag_k = FK_ADD; 1167 MEM32(esi + 0x8) = eax; /* 0x250AC74D: mov dword ptr [esi + 8], eax */ 1168 eax = MEM32(ebp + (-0xC)); /* 0x250AC750: mov eax, dword ptr [ebp - 0xc] */ 1169 edi = POP32_VAL(esp); /* 0x250AC753: pop edi */ 1170 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AC754: shl eax, 4 */ 1171 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1172 eax = eax << 4u; /* 0x250AC754: shl eax, 4 */ 1173 esi = POP32_VAL(esp); /* 0x250AC757: pop esi */ 1174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1176 eax = eax + ecx; /* 0x250AC758: add eax, ecx */ 1177 _flag_k = FK_ADD; 1178 ebx = POP32_VAL(esp); /* 0x250AC75A: pop ebx */ 1179 esp = ebp; /* 0x250AC75B: mov esp, ebp */ 1180 ebp = POP32_VAL(esp); /* 0x250AC75D: pop ebp */ 1181 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250AC75E: ret 8 */ 1182 RECOMP_REGS_OUT(); 1183 } 1184 1185 void sub_250AC770(void) { 1186 int _fpu_cmp = 0; 1187 uint32_t _cf = 0; 1188 int _df = 1; 1189 uint32_t _flag_k = FK_NONE; 1190 uint32_t _flag_a = 0, _flag_b = 0; 1191 uint32_t _itail_tgt = 0; 1192 RECOMP_REGS_LOCALS 1193 RECOMP_ENTER(0x250AC770u); 1194 1195 L_250AC770: 1196 PUSH32(esp, ebp); /* 0x250AC770: push ebp */ 1197 ebp = esp; /* 0x250AC771: mov ebp, esp */ 1198 ecx = MEM32(ebp + 0x8); /* 0x250AC773: mov ecx, dword ptr [ebp + 8] */ 1199 edx = MEM32(ebp + 0xC); /* 0x250AC776: mov edx, dword ptr [ebp + 0xc] */ 1200 /* cmp ecx, edx */ /* 0x250AC779: cmp ecx, edx */ 1201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1203 _flag_k = FK_CMP; 1204 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC79E; /* 0x250AC77B: je 0x250ac79e */ 1205 L_250AC77D: 1206 eax = MEM32(ebp + 0x10); /* 0x250AC77D: mov eax, dword ptr [ebp + 0x10] */ 1207 PUSH32(esp, esi); /* 0x250AC780: push esi */ 1208 L_250AC781: 1209 /* test eax, eax */ /* 0x250AC781: test eax, eax */ 1210 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1211 _cf = 0; 1212 _flag_k = FK_TEST; 1213 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC78F; /* 0x250AC783: je 0x250ac78f */ 1214 L_250AC785: 1215 esi = MEM32(ecx); /* 0x250AC785: mov esi, dword ptr [ecx] */ 1216 MEM32(eax) = esi; /* 0x250AC787: mov dword ptr [eax], esi */ 1217 esi = MEM32(ecx + 0x4); /* 0x250AC789: mov esi, dword ptr [ecx + 4] */ 1218 MEM32(eax + 0x4) = esi; /* 0x250AC78C: mov dword ptr [eax + 4], esi */ 1219 L_250AC78F: 1220 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 1221 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1222 ecx = ecx + 8; /* 0x250AC78F: add ecx, 8 */ 1223 _flag_k = FK_ADD; 1224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 1225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1226 eax = eax + 8; /* 0x250AC792: add eax, 8 */ 1227 _flag_k = FK_ADD; 1228 /* cmp ecx, edx */ /* 0x250AC795: cmp ecx, edx */ 1229 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1231 _flag_k = FK_CMP; 1232 RECOMP_BACKEDGE(); 1233 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC781; /* 0x250AC797: jne 0x250ac781 */ 1234 L_250AC799: 1235 esi = POP32_VAL(esp); /* 0x250AC799: pop esi */ 1236 ebp = POP32_VAL(esp); /* 0x250AC79A: pop ebp */ 1237 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250AC79B: ret 0xc */ 1238 L_250AC79E: 1239 eax = MEM32(ebp + 0x10); /* 0x250AC79E: mov eax, dword ptr [ebp + 0x10] */ 1240 ebp = POP32_VAL(esp); /* 0x250AC7A1: pop ebp */ 1241 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250AC7A2: ret 0xc */ 1242 RECOMP_REGS_OUT(); 1243 } 1244 1245 void sub_250AC7B0(void) { 1246 int _fpu_cmp = 0; 1247 uint32_t _cf = 0; 1248 int _df = 1; 1249 uint32_t _flag_k = FK_NONE; 1250 uint32_t _flag_a = 0, _flag_b = 0; 1251 uint32_t _itail_tgt = 0; 1252 RECOMP_REGS_LOCALS 1253 RECOMP_ENTER(0x250AC7B0u); 1254 1255 L_250AC7B0: 1256 PUSH32(esp, ebp); /* 0x250AC7B0: push ebp */ 1257 ebp = esp; /* 0x250AC7B1: mov ebp, esp */ 1258 PUSH32(esp, ebx); /* 0x250AC7B3: push ebx */ 1259 PUSH32(esp, esi); /* 0x250AC7B4: push esi */ 1260 ebx = ecx; /* 0x250AC7B5: mov ebx, ecx */ 1261 eax = MEM32(ebx + 0x8); /* 0x250AC7B7: mov eax, dword ptr [ebx + 8] */ 1262 PUSH32(esp, edi); /* 0x250AC7BA: push edi */ 1263 edi = MEM32(ebp + 0x8); /* 0x250AC7BB: mov edi, dword ptr [ebp + 8] */ 1264 /* cmp edi, eax */ /* 0x250AC7BE: cmp edi, eax */ 1265 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1267 _flag_k = FK_CMP; 1268 esi = edi; /* 0x250AC7C0: mov esi, edi */ 1269 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC7E3; /* 0x250AC7C2: je 0x250ac7e3 */ 1270 L_250AC7C4: 1271 eax = MEM32(esi + 0x8); /* 0x250AC7C4: mov eax, dword ptr [esi + 8] */ 1272 PUSH32(esp, eax); /* 0x250AC7C7: push eax */ 1273 ecx = ebx; /* 0x250AC7C8: mov ecx, ebx */ 1274 RECOMP_ICALL(0x250AC7B0u); /* 0x250AC7CA: call 0x250ac7b0 */ /* not lifted */ 1275 RECOMP_FLAGS_IN(); 1276 esi = MEM32(esi); /* 0x250AC7CF: mov esi, dword ptr [esi] */ 1277 PUSH32(esp, edi); /* 0x250AC7D1: push edi */ 1278 RECOMP_ICALL(0x25137EECu); /* 0x250AC7D2: call 0x25137eec */ /* not lifted */ 1279 RECOMP_FLAGS_IN(); 1280 eax = MEM32(ebx + 0x8); /* 0x250AC7D7: mov eax, dword ptr [ebx + 8] */ 1281 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1282 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1283 esp = esp + 4; /* 0x250AC7DA: add esp, 4 */ 1284 _flag_k = FK_ADD; 1285 /* cmp esi, eax */ /* 0x250AC7DD: cmp esi, eax */ 1286 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1288 _flag_k = FK_CMP; 1289 edi = esi; /* 0x250AC7DF: mov edi, esi */ 1290 RECOMP_BACKEDGE(); 1291 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC7C4; /* 0x250AC7E1: jne 0x250ac7c4 */ 1292 L_250AC7E3: 1293 edi = POP32_VAL(esp); /* 0x250AC7E3: pop edi */ 1294 esi = POP32_VAL(esp); /* 0x250AC7E4: pop esi */ 1295 ebx = POP32_VAL(esp); /* 0x250AC7E5: pop ebx */ 1296 ebp = POP32_VAL(esp); /* 0x250AC7E6: pop ebp */ 1297 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AC7E7: ret 4 */ 1298 RECOMP_REGS_OUT(); 1299 } 1300 1301 void sub_250AC7F0(void) { 1302 int _fpu_cmp = 0; 1303 uint32_t _cf = 0; 1304 int _df = 1; 1305 uint32_t _flag_k = FK_NONE; 1306 uint32_t _flag_a = 0, _flag_b = 0; 1307 uint32_t _itail_tgt = 0; 1308 RECOMP_REGS_LOCALS 1309 RECOMP_ENTER(0x250AC7F0u); 1310 1311 L_250AC7F0: 1312 PUSH32(esp, ebp); /* 0x250AC7F0: push ebp */ 1313 ebp = esp; /* 0x250AC7F1: mov ebp, esp */ 1314 PUSH32(esp, ebx); /* 0x250AC7F3: push ebx */ 1315 PUSH32(esp, esi); /* 0x250AC7F4: push esi */ 1316 ebx = ecx; /* 0x250AC7F5: mov ebx, ecx */ 1317 eax = MEM32(ebx + 0x8); /* 0x250AC7F7: mov eax, dword ptr [ebx + 8] */ 1318 PUSH32(esp, edi); /* 0x250AC7FA: push edi */ 1319 edi = MEM32(ebp + 0x8); /* 0x250AC7FB: mov edi, dword ptr [ebp + 8] */ 1320 /* cmp edi, eax */ /* 0x250AC7FE: cmp edi, eax */ 1321 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1323 _flag_k = FK_CMP; 1324 esi = edi; /* 0x250AC800: mov esi, edi */ 1325 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC823; /* 0x250AC802: je 0x250ac823 */ 1326 L_250AC804: 1327 eax = MEM32(esi + 0x8); /* 0x250AC804: mov eax, dword ptr [esi + 8] */ 1328 PUSH32(esp, eax); /* 0x250AC807: push eax */ 1329 ecx = ebx; /* 0x250AC808: mov ecx, ebx */ 1330 RECOMP_ICALL(0x250AC7F0u); /* 0x250AC80A: call 0x250ac7f0 */ /* not lifted */ 1331 RECOMP_FLAGS_IN(); 1332 esi = MEM32(esi); /* 0x250AC80F: mov esi, dword ptr [esi] */ 1333 PUSH32(esp, edi); /* 0x250AC811: push edi */ 1334 RECOMP_ICALL(0x25137EECu); /* 0x250AC812: call 0x25137eec */ /* not lifted */ 1335 RECOMP_FLAGS_IN(); 1336 eax = MEM32(ebx + 0x8); /* 0x250AC817: mov eax, dword ptr [ebx + 8] */ 1337 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1338 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1339 esp = esp + 4; /* 0x250AC81A: add esp, 4 */ 1340 _flag_k = FK_ADD; 1341 /* cmp esi, eax */ /* 0x250AC81D: cmp esi, eax */ 1342 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1344 _flag_k = FK_CMP; 1345 edi = esi; /* 0x250AC81F: mov edi, esi */ 1346 RECOMP_BACKEDGE(); 1347 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC804; /* 0x250AC821: jne 0x250ac804 */ 1348 L_250AC823: 1349 edi = POP32_VAL(esp); /* 0x250AC823: pop edi */ 1350 esi = POP32_VAL(esp); /* 0x250AC824: pop esi */ 1351 ebx = POP32_VAL(esp); /* 0x250AC825: pop ebx */ 1352 ebp = POP32_VAL(esp); /* 0x250AC826: pop ebp */ 1353 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AC827: ret 4 */ 1354 RECOMP_REGS_OUT(); 1355 } 1356 1357 void sub_250AC830(void) { 1358 int _fpu_cmp = 0; 1359 uint32_t _cf = 0; 1360 int _df = 1; 1361 uint32_t _flag_k = FK_NONE; 1362 uint32_t _flag_a = 0, _flag_b = 0; 1363 uint32_t _itail_tgt = 0; 1364 RECOMP_REGS_LOCALS 1365 RECOMP_ENTER(0x250AC830u); 1366 1367 L_250AC830: 1368 PUSH32(esp, ebp); /* 0x250AC830: push ebp */ 1369 ebp = esp; /* 0x250AC831: mov ebp, esp */ 1370 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1372 esp = esp - 0xCu; /* 0x250AC833: sub esp, 0xc */ 1373 _flag_k = FK_CMP; 1374 PUSH32(esp, ebx); /* 0x250AC836: push ebx */ 1375 ebx = MEM32(ecx + 0x8); /* 0x250AC837: mov ebx, dword ptr [ecx + 8] */ 1376 PUSH32(esp, esi); /* 0x250AC83A: push esi */ 1377 esi = MEM32(ecx + 0xC); /* 0x250AC83B: mov esi, dword ptr [ecx + 0xc] */ 1378 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 1379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1380 esi = esi - ebx; /* 0x250AC83E: sub esi, ebx */ 1381 _flag_k = FK_CMP; 1382 eax = 0x92492493u; /* 0x250AC840: mov eax, 0x92492493 */ 1383 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(esi); /* 0x250AC845: imul esi */ 1384 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1385 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1386 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1387 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1388 edx = edx + esi; /* 0x250AC847: add edx, esi */ 1389 _flag_k = FK_ADD; 1390 esi = MEM32(ebp + 0xC); /* 0x250AC849: mov esi, dword ptr [ebp + 0xc] */ 1391 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AC84C: sar edx, 5 */ 1392 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1393 edx = (uint32_t)((int32_t)edx >> 5u); 1394 eax = edx; /* 0x250AC84F: mov eax, edx */ 1395 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250AC851: shr eax, 0x1f */ 1396 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1397 eax = eax >> 31u; /* 0x250AC851: shr eax, 0x1f */ 1398 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1400 edx = edx + eax; /* 0x250AC854: add edx, eax */ 1401 _flag_k = FK_ADD; 1402 /* cmp edx, esi */ /* 0x250AC856: cmp edx, esi */ 1403 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1405 _flag_k = FK_CMP; 1406 PUSH32(esp, edi); /* 0x250AC858: push edi */ 1407 MEM32(ebp + (-0x4)) = ecx; /* 0x250AC859: mov dword ptr [ebp - 4], ecx */ 1408 if (CMP_AE(_flag_a, _flag_b)) goto L_250AC9C6; /* 0x250AC85C: jae 0x250ac9c6 */ 1409 L_250AC862: 1410 edi = MEM32(ecx + 0x4); /* 0x250AC862: mov edi, dword ptr [ecx + 4] */ 1411 /* test edi, edi */ /* 0x250AC865: test edi, edi */ 1412 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1413 _cf = 0; 1414 _flag_k = FK_TEST; 1415 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC886; /* 0x250AC867: je 0x250ac886 */ 1416 L_250AC869: 1417 ecx = ebx; /* 0x250AC869: mov ecx, ebx */ 1418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1420 ecx = ecx - edi; /* 0x250AC86B: sub ecx, edi */ 1421 _flag_k = FK_CMP; 1422 eax = 0x92492493u; /* 0x250AC86D: mov eax, 0x92492493 */ 1423 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250AC872: imul ecx */ 1424 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1425 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1426 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1427 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1428 edx = edx + ecx; /* 0x250AC874: add edx, ecx */ 1429 _flag_k = FK_ADD; 1430 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AC876: sar edx, 5 */ 1431 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1432 edx = (uint32_t)((int32_t)edx >> 5u); 1433 ecx = edx; /* 0x250AC879: mov ecx, edx */ 1434 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250AC87B: shr ecx, 0x1f */ 1435 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1436 ecx = ecx >> 31u; /* 0x250AC87B: shr ecx, 0x1f */ 1437 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1438 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1439 edx = edx + ecx; /* 0x250AC87E: add edx, ecx */ 1440 _flag_k = FK_ADD; 1441 /* cmp esi, edx */ /* 0x250AC880: cmp esi, edx */ 1442 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1444 _flag_k = FK_CMP; 1445 ecx = edx; /* 0x250AC882: mov ecx, edx */ 1446 if (CMP_B(_flag_a, _flag_b)) goto L_250AC888; /* 0x250AC884: jb 0x250ac888 */ 1447 L_250AC886: 1448 ecx = esi; /* 0x250AC886: mov ecx, esi */ 1449 L_250AC888: 1450 /* test edi, edi */ /* 0x250AC888: test edi, edi */ 1451 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1452 _cf = 0; 1453 _flag_k = FK_TEST; 1454 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AC890; /* 0x250AC88A: jne 0x250ac890 */ 1455 L_250AC88C: 1456 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1457 edx = 0; /* 0x250AC88C: xor edx, edx */ 1458 _cf = 0; 1459 _flag_k = FK_TEST; 1460 goto L_250AC8A5; /* 0x250AC88E: jmp 0x250ac8a5 */ 1461 L_250AC890: 1462 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 1463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1464 ebx = ebx - edi; /* 0x250AC890: sub ebx, edi */ 1465 _flag_k = FK_CMP; 1466 eax = 0x92492493u; /* 0x250AC892: mov eax, 0x92492493 */ 1467 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x250AC897: imul ebx */ 1468 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1469 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1470 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 1471 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1472 edx = edx + ebx; /* 0x250AC899: add edx, ebx */ 1473 _flag_k = FK_ADD; 1474 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AC89B: sar edx, 5 */ 1475 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1476 edx = (uint32_t)((int32_t)edx >> 5u); 1477 eax = edx; /* 0x250AC89E: mov eax, edx */ 1478 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250AC8A0: shr eax, 0x1f */ 1479 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1480 eax = eax >> 31u; /* 0x250AC8A0: shr eax, 0x1f */ 1481 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1483 edx = edx + eax; /* 0x250AC8A3: add edx, eax */ 1484 _flag_k = FK_ADD; 1485 L_250AC8A5: 1486 eax = edx + ecx; /* 0x250AC8A5: lea eax, [edx + ecx] */ 1487 /* test eax, eax */ /* 0x250AC8A8: test eax, eax */ 1488 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1489 _cf = 0; 1490 _flag_k = FK_TEST; 1491 MEM32(ebp + (-0x8)) = eax; /* 0x250AC8AA: mov dword ptr [ebp - 8], eax */ 1492 if (TEST_NS(_flag_a, _flag_b)) goto L_250AC8B1; /* 0x250AC8AD: jge 0x250ac8b1 */ 1493 L_250AC8AF: 1494 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1495 eax = 0; /* 0x250AC8AF: xor eax, eax */ 1496 _cf = 0; 1497 _flag_k = FK_TEST; 1498 L_250AC8B1: 1499 ecx = eax * 8; /* 0x250AC8B1: lea ecx, [eax*8] */ 1500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1502 ecx = ecx - eax; /* 0x250AC8B8: sub ecx, eax */ 1503 _flag_k = FK_CMP; 1504 if (3u) _cf = (((ecx) >> 29) & 1u); /* 0x250AC8BA: shl ecx, 3 */ 1505 if (3u) { _flag_a = recomp_flags_pack((ecx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1506 ecx = ecx << 3u; /* 0x250AC8BA: shl ecx, 3 */ 1507 PUSH32(esp, ecx); /* 0x250AC8BD: push ecx */ 1508 RECOMP_ICALL(0x251380D0u); /* 0x250AC8BE: call 0x251380d0 */ /* not lifted */ 1509 RECOMP_FLAGS_IN(); 1510 edi = MEM32(ebp + (-0x4)); /* 0x250AC8C3: mov edi, dword ptr [ebp - 4] */ 1511 ebx = MEM32(ebp + 0x8); /* 0x250AC8C6: mov ebx, dword ptr [ebp + 8] */ 1512 MEM32(ebp + (-0xC)) = eax; /* 0x250AC8C9: mov dword ptr [ebp - 0xc], eax */ 1513 edx = eax; /* 0x250AC8CC: mov edx, eax */ 1514 eax = MEM32(edi + 0x4); /* 0x250AC8CE: mov eax, dword ptr [edi + 4] */ 1515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1517 esp = esp + 4; /* 0x250AC8D1: add esp, 4 */ 1518 _flag_k = FK_ADD; 1519 /* cmp eax, ebx */ /* 0x250AC8D4: cmp eax, ebx */ 1520 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1522 _flag_k = FK_CMP; 1523 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC8F7; /* 0x250AC8D6: je 0x250ac8f7 */ 1524 L_250AC8D8: 1525 /* test edx, edx */ /* 0x250AC8D8: test edx, edx */ 1526 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1527 _cf = 0; 1528 _flag_k = FK_TEST; 1529 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC8ED; /* 0x250AC8DA: je 0x250ac8ed */ 1530 L_250AC8DC: 1531 ecx = 0xEu; /* 0x250AC8DC: mov ecx, 0xe */ 1532 esi = eax; /* 0x250AC8E1: mov esi, eax */ 1533 edi = edx; /* 0x250AC8E3: mov edi, edx */ 1534 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AC8E5: 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; } 1535 esi = MEM32(ebp + 0xC); /* 0x250AC8E7: mov esi, dword ptr [ebp + 0xc] */ 1536 edi = MEM32(ebp + (-0x4)); /* 0x250AC8EA: mov edi, dword ptr [ebp - 4] */ 1537 L_250AC8ED: 1538 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 1539 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1540 eax = eax + 0x38u; /* 0x250AC8ED: add eax, 0x38 */ 1541 _flag_k = FK_ADD; 1542 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x38u); 1543 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1544 edx = edx + 0x38u; /* 0x250AC8F0: add edx, 0x38 */ 1545 _flag_k = FK_ADD; 1546 /* cmp eax, ebx */ /* 0x250AC8F3: cmp eax, ebx */ 1547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1549 _flag_k = FK_CMP; 1550 RECOMP_BACKEDGE(); 1551 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC8D8; /* 0x250AC8F5: jne 0x250ac8d8 */ 1552 L_250AC8F7: 1553 /* test esi, esi */ /* 0x250AC8F7: test esi, esi */ 1554 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1555 _cf = 0; 1556 _flag_k = FK_TEST; 1557 eax = edx; /* 0x250AC8F9: mov eax, edx */ 1558 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC91B; /* 0x250AC8FB: jbe 0x250ac91b */ 1559 L_250AC8FD: 1560 ebx = esi; /* 0x250AC8FD: mov ebx, esi */ 1561 L_250AC8FF: 1562 /* test eax, eax */ /* 0x250AC8FF: test eax, eax */ 1563 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1564 _cf = 0; 1565 _flag_k = FK_TEST; 1566 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC915; /* 0x250AC901: je 0x250ac915 */ 1567 L_250AC903: 1568 esi = MEM32(ebp + 0x10); /* 0x250AC903: mov esi, dword ptr [ebp + 0x10] */ 1569 ecx = 0xEu; /* 0x250AC906: mov ecx, 0xe */ 1570 edi = eax; /* 0x250AC90B: mov edi, eax */ 1571 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AC90D: 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; } 1572 esi = MEM32(ebp + 0xC); /* 0x250AC90F: mov esi, dword ptr [ebp + 0xc] */ 1573 edi = MEM32(ebp + (-0x4)); /* 0x250AC912: mov edi, dword ptr [ebp - 4] */ 1574 L_250AC915: 1575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 1576 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1577 eax = eax + 0x38u; /* 0x250AC915: add eax, 0x38 */ 1578 _flag_k = FK_ADD; 1579 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 1580 ebx = ebx - 1; /* 0x250AC918: dec ebx */ 1581 _flag_k = FK_DEC; 1582 RECOMP_BACKEDGE(); 1583 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250AC8FF; /* 0x250AC919: jne 0x250ac8ff */ 1584 L_250AC91B: 1585 eax = MEM32(edi + 0x8); /* 0x250AC91B: mov eax, dword ptr [edi + 8] */ 1586 ecx = esi * 8; /* 0x250AC91E: lea ecx, [esi*8] */ 1587 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 1588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1589 ecx = ecx - esi; /* 0x250AC925: sub ecx, esi */ 1590 _flag_k = FK_CMP; 1591 if (3u) _cf = (((ecx) >> 29) & 1u); /* 0x250AC927: shl ecx, 3 */ 1592 if (3u) { _flag_a = recomp_flags_pack((ecx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1593 ecx = ecx << 3u; /* 0x250AC927: shl ecx, 3 */ 1594 /* cmp MEM32(ebp + 0x8), eax */ /* 0x250AC92A: cmp dword ptr [ebp + 8], eax */ 1595 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(eax); 1596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1597 _flag_k = FK_CMP; 1598 ebx = ecx + edx; /* 0x250AC92D: lea ebx, [ecx + edx] */ 1599 MEM32(ebp + 0x10) = eax; /* 0x250AC930: mov dword ptr [ebp + 0x10], eax */ 1600 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AC962; /* 0x250AC933: je 0x250ac962 */ 1601 L_250AC935: 1602 eax = ebx; /* 0x250AC935: mov eax, ebx */ 1603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1605 eax = eax - ecx; /* 0x250AC937: sub eax, ecx */ 1606 _flag_k = FK_CMP; 1607 ecx = MEM32(ebp + 0x8); /* 0x250AC939: mov ecx, dword ptr [ebp + 8] */ 1608 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1610 eax = eax - edx; /* 0x250AC93C: sub eax, edx */ 1611 _flag_k = FK_CMP; 1612 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1613 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1614 eax = eax + ecx; /* 0x250AC93E: add eax, ecx */ 1615 _flag_k = FK_ADD; 1616 L_250AC940: 1617 /* test ebx, ebx */ /* 0x250AC940: test ebx, ebx */ 1618 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 1619 _cf = 0; 1620 _flag_k = FK_TEST; 1621 if (TEST_Z(_flag_a, _flag_b)) goto L_250AC955; /* 0x250AC942: je 0x250ac955 */ 1622 L_250AC944: 1623 ecx = 0xEu; /* 0x250AC944: mov ecx, 0xe */ 1624 esi = eax; /* 0x250AC949: mov esi, eax */ 1625 edi = ebx; /* 0x250AC94B: mov edi, ebx */ 1626 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AC94D: 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; } 1627 esi = MEM32(ebp + 0xC); /* 0x250AC94F: mov esi, dword ptr [ebp + 0xc] */ 1628 edi = MEM32(ebp + (-0x4)); /* 0x250AC952: mov edi, dword ptr [ebp - 4] */ 1629 L_250AC955: 1630 ecx = MEM32(ebp + 0x10); /* 0x250AC955: mov ecx, dword ptr [ebp + 0x10] */ 1631 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 1632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1633 eax = eax + 0x38u; /* 0x250AC958: add eax, 0x38 */ 1634 _flag_k = FK_ADD; 1635 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x38u); 1636 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1637 ebx = ebx + 0x38u; /* 0x250AC95B: add ebx, 0x38 */ 1638 _flag_k = FK_ADD; 1639 /* cmp eax, ecx */ /* 0x250AC95E: cmp eax, ecx */ 1640 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1642 _flag_k = FK_CMP; 1643 RECOMP_BACKEDGE(); 1644 if (CMP_NE(_flag_a, _flag_b)) goto L_250AC940; /* 0x250AC960: jne 0x250ac940 */ 1645 L_250AC962: 1646 eax = MEM32(edi + 0x4); /* 0x250AC962: mov eax, dword ptr [edi + 4] */ 1647 PUSH32(esp, eax); /* 0x250AC965: push eax */ 1648 MEM32(ebp + 0x8) = eax; /* 0x250AC966: mov dword ptr [ebp + 8], eax */ 1649 RECOMP_ICALL(0x25137EECu); /* 0x250AC969: call 0x25137eec */ /* not lifted */ 1650 RECOMP_FLAGS_IN(); 1651 eax = MEM32(ebp + (-0x8)); /* 0x250AC96E: mov eax, dword ptr [ebp - 8] */ 1652 ebx = MEM32(ebp + (-0xC)); /* 0x250AC971: mov ebx, dword ptr [ebp - 0xc] */ 1653 edx = eax * 8; /* 0x250AC974: lea edx, [eax*8] */ 1654 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1656 edx = edx - eax; /* 0x250AC97B: sub edx, eax */ 1657 _flag_k = FK_CMP; 1658 eax = ebx + edx * 8; /* 0x250AC97D: lea eax, [ebx + edx*8] */ 1659 MEM32(edi + 0xC) = eax; /* 0x250AC980: mov dword ptr [edi + 0xc], eax */ 1660 eax = MEM32(edi + 0x4); /* 0x250AC983: mov eax, dword ptr [edi + 4] */ 1661 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1662 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1663 esp = esp + 4; /* 0x250AC986: add esp, 4 */ 1664 _flag_k = FK_ADD; 1665 /* test eax, eax */ /* 0x250AC989: test eax, eax */ 1666 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1667 _cf = 0; 1668 _flag_k = FK_TEST; 1669 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AC991; /* 0x250AC98B: jne 0x250ac991 */ 1670 L_250AC98D: 1671 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1672 edx = 0; /* 0x250AC98D: xor edx, edx */ 1673 _cf = 0; 1674 _flag_k = FK_TEST; 1675 goto L_250AC9A9; /* 0x250AC98F: jmp 0x250ac9a9 */ 1676 L_250AC991: 1677 ecx = MEM32(edi + 0x8); /* 0x250AC991: mov ecx, dword ptr [edi + 8] */ 1678 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1679 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1680 ecx = ecx - eax; /* 0x250AC994: sub ecx, eax */ 1681 _flag_k = FK_CMP; 1682 eax = 0x92492493u; /* 0x250AC996: mov eax, 0x92492493 */ 1683 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250AC99B: imul ecx */ 1684 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1685 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1686 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1687 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1688 edx = edx + ecx; /* 0x250AC99D: add edx, ecx */ 1689 _flag_k = FK_ADD; 1690 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AC99F: sar edx, 5 */ 1691 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1692 edx = (uint32_t)((int32_t)edx >> 5u); 1693 ecx = edx; /* 0x250AC9A2: mov ecx, edx */ 1694 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250AC9A4: shr ecx, 0x1f */ 1695 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1696 ecx = ecx >> 31u; /* 0x250AC9A4: shr ecx, 0x1f */ 1697 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1698 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1699 edx = edx + ecx; /* 0x250AC9A7: add edx, ecx */ 1700 _flag_k = FK_ADD; 1701 L_250AC9A9: 1702 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1703 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1704 esi = esi + edx; /* 0x250AC9A9: add esi, edx */ 1705 _flag_k = FK_ADD; 1706 edx = esi * 8; /* 0x250AC9AB: lea edx, [esi*8] */ 1707 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1709 edx = edx - esi; /* 0x250AC9B2: sub edx, esi */ 1710 _flag_k = FK_CMP; 1711 eax = ebx + edx * 8; /* 0x250AC9B4: lea eax, [ebx + edx*8] */ 1712 MEM32(edi + 0x4) = ebx; /* 0x250AC9B7: mov dword ptr [edi + 4], ebx */ 1713 MEM32(edi + 0x8) = eax; /* 0x250AC9BA: mov dword ptr [edi + 8], eax */ 1714 edi = POP32_VAL(esp); /* 0x250AC9BD: pop edi */ 1715 esi = POP32_VAL(esp); /* 0x250AC9BE: pop esi */ 1716 ebx = POP32_VAL(esp); /* 0x250AC9BF: pop ebx */ 1717 esp = ebp; /* 0x250AC9C0: mov esp, ebp */ 1718 ebp = POP32_VAL(esp); /* 0x250AC9C2: pop ebp */ 1719 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250AC9C3: ret 0xc */ 1720 L_250AC9C6: 1721 edi = MEM32(ebp + 0x8); /* 0x250AC9C6: mov edi, dword ptr [ebp + 8] */ 1722 ecx = ebx; /* 0x250AC9C9: mov ecx, ebx */ 1723 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1725 ecx = ecx - edi; /* 0x250AC9CB: sub ecx, edi */ 1726 _flag_k = FK_CMP; 1727 eax = 0x92492493u; /* 0x250AC9CD: mov eax, 0x92492493 */ 1728 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250AC9D2: imul ecx */ 1729 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1730 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1731 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1732 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1733 edx = edx + ecx; /* 0x250AC9D4: add edx, ecx */ 1734 _flag_k = FK_ADD; 1735 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AC9D6: sar edx, 5 */ 1736 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1737 edx = (uint32_t)((int32_t)edx >> 5u); 1738 ecx = edx; /* 0x250AC9D9: mov ecx, edx */ 1739 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x250AC9DB: shr ecx, 0x1f */ 1740 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1741 ecx = ecx >> 31u; /* 0x250AC9DB: shr ecx, 0x1f */ 1742 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1743 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1744 edx = edx + ecx; /* 0x250AC9DE: add edx, ecx */ 1745 _flag_k = FK_ADD; 1746 /* cmp edx, esi */ /* 0x250AC9E0: cmp edx, esi */ 1747 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1749 _flag_k = FK_CMP; 1750 if (CMP_AE(_flag_a, _flag_b)) goto L_250ACA94; /* 0x250AC9E2: jae 0x250aca94 */ 1751 L_250AC9E8: 1752 ecx = esi * 8; /* 0x250AC9E8: lea ecx, [esi*8] */ 1753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 1754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1755 ecx = ecx - esi; /* 0x250AC9EF: sub ecx, esi */ 1756 _flag_k = FK_CMP; 1757 if (3u) _cf = (((ecx) >> 29) & 1u); /* 0x250AC9F1: shl ecx, 3 */ 1758 if (3u) { _flag_a = recomp_flags_pack((ecx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1759 ecx = ecx << 3u; /* 0x250AC9F1: shl ecx, 3 */ 1760 /* cmp edi, ebx */ /* 0x250AC9F4: cmp edi, ebx */ 1761 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1763 _flag_k = FK_CMP; 1764 MEM32(ebp + (-0xC)) = ecx; /* 0x250AC9F6: mov dword ptr [ebp - 0xc], ecx */ 1765 eax = ecx + edi; /* 0x250AC9F9: lea eax, [ecx + edi] */ 1766 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACA21; /* 0x250AC9FC: je 0x250aca21 */ 1767 L_250AC9FE: 1768 edx = eax; /* 0x250AC9FE: mov edx, eax */ 1769 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1771 edx = edx - ecx; /* 0x250ACA00: sub edx, ecx */ 1772 _flag_k = FK_CMP; 1773 L_250ACA02: 1774 /* test eax, eax */ /* 0x250ACA02: test eax, eax */ 1775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1776 _cf = 0; 1777 _flag_k = FK_TEST; 1778 if (TEST_Z(_flag_a, _flag_b)) goto L_250ACA17; /* 0x250ACA04: je 0x250aca17 */ 1779 L_250ACA06: 1780 ecx = 0xEu; /* 0x250ACA06: mov ecx, 0xe */ 1781 esi = edx; /* 0x250ACA0B: mov esi, edx */ 1782 edi = eax; /* 0x250ACA0D: mov edi, eax */ 1783 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ACA0F: 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; } 1784 edi = MEM32(ebp + 0x8); /* 0x250ACA11: mov edi, dword ptr [ebp + 8] */ 1785 esi = MEM32(ebp + 0xC); /* 0x250ACA14: mov esi, dword ptr [ebp + 0xc] */ 1786 L_250ACA17: 1787 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x38u); 1788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1789 edx = edx + 0x38u; /* 0x250ACA17: add edx, 0x38 */ 1790 _flag_k = FK_ADD; 1791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 1792 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1793 eax = eax + 0x38u; /* 0x250ACA1A: add eax, 0x38 */ 1794 _flag_k = FK_ADD; 1795 /* cmp edx, ebx */ /* 0x250ACA1D: cmp edx, ebx */ 1796 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 1797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1798 _flag_k = FK_CMP; 1799 RECOMP_BACKEDGE(); 1800 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACA02; /* 0x250ACA1F: jne 0x250aca02 */ 1801 L_250ACA21: 1802 edx = MEM32(ebp + (-0x4)); /* 0x250ACA21: mov edx, dword ptr [ebp - 4] */ 1803 ebx = MEM32(edx + 0x8); /* 0x250ACA24: mov ebx, dword ptr [edx + 8] */ 1804 ecx = ebx; /* 0x250ACA27: mov ecx, ebx */ 1805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1807 ecx = ecx - edi; /* 0x250ACA29: sub ecx, edi */ 1808 _flag_k = FK_CMP; 1809 eax = 0x92492493u; /* 0x250ACA2B: mov eax, 0x92492493 */ 1810 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250ACA30: imul ecx */ 1811 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1812 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1813 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 1814 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1815 edx = edx + ecx; /* 0x250ACA32: add edx, ecx */ 1816 _flag_k = FK_ADD; 1817 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250ACA34: sar edx, 5 */ 1818 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1819 edx = (uint32_t)((int32_t)edx >> 5u); 1820 eax = edx; /* 0x250ACA37: mov eax, edx */ 1821 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250ACA39: shr eax, 0x1f */ 1822 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1823 eax = eax >> 31u; /* 0x250ACA39: shr eax, 0x1f */ 1824 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1826 edx = edx + eax; /* 0x250ACA3C: add edx, eax */ 1827 _flag_k = FK_ADD; 1828 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1830 esi = esi - edx; /* 0x250ACA3E: sub esi, edx */ 1831 _flag_k = FK_CMP; 1832 edx = MEM32(ebp + 0x10); /* 0x250ACA40: mov edx, dword ptr [ebp + 0x10] */ 1833 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_250ACA5F; /* 0x250ACA43: je 0x250aca5f */ 1834 L_250ACA45: 1835 eax = esi; /* 0x250ACA45: mov eax, esi */ 1836 L_250ACA47: 1837 /* test ebx, ebx */ /* 0x250ACA47: test ebx, ebx */ 1838 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 1839 _cf = 0; 1840 _flag_k = FK_TEST; 1841 if (TEST_Z(_flag_a, _flag_b)) goto L_250ACA59; /* 0x250ACA49: je 0x250aca59 */ 1842 L_250ACA4B: 1843 ecx = 0xEu; /* 0x250ACA4B: mov ecx, 0xe */ 1844 esi = edx; /* 0x250ACA50: mov esi, edx */ 1845 edi = ebx; /* 0x250ACA52: mov edi, ebx */ 1846 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ACA54: 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; } 1847 edi = MEM32(ebp + 0x8); /* 0x250ACA56: mov edi, dword ptr [ebp + 8] */ 1848 L_250ACA59: 1849 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x38u); 1850 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1851 ebx = ebx + 0x38u; /* 0x250ACA59: add ebx, 0x38 */ 1852 _flag_k = FK_ADD; 1853 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1854 eax = eax - 1; /* 0x250ACA5C: dec eax */ 1855 _flag_k = FK_DEC; 1856 RECOMP_BACKEDGE(); 1857 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250ACA47; /* 0x250ACA5D: jne 0x250aca47 */ 1858 L_250ACA5F: 1859 ecx = MEM32(ebp + (-0x4)); /* 0x250ACA5F: mov ecx, dword ptr [ebp - 4] */ 1860 ebx = MEM32(ecx + 0x8); /* 0x250ACA62: mov ebx, dword ptr [ecx + 8] */ 1861 /* cmp edi, ebx */ /* 0x250ACA65: cmp edi, ebx */ 1862 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1864 _flag_k = FK_CMP; 1865 eax = edi; /* 0x250ACA67: mov eax, edi */ 1866 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACA80; /* 0x250ACA69: je 0x250aca80 */ 1867 L_250ACA6B: 1868 edi = eax; /* 0x250ACA6B: mov edi, eax */ 1869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 1870 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1871 eax = eax + 0x38u; /* 0x250ACA6D: add eax, 0x38 */ 1872 _flag_k = FK_ADD; 1873 /* cmp eax, ebx */ /* 0x250ACA70: cmp eax, ebx */ 1874 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1876 _flag_k = FK_CMP; 1877 ecx = 0xEu; /* 0x250ACA72: mov ecx, 0xe */ 1878 esi = edx; /* 0x250ACA77: mov esi, edx */ 1879 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ACA79: 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; } 1880 RECOMP_BACKEDGE(); 1881 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACA6B; /* 0x250ACA7B: jne 0x250aca6b */ 1882 L_250ACA7D: 1883 ecx = MEM32(ebp + (-0x4)); /* 0x250ACA7D: mov ecx, dword ptr [ebp - 4] */ 1884 L_250ACA80: 1885 eax = MEM32(ecx + 0x8); /* 0x250ACA80: mov eax, dword ptr [ecx + 8] */ 1886 edx = MEM32(ebp + (-0xC)); /* 0x250ACA83: mov edx, dword ptr [ebp - 0xc] */ 1887 edi = POP32_VAL(esp); /* 0x250ACA86: pop edi */ 1888 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1889 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1890 eax = eax + edx; /* 0x250ACA87: add eax, edx */ 1891 _flag_k = FK_ADD; 1892 esi = POP32_VAL(esp); /* 0x250ACA89: pop esi */ 1893 MEM32(ecx + 0x8) = eax; /* 0x250ACA8A: mov dword ptr [ecx + 8], eax */ 1894 ebx = POP32_VAL(esp); /* 0x250ACA8D: pop ebx */ 1895 esp = ebp; /* 0x250ACA8E: mov esp, ebp */ 1896 ebp = POP32_VAL(esp); /* 0x250ACA90: pop ebp */ 1897 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250ACA91: ret 0xc */ 1898 L_250ACA94: 1899 /* test esi, esi */ /* 0x250ACA94: test esi, esi */ 1900 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1901 _cf = 0; 1902 _flag_k = FK_TEST; 1903 if (TEST_Z(_flag_a, _flag_b)) goto L_250ACB23; /* 0x250ACA96: jbe 0x250acb23 */ 1904 L_250ACA9C: 1905 edx = esi * 8; /* 0x250ACA9C: lea edx, [esi*8] */ 1906 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1908 edx = edx - esi; /* 0x250ACAA3: sub edx, esi */ 1909 _flag_k = FK_CMP; 1910 if (3u) _cf = (((edx) >> 29) & 1u); /* 0x250ACAA5: shl edx, 3 */ 1911 if (3u) { _flag_a = recomp_flags_pack((edx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1912 edx = edx << 3u; /* 0x250ACAA5: shl edx, 3 */ 1913 eax = ebx; /* 0x250ACAA8: mov eax, ebx */ 1914 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1916 eax = eax - edx; /* 0x250ACAAA: sub eax, edx */ 1917 _flag_k = FK_CMP; 1918 /* cmp eax, ebx */ /* 0x250ACAAC: cmp eax, ebx */ 1919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1921 _flag_k = FK_CMP; 1922 MEM32(ebp + 0xC) = ebx; /* 0x250ACAAE: mov dword ptr [ebp + 0xc], ebx */ 1923 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACAD9; /* 0x250ACAB1: je 0x250acad9 */ 1924 L_250ACAB3: 1925 ecx = MEM32(ebp + 0xC); /* 0x250ACAB3: mov ecx, dword ptr [ebp + 0xc] */ 1926 /* test ecx, ecx */ /* 0x250ACAB6: test ecx, ecx */ 1927 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1928 _cf = 0; 1929 _flag_k = FK_TEST; 1930 if (TEST_Z(_flag_a, _flag_b)) goto L_250ACAC9; /* 0x250ACAB8: je 0x250acac9 */ 1931 L_250ACABA: 1932 edi = MEM32(ebp + 0xC); /* 0x250ACABA: mov edi, dword ptr [ebp + 0xc] */ 1933 ecx = 0xEu; /* 0x250ACABD: mov ecx, 0xe */ 1934 esi = eax; /* 0x250ACAC2: mov esi, eax */ 1935 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ACAC4: 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; } 1936 edi = MEM32(ebp + 0x8); /* 0x250ACAC6: mov edi, dword ptr [ebp + 8] */ 1937 L_250ACAC9: 1938 ecx = MEM32(ebp + 0xC); /* 0x250ACAC9: mov ecx, dword ptr [ebp + 0xc] */ 1939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u); 1940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1941 ecx = ecx + 0x38u; /* 0x250ACACC: add ecx, 0x38 */ 1942 _flag_k = FK_ADD; 1943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 1944 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1945 eax = eax + 0x38u; /* 0x250ACACF: add eax, 0x38 */ 1946 _flag_k = FK_ADD; 1947 /* cmp eax, ebx */ /* 0x250ACAD2: cmp eax, ebx */ 1948 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1950 _flag_k = FK_CMP; 1951 MEM32(ebp + 0xC) = ecx; /* 0x250ACAD4: mov dword ptr [ebp + 0xc], ecx */ 1952 RECOMP_BACKEDGE(); 1953 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACAB3; /* 0x250ACAD7: jne 0x250acab3 */ 1954 L_250ACAD9: 1955 eax = MEM32(ebp + (-0x4)); /* 0x250ACAD9: mov eax, dword ptr [ebp - 4] */ 1956 ebx = MEM32(eax + 0x8); /* 0x250ACADC: mov ebx, dword ptr [eax + 8] */ 1957 eax = ebx; /* 0x250ACADF: mov eax, ebx */ 1958 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1960 eax = eax - edx; /* 0x250ACAE1: sub eax, edx */ 1961 _flag_k = FK_CMP; 1962 /* cmp edi, eax */ /* 0x250ACAE3: cmp edi, eax */ 1963 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1965 _flag_k = FK_CMP; 1966 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACB01; /* 0x250ACAE5: je 0x250acb01 */ 1967 L_250ACAE7: 1968 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 1969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1970 eax = eax - 0x38u; /* 0x250ACAE7: sub eax, 0x38 */ 1971 _flag_k = FK_CMP; 1972 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x38u); 1973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1974 ebx = ebx - 0x38u; /* 0x250ACAEA: sub ebx, 0x38 */ 1975 _flag_k = FK_CMP; 1976 ecx = 0xEu; /* 0x250ACAED: mov ecx, 0xe */ 1977 esi = eax; /* 0x250ACAF2: mov esi, eax */ 1978 edi = ebx; /* 0x250ACAF4: mov edi, ebx */ 1979 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ACAF6: 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; } 1980 ecx = MEM32(ebp + 0x8); /* 0x250ACAF8: mov ecx, dword ptr [ebp + 8] */ 1981 /* cmp eax, ecx */ /* 0x250ACAFB: cmp eax, ecx */ 1982 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1984 _flag_k = FK_CMP; 1985 RECOMP_BACKEDGE(); 1986 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACAE7; /* 0x250ACAFD: jne 0x250acae7 */ 1987 L_250ACAFF: 1988 edi = ecx; /* 0x250ACAFF: mov edi, ecx */ 1989 L_250ACB01: 1990 ebx = edx + edi; /* 0x250ACB01: lea ebx, [edx + edi] */ 1991 /* cmp edi, ebx */ /* 0x250ACB04: cmp edi, ebx */ 1992 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 1993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1994 _flag_k = FK_CMP; 1995 eax = edi; /* 0x250ACB06: mov eax, edi */ 1996 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACB1D; /* 0x250ACB08: je 0x250acb1d */ 1997 L_250ACB0A: 1998 esi = MEM32(ebp + 0x10); /* 0x250ACB0A: mov esi, dword ptr [ebp + 0x10] */ 1999 edi = eax; /* 0x250ACB0D: mov edi, eax */ 2000 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 2001 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2002 eax = eax + 0x38u; /* 0x250ACB0F: add eax, 0x38 */ 2003 _flag_k = FK_ADD; 2004 /* cmp eax, ebx */ /* 0x250ACB12: cmp eax, ebx */ 2005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2007 _flag_k = FK_CMP; 2008 ecx = 0xEu; /* 0x250ACB14: mov ecx, 0xe */ 2009 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ACB19: 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; } 2010 RECOMP_BACKEDGE(); 2011 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACB0A; /* 0x250ACB1B: jne 0x250acb0a */ 2012 L_250ACB1D: 2013 eax = MEM32(ebp + (-0x4)); /* 0x250ACB1D: mov eax, dword ptr [ebp - 4] */ 2014 _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(edx); 2015 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2016 MEM32(eax + 0x8) = MEM32(eax + 0x8) + edx; /* 0x250ACB20: add dword ptr [eax + 8], edx */ 2017 _flag_k = FK_ADD; 2018 L_250ACB23: 2019 edi = POP32_VAL(esp); /* 0x250ACB23: pop edi */ 2020 esi = POP32_VAL(esp); /* 0x250ACB24: pop esi */ 2021 ebx = POP32_VAL(esp); /* 0x250ACB25: pop ebx */ 2022 esp = ebp; /* 0x250ACB26: mov esp, ebp */ 2023 ebp = POP32_VAL(esp); /* 0x250ACB28: pop ebp */ 2024 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250ACB29: ret 0xc */ 2025 RECOMP_REGS_OUT(); 2026 } 2027 2028 void sub_250ACB30(void) { 2029 int _fpu_cmp = 0; 2030 uint32_t _cf = 0; 2031 int _df = 1; 2032 uint32_t _flag_k = FK_NONE; 2033 uint32_t _flag_a = 0, _flag_b = 0; 2034 uint32_t _itail_tgt = 0; 2035 RECOMP_REGS_LOCALS 2036 RECOMP_ENTER(0x250ACB30u); 2037 2038 L_250ACB30: 2039 PUSH32(esp, ebp); /* 0x250ACB30: push ebp */ 2040 ebp = esp; /* 0x250ACB31: mov ebp, esp */ 2041 PUSH32(esp, ecx); /* 0x250ACB33: push ecx */ 2042 PUSH32(esp, ebx); /* 0x250ACB34: push ebx */ 2043 PUSH32(esp, esi); /* 0x250ACB35: push esi */ 2044 PUSH32(esp, edi); /* 0x250ACB36: push edi */ 2045 PUSH32(esp, 0x1Cu); /* 0x250ACB37: push 0x1c */ 2046 esi = ecx; /* 0x250ACB39: mov esi, ecx */ 2047 RECOMP_ICALL(0x251380D0u); /* 0x250ACB3B: call 0x251380d0 */ /* not lifted */ 2048 RECOMP_FLAGS_IN(); 2049 edi = MEM32(ebp + 0x10); /* 0x250ACB40: mov edi, dword ptr [ebp + 0x10] */ 2050 ebx = MEM32(ebp + 0x14); /* 0x250ACB43: mov ebx, dword ptr [ebp + 0x14] */ 2051 MEM32(eax + 0x4) = edi; /* 0x250ACB46: mov dword ptr [eax + 4], edi */ 2052 MEM8(eax + 0x18) = (uint8_t)(0); /* 0x250ACB49: mov byte ptr [eax + 0x18], 0 */ 2053 MEM8(eax + 0x19) = (uint8_t)(0); /* 0x250ACB4D: mov byte ptr [eax + 0x19], 0 */ 2054 ecx = MEM32(esi + 0x8); /* 0x250ACB51: mov ecx, dword ptr [esi + 8] */ 2055 MEM32(eax) = ecx; /* 0x250ACB54: mov dword ptr [eax], ecx */ 2056 edx = MEM32(esi + 0x8); /* 0x250ACB56: mov edx, dword ptr [esi + 8] */ 2057 MEM32(ebp + (-0x4)) = eax; /* 0x250ACB59: mov dword ptr [ebp - 4], eax */ 2058 MEM32(eax + 0x8) = edx; /* 0x250ACB5C: mov dword ptr [eax + 8], edx */ 2059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 2060 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2061 eax = eax + 0xCu; /* 0x250ACB5F: add eax, 0xc */ 2062 _flag_k = FK_ADD; 2063 PUSH32(esp, ebx); /* 0x250ACB62: push ebx */ 2064 PUSH32(esp, eax); /* 0x250ACB63: push eax */ 2065 RECOMP_ICALL(0x250A19E0u); /* 0x250ACB64: call 0x250a19e0 */ /* not lifted */ 2066 RECOMP_FLAGS_IN(); 2067 ecx = MEM32(esi + 0x10); /* 0x250ACB69: mov ecx, dword ptr [esi + 0x10] */ 2068 eax = MEM32(esi + 0x4); /* 0x250ACB6C: mov eax, dword ptr [esi + 4] */ 2069 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2070 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2071 esp = esp + 0xCu; /* 0x250ACB6F: add esp, 0xc */ 2072 _flag_k = FK_ADD; 2073 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2074 ecx = ecx + 1; /* 0x250ACB72: inc ecx */ 2075 _flag_k = FK_INC; 2076 /* cmp edi, eax */ /* 0x250ACB73: cmp edi, eax */ 2077 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2079 _flag_k = FK_CMP; 2080 MEM32(esi + 0x10) = ecx; /* 0x250ACB75: mov dword ptr [esi + 0x10], ecx */ 2081 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBA4; /* 0x250ACB78: je 0x250acba4 */ 2082 L_250ACB7A: 2083 eax = MEM32(ebp + 0xC); /* 0x250ACB7A: mov eax, dword ptr [ebp + 0xc] */ 2084 /* cmp eax, MEM32(esi + 0x8) */ /* 0x250ACB7D: cmp eax, dword ptr [esi + 8] */ 2085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2087 _flag_k = FK_CMP; 2088 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBA4; /* 0x250ACB80: jne 0x250acba4 */ 2089 L_250ACB82: 2090 ecx = edi + 0xC; /* 0x250ACB82: lea ecx, [edi + 0xc] */ 2091 PUSH32(esp, ecx); /* 0x250ACB85: push ecx */ 2092 ecx = ebx; /* 0x250ACB86: mov ecx, ebx */ 2093 RECOMP_ICALL(0x250A1990u); /* 0x250ACB88: call 0x250a1990 */ /* not lifted */ 2094 RECOMP_FLAGS_IN(); 2095 /* test LO8(eax), LO8(eax) */ /* 0x250ACB8D: test al, al */ 2096 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2097 _cf = 0; 2098 _flag_k = FK_NARROW(FK_TEST, 24); 2099 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACBA4; /* 0x250ACB8F: jne 0x250acba4 */ 2100 L_250ACB91: 2101 ecx = MEM32(ebp + (-0x4)); /* 0x250ACB91: mov ecx, dword ptr [ebp - 4] */ 2102 MEM32(edi + 0x8) = ecx; /* 0x250ACB94: mov dword ptr [edi + 8], ecx */ 2103 eax = MEM32(esi + 0x4); /* 0x250ACB97: mov eax, dword ptr [esi + 4] */ 2104 /* cmp edi, MEM32(eax + 0x8) */ /* 0x250ACB9A: cmp edi, dword ptr [eax + 8] */ 2105 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 2106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2107 _flag_k = FK_CMP; 2108 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBC4; /* 0x250ACB9D: jne 0x250acbc4 */ 2109 L_250ACB9F: 2110 MEM32(eax + 0x8) = ecx; /* 0x250ACB9F: mov dword ptr [eax + 8], ecx */ 2111 goto L_250ACBC4; /* 0x250ACBA2: jmp 0x250acbc4 */ 2112 L_250ACBA4: 2113 ecx = MEM32(ebp + (-0x4)); /* 0x250ACBA4: mov ecx, dword ptr [ebp - 4] */ 2114 MEM32(edi) = ecx; /* 0x250ACBA7: mov dword ptr [edi], ecx */ 2115 eax = MEM32(esi + 0x4); /* 0x250ACBA9: mov eax, dword ptr [esi + 4] */ 2116 /* cmp edi, eax */ /* 0x250ACBAC: cmp edi, eax */ 2117 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2119 _flag_k = FK_CMP; 2120 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBBB; /* 0x250ACBAE: jne 0x250acbbb */ 2121 L_250ACBB0: 2122 MEM32(eax + 0x4) = ecx; /* 0x250ACBB0: mov dword ptr [eax + 4], ecx */ 2123 edx = MEM32(esi + 0x4); /* 0x250ACBB3: mov edx, dword ptr [esi + 4] */ 2124 MEM32(edx + 0x8) = ecx; /* 0x250ACBB6: mov dword ptr [edx + 8], ecx */ 2125 goto L_250ACBC4; /* 0x250ACBB9: jmp 0x250acbc4 */ 2126 L_250ACBBB: 2127 /* cmp edi, MEM32(eax) */ /* 0x250ACBBB: cmp edi, dword ptr [eax] */ 2128 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 2129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2130 _flag_k = FK_CMP; 2131 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBC4; /* 0x250ACBBD: jne 0x250acbc4 */ 2132 L_250ACBBF: 2133 ecx = MEM32(ebp + (-0x4)); /* 0x250ACBBF: mov ecx, dword ptr [ebp - 4] */ 2134 MEM32(eax) = ecx; /* 0x250ACBC2: mov dword ptr [eax], ecx */ 2135 L_250ACBC4: 2136 edx = MEM32(esi + 0x4); /* 0x250ACBC4: mov edx, dword ptr [esi + 4] */ 2137 eax = MEM32(ebp + (-0x4)); /* 0x250ACBC7: mov eax, dword ptr [ebp - 4] */ 2138 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACBCA: cmp eax, dword ptr [edx + 4] */ 2139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2141 _flag_k = FK_CMP; 2142 SET_LO8(ebx, 1); /* 0x250ACBCD: mov bl, 1 */ 2143 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBCF: je 0x250acd55 */ 2144 L_250ACBD5: 2145 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 2146 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 2147 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 2148 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2149 _cf = 0; 2150 _flag_k = FK_NARROW(FK_TEST, 24); 2151 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 2152 L_250ACBE3: 2153 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 2154 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 2155 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 2156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2158 _flag_k = FK_CMP; 2159 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 2160 L_250ACBF0: 2161 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 2162 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 2163 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 2164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2165 _flag_k = FK_NARROW(FK_CMP, 24); 2166 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 2167 L_250ACBF9: 2168 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 2169 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 2170 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 2171 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 2172 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 2173 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 2174 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 2175 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 2176 L_250ACC14: 2177 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 2178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 2179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2180 _flag_k = FK_CMP; 2181 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 2182 L_250ACC19: 2183 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 2184 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 2185 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 2186 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 2187 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 2188 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 2189 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2191 _flag_k = FK_CMP; 2192 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 2193 L_250ACC2A: 2194 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 2195 L_250ACC2D: 2196 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 2197 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 2198 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 2199 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 2200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2202 _flag_k = FK_CMP; 2203 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 2204 L_250ACC3B: 2205 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 2206 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 2207 L_250ACC40: 2208 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 2209 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 2210 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 2211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2212 _flag_k = FK_CMP; 2213 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 2214 L_250ACC47: 2215 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 2216 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 2217 L_250ACC4B: 2218 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 2219 L_250ACC4E: 2220 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 2221 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 2222 L_250ACC53: 2223 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 2224 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 2225 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 2226 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 2227 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 2228 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 2229 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 2230 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 2231 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 2232 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 2233 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 2234 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 2235 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2237 _flag_k = FK_CMP; 2238 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 2239 L_250ACC78: 2240 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 2241 L_250ACC7B: 2242 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 2243 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 2244 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 2245 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 2246 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2248 _flag_k = FK_CMP; 2249 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 2250 L_250ACC89: 2251 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 2252 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 2253 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 2254 L_250ACC94: 2255 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 2256 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 2257 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2259 _flag_k = FK_CMP; 2260 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 2261 L_250ACC9C: 2262 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 2263 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 2264 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 2265 L_250ACCA7: 2266 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 2267 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 2268 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 2269 L_250ACCB1: 2270 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 2271 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 2272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2273 _flag_k = FK_NARROW(FK_CMP, 24); 2274 RECOMP_BACKEDGE(); 2275 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 2276 L_250ACCBB: 2277 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 2278 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 2279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2280 _flag_k = FK_CMP; 2281 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 2282 L_250ACCBF: 2283 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 2284 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 2285 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 2286 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 2287 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 2288 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 2289 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2291 _flag_k = FK_CMP; 2292 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 2293 L_250ACCD0: 2294 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 2295 L_250ACCD3: 2296 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 2297 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 2298 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 2299 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 2300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2302 _flag_k = FK_CMP; 2303 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 2304 L_250ACCE1: 2305 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 2306 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 2307 L_250ACCE6: 2308 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 2309 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 2310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2312 _flag_k = FK_CMP; 2313 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 2314 L_250ACCEE: 2315 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 2316 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 2317 L_250ACCF3: 2318 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 2319 L_250ACCF5: 2320 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 2321 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 2322 L_250ACCFB: 2323 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 2324 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 2325 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 2326 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 2327 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 2328 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 2329 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 2330 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 2331 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 2332 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 2333 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 2334 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 2335 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2337 _flag_k = FK_CMP; 2338 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 2339 L_250ACD20: 2340 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 2341 L_250ACD23: 2342 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 2343 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 2344 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 2345 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 2346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2348 _flag_k = FK_CMP; 2349 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 2350 L_250ACD31: 2351 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 2352 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 2353 L_250ACD36: 2354 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 2355 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 2356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 2357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2358 _flag_k = FK_CMP; 2359 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 2360 L_250ACD3D: 2361 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 2362 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 2363 L_250ACD41: 2364 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 2365 L_250ACD44: 2366 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 2367 L_250ACD46: 2368 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 2369 L_250ACD49: 2370 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 2371 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 2372 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2374 _flag_k = FK_CMP; 2375 RECOMP_BACKEDGE(); 2376 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 2377 L_250ACD55: 2378 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 2379 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 2380 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 2381 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 2382 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 2383 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 2384 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 2385 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 2386 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 2387 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 2388 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 2389 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 2390 RECOMP_REGS_OUT(); 2391 } 2392 2393 void sub_250ACBD5(void) { 2394 int _fpu_cmp = 0; 2395 uint32_t _cf = 0; 2396 int _df = 1; 2397 uint32_t _flag_k = FK_NONE; 2398 uint32_t _flag_a = 0, _flag_b = 0; 2399 uint32_t _itail_tgt = 0; 2400 RECOMP_REGS_LOCALS 2401 RECOMP_ENTER(0x250ACBD5u); 2402 2403 L_250ACBD5: 2404 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 2405 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 2406 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 2407 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2408 _cf = 0; 2409 _flag_k = FK_NARROW(FK_TEST, 24); 2410 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 2411 L_250ACBE3: 2412 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 2413 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 2414 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 2415 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2417 _flag_k = FK_CMP; 2418 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 2419 L_250ACBF0: 2420 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 2421 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 2422 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 2423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2424 _flag_k = FK_NARROW(FK_CMP, 24); 2425 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 2426 L_250ACBF9: 2427 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 2428 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 2429 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 2430 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 2431 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 2432 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 2433 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 2434 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 2435 L_250ACC14: 2436 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 2437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 2438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2439 _flag_k = FK_CMP; 2440 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 2441 L_250ACC19: 2442 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 2443 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 2444 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 2445 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 2446 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 2447 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 2448 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2450 _flag_k = FK_CMP; 2451 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 2452 L_250ACC2A: 2453 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 2454 L_250ACC2D: 2455 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 2456 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 2457 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 2458 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 2459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2461 _flag_k = FK_CMP; 2462 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 2463 L_250ACC3B: 2464 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 2465 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 2466 L_250ACC40: 2467 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 2468 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 2469 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 2470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2471 _flag_k = FK_CMP; 2472 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 2473 L_250ACC47: 2474 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 2475 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 2476 L_250ACC4B: 2477 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 2478 L_250ACC4E: 2479 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 2480 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 2481 L_250ACC53: 2482 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 2483 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 2484 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 2485 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 2486 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 2487 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 2488 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 2489 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 2490 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 2491 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 2492 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 2493 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 2494 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2496 _flag_k = FK_CMP; 2497 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 2498 L_250ACC78: 2499 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 2500 L_250ACC7B: 2501 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 2502 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 2503 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 2504 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 2505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2507 _flag_k = FK_CMP; 2508 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 2509 L_250ACC89: 2510 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 2511 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 2512 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 2513 L_250ACC94: 2514 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 2515 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 2516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2518 _flag_k = FK_CMP; 2519 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 2520 L_250ACC9C: 2521 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 2522 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 2523 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 2524 L_250ACCA7: 2525 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 2526 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 2527 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 2528 L_250ACCB1: 2529 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 2530 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 2531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2532 _flag_k = FK_NARROW(FK_CMP, 24); 2533 RECOMP_BACKEDGE(); 2534 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 2535 L_250ACCBB: 2536 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 2537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 2538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2539 _flag_k = FK_CMP; 2540 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 2541 L_250ACCBF: 2542 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 2543 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 2544 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 2545 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 2546 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 2547 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 2548 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2550 _flag_k = FK_CMP; 2551 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 2552 L_250ACCD0: 2553 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 2554 L_250ACCD3: 2555 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 2556 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 2557 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 2558 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 2559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2561 _flag_k = FK_CMP; 2562 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 2563 L_250ACCE1: 2564 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 2565 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 2566 L_250ACCE6: 2567 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 2568 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 2569 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2571 _flag_k = FK_CMP; 2572 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 2573 L_250ACCEE: 2574 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 2575 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 2576 L_250ACCF3: 2577 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 2578 L_250ACCF5: 2579 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 2580 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 2581 L_250ACCFB: 2582 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 2583 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 2584 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 2585 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 2586 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 2587 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 2588 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 2589 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 2590 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 2591 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 2592 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 2593 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 2594 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2596 _flag_k = FK_CMP; 2597 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 2598 L_250ACD20: 2599 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 2600 L_250ACD23: 2601 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 2602 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 2603 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 2604 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 2605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2607 _flag_k = FK_CMP; 2608 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 2609 L_250ACD31: 2610 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 2611 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 2612 L_250ACD36: 2613 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 2614 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 2615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 2616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2617 _flag_k = FK_CMP; 2618 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 2619 L_250ACD3D: 2620 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 2621 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 2622 L_250ACD41: 2623 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 2624 L_250ACD44: 2625 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 2626 L_250ACD46: 2627 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 2628 L_250ACD49: 2629 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 2630 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 2631 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2633 _flag_k = FK_CMP; 2634 RECOMP_BACKEDGE(); 2635 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 2636 L_250ACD55: 2637 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 2638 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 2639 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 2640 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 2641 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 2642 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 2643 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 2644 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 2645 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 2646 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 2647 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 2648 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 2649 RECOMP_REGS_OUT(); 2650 } 2651 2652 void sub_250ACBF9(void) { 2653 int _fpu_cmp = 0; 2654 uint32_t _cf = 0; 2655 int _df = 1; 2656 uint32_t _flag_k = FK_NONE; 2657 uint32_t _flag_a = 0, _flag_b = 0; 2658 uint32_t _itail_tgt = 0; 2659 RECOMP_REGS_LOCALS 2660 RECOMP_ENTER(0x250ACBF9u); 2661 2662 goto L_250ACBF9; 2663 L_250ACBD5: 2664 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 2665 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 2666 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 2667 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2668 _cf = 0; 2669 _flag_k = FK_NARROW(FK_TEST, 24); 2670 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 2671 L_250ACBE3: 2672 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 2673 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 2674 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 2675 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2677 _flag_k = FK_CMP; 2678 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 2679 L_250ACBF0: 2680 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 2681 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 2682 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 2683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2684 _flag_k = FK_NARROW(FK_CMP, 24); 2685 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 2686 L_250ACBF9: 2687 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 2688 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 2689 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 2690 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 2691 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 2692 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 2693 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 2694 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 2695 L_250ACC14: 2696 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 2697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 2698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2699 _flag_k = FK_CMP; 2700 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 2701 L_250ACC19: 2702 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 2703 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 2704 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 2705 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 2706 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 2707 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 2708 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2710 _flag_k = FK_CMP; 2711 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 2712 L_250ACC2A: 2713 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 2714 L_250ACC2D: 2715 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 2716 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 2717 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 2718 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 2719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2721 _flag_k = FK_CMP; 2722 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 2723 L_250ACC3B: 2724 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 2725 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 2726 L_250ACC40: 2727 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 2728 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 2729 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 2730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2731 _flag_k = FK_CMP; 2732 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 2733 L_250ACC47: 2734 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 2735 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 2736 L_250ACC4B: 2737 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 2738 L_250ACC4E: 2739 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 2740 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 2741 L_250ACC53: 2742 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 2743 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 2744 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 2745 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 2746 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 2747 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 2748 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 2749 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 2750 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 2751 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 2752 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 2753 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 2754 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2756 _flag_k = FK_CMP; 2757 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 2758 L_250ACC78: 2759 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 2760 L_250ACC7B: 2761 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 2762 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 2763 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 2764 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 2765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2767 _flag_k = FK_CMP; 2768 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 2769 L_250ACC89: 2770 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 2771 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 2772 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 2773 L_250ACC94: 2774 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 2775 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 2776 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2778 _flag_k = FK_CMP; 2779 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 2780 L_250ACC9C: 2781 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 2782 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 2783 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 2784 L_250ACCA7: 2785 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 2786 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 2787 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 2788 L_250ACCB1: 2789 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 2790 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 2791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2792 _flag_k = FK_NARROW(FK_CMP, 24); 2793 RECOMP_BACKEDGE(); 2794 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 2795 L_250ACCBB: 2796 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 2797 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 2798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2799 _flag_k = FK_CMP; 2800 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 2801 L_250ACCBF: 2802 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 2803 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 2804 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 2805 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 2806 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 2807 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 2808 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2810 _flag_k = FK_CMP; 2811 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 2812 L_250ACCD0: 2813 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 2814 L_250ACCD3: 2815 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 2816 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 2817 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 2818 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 2819 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2821 _flag_k = FK_CMP; 2822 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 2823 L_250ACCE1: 2824 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 2825 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 2826 L_250ACCE6: 2827 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 2828 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 2829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2831 _flag_k = FK_CMP; 2832 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 2833 L_250ACCEE: 2834 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 2835 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 2836 L_250ACCF3: 2837 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 2838 L_250ACCF5: 2839 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 2840 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 2841 L_250ACCFB: 2842 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 2843 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 2844 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 2845 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 2846 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 2847 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 2848 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 2849 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 2850 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 2851 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 2852 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 2853 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 2854 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2856 _flag_k = FK_CMP; 2857 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 2858 L_250ACD20: 2859 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 2860 L_250ACD23: 2861 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 2862 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 2863 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 2864 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 2865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2867 _flag_k = FK_CMP; 2868 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 2869 L_250ACD31: 2870 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 2871 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 2872 L_250ACD36: 2873 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 2874 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 2875 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 2876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2877 _flag_k = FK_CMP; 2878 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 2879 L_250ACD3D: 2880 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 2881 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 2882 L_250ACD41: 2883 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 2884 L_250ACD44: 2885 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 2886 L_250ACD46: 2887 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 2888 L_250ACD49: 2889 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 2890 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 2891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2893 _flag_k = FK_CMP; 2894 RECOMP_BACKEDGE(); 2895 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 2896 L_250ACD55: 2897 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 2898 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 2899 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 2900 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 2901 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 2902 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 2903 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 2904 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 2905 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 2906 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 2907 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 2908 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 2909 RECOMP_REGS_OUT(); 2910 } 2911 2912 void sub_250ACC4E(void) { 2913 int _fpu_cmp = 0; 2914 uint32_t _cf = 0; 2915 int _df = 1; 2916 uint32_t _flag_k = FK_NONE; 2917 uint32_t _flag_a = 0, _flag_b = 0; 2918 uint32_t _itail_tgt = 0; 2919 RECOMP_REGS_LOCALS 2920 RECOMP_ENTER(0x250ACC4Eu); 2921 2922 goto L_250ACC4E; 2923 L_250ACBD5: 2924 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 2925 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 2926 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 2927 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2928 _cf = 0; 2929 _flag_k = FK_NARROW(FK_TEST, 24); 2930 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 2931 L_250ACBE3: 2932 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 2933 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 2934 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 2935 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2937 _flag_k = FK_CMP; 2938 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 2939 L_250ACBF0: 2940 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 2941 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 2942 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 2943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2944 _flag_k = FK_NARROW(FK_CMP, 24); 2945 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 2946 L_250ACBF9: 2947 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 2948 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 2949 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 2950 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 2951 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 2952 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 2953 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 2954 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 2955 L_250ACC14: 2956 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 2957 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 2958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2959 _flag_k = FK_CMP; 2960 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 2961 L_250ACC19: 2962 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 2963 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 2964 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 2965 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 2966 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 2967 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 2968 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2970 _flag_k = FK_CMP; 2971 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 2972 L_250ACC2A: 2973 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 2974 L_250ACC2D: 2975 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 2976 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 2977 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 2978 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 2979 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2981 _flag_k = FK_CMP; 2982 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 2983 L_250ACC3B: 2984 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 2985 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 2986 L_250ACC40: 2987 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 2988 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 2989 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 2990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2991 _flag_k = FK_CMP; 2992 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 2993 L_250ACC47: 2994 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 2995 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 2996 L_250ACC4B: 2997 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 2998 L_250ACC4E: 2999 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 3000 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 3001 L_250ACC53: 3002 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 3003 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 3004 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 3005 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 3006 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 3007 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 3008 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 3009 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 3010 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 3011 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 3012 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 3013 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 3014 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3016 _flag_k = FK_CMP; 3017 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 3018 L_250ACC78: 3019 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 3020 L_250ACC7B: 3021 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 3022 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 3023 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 3024 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 3025 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3027 _flag_k = FK_CMP; 3028 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 3029 L_250ACC89: 3030 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 3031 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 3032 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 3033 L_250ACC94: 3034 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 3035 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 3036 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3038 _flag_k = FK_CMP; 3039 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 3040 L_250ACC9C: 3041 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 3042 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 3043 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 3044 L_250ACCA7: 3045 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 3046 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 3047 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 3048 L_250ACCB1: 3049 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 3050 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 3051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3052 _flag_k = FK_NARROW(FK_CMP, 24); 3053 RECOMP_BACKEDGE(); 3054 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 3055 L_250ACCBB: 3056 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 3057 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 3058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3059 _flag_k = FK_CMP; 3060 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 3061 L_250ACCBF: 3062 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 3063 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 3064 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 3065 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 3066 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 3067 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 3068 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3070 _flag_k = FK_CMP; 3071 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 3072 L_250ACCD0: 3073 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 3074 L_250ACCD3: 3075 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 3076 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 3077 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 3078 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 3079 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3081 _flag_k = FK_CMP; 3082 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 3083 L_250ACCE1: 3084 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 3085 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 3086 L_250ACCE6: 3087 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 3088 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 3089 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3091 _flag_k = FK_CMP; 3092 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 3093 L_250ACCEE: 3094 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 3095 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 3096 L_250ACCF3: 3097 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 3098 L_250ACCF5: 3099 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 3100 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 3101 L_250ACCFB: 3102 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 3103 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 3104 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 3105 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 3106 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 3107 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 3108 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 3109 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 3110 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 3111 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 3112 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 3113 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 3114 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3116 _flag_k = FK_CMP; 3117 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 3118 L_250ACD20: 3119 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 3120 L_250ACD23: 3121 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 3122 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 3123 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 3124 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 3125 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3127 _flag_k = FK_CMP; 3128 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 3129 L_250ACD31: 3130 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 3131 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 3132 L_250ACD36: 3133 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 3134 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 3135 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 3136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3137 _flag_k = FK_CMP; 3138 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 3139 L_250ACD3D: 3140 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 3141 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 3142 L_250ACD41: 3143 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 3144 L_250ACD44: 3145 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 3146 L_250ACD46: 3147 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 3148 L_250ACD49: 3149 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 3150 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 3151 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3153 _flag_k = FK_CMP; 3154 RECOMP_BACKEDGE(); 3155 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 3156 L_250ACD55: 3157 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 3158 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 3159 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 3160 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 3161 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 3162 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 3163 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 3164 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 3165 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 3166 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 3167 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 3168 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 3169 RECOMP_REGS_OUT(); 3170 } 3171 3172 void sub_250ACC53(void) { 3173 int _fpu_cmp = 0; 3174 uint32_t _cf = 0; 3175 int _df = 1; 3176 uint32_t _flag_k = FK_NONE; 3177 uint32_t _flag_a = 0, _flag_b = 0; 3178 uint32_t _itail_tgt = 0; 3179 RECOMP_REGS_LOCALS 3180 RECOMP_ENTER(0x250ACC53u); 3181 3182 goto L_250ACC53; 3183 L_250ACBD5: 3184 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 3185 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 3186 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 3187 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3188 _cf = 0; 3189 _flag_k = FK_NARROW(FK_TEST, 24); 3190 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 3191 L_250ACBE3: 3192 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 3193 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 3194 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 3195 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3197 _flag_k = FK_CMP; 3198 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 3199 L_250ACBF0: 3200 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 3201 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 3202 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 3203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3204 _flag_k = FK_NARROW(FK_CMP, 24); 3205 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 3206 L_250ACBF9: 3207 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 3208 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 3209 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 3210 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 3211 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 3212 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 3213 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 3214 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 3215 L_250ACC14: 3216 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 3217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 3218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3219 _flag_k = FK_CMP; 3220 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 3221 L_250ACC19: 3222 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 3223 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 3224 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 3225 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 3226 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 3227 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 3228 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3230 _flag_k = FK_CMP; 3231 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 3232 L_250ACC2A: 3233 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 3234 L_250ACC2D: 3235 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 3236 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 3237 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 3238 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 3239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3241 _flag_k = FK_CMP; 3242 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 3243 L_250ACC3B: 3244 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 3245 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 3246 L_250ACC40: 3247 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 3248 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 3249 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 3250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3251 _flag_k = FK_CMP; 3252 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 3253 L_250ACC47: 3254 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 3255 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 3256 L_250ACC4B: 3257 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 3258 L_250ACC4E: 3259 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 3260 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 3261 L_250ACC53: 3262 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 3263 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 3264 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 3265 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 3266 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 3267 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 3268 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 3269 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 3270 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 3271 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 3272 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 3273 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 3274 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3276 _flag_k = FK_CMP; 3277 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 3278 L_250ACC78: 3279 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 3280 L_250ACC7B: 3281 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 3282 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 3283 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 3284 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 3285 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3287 _flag_k = FK_CMP; 3288 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 3289 L_250ACC89: 3290 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 3291 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 3292 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 3293 L_250ACC94: 3294 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 3295 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 3296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3298 _flag_k = FK_CMP; 3299 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 3300 L_250ACC9C: 3301 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 3302 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 3303 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 3304 L_250ACCA7: 3305 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 3306 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 3307 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 3308 L_250ACCB1: 3309 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 3310 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 3311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3312 _flag_k = FK_NARROW(FK_CMP, 24); 3313 RECOMP_BACKEDGE(); 3314 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 3315 L_250ACCBB: 3316 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 3317 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 3318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3319 _flag_k = FK_CMP; 3320 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 3321 L_250ACCBF: 3322 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 3323 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 3324 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 3325 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 3326 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 3327 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 3328 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3330 _flag_k = FK_CMP; 3331 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 3332 L_250ACCD0: 3333 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 3334 L_250ACCD3: 3335 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 3336 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 3337 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 3338 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 3339 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3341 _flag_k = FK_CMP; 3342 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 3343 L_250ACCE1: 3344 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 3345 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 3346 L_250ACCE6: 3347 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 3348 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 3349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3351 _flag_k = FK_CMP; 3352 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 3353 L_250ACCEE: 3354 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 3355 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 3356 L_250ACCF3: 3357 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 3358 L_250ACCF5: 3359 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 3360 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 3361 L_250ACCFB: 3362 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 3363 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 3364 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 3365 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 3366 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 3367 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 3368 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 3369 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 3370 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 3371 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 3372 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 3373 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 3374 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3376 _flag_k = FK_CMP; 3377 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 3378 L_250ACD20: 3379 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 3380 L_250ACD23: 3381 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 3382 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 3383 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 3384 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 3385 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3387 _flag_k = FK_CMP; 3388 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 3389 L_250ACD31: 3390 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 3391 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 3392 L_250ACD36: 3393 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 3394 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 3395 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 3396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3397 _flag_k = FK_CMP; 3398 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 3399 L_250ACD3D: 3400 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 3401 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 3402 L_250ACD41: 3403 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 3404 L_250ACD44: 3405 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 3406 L_250ACD46: 3407 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 3408 L_250ACD49: 3409 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 3410 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 3411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3413 _flag_k = FK_CMP; 3414 RECOMP_BACKEDGE(); 3415 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 3416 L_250ACD55: 3417 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 3418 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 3419 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 3420 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 3421 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 3422 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 3423 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 3424 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 3425 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 3426 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 3427 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 3428 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 3429 RECOMP_REGS_OUT(); 3430 } 3431 3432 void sub_250ACCB1(void) { 3433 int _fpu_cmp = 0; 3434 uint32_t _cf = 0; 3435 int _df = 1; 3436 uint32_t _flag_k = FK_NONE; 3437 uint32_t _flag_a = 0, _flag_b = 0; 3438 uint32_t _itail_tgt = 0; 3439 RECOMP_REGS_LOCALS 3440 RECOMP_ENTER(0x250ACCB1u); 3441 3442 goto L_250ACCB1; 3443 L_250ACBD5: 3444 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 3445 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 3446 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 3447 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3448 _cf = 0; 3449 _flag_k = FK_NARROW(FK_TEST, 24); 3450 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 3451 L_250ACBE3: 3452 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 3453 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 3454 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 3455 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3457 _flag_k = FK_CMP; 3458 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 3459 L_250ACBF0: 3460 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 3461 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 3462 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 3463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3464 _flag_k = FK_NARROW(FK_CMP, 24); 3465 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 3466 L_250ACBF9: 3467 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 3468 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 3469 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 3470 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 3471 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 3472 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 3473 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 3474 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 3475 L_250ACC14: 3476 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 3477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 3478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3479 _flag_k = FK_CMP; 3480 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 3481 L_250ACC19: 3482 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 3483 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 3484 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 3485 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 3486 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 3487 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 3488 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3490 _flag_k = FK_CMP; 3491 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 3492 L_250ACC2A: 3493 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 3494 L_250ACC2D: 3495 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 3496 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 3497 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 3498 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 3499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3501 _flag_k = FK_CMP; 3502 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 3503 L_250ACC3B: 3504 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 3505 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 3506 L_250ACC40: 3507 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 3508 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 3509 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 3510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3511 _flag_k = FK_CMP; 3512 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 3513 L_250ACC47: 3514 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 3515 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 3516 L_250ACC4B: 3517 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 3518 L_250ACC4E: 3519 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 3520 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 3521 L_250ACC53: 3522 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 3523 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 3524 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 3525 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 3526 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 3527 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 3528 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 3529 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 3530 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 3531 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 3532 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 3533 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 3534 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3536 _flag_k = FK_CMP; 3537 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 3538 L_250ACC78: 3539 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 3540 L_250ACC7B: 3541 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 3542 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 3543 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 3544 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 3545 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3547 _flag_k = FK_CMP; 3548 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 3549 L_250ACC89: 3550 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 3551 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 3552 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 3553 L_250ACC94: 3554 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 3555 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 3556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3558 _flag_k = FK_CMP; 3559 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 3560 L_250ACC9C: 3561 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 3562 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 3563 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 3564 L_250ACCA7: 3565 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 3566 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 3567 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 3568 L_250ACCB1: 3569 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 3570 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 3571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3572 _flag_k = FK_NARROW(FK_CMP, 24); 3573 RECOMP_BACKEDGE(); 3574 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 3575 L_250ACCBB: 3576 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 3577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 3578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3579 _flag_k = FK_CMP; 3580 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 3581 L_250ACCBF: 3582 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 3583 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 3584 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 3585 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 3586 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 3587 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 3588 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3590 _flag_k = FK_CMP; 3591 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 3592 L_250ACCD0: 3593 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 3594 L_250ACCD3: 3595 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 3596 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 3597 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 3598 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 3599 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3601 _flag_k = FK_CMP; 3602 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 3603 L_250ACCE1: 3604 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 3605 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 3606 L_250ACCE6: 3607 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 3608 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 3609 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3611 _flag_k = FK_CMP; 3612 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 3613 L_250ACCEE: 3614 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 3615 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 3616 L_250ACCF3: 3617 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 3618 L_250ACCF5: 3619 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 3620 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 3621 L_250ACCFB: 3622 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 3623 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 3624 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 3625 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 3626 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 3627 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 3628 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 3629 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 3630 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 3631 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 3632 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 3633 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 3634 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3636 _flag_k = FK_CMP; 3637 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 3638 L_250ACD20: 3639 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 3640 L_250ACD23: 3641 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 3642 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 3643 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 3644 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 3645 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3647 _flag_k = FK_CMP; 3648 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 3649 L_250ACD31: 3650 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 3651 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 3652 L_250ACD36: 3653 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 3654 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 3655 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 3656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3657 _flag_k = FK_CMP; 3658 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 3659 L_250ACD3D: 3660 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 3661 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 3662 L_250ACD41: 3663 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 3664 L_250ACD44: 3665 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 3666 L_250ACD46: 3667 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 3668 L_250ACD49: 3669 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 3670 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 3671 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3673 _flag_k = FK_CMP; 3674 RECOMP_BACKEDGE(); 3675 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 3676 L_250ACD55: 3677 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 3678 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 3679 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 3680 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 3681 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 3682 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 3683 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 3684 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 3685 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 3686 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 3687 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 3688 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 3689 RECOMP_REGS_OUT(); 3690 } 3691 3692 void sub_250ACCF5(void) { 3693 int _fpu_cmp = 0; 3694 uint32_t _cf = 0; 3695 int _df = 1; 3696 uint32_t _flag_k = FK_NONE; 3697 uint32_t _flag_a = 0, _flag_b = 0; 3698 uint32_t _itail_tgt = 0; 3699 RECOMP_REGS_LOCALS 3700 RECOMP_ENTER(0x250ACCF5u); 3701 3702 goto L_250ACCF5; 3703 L_250ACBD5: 3704 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 3705 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 3706 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 3707 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3708 _cf = 0; 3709 _flag_k = FK_NARROW(FK_TEST, 24); 3710 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 3711 L_250ACBE3: 3712 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 3713 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 3714 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 3715 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3717 _flag_k = FK_CMP; 3718 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 3719 L_250ACBF0: 3720 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 3721 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 3722 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 3723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3724 _flag_k = FK_NARROW(FK_CMP, 24); 3725 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 3726 L_250ACBF9: 3727 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 3728 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 3729 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 3730 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 3731 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 3732 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 3733 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 3734 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 3735 L_250ACC14: 3736 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 3737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 3738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3739 _flag_k = FK_CMP; 3740 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 3741 L_250ACC19: 3742 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 3743 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 3744 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 3745 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 3746 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 3747 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 3748 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3750 _flag_k = FK_CMP; 3751 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 3752 L_250ACC2A: 3753 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 3754 L_250ACC2D: 3755 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 3756 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 3757 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 3758 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 3759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3761 _flag_k = FK_CMP; 3762 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 3763 L_250ACC3B: 3764 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 3765 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 3766 L_250ACC40: 3767 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 3768 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 3769 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 3770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3771 _flag_k = FK_CMP; 3772 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 3773 L_250ACC47: 3774 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 3775 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 3776 L_250ACC4B: 3777 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 3778 L_250ACC4E: 3779 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 3780 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 3781 L_250ACC53: 3782 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 3783 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 3784 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 3785 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 3786 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 3787 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 3788 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 3789 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 3790 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 3791 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 3792 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 3793 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 3794 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3796 _flag_k = FK_CMP; 3797 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 3798 L_250ACC78: 3799 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 3800 L_250ACC7B: 3801 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 3802 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 3803 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 3804 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 3805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3807 _flag_k = FK_CMP; 3808 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 3809 L_250ACC89: 3810 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 3811 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 3812 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 3813 L_250ACC94: 3814 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 3815 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 3816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3818 _flag_k = FK_CMP; 3819 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 3820 L_250ACC9C: 3821 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 3822 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 3823 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 3824 L_250ACCA7: 3825 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 3826 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 3827 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 3828 L_250ACCB1: 3829 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 3830 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 3831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3832 _flag_k = FK_NARROW(FK_CMP, 24); 3833 RECOMP_BACKEDGE(); 3834 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 3835 L_250ACCBB: 3836 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 3837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 3838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3839 _flag_k = FK_CMP; 3840 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 3841 L_250ACCBF: 3842 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 3843 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 3844 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 3845 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 3846 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 3847 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 3848 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3850 _flag_k = FK_CMP; 3851 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 3852 L_250ACCD0: 3853 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 3854 L_250ACCD3: 3855 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 3856 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 3857 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 3858 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 3859 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3861 _flag_k = FK_CMP; 3862 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 3863 L_250ACCE1: 3864 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 3865 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 3866 L_250ACCE6: 3867 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 3868 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 3869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3871 _flag_k = FK_CMP; 3872 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 3873 L_250ACCEE: 3874 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 3875 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 3876 L_250ACCF3: 3877 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 3878 L_250ACCF5: 3879 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 3880 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 3881 L_250ACCFB: 3882 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 3883 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 3884 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 3885 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 3886 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 3887 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 3888 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 3889 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 3890 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 3891 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 3892 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 3893 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 3894 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3896 _flag_k = FK_CMP; 3897 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 3898 L_250ACD20: 3899 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 3900 L_250ACD23: 3901 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 3902 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 3903 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 3904 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 3905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3907 _flag_k = FK_CMP; 3908 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 3909 L_250ACD31: 3910 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 3911 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 3912 L_250ACD36: 3913 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 3914 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 3915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 3916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3917 _flag_k = FK_CMP; 3918 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 3919 L_250ACD3D: 3920 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 3921 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 3922 L_250ACD41: 3923 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 3924 L_250ACD44: 3925 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 3926 L_250ACD46: 3927 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 3928 L_250ACD49: 3929 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 3930 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 3931 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3933 _flag_k = FK_CMP; 3934 RECOMP_BACKEDGE(); 3935 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 3936 L_250ACD55: 3937 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 3938 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 3939 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 3940 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 3941 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 3942 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 3943 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 3944 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 3945 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 3946 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 3947 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 3948 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 3949 RECOMP_REGS_OUT(); 3950 } 3951 3952 void sub_250ACCFB(void) { 3953 int _fpu_cmp = 0; 3954 uint32_t _cf = 0; 3955 int _df = 1; 3956 uint32_t _flag_k = FK_NONE; 3957 uint32_t _flag_a = 0, _flag_b = 0; 3958 uint32_t _itail_tgt = 0; 3959 RECOMP_REGS_LOCALS 3960 RECOMP_ENTER(0x250ACCFBu); 3961 3962 goto L_250ACCFB; 3963 L_250ACBD5: 3964 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 3965 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 3966 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 3967 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3968 _cf = 0; 3969 _flag_k = FK_NARROW(FK_TEST, 24); 3970 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 3971 L_250ACBE3: 3972 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 3973 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 3974 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 3975 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3977 _flag_k = FK_CMP; 3978 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 3979 L_250ACBF0: 3980 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 3981 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 3982 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 3983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3984 _flag_k = FK_NARROW(FK_CMP, 24); 3985 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 3986 L_250ACBF9: 3987 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 3988 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 3989 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 3990 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 3991 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 3992 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 3993 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 3994 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 3995 L_250ACC14: 3996 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 3997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 3998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3999 _flag_k = FK_CMP; 4000 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 4001 L_250ACC19: 4002 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 4003 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 4004 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 4005 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 4006 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 4007 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 4008 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4010 _flag_k = FK_CMP; 4011 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 4012 L_250ACC2A: 4013 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 4014 L_250ACC2D: 4015 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 4016 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 4017 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 4018 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 4019 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4021 _flag_k = FK_CMP; 4022 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 4023 L_250ACC3B: 4024 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 4025 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 4026 L_250ACC40: 4027 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 4028 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 4029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 4030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4031 _flag_k = FK_CMP; 4032 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 4033 L_250ACC47: 4034 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 4035 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 4036 L_250ACC4B: 4037 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 4038 L_250ACC4E: 4039 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 4040 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 4041 L_250ACC53: 4042 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 4043 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 4044 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 4045 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 4046 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 4047 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 4048 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 4049 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 4050 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 4051 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 4052 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 4053 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 4054 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4056 _flag_k = FK_CMP; 4057 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 4058 L_250ACC78: 4059 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 4060 L_250ACC7B: 4061 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 4062 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 4063 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 4064 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 4065 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4067 _flag_k = FK_CMP; 4068 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 4069 L_250ACC89: 4070 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 4071 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 4072 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 4073 L_250ACC94: 4074 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 4075 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 4076 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4078 _flag_k = FK_CMP; 4079 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 4080 L_250ACC9C: 4081 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 4082 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 4083 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 4084 L_250ACCA7: 4085 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 4086 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 4087 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 4088 L_250ACCB1: 4089 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 4090 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 4091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4092 _flag_k = FK_NARROW(FK_CMP, 24); 4093 RECOMP_BACKEDGE(); 4094 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 4095 L_250ACCBB: 4096 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 4097 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 4098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4099 _flag_k = FK_CMP; 4100 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 4101 L_250ACCBF: 4102 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 4103 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 4104 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 4105 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 4106 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 4107 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 4108 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4110 _flag_k = FK_CMP; 4111 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 4112 L_250ACCD0: 4113 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 4114 L_250ACCD3: 4115 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 4116 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 4117 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 4118 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 4119 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4121 _flag_k = FK_CMP; 4122 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 4123 L_250ACCE1: 4124 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 4125 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 4126 L_250ACCE6: 4127 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 4128 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 4129 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 4130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4131 _flag_k = FK_CMP; 4132 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 4133 L_250ACCEE: 4134 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 4135 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 4136 L_250ACCF3: 4137 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 4138 L_250ACCF5: 4139 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 4140 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 4141 L_250ACCFB: 4142 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 4143 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 4144 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 4145 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 4146 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 4147 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 4148 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 4149 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 4150 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 4151 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 4152 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 4153 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 4154 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4156 _flag_k = FK_CMP; 4157 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 4158 L_250ACD20: 4159 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 4160 L_250ACD23: 4161 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 4162 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 4163 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 4164 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 4165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4167 _flag_k = FK_CMP; 4168 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 4169 L_250ACD31: 4170 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 4171 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 4172 L_250ACD36: 4173 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 4174 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 4175 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 4176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4177 _flag_k = FK_CMP; 4178 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 4179 L_250ACD3D: 4180 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 4181 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 4182 L_250ACD41: 4183 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 4184 L_250ACD44: 4185 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 4186 L_250ACD46: 4187 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 4188 L_250ACD49: 4189 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 4190 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 4191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 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_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 4196 L_250ACD55: 4197 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 4198 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 4199 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 4200 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 4201 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 4202 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 4203 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 4204 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 4205 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 4206 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 4207 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 4208 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 4209 RECOMP_REGS_OUT(); 4210 } 4211 4212 void sub_250ACD44(void) { 4213 int _fpu_cmp = 0; 4214 uint32_t _cf = 0; 4215 int _df = 1; 4216 uint32_t _flag_k = FK_NONE; 4217 uint32_t _flag_a = 0, _flag_b = 0; 4218 uint32_t _itail_tgt = 0; 4219 RECOMP_REGS_LOCALS 4220 RECOMP_ENTER(0x250ACD44u); 4221 4222 goto L_250ACD44; 4223 L_250ACBD5: 4224 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 4225 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 4226 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 4227 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4228 _cf = 0; 4229 _flag_k = FK_NARROW(FK_TEST, 24); 4230 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 4231 L_250ACBE3: 4232 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 4233 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 4234 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 4235 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 4236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4237 _flag_k = FK_CMP; 4238 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 4239 L_250ACBF0: 4240 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 4241 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 4242 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 4243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4244 _flag_k = FK_NARROW(FK_CMP, 24); 4245 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 4246 L_250ACBF9: 4247 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 4248 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 4249 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 4250 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 4251 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 4252 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 4253 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 4254 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 4255 L_250ACC14: 4256 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 4257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 4258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4259 _flag_k = FK_CMP; 4260 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 4261 L_250ACC19: 4262 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 4263 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 4264 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 4265 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 4266 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 4267 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 4268 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4270 _flag_k = FK_CMP; 4271 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 4272 L_250ACC2A: 4273 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 4274 L_250ACC2D: 4275 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 4276 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 4277 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 4278 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 4279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4281 _flag_k = FK_CMP; 4282 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 4283 L_250ACC3B: 4284 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 4285 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 4286 L_250ACC40: 4287 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 4288 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 4289 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 4290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4291 _flag_k = FK_CMP; 4292 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 4293 L_250ACC47: 4294 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 4295 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 4296 L_250ACC4B: 4297 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 4298 L_250ACC4E: 4299 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 4300 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 4301 L_250ACC53: 4302 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 4303 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 4304 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 4305 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 4306 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 4307 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 4308 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 4309 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 4310 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 4311 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 4312 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 4313 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 4314 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4316 _flag_k = FK_CMP; 4317 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 4318 L_250ACC78: 4319 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 4320 L_250ACC7B: 4321 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 4322 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 4323 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 4324 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 4325 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4327 _flag_k = FK_CMP; 4328 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 4329 L_250ACC89: 4330 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 4331 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 4332 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 4333 L_250ACC94: 4334 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 4335 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 4336 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4338 _flag_k = FK_CMP; 4339 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 4340 L_250ACC9C: 4341 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 4342 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 4343 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 4344 L_250ACCA7: 4345 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 4346 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 4347 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 4348 L_250ACCB1: 4349 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 4350 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 4351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4352 _flag_k = FK_NARROW(FK_CMP, 24); 4353 RECOMP_BACKEDGE(); 4354 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 4355 L_250ACCBB: 4356 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 4357 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 4358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4359 _flag_k = FK_CMP; 4360 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 4361 L_250ACCBF: 4362 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 4363 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 4364 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 4365 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 4366 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 4367 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 4368 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4370 _flag_k = FK_CMP; 4371 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 4372 L_250ACCD0: 4373 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 4374 L_250ACCD3: 4375 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 4376 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 4377 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 4378 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 4379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4381 _flag_k = FK_CMP; 4382 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 4383 L_250ACCE1: 4384 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 4385 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 4386 L_250ACCE6: 4387 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 4388 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 4389 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 4390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4391 _flag_k = FK_CMP; 4392 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 4393 L_250ACCEE: 4394 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 4395 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 4396 L_250ACCF3: 4397 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 4398 L_250ACCF5: 4399 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 4400 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 4401 L_250ACCFB: 4402 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 4403 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 4404 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 4405 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 4406 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 4407 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 4408 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 4409 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 4410 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 4411 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 4412 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 4413 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 4414 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4416 _flag_k = FK_CMP; 4417 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 4418 L_250ACD20: 4419 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 4420 L_250ACD23: 4421 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 4422 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 4423 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 4424 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 4425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4427 _flag_k = FK_CMP; 4428 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 4429 L_250ACD31: 4430 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 4431 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 4432 L_250ACD36: 4433 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 4434 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 4435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 4436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4437 _flag_k = FK_CMP; 4438 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 4439 L_250ACD3D: 4440 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 4441 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 4442 L_250ACD41: 4443 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 4444 L_250ACD44: 4445 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 4446 L_250ACD46: 4447 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 4448 L_250ACD49: 4449 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 4450 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 4451 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4453 _flag_k = FK_CMP; 4454 RECOMP_BACKEDGE(); 4455 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 4456 L_250ACD55: 4457 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 4458 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 4459 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 4460 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 4461 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 4462 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 4463 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 4464 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 4465 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 4466 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 4467 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 4468 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 4469 RECOMP_REGS_OUT(); 4470 } 4471 4472 void sub_250ACD46(void) { 4473 int _fpu_cmp = 0; 4474 uint32_t _cf = 0; 4475 int _df = 1; 4476 uint32_t _flag_k = FK_NONE; 4477 uint32_t _flag_a = 0, _flag_b = 0; 4478 uint32_t _itail_tgt = 0; 4479 RECOMP_REGS_LOCALS 4480 RECOMP_ENTER(0x250ACD46u); 4481 4482 goto L_250ACD46; 4483 L_250ACBD5: 4484 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 4485 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 4486 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 4487 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4488 _cf = 0; 4489 _flag_k = FK_NARROW(FK_TEST, 24); 4490 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 4491 L_250ACBE3: 4492 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 4493 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 4494 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 4495 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 4496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4497 _flag_k = FK_CMP; 4498 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 4499 L_250ACBF0: 4500 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 4501 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 4502 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 4503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4504 _flag_k = FK_NARROW(FK_CMP, 24); 4505 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 4506 L_250ACBF9: 4507 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 4508 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 4509 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 4510 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 4511 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 4512 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 4513 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 4514 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 4515 L_250ACC14: 4516 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 4517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 4518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4519 _flag_k = FK_CMP; 4520 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 4521 L_250ACC19: 4522 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 4523 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 4524 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 4525 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 4526 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 4527 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 4528 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4530 _flag_k = FK_CMP; 4531 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 4532 L_250ACC2A: 4533 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 4534 L_250ACC2D: 4535 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 4536 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 4537 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 4538 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 4539 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4541 _flag_k = FK_CMP; 4542 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 4543 L_250ACC3B: 4544 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 4545 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 4546 L_250ACC40: 4547 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 4548 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 4549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 4550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4551 _flag_k = FK_CMP; 4552 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 4553 L_250ACC47: 4554 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 4555 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 4556 L_250ACC4B: 4557 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 4558 L_250ACC4E: 4559 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 4560 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 4561 L_250ACC53: 4562 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 4563 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 4564 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 4565 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 4566 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 4567 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 4568 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 4569 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 4570 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 4571 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 4572 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 4573 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 4574 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4576 _flag_k = FK_CMP; 4577 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 4578 L_250ACC78: 4579 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 4580 L_250ACC7B: 4581 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 4582 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 4583 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 4584 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 4585 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4587 _flag_k = FK_CMP; 4588 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 4589 L_250ACC89: 4590 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 4591 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 4592 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 4593 L_250ACC94: 4594 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 4595 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 4596 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4598 _flag_k = FK_CMP; 4599 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 4600 L_250ACC9C: 4601 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 4602 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 4603 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 4604 L_250ACCA7: 4605 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 4606 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 4607 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 4608 L_250ACCB1: 4609 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 4610 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 4611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4612 _flag_k = FK_NARROW(FK_CMP, 24); 4613 RECOMP_BACKEDGE(); 4614 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 4615 L_250ACCBB: 4616 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 4617 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 4618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4619 _flag_k = FK_CMP; 4620 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 4621 L_250ACCBF: 4622 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 4623 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 4624 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 4625 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 4626 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 4627 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 4628 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4630 _flag_k = FK_CMP; 4631 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 4632 L_250ACCD0: 4633 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 4634 L_250ACCD3: 4635 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 4636 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 4637 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 4638 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 4639 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4641 _flag_k = FK_CMP; 4642 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 4643 L_250ACCE1: 4644 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 4645 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 4646 L_250ACCE6: 4647 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 4648 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 4649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 4650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4651 _flag_k = FK_CMP; 4652 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 4653 L_250ACCEE: 4654 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 4655 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 4656 L_250ACCF3: 4657 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 4658 L_250ACCF5: 4659 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 4660 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 4661 L_250ACCFB: 4662 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 4663 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 4664 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 4665 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 4666 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 4667 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 4668 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 4669 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 4670 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 4671 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 4672 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 4673 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 4674 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4676 _flag_k = FK_CMP; 4677 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 4678 L_250ACD20: 4679 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 4680 L_250ACD23: 4681 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 4682 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 4683 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 4684 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 4685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4687 _flag_k = FK_CMP; 4688 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 4689 L_250ACD31: 4690 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 4691 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 4692 L_250ACD36: 4693 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 4694 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 4695 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 4696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4697 _flag_k = FK_CMP; 4698 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 4699 L_250ACD3D: 4700 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 4701 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 4702 L_250ACD41: 4703 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 4704 L_250ACD44: 4705 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 4706 L_250ACD46: 4707 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 4708 L_250ACD49: 4709 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 4710 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 4711 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4713 _flag_k = FK_CMP; 4714 RECOMP_BACKEDGE(); 4715 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 4716 L_250ACD55: 4717 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 4718 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 4719 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 4720 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 4721 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 4722 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 4723 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 4724 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 4725 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 4726 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 4727 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 4728 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 4729 RECOMP_REGS_OUT(); 4730 } 4731 4732 void sub_250ACD49(void) { 4733 int _fpu_cmp = 0; 4734 uint32_t _cf = 0; 4735 int _df = 1; 4736 uint32_t _flag_k = FK_NONE; 4737 uint32_t _flag_a = 0, _flag_b = 0; 4738 uint32_t _itail_tgt = 0; 4739 RECOMP_REGS_LOCALS 4740 RECOMP_ENTER(0x250ACD49u); 4741 4742 goto L_250ACD49; 4743 L_250ACBD5: 4744 ecx = MEM32(eax + 0x4); /* 0x250ACBD5: mov ecx, dword ptr [eax + 4] */ 4745 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x250ACBD8: mov dl, byte ptr [ecx + 0x18] */ 4746 /* test LO8(edx), LO8(edx) */ /* 0x250ACBDB: test dl, dl */ 4747 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4748 _cf = 0; 4749 _flag_k = FK_NARROW(FK_TEST, 24); 4750 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACD55; /* 0x250ACBDD: jne 0x250acd55 */ 4751 L_250ACBE3: 4752 edi = MEM32(ecx + 0x4); /* 0x250ACBE3: mov edi, dword ptr [ecx + 4] */ 4753 edx = MEM32(edi); /* 0x250ACBE6: mov edx, dword ptr [edi] */ 4754 /* cmp ecx, edx */ /* 0x250ACBE8: cmp ecx, edx */ 4755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 4756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4757 _flag_k = FK_CMP; 4758 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCB1; /* 0x250ACBEA: jne 0x250accb1 */ 4759 L_250ACBF0: 4760 edx = MEM32(edi + 0x8); /* 0x250ACBF0: mov edx, dword ptr [edi + 8] */ 4761 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACBF3: cmp byte ptr [edx + 0x18], 0 */ 4762 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 4763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4764 _flag_k = FK_NARROW(FK_CMP, 24); 4765 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC14; /* 0x250ACBF7: jne 0x250acc14 */ 4766 L_250ACBF9: 4767 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBF9: mov byte ptr [ecx + 0x18], bl */ 4768 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACBFC: mov byte ptr [edx + 0x18], bl */ 4769 ecx = MEM32(eax + 0x4); /* 0x250ACBFF: mov ecx, dword ptr [eax + 4] */ 4770 edx = MEM32(ecx + 0x4); /* 0x250ACC02: mov edx, dword ptr [ecx + 4] */ 4771 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x250ACC05: mov byte ptr [edx + 0x18], 0 */ 4772 eax = MEM32(eax + 0x4); /* 0x250ACC09: mov eax, dword ptr [eax + 4] */ 4773 eax = MEM32(eax + 0x4); /* 0x250ACC0C: mov eax, dword ptr [eax + 4] */ 4774 goto L_250ACD49; /* 0x250ACC0F: jmp 0x250acd49 */ 4775 L_250ACC14: 4776 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACC14: cmp eax, dword ptr [ecx + 8] */ 4777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 4778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4779 _flag_k = FK_CMP; 4780 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC53; /* 0x250ACC17: jne 0x250acc53 */ 4781 L_250ACC19: 4782 eax = ecx; /* 0x250ACC19: mov eax, ecx */ 4783 ecx = MEM32(eax + 0x8); /* 0x250ACC1B: mov ecx, dword ptr [eax + 8] */ 4784 edx = MEM32(ecx); /* 0x250ACC1E: mov edx, dword ptr [ecx] */ 4785 MEM32(eax + 0x8) = edx; /* 0x250ACC20: mov dword ptr [eax + 8], edx */ 4786 edx = MEM32(ecx); /* 0x250ACC23: mov edx, dword ptr [ecx] */ 4787 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACC25: cmp edx, dword ptr [esi + 8] */ 4788 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4790 _flag_k = FK_CMP; 4791 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC2D; /* 0x250ACC28: je 0x250acc2d */ 4792 L_250ACC2A: 4793 MEM32(edx + 0x4) = eax; /* 0x250ACC2A: mov dword ptr [edx + 4], eax */ 4794 L_250ACC2D: 4795 edx = MEM32(eax + 0x4); /* 0x250ACC2D: mov edx, dword ptr [eax + 4] */ 4796 MEM32(ecx + 0x4) = edx; /* 0x250ACC30: mov dword ptr [ecx + 4], edx */ 4797 edx = MEM32(esi + 0x4); /* 0x250ACC33: mov edx, dword ptr [esi + 4] */ 4798 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACC36: cmp eax, dword ptr [edx + 4] */ 4799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4801 _flag_k = FK_CMP; 4802 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC40; /* 0x250ACC39: jne 0x250acc40 */ 4803 L_250ACC3B: 4804 MEM32(edx + 0x4) = ecx; /* 0x250ACC3B: mov dword ptr [edx + 4], ecx */ 4805 goto L_250ACC4E; /* 0x250ACC3E: jmp 0x250acc4e */ 4806 L_250ACC40: 4807 edx = MEM32(eax + 0x4); /* 0x250ACC40: mov edx, dword ptr [eax + 4] */ 4808 /* cmp eax, MEM32(edx) */ /* 0x250ACC43: cmp eax, dword ptr [edx] */ 4809 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 4810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4811 _flag_k = FK_CMP; 4812 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC4B; /* 0x250ACC45: jne 0x250acc4b */ 4813 L_250ACC47: 4814 MEM32(edx) = ecx; /* 0x250ACC47: mov dword ptr [edx], ecx */ 4815 goto L_250ACC4E; /* 0x250ACC49: jmp 0x250acc4e */ 4816 L_250ACC4B: 4817 MEM32(edx + 0x8) = ecx; /* 0x250ACC4B: mov dword ptr [edx + 8], ecx */ 4818 L_250ACC4E: 4819 MEM32(ecx) = eax; /* 0x250ACC4E: mov dword ptr [ecx], eax */ 4820 MEM32(eax + 0x4) = ecx; /* 0x250ACC50: mov dword ptr [eax + 4], ecx */ 4821 L_250ACC53: 4822 ecx = MEM32(eax + 0x4); /* 0x250ACC53: mov ecx, dword ptr [eax + 4] */ 4823 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACC56: mov byte ptr [ecx + 0x18], bl */ 4824 edx = MEM32(eax + 0x4); /* 0x250ACC59: mov edx, dword ptr [eax + 4] */ 4825 ecx = MEM32(edx + 0x4); /* 0x250ACC5C: mov ecx, dword ptr [edx + 4] */ 4826 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACC5F: mov byte ptr [ecx + 0x18], 0 */ 4827 edx = MEM32(eax + 0x4); /* 0x250ACC63: mov edx, dword ptr [eax + 4] */ 4828 ecx = MEM32(edx + 0x4); /* 0x250ACC66: mov ecx, dword ptr [edx + 4] */ 4829 edx = MEM32(ecx); /* 0x250ACC69: mov edx, dword ptr [ecx] */ 4830 edi = MEM32(edx + 0x8); /* 0x250ACC6B: mov edi, dword ptr [edx + 8] */ 4831 MEM32(ecx) = edi; /* 0x250ACC6E: mov dword ptr [ecx], edi */ 4832 edi = MEM32(edx + 0x8); /* 0x250ACC70: mov edi, dword ptr [edx + 8] */ 4833 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACC73: cmp edi, dword ptr [esi + 8] */ 4834 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4836 _flag_k = FK_CMP; 4837 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACC7B; /* 0x250ACC76: je 0x250acc7b */ 4838 L_250ACC78: 4839 MEM32(edi + 0x4) = ecx; /* 0x250ACC78: mov dword ptr [edi + 4], ecx */ 4840 L_250ACC7B: 4841 edi = MEM32(ecx + 0x4); /* 0x250ACC7B: mov edi, dword ptr [ecx + 4] */ 4842 MEM32(edx + 0x4) = edi; /* 0x250ACC7E: mov dword ptr [edx + 4], edi */ 4843 edi = MEM32(esi + 0x4); /* 0x250ACC81: mov edi, dword ptr [esi + 4] */ 4844 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACC84: cmp ecx, dword ptr [edi + 4] */ 4845 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4847 _flag_k = FK_CMP; 4848 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACC94; /* 0x250ACC87: jne 0x250acc94 */ 4849 L_250ACC89: 4850 MEM32(edi + 0x4) = edx; /* 0x250ACC89: mov dword ptr [edi + 4], edx */ 4851 MEM32(edx + 0x8) = ecx; /* 0x250ACC8C: mov dword ptr [edx + 8], ecx */ 4852 goto L_250ACD46; /* 0x250ACC8F: jmp 0x250acd46 */ 4853 L_250ACC94: 4854 edi = MEM32(ecx + 0x4); /* 0x250ACC94: mov edi, dword ptr [ecx + 4] */ 4855 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACC97: cmp ecx, dword ptr [edi + 8] */ 4856 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4858 _flag_k = FK_CMP; 4859 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCA7; /* 0x250ACC9A: jne 0x250acca7 */ 4860 L_250ACC9C: 4861 MEM32(edi + 0x8) = edx; /* 0x250ACC9C: mov dword ptr [edi + 8], edx */ 4862 MEM32(edx + 0x8) = ecx; /* 0x250ACC9F: mov dword ptr [edx + 8], ecx */ 4863 goto L_250ACD46; /* 0x250ACCA2: jmp 0x250acd46 */ 4864 L_250ACCA7: 4865 MEM32(edi) = edx; /* 0x250ACCA7: mov dword ptr [edi], edx */ 4866 MEM32(edx + 0x8) = ecx; /* 0x250ACCA9: mov dword ptr [edx + 8], ecx */ 4867 goto L_250ACD46; /* 0x250ACCAC: jmp 0x250acd46 */ 4868 L_250ACCB1: 4869 /* cmp MEM8(edx + 0x18), 0 */ /* 0x250ACCB1: cmp byte ptr [edx + 0x18], 0 */ 4870 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 4871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4872 _flag_k = FK_NARROW(FK_CMP, 24); 4873 RECOMP_BACKEDGE(); 4874 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACBF9; /* 0x250ACCB5: je 0x250acbf9 */ 4875 L_250ACCBB: 4876 /* cmp eax, MEM32(ecx) */ /* 0x250ACCBB: cmp eax, dword ptr [ecx] */ 4877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 4878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4879 _flag_k = FK_CMP; 4880 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCFB; /* 0x250ACCBD: jne 0x250accfb */ 4881 L_250ACCBF: 4882 eax = ecx; /* 0x250ACCBF: mov eax, ecx */ 4883 ecx = MEM32(eax); /* 0x250ACCC1: mov ecx, dword ptr [eax] */ 4884 edx = MEM32(ecx + 0x8); /* 0x250ACCC3: mov edx, dword ptr [ecx + 8] */ 4885 MEM32(eax) = edx; /* 0x250ACCC6: mov dword ptr [eax], edx */ 4886 edx = MEM32(ecx + 0x8); /* 0x250ACCC8: mov edx, dword ptr [ecx + 8] */ 4887 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACCCB: cmp edx, dword ptr [esi + 8] */ 4888 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4890 _flag_k = FK_CMP; 4891 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACCD3; /* 0x250ACCCE: je 0x250accd3 */ 4892 L_250ACCD0: 4893 MEM32(edx + 0x4) = eax; /* 0x250ACCD0: mov dword ptr [edx + 4], eax */ 4894 L_250ACCD3: 4895 edx = MEM32(eax + 0x4); /* 0x250ACCD3: mov edx, dword ptr [eax + 4] */ 4896 MEM32(ecx + 0x4) = edx; /* 0x250ACCD6: mov dword ptr [ecx + 4], edx */ 4897 edx = MEM32(esi + 0x4); /* 0x250ACCD9: mov edx, dword ptr [esi + 4] */ 4898 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACCDC: cmp eax, dword ptr [edx + 4] */ 4899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4901 _flag_k = FK_CMP; 4902 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCE6; /* 0x250ACCDF: jne 0x250acce6 */ 4903 L_250ACCE1: 4904 MEM32(edx + 0x4) = ecx; /* 0x250ACCE1: mov dword ptr [edx + 4], ecx */ 4905 goto L_250ACCF5; /* 0x250ACCE4: jmp 0x250accf5 */ 4906 L_250ACCE6: 4907 edx = MEM32(eax + 0x4); /* 0x250ACCE6: mov edx, dword ptr [eax + 4] */ 4908 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACCE9: cmp eax, dword ptr [edx + 8] */ 4909 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 4910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4911 _flag_k = FK_CMP; 4912 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACCF3; /* 0x250ACCEC: jne 0x250accf3 */ 4913 L_250ACCEE: 4914 MEM32(edx + 0x8) = ecx; /* 0x250ACCEE: mov dword ptr [edx + 8], ecx */ 4915 goto L_250ACCF5; /* 0x250ACCF1: jmp 0x250accf5 */ 4916 L_250ACCF3: 4917 MEM32(edx) = ecx; /* 0x250ACCF3: mov dword ptr [edx], ecx */ 4918 L_250ACCF5: 4919 MEM32(ecx + 0x8) = eax; /* 0x250ACCF5: mov dword ptr [ecx + 8], eax */ 4920 MEM32(eax + 0x4) = ecx; /* 0x250ACCF8: mov dword ptr [eax + 4], ecx */ 4921 L_250ACCFB: 4922 ecx = MEM32(eax + 0x4); /* 0x250ACCFB: mov ecx, dword ptr [eax + 4] */ 4923 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACCFE: mov byte ptr [ecx + 0x18], bl */ 4924 edx = MEM32(eax + 0x4); /* 0x250ACD01: mov edx, dword ptr [eax + 4] */ 4925 ecx = MEM32(edx + 0x4); /* 0x250ACD04: mov ecx, dword ptr [edx + 4] */ 4926 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x250ACD07: mov byte ptr [ecx + 0x18], 0 */ 4927 edx = MEM32(eax + 0x4); /* 0x250ACD0B: mov edx, dword ptr [eax + 4] */ 4928 ecx = MEM32(edx + 0x4); /* 0x250ACD0E: mov ecx, dword ptr [edx + 4] */ 4929 edx = MEM32(ecx + 0x8); /* 0x250ACD11: mov edx, dword ptr [ecx + 8] */ 4930 edi = MEM32(edx); /* 0x250ACD14: mov edi, dword ptr [edx] */ 4931 MEM32(ecx + 0x8) = edi; /* 0x250ACD16: mov dword ptr [ecx + 8], edi */ 4932 edi = MEM32(edx); /* 0x250ACD19: mov edi, dword ptr [edx] */ 4933 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACD1B: cmp edi, dword ptr [esi + 8] */ 4934 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4936 _flag_k = FK_CMP; 4937 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACD23; /* 0x250ACD1E: je 0x250acd23 */ 4938 L_250ACD20: 4939 MEM32(edi + 0x4) = ecx; /* 0x250ACD20: mov dword ptr [edi + 4], ecx */ 4940 L_250ACD23: 4941 edi = MEM32(ecx + 0x4); /* 0x250ACD23: mov edi, dword ptr [ecx + 4] */ 4942 MEM32(edx + 0x4) = edi; /* 0x250ACD26: mov dword ptr [edx + 4], edi */ 4943 edi = MEM32(esi + 0x4); /* 0x250ACD29: mov edi, dword ptr [esi + 4] */ 4944 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACD2C: cmp ecx, dword ptr [edi + 4] */ 4945 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4947 _flag_k = FK_CMP; 4948 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD36; /* 0x250ACD2F: jne 0x250acd36 */ 4949 L_250ACD31: 4950 MEM32(edi + 0x4) = edx; /* 0x250ACD31: mov dword ptr [edi + 4], edx */ 4951 goto L_250ACD44; /* 0x250ACD34: jmp 0x250acd44 */ 4952 L_250ACD36: 4953 edi = MEM32(ecx + 0x4); /* 0x250ACD36: mov edi, dword ptr [ecx + 4] */ 4954 /* cmp ecx, MEM32(edi) */ /* 0x250ACD39: cmp ecx, dword ptr [edi] */ 4955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 4956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4957 _flag_k = FK_CMP; 4958 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACD41; /* 0x250ACD3B: jne 0x250acd41 */ 4959 L_250ACD3D: 4960 MEM32(edi) = edx; /* 0x250ACD3D: mov dword ptr [edi], edx */ 4961 goto L_250ACD44; /* 0x250ACD3F: jmp 0x250acd44 */ 4962 L_250ACD41: 4963 MEM32(edi + 0x8) = edx; /* 0x250ACD41: mov dword ptr [edi + 8], edx */ 4964 L_250ACD44: 4965 MEM32(edx) = ecx; /* 0x250ACD44: mov dword ptr [edx], ecx */ 4966 L_250ACD46: 4967 MEM32(ecx + 0x4) = edx; /* 0x250ACD46: mov dword ptr [ecx + 4], edx */ 4968 L_250ACD49: 4969 ecx = MEM32(esi + 0x4); /* 0x250ACD49: mov ecx, dword ptr [esi + 4] */ 4970 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACD4C: cmp eax, dword ptr [ecx + 4] */ 4971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4973 _flag_k = FK_CMP; 4974 RECOMP_BACKEDGE(); 4975 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACBD5; /* 0x250ACD4F: jne 0x250acbd5 */ 4976 L_250ACD55: 4977 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 4978 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 4979 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 4980 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 4981 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 4982 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 4983 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 4984 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 4985 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 4986 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 4987 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 4988 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 4989 RECOMP_REGS_OUT(); 4990 } 4991 4992 void sub_250ACD55(void) { 4993 int _fpu_cmp = 0; 4994 uint32_t _cf = 0; 4995 int _df = 1; 4996 uint32_t _flag_k = FK_NONE; 4997 uint32_t _flag_a = 0, _flag_b = 0; 4998 uint32_t _itail_tgt = 0; 4999 RECOMP_REGS_LOCALS 5000 RECOMP_ENTER(0x250ACD55u); 5001 5002 L_250ACD55: 5003 edx = MEM32(esi + 0x4); /* 0x250ACD55: mov edx, dword ptr [esi + 4] */ 5004 eax = MEM32(edx + 0x4); /* 0x250ACD58: mov eax, dword ptr [edx + 4] */ 5005 ecx = MEM32(ebp + (-0x4)); /* 0x250ACD5B: mov ecx, dword ptr [ebp - 4] */ 5006 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x250ACD5E: mov byte ptr [eax + 0x18], bl */ 5007 eax = MEM32(ebp + 0x8); /* 0x250ACD61: mov eax, dword ptr [ebp + 8] */ 5008 edi = POP32_VAL(esp); /* 0x250ACD64: pop edi */ 5009 esi = POP32_VAL(esp); /* 0x250ACD65: pop esi */ 5010 MEM32(eax) = ecx; /* 0x250ACD66: mov dword ptr [eax], ecx */ 5011 ebx = POP32_VAL(esp); /* 0x250ACD68: pop ebx */ 5012 esp = ebp; /* 0x250ACD69: mov esp, ebp */ 5013 ebp = POP32_VAL(esp); /* 0x250ACD6B: pop ebp */ 5014 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACD6C: ret 0x10 */ 5015 RECOMP_REGS_OUT(); 5016 } 5017 5018 void sub_250ACD70(void) { 5019 int _fpu_cmp = 0; 5020 uint32_t _cf = 0; 5021 int _df = 1; 5022 uint32_t _flag_k = FK_NONE; 5023 uint32_t _flag_a = 0, _flag_b = 0; 5024 uint32_t _itail_tgt = 0; 5025 RECOMP_REGS_LOCALS 5026 RECOMP_ENTER(0x250ACD70u); 5027 5028 L_250ACD70: 5029 PUSH32(esp, ebp); /* 0x250ACD70: push ebp */ 5030 ebp = esp; /* 0x250ACD71: mov ebp, esp */ 5031 PUSH32(esp, ecx); /* 0x250ACD73: push ecx */ 5032 PUSH32(esp, ebx); /* 0x250ACD74: push ebx */ 5033 PUSH32(esp, esi); /* 0x250ACD75: push esi */ 5034 PUSH32(esp, edi); /* 0x250ACD76: push edi */ 5035 PUSH32(esp, 0x18u); /* 0x250ACD77: push 0x18 */ 5036 esi = ecx; /* 0x250ACD79: mov esi, ecx */ 5037 RECOMP_ICALL(0x251380D0u); /* 0x250ACD7B: call 0x251380d0 */ /* not lifted */ 5038 RECOMP_FLAGS_IN(); 5039 edi = MEM32(ebp + 0x10); /* 0x250ACD80: mov edi, dword ptr [ebp + 0x10] */ 5040 ebx = MEM32(ebp + 0x14); /* 0x250ACD83: mov ebx, dword ptr [ebp + 0x14] */ 5041 MEM32(eax + 0x4) = edi; /* 0x250ACD86: mov dword ptr [eax + 4], edi */ 5042 MEM8(eax + 0x14) = (uint8_t)(0); /* 0x250ACD89: mov byte ptr [eax + 0x14], 0 */ 5043 MEM8(eax + 0x15) = (uint8_t)(0); /* 0x250ACD8D: mov byte ptr [eax + 0x15], 0 */ 5044 ecx = MEM32(esi + 0x8); /* 0x250ACD91: mov ecx, dword ptr [esi + 8] */ 5045 MEM32(eax) = ecx; /* 0x250ACD94: mov dword ptr [eax], ecx */ 5046 edx = MEM32(esi + 0x8); /* 0x250ACD96: mov edx, dword ptr [esi + 8] */ 5047 MEM32(ebp + (-0x4)) = eax; /* 0x250ACD99: mov dword ptr [ebp - 4], eax */ 5048 MEM32(eax + 0x8) = edx; /* 0x250ACD9C: mov dword ptr [eax + 8], edx */ 5049 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 5050 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5051 eax = eax + 0xCu; /* 0x250ACD9F: add eax, 0xc */ 5052 _flag_k = FK_ADD; 5053 PUSH32(esp, ebx); /* 0x250ACDA2: push ebx */ 5054 PUSH32(esp, eax); /* 0x250ACDA3: push eax */ 5055 RECOMP_ICALL(0x2512B900u); /* 0x250ACDA4: call 0x2512b900 */ /* not lifted */ 5056 RECOMP_FLAGS_IN(); 5057 ecx = MEM32(esi + 0x10); /* 0x250ACDA9: mov ecx, dword ptr [esi + 0x10] */ 5058 eax = MEM32(esi + 0x4); /* 0x250ACDAC: mov eax, dword ptr [esi + 4] */ 5059 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 5060 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5061 esp = esp + 0xCu; /* 0x250ACDAF: add esp, 0xc */ 5062 _flag_k = FK_ADD; 5063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5064 ecx = ecx + 1; /* 0x250ACDB2: inc ecx */ 5065 _flag_k = FK_INC; 5066 /* cmp edi, eax */ /* 0x250ACDB3: cmp edi, eax */ 5067 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5069 _flag_k = FK_CMP; 5070 MEM32(esi + 0x10) = ecx; /* 0x250ACDB5: mov dword ptr [esi + 0x10], ecx */ 5071 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACDDC; /* 0x250ACDB8: je 0x250acddc */ 5072 L_250ACDBA: 5073 eax = MEM32(ebp + 0xC); /* 0x250ACDBA: mov eax, dword ptr [ebp + 0xc] */ 5074 /* cmp eax, MEM32(esi + 0x8) */ /* 0x250ACDBD: cmp eax, dword ptr [esi + 8] */ 5075 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5077 _flag_k = FK_CMP; 5078 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACDDC; /* 0x250ACDC0: jne 0x250acddc */ 5079 L_250ACDC2: 5080 ecx = MEM32(ebx); /* 0x250ACDC2: mov ecx, dword ptr [ebx] */ 5081 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x250ACDC4: cmp ecx, dword ptr [edi + 0xc] */ 5082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 5083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5084 _flag_k = FK_CMP; 5085 if (CMP_B(_flag_a, _flag_b)) goto L_250ACDDC; /* 0x250ACDC7: jb 0x250acddc */ 5086 L_250ACDC9: 5087 ecx = MEM32(ebp + (-0x4)); /* 0x250ACDC9: mov ecx, dword ptr [ebp - 4] */ 5088 MEM32(edi + 0x8) = ecx; /* 0x250ACDCC: mov dword ptr [edi + 8], ecx */ 5089 eax = MEM32(esi + 0x4); /* 0x250ACDCF: mov eax, dword ptr [esi + 4] */ 5090 /* cmp edi, MEM32(eax + 0x8) */ /* 0x250ACDD2: cmp edi, dword ptr [eax + 8] */ 5091 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 5092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5093 _flag_k = FK_CMP; 5094 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACDFC; /* 0x250ACDD5: jne 0x250acdfc */ 5095 L_250ACDD7: 5096 MEM32(eax + 0x8) = ecx; /* 0x250ACDD7: mov dword ptr [eax + 8], ecx */ 5097 goto L_250ACDFC; /* 0x250ACDDA: jmp 0x250acdfc */ 5098 L_250ACDDC: 5099 ecx = MEM32(ebp + (-0x4)); /* 0x250ACDDC: mov ecx, dword ptr [ebp - 4] */ 5100 MEM32(edi) = ecx; /* 0x250ACDDF: mov dword ptr [edi], ecx */ 5101 eax = MEM32(esi + 0x4); /* 0x250ACDE1: mov eax, dword ptr [esi + 4] */ 5102 /* cmp edi, eax */ /* 0x250ACDE4: cmp edi, eax */ 5103 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5105 _flag_k = FK_CMP; 5106 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACDF3; /* 0x250ACDE6: jne 0x250acdf3 */ 5107 L_250ACDE8: 5108 MEM32(eax + 0x4) = ecx; /* 0x250ACDE8: mov dword ptr [eax + 4], ecx */ 5109 edx = MEM32(esi + 0x4); /* 0x250ACDEB: mov edx, dword ptr [esi + 4] */ 5110 MEM32(edx + 0x8) = ecx; /* 0x250ACDEE: mov dword ptr [edx + 8], ecx */ 5111 goto L_250ACDFC; /* 0x250ACDF1: jmp 0x250acdfc */ 5112 L_250ACDF3: 5113 /* cmp edi, MEM32(eax) */ /* 0x250ACDF3: cmp edi, dword ptr [eax] */ 5114 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 5115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5116 _flag_k = FK_CMP; 5117 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACDFC; /* 0x250ACDF5: jne 0x250acdfc */ 5118 L_250ACDF7: 5119 ecx = MEM32(ebp + (-0x4)); /* 0x250ACDF7: mov ecx, dword ptr [ebp - 4] */ 5120 MEM32(eax) = ecx; /* 0x250ACDFA: mov dword ptr [eax], ecx */ 5121 L_250ACDFC: 5122 edx = MEM32(esi + 0x4); /* 0x250ACDFC: mov edx, dword ptr [esi + 4] */ 5123 eax = MEM32(ebp + (-0x4)); /* 0x250ACDFF: mov eax, dword ptr [ebp - 4] */ 5124 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE02: cmp eax, dword ptr [edx + 4] */ 5125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 5126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5127 _flag_k = FK_CMP; 5128 SET_LO8(ebx, 1); /* 0x250ACE05: mov bl, 1 */ 5129 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE07: je 0x250acf8d */ 5130 L_250ACE0D: 5131 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 5132 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 5133 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 5134 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5135 _cf = 0; 5136 _flag_k = FK_NARROW(FK_TEST, 24); 5137 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 5138 L_250ACE1B: 5139 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 5140 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 5141 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 5142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5144 _flag_k = FK_CMP; 5145 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 5146 L_250ACE28: 5147 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 5148 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 5149 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 5150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5151 _flag_k = FK_NARROW(FK_CMP, 24); 5152 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 5153 L_250ACE31: 5154 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 5155 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 5156 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 5157 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 5158 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 5159 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 5160 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 5161 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 5162 L_250ACE4C: 5163 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 5164 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 5165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5166 _flag_k = FK_CMP; 5167 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 5168 L_250ACE51: 5169 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 5170 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 5171 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 5172 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 5173 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 5174 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 5175 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5177 _flag_k = FK_CMP; 5178 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 5179 L_250ACE62: 5180 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 5181 L_250ACE65: 5182 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 5183 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 5184 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 5185 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 5186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 5187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5188 _flag_k = FK_CMP; 5189 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 5190 L_250ACE73: 5191 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 5192 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 5193 L_250ACE78: 5194 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 5195 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 5196 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 5197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5198 _flag_k = FK_CMP; 5199 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 5200 L_250ACE7F: 5201 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 5202 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 5203 L_250ACE83: 5204 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 5205 L_250ACE86: 5206 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 5207 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 5208 L_250ACE8B: 5209 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 5210 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 5211 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 5212 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 5213 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 5214 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 5215 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 5216 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 5217 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 5218 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 5219 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 5220 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 5221 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5223 _flag_k = FK_CMP; 5224 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 5225 L_250ACEB0: 5226 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 5227 L_250ACEB3: 5228 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 5229 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 5230 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 5231 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 5232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 5233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5234 _flag_k = FK_CMP; 5235 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 5236 L_250ACEC1: 5237 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 5238 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 5239 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 5240 L_250ACECC: 5241 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 5242 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 5243 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5245 _flag_k = FK_CMP; 5246 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 5247 L_250ACED4: 5248 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 5249 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 5250 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 5251 L_250ACEDF: 5252 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 5253 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 5254 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 5255 L_250ACEE9: 5256 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 5257 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 5258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5259 _flag_k = FK_NARROW(FK_CMP, 24); 5260 RECOMP_BACKEDGE(); 5261 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 5262 L_250ACEF3: 5263 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 5264 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 5265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5266 _flag_k = FK_CMP; 5267 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 5268 L_250ACEF7: 5269 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 5270 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 5271 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 5272 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 5273 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 5274 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 5275 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5277 _flag_k = FK_CMP; 5278 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 5279 L_250ACF08: 5280 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 5281 L_250ACF0B: 5282 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 5283 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 5284 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 5285 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 5286 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 5287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5288 _flag_k = FK_CMP; 5289 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 5290 L_250ACF19: 5291 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 5292 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 5293 L_250ACF1E: 5294 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 5295 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 5296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 5297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5298 _flag_k = FK_CMP; 5299 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 5300 L_250ACF26: 5301 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 5302 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 5303 L_250ACF2B: 5304 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 5305 L_250ACF2D: 5306 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 5307 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 5308 L_250ACF33: 5309 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 5310 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 5311 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 5312 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 5313 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 5314 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 5315 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 5316 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 5317 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 5318 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 5319 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 5320 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 5321 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5323 _flag_k = FK_CMP; 5324 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 5325 L_250ACF58: 5326 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 5327 L_250ACF5B: 5328 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 5329 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 5330 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 5331 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 5332 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 5333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5334 _flag_k = FK_CMP; 5335 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 5336 L_250ACF69: 5337 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 5338 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 5339 L_250ACF6E: 5340 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 5341 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 5342 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 5343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5344 _flag_k = FK_CMP; 5345 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 5346 L_250ACF75: 5347 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 5348 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 5349 L_250ACF79: 5350 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 5351 L_250ACF7C: 5352 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 5353 L_250ACF7E: 5354 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 5355 L_250ACF81: 5356 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 5357 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 5358 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5360 _flag_k = FK_CMP; 5361 RECOMP_BACKEDGE(); 5362 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 5363 L_250ACF8D: 5364 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 5365 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 5366 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 5367 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 5368 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 5369 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 5370 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 5371 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 5372 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 5373 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 5374 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 5375 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 5376 RECOMP_REGS_OUT(); 5377 } 5378 5379 void sub_250ACE0D(void) { 5380 int _fpu_cmp = 0; 5381 uint32_t _cf = 0; 5382 int _df = 1; 5383 uint32_t _flag_k = FK_NONE; 5384 uint32_t _flag_a = 0, _flag_b = 0; 5385 uint32_t _itail_tgt = 0; 5386 RECOMP_REGS_LOCALS 5387 RECOMP_ENTER(0x250ACE0Du); 5388 5389 L_250ACE0D: 5390 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 5391 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 5392 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 5393 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5394 _cf = 0; 5395 _flag_k = FK_NARROW(FK_TEST, 24); 5396 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 5397 L_250ACE1B: 5398 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 5399 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 5400 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 5401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5403 _flag_k = FK_CMP; 5404 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 5405 L_250ACE28: 5406 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 5407 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 5408 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 5409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5410 _flag_k = FK_NARROW(FK_CMP, 24); 5411 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 5412 L_250ACE31: 5413 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 5414 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 5415 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 5416 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 5417 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 5418 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 5419 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 5420 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 5421 L_250ACE4C: 5422 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 5423 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 5424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5425 _flag_k = FK_CMP; 5426 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 5427 L_250ACE51: 5428 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 5429 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 5430 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 5431 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 5432 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 5433 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 5434 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5436 _flag_k = FK_CMP; 5437 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 5438 L_250ACE62: 5439 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 5440 L_250ACE65: 5441 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 5442 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 5443 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 5444 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 5445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 5446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5447 _flag_k = FK_CMP; 5448 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 5449 L_250ACE73: 5450 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 5451 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 5452 L_250ACE78: 5453 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 5454 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 5455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 5456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5457 _flag_k = FK_CMP; 5458 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 5459 L_250ACE7F: 5460 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 5461 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 5462 L_250ACE83: 5463 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 5464 L_250ACE86: 5465 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 5466 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 5467 L_250ACE8B: 5468 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 5469 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 5470 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 5471 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 5472 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 5473 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 5474 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 5475 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 5476 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 5477 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 5478 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 5479 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 5480 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5482 _flag_k = FK_CMP; 5483 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 5484 L_250ACEB0: 5485 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 5486 L_250ACEB3: 5487 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 5488 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 5489 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 5490 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 5491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 5492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5493 _flag_k = FK_CMP; 5494 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 5495 L_250ACEC1: 5496 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 5497 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 5498 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 5499 L_250ACECC: 5500 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 5501 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 5502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5504 _flag_k = FK_CMP; 5505 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 5506 L_250ACED4: 5507 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 5508 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 5509 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 5510 L_250ACEDF: 5511 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 5512 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 5513 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 5514 L_250ACEE9: 5515 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 5516 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 5517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5518 _flag_k = FK_NARROW(FK_CMP, 24); 5519 RECOMP_BACKEDGE(); 5520 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 5521 L_250ACEF3: 5522 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 5523 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 5524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5525 _flag_k = FK_CMP; 5526 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 5527 L_250ACEF7: 5528 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 5529 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 5530 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 5531 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 5532 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 5533 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 5534 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5536 _flag_k = FK_CMP; 5537 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 5538 L_250ACF08: 5539 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 5540 L_250ACF0B: 5541 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 5542 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 5543 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 5544 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 5545 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 5546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5547 _flag_k = FK_CMP; 5548 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 5549 L_250ACF19: 5550 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 5551 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 5552 L_250ACF1E: 5553 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 5554 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 5555 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 5556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5557 _flag_k = FK_CMP; 5558 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 5559 L_250ACF26: 5560 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 5561 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 5562 L_250ACF2B: 5563 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 5564 L_250ACF2D: 5565 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 5566 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 5567 L_250ACF33: 5568 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 5569 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 5570 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 5571 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 5572 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 5573 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 5574 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 5575 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 5576 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 5577 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 5578 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 5579 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 5580 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5582 _flag_k = FK_CMP; 5583 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 5584 L_250ACF58: 5585 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 5586 L_250ACF5B: 5587 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 5588 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 5589 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 5590 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 5591 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 5592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5593 _flag_k = FK_CMP; 5594 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 5595 L_250ACF69: 5596 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 5597 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 5598 L_250ACF6E: 5599 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 5600 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 5601 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 5602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5603 _flag_k = FK_CMP; 5604 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 5605 L_250ACF75: 5606 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 5607 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 5608 L_250ACF79: 5609 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 5610 L_250ACF7C: 5611 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 5612 L_250ACF7E: 5613 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 5614 L_250ACF81: 5615 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 5616 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 5617 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5619 _flag_k = FK_CMP; 5620 RECOMP_BACKEDGE(); 5621 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 5622 L_250ACF8D: 5623 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 5624 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 5625 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 5626 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 5627 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 5628 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 5629 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 5630 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 5631 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 5632 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 5633 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 5634 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 5635 RECOMP_REGS_OUT(); 5636 } 5637 5638 void sub_250ACE31(void) { 5639 int _fpu_cmp = 0; 5640 uint32_t _cf = 0; 5641 int _df = 1; 5642 uint32_t _flag_k = FK_NONE; 5643 uint32_t _flag_a = 0, _flag_b = 0; 5644 uint32_t _itail_tgt = 0; 5645 RECOMP_REGS_LOCALS 5646 RECOMP_ENTER(0x250ACE31u); 5647 5648 goto L_250ACE31; 5649 L_250ACE0D: 5650 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 5651 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 5652 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 5653 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5654 _cf = 0; 5655 _flag_k = FK_NARROW(FK_TEST, 24); 5656 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 5657 L_250ACE1B: 5658 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 5659 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 5660 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 5661 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5663 _flag_k = FK_CMP; 5664 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 5665 L_250ACE28: 5666 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 5667 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 5668 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 5669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5670 _flag_k = FK_NARROW(FK_CMP, 24); 5671 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 5672 L_250ACE31: 5673 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 5674 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 5675 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 5676 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 5677 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 5678 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 5679 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 5680 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 5681 L_250ACE4C: 5682 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 5683 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 5684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5685 _flag_k = FK_CMP; 5686 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 5687 L_250ACE51: 5688 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 5689 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 5690 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 5691 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 5692 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 5693 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 5694 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5696 _flag_k = FK_CMP; 5697 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 5698 L_250ACE62: 5699 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 5700 L_250ACE65: 5701 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 5702 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 5703 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 5704 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 5705 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 5706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5707 _flag_k = FK_CMP; 5708 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 5709 L_250ACE73: 5710 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 5711 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 5712 L_250ACE78: 5713 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 5714 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 5715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 5716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5717 _flag_k = FK_CMP; 5718 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 5719 L_250ACE7F: 5720 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 5721 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 5722 L_250ACE83: 5723 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 5724 L_250ACE86: 5725 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 5726 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 5727 L_250ACE8B: 5728 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 5729 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 5730 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 5731 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 5732 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 5733 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 5734 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 5735 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 5736 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 5737 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 5738 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 5739 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 5740 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5742 _flag_k = FK_CMP; 5743 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 5744 L_250ACEB0: 5745 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 5746 L_250ACEB3: 5747 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 5748 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 5749 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 5750 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 5751 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 5752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5753 _flag_k = FK_CMP; 5754 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 5755 L_250ACEC1: 5756 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 5757 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 5758 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 5759 L_250ACECC: 5760 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 5761 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 5762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5764 _flag_k = FK_CMP; 5765 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 5766 L_250ACED4: 5767 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 5768 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 5769 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 5770 L_250ACEDF: 5771 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 5772 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 5773 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 5774 L_250ACEE9: 5775 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 5776 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 5777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5778 _flag_k = FK_NARROW(FK_CMP, 24); 5779 RECOMP_BACKEDGE(); 5780 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 5781 L_250ACEF3: 5782 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 5783 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 5784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5785 _flag_k = FK_CMP; 5786 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 5787 L_250ACEF7: 5788 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 5789 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 5790 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 5791 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 5792 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 5793 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 5794 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5796 _flag_k = FK_CMP; 5797 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 5798 L_250ACF08: 5799 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 5800 L_250ACF0B: 5801 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 5802 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 5803 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 5804 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 5805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 5806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5807 _flag_k = FK_CMP; 5808 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 5809 L_250ACF19: 5810 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 5811 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 5812 L_250ACF1E: 5813 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 5814 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 5815 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 5816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5817 _flag_k = FK_CMP; 5818 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 5819 L_250ACF26: 5820 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 5821 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 5822 L_250ACF2B: 5823 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 5824 L_250ACF2D: 5825 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 5826 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 5827 L_250ACF33: 5828 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 5829 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 5830 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 5831 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 5832 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 5833 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 5834 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 5835 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 5836 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 5837 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 5838 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 5839 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 5840 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5842 _flag_k = FK_CMP; 5843 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 5844 L_250ACF58: 5845 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 5846 L_250ACF5B: 5847 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 5848 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 5849 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 5850 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 5851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 5852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5853 _flag_k = FK_CMP; 5854 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 5855 L_250ACF69: 5856 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 5857 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 5858 L_250ACF6E: 5859 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 5860 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 5861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 5862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5863 _flag_k = FK_CMP; 5864 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 5865 L_250ACF75: 5866 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 5867 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 5868 L_250ACF79: 5869 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 5870 L_250ACF7C: 5871 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 5872 L_250ACF7E: 5873 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 5874 L_250ACF81: 5875 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 5876 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 5877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5879 _flag_k = FK_CMP; 5880 RECOMP_BACKEDGE(); 5881 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 5882 L_250ACF8D: 5883 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 5884 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 5885 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 5886 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 5887 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 5888 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 5889 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 5890 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 5891 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 5892 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 5893 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 5894 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 5895 RECOMP_REGS_OUT(); 5896 } 5897 5898 void sub_250ACE86(void) { 5899 int _fpu_cmp = 0; 5900 uint32_t _cf = 0; 5901 int _df = 1; 5902 uint32_t _flag_k = FK_NONE; 5903 uint32_t _flag_a = 0, _flag_b = 0; 5904 uint32_t _itail_tgt = 0; 5905 RECOMP_REGS_LOCALS 5906 RECOMP_ENTER(0x250ACE86u); 5907 5908 goto L_250ACE86; 5909 L_250ACE0D: 5910 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 5911 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 5912 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 5913 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5914 _cf = 0; 5915 _flag_k = FK_NARROW(FK_TEST, 24); 5916 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 5917 L_250ACE1B: 5918 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 5919 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 5920 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 5921 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5923 _flag_k = FK_CMP; 5924 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 5925 L_250ACE28: 5926 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 5927 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 5928 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 5929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5930 _flag_k = FK_NARROW(FK_CMP, 24); 5931 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 5932 L_250ACE31: 5933 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 5934 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 5935 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 5936 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 5937 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 5938 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 5939 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 5940 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 5941 L_250ACE4C: 5942 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 5943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 5944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5945 _flag_k = FK_CMP; 5946 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 5947 L_250ACE51: 5948 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 5949 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 5950 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 5951 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 5952 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 5953 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 5954 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5956 _flag_k = FK_CMP; 5957 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 5958 L_250ACE62: 5959 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 5960 L_250ACE65: 5961 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 5962 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 5963 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 5964 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 5965 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 5966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5967 _flag_k = FK_CMP; 5968 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 5969 L_250ACE73: 5970 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 5971 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 5972 L_250ACE78: 5973 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 5974 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 5975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 5976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5977 _flag_k = FK_CMP; 5978 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 5979 L_250ACE7F: 5980 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 5981 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 5982 L_250ACE83: 5983 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 5984 L_250ACE86: 5985 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 5986 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 5987 L_250ACE8B: 5988 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 5989 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 5990 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 5991 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 5992 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 5993 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 5994 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 5995 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 5996 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 5997 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 5998 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 5999 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 6000 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6002 _flag_k = FK_CMP; 6003 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 6004 L_250ACEB0: 6005 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 6006 L_250ACEB3: 6007 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 6008 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 6009 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 6010 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 6011 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6013 _flag_k = FK_CMP; 6014 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 6015 L_250ACEC1: 6016 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 6017 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 6018 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 6019 L_250ACECC: 6020 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 6021 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 6022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6024 _flag_k = FK_CMP; 6025 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 6026 L_250ACED4: 6027 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 6028 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 6029 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 6030 L_250ACEDF: 6031 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 6032 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 6033 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 6034 L_250ACEE9: 6035 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 6036 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 6037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6038 _flag_k = FK_NARROW(FK_CMP, 24); 6039 RECOMP_BACKEDGE(); 6040 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 6041 L_250ACEF3: 6042 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 6043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 6044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6045 _flag_k = FK_CMP; 6046 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 6047 L_250ACEF7: 6048 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 6049 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 6050 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 6051 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 6052 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 6053 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 6054 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6056 _flag_k = FK_CMP; 6057 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 6058 L_250ACF08: 6059 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 6060 L_250ACF0B: 6061 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 6062 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 6063 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 6064 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 6065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6067 _flag_k = FK_CMP; 6068 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 6069 L_250ACF19: 6070 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 6071 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 6072 L_250ACF1E: 6073 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 6074 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 6075 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 6076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6077 _flag_k = FK_CMP; 6078 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 6079 L_250ACF26: 6080 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 6081 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 6082 L_250ACF2B: 6083 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 6084 L_250ACF2D: 6085 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 6086 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 6087 L_250ACF33: 6088 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 6089 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 6090 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 6091 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 6092 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 6093 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 6094 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 6095 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 6096 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 6097 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 6098 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 6099 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 6100 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6102 _flag_k = FK_CMP; 6103 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 6104 L_250ACF58: 6105 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 6106 L_250ACF5B: 6107 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 6108 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 6109 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 6110 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 6111 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6113 _flag_k = FK_CMP; 6114 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 6115 L_250ACF69: 6116 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 6117 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 6118 L_250ACF6E: 6119 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 6120 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 6121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 6122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6123 _flag_k = FK_CMP; 6124 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 6125 L_250ACF75: 6126 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 6127 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 6128 L_250ACF79: 6129 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 6130 L_250ACF7C: 6131 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 6132 L_250ACF7E: 6133 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 6134 L_250ACF81: 6135 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 6136 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 6137 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6139 _flag_k = FK_CMP; 6140 RECOMP_BACKEDGE(); 6141 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 6142 L_250ACF8D: 6143 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 6144 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 6145 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 6146 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 6147 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 6148 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 6149 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 6150 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 6151 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 6152 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 6153 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 6154 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 6155 RECOMP_REGS_OUT(); 6156 } 6157 6158 void sub_250ACE8B(void) { 6159 int _fpu_cmp = 0; 6160 uint32_t _cf = 0; 6161 int _df = 1; 6162 uint32_t _flag_k = FK_NONE; 6163 uint32_t _flag_a = 0, _flag_b = 0; 6164 uint32_t _itail_tgt = 0; 6165 RECOMP_REGS_LOCALS 6166 RECOMP_ENTER(0x250ACE8Bu); 6167 6168 goto L_250ACE8B; 6169 L_250ACE0D: 6170 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 6171 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 6172 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 6173 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6174 _cf = 0; 6175 _flag_k = FK_NARROW(FK_TEST, 24); 6176 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 6177 L_250ACE1B: 6178 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 6179 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 6180 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 6181 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6183 _flag_k = FK_CMP; 6184 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 6185 L_250ACE28: 6186 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 6187 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 6188 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 6189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6190 _flag_k = FK_NARROW(FK_CMP, 24); 6191 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 6192 L_250ACE31: 6193 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 6194 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 6195 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 6196 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 6197 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 6198 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 6199 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 6200 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 6201 L_250ACE4C: 6202 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 6203 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 6204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6205 _flag_k = FK_CMP; 6206 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 6207 L_250ACE51: 6208 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 6209 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 6210 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 6211 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 6212 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 6213 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 6214 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6216 _flag_k = FK_CMP; 6217 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 6218 L_250ACE62: 6219 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 6220 L_250ACE65: 6221 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 6222 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 6223 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 6224 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 6225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6227 _flag_k = FK_CMP; 6228 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 6229 L_250ACE73: 6230 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 6231 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 6232 L_250ACE78: 6233 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 6234 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 6235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 6236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6237 _flag_k = FK_CMP; 6238 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 6239 L_250ACE7F: 6240 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 6241 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 6242 L_250ACE83: 6243 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 6244 L_250ACE86: 6245 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 6246 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 6247 L_250ACE8B: 6248 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 6249 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 6250 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 6251 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 6252 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 6253 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 6254 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 6255 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 6256 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 6257 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 6258 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 6259 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 6260 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6262 _flag_k = FK_CMP; 6263 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 6264 L_250ACEB0: 6265 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 6266 L_250ACEB3: 6267 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 6268 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 6269 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 6270 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 6271 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6273 _flag_k = FK_CMP; 6274 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 6275 L_250ACEC1: 6276 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 6277 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 6278 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 6279 L_250ACECC: 6280 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 6281 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 6282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6284 _flag_k = FK_CMP; 6285 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 6286 L_250ACED4: 6287 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 6288 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 6289 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 6290 L_250ACEDF: 6291 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 6292 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 6293 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 6294 L_250ACEE9: 6295 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 6296 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 6297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6298 _flag_k = FK_NARROW(FK_CMP, 24); 6299 RECOMP_BACKEDGE(); 6300 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 6301 L_250ACEF3: 6302 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 6303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 6304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6305 _flag_k = FK_CMP; 6306 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 6307 L_250ACEF7: 6308 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 6309 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 6310 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 6311 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 6312 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 6313 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 6314 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6316 _flag_k = FK_CMP; 6317 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 6318 L_250ACF08: 6319 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 6320 L_250ACF0B: 6321 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 6322 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 6323 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 6324 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 6325 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6327 _flag_k = FK_CMP; 6328 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 6329 L_250ACF19: 6330 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 6331 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 6332 L_250ACF1E: 6333 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 6334 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 6335 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 6336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6337 _flag_k = FK_CMP; 6338 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 6339 L_250ACF26: 6340 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 6341 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 6342 L_250ACF2B: 6343 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 6344 L_250ACF2D: 6345 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 6346 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 6347 L_250ACF33: 6348 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 6349 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 6350 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 6351 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 6352 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 6353 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 6354 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 6355 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 6356 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 6357 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 6358 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 6359 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 6360 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6362 _flag_k = FK_CMP; 6363 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 6364 L_250ACF58: 6365 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 6366 L_250ACF5B: 6367 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 6368 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 6369 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 6370 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 6371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6373 _flag_k = FK_CMP; 6374 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 6375 L_250ACF69: 6376 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 6377 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 6378 L_250ACF6E: 6379 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 6380 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 6381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 6382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6383 _flag_k = FK_CMP; 6384 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 6385 L_250ACF75: 6386 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 6387 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 6388 L_250ACF79: 6389 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 6390 L_250ACF7C: 6391 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 6392 L_250ACF7E: 6393 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 6394 L_250ACF81: 6395 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 6396 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 6397 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6399 _flag_k = FK_CMP; 6400 RECOMP_BACKEDGE(); 6401 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 6402 L_250ACF8D: 6403 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 6404 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 6405 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 6406 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 6407 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 6408 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 6409 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 6410 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 6411 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 6412 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 6413 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 6414 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 6415 RECOMP_REGS_OUT(); 6416 } 6417 6418 void sub_250ACEE9(void) { 6419 int _fpu_cmp = 0; 6420 uint32_t _cf = 0; 6421 int _df = 1; 6422 uint32_t _flag_k = FK_NONE; 6423 uint32_t _flag_a = 0, _flag_b = 0; 6424 uint32_t _itail_tgt = 0; 6425 RECOMP_REGS_LOCALS 6426 RECOMP_ENTER(0x250ACEE9u); 6427 6428 goto L_250ACEE9; 6429 L_250ACE0D: 6430 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 6431 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 6432 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 6433 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6434 _cf = 0; 6435 _flag_k = FK_NARROW(FK_TEST, 24); 6436 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 6437 L_250ACE1B: 6438 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 6439 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 6440 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 6441 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6443 _flag_k = FK_CMP; 6444 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 6445 L_250ACE28: 6446 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 6447 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 6448 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 6449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6450 _flag_k = FK_NARROW(FK_CMP, 24); 6451 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 6452 L_250ACE31: 6453 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 6454 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 6455 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 6456 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 6457 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 6458 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 6459 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 6460 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 6461 L_250ACE4C: 6462 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 6463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 6464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6465 _flag_k = FK_CMP; 6466 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 6467 L_250ACE51: 6468 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 6469 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 6470 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 6471 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 6472 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 6473 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 6474 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6476 _flag_k = FK_CMP; 6477 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 6478 L_250ACE62: 6479 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 6480 L_250ACE65: 6481 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 6482 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 6483 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 6484 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 6485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6487 _flag_k = FK_CMP; 6488 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 6489 L_250ACE73: 6490 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 6491 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 6492 L_250ACE78: 6493 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 6494 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 6495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 6496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6497 _flag_k = FK_CMP; 6498 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 6499 L_250ACE7F: 6500 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 6501 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 6502 L_250ACE83: 6503 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 6504 L_250ACE86: 6505 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 6506 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 6507 L_250ACE8B: 6508 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 6509 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 6510 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 6511 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 6512 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 6513 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 6514 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 6515 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 6516 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 6517 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 6518 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 6519 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 6520 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6522 _flag_k = FK_CMP; 6523 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 6524 L_250ACEB0: 6525 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 6526 L_250ACEB3: 6527 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 6528 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 6529 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 6530 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 6531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6533 _flag_k = FK_CMP; 6534 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 6535 L_250ACEC1: 6536 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 6537 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 6538 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 6539 L_250ACECC: 6540 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 6541 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 6542 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6544 _flag_k = FK_CMP; 6545 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 6546 L_250ACED4: 6547 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 6548 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 6549 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 6550 L_250ACEDF: 6551 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 6552 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 6553 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 6554 L_250ACEE9: 6555 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 6556 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 6557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6558 _flag_k = FK_NARROW(FK_CMP, 24); 6559 RECOMP_BACKEDGE(); 6560 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 6561 L_250ACEF3: 6562 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 6563 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 6564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6565 _flag_k = FK_CMP; 6566 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 6567 L_250ACEF7: 6568 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 6569 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 6570 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 6571 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 6572 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 6573 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 6574 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6576 _flag_k = FK_CMP; 6577 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 6578 L_250ACF08: 6579 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 6580 L_250ACF0B: 6581 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 6582 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 6583 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 6584 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 6585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6587 _flag_k = FK_CMP; 6588 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 6589 L_250ACF19: 6590 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 6591 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 6592 L_250ACF1E: 6593 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 6594 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 6595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 6596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6597 _flag_k = FK_CMP; 6598 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 6599 L_250ACF26: 6600 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 6601 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 6602 L_250ACF2B: 6603 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 6604 L_250ACF2D: 6605 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 6606 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 6607 L_250ACF33: 6608 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 6609 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 6610 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 6611 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 6612 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 6613 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 6614 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 6615 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 6616 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 6617 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 6618 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 6619 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 6620 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6622 _flag_k = FK_CMP; 6623 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 6624 L_250ACF58: 6625 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 6626 L_250ACF5B: 6627 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 6628 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 6629 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 6630 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 6631 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6633 _flag_k = FK_CMP; 6634 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 6635 L_250ACF69: 6636 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 6637 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 6638 L_250ACF6E: 6639 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 6640 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 6641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 6642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6643 _flag_k = FK_CMP; 6644 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 6645 L_250ACF75: 6646 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 6647 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 6648 L_250ACF79: 6649 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 6650 L_250ACF7C: 6651 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 6652 L_250ACF7E: 6653 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 6654 L_250ACF81: 6655 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 6656 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 6657 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6659 _flag_k = FK_CMP; 6660 RECOMP_BACKEDGE(); 6661 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 6662 L_250ACF8D: 6663 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 6664 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 6665 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 6666 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 6667 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 6668 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 6669 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 6670 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 6671 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 6672 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 6673 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 6674 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 6675 RECOMP_REGS_OUT(); 6676 } 6677 6678 void sub_250ACF2D(void) { 6679 int _fpu_cmp = 0; 6680 uint32_t _cf = 0; 6681 int _df = 1; 6682 uint32_t _flag_k = FK_NONE; 6683 uint32_t _flag_a = 0, _flag_b = 0; 6684 uint32_t _itail_tgt = 0; 6685 RECOMP_REGS_LOCALS 6686 RECOMP_ENTER(0x250ACF2Du); 6687 6688 goto L_250ACF2D; 6689 L_250ACE0D: 6690 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 6691 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 6692 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 6693 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6694 _cf = 0; 6695 _flag_k = FK_NARROW(FK_TEST, 24); 6696 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 6697 L_250ACE1B: 6698 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 6699 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 6700 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 6701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6703 _flag_k = FK_CMP; 6704 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 6705 L_250ACE28: 6706 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 6707 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 6708 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 6709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6710 _flag_k = FK_NARROW(FK_CMP, 24); 6711 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 6712 L_250ACE31: 6713 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 6714 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 6715 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 6716 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 6717 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 6718 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 6719 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 6720 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 6721 L_250ACE4C: 6722 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 6723 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 6724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6725 _flag_k = FK_CMP; 6726 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 6727 L_250ACE51: 6728 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 6729 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 6730 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 6731 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 6732 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 6733 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 6734 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6736 _flag_k = FK_CMP; 6737 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 6738 L_250ACE62: 6739 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 6740 L_250ACE65: 6741 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 6742 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 6743 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 6744 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 6745 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6747 _flag_k = FK_CMP; 6748 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 6749 L_250ACE73: 6750 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 6751 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 6752 L_250ACE78: 6753 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 6754 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 6755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 6756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6757 _flag_k = FK_CMP; 6758 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 6759 L_250ACE7F: 6760 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 6761 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 6762 L_250ACE83: 6763 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 6764 L_250ACE86: 6765 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 6766 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 6767 L_250ACE8B: 6768 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 6769 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 6770 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 6771 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 6772 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 6773 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 6774 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 6775 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 6776 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 6777 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 6778 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 6779 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 6780 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6782 _flag_k = FK_CMP; 6783 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 6784 L_250ACEB0: 6785 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 6786 L_250ACEB3: 6787 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 6788 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 6789 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 6790 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 6791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6793 _flag_k = FK_CMP; 6794 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 6795 L_250ACEC1: 6796 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 6797 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 6798 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 6799 L_250ACECC: 6800 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 6801 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 6802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6804 _flag_k = FK_CMP; 6805 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 6806 L_250ACED4: 6807 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 6808 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 6809 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 6810 L_250ACEDF: 6811 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 6812 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 6813 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 6814 L_250ACEE9: 6815 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 6816 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 6817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6818 _flag_k = FK_NARROW(FK_CMP, 24); 6819 RECOMP_BACKEDGE(); 6820 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 6821 L_250ACEF3: 6822 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 6823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 6824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6825 _flag_k = FK_CMP; 6826 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 6827 L_250ACEF7: 6828 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 6829 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 6830 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 6831 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 6832 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 6833 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 6834 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6836 _flag_k = FK_CMP; 6837 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 6838 L_250ACF08: 6839 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 6840 L_250ACF0B: 6841 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 6842 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 6843 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 6844 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 6845 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6847 _flag_k = FK_CMP; 6848 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 6849 L_250ACF19: 6850 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 6851 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 6852 L_250ACF1E: 6853 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 6854 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 6855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 6856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6857 _flag_k = FK_CMP; 6858 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 6859 L_250ACF26: 6860 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 6861 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 6862 L_250ACF2B: 6863 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 6864 L_250ACF2D: 6865 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 6866 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 6867 L_250ACF33: 6868 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 6869 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 6870 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 6871 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 6872 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 6873 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 6874 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 6875 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 6876 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 6877 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 6878 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 6879 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 6880 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6882 _flag_k = FK_CMP; 6883 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 6884 L_250ACF58: 6885 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 6886 L_250ACF5B: 6887 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 6888 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 6889 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 6890 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 6891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6893 _flag_k = FK_CMP; 6894 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 6895 L_250ACF69: 6896 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 6897 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 6898 L_250ACF6E: 6899 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 6900 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 6901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 6902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6903 _flag_k = FK_CMP; 6904 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 6905 L_250ACF75: 6906 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 6907 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 6908 L_250ACF79: 6909 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 6910 L_250ACF7C: 6911 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 6912 L_250ACF7E: 6913 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 6914 L_250ACF81: 6915 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 6916 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 6917 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6919 _flag_k = FK_CMP; 6920 RECOMP_BACKEDGE(); 6921 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 6922 L_250ACF8D: 6923 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 6924 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 6925 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 6926 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 6927 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 6928 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 6929 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 6930 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 6931 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 6932 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 6933 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 6934 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 6935 RECOMP_REGS_OUT(); 6936 } 6937 6938 void sub_250ACF33(void) { 6939 int _fpu_cmp = 0; 6940 uint32_t _cf = 0; 6941 int _df = 1; 6942 uint32_t _flag_k = FK_NONE; 6943 uint32_t _flag_a = 0, _flag_b = 0; 6944 uint32_t _itail_tgt = 0; 6945 RECOMP_REGS_LOCALS 6946 RECOMP_ENTER(0x250ACF33u); 6947 6948 goto L_250ACF33; 6949 L_250ACE0D: 6950 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 6951 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 6952 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 6953 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6954 _cf = 0; 6955 _flag_k = FK_NARROW(FK_TEST, 24); 6956 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 6957 L_250ACE1B: 6958 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 6959 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 6960 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 6961 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6963 _flag_k = FK_CMP; 6964 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 6965 L_250ACE28: 6966 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 6967 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 6968 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 6969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6970 _flag_k = FK_NARROW(FK_CMP, 24); 6971 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 6972 L_250ACE31: 6973 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 6974 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 6975 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 6976 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 6977 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 6978 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 6979 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 6980 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 6981 L_250ACE4C: 6982 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 6983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 6984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6985 _flag_k = FK_CMP; 6986 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 6987 L_250ACE51: 6988 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 6989 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 6990 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 6991 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 6992 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 6993 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 6994 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6996 _flag_k = FK_CMP; 6997 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 6998 L_250ACE62: 6999 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 7000 L_250ACE65: 7001 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 7002 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 7003 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 7004 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 7005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7007 _flag_k = FK_CMP; 7008 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 7009 L_250ACE73: 7010 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 7011 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 7012 L_250ACE78: 7013 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 7014 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 7015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7017 _flag_k = FK_CMP; 7018 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 7019 L_250ACE7F: 7020 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 7021 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 7022 L_250ACE83: 7023 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 7024 L_250ACE86: 7025 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 7026 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 7027 L_250ACE8B: 7028 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 7029 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 7030 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 7031 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 7032 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 7033 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 7034 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 7035 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 7036 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 7037 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 7038 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 7039 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 7040 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7042 _flag_k = FK_CMP; 7043 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 7044 L_250ACEB0: 7045 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 7046 L_250ACEB3: 7047 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 7048 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 7049 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 7050 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 7051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7053 _flag_k = FK_CMP; 7054 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 7055 L_250ACEC1: 7056 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 7057 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 7058 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 7059 L_250ACECC: 7060 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 7061 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 7062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7064 _flag_k = FK_CMP; 7065 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 7066 L_250ACED4: 7067 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 7068 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 7069 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 7070 L_250ACEDF: 7071 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 7072 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 7073 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 7074 L_250ACEE9: 7075 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 7076 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 7077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7078 _flag_k = FK_NARROW(FK_CMP, 24); 7079 RECOMP_BACKEDGE(); 7080 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 7081 L_250ACEF3: 7082 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 7083 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7085 _flag_k = FK_CMP; 7086 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 7087 L_250ACEF7: 7088 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 7089 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 7090 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 7091 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 7092 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 7093 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 7094 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7096 _flag_k = FK_CMP; 7097 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 7098 L_250ACF08: 7099 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 7100 L_250ACF0B: 7101 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 7102 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 7103 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 7104 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 7105 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7107 _flag_k = FK_CMP; 7108 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 7109 L_250ACF19: 7110 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 7111 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 7112 L_250ACF1E: 7113 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 7114 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 7115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7117 _flag_k = FK_CMP; 7118 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 7119 L_250ACF26: 7120 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 7121 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 7122 L_250ACF2B: 7123 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 7124 L_250ACF2D: 7125 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 7126 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 7127 L_250ACF33: 7128 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 7129 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 7130 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 7131 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 7132 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 7133 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 7134 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 7135 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 7136 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 7137 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 7138 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 7139 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 7140 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7142 _flag_k = FK_CMP; 7143 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 7144 L_250ACF58: 7145 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 7146 L_250ACF5B: 7147 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 7148 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 7149 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 7150 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 7151 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7153 _flag_k = FK_CMP; 7154 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 7155 L_250ACF69: 7156 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 7157 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 7158 L_250ACF6E: 7159 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 7160 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 7161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7163 _flag_k = FK_CMP; 7164 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 7165 L_250ACF75: 7166 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 7167 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 7168 L_250ACF79: 7169 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 7170 L_250ACF7C: 7171 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 7172 L_250ACF7E: 7173 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 7174 L_250ACF81: 7175 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 7176 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 7177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7179 _flag_k = FK_CMP; 7180 RECOMP_BACKEDGE(); 7181 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 7182 L_250ACF8D: 7183 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 7184 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 7185 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 7186 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 7187 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 7188 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 7189 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 7190 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 7191 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 7192 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 7193 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 7194 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 7195 RECOMP_REGS_OUT(); 7196 } 7197 7198 void sub_250ACF7C(void) { 7199 int _fpu_cmp = 0; 7200 uint32_t _cf = 0; 7201 int _df = 1; 7202 uint32_t _flag_k = FK_NONE; 7203 uint32_t _flag_a = 0, _flag_b = 0; 7204 uint32_t _itail_tgt = 0; 7205 RECOMP_REGS_LOCALS 7206 RECOMP_ENTER(0x250ACF7Cu); 7207 7208 goto L_250ACF7C; 7209 L_250ACE0D: 7210 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 7211 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 7212 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 7213 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7214 _cf = 0; 7215 _flag_k = FK_NARROW(FK_TEST, 24); 7216 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 7217 L_250ACE1B: 7218 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 7219 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 7220 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 7221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7223 _flag_k = FK_CMP; 7224 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 7225 L_250ACE28: 7226 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 7227 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 7228 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 7229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7230 _flag_k = FK_NARROW(FK_CMP, 24); 7231 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 7232 L_250ACE31: 7233 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 7234 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 7235 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 7236 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 7237 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 7238 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 7239 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 7240 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 7241 L_250ACE4C: 7242 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 7243 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7245 _flag_k = FK_CMP; 7246 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 7247 L_250ACE51: 7248 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 7249 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 7250 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 7251 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 7252 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 7253 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 7254 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7256 _flag_k = FK_CMP; 7257 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 7258 L_250ACE62: 7259 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 7260 L_250ACE65: 7261 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 7262 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 7263 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 7264 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 7265 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7267 _flag_k = FK_CMP; 7268 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 7269 L_250ACE73: 7270 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 7271 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 7272 L_250ACE78: 7273 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 7274 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 7275 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7277 _flag_k = FK_CMP; 7278 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 7279 L_250ACE7F: 7280 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 7281 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 7282 L_250ACE83: 7283 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 7284 L_250ACE86: 7285 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 7286 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 7287 L_250ACE8B: 7288 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 7289 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 7290 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 7291 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 7292 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 7293 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 7294 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 7295 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 7296 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 7297 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 7298 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 7299 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 7300 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7302 _flag_k = FK_CMP; 7303 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 7304 L_250ACEB0: 7305 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 7306 L_250ACEB3: 7307 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 7308 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 7309 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 7310 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 7311 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7313 _flag_k = FK_CMP; 7314 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 7315 L_250ACEC1: 7316 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 7317 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 7318 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 7319 L_250ACECC: 7320 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 7321 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 7322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7324 _flag_k = FK_CMP; 7325 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 7326 L_250ACED4: 7327 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 7328 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 7329 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 7330 L_250ACEDF: 7331 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 7332 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 7333 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 7334 L_250ACEE9: 7335 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 7336 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 7337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7338 _flag_k = FK_NARROW(FK_CMP, 24); 7339 RECOMP_BACKEDGE(); 7340 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 7341 L_250ACEF3: 7342 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 7343 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7345 _flag_k = FK_CMP; 7346 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 7347 L_250ACEF7: 7348 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 7349 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 7350 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 7351 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 7352 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 7353 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 7354 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7356 _flag_k = FK_CMP; 7357 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 7358 L_250ACF08: 7359 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 7360 L_250ACF0B: 7361 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 7362 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 7363 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 7364 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 7365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7367 _flag_k = FK_CMP; 7368 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 7369 L_250ACF19: 7370 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 7371 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 7372 L_250ACF1E: 7373 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 7374 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 7375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7377 _flag_k = FK_CMP; 7378 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 7379 L_250ACF26: 7380 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 7381 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 7382 L_250ACF2B: 7383 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 7384 L_250ACF2D: 7385 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 7386 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 7387 L_250ACF33: 7388 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 7389 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 7390 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 7391 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 7392 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 7393 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 7394 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 7395 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 7396 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 7397 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 7398 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 7399 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 7400 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7402 _flag_k = FK_CMP; 7403 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 7404 L_250ACF58: 7405 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 7406 L_250ACF5B: 7407 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 7408 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 7409 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 7410 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 7411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7413 _flag_k = FK_CMP; 7414 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 7415 L_250ACF69: 7416 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 7417 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 7418 L_250ACF6E: 7419 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 7420 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 7421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7423 _flag_k = FK_CMP; 7424 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 7425 L_250ACF75: 7426 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 7427 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 7428 L_250ACF79: 7429 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 7430 L_250ACF7C: 7431 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 7432 L_250ACF7E: 7433 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 7434 L_250ACF81: 7435 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 7436 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 7437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7439 _flag_k = FK_CMP; 7440 RECOMP_BACKEDGE(); 7441 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 7442 L_250ACF8D: 7443 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 7444 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 7445 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 7446 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 7447 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 7448 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 7449 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 7450 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 7451 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 7452 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 7453 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 7454 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 7455 RECOMP_REGS_OUT(); 7456 } 7457 7458 void sub_250ACF7E(void) { 7459 int _fpu_cmp = 0; 7460 uint32_t _cf = 0; 7461 int _df = 1; 7462 uint32_t _flag_k = FK_NONE; 7463 uint32_t _flag_a = 0, _flag_b = 0; 7464 uint32_t _itail_tgt = 0; 7465 RECOMP_REGS_LOCALS 7466 RECOMP_ENTER(0x250ACF7Eu); 7467 7468 goto L_250ACF7E; 7469 L_250ACE0D: 7470 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 7471 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 7472 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 7473 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7474 _cf = 0; 7475 _flag_k = FK_NARROW(FK_TEST, 24); 7476 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 7477 L_250ACE1B: 7478 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 7479 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 7480 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 7481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7483 _flag_k = FK_CMP; 7484 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 7485 L_250ACE28: 7486 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 7487 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 7488 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 7489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7490 _flag_k = FK_NARROW(FK_CMP, 24); 7491 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 7492 L_250ACE31: 7493 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 7494 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 7495 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 7496 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 7497 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 7498 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 7499 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 7500 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 7501 L_250ACE4C: 7502 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 7503 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7505 _flag_k = FK_CMP; 7506 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 7507 L_250ACE51: 7508 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 7509 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 7510 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 7511 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 7512 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 7513 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 7514 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7516 _flag_k = FK_CMP; 7517 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 7518 L_250ACE62: 7519 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 7520 L_250ACE65: 7521 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 7522 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 7523 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 7524 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 7525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7527 _flag_k = FK_CMP; 7528 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 7529 L_250ACE73: 7530 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 7531 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 7532 L_250ACE78: 7533 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 7534 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 7535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7537 _flag_k = FK_CMP; 7538 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 7539 L_250ACE7F: 7540 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 7541 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 7542 L_250ACE83: 7543 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 7544 L_250ACE86: 7545 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 7546 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 7547 L_250ACE8B: 7548 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 7549 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 7550 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 7551 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 7552 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 7553 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 7554 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 7555 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 7556 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 7557 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 7558 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 7559 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 7560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7562 _flag_k = FK_CMP; 7563 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 7564 L_250ACEB0: 7565 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 7566 L_250ACEB3: 7567 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 7568 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 7569 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 7570 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 7571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7573 _flag_k = FK_CMP; 7574 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 7575 L_250ACEC1: 7576 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 7577 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 7578 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 7579 L_250ACECC: 7580 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 7581 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 7582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7584 _flag_k = FK_CMP; 7585 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 7586 L_250ACED4: 7587 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 7588 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 7589 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 7590 L_250ACEDF: 7591 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 7592 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 7593 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 7594 L_250ACEE9: 7595 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 7596 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 7597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7598 _flag_k = FK_NARROW(FK_CMP, 24); 7599 RECOMP_BACKEDGE(); 7600 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 7601 L_250ACEF3: 7602 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 7603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7605 _flag_k = FK_CMP; 7606 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 7607 L_250ACEF7: 7608 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 7609 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 7610 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 7611 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 7612 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 7613 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 7614 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7616 _flag_k = FK_CMP; 7617 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 7618 L_250ACF08: 7619 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 7620 L_250ACF0B: 7621 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 7622 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 7623 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 7624 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 7625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7627 _flag_k = FK_CMP; 7628 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 7629 L_250ACF19: 7630 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 7631 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 7632 L_250ACF1E: 7633 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 7634 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 7635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7637 _flag_k = FK_CMP; 7638 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 7639 L_250ACF26: 7640 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 7641 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 7642 L_250ACF2B: 7643 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 7644 L_250ACF2D: 7645 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 7646 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 7647 L_250ACF33: 7648 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 7649 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 7650 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 7651 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 7652 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 7653 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 7654 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 7655 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 7656 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 7657 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 7658 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 7659 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 7660 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7662 _flag_k = FK_CMP; 7663 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 7664 L_250ACF58: 7665 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 7666 L_250ACF5B: 7667 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 7668 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 7669 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 7670 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 7671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7673 _flag_k = FK_CMP; 7674 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 7675 L_250ACF69: 7676 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 7677 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 7678 L_250ACF6E: 7679 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 7680 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 7681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7683 _flag_k = FK_CMP; 7684 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 7685 L_250ACF75: 7686 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 7687 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 7688 L_250ACF79: 7689 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 7690 L_250ACF7C: 7691 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 7692 L_250ACF7E: 7693 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 7694 L_250ACF81: 7695 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 7696 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 7697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7699 _flag_k = FK_CMP; 7700 RECOMP_BACKEDGE(); 7701 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 7702 L_250ACF8D: 7703 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 7704 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 7705 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 7706 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 7707 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 7708 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 7709 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 7710 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 7711 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 7712 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 7713 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 7714 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 7715 RECOMP_REGS_OUT(); 7716 } 7717 7718 void sub_250ACF81(void) { 7719 int _fpu_cmp = 0; 7720 uint32_t _cf = 0; 7721 int _df = 1; 7722 uint32_t _flag_k = FK_NONE; 7723 uint32_t _flag_a = 0, _flag_b = 0; 7724 uint32_t _itail_tgt = 0; 7725 RECOMP_REGS_LOCALS 7726 RECOMP_ENTER(0x250ACF81u); 7727 7728 goto L_250ACF81; 7729 L_250ACE0D: 7730 ecx = MEM32(eax + 0x4); /* 0x250ACE0D: mov ecx, dword ptr [eax + 4] */ 7731 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250ACE10: mov dl, byte ptr [ecx + 0x14] */ 7732 /* test LO8(edx), LO8(edx) */ /* 0x250ACE13: test dl, dl */ 7733 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7734 _cf = 0; 7735 _flag_k = FK_NARROW(FK_TEST, 24); 7736 if (TEST_NZ(_flag_a, _flag_b)) goto L_250ACF8D; /* 0x250ACE15: jne 0x250acf8d */ 7737 L_250ACE1B: 7738 edi = MEM32(ecx + 0x4); /* 0x250ACE1B: mov edi, dword ptr [ecx + 4] */ 7739 edx = MEM32(edi); /* 0x250ACE1E: mov edx, dword ptr [edi] */ 7740 /* cmp ecx, edx */ /* 0x250ACE20: cmp ecx, edx */ 7741 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7743 _flag_k = FK_CMP; 7744 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEE9; /* 0x250ACE22: jne 0x250acee9 */ 7745 L_250ACE28: 7746 edx = MEM32(edi + 0x8); /* 0x250ACE28: mov edx, dword ptr [edi + 8] */ 7747 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACE2B: cmp byte ptr [edx + 0x14], 0 */ 7748 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 7749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7750 _flag_k = FK_NARROW(FK_CMP, 24); 7751 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE4C; /* 0x250ACE2F: jne 0x250ace4c */ 7752 L_250ACE31: 7753 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE31: mov byte ptr [ecx + 0x14], bl */ 7754 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE34: mov byte ptr [edx + 0x14], bl */ 7755 ecx = MEM32(eax + 0x4); /* 0x250ACE37: mov ecx, dword ptr [eax + 4] */ 7756 edx = MEM32(ecx + 0x4); /* 0x250ACE3A: mov edx, dword ptr [ecx + 4] */ 7757 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x250ACE3D: mov byte ptr [edx + 0x14], 0 */ 7758 eax = MEM32(eax + 0x4); /* 0x250ACE41: mov eax, dword ptr [eax + 4] */ 7759 eax = MEM32(eax + 0x4); /* 0x250ACE44: mov eax, dword ptr [eax + 4] */ 7760 goto L_250ACF81; /* 0x250ACE47: jmp 0x250acf81 */ 7761 L_250ACE4C: 7762 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250ACE4C: cmp eax, dword ptr [ecx + 8] */ 7763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7765 _flag_k = FK_CMP; 7766 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE8B; /* 0x250ACE4F: jne 0x250ace8b */ 7767 L_250ACE51: 7768 eax = ecx; /* 0x250ACE51: mov eax, ecx */ 7769 ecx = MEM32(eax + 0x8); /* 0x250ACE53: mov ecx, dword ptr [eax + 8] */ 7770 edx = MEM32(ecx); /* 0x250ACE56: mov edx, dword ptr [ecx] */ 7771 MEM32(eax + 0x8) = edx; /* 0x250ACE58: mov dword ptr [eax + 8], edx */ 7772 edx = MEM32(ecx); /* 0x250ACE5B: mov edx, dword ptr [ecx] */ 7773 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACE5D: cmp edx, dword ptr [esi + 8] */ 7774 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7776 _flag_k = FK_CMP; 7777 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE65; /* 0x250ACE60: je 0x250ace65 */ 7778 L_250ACE62: 7779 MEM32(edx + 0x4) = eax; /* 0x250ACE62: mov dword ptr [edx + 4], eax */ 7780 L_250ACE65: 7781 edx = MEM32(eax + 0x4); /* 0x250ACE65: mov edx, dword ptr [eax + 4] */ 7782 MEM32(ecx + 0x4) = edx; /* 0x250ACE68: mov dword ptr [ecx + 4], edx */ 7783 edx = MEM32(esi + 0x4); /* 0x250ACE6B: mov edx, dword ptr [esi + 4] */ 7784 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACE6E: cmp eax, dword ptr [edx + 4] */ 7785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7787 _flag_k = FK_CMP; 7788 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE78; /* 0x250ACE71: jne 0x250ace78 */ 7789 L_250ACE73: 7790 MEM32(edx + 0x4) = ecx; /* 0x250ACE73: mov dword ptr [edx + 4], ecx */ 7791 goto L_250ACE86; /* 0x250ACE76: jmp 0x250ace86 */ 7792 L_250ACE78: 7793 edx = MEM32(eax + 0x4); /* 0x250ACE78: mov edx, dword ptr [eax + 4] */ 7794 /* cmp eax, MEM32(edx) */ /* 0x250ACE7B: cmp eax, dword ptr [edx] */ 7795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7797 _flag_k = FK_CMP; 7798 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE83; /* 0x250ACE7D: jne 0x250ace83 */ 7799 L_250ACE7F: 7800 MEM32(edx) = ecx; /* 0x250ACE7F: mov dword ptr [edx], ecx */ 7801 goto L_250ACE86; /* 0x250ACE81: jmp 0x250ace86 */ 7802 L_250ACE83: 7803 MEM32(edx + 0x8) = ecx; /* 0x250ACE83: mov dword ptr [edx + 8], ecx */ 7804 L_250ACE86: 7805 MEM32(ecx) = eax; /* 0x250ACE86: mov dword ptr [ecx], eax */ 7806 MEM32(eax + 0x4) = ecx; /* 0x250ACE88: mov dword ptr [eax + 4], ecx */ 7807 L_250ACE8B: 7808 ecx = MEM32(eax + 0x4); /* 0x250ACE8B: mov ecx, dword ptr [eax + 4] */ 7809 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACE8E: mov byte ptr [ecx + 0x14], bl */ 7810 edx = MEM32(eax + 0x4); /* 0x250ACE91: mov edx, dword ptr [eax + 4] */ 7811 ecx = MEM32(edx + 0x4); /* 0x250ACE94: mov ecx, dword ptr [edx + 4] */ 7812 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACE97: mov byte ptr [ecx + 0x14], 0 */ 7813 edx = MEM32(eax + 0x4); /* 0x250ACE9B: mov edx, dword ptr [eax + 4] */ 7814 ecx = MEM32(edx + 0x4); /* 0x250ACE9E: mov ecx, dword ptr [edx + 4] */ 7815 edx = MEM32(ecx); /* 0x250ACEA1: mov edx, dword ptr [ecx] */ 7816 edi = MEM32(edx + 0x8); /* 0x250ACEA3: mov edi, dword ptr [edx + 8] */ 7817 MEM32(ecx) = edi; /* 0x250ACEA6: mov dword ptr [ecx], edi */ 7818 edi = MEM32(edx + 0x8); /* 0x250ACEA8: mov edi, dword ptr [edx + 8] */ 7819 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACEAB: cmp edi, dword ptr [esi + 8] */ 7820 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7822 _flag_k = FK_CMP; 7823 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACEB3; /* 0x250ACEAE: je 0x250aceb3 */ 7824 L_250ACEB0: 7825 MEM32(edi + 0x4) = ecx; /* 0x250ACEB0: mov dword ptr [edi + 4], ecx */ 7826 L_250ACEB3: 7827 edi = MEM32(ecx + 0x4); /* 0x250ACEB3: mov edi, dword ptr [ecx + 4] */ 7828 MEM32(edx + 0x4) = edi; /* 0x250ACEB6: mov dword ptr [edx + 4], edi */ 7829 edi = MEM32(esi + 0x4); /* 0x250ACEB9: mov edi, dword ptr [esi + 4] */ 7830 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACEBC: cmp ecx, dword ptr [edi + 4] */ 7831 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7833 _flag_k = FK_CMP; 7834 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACECC; /* 0x250ACEBF: jne 0x250acecc */ 7835 L_250ACEC1: 7836 MEM32(edi + 0x4) = edx; /* 0x250ACEC1: mov dword ptr [edi + 4], edx */ 7837 MEM32(edx + 0x8) = ecx; /* 0x250ACEC4: mov dword ptr [edx + 8], ecx */ 7838 goto L_250ACF7E; /* 0x250ACEC7: jmp 0x250acf7e */ 7839 L_250ACECC: 7840 edi = MEM32(ecx + 0x4); /* 0x250ACECC: mov edi, dword ptr [ecx + 4] */ 7841 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250ACECF: cmp ecx, dword ptr [edi + 8] */ 7842 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7844 _flag_k = FK_CMP; 7845 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACEDF; /* 0x250ACED2: jne 0x250acedf */ 7846 L_250ACED4: 7847 MEM32(edi + 0x8) = edx; /* 0x250ACED4: mov dword ptr [edi + 8], edx */ 7848 MEM32(edx + 0x8) = ecx; /* 0x250ACED7: mov dword ptr [edx + 8], ecx */ 7849 goto L_250ACF7E; /* 0x250ACEDA: jmp 0x250acf7e */ 7850 L_250ACEDF: 7851 MEM32(edi) = edx; /* 0x250ACEDF: mov dword ptr [edi], edx */ 7852 MEM32(edx + 0x8) = ecx; /* 0x250ACEE1: mov dword ptr [edx + 8], ecx */ 7853 goto L_250ACF7E; /* 0x250ACEE4: jmp 0x250acf7e */ 7854 L_250ACEE9: 7855 /* cmp MEM8(edx + 0x14), 0 */ /* 0x250ACEE9: cmp byte ptr [edx + 0x14], 0 */ 7856 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 7857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7858 _flag_k = FK_NARROW(FK_CMP, 24); 7859 RECOMP_BACKEDGE(); 7860 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACE31; /* 0x250ACEED: je 0x250ace31 */ 7861 L_250ACEF3: 7862 /* cmp eax, MEM32(ecx) */ /* 0x250ACEF3: cmp eax, dword ptr [ecx] */ 7863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7865 _flag_k = FK_CMP; 7866 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF33; /* 0x250ACEF5: jne 0x250acf33 */ 7867 L_250ACEF7: 7868 eax = ecx; /* 0x250ACEF7: mov eax, ecx */ 7869 ecx = MEM32(eax); /* 0x250ACEF9: mov ecx, dword ptr [eax] */ 7870 edx = MEM32(ecx + 0x8); /* 0x250ACEFB: mov edx, dword ptr [ecx + 8] */ 7871 MEM32(eax) = edx; /* 0x250ACEFE: mov dword ptr [eax], edx */ 7872 edx = MEM32(ecx + 0x8); /* 0x250ACF00: mov edx, dword ptr [ecx + 8] */ 7873 /* cmp edx, MEM32(esi + 0x8) */ /* 0x250ACF03: cmp edx, dword ptr [esi + 8] */ 7874 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7876 _flag_k = FK_CMP; 7877 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF0B; /* 0x250ACF06: je 0x250acf0b */ 7878 L_250ACF08: 7879 MEM32(edx + 0x4) = eax; /* 0x250ACF08: mov dword ptr [edx + 4], eax */ 7880 L_250ACF0B: 7881 edx = MEM32(eax + 0x4); /* 0x250ACF0B: mov edx, dword ptr [eax + 4] */ 7882 MEM32(ecx + 0x4) = edx; /* 0x250ACF0E: mov dword ptr [ecx + 4], edx */ 7883 edx = MEM32(esi + 0x4); /* 0x250ACF11: mov edx, dword ptr [esi + 4] */ 7884 /* cmp eax, MEM32(edx + 0x4) */ /* 0x250ACF14: cmp eax, dword ptr [edx + 4] */ 7885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7887 _flag_k = FK_CMP; 7888 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF1E; /* 0x250ACF17: jne 0x250acf1e */ 7889 L_250ACF19: 7890 MEM32(edx + 0x4) = ecx; /* 0x250ACF19: mov dword ptr [edx + 4], ecx */ 7891 goto L_250ACF2D; /* 0x250ACF1C: jmp 0x250acf2d */ 7892 L_250ACF1E: 7893 edx = MEM32(eax + 0x4); /* 0x250ACF1E: mov edx, dword ptr [eax + 4] */ 7894 /* cmp eax, MEM32(edx + 0x8) */ /* 0x250ACF21: cmp eax, dword ptr [edx + 8] */ 7895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7897 _flag_k = FK_CMP; 7898 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF2B; /* 0x250ACF24: jne 0x250acf2b */ 7899 L_250ACF26: 7900 MEM32(edx + 0x8) = ecx; /* 0x250ACF26: mov dword ptr [edx + 8], ecx */ 7901 goto L_250ACF2D; /* 0x250ACF29: jmp 0x250acf2d */ 7902 L_250ACF2B: 7903 MEM32(edx) = ecx; /* 0x250ACF2B: mov dword ptr [edx], ecx */ 7904 L_250ACF2D: 7905 MEM32(ecx + 0x8) = eax; /* 0x250ACF2D: mov dword ptr [ecx + 8], eax */ 7906 MEM32(eax + 0x4) = ecx; /* 0x250ACF30: mov dword ptr [eax + 4], ecx */ 7907 L_250ACF33: 7908 ecx = MEM32(eax + 0x4); /* 0x250ACF33: mov ecx, dword ptr [eax + 4] */ 7909 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF36: mov byte ptr [ecx + 0x14], bl */ 7910 edx = MEM32(eax + 0x4); /* 0x250ACF39: mov edx, dword ptr [eax + 4] */ 7911 ecx = MEM32(edx + 0x4); /* 0x250ACF3C: mov ecx, dword ptr [edx + 4] */ 7912 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x250ACF3F: mov byte ptr [ecx + 0x14], 0 */ 7913 edx = MEM32(eax + 0x4); /* 0x250ACF43: mov edx, dword ptr [eax + 4] */ 7914 ecx = MEM32(edx + 0x4); /* 0x250ACF46: mov ecx, dword ptr [edx + 4] */ 7915 edx = MEM32(ecx + 0x8); /* 0x250ACF49: mov edx, dword ptr [ecx + 8] */ 7916 edi = MEM32(edx); /* 0x250ACF4C: mov edi, dword ptr [edx] */ 7917 MEM32(ecx + 0x8) = edi; /* 0x250ACF4E: mov dword ptr [ecx + 8], edi */ 7918 edi = MEM32(edx); /* 0x250ACF51: mov edi, dword ptr [edx] */ 7919 /* cmp edi, MEM32(esi + 0x8) */ /* 0x250ACF53: cmp edi, dword ptr [esi + 8] */ 7920 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7922 _flag_k = FK_CMP; 7923 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ACF5B; /* 0x250ACF56: je 0x250acf5b */ 7924 L_250ACF58: 7925 MEM32(edi + 0x4) = ecx; /* 0x250ACF58: mov dword ptr [edi + 4], ecx */ 7926 L_250ACF5B: 7927 edi = MEM32(ecx + 0x4); /* 0x250ACF5B: mov edi, dword ptr [ecx + 4] */ 7928 MEM32(edx + 0x4) = edi; /* 0x250ACF5E: mov dword ptr [edx + 4], edi */ 7929 edi = MEM32(esi + 0x4); /* 0x250ACF61: mov edi, dword ptr [esi + 4] */ 7930 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x250ACF64: cmp ecx, dword ptr [edi + 4] */ 7931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7933 _flag_k = FK_CMP; 7934 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF6E; /* 0x250ACF67: jne 0x250acf6e */ 7935 L_250ACF69: 7936 MEM32(edi + 0x4) = edx; /* 0x250ACF69: mov dword ptr [edi + 4], edx */ 7937 goto L_250ACF7C; /* 0x250ACF6C: jmp 0x250acf7c */ 7938 L_250ACF6E: 7939 edi = MEM32(ecx + 0x4); /* 0x250ACF6E: mov edi, dword ptr [ecx + 4] */ 7940 /* cmp ecx, MEM32(edi) */ /* 0x250ACF71: cmp ecx, dword ptr [edi] */ 7941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7943 _flag_k = FK_CMP; 7944 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACF79; /* 0x250ACF73: jne 0x250acf79 */ 7945 L_250ACF75: 7946 MEM32(edi) = edx; /* 0x250ACF75: mov dword ptr [edi], edx */ 7947 goto L_250ACF7C; /* 0x250ACF77: jmp 0x250acf7c */ 7948 L_250ACF79: 7949 MEM32(edi + 0x8) = edx; /* 0x250ACF79: mov dword ptr [edi + 8], edx */ 7950 L_250ACF7C: 7951 MEM32(edx) = ecx; /* 0x250ACF7C: mov dword ptr [edx], ecx */ 7952 L_250ACF7E: 7953 MEM32(ecx + 0x4) = edx; /* 0x250ACF7E: mov dword ptr [ecx + 4], edx */ 7954 L_250ACF81: 7955 ecx = MEM32(esi + 0x4); /* 0x250ACF81: mov ecx, dword ptr [esi + 4] */ 7956 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250ACF84: cmp eax, dword ptr [ecx + 4] */ 7957 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7959 _flag_k = FK_CMP; 7960 RECOMP_BACKEDGE(); 7961 if (CMP_NE(_flag_a, _flag_b)) goto L_250ACE0D; /* 0x250ACF87: jne 0x250ace0d */ 7962 L_250ACF8D: 7963 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 7964 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 7965 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 7966 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 7967 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 7968 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 7969 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 7970 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 7971 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 7972 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 7973 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 7974 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 7975 RECOMP_REGS_OUT(); 7976 } 7977 7978 void sub_250ACF8D(void) { 7979 int _fpu_cmp = 0; 7980 uint32_t _cf = 0; 7981 int _df = 1; 7982 uint32_t _flag_k = FK_NONE; 7983 uint32_t _flag_a = 0, _flag_b = 0; 7984 uint32_t _itail_tgt = 0; 7985 RECOMP_REGS_LOCALS 7986 RECOMP_ENTER(0x250ACF8Du); 7987 7988 L_250ACF8D: 7989 edx = MEM32(esi + 0x4); /* 0x250ACF8D: mov edx, dword ptr [esi + 4] */ 7990 eax = MEM32(edx + 0x4); /* 0x250ACF90: mov eax, dword ptr [edx + 4] */ 7991 ecx = MEM32(ebp + (-0x4)); /* 0x250ACF93: mov ecx, dword ptr [ebp - 4] */ 7992 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x250ACF96: mov byte ptr [eax + 0x14], bl */ 7993 eax = MEM32(ebp + 0x8); /* 0x250ACF99: mov eax, dword ptr [ebp + 8] */ 7994 edi = POP32_VAL(esp); /* 0x250ACF9C: pop edi */ 7995 esi = POP32_VAL(esp); /* 0x250ACF9D: pop esi */ 7996 MEM32(eax) = ecx; /* 0x250ACF9E: mov dword ptr [eax], ecx */ 7997 ebx = POP32_VAL(esp); /* 0x250ACFA0: pop ebx */ 7998 esp = ebp; /* 0x250ACFA1: mov esp, ebp */ 7999 ebp = POP32_VAL(esp); /* 0x250ACFA3: pop ebp */ 8000 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250ACFA4: ret 0x10 */ 8001 RECOMP_REGS_OUT(); 8002 } 8003 8004 void sub_250ACFB0(void) { 8005 int _fpu_cmp = 0; 8006 uint32_t _cf = 0; 8007 int _df = 1; 8008 uint32_t _flag_k = FK_NONE; 8009 uint32_t _flag_a = 0, _flag_b = 0; 8010 uint32_t _itail_tgt = 0; 8011 RECOMP_REGS_LOCALS 8012 RECOMP_ENTER(0x250ACFB0u); 8013 8014 L_250ACFB0: 8015 PUSH32(esp, ebp); /* 0x250ACFB0: push ebp */ 8016 ebp = esp; /* 0x250ACFB1: mov ebp, esp */ 8017 eax = MEM32(ebp + 0xC); /* 0x250ACFB3: mov eax, dword ptr [ebp + 0xc] */ 8018 /* test eax, eax */ /* 0x250ACFB6: test eax, eax */ 8019 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8020 _cf = 0; 8021 _flag_k = FK_TEST; 8022 if (TEST_Z(_flag_a, _flag_b)) goto L_250ACFD8; /* 0x250ACFB8: jbe 0x250acfd8 */ 8023 L_250ACFBA: 8024 ecx = MEM32(ebp + 0x10); /* 0x250ACFBA: mov ecx, dword ptr [ebp + 0x10] */ 8025 edx = eax; /* 0x250ACFBD: mov edx, eax */ 8026 eax = MEM32(ebp + 0x8); /* 0x250ACFBF: mov eax, dword ptr [ebp + 8] */ 8027 PUSH32(esp, esi); /* 0x250ACFC2: push esi */ 8028 L_250ACFC3: 8029 /* test eax, eax */ /* 0x250ACFC3: test eax, eax */ 8030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8031 _cf = 0; 8032 _flag_k = FK_TEST; 8033 if (TEST_Z(_flag_a, _flag_b)) goto L_250ACFD1; /* 0x250ACFC5: je 0x250acfd1 */ 8034 L_250ACFC7: 8035 esi = MEM32(ecx); /* 0x250ACFC7: mov esi, dword ptr [ecx] */ 8036 MEM32(eax) = esi; /* 0x250ACFC9: mov dword ptr [eax], esi */ 8037 esi = MEM32(ecx + 0x4); /* 0x250ACFCB: mov esi, dword ptr [ecx + 4] */ 8038 MEM32(eax + 0x4) = esi; /* 0x250ACFCE: mov dword ptr [eax + 4], esi */ 8039 L_250ACFD1: 8040 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 8041 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8042 eax = eax + 8; /* 0x250ACFD1: add eax, 8 */ 8043 _flag_k = FK_ADD; 8044 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 8045 edx = edx - 1; /* 0x250ACFD4: dec edx */ 8046 _flag_k = FK_DEC; 8047 RECOMP_BACKEDGE(); 8048 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250ACFC3; /* 0x250ACFD5: jne 0x250acfc3 */ 8049 L_250ACFD7: 8050 esi = POP32_VAL(esp); /* 0x250ACFD7: pop esi */ 8051 L_250ACFD8: 8052 ebp = POP32_VAL(esp); /* 0x250ACFD8: pop ebp */ 8053 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250ACFD9: ret 0xc */ 8054 RECOMP_REGS_OUT(); 8055 } 8056 8057 void sub_250ACFE0(void) { 8058 int _fpu_cmp = 0; 8059 uint32_t _cf = 0; 8060 int _df = 1; 8061 uint32_t _flag_k = FK_NONE; 8062 uint32_t _flag_a = 0, _flag_b = 0; 8063 uint32_t _itail_tgt = 0; 8064 RECOMP_REGS_LOCALS 8065 RECOMP_ENTER(0x250ACFE0u); 8066 8067 L_250ACFE0: 8068 PUSH32(esp, ebp); /* 0x250ACFE0: push ebp */ 8069 ebp = esp; /* 0x250ACFE1: mov ebp, esp */ 8070 eax = MEM32(ebp + 0x8); /* 0x250ACFE3: mov eax, dword ptr [ebp + 8] */ 8071 /* test eax, eax */ /* 0x250ACFE6: test eax, eax */ 8072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8073 _cf = 0; 8074 _flag_k = FK_TEST; 8075 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD003; /* 0x250ACFE8: je 0x250ad003 */ 8076 L_250ACFEA: 8077 ecx = MEM32(ebp + 0xC); /* 0x250ACFEA: mov ecx, dword ptr [ebp + 0xc] */ 8078 edx = MEM32(ecx); /* 0x250ACFED: mov edx, dword ptr [ecx] */ 8079 MEM32(eax) = edx; /* 0x250ACFEF: mov dword ptr [eax], edx */ 8080 edx = MEM32(ecx + 0x4); /* 0x250ACFF1: mov edx, dword ptr [ecx + 4] */ 8081 MEM32(eax + 0x4) = edx; /* 0x250ACFF4: mov dword ptr [eax + 4], edx */ 8082 edx = MEM32(ecx + 0x8); /* 0x250ACFF7: mov edx, dword ptr [ecx + 8] */ 8083 MEM32(eax + 0x8) = edx; /* 0x250ACFFA: mov dword ptr [eax + 8], edx */ 8084 ecx = MEM32(ecx + 0xC); /* 0x250ACFFD: mov ecx, dword ptr [ecx + 0xc] */ 8085 MEM32(eax + 0xC) = ecx; /* 0x250AD000: mov dword ptr [eax + 0xc], ecx */ 8086 L_250AD003: 8087 ebp = POP32_VAL(esp); /* 0x250AD003: pop ebp */ 8088 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD004: ret */ 8089 RECOMP_REGS_OUT(); 8090 } 8091 8092 void sub_250AD010(void) { 8093 int _fpu_cmp = 0; 8094 uint32_t _cf = 0; 8095 int _df = 1; 8096 uint32_t _flag_k = FK_NONE; 8097 uint32_t _flag_a = 0, _flag_b = 0; 8098 uint32_t _itail_tgt = 0; 8099 RECOMP_REGS_LOCALS 8100 RECOMP_ENTER(0x250AD010u); 8101 8102 L_250AD010: 8103 PUSH32(esp, ebp); /* 0x250AD010: push ebp */ 8104 ebp = esp; /* 0x250AD011: mov ebp, esp */ 8105 /* test MEM8(ebp + 0x8), 1 */ /* 0x250AD013: test byte ptr [ebp + 8], 1 */ 8106 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 8107 _cf = 0; 8108 _flag_k = FK_NARROW(FK_TEST, 24); 8109 PUSH32(esp, esi); /* 0x250AD017: push esi */ 8110 esi = ecx; /* 0x250AD018: mov esi, ecx */ 8111 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD025; /* 0x250AD01A: je 0x250ad025 */ 8112 L_250AD01C: 8113 PUSH32(esp, esi); /* 0x250AD01C: push esi */ 8114 RECOMP_ICALL(0x25137EECu); /* 0x250AD01D: call 0x25137eec */ /* not lifted */ 8115 RECOMP_FLAGS_IN(); 8116 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8117 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8118 esp = esp + 4; /* 0x250AD022: add esp, 4 */ 8119 _flag_k = FK_ADD; 8120 L_250AD025: 8121 eax = esi; /* 0x250AD025: mov eax, esi */ 8122 esi = POP32_VAL(esp); /* 0x250AD027: pop esi */ 8123 ebp = POP32_VAL(esp); /* 0x250AD028: pop ebp */ 8124 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD029: ret 4 */ 8125 RECOMP_REGS_OUT(); 8126 } 8127 8128 void sub_250AD030(void) { 8129 int _fpu_cmp = 0; 8130 uint32_t _cf = 0; 8131 int _df = 1; 8132 uint32_t _flag_k = FK_NONE; 8133 uint32_t _flag_a = 0, _flag_b = 0; 8134 uint32_t _itail_tgt = 0; 8135 RECOMP_REGS_LOCALS 8136 RECOMP_ENTER(0x250AD030u); 8137 8138 L_250AD030: 8139 PUSH32(esp, ebp); /* 0x250AD030: push ebp */ 8140 ebp = esp; /* 0x250AD031: mov ebp, esp */ 8141 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x118u); 8142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8143 esp = esp - 0x118u; /* 0x250AD033: sub esp, 0x118 */ 8144 _flag_k = FK_CMP; 8145 ecx = MEM32(ebp + 0xC); /* 0x250AD039: mov ecx, dword ptr [ebp + 0xc] */ 8146 PUSH32(esp, ebx); /* 0x250AD03C: push ebx */ 8147 ebx = MEM32(ebp + 0x8); /* 0x250AD03D: mov ebx, dword ptr [ebp + 8] */ 8148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 8149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8150 ecx = ecx - ebx; /* 0x250AD040: sub ecx, ebx */ 8151 _flag_k = FK_CMP; 8152 eax = 0x92492493u; /* 0x250AD042: mov eax, 0x92492493 */ 8153 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250AD047: imul ecx */ 8154 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 8155 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 8156 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 8157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8158 edx = edx + ecx; /* 0x250AD049: add edx, ecx */ 8159 _flag_k = FK_ADD; 8160 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AD04B: sar edx, 5 */ 8161 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8162 edx = (uint32_t)((int32_t)edx >> 5u); 8163 eax = edx; /* 0x250AD04E: mov eax, edx */ 8164 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250AD050: shr eax, 0x1f */ 8165 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8166 eax = eax >> 31u; /* 0x250AD050: shr eax, 0x1f */ 8167 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8169 edx = edx + eax; /* 0x250AD053: add edx, eax */ 8170 _flag_k = FK_ADD; 8171 /* cmp edx, 0x10u */ /* 0x250AD055: cmp edx, 0x10 */ 8172 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 8173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8174 _flag_k = FK_CMP; 8175 if (CMP_LE(_flag_a, _flag_b)) goto L_250AD1EC; /* 0x250AD058: jle 0x250ad1ec */ 8176 L_250AD05E: 8177 PUSH32(esp, esi); /* 0x250AD05E: push esi */ 8178 PUSH32(esp, edi); /* 0x250AD05F: push edi */ 8179 goto L_250AD065; /* 0x250AD060: jmp 0x250ad065 */ 8180 L_250AD062: 8181 ebx = MEM32(ebp + 0x8); /* 0x250AD062: mov ebx, dword ptr [ebp + 8] */ 8182 L_250AD065: 8183 ecx = MEM32(ebp + 0xC); /* 0x250AD065: mov ecx, dword ptr [ebp + 0xc] */ 8184 eax = edx; /* 0x250AD068: mov eax, edx */ 8185 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x250AD06A: cdq */ 8186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8188 eax = eax - edx; /* 0x250AD06B: sub eax, edx */ 8189 _flag_k = FK_CMP; 8190 esi = ecx + (-0x38); /* 0x250AD06D: lea esi, [ecx - 0x38] */ 8191 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x250AD070: sar eax, 1 */ 8192 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8193 eax = (uint32_t)((int32_t)eax >> 1u); 8194 edx = eax * 8; /* 0x250AD072: lea edx, [eax*8] */ 8195 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8197 edx = edx - eax; /* 0x250AD079: sub edx, eax */ 8198 _flag_k = FK_CMP; 8199 ecx = 0xEu; /* 0x250AD07B: mov ecx, 0xe */ 8200 edi = ebp + (-0x38); /* 0x250AD080: lea edi, [ebp - 0x38] */ 8201 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD083: 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; } 8202 esi = ebx + edx * 8; /* 0x250AD085: lea esi, [ebx + edx*8] */ 8203 ecx = 0xEu; /* 0x250AD088: mov ecx, 0xe */ 8204 edi = ebp + (-0x70); /* 0x250AD08D: lea edi, [ebp - 0x70] */ 8205 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD090: 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; } 8206 ecx = 0xEu; /* 0x250AD092: mov ecx, 0xe */ 8207 esi = ebx; /* 0x250AD097: mov esi, ebx */ 8208 edi = ebp + (-0xA8); /* 0x250AD099: lea edi, [ebp - 0xa8] */ 8209 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD09F: 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; } 8210 fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x250AD0A1: fld dword ptr [ebp - 0x9c] */ 8211 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x64))); /* 0x250AD0A7: fcomp dword ptr [ebp - 0x64] */ 8212 fp_pop(); 8213 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD0AA: fnstsw ax */ 8214 /* test HI8(eax), 1 */ /* 0x250AD0AC: test ah, 1 */ 8215 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8216 _cf = 0; 8217 _flag_k = FK_NARROW(FK_TEST, 24); 8218 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD0D9; /* 0x250AD0AF: je 0x250ad0d9 */ 8219 L_250AD0B1: 8220 fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x250AD0B1: fld dword ptr [ebp - 0x64] */ 8221 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x2C))); /* 0x250AD0B4: fcomp dword ptr [ebp - 0x2c] */ 8222 fp_pop(); 8223 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD0B7: fnstsw ax */ 8224 /* test HI8(eax), 1 */ /* 0x250AD0B9: test ah, 1 */ 8225 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8226 _cf = 0; 8227 _flag_k = FK_NARROW(FK_TEST, 24); 8228 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AD101; /* 0x250AD0BC: jne 0x250ad101 */ 8229 L_250AD0BE: 8230 fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x250AD0BE: fld dword ptr [ebp - 0x9c] */ 8231 esi = ebp + (-0x38); /* 0x250AD0C4: lea esi, [ebp - 0x38] */ 8232 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x2C))); /* 0x250AD0C7: fcomp dword ptr [ebp - 0x2c] */ 8233 fp_pop(); 8234 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD0CA: fnstsw ax */ 8235 /* test HI8(eax), 1 */ /* 0x250AD0CC: test ah, 1 */ 8236 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8237 _cf = 0; 8238 _flag_k = FK_NARROW(FK_TEST, 24); 8239 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AD104; /* 0x250AD0CF: jne 0x250ad104 */ 8240 L_250AD0D1: 8241 esi = ebp + (-0xA8); /* 0x250AD0D1: lea esi, [ebp - 0xa8] */ 8242 goto L_250AD104; /* 0x250AD0D7: jmp 0x250ad104 */ 8243 L_250AD0D9: 8244 fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x250AD0D9: fld dword ptr [ebp - 0x9c] */ 8245 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x2C))); /* 0x250AD0DF: fcomp dword ptr [ebp - 0x2c] */ 8246 fp_pop(); 8247 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD0E2: fnstsw ax */ 8248 /* test HI8(eax), 1 */ /* 0x250AD0E4: test ah, 1 */ 8249 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8250 _cf = 0; 8251 _flag_k = FK_NARROW(FK_TEST, 24); 8252 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD0F1; /* 0x250AD0E7: je 0x250ad0f1 */ 8253 L_250AD0E9: 8254 esi = ebp + (-0xA8); /* 0x250AD0E9: lea esi, [ebp - 0xa8] */ 8255 goto L_250AD104; /* 0x250AD0EF: jmp 0x250ad104 */ 8256 L_250AD0F1: 8257 fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x250AD0F1: fld dword ptr [ebp - 0x64] */ 8258 esi = ebp + (-0x38); /* 0x250AD0F4: lea esi, [ebp - 0x38] */ 8259 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x2C))); /* 0x250AD0F7: fcomp dword ptr [ebp - 0x2c] */ 8260 fp_pop(); 8261 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD0FA: fnstsw ax */ 8262 /* test HI8(eax), 1 */ /* 0x250AD0FC: test ah, 1 */ 8263 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8264 _cf = 0; 8265 _flag_k = FK_NARROW(FK_TEST, 24); 8266 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AD104; /* 0x250AD0FF: jne 0x250ad104 */ 8267 L_250AD101: 8268 esi = ebp + (-0x70); /* 0x250AD101: lea esi, [ebp - 0x70] */ 8269 L_250AD104: 8270 edx = MEM32(ebp + 0xC); /* 0x250AD104: mov edx, dword ptr [ebp + 0xc] */ 8271 ecx = 0xEu; /* 0x250AD107: mov ecx, 0xe */ 8272 edi = ebp + (-0xE0); /* 0x250AD10C: lea edi, [ebp - 0xe0] */ 8273 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD112: 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; } 8274 L_250AD114: 8275 fp_push(*(float*)&MEM32(ebx + 0xC)); /* 0x250AD114: fld dword ptr [ebx + 0xc] */ 8276 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xD4))); /* 0x250AD117: fcomp dword ptr [ebp - 0xd4] */ 8277 fp_pop(); 8278 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD11D: fnstsw ax */ 8279 /* test HI8(eax), 1 */ /* 0x250AD11F: test ah, 1 */ 8280 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8281 _cf = 0; 8282 _flag_k = FK_NARROW(FK_TEST, 24); 8283 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD129; /* 0x250AD122: je 0x250ad129 */ 8284 L_250AD124: 8285 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x38u); 8286 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8287 ebx = ebx + 0x38u; /* 0x250AD124: add ebx, 0x38 */ 8288 _flag_k = FK_ADD; 8289 RECOMP_BACKEDGE(); 8290 goto L_250AD114; /* 0x250AD127: jmp 0x250ad114 */ 8291 L_250AD129: 8292 fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x250AD129: fld dword ptr [ebp - 0xd4] */ 8293 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x38u); 8294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8295 edx = edx - 0x38u; /* 0x250AD12F: sub edx, 0x38 */ 8296 _flag_k = FK_CMP; 8297 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0xC)); /* 0x250AD132: fcomp dword ptr [edx + 0xc] */ 8298 fp_pop(); 8299 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD135: fnstsw ax */ 8300 /* test HI8(eax), 1 */ /* 0x250AD137: test ah, 1 */ 8301 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8302 _cf = 0; 8303 _flag_k = FK_NARROW(FK_TEST, 24); 8304 RECOMP_BACKEDGE(); 8305 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AD129; /* 0x250AD13A: jne 0x250ad129 */ 8306 L_250AD13C: 8307 /* cmp edx, ebx */ /* 0x250AD13C: cmp edx, ebx */ 8308 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 8309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8310 _flag_k = FK_CMP; 8311 if (CMP_BE(_flag_a, _flag_b)) goto L_250AD16E; /* 0x250AD13E: jbe 0x250ad16e */ 8312 L_250AD140: 8313 esi = ebx; /* 0x250AD140: mov esi, ebx */ 8314 ecx = 0xEu; /* 0x250AD142: mov ecx, 0xe */ 8315 edi = ebp + (-0x118); /* 0x250AD147: lea edi, [ebp - 0x118] */ 8316 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD14D: 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; } 8317 edi = ebx; /* 0x250AD14F: mov edi, ebx */ 8318 ecx = 0xEu; /* 0x250AD151: mov ecx, 0xe */ 8319 esi = edx; /* 0x250AD156: mov esi, edx */ 8320 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD158: 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; } 8321 ecx = 0xEu; /* 0x250AD15A: mov ecx, 0xe */ 8322 esi = ebp + (-0x118); /* 0x250AD15F: lea esi, [ebp - 0x118] */ 8323 edi = edx; /* 0x250AD165: mov edi, edx */ 8324 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD167: 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; } 8325 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x38u); 8326 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8327 ebx = ebx + 0x38u; /* 0x250AD169: add ebx, 0x38 */ 8328 _flag_k = FK_ADD; 8329 RECOMP_BACKEDGE(); 8330 goto L_250AD114; /* 0x250AD16C: jmp 0x250ad114 */ 8331 L_250AD16E: 8332 esi = MEM32(ebp + 0xC); /* 0x250AD16E: mov esi, dword ptr [ebp + 0xc] */ 8333 edi = MEM32(ebp + 0x8); /* 0x250AD171: mov edi, dword ptr [ebp + 8] */ 8334 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 8335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8336 esi = esi - ebx; /* 0x250AD174: sub esi, ebx */ 8337 _flag_k = FK_CMP; 8338 eax = 0x92492493u; /* 0x250AD176: mov eax, 0x92492493 */ 8339 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(esi); /* 0x250AD17B: imul esi */ 8340 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 8341 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 8342 ecx = edx; /* 0x250AD17D: mov ecx, edx */ 8343 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 8344 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8345 ecx = ecx + esi; /* 0x250AD17F: add ecx, esi */ 8346 _flag_k = FK_ADD; 8347 if (5u) _cf = (((ecx) >> 4) & 1u); /* 0x250AD181: sar ecx, 5 */ 8348 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8349 ecx = (uint32_t)((int32_t)ecx >> 5u); 8350 eax = ecx; /* 0x250AD184: mov eax, ecx */ 8351 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250AD186: shr eax, 0x1f */ 8352 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8353 eax = eax >> 31u; /* 0x250AD186: shr eax, 0x1f */ 8354 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8355 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8356 ecx = ecx + eax; /* 0x250AD189: add ecx, eax */ 8357 _flag_k = FK_ADD; 8358 esi = ebx; /* 0x250AD18B: mov esi, ebx */ 8359 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 8360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8361 esi = esi - edi; /* 0x250AD18D: sub esi, edi */ 8362 _flag_k = FK_CMP; 8363 eax = 0x92492493u; /* 0x250AD18F: mov eax, 0x92492493 */ 8364 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(esi); /* 0x250AD194: imul esi */ 8365 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 8366 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 8367 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 8368 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8369 edx = edx + esi; /* 0x250AD196: add edx, esi */ 8370 _flag_k = FK_ADD; 8371 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AD198: sar edx, 5 */ 8372 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8373 edx = (uint32_t)((int32_t)edx >> 5u); 8374 eax = edx; /* 0x250AD19B: mov eax, edx */ 8375 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250AD19D: shr eax, 0x1f */ 8376 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8377 eax = eax >> 31u; /* 0x250AD19D: shr eax, 0x1f */ 8378 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8379 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8380 edx = edx + eax; /* 0x250AD1A0: add edx, eax */ 8381 _flag_k = FK_ADD; 8382 /* cmp ecx, edx */ /* 0x250AD1A2: cmp ecx, edx */ 8383 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8385 _flag_k = FK_CMP; 8386 PUSH32(esp, 0); /* 0x250AD1A4: push 0 */ 8387 if (CMP_G(_flag_a, _flag_b)) goto L_250AD1BA; /* 0x250AD1A6: jg 0x250ad1ba */ 8388 L_250AD1A8: 8389 ecx = MEM32(ebp + 0xC); /* 0x250AD1A8: mov ecx, dword ptr [ebp + 0xc] */ 8390 PUSH32(esp, ecx); /* 0x250AD1AB: push ecx */ 8391 PUSH32(esp, ebx); /* 0x250AD1AC: push ebx */ 8392 RECOMP_ICALL(0x250AD030u); /* 0x250AD1AD: call 0x250ad030 */ /* not lifted */ 8393 RECOMP_FLAGS_IN(); 8394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 8395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8396 esp = esp + 0xCu; /* 0x250AD1B2: add esp, 0xc */ 8397 _flag_k = FK_ADD; 8398 MEM32(ebp + 0xC) = ebx; /* 0x250AD1B5: mov dword ptr [ebp + 0xc], ebx */ 8399 goto L_250AD1C9; /* 0x250AD1B8: jmp 0x250ad1c9 */ 8400 L_250AD1BA: 8401 PUSH32(esp, ebx); /* 0x250AD1BA: push ebx */ 8402 PUSH32(esp, edi); /* 0x250AD1BB: push edi */ 8403 RECOMP_ICALL(0x250AD030u); /* 0x250AD1BC: call 0x250ad030 */ /* not lifted */ 8404 RECOMP_FLAGS_IN(); 8405 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 8406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8407 esp = esp + 0xCu; /* 0x250AD1C1: add esp, 0xc */ 8408 _flag_k = FK_ADD; 8409 MEM32(ebp + 0x8) = ebx; /* 0x250AD1C4: mov dword ptr [ebp + 8], ebx */ 8410 edi = ebx; /* 0x250AD1C7: mov edi, ebx */ 8411 L_250AD1C9: 8412 ecx = MEM32(ebp + 0xC); /* 0x250AD1C9: mov ecx, dword ptr [ebp + 0xc] */ 8413 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8415 ecx = ecx - edi; /* 0x250AD1CC: sub ecx, edi */ 8416 _flag_k = FK_CMP; 8417 eax = 0x92492493u; /* 0x250AD1CE: mov eax, 0x92492493 */ 8418 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250AD1D3: imul ecx */ 8419 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 8420 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 8421 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 8422 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8423 edx = edx + ecx; /* 0x250AD1D5: add edx, ecx */ 8424 _flag_k = FK_ADD; 8425 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x250AD1D7: sar edx, 5 */ 8426 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8427 edx = (uint32_t)((int32_t)edx >> 5u); 8428 eax = edx; /* 0x250AD1DA: mov eax, edx */ 8429 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250AD1DC: shr eax, 0x1f */ 8430 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8431 eax = eax >> 31u; /* 0x250AD1DC: shr eax, 0x1f */ 8432 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8433 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8434 edx = edx + eax; /* 0x250AD1DF: add edx, eax */ 8435 _flag_k = FK_ADD; 8436 /* cmp edx, 0x10u */ /* 0x250AD1E1: cmp edx, 0x10 */ 8437 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 8438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8439 _flag_k = FK_CMP; 8440 RECOMP_BACKEDGE(); 8441 if (CMP_G(_flag_a, _flag_b)) goto L_250AD062; /* 0x250AD1E4: jg 0x250ad062 */ 8442 L_250AD1EA: 8443 edi = POP32_VAL(esp); /* 0x250AD1EA: pop edi */ 8444 esi = POP32_VAL(esp); /* 0x250AD1EB: pop esi */ 8445 L_250AD1EC: 8446 ebx = POP32_VAL(esp); /* 0x250AD1EC: pop ebx */ 8447 esp = ebp; /* 0x250AD1ED: mov esp, ebp */ 8448 ebp = POP32_VAL(esp); /* 0x250AD1EF: pop ebp */ 8449 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD1F0: ret */ 8450 RECOMP_REGS_OUT(); 8451 } 8452 8453 void sub_250AD200(void) { 8454 int _fpu_cmp = 0; 8455 uint32_t _cf = 0; 8456 int _df = 1; 8457 uint32_t _flag_k = FK_NONE; 8458 uint32_t _flag_a = 0, _flag_b = 0; 8459 uint32_t _itail_tgt = 0; 8460 RECOMP_REGS_LOCALS 8461 RECOMP_ENTER(0x250AD200u); 8462 8463 L_250AD200: 8464 PUSH32(esp, ebp); /* 0x250AD200: push ebp */ 8465 ebp = esp; /* 0x250AD201: mov ebp, esp */ 8466 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x70u); 8467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8468 esp = esp - 0x70u; /* 0x250AD203: sub esp, 0x70 */ 8469 _flag_k = FK_CMP; 8470 edx = MEM32(ebp + 0x8); /* 0x250AD206: mov edx, dword ptr [ebp + 8] */ 8471 eax = MEM32(ebp + 0xC); /* 0x250AD209: mov eax, dword ptr [ebp + 0xc] */ 8472 /* cmp edx, eax */ /* 0x250AD20C: cmp edx, eax */ 8473 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8475 _flag_k = FK_CMP; 8476 PUSH32(esp, ebx); /* 0x250AD20E: push ebx */ 8477 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AD2A3; /* 0x250AD20F: je 0x250ad2a3 */ 8478 L_250AD215: 8479 ebx = edx + 0x38; /* 0x250AD215: lea ebx, [edx + 0x38] */ 8480 /* cmp ebx, eax */ /* 0x250AD218: cmp ebx, eax */ 8481 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8483 _flag_k = FK_CMP; 8484 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AD2A3; /* 0x250AD21A: je 0x250ad2a3 */ 8485 L_250AD220: 8486 PUSH32(esp, esi); /* 0x250AD220: push esi */ 8487 PUSH32(esp, edi); /* 0x250AD221: push edi */ 8488 L_250AD222: 8489 ecx = 0xEu; /* 0x250AD222: mov ecx, 0xe */ 8490 esi = ebx; /* 0x250AD227: mov esi, ebx */ 8491 edi = ebp + (-0x70); /* 0x250AD229: lea edi, [ebp - 0x70] */ 8492 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD22C: 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; } 8493 fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x250AD22E: fld dword ptr [ebp - 0x64] */ 8494 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0xC)); /* 0x250AD231: fcomp dword ptr [edx + 0xc] */ 8495 fp_pop(); 8496 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD234: fnstsw ax */ 8497 /* test HI8(eax), 1 */ /* 0x250AD236: test ah, 1 */ 8498 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8499 _cf = 0; 8500 _flag_k = FK_NARROW(FK_TEST, 24); 8501 if (TEST_NZ(_flag_a, _flag_b)) goto L_250AD272; /* 0x250AD239: jne 0x250ad272 */ 8502 L_250AD23B: 8503 ecx = 0xEu; /* 0x250AD23B: mov ecx, 0xe */ 8504 esi = ebx; /* 0x250AD240: mov esi, ebx */ 8505 edi = ebp + (-0x38); /* 0x250AD242: lea edi, [ebp - 0x38] */ 8506 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD245: 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; } 8507 edi = ebx; /* 0x250AD247: mov edi, ebx */ 8508 edx = ebx; /* 0x250AD249: mov edx, ebx */ 8509 L_250AD24B: 8510 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x250AD24B: fld dword ptr [ebp - 0x2c] */ 8511 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x38u); 8512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8513 edx = edx - 0x38u; /* 0x250AD24E: sub edx, 0x38 */ 8514 _flag_k = FK_CMP; 8515 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0xC)); /* 0x250AD251: fcomp dword ptr [edx + 0xc] */ 8516 fp_pop(); 8517 ecx = 0xEu; /* 0x250AD254: mov ecx, 0xe */ 8518 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250AD259: fnstsw ax */ 8519 /* test HI8(eax), 1 */ /* 0x250AD25B: test ah, 1 */ 8520 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 8521 _cf = 0; 8522 _flag_k = FK_NARROW(FK_TEST, 24); 8523 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD268; /* 0x250AD25E: je 0x250ad268 */ 8524 L_250AD260: 8525 esi = edx; /* 0x250AD260: mov esi, edx */ 8526 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD262: 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; } 8527 edi = edx; /* 0x250AD264: mov edi, edx */ 8528 RECOMP_BACKEDGE(); 8529 goto L_250AD24B; /* 0x250AD266: jmp 0x250ad24b */ 8530 L_250AD268: 8531 edx = MEM32(ebp + 0x8); /* 0x250AD268: mov edx, dword ptr [ebp + 8] */ 8532 esi = ebp + (-0x38); /* 0x250AD26B: lea esi, [ebp - 0x38] */ 8533 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD26E: 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; } 8534 goto L_250AD297; /* 0x250AD270: jmp 0x250ad297 */ 8535 L_250AD272: 8536 /* cmp edx, ebx */ /* 0x250AD272: cmp edx, ebx */ 8537 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 8538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8539 _flag_k = FK_CMP; 8540 eax = ebx; /* 0x250AD274: mov eax, ebx */ 8541 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AD28B; /* 0x250AD276: je 0x250ad28b */ 8542 L_250AD278: 8543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x38u); 8544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8545 eax = eax - 0x38u; /* 0x250AD278: sub eax, 0x38 */ 8546 _flag_k = FK_CMP; 8547 /* cmp eax, edx */ /* 0x250AD27B: cmp eax, edx */ 8548 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8550 _flag_k = FK_CMP; 8551 edi = eax + 0x38; /* 0x250AD27D: lea edi, [eax + 0x38] */ 8552 ecx = 0xEu; /* 0x250AD280: mov ecx, 0xe */ 8553 esi = eax; /* 0x250AD285: mov esi, eax */ 8554 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD287: 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; } 8555 RECOMP_BACKEDGE(); 8556 if (CMP_NE(_flag_a, _flag_b)) goto L_250AD278; /* 0x250AD289: jne 0x250ad278 */ 8557 L_250AD28B: 8558 ecx = 0xEu; /* 0x250AD28B: mov ecx, 0xe */ 8559 esi = ebp + (-0x70); /* 0x250AD290: lea esi, [ebp - 0x70] */ 8560 edi = edx; /* 0x250AD293: mov edi, edx */ 8561 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD295: 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; } 8562 L_250AD297: 8563 eax = MEM32(ebp + 0xC); /* 0x250AD297: mov eax, dword ptr [ebp + 0xc] */ 8564 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x38u); 8565 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8566 ebx = ebx + 0x38u; /* 0x250AD29A: add ebx, 0x38 */ 8567 _flag_k = FK_ADD; 8568 /* cmp ebx, eax */ /* 0x250AD29D: cmp ebx, eax */ 8569 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8571 _flag_k = FK_CMP; 8572 RECOMP_BACKEDGE(); 8573 if (CMP_NE(_flag_a, _flag_b)) goto L_250AD222; /* 0x250AD29F: jne 0x250ad222 */ 8574 L_250AD2A1: 8575 edi = POP32_VAL(esp); /* 0x250AD2A1: pop edi */ 8576 esi = POP32_VAL(esp); /* 0x250AD2A2: pop esi */ 8577 L_250AD2A3: 8578 ebx = POP32_VAL(esp); /* 0x250AD2A3: pop ebx */ 8579 esp = ebp; /* 0x250AD2A4: mov esp, ebp */ 8580 ebp = POP32_VAL(esp); /* 0x250AD2A6: pop ebp */ 8581 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD2A7: ret */ 8582 RECOMP_REGS_OUT(); 8583 } 8584 8585 void sub_250AD2B0(void) { 8586 int _fpu_cmp = 0; 8587 uint32_t _cf = 0; 8588 int _df = 1; 8589 uint32_t _flag_k = FK_NONE; 8590 uint32_t _flag_a = 0, _flag_b = 0; 8591 uint32_t _itail_tgt = 0; 8592 RECOMP_REGS_LOCALS 8593 RECOMP_ENTER(0x250AD2B0u); 8594 8595 L_250AD2B0: 8596 RECOMP_ICALL(0x250AD2C0u); /* 0x250AD2B0: call 0x250ad2c0 */ /* not lifted */ 8597 RECOMP_FLAGS_IN(); 8598 goto L_250AD2D0; /* 0x250AD2B5: jmp 0x250ad2d0 */ 8599 L_250AD2D0: 8600 PUSH32(esp, 0x250AD2E0u); /* 0x250AD2D0: push 0x250ad2e0 */ 8601 RECOMP_ICALL(0x251380B2u); /* 0x250AD2D5: call 0x251380b2 */ /* not lifted */ 8602 RECOMP_FLAGS_IN(); 8603 ecx = POP32_VAL(esp); /* 0x250AD2DA: pop ecx */ 8604 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD2DB: ret */ 8605 RECOMP_REGS_OUT(); 8606 } 8607 8608 void sub_250AD2C0(void) { 8609 int _fpu_cmp = 0; 8610 uint32_t _cf = 0; 8611 int _df = 1; 8612 uint32_t _flag_k = FK_NONE; 8613 uint32_t _flag_a = 0, _flag_b = 0; 8614 uint32_t _itail_tgt = 0; 8615 RECOMP_REGS_LOCALS 8616 RECOMP_ENTER(0x250AD2C0u); 8617 8618 L_250AD2C0: 8619 ecx = 0x252385C5u; /* 0x250AD2C0: mov ecx, 0x252385c5 */ 8620 L_250AD2C5: 8621 { _itail_tgt = (uint32_t)(MEM32(0x25151194)); goto _ljump; } 8622 { RECOMP_REGS_OUT(); return; } /* end of function */ 8623 _ljump: 8624 switch (_itail_tgt) { 8625 case 0x250AD2C0u: goto L_250AD2C0; 8626 case 0x250AD2C5u: goto L_250AD2C5; 8627 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 8628 } 8629 RECOMP_REGS_OUT(); 8630 } 8631 8632 void sub_250AD2D0(void) { 8633 int _fpu_cmp = 0; 8634 uint32_t _cf = 0; 8635 int _df = 1; 8636 uint32_t _flag_k = FK_NONE; 8637 uint32_t _flag_a = 0, _flag_b = 0; 8638 uint32_t _itail_tgt = 0; 8639 RECOMP_REGS_LOCALS 8640 RECOMP_ENTER(0x250AD2D0u); 8641 8642 L_250AD2D0: 8643 PUSH32(esp, 0x250AD2E0u); /* 0x250AD2D0: push 0x250ad2e0 */ 8644 RECOMP_ICALL(0x251380B2u); /* 0x250AD2D5: call 0x251380b2 */ /* not lifted */ 8645 RECOMP_FLAGS_IN(); 8646 ecx = POP32_VAL(esp); /* 0x250AD2DA: pop ecx */ 8647 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD2DB: ret */ 8648 RECOMP_REGS_OUT(); 8649 } 8650 8651 void sub_250AD2E0(void) { 8652 int _fpu_cmp = 0; 8653 uint32_t _cf = 0; 8654 int _df = 1; 8655 uint32_t _flag_k = FK_NONE; 8656 uint32_t _flag_a = 0, _flag_b = 0; 8657 uint32_t _itail_tgt = 0; 8658 RECOMP_REGS_LOCALS 8659 RECOMP_ENTER(0x250AD2E0u); 8660 8661 L_250AD2E0: 8662 ecx = 0x252385C5u; /* 0x250AD2E0: mov ecx, 0x252385c5 */ 8663 L_250AD2E5: 8664 { _itail_tgt = (uint32_t)(MEM32(0x2515119C)); goto _ljump; } 8665 { RECOMP_REGS_OUT(); return; } /* end of function */ 8666 _ljump: 8667 switch (_itail_tgt) { 8668 case 0x250AD2E0u: goto L_250AD2E0; 8669 case 0x250AD2E5u: goto L_250AD2E5; 8670 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 8671 } 8672 RECOMP_REGS_OUT(); 8673 } 8674 8675 void sub_250AD2F0(void) { 8676 int _fpu_cmp = 0; 8677 uint32_t _cf = 0; 8678 int _df = 1; 8679 uint32_t _flag_k = FK_NONE; 8680 uint32_t _flag_a = 0, _flag_b = 0; 8681 uint32_t _itail_tgt = 0; 8682 RECOMP_REGS_LOCALS 8683 RECOMP_ENTER(0x250AD2F0u); 8684 8685 L_250AD2F0: 8686 RECOMP_ICALL(0x250AD300u); /* 0x250AD2F0: call 0x250ad300 */ /* not lifted */ 8687 RECOMP_FLAGS_IN(); 8688 goto L_250AD310; /* 0x250AD2F5: jmp 0x250ad310 */ 8689 L_250AD310: 8690 PUSH32(esp, 0x250AD320u); /* 0x250AD310: push 0x250ad320 */ 8691 RECOMP_ICALL(0x251380B2u); /* 0x250AD315: call 0x251380b2 */ /* not lifted */ 8692 RECOMP_FLAGS_IN(); 8693 ecx = POP32_VAL(esp); /* 0x250AD31A: pop ecx */ 8694 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD31B: ret */ 8695 RECOMP_REGS_OUT(); 8696 } 8697 8698 void sub_250AD300(void) { 8699 int _fpu_cmp = 0; 8700 uint32_t _cf = 0; 8701 int _df = 1; 8702 uint32_t _flag_k = FK_NONE; 8703 uint32_t _flag_a = 0, _flag_b = 0; 8704 uint32_t _itail_tgt = 0; 8705 RECOMP_REGS_LOCALS 8706 RECOMP_ENTER(0x250AD300u); 8707 8708 L_250AD300: 8709 ecx = 0x252385C4u; /* 0x250AD300: mov ecx, 0x252385c4 */ 8710 L_250AD305: 8711 { _itail_tgt = (uint32_t)(MEM32(0x251510D8)); goto _ljump; } 8712 { RECOMP_REGS_OUT(); return; } /* end of function */ 8713 _ljump: 8714 switch (_itail_tgt) { 8715 case 0x250AD300u: goto L_250AD300; 8716 case 0x250AD305u: goto L_250AD305; 8717 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 8718 } 8719 RECOMP_REGS_OUT(); 8720 } 8721 8722 void sub_250AD310(void) { 8723 int _fpu_cmp = 0; 8724 uint32_t _cf = 0; 8725 int _df = 1; 8726 uint32_t _flag_k = FK_NONE; 8727 uint32_t _flag_a = 0, _flag_b = 0; 8728 uint32_t _itail_tgt = 0; 8729 RECOMP_REGS_LOCALS 8730 RECOMP_ENTER(0x250AD310u); 8731 8732 L_250AD310: 8733 PUSH32(esp, 0x250AD320u); /* 0x250AD310: push 0x250ad320 */ 8734 RECOMP_ICALL(0x251380B2u); /* 0x250AD315: call 0x251380b2 */ /* not lifted */ 8735 RECOMP_FLAGS_IN(); 8736 ecx = POP32_VAL(esp); /* 0x250AD31A: pop ecx */ 8737 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD31B: ret */ 8738 RECOMP_REGS_OUT(); 8739 } 8740 8741 void sub_250AD320(void) { 8742 int _fpu_cmp = 0; 8743 uint32_t _cf = 0; 8744 int _df = 1; 8745 uint32_t _flag_k = FK_NONE; 8746 uint32_t _flag_a = 0, _flag_b = 0; 8747 uint32_t _itail_tgt = 0; 8748 RECOMP_REGS_LOCALS 8749 RECOMP_ENTER(0x250AD320u); 8750 8751 L_250AD320: 8752 ecx = 0x252385C4u; /* 0x250AD320: mov ecx, 0x252385c4 */ 8753 L_250AD325: 8754 { _itail_tgt = (uint32_t)(MEM32(0x251510DC)); goto _ljump; } 8755 { RECOMP_REGS_OUT(); return; } /* end of function */ 8756 _ljump: 8757 switch (_itail_tgt) { 8758 case 0x250AD320u: goto L_250AD320; 8759 case 0x250AD325u: goto L_250AD325; 8760 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 8761 } 8762 RECOMP_REGS_OUT(); 8763 } 8764 8765 void sub_250AD330(void) { 8766 int _fpu_cmp = 0; 8767 uint32_t _cf = 0; 8768 int _df = 1; 8769 uint32_t _flag_k = FK_NONE; 8770 uint32_t _flag_a = 0, _flag_b = 0; 8771 uint32_t _itail_tgt = 0; 8772 RECOMP_REGS_LOCALS 8773 RECOMP_ENTER(0x250AD330u); 8774 8775 L_250AD330: 8776 PUSH32(esp, ebp); /* 0x250AD330: push ebp */ 8777 ebp = esp; /* 0x250AD331: mov ebp, esp */ 8778 eax = ecx; /* 0x250AD333: mov eax, ecx */ 8779 ecx = MEM32(ebp + 0x8); /* 0x250AD335: mov ecx, dword ptr [ebp + 8] */ 8780 SET_LO8(edx, MEM8(ecx + 0x4)); /* 0x250AD338: mov dl, byte ptr [ecx + 4] */ 8781 MEM8(eax + 0x4) = (uint8_t)(LO8(edx)); /* 0x250AD33B: mov byte ptr [eax + 4], dl */ 8782 edx = MEM32(ecx + 0x8); /* 0x250AD33E: mov edx, dword ptr [ecx + 8] */ 8783 MEM32(eax + 0x8) = edx; /* 0x250AD341: mov dword ptr [eax + 8], edx */ 8784 edx = MEM32(ecx + 0xC); /* 0x250AD344: mov edx, dword ptr [ecx + 0xc] */ 8785 MEM32(eax + 0xC) = edx; /* 0x250AD347: mov dword ptr [eax + 0xc], edx */ 8786 edx = MEM32(ecx + 0x10); /* 0x250AD34A: mov edx, dword ptr [ecx + 0x10] */ 8787 MEM32(eax + 0x10) = edx; /* 0x250AD34D: mov dword ptr [eax + 0x10], edx */ 8788 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250AD350: mov dl, byte ptr [ecx + 0x14] */ 8789 MEM8(eax + 0x14) = (uint8_t)(LO8(edx)); /* 0x250AD353: mov byte ptr [eax + 0x14], dl */ 8790 SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x250AD356: mov dl, byte ptr [ecx + 0x15] */ 8791 MEM8(eax + 0x15) = (uint8_t)(LO8(edx)); /* 0x250AD359: mov byte ptr [eax + 0x15], dl */ 8792 edx = MEM32(ecx + 0x18); /* 0x250AD35C: mov edx, dword ptr [ecx + 0x18] */ 8793 MEM32(eax + 0x18) = edx; /* 0x250AD35F: mov dword ptr [eax + 0x18], edx */ 8794 edx = MEM32(ecx + 0x1C); /* 0x250AD362: mov edx, dword ptr [ecx + 0x1c] */ 8795 MEM32(eax + 0x1C) = edx; /* 0x250AD365: mov dword ptr [eax + 0x1c], edx */ 8796 edx = MEM32(ecx + 0x20); /* 0x250AD368: mov edx, dword ptr [ecx + 0x20] */ 8797 MEM32(eax + 0x20) = edx; /* 0x250AD36B: mov dword ptr [eax + 0x20], edx */ 8798 ecx = MEM32(ecx + 0x24); /* 0x250AD36E: mov ecx, dword ptr [ecx + 0x24] */ 8799 MEM32(eax + 0x24) = ecx; /* 0x250AD371: mov dword ptr [eax + 0x24], ecx */ 8800 MEM32(eax) = 0x251563E4u; /* 0x250AD374: mov dword ptr [eax], 0x251563e4 */ 8801 ebp = POP32_VAL(esp); /* 0x250AD37A: pop ebp */ 8802 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD37B: ret 4 */ 8803 RECOMP_REGS_OUT(); 8804 } 8805 8806 void sub_250AD380(void) { 8807 int _fpu_cmp = 0; 8808 uint32_t _cf = 0; 8809 int _df = 1; 8810 uint32_t _flag_k = FK_NONE; 8811 uint32_t _flag_a = 0, _flag_b = 0; 8812 uint32_t _itail_tgt = 0; 8813 RECOMP_REGS_LOCALS 8814 RECOMP_ENTER(0x250AD380u); 8815 8816 L_250AD380: 8817 PUSH32(esp, ebp); /* 0x250AD380: push ebp */ 8818 ebp = esp; /* 0x250AD381: mov ebp, esp */ 8819 eax = ecx; /* 0x250AD383: mov eax, ecx */ 8820 ecx = MEM32(ebp + 0x8); /* 0x250AD385: mov ecx, dword ptr [ebp + 8] */ 8821 SET_LO8(edx, MEM8(ecx + 0x4)); /* 0x250AD388: mov dl, byte ptr [ecx + 4] */ 8822 MEM8(eax + 0x4) = (uint8_t)(LO8(edx)); /* 0x250AD38B: mov byte ptr [eax + 4], dl */ 8823 edx = MEM32(ecx + 0x8); /* 0x250AD38E: mov edx, dword ptr [ecx + 8] */ 8824 MEM32(eax + 0x8) = edx; /* 0x250AD391: mov dword ptr [eax + 8], edx */ 8825 edx = MEM32(ecx + 0xC); /* 0x250AD394: mov edx, dword ptr [ecx + 0xc] */ 8826 MEM32(eax + 0xC) = edx; /* 0x250AD397: mov dword ptr [eax + 0xc], edx */ 8827 edx = MEM32(ecx + 0x10); /* 0x250AD39A: mov edx, dword ptr [ecx + 0x10] */ 8828 MEM32(eax + 0x10) = edx; /* 0x250AD39D: mov dword ptr [eax + 0x10], edx */ 8829 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x250AD3A0: mov dl, byte ptr [ecx + 0x14] */ 8830 MEM8(eax + 0x14) = (uint8_t)(LO8(edx)); /* 0x250AD3A3: mov byte ptr [eax + 0x14], dl */ 8831 SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x250AD3A6: mov dl, byte ptr [ecx + 0x15] */ 8832 MEM8(eax + 0x15) = (uint8_t)(LO8(edx)); /* 0x250AD3A9: mov byte ptr [eax + 0x15], dl */ 8833 edx = MEM32(ecx + 0x18); /* 0x250AD3AC: mov edx, dword ptr [ecx + 0x18] */ 8834 MEM32(eax + 0x18) = edx; /* 0x250AD3AF: mov dword ptr [eax + 0x18], edx */ 8835 edx = MEM32(ecx + 0x1C); /* 0x250AD3B2: mov edx, dword ptr [ecx + 0x1c] */ 8836 MEM32(eax + 0x1C) = edx; /* 0x250AD3B5: mov dword ptr [eax + 0x1c], edx */ 8837 edx = MEM32(ecx + 0x20); /* 0x250AD3B8: mov edx, dword ptr [ecx + 0x20] */ 8838 MEM32(eax + 0x20) = edx; /* 0x250AD3BB: mov dword ptr [eax + 0x20], edx */ 8839 ecx = MEM32(ecx + 0x24); /* 0x250AD3BE: mov ecx, dword ptr [ecx + 0x24] */ 8840 MEM32(eax + 0x24) = ecx; /* 0x250AD3C1: mov dword ptr [eax + 0x24], ecx */ 8841 ebp = POP32_VAL(esp); /* 0x250AD3C4: pop ebp */ 8842 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD3C5: ret 4 */ 8843 RECOMP_REGS_OUT(); 8844 } 8845 8846 void sub_250AD3D0(void) { 8847 int _fpu_cmp = 0; 8848 uint32_t _cf = 0; 8849 int _df = 1; 8850 uint32_t _flag_k = FK_NONE; 8851 uint32_t _flag_a = 0, _flag_b = 0; 8852 uint32_t _itail_tgt = 0; 8853 RECOMP_REGS_LOCALS 8854 RECOMP_ENTER(0x250AD3D0u); 8855 8856 L_250AD3D0: 8857 PUSH32(esp, ebp); /* 0x250AD3D0: push ebp */ 8858 ebp = esp; /* 0x250AD3D1: mov ebp, esp */ 8859 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250AD3D3: mov al, byte ptr [ebp + 8] */ 8860 MEM8(ecx + 0xD4) = (uint8_t)(LO8(eax)); /* 0x250AD3D6: mov byte ptr [ecx + 0xd4], al */ 8861 ebp = POP32_VAL(esp); /* 0x250AD3DC: pop ebp */ 8862 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD3DD: ret 4 */ 8863 RECOMP_REGS_OUT(); 8864 } 8865 8866 void sub_250AD3E0(void) { 8867 int _fpu_cmp = 0; 8868 uint32_t _cf = 0; 8869 int _df = 1; 8870 uint32_t _flag_k = FK_NONE; 8871 uint32_t _flag_a = 0, _flag_b = 0; 8872 uint32_t _itail_tgt = 0; 8873 RECOMP_REGS_LOCALS 8874 RECOMP_ENTER(0x250AD3E0u); 8875 8876 L_250AD3E0: 8877 PUSH32(esp, ebp); /* 0x250AD3E0: push ebp */ 8878 ebp = esp; /* 0x250AD3E1: mov ebp, esp */ 8879 PUSH32(esp, esi); /* 0x250AD3E3: push esi */ 8880 esi = ecx; /* 0x250AD3E4: mov esi, ecx */ 8881 fp_push(*(float*)&MEM32(esi + 0x18)); /* 0x250AD3E6: fld dword ptr [esi + 0x18] */ 8882 PUSH32(esp, edi); /* 0x250AD3E9: push edi */ 8883 RECOMP_ICALL(0x251380E8u); /* 0x250AD3EA: call 0x251380e8 */ /* not lifted */ 8884 RECOMP_FLAGS_IN(); 8885 edi = MEM32(ebp + 0x8); /* 0x250AD3EF: mov edi, dword ptr [ebp + 8] */ 8886 MEM32(edi) = eax; /* 0x250AD3F2: mov dword ptr [edi], eax */ 8887 fp_push(*(float*)&MEM32(esi + 0x1C)); /* 0x250AD3F4: fld dword ptr [esi + 0x1c] */ 8888 RECOMP_ICALL(0x251380E8u); /* 0x250AD3F7: call 0x251380e8 */ /* not lifted */ 8889 RECOMP_FLAGS_IN(); 8890 MEM32(edi + 0x4) = eax; /* 0x250AD3FC: mov dword ptr [edi + 4], eax */ 8891 edi = POP32_VAL(esp); /* 0x250AD3FF: pop edi */ 8892 esi = POP32_VAL(esp); /* 0x250AD400: pop esi */ 8893 ebp = POP32_VAL(esp); /* 0x250AD401: pop ebp */ 8894 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD402: ret 4 */ 8895 RECOMP_REGS_OUT(); 8896 } 8897 8898 void sub_250AD410(void) { 8899 int _fpu_cmp = 0; 8900 uint32_t _cf = 0; 8901 int _df = 1; 8902 uint32_t _flag_k = FK_NONE; 8903 uint32_t _flag_a = 0, _flag_b = 0; 8904 uint32_t _itail_tgt = 0; 8905 RECOMP_REGS_LOCALS 8906 RECOMP_ENTER(0x250AD410u); 8907 8908 L_250AD410: 8909 eax = MEM32(ecx + 0x28); /* 0x250AD410: mov eax, dword ptr [ecx + 0x28] */ 8910 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD413: ret */ 8911 RECOMP_REGS_OUT(); 8912 } 8913 8914 void sub_250AD420(void) { 8915 int _fpu_cmp = 0; 8916 uint32_t _cf = 0; 8917 int _df = 1; 8918 uint32_t _flag_k = FK_NONE; 8919 uint32_t _flag_a = 0, _flag_b = 0; 8920 uint32_t _itail_tgt = 0; 8921 RECOMP_REGS_LOCALS 8922 RECOMP_ENTER(0x250AD420u); 8923 8924 L_250AD420: 8925 PUSH32(esp, ebp); /* 0x250AD420: push ebp */ 8926 ebp = esp; /* 0x250AD421: mov ebp, esp */ 8927 PUSH32(esp, esi); /* 0x250AD423: push esi */ 8928 PUSH32(esp, edi); /* 0x250AD424: push edi */ 8929 edx = MEM32(ebp + 0x8); /* 0x250AD425: mov edx, dword ptr [ebp + 8] */ 8930 eax = ecx; /* 0x250AD428: mov eax, ecx */ 8931 SET_LO8(ecx, MEM8(edx + 0x4)); /* 0x250AD42A: mov cl, byte ptr [edx + 4] */ 8932 MEM8(eax + 0x4) = (uint8_t)(LO8(ecx)); /* 0x250AD42D: mov byte ptr [eax + 4], cl */ 8933 ecx = MEM32(edx + 0x8); /* 0x250AD430: mov ecx, dword ptr [edx + 8] */ 8934 MEM32(eax + 0x8) = ecx; /* 0x250AD433: mov dword ptr [eax + 8], ecx */ 8935 ecx = MEM32(edx + 0xC); /* 0x250AD436: mov ecx, dword ptr [edx + 0xc] */ 8936 MEM32(eax + 0xC) = ecx; /* 0x250AD439: mov dword ptr [eax + 0xc], ecx */ 8937 ecx = MEM32(edx + 0x10); /* 0x250AD43C: mov ecx, dword ptr [edx + 0x10] */ 8938 MEM32(eax + 0x10) = ecx; /* 0x250AD43F: mov dword ptr [eax + 0x10], ecx */ 8939 SET_LO8(ecx, MEM8(edx + 0x14)); /* 0x250AD442: mov cl, byte ptr [edx + 0x14] */ 8940 MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x250AD445: mov byte ptr [eax + 0x14], cl */ 8941 SET_LO8(ecx, MEM8(edx + 0x15)); /* 0x250AD448: mov cl, byte ptr [edx + 0x15] */ 8942 MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x250AD44B: mov byte ptr [eax + 0x15], cl */ 8943 ecx = MEM32(edx + 0x18); /* 0x250AD44E: mov ecx, dword ptr [edx + 0x18] */ 8944 MEM32(eax + 0x18) = ecx; /* 0x250AD451: mov dword ptr [eax + 0x18], ecx */ 8945 ecx = MEM32(edx + 0x1C); /* 0x250AD454: mov ecx, dword ptr [edx + 0x1c] */ 8946 MEM32(eax + 0x1C) = ecx; /* 0x250AD457: mov dword ptr [eax + 0x1c], ecx */ 8947 ecx = MEM32(edx + 0x20); /* 0x250AD45A: mov ecx, dword ptr [edx + 0x20] */ 8948 MEM32(eax + 0x20) = ecx; /* 0x250AD45D: mov dword ptr [eax + 0x20], ecx */ 8949 ecx = MEM32(edx + 0x24); /* 0x250AD460: mov ecx, dword ptr [edx + 0x24] */ 8950 MEM32(eax + 0x24) = ecx; /* 0x250AD463: mov dword ptr [eax + 0x24], ecx */ 8951 MEM32(eax) = 0x251563E4u; /* 0x250AD466: mov dword ptr [eax], 0x251563e4 */ 8952 ecx = MEM32(edx + 0x28); /* 0x250AD46C: mov ecx, dword ptr [edx + 0x28] */ 8953 MEM32(eax + 0x28) = ecx; /* 0x250AD46F: mov dword ptr [eax + 0x28], ecx */ 8954 ecx = MEM32(edx + 0x2C); /* 0x250AD472: mov ecx, dword ptr [edx + 0x2c] */ 8955 MEM32(eax + 0x2C) = ecx; /* 0x250AD475: mov dword ptr [eax + 0x2c], ecx */ 8956 ecx = MEM32(edx + 0x30); /* 0x250AD478: mov ecx, dword ptr [edx + 0x30] */ 8957 MEM32(eax + 0x30) = ecx; /* 0x250AD47B: mov dword ptr [eax + 0x30], ecx */ 8958 ecx = MEM32(edx + 0x34); /* 0x250AD47E: mov ecx, dword ptr [edx + 0x34] */ 8959 MEM32(eax + 0x34) = ecx; /* 0x250AD481: mov dword ptr [eax + 0x34], ecx */ 8960 ecx = MEM32(edx + 0x38); /* 0x250AD484: mov ecx, dword ptr [edx + 0x38] */ 8961 MEM32(eax + 0x38) = ecx; /* 0x250AD487: mov dword ptr [eax + 0x38], ecx */ 8962 ecx = MEM32(edx + 0x3C); /* 0x250AD48A: mov ecx, dword ptr [edx + 0x3c] */ 8963 MEM32(eax + 0x3C) = ecx; /* 0x250AD48D: mov dword ptr [eax + 0x3c], ecx */ 8964 ecx = MEM32(edx + 0x40); /* 0x250AD490: mov ecx, dword ptr [edx + 0x40] */ 8965 MEM32(eax + 0x40) = ecx; /* 0x250AD493: mov dword ptr [eax + 0x40], ecx */ 8966 ecx = MEM32(edx + 0x44); /* 0x250AD496: mov ecx, dword ptr [edx + 0x44] */ 8967 MEM32(eax + 0x44) = ecx; /* 0x250AD499: mov dword ptr [eax + 0x44], ecx */ 8968 ecx = MEM32(edx + 0x48); /* 0x250AD49C: mov ecx, dword ptr [edx + 0x48] */ 8969 MEM32(eax + 0x48) = ecx; /* 0x250AD49F: mov dword ptr [eax + 0x48], ecx */ 8970 ecx = MEM32(edx + 0x4C); /* 0x250AD4A2: mov ecx, dword ptr [edx + 0x4c] */ 8971 MEM32(eax + 0x4C) = ecx; /* 0x250AD4A5: mov dword ptr [eax + 0x4c], ecx */ 8972 esi = edx + 0x50; /* 0x250AD4A8: lea esi, [edx + 0x50] */ 8973 edi = eax + 0x50; /* 0x250AD4AB: lea edi, [eax + 0x50] */ 8974 ecx = 0x20u; /* 0x250AD4AE: mov ecx, 0x20 */ 8975 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD4B3: 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; } 8976 ecx = MEM32(edx + 0xD0); /* 0x250AD4B5: mov ecx, dword ptr [edx + 0xd0] */ 8977 MEM32(eax + 0xD0) = ecx; /* 0x250AD4BB: mov dword ptr [eax + 0xd0], ecx */ 8978 SET_LO8(edx, MEM8(edx + 0xD4)); /* 0x250AD4C1: mov dl, byte ptr [edx + 0xd4] */ 8979 edi = POP32_VAL(esp); /* 0x250AD4C7: pop edi */ 8980 MEM8(eax + 0xD4) = (uint8_t)(LO8(edx)); /* 0x250AD4C8: mov byte ptr [eax + 0xd4], dl */ 8981 MEM32(eax) = 0x25156414u; /* 0x250AD4CE: mov dword ptr [eax], 0x25156414 */ 8982 esi = POP32_VAL(esp); /* 0x250AD4D4: pop esi */ 8983 ebp = POP32_VAL(esp); /* 0x250AD4D5: pop ebp */ 8984 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD4D6: ret 4 */ 8985 RECOMP_REGS_OUT(); 8986 } 8987 8988 void sub_250AD4E0(void) { 8989 int _fpu_cmp = 0; 8990 uint32_t _cf = 0; 8991 int _df = 1; 8992 uint32_t _flag_k = FK_NONE; 8993 uint32_t _flag_a = 0, _flag_b = 0; 8994 uint32_t _itail_tgt = 0; 8995 RECOMP_REGS_LOCALS 8996 RECOMP_ENTER(0x250AD4E0u); 8997 8998 L_250AD4E0: 8999 PUSH32(esp, ebp); /* 0x250AD4E0: push ebp */ 9000 ebp = esp; /* 0x250AD4E1: mov ebp, esp */ 9001 PUSH32(esp, ecx); /* 0x250AD4E3: push ecx */ 9002 PUSH32(esp, ebx); /* 0x250AD4E4: push ebx */ 9003 PUSH32(esp, esi); /* 0x250AD4E5: push esi */ 9004 PUSH32(esp, edi); /* 0x250AD4E6: push edi */ 9005 edx = MEM32(ebp + 0x8); /* 0x250AD4E7: mov edx, dword ptr [ebp + 8] */ 9006 eax = ecx; /* 0x250AD4EA: mov eax, ecx */ 9007 SET_LO8(ecx, MEM8(edx + 0x4)); /* 0x250AD4EC: mov cl, byte ptr [edx + 4] */ 9008 MEM8(eax + 0x4) = (uint8_t)(LO8(ecx)); /* 0x250AD4EF: mov byte ptr [eax + 4], cl */ 9009 ecx = MEM32(edx + 0x8); /* 0x250AD4F2: mov ecx, dword ptr [edx + 8] */ 9010 MEM32(eax + 0x8) = ecx; /* 0x250AD4F5: mov dword ptr [eax + 8], ecx */ 9011 ecx = MEM32(edx + 0xC); /* 0x250AD4F8: mov ecx, dword ptr [edx + 0xc] */ 9012 MEM32(eax + 0xC) = ecx; /* 0x250AD4FB: mov dword ptr [eax + 0xc], ecx */ 9013 ecx = MEM32(edx + 0x10); /* 0x250AD4FE: mov ecx, dword ptr [edx + 0x10] */ 9014 MEM32(eax + 0x10) = ecx; /* 0x250AD501: mov dword ptr [eax + 0x10], ecx */ 9015 SET_LO8(ecx, MEM8(edx + 0x14)); /* 0x250AD504: mov cl, byte ptr [edx + 0x14] */ 9016 MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x250AD507: mov byte ptr [eax + 0x14], cl */ 9017 SET_LO8(ecx, MEM8(edx + 0x15)); /* 0x250AD50A: mov cl, byte ptr [edx + 0x15] */ 9018 MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x250AD50D: mov byte ptr [eax + 0x15], cl */ 9019 ecx = MEM32(edx + 0x18); /* 0x250AD510: mov ecx, dword ptr [edx + 0x18] */ 9020 MEM32(eax + 0x18) = ecx; /* 0x250AD513: mov dword ptr [eax + 0x18], ecx */ 9021 ecx = MEM32(edx + 0x1C); /* 0x250AD516: mov ecx, dword ptr [edx + 0x1c] */ 9022 MEM32(eax + 0x1C) = ecx; /* 0x250AD519: mov dword ptr [eax + 0x1c], ecx */ 9023 ecx = MEM32(edx + 0x20); /* 0x250AD51C: mov ecx, dword ptr [edx + 0x20] */ 9024 MEM32(eax + 0x20) = ecx; /* 0x250AD51F: mov dword ptr [eax + 0x20], ecx */ 9025 ecx = MEM32(edx + 0x24); /* 0x250AD522: mov ecx, dword ptr [edx + 0x24] */ 9026 MEM32(eax + 0x24) = ecx; /* 0x250AD525: mov dword ptr [eax + 0x24], ecx */ 9027 ecx = MEM32(edx + 0x28); /* 0x250AD528: mov ecx, dword ptr [edx + 0x28] */ 9028 MEM32(eax + 0x28) = ecx; /* 0x250AD52B: mov dword ptr [eax + 0x28], ecx */ 9029 ecx = MEM32(edx + 0x2C); /* 0x250AD52E: mov ecx, dword ptr [edx + 0x2c] */ 9030 MEM32(eax + 0x2C) = ecx; /* 0x250AD531: mov dword ptr [eax + 0x2c], ecx */ 9031 ecx = MEM32(edx + 0x30); /* 0x250AD534: mov ecx, dword ptr [edx + 0x30] */ 9032 MEM32(eax + 0x30) = ecx; /* 0x250AD537: mov dword ptr [eax + 0x30], ecx */ 9033 ecx = MEM32(edx + 0x34); /* 0x250AD53A: mov ecx, dword ptr [edx + 0x34] */ 9034 MEM32(eax + 0x34) = ecx; /* 0x250AD53D: mov dword ptr [eax + 0x34], ecx */ 9035 ecx = MEM32(edx + 0x38); /* 0x250AD540: mov ecx, dword ptr [edx + 0x38] */ 9036 MEM32(eax + 0x38) = ecx; /* 0x250AD543: mov dword ptr [eax + 0x38], ecx */ 9037 ecx = MEM32(edx + 0x3C); /* 0x250AD546: mov ecx, dword ptr [edx + 0x3c] */ 9038 MEM32(eax + 0x3C) = ecx; /* 0x250AD549: mov dword ptr [eax + 0x3c], ecx */ 9039 ecx = MEM32(edx + 0x40); /* 0x250AD54C: mov ecx, dword ptr [edx + 0x40] */ 9040 MEM32(eax + 0x40) = ecx; /* 0x250AD54F: mov dword ptr [eax + 0x40], ecx */ 9041 ecx = MEM32(edx + 0x44); /* 0x250AD552: mov ecx, dword ptr [edx + 0x44] */ 9042 MEM32(eax + 0x44) = ecx; /* 0x250AD555: mov dword ptr [eax + 0x44], ecx */ 9043 ecx = MEM32(edx + 0x48); /* 0x250AD558: mov ecx, dword ptr [edx + 0x48] */ 9044 MEM32(eax + 0x48) = ecx; /* 0x250AD55B: mov dword ptr [eax + 0x48], ecx */ 9045 ecx = MEM32(edx + 0x4C); /* 0x250AD55E: mov ecx, dword ptr [edx + 0x4c] */ 9046 MEM32(eax + 0x4C) = ecx; /* 0x250AD561: mov dword ptr [eax + 0x4c], ecx */ 9047 ecx = edx; /* 0x250AD564: mov ecx, edx */ 9048 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9050 ecx = ecx - eax; /* 0x250AD566: sub ecx, eax */ 9051 _flag_k = FK_CMP; 9052 ebx = eax + 0x50; /* 0x250AD568: lea ebx, [eax + 0x50] */ 9053 MEM32(ebp + (-0x4)) = ecx; /* 0x250AD56B: mov dword ptr [ebp - 4], ecx */ 9054 MEM32(ebp + 0x8) = 4; /* 0x250AD56E: mov dword ptr [ebp + 8], 4 */ 9055 goto L_250AD57A; /* 0x250AD575: jmp 0x250ad57a */ 9056 L_250AD577: 9057 ecx = MEM32(ebp + (-0x4)); /* 0x250AD577: mov ecx, dword ptr [ebp - 4] */ 9058 L_250AD57A: 9059 esi = ecx + ebx; /* 0x250AD57A: lea esi, [ecx + ebx] */ 9060 edi = ebx; /* 0x250AD57D: mov edi, ebx */ 9061 ecx = 8; /* 0x250AD57F: mov ecx, 8 */ 9062 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD584: 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; } 9063 ecx = MEM32(ebp + 0x8); /* 0x250AD586: mov ecx, dword ptr [ebp + 8] */ 9064 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x20u); 9065 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9066 ebx = ebx + 0x20u; /* 0x250AD589: add ebx, 0x20 */ 9067 _flag_k = FK_ADD; 9068 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9069 ecx = ecx - 1; /* 0x250AD58C: dec ecx */ 9070 _flag_k = FK_DEC; 9071 MEM32(ebp + 0x8) = ecx; /* 0x250AD58D: mov dword ptr [ebp + 8], ecx */ 9072 RECOMP_BACKEDGE(); 9073 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250AD577; /* 0x250AD590: jne 0x250ad577 */ 9074 L_250AD592: 9075 ecx = MEM32(edx + 0xD0); /* 0x250AD592: mov ecx, dword ptr [edx + 0xd0] */ 9076 edi = POP32_VAL(esp); /* 0x250AD598: pop edi */ 9077 MEM32(eax + 0xD0) = ecx; /* 0x250AD599: mov dword ptr [eax + 0xd0], ecx */ 9078 SET_LO8(edx, MEM8(edx + 0xD4)); /* 0x250AD59F: mov dl, byte ptr [edx + 0xd4] */ 9079 esi = POP32_VAL(esp); /* 0x250AD5A5: pop esi */ 9080 MEM8(eax + 0xD4) = (uint8_t)(LO8(edx)); /* 0x250AD5A6: mov byte ptr [eax + 0xd4], dl */ 9081 ebx = POP32_VAL(esp); /* 0x250AD5AC: pop ebx */ 9082 esp = ebp; /* 0x250AD5AD: mov esp, ebp */ 9083 ebp = POP32_VAL(esp); /* 0x250AD5AF: pop ebp */ 9084 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD5B0: ret 4 */ 9085 RECOMP_REGS_OUT(); 9086 } 9087 9088 void sub_250AD5C0(void) { 9089 int _fpu_cmp = 0; 9090 uint32_t _cf = 0; 9091 int _df = 1; 9092 uint32_t _flag_k = FK_NONE; 9093 uint32_t _flag_a = 0, _flag_b = 0; 9094 uint32_t _itail_tgt = 0; 9095 RECOMP_REGS_LOCALS 9096 RECOMP_ENTER(0x250AD5C0u); 9097 9098 L_250AD5C0: 9099 PUSH32(esp, ebp); /* 0x250AD5C0: push ebp */ 9100 ebp = esp; /* 0x250AD5C1: mov ebp, esp */ 9101 PUSH32(esp, esi); /* 0x250AD5C3: push esi */ 9102 esi = MEM32(ebp + 0x8); /* 0x250AD5C4: mov esi, dword ptr [ebp + 8] */ 9103 PUSH32(esp, edi); /* 0x250AD5C7: push edi */ 9104 eax = ecx; /* 0x250AD5C8: mov eax, ecx */ 9105 ecx = 0xEu; /* 0x250AD5CA: mov ecx, 0xe */ 9106 edi = eax; /* 0x250AD5CF: mov edi, eax */ 9107 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD5D1: 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; } 9108 edi = POP32_VAL(esp); /* 0x250AD5D3: pop edi */ 9109 esi = POP32_VAL(esp); /* 0x250AD5D4: pop esi */ 9110 ebp = POP32_VAL(esp); /* 0x250AD5D5: pop ebp */ 9111 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD5D6: ret 4 */ 9112 RECOMP_REGS_OUT(); 9113 } 9114 9115 void sub_250AD5E0(void) { 9116 int _fpu_cmp = 0; 9117 uint32_t _cf = 0; 9118 int _df = 1; 9119 uint32_t _flag_k = FK_NONE; 9120 uint32_t _flag_a = 0, _flag_b = 0; 9121 uint32_t _itail_tgt = 0; 9122 RECOMP_REGS_LOCALS 9123 RECOMP_ENTER(0x250AD5E0u); 9124 9125 L_250AD5E0: 9126 PUSH32(esp, ebp); /* 0x250AD5E0: push ebp */ 9127 ebp = esp; /* 0x250AD5E1: mov ebp, esp */ 9128 edx = MEM32(ecx + 0xC); /* 0x250AD5E3: mov edx, dword ptr [ecx + 0xc] */ 9129 eax = MEM32(ebp + 0x8); /* 0x250AD5E6: mov eax, dword ptr [ebp + 8] */ 9130 ecx = MEM32(ecx + 0x8); /* 0x250AD5E9: mov ecx, dword ptr [ecx + 8] */ 9131 MEM32(eax) = edx; /* 0x250AD5EC: mov dword ptr [eax], edx */ 9132 MEM32(eax + 0x4) = ecx; /* 0x250AD5EE: mov dword ptr [eax + 4], ecx */ 9133 ebp = POP32_VAL(esp); /* 0x250AD5F1: pop ebp */ 9134 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD5F2: ret 4 */ 9135 RECOMP_REGS_OUT(); 9136 } 9137 9138 void sub_250AD600(void) { 9139 int _fpu_cmp = 0; 9140 uint32_t _cf = 0; 9141 int _df = 1; 9142 uint32_t _flag_k = FK_NONE; 9143 uint32_t _flag_a = 0, _flag_b = 0; 9144 uint32_t _itail_tgt = 0; 9145 RECOMP_REGS_LOCALS 9146 RECOMP_ENTER(0x250AD600u); 9147 9148 L_250AD600: 9149 PUSH32(esp, ebp); /* 0x250AD600: push ebp */ 9150 ebp = esp; /* 0x250AD601: mov ebp, esp */ 9151 PUSH32(esp, esi); /* 0x250AD603: push esi */ 9152 esi = MEM32(ebp + 0x8); /* 0x250AD604: mov esi, dword ptr [ebp + 8] */ 9153 PUSH32(esp, edi); /* 0x250AD607: push edi */ 9154 eax = ecx; /* 0x250AD608: mov eax, ecx */ 9155 ecx = 8; /* 0x250AD60A: mov ecx, 8 */ 9156 edi = eax; /* 0x250AD60F: mov edi, eax */ 9157 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD611: 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; } 9158 edi = POP32_VAL(esp); /* 0x250AD613: pop edi */ 9159 esi = POP32_VAL(esp); /* 0x250AD614: pop esi */ 9160 ebp = POP32_VAL(esp); /* 0x250AD615: pop ebp */ 9161 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD616: ret 4 */ 9162 RECOMP_REGS_OUT(); 9163 } 9164 9165 void sub_250AD620(void) { 9166 int _fpu_cmp = 0; 9167 uint32_t _cf = 0; 9168 int _df = 1; 9169 uint32_t _flag_k = FK_NONE; 9170 uint32_t _flag_a = 0, _flag_b = 0; 9171 uint32_t _itail_tgt = 0; 9172 RECOMP_REGS_LOCALS 9173 RECOMP_ENTER(0x250AD620u); 9174 9175 L_250AD620: 9176 PUSH32(esp, ebp); /* 0x250AD620: push ebp */ 9177 ebp = esp; /* 0x250AD621: mov ebp, esp */ 9178 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AD623: push -1 */ 9179 PUSH32(esp, 0x2514A29Bu); /* 0x250AD625: push 0x2514a29b */ 9180 eax = MEM32(FS_BASE + (0)); /* 0x250AD62A: mov eax, dword ptr fs:[0] */ 9181 PUSH32(esp, eax); /* 0x250AD630: push eax */ 9182 MEM32(FS_BASE + (0)) = esp; /* 0x250AD631: mov dword ptr fs:[0], esp */ 9183 PUSH32(esp, ecx); /* 0x250AD638: push ecx */ 9184 PUSH32(esp, 0x3Cu); /* 0x250AD639: push 0x3c */ 9185 RECOMP_ICALL(0x251380D0u); /* 0x250AD63B: call 0x251380d0 */ /* not lifted */ 9186 RECOMP_FLAGS_IN(); 9187 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9189 esp = esp + 4; /* 0x250AD640: add esp, 4 */ 9190 _flag_k = FK_ADD; 9191 MEM32(ebp + (-0x10)) = eax; /* 0x250AD643: mov dword ptr [ebp - 0x10], eax */ 9192 /* test eax, eax */ /* 0x250AD646: test eax, eax */ 9193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9194 _cf = 0; 9195 _flag_k = FK_TEST; 9196 MEM32(ebp + (-0x4)) = 0; /* 0x250AD648: mov dword ptr [ebp - 4], 0 */ 9197 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD66A; /* 0x250AD64F: je 0x250ad66a */ 9198 L_250AD651: 9199 ecx = MEM32(ebp + 0x8); /* 0x250AD651: mov ecx, dword ptr [ebp + 8] */ 9200 PUSH32(esp, ecx); /* 0x250AD654: push ecx */ 9201 ecx = eax; /* 0x250AD655: mov ecx, eax */ 9202 RECOMP_ICALL(0x25091000u); /* 0x250AD657: call 0x25091000 */ /* not lifted */ 9203 RECOMP_FLAGS_IN(); 9204 ecx = MEM32(ebp + (-0xC)); /* 0x250AD65C: mov ecx, dword ptr [ebp - 0xc] */ 9205 MEM32(FS_BASE + (0)) = ecx; /* 0x250AD65F: mov dword ptr fs:[0], ecx */ 9206 esp = ebp; /* 0x250AD666: mov esp, ebp */ 9207 ebp = POP32_VAL(esp); /* 0x250AD668: pop ebp */ 9208 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD669: ret */ 9209 L_250AD66A: 9210 ecx = MEM32(ebp + (-0xC)); /* 0x250AD66A: mov ecx, dword ptr [ebp - 0xc] */ 9211 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9212 eax = 0; /* 0x250AD66D: xor eax, eax */ 9213 _cf = 0; 9214 _flag_k = FK_TEST; 9215 MEM32(FS_BASE + (0)) = ecx; /* 0x250AD66F: mov dword ptr fs:[0], ecx */ 9216 esp = ebp; /* 0x250AD676: mov esp, ebp */ 9217 ebp = POP32_VAL(esp); /* 0x250AD678: pop ebp */ 9218 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD679: ret */ 9219 RECOMP_REGS_OUT(); 9220 } 9221 9222 void sub_250AD680(void) { 9223 int _fpu_cmp = 0; 9224 uint32_t _cf = 0; 9225 int _df = 1; 9226 uint32_t _flag_k = FK_NONE; 9227 uint32_t _flag_a = 0, _flag_b = 0; 9228 uint32_t _itail_tgt = 0; 9229 RECOMP_REGS_LOCALS 9230 RECOMP_ENTER(0x250AD680u); 9231 9232 L_250AD680: 9233 eax = MEM32(0x252382D8); /* 0x250AD680: mov eax, dword ptr [0x252382d8] */ 9234 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD685: ret */ 9235 RECOMP_REGS_OUT(); 9236 } 9237 9238 void sub_250AD690(void) { 9239 int _fpu_cmp = 0; 9240 uint32_t _cf = 0; 9241 int _df = 1; 9242 uint32_t _flag_k = FK_NONE; 9243 uint32_t _flag_a = 0, _flag_b = 0; 9244 uint32_t _itail_tgt = 0; 9245 RECOMP_REGS_LOCALS 9246 RECOMP_ENTER(0x250AD690u); 9247 9248 L_250AD690: 9249 fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x250AD690: fld dword ptr [ecx + 0xc] */ 9250 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD693: ret */ 9251 RECOMP_REGS_OUT(); 9252 } 9253 9254 void sub_250AD6A0(void) { 9255 int _fpu_cmp = 0; 9256 uint32_t _cf = 0; 9257 int _df = 1; 9258 uint32_t _flag_k = FK_NONE; 9259 uint32_t _flag_a = 0, _flag_b = 0; 9260 uint32_t _itail_tgt = 0; 9261 RECOMP_REGS_LOCALS 9262 RECOMP_ENTER(0x250AD6A0u); 9263 9264 L_250AD6A0: 9265 fp_push(*(float*)&MEM32(ecx + 0x10)); /* 0x250AD6A0: fld dword ptr [ecx + 0x10] */ 9266 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD6A3: ret */ 9267 RECOMP_REGS_OUT(); 9268 } 9269 9270 void sub_250AD6B0(void) { 9271 int _fpu_cmp = 0; 9272 uint32_t _cf = 0; 9273 int _df = 1; 9274 uint32_t _flag_k = FK_NONE; 9275 uint32_t _flag_a = 0, _flag_b = 0; 9276 uint32_t _itail_tgt = 0; 9277 RECOMP_REGS_LOCALS 9278 RECOMP_ENTER(0x250AD6B0u); 9279 9280 L_250AD6B0: 9281 fp_push(*(float*)&MEM32(ecx + 0x14)); /* 0x250AD6B0: fld dword ptr [ecx + 0x14] */ 9282 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD6B3: ret */ 9283 RECOMP_REGS_OUT(); 9284 } 9285 9286 void sub_250AD6C0(void) { 9287 int _fpu_cmp = 0; 9288 uint32_t _cf = 0; 9289 int _df = 1; 9290 uint32_t _flag_k = FK_NONE; 9291 uint32_t _flag_a = 0, _flag_b = 0; 9292 uint32_t _itail_tgt = 0; 9293 RECOMP_REGS_LOCALS 9294 RECOMP_ENTER(0x250AD6C0u); 9295 9296 L_250AD6C0: 9297 fp_push(*(float*)&MEM32(ecx + 0x18)); /* 0x250AD6C0: fld dword ptr [ecx + 0x18] */ 9298 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD6C3: ret */ 9299 RECOMP_REGS_OUT(); 9300 } 9301 9302 void sub_250AD6D0(void) { 9303 int _fpu_cmp = 0; 9304 uint32_t _cf = 0; 9305 int _df = 1; 9306 uint32_t _flag_k = FK_NONE; 9307 uint32_t _flag_a = 0, _flag_b = 0; 9308 uint32_t _itail_tgt = 0; 9309 RECOMP_REGS_LOCALS 9310 RECOMP_ENTER(0x250AD6D0u); 9311 9312 L_250AD6D0: 9313 eax = MEM32(ecx + 0x8); /* 0x250AD6D0: mov eax, dword ptr [ecx + 8] */ 9314 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD6D3: ret */ 9315 RECOMP_REGS_OUT(); 9316 } 9317 9318 void sub_250AD6E0(void) { 9319 int _fpu_cmp = 0; 9320 uint32_t _cf = 0; 9321 int _df = 1; 9322 uint32_t _flag_k = FK_NONE; 9323 uint32_t _flag_a = 0, _flag_b = 0; 9324 uint32_t _itail_tgt = 0; 9325 RECOMP_REGS_LOCALS 9326 RECOMP_ENTER(0x250AD6E0u); 9327 9328 L_250AD6E0: 9329 eax = MEM32(ecx + 0xC); /* 0x250AD6E0: mov eax, dword ptr [ecx + 0xc] */ 9330 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD6E3: ret */ 9331 RECOMP_REGS_OUT(); 9332 } 9333 9334 void sub_250AD6F0(void) { 9335 int _fpu_cmp = 0; 9336 uint32_t _cf = 0; 9337 int _df = 1; 9338 uint32_t _flag_k = FK_NONE; 9339 uint32_t _flag_a = 0, _flag_b = 0; 9340 uint32_t _itail_tgt = 0; 9341 RECOMP_REGS_LOCALS 9342 RECOMP_ENTER(0x250AD6F0u); 9343 9344 L_250AD6F0: 9345 PUSH32(esp, ebp); /* 0x250AD6F0: push ebp */ 9346 ebp = esp; /* 0x250AD6F1: mov ebp, esp */ 9347 PUSH32(esp, esi); /* 0x250AD6F3: push esi */ 9348 esi = MEM32(ebp + 0x8); /* 0x250AD6F4: mov esi, dword ptr [ebp + 8] */ 9349 PUSH32(esp, edi); /* 0x250AD6F7: push edi */ 9350 eax = ecx; /* 0x250AD6F8: mov eax, ecx */ 9351 ecx = 5; /* 0x250AD6FA: mov ecx, 5 */ 9352 edi = eax; /* 0x250AD6FF: mov edi, eax */ 9353 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AD701: 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; } 9354 edi = POP32_VAL(esp); /* 0x250AD703: pop edi */ 9355 esi = POP32_VAL(esp); /* 0x250AD704: pop esi */ 9356 ebp = POP32_VAL(esp); /* 0x250AD705: pop ebp */ 9357 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD706: ret 4 */ 9358 RECOMP_REGS_OUT(); 9359 } 9360 9361 void sub_250AD710(void) { 9362 int _fpu_cmp = 0; 9363 uint32_t _cf = 0; 9364 int _df = 1; 9365 uint32_t _flag_k = FK_NONE; 9366 uint32_t _flag_a = 0, _flag_b = 0; 9367 uint32_t _itail_tgt = 0; 9368 RECOMP_REGS_LOCALS 9369 RECOMP_ENTER(0x250AD710u); 9370 9371 L_250AD710: 9372 PUSH32(esp, ebp); /* 0x250AD710: push ebp */ 9373 ebp = esp; /* 0x250AD711: mov ebp, esp */ 9374 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x250AD713: fld dword ptr [ebp + 8] */ 9375 _st[0] += (double)*(float*)ADDR(ecx + 0x4); /* 0x250AD716: fadd dword ptr [ecx + 4] */ 9376 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250AD719: fstp dword ptr [ecx + 4] */ 9377 ebp = POP32_VAL(esp); /* 0x250AD71C: pop ebp */ 9378 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD71D: ret 4 */ 9379 RECOMP_REGS_OUT(); 9380 } 9381 9382 void sub_250AD720(void) { 9383 int _fpu_cmp = 0; 9384 uint32_t _cf = 0; 9385 int _df = 1; 9386 uint32_t _flag_k = FK_NONE; 9387 uint32_t _flag_a = 0, _flag_b = 0; 9388 uint32_t _itail_tgt = 0; 9389 RECOMP_REGS_LOCALS 9390 RECOMP_ENTER(0x250AD720u); 9391 9392 L_250AD720: 9393 PUSH32(esp, ebp); /* 0x250AD720: push ebp */ 9394 ebp = esp; /* 0x250AD721: mov ebp, esp */ 9395 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 9396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9397 esp = esp - 0x20u; /* 0x250AD723: sub esp, 0x20 */ 9398 _flag_k = FK_CMP; 9399 fp_push(*(double*)ADDR(0x25155880)); /* 0x250AD726: fld qword ptr [0x25155880] */ 9400 edx = ebp + (-0x20); /* 0x250AD72C: lea edx, [ebp - 0x20] */ 9401 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250AD72F: fsin */ 9402 PUSH32(esp, edx); /* 0x250AD731: push edx */ 9403 MEM32(ecx + 0x4) = 0; /* 0x250AD732: mov dword ptr [ecx + 4], 0 */ 9404 MEM32(ebp + (-0x10)) = 0; /* 0x250AD739: mov dword ptr [ebp - 0x10], 0 */ 9405 MEM32(ebp + (-0xC)) = 0; /* 0x250AD740: mov dword ptr [ebp - 0xc], 0 */ 9406 MEM32(ebp + (-0x8)) = 0; /* 0x250AD747: mov dword ptr [ebp - 8], 0 */ 9407 fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250AD74E: fld dword ptr [0x2515177c] */ 9408 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250AD754: fst dword ptr [ebp - 4] */ 9409 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250AD757: fstp dword ptr [ebp - 0x20] */ 9410 eax = MEM32(ebp + (-0x4)); /* 0x250AD75A: mov eax, dword ptr [ebp - 4] */ 9411 MEM32(ebp + (-0x18)) = eax; /* 0x250AD75D: mov dword ptr [ebp - 0x18], eax */ 9412 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AD760: fstp dword ptr [ebp - 0x1c] */ 9413 eax = ebp + (-0x10); /* 0x250AD763: lea eax, [ebp - 0x10] */ 9414 fp_push(*(double*)ADDR(0x25155880)); /* 0x250AD766: fld qword ptr [0x25155880] */ 9415 PUSH32(esp, eax); /* 0x250AD76C: push eax */ 9416 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250AD76D: fcos */ 9417 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250AD76F: fstp dword ptr [ebp - 0x14] */ 9418 RECOMP_ICALL(0x25086190u); /* 0x250AD772: call 0x25086190 */ /* not lifted */ 9419 RECOMP_FLAGS_IN(); 9420 esp = ebp; /* 0x250AD777: mov esp, ebp */ 9421 ebp = POP32_VAL(esp); /* 0x250AD779: pop ebp */ 9422 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD77A: ret */ 9423 RECOMP_REGS_OUT(); 9424 } 9425 9426 void sub_250AD780(void) { 9427 int _fpu_cmp = 0; 9428 uint32_t _cf = 0; 9429 int _df = 1; 9430 uint32_t _flag_k = FK_NONE; 9431 uint32_t _flag_a = 0, _flag_b = 0; 9432 uint32_t _itail_tgt = 0; 9433 RECOMP_REGS_LOCALS 9434 RECOMP_ENTER(0x250AD780u); 9435 9436 L_250AD780: 9437 PUSH32(esp, ebp); /* 0x250AD780: push ebp */ 9438 ebp = esp; /* 0x250AD781: mov ebp, esp */ 9439 eax = ecx; /* 0x250AD783: mov eax, ecx */ 9440 ecx = MEM32(ebp + 0x8); /* 0x250AD785: mov ecx, dword ptr [ebp + 8] */ 9441 MEM32(eax) = 0x25155AA4u; /* 0x250AD788: mov dword ptr [eax], 0x25155aa4 */ 9442 edx = MEM32(ecx + 0x4); /* 0x250AD78E: mov edx, dword ptr [ecx + 4] */ 9443 MEM32(eax + 0x4) = edx; /* 0x250AD791: mov dword ptr [eax + 4], edx */ 9444 edx = MEM32(ecx + 0x8); /* 0x250AD794: mov edx, dword ptr [ecx + 8] */ 9445 MEM32(eax + 0x8) = edx; /* 0x250AD797: mov dword ptr [eax + 8], edx */ 9446 SET_LO8(edx, MEM8(ecx + 0xC)); /* 0x250AD79A: mov dl, byte ptr [ecx + 0xc] */ 9447 MEM8(eax + 0xC) = (uint8_t)(LO8(edx)); /* 0x250AD79D: mov byte ptr [eax + 0xc], dl */ 9448 SET_LO8(edx, MEM8(ecx + 0xD)); /* 0x250AD7A0: mov dl, byte ptr [ecx + 0xd] */ 9449 MEM8(eax + 0xD) = (uint8_t)(LO8(edx)); /* 0x250AD7A3: mov byte ptr [eax + 0xd], dl */ 9450 edx = MEM32(ecx + 0x10); /* 0x250AD7A6: mov edx, dword ptr [ecx + 0x10] */ 9451 MEM32(eax + 0x10) = edx; /* 0x250AD7A9: mov dword ptr [eax + 0x10], edx */ 9452 edx = MEM32(ecx + 0x14); /* 0x250AD7AC: mov edx, dword ptr [ecx + 0x14] */ 9453 MEM32(eax + 0x14) = edx; /* 0x250AD7AF: mov dword ptr [eax + 0x14], edx */ 9454 edx = MEM32(ecx + 0x18); /* 0x250AD7B2: mov edx, dword ptr [ecx + 0x18] */ 9455 MEM32(eax + 0x18) = edx; /* 0x250AD7B5: mov dword ptr [eax + 0x18], edx */ 9456 ecx = MEM32(ecx + 0x1C); /* 0x250AD7B8: mov ecx, dword ptr [ecx + 0x1c] */ 9457 MEM32(eax + 0x1C) = ecx; /* 0x250AD7BB: mov dword ptr [eax + 0x1c], ecx */ 9458 MEM32(eax) = 0x2515588Cu; /* 0x250AD7BE: mov dword ptr [eax], 0x2515588c */ 9459 ebp = POP32_VAL(esp); /* 0x250AD7C4: pop ebp */ 9460 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD7C5: ret 4 */ 9461 RECOMP_REGS_OUT(); 9462 } 9463 9464 void sub_250AD7D0(void) { 9465 int _fpu_cmp = 0; 9466 uint32_t _cf = 0; 9467 int _df = 1; 9468 uint32_t _flag_k = FK_NONE; 9469 uint32_t _flag_a = 0, _flag_b = 0; 9470 uint32_t _itail_tgt = 0; 9471 RECOMP_REGS_LOCALS 9472 RECOMP_ENTER(0x250AD7D0u); 9473 9474 L_250AD7D0: 9475 PUSH32(esp, ebp); /* 0x250AD7D0: push ebp */ 9476 ebp = esp; /* 0x250AD7D1: mov ebp, esp */ 9477 eax = ecx; /* 0x250AD7D3: mov eax, ecx */ 9478 ecx = MEM32(ebp + 0x8); /* 0x250AD7D5: mov ecx, dword ptr [ebp + 8] */ 9479 edx = MEM32(ecx + 0x4); /* 0x250AD7D8: mov edx, dword ptr [ecx + 4] */ 9480 MEM32(eax + 0x4) = edx; /* 0x250AD7DB: mov dword ptr [eax + 4], edx */ 9481 edx = MEM32(ecx + 0x8); /* 0x250AD7DE: mov edx, dword ptr [ecx + 8] */ 9482 MEM32(eax + 0x8) = edx; /* 0x250AD7E1: mov dword ptr [eax + 8], edx */ 9483 SET_LO8(edx, MEM8(ecx + 0xC)); /* 0x250AD7E4: mov dl, byte ptr [ecx + 0xc] */ 9484 MEM8(eax + 0xC) = (uint8_t)(LO8(edx)); /* 0x250AD7E7: mov byte ptr [eax + 0xc], dl */ 9485 SET_LO8(edx, MEM8(ecx + 0xD)); /* 0x250AD7EA: mov dl, byte ptr [ecx + 0xd] */ 9486 MEM8(eax + 0xD) = (uint8_t)(LO8(edx)); /* 0x250AD7ED: mov byte ptr [eax + 0xd], dl */ 9487 edx = MEM32(ecx + 0x10); /* 0x250AD7F0: mov edx, dword ptr [ecx + 0x10] */ 9488 MEM32(eax + 0x10) = edx; /* 0x250AD7F3: mov dword ptr [eax + 0x10], edx */ 9489 edx = MEM32(ecx + 0x14); /* 0x250AD7F6: mov edx, dword ptr [ecx + 0x14] */ 9490 MEM32(eax + 0x14) = edx; /* 0x250AD7F9: mov dword ptr [eax + 0x14], edx */ 9491 edx = MEM32(ecx + 0x18); /* 0x250AD7FC: mov edx, dword ptr [ecx + 0x18] */ 9492 MEM32(eax + 0x18) = edx; /* 0x250AD7FF: mov dword ptr [eax + 0x18], edx */ 9493 ecx = MEM32(ecx + 0x1C); /* 0x250AD802: mov ecx, dword ptr [ecx + 0x1c] */ 9494 MEM32(eax + 0x1C) = ecx; /* 0x250AD805: mov dword ptr [eax + 0x1c], ecx */ 9495 ebp = POP32_VAL(esp); /* 0x250AD808: pop ebp */ 9496 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD809: ret 4 */ 9497 RECOMP_REGS_OUT(); 9498 } 9499 9500 void sub_250AD810(void) { 9501 int _fpu_cmp = 0; 9502 uint32_t _cf = 0; 9503 int _df = 1; 9504 uint32_t _flag_k = FK_NONE; 9505 uint32_t _flag_a = 0, _flag_b = 0; 9506 uint32_t _itail_tgt = 0; 9507 RECOMP_REGS_LOCALS 9508 RECOMP_ENTER(0x250AD810u); 9509 9510 L_250AD810: 9511 PUSH32(esp, ebp); /* 0x250AD810: push ebp */ 9512 ebp = esp; /* 0x250AD811: mov ebp, esp */ 9513 eax = MEM32(ebp + 0x8); /* 0x250AD813: mov eax, dword ptr [ebp + 8] */ 9514 /* cmp eax, MEM32(ecx + 0x24) */ /* 0x250AD816: cmp eax, dword ptr [ecx + 0x24] */ 9515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x24)); 9516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9517 _flag_k = FK_CMP; 9518 if (CMP_L(_flag_a, _flag_b)) goto L_250AD821; /* 0x250AD819: jl 0x250ad821 */ 9519 L_250AD81B: 9520 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9521 eax = 0; /* 0x250AD81B: xor eax, eax */ 9522 _cf = 0; 9523 _flag_k = FK_TEST; 9524 ebp = POP32_VAL(esp); /* 0x250AD81D: pop ebp */ 9525 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD81E: ret 4 */ 9526 L_250AD821: 9527 ecx = MEM32(ecx + 0x28); /* 0x250AD821: mov ecx, dword ptr [ecx + 0x28] */ 9528 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AD824: shl eax, 4 */ 9529 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9530 eax = eax << 4u; /* 0x250AD824: shl eax, 4 */ 9531 eax = MEM32(ecx + eax + 0x8); /* 0x250AD827: mov eax, dword ptr [ecx + eax + 8] */ 9532 ebp = POP32_VAL(esp); /* 0x250AD82B: pop ebp */ 9533 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD82C: ret 4 */ 9534 RECOMP_REGS_OUT(); 9535 } 9536 9537 void sub_250AD830(void) { 9538 int _fpu_cmp = 0; 9539 uint32_t _cf = 0; 9540 int _df = 1; 9541 uint32_t _flag_k = FK_NONE; 9542 uint32_t _flag_a = 0, _flag_b = 0; 9543 uint32_t _itail_tgt = 0; 9544 RECOMP_REGS_LOCALS 9545 RECOMP_ENTER(0x250AD830u); 9546 9547 L_250AD830: 9548 PUSH32(esp, ebp); /* 0x250AD830: push ebp */ 9549 ebp = esp; /* 0x250AD831: mov ebp, esp */ 9550 eax = MEM32(ebp + 0x8); /* 0x250AD833: mov eax, dword ptr [ebp + 8] */ 9551 /* cmp eax, MEM32(ecx + 0x24) */ /* 0x250AD836: cmp eax, dword ptr [ecx + 0x24] */ 9552 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x24)); 9553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9554 _flag_k = FK_CMP; 9555 if (CMP_L(_flag_a, _flag_b)) goto L_250AD841; /* 0x250AD839: jl 0x250ad841 */ 9556 L_250AD83B: 9557 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9558 eax = 0; /* 0x250AD83B: xor eax, eax */ 9559 _cf = 0; 9560 _flag_k = FK_TEST; 9561 ebp = POP32_VAL(esp); /* 0x250AD83D: pop ebp */ 9562 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD83E: ret 4 */ 9563 L_250AD841: 9564 ecx = MEM32(ecx + 0x28); /* 0x250AD841: mov ecx, dword ptr [ecx + 0x28] */ 9565 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AD844: shl eax, 4 */ 9566 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9567 eax = eax << 4u; /* 0x250AD844: shl eax, 4 */ 9568 eax = MEM32(ecx + eax); /* 0x250AD847: mov eax, dword ptr [ecx + eax] */ 9569 ebp = POP32_VAL(esp); /* 0x250AD84A: pop ebp */ 9570 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD84B: ret 4 */ 9571 RECOMP_REGS_OUT(); 9572 } 9573 9574 void sub_250AD850(void) { 9575 int _fpu_cmp = 0; 9576 uint32_t _cf = 0; 9577 int _df = 1; 9578 uint32_t _flag_k = FK_NONE; 9579 uint32_t _flag_a = 0, _flag_b = 0; 9580 uint32_t _itail_tgt = 0; 9581 RECOMP_REGS_LOCALS 9582 RECOMP_ENTER(0x250AD850u); 9583 9584 L_250AD850: 9585 PUSH32(esp, ebp); /* 0x250AD850: push ebp */ 9586 ebp = esp; /* 0x250AD851: mov ebp, esp */ 9587 eax = MEM32(ebp + 0x8); /* 0x250AD853: mov eax, dword ptr [ebp + 8] */ 9588 /* cmp eax, MEM32(ecx + 0x24) */ /* 0x250AD856: cmp eax, dword ptr [ecx + 0x24] */ 9589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x24)); 9590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9591 _flag_k = FK_CMP; 9592 if (CMP_L(_flag_a, _flag_b)) goto L_250AD861; /* 0x250AD859: jl 0x250ad861 */ 9593 L_250AD85B: 9594 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9595 eax = 0; /* 0x250AD85B: xor eax, eax */ 9596 _cf = 0; 9597 _flag_k = FK_TEST; 9598 ebp = POP32_VAL(esp); /* 0x250AD85D: pop ebp */ 9599 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD85E: ret 4 */ 9600 L_250AD861: 9601 ecx = MEM32(ecx + 0x28); /* 0x250AD861: mov ecx, dword ptr [ecx + 0x28] */ 9602 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AD864: shl eax, 4 */ 9603 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9604 eax = eax << 4u; /* 0x250AD864: shl eax, 4 */ 9605 eax = MEM32(ecx + eax + 0x4); /* 0x250AD867: mov eax, dword ptr [ecx + eax + 4] */ 9606 ebp = POP32_VAL(esp); /* 0x250AD86B: pop ebp */ 9607 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD86C: ret 4 */ 9608 RECOMP_REGS_OUT(); 9609 } 9610 9611 void sub_250AD870(void) { 9612 int _fpu_cmp = 0; 9613 uint32_t _cf = 0; 9614 int _df = 1; 9615 uint32_t _flag_k = FK_NONE; 9616 uint32_t _flag_a = 0, _flag_b = 0; 9617 uint32_t _itail_tgt = 0; 9618 RECOMP_REGS_LOCALS 9619 RECOMP_ENTER(0x250AD870u); 9620 9621 L_250AD870: 9622 PUSH32(esp, ebp); /* 0x250AD870: push ebp */ 9623 ebp = esp; /* 0x250AD871: mov ebp, esp */ 9624 eax = MEM32(ebp + 0x8); /* 0x250AD873: mov eax, dword ptr [ebp + 8] */ 9625 /* cmp eax, MEM32(ecx + 0x24) */ /* 0x250AD876: cmp eax, dword ptr [ecx + 0x24] */ 9626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x24)); 9627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9628 _flag_k = FK_CMP; 9629 if (CMP_L(_flag_a, _flag_b)) goto L_250AD881; /* 0x250AD879: jl 0x250ad881 */ 9630 L_250AD87B: 9631 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9632 eax = 0; /* 0x250AD87B: xor eax, eax */ 9633 _cf = 0; 9634 _flag_k = FK_TEST; 9635 ebp = POP32_VAL(esp); /* 0x250AD87D: pop ebp */ 9636 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD87E: ret 4 */ 9637 L_250AD881: 9638 ecx = MEM32(ecx + 0x28); /* 0x250AD881: mov ecx, dword ptr [ecx + 0x28] */ 9639 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250AD884: shl eax, 4 */ 9640 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9641 eax = eax << 4u; /* 0x250AD884: shl eax, 4 */ 9642 eax = MEM32(ecx + eax + 0xC); /* 0x250AD887: mov eax, dword ptr [ecx + eax + 0xc] */ 9643 ebp = POP32_VAL(esp); /* 0x250AD88B: pop ebp */ 9644 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD88C: ret 4 */ 9645 RECOMP_REGS_OUT(); 9646 } 9647 9648 void sub_250AD890(void) { 9649 int _fpu_cmp = 0; 9650 uint32_t _cf = 0; 9651 int _df = 1; 9652 uint32_t _flag_k = FK_NONE; 9653 uint32_t _flag_a = 0, _flag_b = 0; 9654 uint32_t _itail_tgt = 0; 9655 RECOMP_REGS_LOCALS 9656 RECOMP_ENTER(0x250AD890u); 9657 9658 L_250AD890: 9659 PUSH32(esp, ebp); /* 0x250AD890: push ebp */ 9660 ebp = esp; /* 0x250AD891: mov ebp, esp */ 9661 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250AD893: mov al, byte ptr [ebp + 8] */ 9662 MEM8(ecx + 0x1F0) = (uint8_t)(LO8(eax)); /* 0x250AD896: mov byte ptr [ecx + 0x1f0], al */ 9663 ebp = POP32_VAL(esp); /* 0x250AD89C: pop ebp */ 9664 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD89D: ret 4 */ 9665 RECOMP_REGS_OUT(); 9666 } 9667 9668 void sub_250AD8A0(void) { 9669 int _fpu_cmp = 0; 9670 uint32_t _cf = 0; 9671 int _df = 1; 9672 uint32_t _flag_k = FK_NONE; 9673 uint32_t _flag_a = 0, _flag_b = 0; 9674 uint32_t _itail_tgt = 0; 9675 RECOMP_REGS_LOCALS 9676 RECOMP_ENTER(0x250AD8A0u); 9677 9678 L_250AD8A0: 9679 eax = MEM32(ecx + 0x1D8); /* 0x250AD8A0: mov eax, dword ptr [ecx + 0x1d8] */ 9680 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x250AD8A6: shl eax, 1 */ 9681 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9682 eax = eax << 1u; /* 0x250AD8A6: shl eax, 1 */ 9683 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD8A8: ret */ 9684 RECOMP_REGS_OUT(); 9685 } 9686 9687 void sub_250AD8B0(void) { 9688 int _fpu_cmp = 0; 9689 uint32_t _cf = 0; 9690 int _df = 1; 9691 uint32_t _flag_k = FK_NONE; 9692 uint32_t _flag_a = 0, _flag_b = 0; 9693 uint32_t _itail_tgt = 0; 9694 RECOMP_REGS_LOCALS 9695 RECOMP_ENTER(0x250AD8B0u); 9696 9697 L_250AD8B0: 9698 eax = MEM32(ecx + 0x1D8); /* 0x250AD8B0: mov eax, dword ptr [ecx + 0x1d8] */ 9699 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD8B6: ret */ 9700 RECOMP_REGS_OUT(); 9701 } 9702 9703 void sub_250AD8C0(void) { 9704 int _fpu_cmp = 0; 9705 uint32_t _cf = 0; 9706 int _df = 1; 9707 uint32_t _flag_k = FK_NONE; 9708 uint32_t _flag_a = 0, _flag_b = 0; 9709 uint32_t _itail_tgt = 0; 9710 RECOMP_REGS_LOCALS 9711 RECOMP_ENTER(0x250AD8C0u); 9712 9713 L_250AD8C0: 9714 eax = MEM32(ecx + 0x1E0); /* 0x250AD8C0: mov eax, dword ptr [ecx + 0x1e0] */ 9715 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AD8C6: ret */ 9716 RECOMP_REGS_OUT(); 9717 } 9718 9719 void sub_250AD8D0(void) { 9720 int _fpu_cmp = 0; 9721 uint32_t _cf = 0; 9722 int _df = 1; 9723 uint32_t _flag_k = FK_NONE; 9724 uint32_t _flag_a = 0, _flag_b = 0; 9725 uint32_t _itail_tgt = 0; 9726 RECOMP_REGS_LOCALS 9727 RECOMP_ENTER(0x250AD8D0u); 9728 9729 L_250AD8D0: 9730 PUSH32(esp, ebp); /* 0x250AD8D0: push ebp */ 9731 ebp = esp; /* 0x250AD8D1: mov ebp, esp */ 9732 PUSH32(esp, esi); /* 0x250AD8D3: push esi */ 9733 PUSH32(esp, edi); /* 0x250AD8D4: push edi */ 9734 edi = MEM32(ebp + 0x8); /* 0x250AD8D5: mov edi, dword ptr [ebp + 8] */ 9735 esi = ecx; /* 0x250AD8D8: mov esi, ecx */ 9736 PUSH32(esp, edi); /* 0x250AD8DA: push edi */ 9737 RECOMP_ICALL(0x250DAB70u); /* 0x250AD8DB: call 0x250dab70 */ /* not lifted */ 9738 RECOMP_FLAGS_IN(); 9739 eax = MEM32(edi + 0x1D4); /* 0x250AD8E0: mov eax, dword ptr [edi + 0x1d4] */ 9740 MEM32(esi + 0x1D4) = eax; /* 0x250AD8E6: mov dword ptr [esi + 0x1d4], eax */ 9741 ecx = MEM32(edi + 0x1D8); /* 0x250AD8EC: mov ecx, dword ptr [edi + 0x1d8] */ 9742 MEM32(esi + 0x1D8) = ecx; /* 0x250AD8F2: mov dword ptr [esi + 0x1d8], ecx */ 9743 edx = MEM32(edi + 0x1DC); /* 0x250AD8F8: mov edx, dword ptr [edi + 0x1dc] */ 9744 MEM32(esi + 0x1DC) = edx; /* 0x250AD8FE: mov dword ptr [esi + 0x1dc], edx */ 9745 eax = MEM32(edi + 0x1E0); /* 0x250AD904: mov eax, dword ptr [edi + 0x1e0] */ 9746 MEM32(esi + 0x1E0) = eax; /* 0x250AD90A: mov dword ptr [esi + 0x1e0], eax */ 9747 SET_LO8(ecx, MEM8(edi + 0x1E4)); /* 0x250AD910: mov cl, byte ptr [edi + 0x1e4] */ 9748 MEM8(esi + 0x1E4) = (uint8_t)(LO8(ecx)); /* 0x250AD916: mov byte ptr [esi + 0x1e4], cl */ 9749 edx = MEM32(edi + 0x1E8); /* 0x250AD91C: mov edx, dword ptr [edi + 0x1e8] */ 9750 MEM32(esi + 0x1E8) = edx; /* 0x250AD922: mov dword ptr [esi + 0x1e8], edx */ 9751 eax = MEM32(edi + 0x1EC); /* 0x250AD928: mov eax, dword ptr [edi + 0x1ec] */ 9752 MEM32(esi + 0x1EC) = eax; /* 0x250AD92E: mov dword ptr [esi + 0x1ec], eax */ 9753 SET_LO8(ecx, MEM8(edi + 0x1F0)); /* 0x250AD934: mov cl, byte ptr [edi + 0x1f0] */ 9754 edi = POP32_VAL(esp); /* 0x250AD93A: pop edi */ 9755 MEM8(esi + 0x1F0) = (uint8_t)(LO8(ecx)); /* 0x250AD93B: mov byte ptr [esi + 0x1f0], cl */ 9756 MEM32(esi) = 0x25155C1Cu; /* 0x250AD941: mov dword ptr [esi], 0x25155c1c */ 9757 MEM32(esi + 0x8) = 0x25155C0Cu; /* 0x250AD947: mov dword ptr [esi + 8], 0x25155c0c */ 9758 MEM32(esi + 0x20) = 0x25155BFCu; /* 0x250AD94E: mov dword ptr [esi + 0x20], 0x25155bfc */ 9759 MEM32(esi + 0x38) = 0x25155BECu; /* 0x250AD955: mov dword ptr [esi + 0x38], 0x25155bec */ 9760 MEM32(esi + 0x50) = 0x25155BDCu; /* 0x250AD95C: mov dword ptr [esi + 0x50], 0x25155bdc */ 9761 MEM32(esi + 0x138) = 0x25155BCCu; /* 0x250AD963: mov dword ptr [esi + 0x138], 0x25155bcc */ 9762 MEM32(esi + 0x150) = 0x25155BBCu; /* 0x250AD96D: mov dword ptr [esi + 0x150], 0x25155bbc */ 9763 eax = esi; /* 0x250AD977: mov eax, esi */ 9764 esi = POP32_VAL(esp); /* 0x250AD979: pop esi */ 9765 ebp = POP32_VAL(esp); /* 0x250AD97A: pop ebp */ 9766 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AD97B: ret 4 */ 9767 RECOMP_REGS_OUT(); 9768 } 9769 9770 void sub_250AD980(void) { 9771 int _fpu_cmp = 0; 9772 uint32_t _cf = 0; 9773 int _df = 1; 9774 uint32_t _flag_k = FK_NONE; 9775 uint32_t _flag_a = 0, _flag_b = 0; 9776 uint32_t _itail_tgt = 0; 9777 RECOMP_REGS_LOCALS 9778 RECOMP_ENTER(0x250AD980u); 9779 9780 L_250AD980: 9781 PUSH32(esp, ebp); /* 0x250AD980: push ebp */ 9782 ebp = esp; /* 0x250AD981: mov ebp, esp */ 9783 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9785 esp = esp - 8; /* 0x250AD983: sub esp, 8 */ 9786 _flag_k = FK_CMP; 9787 PUSH32(esp, ebx); /* 0x250AD986: push ebx */ 9788 ebx = MEM32(ebp + 0x8); /* 0x250AD987: mov ebx, dword ptr [ebp + 8] */ 9789 /* test ebx, ebx */ /* 0x250AD98A: test ebx, ebx */ 9790 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 9791 _cf = 0; 9792 _flag_k = FK_TEST; 9793 eax = MEM32(ebx + 0x4); /* 0x250AD98C: mov eax, dword ptr [ebx + 4] */ 9794 PUSH32(esp, esi); /* 0x250AD98F: push esi */ 9795 PUSH32(esp, edi); /* 0x250AD990: push edi */ 9796 edi = ecx; /* 0x250AD991: mov edi, ecx */ 9797 MEM32(ebp + (-0x4)) = edi; /* 0x250AD993: mov dword ptr [ebp - 4], edi */ 9798 MEM32(edi + 0x4) = eax; /* 0x250AD996: mov dword ptr [edi + 4], eax */ 9799 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD9A0; /* 0x250AD999: je 0x250ad9a0 */ 9800 L_250AD99B: 9801 eax = ebx + 0x8; /* 0x250AD99B: lea eax, [ebx + 8] */ 9802 goto L_250AD9A2; /* 0x250AD99E: jmp 0x250ad9a2 */ 9803 L_250AD9A0: 9804 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9805 eax = 0; /* 0x250AD9A0: xor eax, eax */ 9806 _cf = 0; 9807 _flag_k = FK_TEST; 9808 L_250AD9A2: 9809 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9810 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9811 eax = eax + 4; /* 0x250AD9A2: add eax, 4 */ 9812 _flag_k = FK_ADD; 9813 PUSH32(esp, eax); /* 0x250AD9A5: push eax */ 9814 ecx = edi + 0xC; /* 0x250AD9A6: lea ecx, [edi + 0xc] */ 9815 RECOMP_ICALL(0x2500B8C0u); /* 0x250AD9A9: call 0x2500b8c0 */ /* not lifted */ 9816 RECOMP_FLAGS_IN(); 9817 /* test ebx, ebx */ /* 0x250AD9AE: test ebx, ebx */ 9818 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 9819 _cf = 0; 9820 _flag_k = FK_TEST; 9821 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD9B7; /* 0x250AD9B0: je 0x250ad9b7 */ 9822 L_250AD9B2: 9823 eax = ebx + 0x20; /* 0x250AD9B2: lea eax, [ebx + 0x20] */ 9824 goto L_250AD9B9; /* 0x250AD9B5: jmp 0x250ad9b9 */ 9825 L_250AD9B7: 9826 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9827 eax = 0; /* 0x250AD9B7: xor eax, eax */ 9828 _cf = 0; 9829 _flag_k = FK_TEST; 9830 L_250AD9B9: 9831 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9832 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9833 eax = eax + 4; /* 0x250AD9B9: add eax, 4 */ 9834 _flag_k = FK_ADD; 9835 PUSH32(esp, eax); /* 0x250AD9BC: push eax */ 9836 ecx = edi + 0x24; /* 0x250AD9BD: lea ecx, [edi + 0x24] */ 9837 RECOMP_ICALL(0x2500BA40u); /* 0x250AD9C0: call 0x2500ba40 */ /* not lifted */ 9838 RECOMP_FLAGS_IN(); 9839 /* test ebx, ebx */ /* 0x250AD9C5: test ebx, ebx */ 9840 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 9841 _cf = 0; 9842 _flag_k = FK_TEST; 9843 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD9CE; /* 0x250AD9C7: je 0x250ad9ce */ 9844 L_250AD9C9: 9845 eax = ebx + 0x38; /* 0x250AD9C9: lea eax, [ebx + 0x38] */ 9846 goto L_250AD9D0; /* 0x250AD9CC: jmp 0x250ad9d0 */ 9847 L_250AD9CE: 9848 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9849 eax = 0; /* 0x250AD9CE: xor eax, eax */ 9850 _cf = 0; 9851 _flag_k = FK_TEST; 9852 L_250AD9D0: 9853 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9855 eax = eax + 4; /* 0x250AD9D0: add eax, 4 */ 9856 _flag_k = FK_ADD; 9857 PUSH32(esp, eax); /* 0x250AD9D3: push eax */ 9858 ecx = edi + 0x3C; /* 0x250AD9D4: lea ecx, [edi + 0x3c] */ 9859 RECOMP_ICALL(0x2500BBC0u); /* 0x250AD9D7: call 0x2500bbc0 */ /* not lifted */ 9860 RECOMP_FLAGS_IN(); 9861 /* test ebx, ebx */ /* 0x250AD9DC: test ebx, ebx */ 9862 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 9863 _cf = 0; 9864 _flag_k = FK_TEST; 9865 if (TEST_Z(_flag_a, _flag_b)) goto L_250AD9E5; /* 0x250AD9DE: je 0x250ad9e5 */ 9866 L_250AD9E0: 9867 eax = ebx + 0x50; /* 0x250AD9E0: lea eax, [ebx + 0x50] */ 9868 goto L_250AD9E7; /* 0x250AD9E3: jmp 0x250ad9e7 */ 9869 L_250AD9E5: 9870 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9871 eax = 0; /* 0x250AD9E5: xor eax, eax */ 9872 _cf = 0; 9873 _flag_k = FK_TEST; 9874 L_250AD9E7: 9875 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9876 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9877 eax = eax + 4; /* 0x250AD9E7: add eax, 4 */ 9878 _flag_k = FK_ADD; 9879 PUSH32(esp, eax); /* 0x250AD9EA: push eax */ 9880 ecx = edi + 0x54; /* 0x250AD9EB: lea ecx, [edi + 0x54] */ 9881 RECOMP_ICALL(0x2500BD40u); /* 0x250AD9EE: call 0x2500bd40 */ /* not lifted */ 9882 RECOMP_FLAGS_IN(); 9883 SET_LO8(ecx, MEM8(ebx + 0x68)); /* 0x250AD9F3: mov cl, byte ptr [ebx + 0x68] */ 9884 MEM8(edi + 0x68) = (uint8_t)(LO8(ecx)); /* 0x250AD9F6: mov byte ptr [edi + 0x68], cl */ 9885 SET_LO8(edx, MEM8(ebx + 0x69)); /* 0x250AD9F9: mov dl, byte ptr [ebx + 0x69] */ 9886 MEM8(edi + 0x69) = (uint8_t)(LO8(edx)); /* 0x250AD9FC: mov byte ptr [edi + 0x69], dl */ 9887 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250AD9FF: mov al, byte ptr [ebx + 0x6a] */ 9888 MEM8(edi + 0x6A) = (uint8_t)(LO8(eax)); /* 0x250ADA02: mov byte ptr [edi + 0x6a], al */ 9889 SET_LO8(ecx, MEM8(ebx + 0x6B)); /* 0x250ADA05: mov cl, byte ptr [ebx + 0x6b] */ 9890 MEM8(edi + 0x6B) = (uint8_t)(LO8(ecx)); /* 0x250ADA08: mov byte ptr [edi + 0x6b], cl */ 9891 edx = MEM32(ebx + 0x6C); /* 0x250ADA0B: mov edx, dword ptr [ebx + 0x6c] */ 9892 MEM32(edi + 0x6C) = edx; /* 0x250ADA0E: mov dword ptr [edi + 0x6c], edx */ 9893 eax = MEM32(ebx + 0x70); /* 0x250ADA11: mov eax, dword ptr [ebx + 0x70] */ 9894 MEM32(edi + 0x70) = eax; /* 0x250ADA14: mov dword ptr [edi + 0x70], eax */ 9895 ecx = MEM32(ebx + 0x74); /* 0x250ADA17: mov ecx, dword ptr [ebx + 0x74] */ 9896 MEM32(edi + 0x74) = ecx; /* 0x250ADA1A: mov dword ptr [edi + 0x74], ecx */ 9897 eax = edi + 0x78; /* 0x250ADA1D: lea eax, [edi + 0x78] */ 9898 edx = ebx + 0x78; /* 0x250ADA20: lea edx, [ebx + 0x78] */ 9899 ecx = MEM32(edx); /* 0x250ADA23: mov ecx, dword ptr [edx] */ 9900 MEM32(eax) = ecx; /* 0x250ADA25: mov dword ptr [eax], ecx */ 9901 ecx = MEM32(edx + 0x4); /* 0x250ADA27: mov ecx, dword ptr [edx + 4] */ 9902 MEM32(eax + 0x4) = ecx; /* 0x250ADA2A: mov dword ptr [eax + 4], ecx */ 9903 edx = MEM32(edx + 0x8); /* 0x250ADA2D: mov edx, dword ptr [edx + 8] */ 9904 MEM32(eax + 0x8) = edx; /* 0x250ADA30: mov dword ptr [eax + 8], edx */ 9905 ecx = edi + 0x84; /* 0x250ADA33: lea ecx, [edi + 0x84] */ 9906 eax = ebx + 0x84; /* 0x250ADA39: lea eax, [ebx + 0x84] */ 9907 edx = MEM32(eax); /* 0x250ADA3F: mov edx, dword ptr [eax] */ 9908 MEM32(ecx) = edx; /* 0x250ADA41: mov dword ptr [ecx], edx */ 9909 edx = MEM32(eax + 0x4); /* 0x250ADA43: mov edx, dword ptr [eax + 4] */ 9910 MEM32(ecx + 0x4) = edx; /* 0x250ADA46: mov dword ptr [ecx + 4], edx */ 9911 edx = MEM32(eax + 0x8); /* 0x250ADA49: mov edx, dword ptr [eax + 8] */ 9912 MEM32(ecx + 0x8) = edx; /* 0x250ADA4C: mov dword ptr [ecx + 8], edx */ 9913 eax = MEM32(eax + 0xC); /* 0x250ADA4F: mov eax, dword ptr [eax + 0xc] */ 9914 MEM32(ecx + 0xC) = eax; /* 0x250ADA52: mov dword ptr [ecx + 0xc], eax */ 9915 ecx = MEM32(ebx + 0x94); /* 0x250ADA55: mov ecx, dword ptr [ebx + 0x94] */ 9916 eax = MEM32(ebp + (-0x4)); /* 0x250ADA5B: mov eax, dword ptr [ebp - 4] */ 9917 MEM32(edi + 0x94) = ecx; /* 0x250ADA5E: mov dword ptr [edi + 0x94], ecx */ 9918 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x98u); 9919 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9920 edi = edi + 0x98u; /* 0x250ADA64: add edi, 0x98 */ 9921 _flag_k = FK_ADD; 9922 /* test ebx, ebx */ /* 0x250ADA6A: test ebx, ebx */ 9923 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 9924 _cf = 0; 9925 _flag_k = FK_TEST; 9926 esi = ebx + 0x98; /* 0x250ADA6C: lea esi, [ebx + 0x98] */ 9927 ecx = 0x10u; /* 0x250ADA72: mov ecx, 0x10 */ 9928 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ADA77: 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; } 9929 esi = ebx + 0xD8; /* 0x250ADA79: lea esi, [ebx + 0xd8] */ 9930 edi = eax + 0xD8; /* 0x250ADA7F: lea edi, [eax + 0xd8] */ 9931 ecx = 0x10u; /* 0x250ADA85: mov ecx, 0x10 */ 9932 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ADA8A: 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; } 9933 edx = MEM32(ebx + 0x118); /* 0x250ADA8C: mov edx, dword ptr [ebx + 0x118] */ 9934 MEM32(eax + 0x118) = edx; /* 0x250ADA92: mov dword ptr [eax + 0x118], edx */ 9935 ecx = MEM32(ebx + 0x11C); /* 0x250ADA98: mov ecx, dword ptr [ebx + 0x11c] */ 9936 MEM32(eax + 0x11C) = ecx; /* 0x250ADA9E: mov dword ptr [eax + 0x11c], ecx */ 9937 SET_LO8(edx, MEM8(ebx + 0x120)); /* 0x250ADAA4: mov dl, byte ptr [ebx + 0x120] */ 9938 MEM8(eax + 0x120) = (uint8_t)(LO8(edx)); /* 0x250ADAAA: mov byte ptr [eax + 0x120], dl */ 9939 ecx = MEM32(ebx + 0x124); /* 0x250ADAB0: mov ecx, dword ptr [ebx + 0x124] */ 9940 MEM32(eax + 0x124) = ecx; /* 0x250ADAB6: mov dword ptr [eax + 0x124], ecx */ 9941 edx = MEM32(ebx + 0x128); /* 0x250ADABC: mov edx, dword ptr [ebx + 0x128] */ 9942 MEM32(eax + 0x128) = edx; /* 0x250ADAC2: mov dword ptr [eax + 0x128], edx */ 9943 ecx = MEM32(ebx + 0x12C); /* 0x250ADAC8: mov ecx, dword ptr [ebx + 0x12c] */ 9944 MEM32(eax + 0x12C) = ecx; /* 0x250ADACE: mov dword ptr [eax + 0x12c], ecx */ 9945 SET_LO8(edx, MEM8(ebx + 0x130)); /* 0x250ADAD4: mov dl, byte ptr [ebx + 0x130] */ 9946 MEM8(eax + 0x130) = (uint8_t)(LO8(edx)); /* 0x250ADADA: mov byte ptr [eax + 0x130], dl */ 9947 SET_LO8(ecx, MEM8(ebx + 0x131)); /* 0x250ADAE0: mov cl, byte ptr [ebx + 0x131] */ 9948 MEM8(eax + 0x131) = (uint8_t)(LO8(ecx)); /* 0x250ADAE6: mov byte ptr [eax + 0x131], cl */ 9949 SET_LO8(edx, MEM8(ebx + 0x132)); /* 0x250ADAEC: mov dl, byte ptr [ebx + 0x132] */ 9950 MEM8(eax + 0x132) = (uint8_t)(LO8(edx)); /* 0x250ADAF2: mov byte ptr [eax + 0x132], dl */ 9951 ecx = MEM32(ebx + 0x134); /* 0x250ADAF8: mov ecx, dword ptr [ebx + 0x134] */ 9952 MEM32(eax + 0x134) = ecx; /* 0x250ADAFE: mov dword ptr [eax + 0x134], ecx */ 9953 if (TEST_Z(_flag_a, _flag_b)) goto L_250ADB0E; /* 0x250ADB04: je 0x250adb0e */ 9954 L_250ADB06: 9955 edi = ebx + 0x138; /* 0x250ADB06: lea edi, [ebx + 0x138] */ 9956 goto L_250ADB10; /* 0x250ADB0C: jmp 0x250adb10 */ 9957 L_250ADB0E: 9958 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9959 edi = 0; /* 0x250ADB0E: xor edi, edi */ 9960 _cf = 0; 9961 _flag_k = FK_TEST; 9962 L_250ADB10: 9963 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 9964 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9965 edi = edi + 4; /* 0x250ADB10: add edi, 4 */ 9966 _flag_k = FK_ADD; 9967 esi = eax + 0x13C; /* 0x250ADB13: lea esi, [eax + 0x13c] */ 9968 /* cmp esi, edi */ /* 0x250ADB19: cmp esi, edi */ 9969 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9971 _flag_k = FK_CMP; 9972 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ADB4B; /* 0x250ADB1B: je 0x250adb4b */ 9973 L_250ADB1D: 9974 eax = MEM32(esi + 0x4); /* 0x250ADB1D: mov eax, dword ptr [esi + 4] */ 9975 PUSH32(esp, eax); /* 0x250ADB20: push eax */ 9976 edx = ebp + 0x8; /* 0x250ADB21: lea edx, [ebp + 8] */ 9977 PUSH32(esp, edx); /* 0x250ADB24: push edx */ 9978 ecx = esi; /* 0x250ADB25: mov ecx, esi */ 9979 RECOMP_ICALL(0x25085270u); /* 0x250ADB27: call 0x25085270 */ /* not lifted */ 9980 RECOMP_FLAGS_IN(); 9981 eax = MEM32(eax); /* 0x250ADB2C: mov eax, dword ptr [eax] */ 9982 PUSH32(esp, eax); /* 0x250ADB2E: push eax */ 9983 ecx = ebp + (-0x8); /* 0x250ADB2F: lea ecx, [ebp - 8] */ 9984 PUSH32(esp, ecx); /* 0x250ADB32: push ecx */ 9985 ecx = esi; /* 0x250ADB33: mov ecx, esi */ 9986 RECOMP_ICALL(0x25006020u); /* 0x250ADB35: call 0x25006020 */ /* not lifted */ 9987 RECOMP_FLAGS_IN(); 9988 SET_LO8(edx, MEM8(edi + 0x1)); /* 0x250ADB3A: mov dl, byte ptr [edi + 1] */ 9989 PUSH32(esp, edi); /* 0x250ADB3D: push edi */ 9990 ecx = esi; /* 0x250ADB3E: mov ecx, esi */ 9991 MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x250ADB40: mov byte ptr [esi + 1], dl */ 9992 RECOMP_ICALL(0x250060D0u); /* 0x250ADB43: call 0x250060d0 */ /* not lifted */ 9993 RECOMP_FLAGS_IN(); 9994 eax = MEM32(ebp + (-0x4)); /* 0x250ADB48: mov eax, dword ptr [ebp - 4] */ 9995 L_250ADB4B: 9996 /* test ebx, ebx */ /* 0x250ADB4B: test ebx, ebx */ 9997 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 9998 _cf = 0; 9999 _flag_k = FK_TEST; 10000 if (TEST_Z(_flag_a, _flag_b)) goto L_250ADB57; /* 0x250ADB4D: je 0x250adb57 */ 10001 L_250ADB4F: 10002 ecx = ebx + 0x150; /* 0x250ADB4F: lea ecx, [ebx + 0x150] */ 10003 goto L_250ADB59; /* 0x250ADB55: jmp 0x250adb59 */ 10004 L_250ADB57: 10005 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10006 ecx = 0; /* 0x250ADB57: xor ecx, ecx */ 10007 _cf = 0; 10008 _flag_k = FK_TEST; 10009 L_250ADB59: 10010 edi = ecx + 0x4; /* 0x250ADB59: lea edi, [ecx + 4] */ 10011 esi = eax + 0x154; /* 0x250ADB5C: lea esi, [eax + 0x154] */ 10012 /* cmp esi, edi */ /* 0x250ADB62: cmp esi, edi */ 10013 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 10014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10015 _flag_k = FK_CMP; 10016 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ADB94; /* 0x250ADB64: je 0x250adb94 */ 10017 L_250ADB66: 10018 eax = MEM32(esi + 0x4); /* 0x250ADB66: mov eax, dword ptr [esi + 4] */ 10019 PUSH32(esp, eax); /* 0x250ADB69: push eax */ 10020 eax = ebp + 0x8; /* 0x250ADB6A: lea eax, [ebp + 8] */ 10021 PUSH32(esp, eax); /* 0x250ADB6D: push eax */ 10022 ecx = esi; /* 0x250ADB6E: mov ecx, esi */ 10023 RECOMP_ICALL(0x25085270u); /* 0x250ADB70: call 0x25085270 */ /* not lifted */ 10024 RECOMP_FLAGS_IN(); 10025 ecx = MEM32(eax); /* 0x250ADB75: mov ecx, dword ptr [eax] */ 10026 PUSH32(esp, ecx); /* 0x250ADB77: push ecx */ 10027 edx = ebp + (-0x8); /* 0x250ADB78: lea edx, [ebp - 8] */ 10028 PUSH32(esp, edx); /* 0x250ADB7B: push edx */ 10029 ecx = esi; /* 0x250ADB7C: mov ecx, esi */ 10030 RECOMP_ICALL(0x250061D0u); /* 0x250ADB7E: call 0x250061d0 */ /* not lifted */ 10031 RECOMP_FLAGS_IN(); 10032 SET_LO8(eax, MEM8(edi + 0x1)); /* 0x250ADB83: mov al, byte ptr [edi + 1] */ 10033 PUSH32(esp, edi); /* 0x250ADB86: push edi */ 10034 ecx = esi; /* 0x250ADB87: mov ecx, esi */ 10035 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x250ADB89: mov byte ptr [esi + 1], al */ 10036 RECOMP_ICALL(0x25006280u); /* 0x250ADB8C: call 0x25006280 */ /* not lifted */ 10037 RECOMP_FLAGS_IN(); 10038 eax = MEM32(ebp + (-0x4)); /* 0x250ADB91: mov eax, dword ptr [ebp - 4] */ 10039 L_250ADB94: 10040 ecx = MEM32(ebx + 0x168); /* 0x250ADB94: mov ecx, dword ptr [ebx + 0x168] */ 10041 esi = ebx; /* 0x250ADB9A: mov esi, ebx */ 10042 MEM32(eax + 0x168) = ecx; /* 0x250ADB9C: mov dword ptr [eax + 0x168], ecx */ 10043 edx = ebx + 0x16C; /* 0x250ADBA2: lea edx, [ebx + 0x16c] */ 10044 ecx = eax + 0x170; /* 0x250ADBA8: lea ecx, [eax + 0x170] */ 10045 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10047 esi = esi - eax; /* 0x250ADBAE: sub esi, eax */ 10048 _flag_k = FK_CMP; 10049 MEM32(ebp + 0x8) = 8; /* 0x250ADBB0: mov dword ptr [ebp + 8], 8 */ 10050 L_250ADBB7: 10051 edi = MEM32(edx); /* 0x250ADBB7: mov edi, dword ptr [edx] */ 10052 MEM32(ecx + (-0x4)) = edi; /* 0x250ADBB9: mov dword ptr [ecx - 4], edi */ 10053 edi = MEM32(esi + ecx); /* 0x250ADBBC: mov edi, dword ptr [esi + ecx] */ 10054 MEM32(ecx) = edi; /* 0x250ADBBF: mov dword ptr [ecx], edi */ 10055 edi = MEM32(ebp + 0x8); /* 0x250ADBC1: mov edi, dword ptr [ebp + 8] */ 10056 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 10057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10058 edx = edx + 8; /* 0x250ADBC4: add edx, 8 */ 10059 _flag_k = FK_ADD; 10060 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 10061 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10062 ecx = ecx + 8; /* 0x250ADBC7: add ecx, 8 */ 10063 _flag_k = FK_ADD; 10064 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 10065 edi = edi - 1; /* 0x250ADBCA: dec edi */ 10066 _flag_k = FK_DEC; 10067 MEM32(ebp + 0x8) = edi; /* 0x250ADBCB: mov dword ptr [ebp + 8], edi */ 10068 RECOMP_BACKEDGE(); 10069 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250ADBB7; /* 0x250ADBCE: jne 0x250adbb7 */ 10070 L_250ADBD0: 10071 SET_LO8(edx, MEM8(ebx + 0x1AC)); /* 0x250ADBD0: mov dl, byte ptr [ebx + 0x1ac] */ 10072 MEM8(eax + 0x1AC) = (uint8_t)(LO8(edx)); /* 0x250ADBD6: mov byte ptr [eax + 0x1ac], dl */ 10073 SET_LO8(ecx, MEM8(ebx + 0x1AD)); /* 0x250ADBDC: mov cl, byte ptr [ebx + 0x1ad] */ 10074 MEM8(eax + 0x1AD) = (uint8_t)(LO8(ecx)); /* 0x250ADBE2: mov byte ptr [eax + 0x1ad], cl */ 10075 SET_LO8(edx, MEM8(ebx + 0x1AE)); /* 0x250ADBE8: mov dl, byte ptr [ebx + 0x1ae] */ 10076 MEM8(eax + 0x1AE) = (uint8_t)(LO8(edx)); /* 0x250ADBEE: mov byte ptr [eax + 0x1ae], dl */ 10077 ecx = MEM32(ebx + 0x1B0); /* 0x250ADBF4: mov ecx, dword ptr [ebx + 0x1b0] */ 10078 MEM32(eax + 0x1B0) = ecx; /* 0x250ADBFA: mov dword ptr [eax + 0x1b0], ecx */ 10079 edx = MEM32(ebx + 0x1B4); /* 0x250ADC00: mov edx, dword ptr [ebx + 0x1b4] */ 10080 ecx = ebx + 0x1B8; /* 0x250ADC06: lea ecx, [ebx + 0x1b8] */ 10081 PUSH32(esp, ecx); /* 0x250ADC0C: push ecx */ 10082 ecx = eax + 0x1B8; /* 0x250ADC0D: lea ecx, [eax + 0x1b8] */ 10083 MEM32(eax + 0x1B4) = edx; /* 0x250ADC13: mov dword ptr [eax + 0x1b4], edx */ 10084 RECOMP_ICALL(0x25005990u); /* 0x250ADC19: call 0x25005990 */ /* not lifted */ 10085 RECOMP_FLAGS_IN(); 10086 edx = MEM32(ebx + 0x1C8); /* 0x250ADC1E: mov edx, dword ptr [ebx + 0x1c8] */ 10087 eax = MEM32(ebp + (-0x4)); /* 0x250ADC24: mov eax, dword ptr [ebp - 4] */ 10088 MEM32(eax + 0x1C8) = edx; /* 0x250ADC27: mov dword ptr [eax + 0x1c8], edx */ 10089 SET_LO8(ecx, MEM8(ebx + 0x1CC)); /* 0x250ADC2D: mov cl, byte ptr [ebx + 0x1cc] */ 10090 MEM8(eax + 0x1CC) = (uint8_t)(LO8(ecx)); /* 0x250ADC33: mov byte ptr [eax + 0x1cc], cl */ 10091 edx = MEM32(ebx + 0x1D0); /* 0x250ADC39: mov edx, dword ptr [ebx + 0x1d0] */ 10092 MEM32(eax + 0x1D0) = edx; /* 0x250ADC3F: mov dword ptr [eax + 0x1d0], edx */ 10093 ecx = MEM32(ebx + 0x1D4); /* 0x250ADC45: mov ecx, dword ptr [ebx + 0x1d4] */ 10094 MEM32(eax + 0x1D4) = ecx; /* 0x250ADC4B: mov dword ptr [eax + 0x1d4], ecx */ 10095 edx = MEM32(ebx + 0x1D8); /* 0x250ADC51: mov edx, dword ptr [ebx + 0x1d8] */ 10096 MEM32(eax + 0x1D8) = edx; /* 0x250ADC57: mov dword ptr [eax + 0x1d8], edx */ 10097 ecx = MEM32(ebx + 0x1DC); /* 0x250ADC5D: mov ecx, dword ptr [ebx + 0x1dc] */ 10098 MEM32(eax + 0x1DC) = ecx; /* 0x250ADC63: mov dword ptr [eax + 0x1dc], ecx */ 10099 edx = MEM32(ebx + 0x1E0); /* 0x250ADC69: mov edx, dword ptr [ebx + 0x1e0] */ 10100 MEM32(eax + 0x1E0) = edx; /* 0x250ADC6F: mov dword ptr [eax + 0x1e0], edx */ 10101 SET_LO8(ecx, MEM8(ebx + 0x1E4)); /* 0x250ADC75: mov cl, byte ptr [ebx + 0x1e4] */ 10102 MEM8(eax + 0x1E4) = (uint8_t)(LO8(ecx)); /* 0x250ADC7B: mov byte ptr [eax + 0x1e4], cl */ 10103 edx = MEM32(ebx + 0x1E8); /* 0x250ADC81: mov edx, dword ptr [ebx + 0x1e8] */ 10104 MEM32(eax + 0x1E8) = edx; /* 0x250ADC87: mov dword ptr [eax + 0x1e8], edx */ 10105 ecx = MEM32(ebx + 0x1EC); /* 0x250ADC8D: mov ecx, dword ptr [ebx + 0x1ec] */ 10106 edi = POP32_VAL(esp); /* 0x250ADC93: pop edi */ 10107 MEM32(eax + 0x1EC) = ecx; /* 0x250ADC94: mov dword ptr [eax + 0x1ec], ecx */ 10108 SET_LO8(edx, MEM8(ebx + 0x1F0)); /* 0x250ADC9A: mov dl, byte ptr [ebx + 0x1f0] */ 10109 esi = POP32_VAL(esp); /* 0x250ADCA0: pop esi */ 10110 MEM8(eax + 0x1F0) = (uint8_t)(LO8(edx)); /* 0x250ADCA1: mov byte ptr [eax + 0x1f0], dl */ 10111 ebx = POP32_VAL(esp); /* 0x250ADCA7: pop ebx */ 10112 esp = ebp; /* 0x250ADCA8: mov esp, ebp */ 10113 ebp = POP32_VAL(esp); /* 0x250ADCAA: pop ebp */ 10114 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250ADCAB: ret 4 */ 10115 RECOMP_REGS_OUT(); 10116 } 10117 10118 void sub_250ADCB0(void) { 10119 int _fpu_cmp = 0; 10120 uint32_t _cf = 0; 10121 int _df = 1; 10122 uint32_t _flag_k = FK_NONE; 10123 uint32_t _flag_a = 0, _flag_b = 0; 10124 uint32_t _itail_tgt = 0; 10125 RECOMP_REGS_LOCALS 10126 RECOMP_ENTER(0x250ADCB0u); 10127 10128 L_250ADCB0: 10129 PUSH32(esp, ebp); /* 0x250ADCB0: push ebp */ 10130 ebp = esp; /* 0x250ADCB1: mov ebp, esp */ 10131 PUSH32(esp, esi); /* 0x250ADCB3: push esi */ 10132 PUSH32(esp, edi); /* 0x250ADCB4: push edi */ 10133 edi = MEM32(ebp + 0x8); /* 0x250ADCB5: mov edi, dword ptr [ebp + 8] */ 10134 esi = ecx; /* 0x250ADCB8: mov esi, ecx */ 10135 PUSH32(esp, edi); /* 0x250ADCBA: push edi */ 10136 RECOMP_ICALL(0x250DAB70u); /* 0x250ADCBB: call 0x250dab70 */ /* not lifted */ 10137 RECOMP_FLAGS_IN(); 10138 eax = MEM32(edi + 0x1D4); /* 0x250ADCC0: mov eax, dword ptr [edi + 0x1d4] */ 10139 MEM32(esi + 0x1D4) = eax; /* 0x250ADCC6: mov dword ptr [esi + 0x1d4], eax */ 10140 ecx = MEM32(edi + 0x1D8); /* 0x250ADCCC: mov ecx, dword ptr [edi + 0x1d8] */ 10141 MEM32(esi + 0x1D8) = ecx; /* 0x250ADCD2: mov dword ptr [esi + 0x1d8], ecx */ 10142 edx = MEM32(edi + 0x1DC); /* 0x250ADCD8: mov edx, dword ptr [edi + 0x1dc] */ 10143 MEM32(esi + 0x1DC) = edx; /* 0x250ADCDE: mov dword ptr [esi + 0x1dc], edx */ 10144 eax = MEM32(edi + 0x1E0); /* 0x250ADCE4: mov eax, dword ptr [edi + 0x1e0] */ 10145 MEM32(esi + 0x1E0) = eax; /* 0x250ADCEA: mov dword ptr [esi + 0x1e0], eax */ 10146 ecx = MEM32(edi + 0x1E4); /* 0x250ADCF0: mov ecx, dword ptr [edi + 0x1e4] */ 10147 MEM32(esi + 0x1E4) = ecx; /* 0x250ADCF6: mov dword ptr [esi + 0x1e4], ecx */ 10148 edx = MEM32(edi + 0x1E8); /* 0x250ADCFC: mov edx, dword ptr [edi + 0x1e8] */ 10149 MEM32(esi + 0x1E8) = edx; /* 0x250ADD02: mov dword ptr [esi + 0x1e8], edx */ 10150 SET_LO8(eax, MEM8(edi + 0x1EC)); /* 0x250ADD08: mov al, byte ptr [edi + 0x1ec] */ 10151 MEM8(esi + 0x1EC) = (uint8_t)(LO8(eax)); /* 0x250ADD0E: mov byte ptr [esi + 0x1ec], al */ 10152 ecx = MEM32(edi + 0x1F0); /* 0x250ADD14: mov ecx, dword ptr [edi + 0x1f0] */ 10153 MEM32(esi + 0x1F0) = ecx; /* 0x250ADD1A: mov dword ptr [esi + 0x1f0], ecx */ 10154 edx = MEM32(edi + 0x1F4); /* 0x250ADD20: mov edx, dword ptr [edi + 0x1f4] */ 10155 MEM32(esi + 0x1F4) = edx; /* 0x250ADD26: mov dword ptr [esi + 0x1f4], edx */ 10156 eax = MEM32(edi + 0x1F8); /* 0x250ADD2C: mov eax, dword ptr [edi + 0x1f8] */ 10157 MEM32(esi + 0x1F8) = eax; /* 0x250ADD32: mov dword ptr [esi + 0x1f8], eax */ 10158 ecx = MEM32(edi + 0x1FC); /* 0x250ADD38: mov ecx, dword ptr [edi + 0x1fc] */ 10159 edi = POP32_VAL(esp); /* 0x250ADD3E: pop edi */ 10160 MEM32(esi + 0x1FC) = ecx; /* 0x250ADD3F: mov dword ptr [esi + 0x1fc], ecx */ 10161 MEM32(esi) = 0x25156164u; /* 0x250ADD45: mov dword ptr [esi], 0x25156164 */ 10162 MEM32(esi + 0x8) = 0x25156154u; /* 0x250ADD4B: mov dword ptr [esi + 8], 0x25156154 */ 10163 MEM32(esi + 0x20) = 0x25156144u; /* 0x250ADD52: mov dword ptr [esi + 0x20], 0x25156144 */ 10164 MEM32(esi + 0x38) = 0x25156134u; /* 0x250ADD59: mov dword ptr [esi + 0x38], 0x25156134 */ 10165 MEM32(esi + 0x50) = 0x25156124u; /* 0x250ADD60: mov dword ptr [esi + 0x50], 0x25156124 */ 10166 MEM32(esi + 0x138) = 0x25156114u; /* 0x250ADD67: mov dword ptr [esi + 0x138], 0x25156114 */ 10167 MEM32(esi + 0x150) = 0x25156104u; /* 0x250ADD71: mov dword ptr [esi + 0x150], 0x25156104 */ 10168 eax = esi; /* 0x250ADD7B: mov eax, esi */ 10169 esi = POP32_VAL(esp); /* 0x250ADD7D: pop esi */ 10170 ebp = POP32_VAL(esp); /* 0x250ADD7E: pop ebp */ 10171 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250ADD7F: ret 4 */ 10172 RECOMP_REGS_OUT(); 10173 } 10174 10175 void sub_250ADD90(void) { 10176 int _fpu_cmp = 0; 10177 uint32_t _cf = 0; 10178 int _df = 1; 10179 uint32_t _flag_k = FK_NONE; 10180 uint32_t _flag_a = 0, _flag_b = 0; 10181 uint32_t _itail_tgt = 0; 10182 RECOMP_REGS_LOCALS 10183 RECOMP_ENTER(0x250ADD90u); 10184 10185 L_250ADD90: 10186 PUSH32(esp, ebp); /* 0x250ADD90: push ebp */ 10187 ebp = esp; /* 0x250ADD91: mov ebp, esp */ 10188 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10190 esp = esp - 8; /* 0x250ADD93: sub esp, 8 */ 10191 _flag_k = FK_CMP; 10192 PUSH32(esp, ebx); /* 0x250ADD96: push ebx */ 10193 ebx = MEM32(ebp + 0x8); /* 0x250ADD97: mov ebx, dword ptr [ebp + 8] */ 10194 /* test ebx, ebx */ /* 0x250ADD9A: test ebx, ebx */ 10195 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10196 _cf = 0; 10197 _flag_k = FK_TEST; 10198 eax = MEM32(ebx + 0x4); /* 0x250ADD9C: mov eax, dword ptr [ebx + 4] */ 10199 PUSH32(esp, esi); /* 0x250ADD9F: push esi */ 10200 PUSH32(esp, edi); /* 0x250ADDA0: push edi */ 10201 edi = ecx; /* 0x250ADDA1: mov edi, ecx */ 10202 MEM32(ebp + (-0x4)) = edi; /* 0x250ADDA3: mov dword ptr [ebp - 4], edi */ 10203 MEM32(edi + 0x4) = eax; /* 0x250ADDA6: mov dword ptr [edi + 4], eax */ 10204 if (TEST_Z(_flag_a, _flag_b)) goto L_250ADDB0; /* 0x250ADDA9: je 0x250addb0 */ 10205 L_250ADDAB: 10206 eax = ebx + 0x8; /* 0x250ADDAB: lea eax, [ebx + 8] */ 10207 goto L_250ADDB2; /* 0x250ADDAE: jmp 0x250addb2 */ 10208 L_250ADDB0: 10209 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10210 eax = 0; /* 0x250ADDB0: xor eax, eax */ 10211 _cf = 0; 10212 _flag_k = FK_TEST; 10213 L_250ADDB2: 10214 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10216 eax = eax + 4; /* 0x250ADDB2: add eax, 4 */ 10217 _flag_k = FK_ADD; 10218 PUSH32(esp, eax); /* 0x250ADDB5: push eax */ 10219 ecx = edi + 0xC; /* 0x250ADDB6: lea ecx, [edi + 0xc] */ 10220 RECOMP_ICALL(0x2500B8C0u); /* 0x250ADDB9: call 0x2500b8c0 */ /* not lifted */ 10221 RECOMP_FLAGS_IN(); 10222 /* test ebx, ebx */ /* 0x250ADDBE: test ebx, ebx */ 10223 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10224 _cf = 0; 10225 _flag_k = FK_TEST; 10226 if (TEST_Z(_flag_a, _flag_b)) goto L_250ADDC7; /* 0x250ADDC0: je 0x250addc7 */ 10227 L_250ADDC2: 10228 eax = ebx + 0x20; /* 0x250ADDC2: lea eax, [ebx + 0x20] */ 10229 goto L_250ADDC9; /* 0x250ADDC5: jmp 0x250addc9 */ 10230 L_250ADDC7: 10231 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10232 eax = 0; /* 0x250ADDC7: xor eax, eax */ 10233 _cf = 0; 10234 _flag_k = FK_TEST; 10235 L_250ADDC9: 10236 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10237 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10238 eax = eax + 4; /* 0x250ADDC9: add eax, 4 */ 10239 _flag_k = FK_ADD; 10240 PUSH32(esp, eax); /* 0x250ADDCC: push eax */ 10241 ecx = edi + 0x24; /* 0x250ADDCD: lea ecx, [edi + 0x24] */ 10242 RECOMP_ICALL(0x2500BA40u); /* 0x250ADDD0: call 0x2500ba40 */ /* not lifted */ 10243 RECOMP_FLAGS_IN(); 10244 /* test ebx, ebx */ /* 0x250ADDD5: test ebx, ebx */ 10245 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10246 _cf = 0; 10247 _flag_k = FK_TEST; 10248 if (TEST_Z(_flag_a, _flag_b)) goto L_250ADDDE; /* 0x250ADDD7: je 0x250addde */ 10249 L_250ADDD9: 10250 eax = ebx + 0x38; /* 0x250ADDD9: lea eax, [ebx + 0x38] */ 10251 goto L_250ADDE0; /* 0x250ADDDC: jmp 0x250adde0 */ 10252 L_250ADDDE: 10253 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10254 eax = 0; /* 0x250ADDDE: xor eax, eax */ 10255 _cf = 0; 10256 _flag_k = FK_TEST; 10257 L_250ADDE0: 10258 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10260 eax = eax + 4; /* 0x250ADDE0: add eax, 4 */ 10261 _flag_k = FK_ADD; 10262 PUSH32(esp, eax); /* 0x250ADDE3: push eax */ 10263 ecx = edi + 0x3C; /* 0x250ADDE4: lea ecx, [edi + 0x3c] */ 10264 RECOMP_ICALL(0x2500BBC0u); /* 0x250ADDE7: call 0x2500bbc0 */ /* not lifted */ 10265 RECOMP_FLAGS_IN(); 10266 /* test ebx, ebx */ /* 0x250ADDEC: test ebx, ebx */ 10267 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10268 _cf = 0; 10269 _flag_k = FK_TEST; 10270 if (TEST_Z(_flag_a, _flag_b)) goto L_250ADDF5; /* 0x250ADDEE: je 0x250addf5 */ 10271 L_250ADDF0: 10272 eax = ebx + 0x50; /* 0x250ADDF0: lea eax, [ebx + 0x50] */ 10273 goto L_250ADDF7; /* 0x250ADDF3: jmp 0x250addf7 */ 10274 L_250ADDF5: 10275 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10276 eax = 0; /* 0x250ADDF5: xor eax, eax */ 10277 _cf = 0; 10278 _flag_k = FK_TEST; 10279 L_250ADDF7: 10280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10282 eax = eax + 4; /* 0x250ADDF7: add eax, 4 */ 10283 _flag_k = FK_ADD; 10284 PUSH32(esp, eax); /* 0x250ADDFA: push eax */ 10285 ecx = edi + 0x54; /* 0x250ADDFB: lea ecx, [edi + 0x54] */ 10286 RECOMP_ICALL(0x2500BD40u); /* 0x250ADDFE: call 0x2500bd40 */ /* not lifted */ 10287 RECOMP_FLAGS_IN(); 10288 SET_LO8(ecx, MEM8(ebx + 0x68)); /* 0x250ADE03: mov cl, byte ptr [ebx + 0x68] */ 10289 MEM8(edi + 0x68) = (uint8_t)(LO8(ecx)); /* 0x250ADE06: mov byte ptr [edi + 0x68], cl */ 10290 SET_LO8(edx, MEM8(ebx + 0x69)); /* 0x250ADE09: mov dl, byte ptr [ebx + 0x69] */ 10291 MEM8(edi + 0x69) = (uint8_t)(LO8(edx)); /* 0x250ADE0C: mov byte ptr [edi + 0x69], dl */ 10292 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250ADE0F: mov al, byte ptr [ebx + 0x6a] */ 10293 MEM8(edi + 0x6A) = (uint8_t)(LO8(eax)); /* 0x250ADE12: mov byte ptr [edi + 0x6a], al */ 10294 SET_LO8(ecx, MEM8(ebx + 0x6B)); /* 0x250ADE15: mov cl, byte ptr [ebx + 0x6b] */ 10295 MEM8(edi + 0x6B) = (uint8_t)(LO8(ecx)); /* 0x250ADE18: mov byte ptr [edi + 0x6b], cl */ 10296 edx = MEM32(ebx + 0x6C); /* 0x250ADE1B: mov edx, dword ptr [ebx + 0x6c] */ 10297 MEM32(edi + 0x6C) = edx; /* 0x250ADE1E: mov dword ptr [edi + 0x6c], edx */ 10298 eax = MEM32(ebx + 0x70); /* 0x250ADE21: mov eax, dword ptr [ebx + 0x70] */ 10299 MEM32(edi + 0x70) = eax; /* 0x250ADE24: mov dword ptr [edi + 0x70], eax */ 10300 ecx = MEM32(ebx + 0x74); /* 0x250ADE27: mov ecx, dword ptr [ebx + 0x74] */ 10301 MEM32(edi + 0x74) = ecx; /* 0x250ADE2A: mov dword ptr [edi + 0x74], ecx */ 10302 eax = edi + 0x78; /* 0x250ADE2D: lea eax, [edi + 0x78] */ 10303 edx = ebx + 0x78; /* 0x250ADE30: lea edx, [ebx + 0x78] */ 10304 ecx = MEM32(edx); /* 0x250ADE33: mov ecx, dword ptr [edx] */ 10305 MEM32(eax) = ecx; /* 0x250ADE35: mov dword ptr [eax], ecx */ 10306 ecx = MEM32(edx + 0x4); /* 0x250ADE37: mov ecx, dword ptr [edx + 4] */ 10307 MEM32(eax + 0x4) = ecx; /* 0x250ADE3A: mov dword ptr [eax + 4], ecx */ 10308 edx = MEM32(edx + 0x8); /* 0x250ADE3D: mov edx, dword ptr [edx + 8] */ 10309 MEM32(eax + 0x8) = edx; /* 0x250ADE40: mov dword ptr [eax + 8], edx */ 10310 ecx = edi + 0x84; /* 0x250ADE43: lea ecx, [edi + 0x84] */ 10311 eax = ebx + 0x84; /* 0x250ADE49: lea eax, [ebx + 0x84] */ 10312 edx = MEM32(eax); /* 0x250ADE4F: mov edx, dword ptr [eax] */ 10313 MEM32(ecx) = edx; /* 0x250ADE51: mov dword ptr [ecx], edx */ 10314 edx = MEM32(eax + 0x4); /* 0x250ADE53: mov edx, dword ptr [eax + 4] */ 10315 MEM32(ecx + 0x4) = edx; /* 0x250ADE56: mov dword ptr [ecx + 4], edx */ 10316 edx = MEM32(eax + 0x8); /* 0x250ADE59: mov edx, dword ptr [eax + 8] */ 10317 MEM32(ecx + 0x8) = edx; /* 0x250ADE5C: mov dword ptr [ecx + 8], edx */ 10318 eax = MEM32(eax + 0xC); /* 0x250ADE5F: mov eax, dword ptr [eax + 0xc] */ 10319 MEM32(ecx + 0xC) = eax; /* 0x250ADE62: mov dword ptr [ecx + 0xc], eax */ 10320 ecx = MEM32(ebx + 0x94); /* 0x250ADE65: mov ecx, dword ptr [ebx + 0x94] */ 10321 eax = MEM32(ebp + (-0x4)); /* 0x250ADE6B: mov eax, dword ptr [ebp - 4] */ 10322 MEM32(edi + 0x94) = ecx; /* 0x250ADE6E: mov dword ptr [edi + 0x94], ecx */ 10323 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x98u); 10324 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10325 edi = edi + 0x98u; /* 0x250ADE74: add edi, 0x98 */ 10326 _flag_k = FK_ADD; 10327 /* test ebx, ebx */ /* 0x250ADE7A: test ebx, ebx */ 10328 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10329 _cf = 0; 10330 _flag_k = FK_TEST; 10331 esi = ebx + 0x98; /* 0x250ADE7C: lea esi, [ebx + 0x98] */ 10332 ecx = 0x10u; /* 0x250ADE82: mov ecx, 0x10 */ 10333 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ADE87: 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; } 10334 esi = ebx + 0xD8; /* 0x250ADE89: lea esi, [ebx + 0xd8] */ 10335 edi = eax + 0xD8; /* 0x250ADE8F: lea edi, [eax + 0xd8] */ 10336 ecx = 0x10u; /* 0x250ADE95: mov ecx, 0x10 */ 10337 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250ADE9A: 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; } 10338 edx = MEM32(ebx + 0x118); /* 0x250ADE9C: mov edx, dword ptr [ebx + 0x118] */ 10339 MEM32(eax + 0x118) = edx; /* 0x250ADEA2: mov dword ptr [eax + 0x118], edx */ 10340 ecx = MEM32(ebx + 0x11C); /* 0x250ADEA8: mov ecx, dword ptr [ebx + 0x11c] */ 10341 MEM32(eax + 0x11C) = ecx; /* 0x250ADEAE: mov dword ptr [eax + 0x11c], ecx */ 10342 SET_LO8(edx, MEM8(ebx + 0x120)); /* 0x250ADEB4: mov dl, byte ptr [ebx + 0x120] */ 10343 MEM8(eax + 0x120) = (uint8_t)(LO8(edx)); /* 0x250ADEBA: mov byte ptr [eax + 0x120], dl */ 10344 ecx = MEM32(ebx + 0x124); /* 0x250ADEC0: mov ecx, dword ptr [ebx + 0x124] */ 10345 MEM32(eax + 0x124) = ecx; /* 0x250ADEC6: mov dword ptr [eax + 0x124], ecx */ 10346 edx = MEM32(ebx + 0x128); /* 0x250ADECC: mov edx, dword ptr [ebx + 0x128] */ 10347 MEM32(eax + 0x128) = edx; /* 0x250ADED2: mov dword ptr [eax + 0x128], edx */ 10348 ecx = MEM32(ebx + 0x12C); /* 0x250ADED8: mov ecx, dword ptr [ebx + 0x12c] */ 10349 MEM32(eax + 0x12C) = ecx; /* 0x250ADEDE: mov dword ptr [eax + 0x12c], ecx */ 10350 SET_LO8(edx, MEM8(ebx + 0x130)); /* 0x250ADEE4: mov dl, byte ptr [ebx + 0x130] */ 10351 MEM8(eax + 0x130) = (uint8_t)(LO8(edx)); /* 0x250ADEEA: mov byte ptr [eax + 0x130], dl */ 10352 SET_LO8(ecx, MEM8(ebx + 0x131)); /* 0x250ADEF0: mov cl, byte ptr [ebx + 0x131] */ 10353 MEM8(eax + 0x131) = (uint8_t)(LO8(ecx)); /* 0x250ADEF6: mov byte ptr [eax + 0x131], cl */ 10354 SET_LO8(edx, MEM8(ebx + 0x132)); /* 0x250ADEFC: mov dl, byte ptr [ebx + 0x132] */ 10355 MEM8(eax + 0x132) = (uint8_t)(LO8(edx)); /* 0x250ADF02: mov byte ptr [eax + 0x132], dl */ 10356 ecx = MEM32(ebx + 0x134); /* 0x250ADF08: mov ecx, dword ptr [ebx + 0x134] */ 10357 MEM32(eax + 0x134) = ecx; /* 0x250ADF0E: mov dword ptr [eax + 0x134], ecx */ 10358 if (TEST_Z(_flag_a, _flag_b)) goto L_250ADF1E; /* 0x250ADF14: je 0x250adf1e */ 10359 L_250ADF16: 10360 edi = ebx + 0x138; /* 0x250ADF16: lea edi, [ebx + 0x138] */ 10361 goto L_250ADF20; /* 0x250ADF1C: jmp 0x250adf20 */ 10362 L_250ADF1E: 10363 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10364 edi = 0; /* 0x250ADF1E: xor edi, edi */ 10365 _cf = 0; 10366 _flag_k = FK_TEST; 10367 L_250ADF20: 10368 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 10369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10370 edi = edi + 4; /* 0x250ADF20: add edi, 4 */ 10371 _flag_k = FK_ADD; 10372 esi = eax + 0x13C; /* 0x250ADF23: lea esi, [eax + 0x13c] */ 10373 /* cmp esi, edi */ /* 0x250ADF29: cmp esi, edi */ 10374 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 10375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10376 _flag_k = FK_CMP; 10377 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ADF5B; /* 0x250ADF2B: je 0x250adf5b */ 10378 L_250ADF2D: 10379 eax = MEM32(esi + 0x4); /* 0x250ADF2D: mov eax, dword ptr [esi + 4] */ 10380 PUSH32(esp, eax); /* 0x250ADF30: push eax */ 10381 edx = ebp + 0x8; /* 0x250ADF31: lea edx, [ebp + 8] */ 10382 PUSH32(esp, edx); /* 0x250ADF34: push edx */ 10383 ecx = esi; /* 0x250ADF35: mov ecx, esi */ 10384 RECOMP_ICALL(0x25085270u); /* 0x250ADF37: call 0x25085270 */ /* not lifted */ 10385 RECOMP_FLAGS_IN(); 10386 eax = MEM32(eax); /* 0x250ADF3C: mov eax, dword ptr [eax] */ 10387 PUSH32(esp, eax); /* 0x250ADF3E: push eax */ 10388 ecx = ebp + (-0x8); /* 0x250ADF3F: lea ecx, [ebp - 8] */ 10389 PUSH32(esp, ecx); /* 0x250ADF42: push ecx */ 10390 ecx = esi; /* 0x250ADF43: mov ecx, esi */ 10391 RECOMP_ICALL(0x25006020u); /* 0x250ADF45: call 0x25006020 */ /* not lifted */ 10392 RECOMP_FLAGS_IN(); 10393 SET_LO8(edx, MEM8(edi + 0x1)); /* 0x250ADF4A: mov dl, byte ptr [edi + 1] */ 10394 PUSH32(esp, edi); /* 0x250ADF4D: push edi */ 10395 ecx = esi; /* 0x250ADF4E: mov ecx, esi */ 10396 MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x250ADF50: mov byte ptr [esi + 1], dl */ 10397 RECOMP_ICALL(0x250060D0u); /* 0x250ADF53: call 0x250060d0 */ /* not lifted */ 10398 RECOMP_FLAGS_IN(); 10399 eax = MEM32(ebp + (-0x4)); /* 0x250ADF58: mov eax, dword ptr [ebp - 4] */ 10400 L_250ADF5B: 10401 /* test ebx, ebx */ /* 0x250ADF5B: test ebx, ebx */ 10402 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 10403 _cf = 0; 10404 _flag_k = FK_TEST; 10405 if (TEST_Z(_flag_a, _flag_b)) goto L_250ADF67; /* 0x250ADF5D: je 0x250adf67 */ 10406 L_250ADF5F: 10407 ecx = ebx + 0x150; /* 0x250ADF5F: lea ecx, [ebx + 0x150] */ 10408 goto L_250ADF69; /* 0x250ADF65: jmp 0x250adf69 */ 10409 L_250ADF67: 10410 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10411 ecx = 0; /* 0x250ADF67: xor ecx, ecx */ 10412 _cf = 0; 10413 _flag_k = FK_TEST; 10414 L_250ADF69: 10415 edi = ecx + 0x4; /* 0x250ADF69: lea edi, [ecx + 4] */ 10416 esi = eax + 0x154; /* 0x250ADF6C: lea esi, [eax + 0x154] */ 10417 /* cmp esi, edi */ /* 0x250ADF72: cmp esi, edi */ 10418 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 10419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10420 _flag_k = FK_CMP; 10421 if (CMP_EQ(_flag_a, _flag_b)) goto L_250ADFA4; /* 0x250ADF74: je 0x250adfa4 */ 10422 L_250ADF76: 10423 eax = MEM32(esi + 0x4); /* 0x250ADF76: mov eax, dword ptr [esi + 4] */ 10424 PUSH32(esp, eax); /* 0x250ADF79: push eax */ 10425 eax = ebp + 0x8; /* 0x250ADF7A: lea eax, [ebp + 8] */ 10426 PUSH32(esp, eax); /* 0x250ADF7D: push eax */ 10427 ecx = esi; /* 0x250ADF7E: mov ecx, esi */ 10428 RECOMP_ICALL(0x25085270u); /* 0x250ADF80: call 0x25085270 */ /* not lifted */ 10429 RECOMP_FLAGS_IN(); 10430 ecx = MEM32(eax); /* 0x250ADF85: mov ecx, dword ptr [eax] */ 10431 PUSH32(esp, ecx); /* 0x250ADF87: push ecx */ 10432 edx = ebp + (-0x8); /* 0x250ADF88: lea edx, [ebp - 8] */ 10433 PUSH32(esp, edx); /* 0x250ADF8B: push edx */ 10434 ecx = esi; /* 0x250ADF8C: mov ecx, esi */ 10435 RECOMP_ICALL(0x250061D0u); /* 0x250ADF8E: call 0x250061d0 */ /* not lifted */ 10436 RECOMP_FLAGS_IN(); 10437 SET_LO8(eax, MEM8(edi + 0x1)); /* 0x250ADF93: mov al, byte ptr [edi + 1] */ 10438 PUSH32(esp, edi); /* 0x250ADF96: push edi */ 10439 ecx = esi; /* 0x250ADF97: mov ecx, esi */ 10440 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x250ADF99: mov byte ptr [esi + 1], al */ 10441 RECOMP_ICALL(0x25006280u); /* 0x250ADF9C: call 0x25006280 */ /* not lifted */ 10442 RECOMP_FLAGS_IN(); 10443 eax = MEM32(ebp + (-0x4)); /* 0x250ADFA1: mov eax, dword ptr [ebp - 4] */ 10444 L_250ADFA4: 10445 ecx = MEM32(ebx + 0x168); /* 0x250ADFA4: mov ecx, dword ptr [ebx + 0x168] */ 10446 esi = ebx; /* 0x250ADFAA: mov esi, ebx */ 10447 MEM32(eax + 0x168) = ecx; /* 0x250ADFAC: mov dword ptr [eax + 0x168], ecx */ 10448 edx = ebx + 0x16C; /* 0x250ADFB2: lea edx, [ebx + 0x16c] */ 10449 ecx = eax + 0x170; /* 0x250ADFB8: lea ecx, [eax + 0x170] */ 10450 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10452 esi = esi - eax; /* 0x250ADFBE: sub esi, eax */ 10453 _flag_k = FK_CMP; 10454 MEM32(ebp + 0x8) = 8; /* 0x250ADFC0: mov dword ptr [ebp + 8], 8 */ 10455 L_250ADFC7: 10456 edi = MEM32(edx); /* 0x250ADFC7: mov edi, dword ptr [edx] */ 10457 MEM32(ecx + (-0x4)) = edi; /* 0x250ADFC9: mov dword ptr [ecx - 4], edi */ 10458 edi = MEM32(esi + ecx); /* 0x250ADFCC: mov edi, dword ptr [esi + ecx] */ 10459 MEM32(ecx) = edi; /* 0x250ADFCF: mov dword ptr [ecx], edi */ 10460 edi = MEM32(ebp + 0x8); /* 0x250ADFD1: mov edi, dword ptr [ebp + 8] */ 10461 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 10462 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10463 edx = edx + 8; /* 0x250ADFD4: add edx, 8 */ 10464 _flag_k = FK_ADD; 10465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 10466 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10467 ecx = ecx + 8; /* 0x250ADFD7: add ecx, 8 */ 10468 _flag_k = FK_ADD; 10469 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 10470 edi = edi - 1; /* 0x250ADFDA: dec edi */ 10471 _flag_k = FK_DEC; 10472 MEM32(ebp + 0x8) = edi; /* 0x250ADFDB: mov dword ptr [ebp + 8], edi */ 10473 RECOMP_BACKEDGE(); 10474 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250ADFC7; /* 0x250ADFDE: jne 0x250adfc7 */ 10475 L_250ADFE0: 10476 SET_LO8(edx, MEM8(ebx + 0x1AC)); /* 0x250ADFE0: mov dl, byte ptr [ebx + 0x1ac] */ 10477 MEM8(eax + 0x1AC) = (uint8_t)(LO8(edx)); /* 0x250ADFE6: mov byte ptr [eax + 0x1ac], dl */ 10478 SET_LO8(ecx, MEM8(ebx + 0x1AD)); /* 0x250ADFEC: mov cl, byte ptr [ebx + 0x1ad] */ 10479 MEM8(eax + 0x1AD) = (uint8_t)(LO8(ecx)); /* 0x250ADFF2: mov byte ptr [eax + 0x1ad], cl */ 10480 SET_LO8(edx, MEM8(ebx + 0x1AE)); /* 0x250ADFF8: mov dl, byte ptr [ebx + 0x1ae] */ 10481 MEM8(eax + 0x1AE) = (uint8_t)(LO8(edx)); /* 0x250ADFFE: mov byte ptr [eax + 0x1ae], dl */ 10482 ecx = MEM32(ebx + 0x1B0); /* 0x250AE004: mov ecx, dword ptr [ebx + 0x1b0] */ 10483 MEM32(eax + 0x1B0) = ecx; /* 0x250AE00A: mov dword ptr [eax + 0x1b0], ecx */ 10484 edx = MEM32(ebx + 0x1B4); /* 0x250AE010: mov edx, dword ptr [ebx + 0x1b4] */ 10485 ecx = ebx + 0x1B8; /* 0x250AE016: lea ecx, [ebx + 0x1b8] */ 10486 PUSH32(esp, ecx); /* 0x250AE01C: push ecx */ 10487 ecx = eax + 0x1B8; /* 0x250AE01D: lea ecx, [eax + 0x1b8] */ 10488 MEM32(eax + 0x1B4) = edx; /* 0x250AE023: mov dword ptr [eax + 0x1b4], edx */ 10489 RECOMP_ICALL(0x25005990u); /* 0x250AE029: call 0x25005990 */ /* not lifted */ 10490 RECOMP_FLAGS_IN(); 10491 edx = MEM32(ebx + 0x1C8); /* 0x250AE02E: mov edx, dword ptr [ebx + 0x1c8] */ 10492 eax = MEM32(ebp + (-0x4)); /* 0x250AE034: mov eax, dword ptr [ebp - 4] */ 10493 MEM32(eax + 0x1C8) = edx; /* 0x250AE037: mov dword ptr [eax + 0x1c8], edx */ 10494 SET_LO8(ecx, MEM8(ebx + 0x1CC)); /* 0x250AE03D: mov cl, byte ptr [ebx + 0x1cc] */ 10495 MEM8(eax + 0x1CC) = (uint8_t)(LO8(ecx)); /* 0x250AE043: mov byte ptr [eax + 0x1cc], cl */ 10496 edx = MEM32(ebx + 0x1D0); /* 0x250AE049: mov edx, dword ptr [ebx + 0x1d0] */ 10497 MEM32(eax + 0x1D0) = edx; /* 0x250AE04F: mov dword ptr [eax + 0x1d0], edx */ 10498 ecx = MEM32(ebx + 0x1D4); /* 0x250AE055: mov ecx, dword ptr [ebx + 0x1d4] */ 10499 MEM32(eax + 0x1D4) = ecx; /* 0x250AE05B: mov dword ptr [eax + 0x1d4], ecx */ 10500 edx = MEM32(ebx + 0x1D8); /* 0x250AE061: mov edx, dword ptr [ebx + 0x1d8] */ 10501 MEM32(eax + 0x1D8) = edx; /* 0x250AE067: mov dword ptr [eax + 0x1d8], edx */ 10502 ecx = MEM32(ebx + 0x1DC); /* 0x250AE06D: mov ecx, dword ptr [ebx + 0x1dc] */ 10503 MEM32(eax + 0x1DC) = ecx; /* 0x250AE073: mov dword ptr [eax + 0x1dc], ecx */ 10504 edx = MEM32(ebx + 0x1E0); /* 0x250AE079: mov edx, dword ptr [ebx + 0x1e0] */ 10505 MEM32(eax + 0x1E0) = edx; /* 0x250AE07F: mov dword ptr [eax + 0x1e0], edx */ 10506 ecx = MEM32(ebx + 0x1E4); /* 0x250AE085: mov ecx, dword ptr [ebx + 0x1e4] */ 10507 MEM32(eax + 0x1E4) = ecx; /* 0x250AE08B: mov dword ptr [eax + 0x1e4], ecx */ 10508 edx = MEM32(ebx + 0x1E8); /* 0x250AE091: mov edx, dword ptr [ebx + 0x1e8] */ 10509 MEM32(eax + 0x1E8) = edx; /* 0x250AE097: mov dword ptr [eax + 0x1e8], edx */ 10510 SET_LO8(ecx, MEM8(ebx + 0x1EC)); /* 0x250AE09D: mov cl, byte ptr [ebx + 0x1ec] */ 10511 MEM8(eax + 0x1EC) = (uint8_t)(LO8(ecx)); /* 0x250AE0A3: mov byte ptr [eax + 0x1ec], cl */ 10512 edx = MEM32(ebx + 0x1F0); /* 0x250AE0A9: mov edx, dword ptr [ebx + 0x1f0] */ 10513 MEM32(eax + 0x1F0) = edx; /* 0x250AE0AF: mov dword ptr [eax + 0x1f0], edx */ 10514 ecx = MEM32(ebx + 0x1F4); /* 0x250AE0B5: mov ecx, dword ptr [ebx + 0x1f4] */ 10515 MEM32(eax + 0x1F4) = ecx; /* 0x250AE0BB: mov dword ptr [eax + 0x1f4], ecx */ 10516 edx = MEM32(ebx + 0x1F8); /* 0x250AE0C1: mov edx, dword ptr [ebx + 0x1f8] */ 10517 edi = POP32_VAL(esp); /* 0x250AE0C7: pop edi */ 10518 MEM32(eax + 0x1F8) = edx; /* 0x250AE0C8: mov dword ptr [eax + 0x1f8], edx */ 10519 ecx = MEM32(ebx + 0x1FC); /* 0x250AE0CE: mov ecx, dword ptr [ebx + 0x1fc] */ 10520 esi = POP32_VAL(esp); /* 0x250AE0D4: pop esi */ 10521 MEM32(eax + 0x1FC) = ecx; /* 0x250AE0D5: mov dword ptr [eax + 0x1fc], ecx */ 10522 ebx = POP32_VAL(esp); /* 0x250AE0DB: pop ebx */ 10523 esp = ebp; /* 0x250AE0DC: mov esp, ebp */ 10524 ebp = POP32_VAL(esp); /* 0x250AE0DE: pop ebp */ 10525 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AE0DF: ret 4 */ 10526 RECOMP_REGS_OUT(); 10527 } 10528 10529 void sub_250AE0F0(void) { 10530 int _fpu_cmp = 0; 10531 uint32_t _cf = 0; 10532 int _df = 1; 10533 uint32_t _flag_k = FK_NONE; 10534 uint32_t _flag_a = 0, _flag_b = 0; 10535 uint32_t _itail_tgt = 0; 10536 RECOMP_REGS_LOCALS 10537 RECOMP_ENTER(0x250AE0F0u); 10538 10539 L_250AE0F0: 10540 PUSH32(esp, 0); /* 0x250AE0F0: push 0 */ 10541 RECOMP_ICALL(0x2509E380u); /* 0x250AE0F2: call 0x2509e380 */ /* not lifted */ 10542 RECOMP_FLAGS_IN(); 10543 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AE0F7: ret */ 10544 RECOMP_REGS_OUT(); 10545 } 10546 10547 void sub_250AE100(void) { 10548 int _fpu_cmp = 0; 10549 uint32_t _cf = 0; 10550 int _df = 1; 10551 uint32_t _flag_k = FK_NONE; 10552 uint32_t _flag_a = 0, _flag_b = 0; 10553 uint32_t _itail_tgt = 0; 10554 RECOMP_REGS_LOCALS 10555 RECOMP_ENTER(0x250AE100u); 10556 10557 L_250AE100: 10558 PUSH32(esp, ebp); /* 0x250AE100: push ebp */ 10559 ebp = esp; /* 0x250AE101: mov ebp, esp */ 10560 eax = MEM32(ebp + 0x8); /* 0x250AE103: mov eax, dword ptr [ebp + 8] */ 10561 edx = MEM32(ecx + 0x1D8); /* 0x250AE106: mov edx, dword ptr [ecx + 0x1d8] */ 10562 PUSH32(esp, esi); /* 0x250AE10C: push esi */ 10563 SET_LO16(esi, MEM16(ebp + 0xC)); /* 0x250AE10D: mov si, word ptr [ebp + 0xc] */ 10564 eax = eax + eax * 2; /* 0x250AE111: lea eax, [eax + eax*2] */ 10565 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x250AE114: shl eax, 1 */ 10566 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10567 eax = eax << 1u; /* 0x250AE114: shl eax, 1 */ 10568 MEM16(eax + edx) = (uint16_t)(LO16(esi)); /* 0x250AE116: mov word ptr [eax + edx], si */ 10569 edx = MEM32(ecx + 0x1D8); /* 0x250AE11A: mov edx, dword ptr [ecx + 0x1d8] */ 10570 SET_LO16(esi, MEM16(ebp + 0x10)); /* 0x250AE120: mov si, word ptr [ebp + 0x10] */ 10571 MEM16(eax + edx + 0x2) = (uint16_t)(LO16(esi)); /* 0x250AE124: mov word ptr [eax + edx + 2], si */ 10572 ecx = MEM32(ecx + 0x1D8); /* 0x250AE129: mov ecx, dword ptr [ecx + 0x1d8] */ 10573 SET_LO16(edx, MEM16(ebp + 0x14)); /* 0x250AE12F: mov dx, word ptr [ebp + 0x14] */ 10574 MEM16(eax + ecx + 0x4) = (uint16_t)(LO16(edx)); /* 0x250AE133: mov word ptr [eax + ecx + 4], dx */ 10575 esi = POP32_VAL(esp); /* 0x250AE138: pop esi */ 10576 ebp = POP32_VAL(esp); /* 0x250AE139: pop ebp */ 10577 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250AE13A: ret 0x10 */ 10578 RECOMP_REGS_OUT(); 10579 } 10580 10581 void sub_250AE140(void) { 10582 int _fpu_cmp = 0; 10583 uint32_t _cf = 0; 10584 int _df = 1; 10585 uint32_t _flag_k = FK_NONE; 10586 uint32_t _flag_a = 0, _flag_b = 0; 10587 uint32_t _itail_tgt = 0; 10588 RECOMP_REGS_LOCALS 10589 RECOMP_ENTER(0x250AE140u); 10590 10591 L_250AE140: 10592 PUSH32(esp, ebp); /* 0x250AE140: push ebp */ 10593 ebp = esp; /* 0x250AE141: mov ebp, esp */ 10594 eax = MEM32(ebp + 0x8); /* 0x250AE143: mov eax, dword ptr [ebp + 8] */ 10595 edx = eax + eax * 2; /* 0x250AE146: lea edx, [eax + eax*2] */ 10596 eax = MEM32(ebp + 0x10); /* 0x250AE149: mov eax, dword ptr [ebp + 0x10] */ 10597 PUSH32(esp, esi); /* 0x250AE14C: push esi */ 10598 esi = eax + eax * 2; /* 0x250AE14D: lea esi, [eax + eax*2] */ 10599 /* test esi, esi */ /* 0x250AE150: test esi, esi */ 10600 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10601 _cf = 0; 10602 _flag_k = FK_TEST; 10603 if (TEST_LE(_flag_a, _flag_b)) goto L_250AE177; /* 0x250AE152: jle 0x250ae177 */ 10604 L_250AE154: 10605 eax = MEM32(ebp + 0xC); /* 0x250AE154: mov eax, dword ptr [ebp + 0xc] */ 10606 PUSH32(esp, ebx); /* 0x250AE157: push ebx */ 10607 PUSH32(esp, edi); /* 0x250AE158: push edi */ 10608 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10609 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10610 edx = edx + edx; /* 0x250AE159: add edx, edx */ 10611 _flag_k = FK_ADD; 10612 L_250AE15B: 10613 SET_LO16(edi, MEM16(eax)); /* 0x250AE15B: mov di, word ptr [eax] */ 10614 _flag_a = (uint32_t)(LO16(edi)) << 16; _flag_b = (uint32_t)(MEM16(ebp + 0x14)) << 16; 10615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10616 SET_LO16(edi, LO16(edi) + MEM16(ebp + 0x14)); /* 0x250AE15E: add di, word ptr [ebp + 0x14] */ 10617 _flag_k = FK_NARROW(FK_ADD, 16); 10618 ebx = MEM32(ecx + 0x1D8); /* 0x250AE162: mov ebx, dword ptr [ecx + 0x1d8] */ 10619 MEM16(ebx + edx) = (uint16_t)(LO16(edi)); /* 0x250AE168: mov word ptr [ebx + edx], di */ 10620 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10621 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10622 eax = eax + 2; /* 0x250AE16C: add eax, 2 */ 10623 _flag_k = FK_ADD; 10624 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 10625 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10626 edx = edx + 2; /* 0x250AE16F: add edx, 2 */ 10627 _flag_k = FK_ADD; 10628 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 10629 esi = esi - 1; /* 0x250AE172: dec esi */ 10630 _flag_k = FK_DEC; 10631 RECOMP_BACKEDGE(); 10632 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250AE15B; /* 0x250AE173: jne 0x250ae15b */ 10633 L_250AE175: 10634 edi = POP32_VAL(esp); /* 0x250AE175: pop edi */ 10635 ebx = POP32_VAL(esp); /* 0x250AE176: pop ebx */ 10636 L_250AE177: 10637 esi = POP32_VAL(esp); /* 0x250AE177: pop esi */ 10638 ebp = POP32_VAL(esp); /* 0x250AE178: pop ebp */ 10639 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250AE179: ret 0x10 */ 10640 RECOMP_REGS_OUT(); 10641 } 10642 10643 void sub_250AE180(void) { 10644 int _fpu_cmp = 0; 10645 uint32_t _cf = 0; 10646 int _df = 1; 10647 uint32_t _flag_k = FK_NONE; 10648 uint32_t _flag_a = 0, _flag_b = 0; 10649 uint32_t _itail_tgt = 0; 10650 RECOMP_REGS_LOCALS 10651 RECOMP_ENTER(0x250AE180u); 10652 10653 L_250AE180: 10654 PUSH32(esp, ebp); /* 0x250AE180: push ebp */ 10655 ebp = esp; /* 0x250AE181: mov ebp, esp */ 10656 eax = MEM32(ebp + 0x8); /* 0x250AE183: mov eax, dword ptr [ebp + 8] */ 10657 MEM32(ecx + 0x1F0) = eax; /* 0x250AE186: mov dword ptr [ecx + 0x1f0], eax */ 10658 ebp = POP32_VAL(esp); /* 0x250AE18C: pop ebp */ 10659 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AE18D: ret 4 */ 10660 RECOMP_REGS_OUT(); 10661 } 10662 10663 void sub_250AE190(void) { 10664 int _fpu_cmp = 0; 10665 uint32_t _cf = 0; 10666 int _df = 1; 10667 uint32_t _flag_k = FK_NONE; 10668 uint32_t _flag_a = 0, _flag_b = 0; 10669 uint32_t _itail_tgt = 0; 10670 RECOMP_REGS_LOCALS 10671 RECOMP_ENTER(0x250AE190u); 10672 10673 L_250AE190: 10674 PUSH32(esp, ebp); /* 0x250AE190: push ebp */ 10675 ebp = esp; /* 0x250AE191: mov ebp, esp */ 10676 eax = MEM32(ebp + 0x8); /* 0x250AE193: mov eax, dword ptr [ebp + 8] */ 10677 PUSH32(esp, 0); /* 0x250AE196: push 0 */ 10678 PUSH32(esp, eax); /* 0x250AE198: push eax */ 10679 RECOMP_ICALL(0x250E37C0u); /* 0x250AE199: call 0x250e37c0 */ /* not lifted */ 10680 RECOMP_FLAGS_IN(); 10681 ebp = POP32_VAL(esp); /* 0x250AE19E: pop ebp */ 10682 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AE19F: ret 4 */ 10683 RECOMP_REGS_OUT(); 10684 } 10685 10686 void sub_250AE1B0(void) { 10687 int _fpu_cmp = 0; 10688 uint32_t _cf = 0; 10689 int _df = 1; 10690 uint32_t _flag_k = FK_NONE; 10691 uint32_t _flag_a = 0, _flag_b = 0; 10692 uint32_t _itail_tgt = 0; 10693 RECOMP_REGS_LOCALS 10694 RECOMP_ENTER(0x250AE1B0u); 10695 10696 L_250AE1B0: 10697 eax = MEM32(ecx + 0x54); /* 0x250AE1B0: mov eax, dword ptr [ecx + 0x54] */ 10698 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AE1B3: ret */ 10699 RECOMP_REGS_OUT(); 10700 } 10701 10702 void sub_250AE1C0(void) { 10703 int _fpu_cmp = 0; 10704 uint32_t _cf = 0; 10705 int _df = 1; 10706 uint32_t _flag_k = FK_NONE; 10707 uint32_t _flag_a = 0, _flag_b = 0; 10708 uint32_t _itail_tgt = 0; 10709 RECOMP_REGS_LOCALS 10710 RECOMP_ENTER(0x250AE1C0u); 10711 10712 L_250AE1C0: 10713 PUSH32(esp, ebp); /* 0x250AE1C0: push ebp */ 10714 ebp = esp; /* 0x250AE1C1: mov ebp, esp */ 10715 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AE1C3: push -1 */ 10716 PUSH32(esp, 0x2514A2C3u); /* 0x250AE1C5: push 0x2514a2c3 */ 10717 eax = MEM32(FS_BASE + (0)); /* 0x250AE1CA: mov eax, dword ptr fs:[0] */ 10718 PUSH32(esp, eax); /* 0x250AE1D0: push eax */ 10719 MEM32(FS_BASE + (0)) = esp; /* 0x250AE1D1: mov dword ptr fs:[0], esp */ 10720 PUSH32(esp, ecx); /* 0x250AE1D8: push ecx */ 10721 eax = MEM32(ebp + 0x14); /* 0x250AE1D9: mov eax, dword ptr [ebp + 0x14] */ 10722 PUSH32(esp, ebx); /* 0x250AE1DC: push ebx */ 10723 PUSH32(esp, esi); /* 0x250AE1DD: push esi */ 10724 PUSH32(esp, edi); /* 0x250AE1DE: push edi */ 10725 esi = ecx; /* 0x250AE1DF: mov esi, ecx */ 10726 ecx = MEM32(ebp + 0x10); /* 0x250AE1E1: mov ecx, dword ptr [ebp + 0x10] */ 10727 PUSH32(esp, eax); /* 0x250AE1E4: push eax */ 10728 PUSH32(esp, ecx); /* 0x250AE1E5: push ecx */ 10729 ecx = esi; /* 0x250AE1E6: mov ecx, esi */ 10730 MEM32(ebp + (-0x10)) = esi; /* 0x250AE1E8: mov dword ptr [ebp - 0x10], esi */ 10731 RECOMP_ICALL(0x250AF120u); /* 0x250AE1EB: call 0x250af120 */ /* not lifted */ 10732 RECOMP_FLAGS_IN(); 10733 edi = MEM32(ebp + 0xC); /* 0x250AE1F0: mov edi, dword ptr [ebp + 0xc] */ 10734 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10735 ebx = 0; /* 0x250AE1F3: xor ebx, ebx */ 10736 _cf = 0; 10737 _flag_k = FK_TEST; 10738 MEM32(esi + 0x28) = edi; /* 0x250AE1F5: mov dword ptr [esi + 0x28], edi */ 10739 MEM32(esi + 0x2C) = ebx; /* 0x250AE1F8: mov dword ptr [esi + 0x2c], ebx */ 10740 MEM32(esi + 0x30) = ebx; /* 0x250AE1FB: mov dword ptr [esi + 0x30], ebx */ 10741 MEM32(esi + 0x34) = ebx; /* 0x250AE1FE: mov dword ptr [esi + 0x34], ebx */ 10742 MEM32(esi + 0x38) = ebx; /* 0x250AE201: mov dword ptr [esi + 0x38], ebx */ 10743 MEM32(ebp + (-0x4)) = ebx; /* 0x250AE204: mov dword ptr [ebp - 4], ebx */ 10744 MEM32(esi + 0x4C) = 0xFFu; /* 0x250AE207: mov dword ptr [esi + 0x4c], 0xff */ 10745 eax = esi + 0x50; /* 0x250AE20E: lea eax, [esi + 0x50] */ 10746 ecx = 4; /* 0x250AE211: mov ecx, 4 */ 10747 L_250AE216: 10748 MEM32(eax) = ebx; /* 0x250AE216: mov dword ptr [eax], ebx */ 10749 MEM32(eax + 0x4) = ebx; /* 0x250AE218: mov dword ptr [eax + 4], ebx */ 10750 MEM32(eax + 0x8) = ebx; /* 0x250AE21B: mov dword ptr [eax + 8], ebx */ 10751 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x20u); 10752 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10753 eax = eax + 0x20u; /* 0x250AE21E: add eax, 0x20 */ 10754 _flag_k = FK_ADD; 10755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10756 ecx = ecx - 1; /* 0x250AE221: dec ecx */ 10757 _flag_k = FK_DEC; 10758 RECOMP_BACKEDGE(); 10759 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250AE216; /* 0x250AE222: jne 0x250ae216 */ 10760 L_250AE224: 10761 PUSH32(esp, 0x14u); /* 0x250AE224: push 0x14 */ 10762 MEM8(esi + 0xD4) = (uint8_t)(LO8(ebx)); /* 0x250AE226: mov byte ptr [esi + 0xd4], bl */ 10763 MEM32(esi) = 0x25156414u; /* 0x250AE22C: mov dword ptr [esi], 0x25156414 */ 10764 RECOMP_ICALL(0x251380D0u); /* 0x250AE232: call 0x251380d0 */ /* not lifted */ 10765 RECOMP_FLAGS_IN(); 10766 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10767 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10768 esp = esp + 4; /* 0x250AE237: add esp, 4 */ 10769 _flag_k = FK_ADD; 10770 MEM32(ebp + 0x14) = eax; /* 0x250AE23A: mov dword ptr [ebp + 0x14], eax */ 10771 /* cmp eax, ebx */ /* 0x250AE23D: cmp eax, ebx */ 10772 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10774 _flag_k = FK_CMP; 10775 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250AE23F: mov byte ptr [ebp - 4], 1 */ 10776 if (CMP_EQ(_flag_a, _flag_b)) goto L_250AE25D; /* 0x250AE243: je 0x250ae25d */ 10777 L_250AE245: 10778 edx = MEM32(edi + 0x28); /* 0x250AE245: mov edx, dword ptr [edi + 0x28] */ 10779 ecx = MEM32(edi); /* 0x250AE248: mov ecx, dword ptr [edi] */ 10780 PUSH32(esp, edx); /* 0x250AE24A: push edx */ 10781 edx = MEM32(edi + 0x8); /* 0x250AE24B: mov edx, dword ptr [edi + 8] */ 10782 PUSH32(esp, ecx); /* 0x250AE24E: push ecx */ 10783 ecx = MEM32(edi + 0xC); /* 0x250AE24F: mov ecx, dword ptr [edi + 0xc] */ 10784 PUSH32(esp, edx); /* 0x250AE252: push edx */ 10785 PUSH32(esp, ecx); /* 0x250AE253: push ecx */ 10786 ecx = eax; /* 0x250AE254: mov ecx, eax */ 10787 RECOMP_ICALL(0x250990B0u); /* 0x250AE256: call 0x250990b0 */ /* not lifted */ 10788 RECOMP_FLAGS_IN(); 10789 goto L_250AE25F; /* 0x250AE25B: jmp 0x250ae25f */ 10790 L_250AE25D: 10791 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10792 eax = 0; /* 0x250AE25D: xor eax, eax */ 10793 _cf = 0; 10794 _flag_k = FK_TEST; 10795 L_250AE25F: 10796 MEM32(esi + 0xD0) = eax; /* 0x250AE25F: mov dword ptr [esi + 0xd0], eax */ 10797 MEM32(esi + 0x18) = ebx; /* 0x250AE265: mov dword ptr [esi + 0x18], ebx */ 10798 MEM32(esi + 0x1C) = ebx; /* 0x250AE268: mov dword ptr [esi + 0x1c], ebx */ 10799 fp_push((double)(int32_t)MEM32(edi + 0xC)); /* 0x250AE26B: fild dword ptr [edi + 0xc] */ 10800 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250AE26E: mov byte ptr [ebp - 4], bl */ 10801 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x20) = _v; } /* 0x250AE271: fstp dword ptr [esi + 0x20] */ 10802 fp_push((double)(int32_t)MEM32(edi + 0x8)); /* 0x250AE274: fild dword ptr [edi + 8] */ 10803 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x24) = _v; } /* 0x250AE277: fstp dword ptr [esi + 0x24] */ 10804 edx = MEM32(edi + 0xC); /* 0x250AE27A: mov edx, dword ptr [edi + 0xc] */ 10805 MEM32(esi + 0x2C) = edx; /* 0x250AE27D: mov dword ptr [esi + 0x2c], edx */ 10806 eax = MEM32(edi + 0x8); /* 0x250AE280: mov eax, dword ptr [edi + 8] */ 10807 ecx = edx; /* 0x250AE283: mov ecx, edx */ 10808 edx = eax; /* 0x250AE285: mov edx, eax */ 10809 MEM32(esi + 0x30) = eax; /* 0x250AE287: mov dword ptr [esi + 0x30], eax */ 10810 eax = MEM32(ebp + 0x1C); /* 0x250AE28A: mov eax, dword ptr [ebp + 0x1c] */ 10811 MEM32(esi + 0x34) = ecx; /* 0x250AE28D: mov dword ptr [esi + 0x34], ecx */ 10812 ecx = MEM32(ebp + 0x18); /* 0x250AE290: mov ecx, dword ptr [ebp + 0x18] */ 10813 PUSH32(esp, eax); /* 0x250AE293: push eax */ 10814 PUSH32(esp, ecx); /* 0x250AE294: push ecx */ 10815 ecx = esi; /* 0x250AE295: mov ecx, esi */ 10816 MEM32(esi + 0x38) = edx; /* 0x250AE297: mov dword ptr [esi + 0x38], edx */ 10817 RECOMP_ICALL(0x250AEB90u); /* 0x250AE29A: call 0x250aeb90 */ /* not lifted */ 10818 RECOMP_FLAGS_IN(); 10819 edx = MEM32(ebp + 0x8); /* 0x250AE29F: mov edx, dword ptr [ebp + 8] */ 10820 PUSH32(esp, edx); /* 0x250AE2A2: push edx */ 10821 ecx = esi; /* 0x250AE2A3: mov ecx, esi */ 10822 RECOMP_ICALL(0x250AE720u); /* 0x250AE2A5: call 0x250ae720 */ /* not lifted */ 10823 RECOMP_FLAGS_IN(); 10824 ecx = MEM32(ebp + (-0xC)); /* 0x250AE2AA: mov ecx, dword ptr [ebp - 0xc] */ 10825 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 10826 eax = eax | 0xFFFFFFFFu; /* 0x250AE2AD: or eax, 0xffffffff */ 10827 _cf = 0; 10828 _flag_k = FK_TEST; 10829 MEM32(esi + 0x60) = eax; /* 0x250AE2B0: mov dword ptr [esi + 0x60], eax */ 10830 MEM32(esi + 0x80) = eax; /* 0x250AE2B3: mov dword ptr [esi + 0x80], eax */ 10831 MEM32(esi + 0xA0) = eax; /* 0x250AE2B9: mov dword ptr [esi + 0xa0], eax */ 10832 MEM32(esi + 0xC0) = eax; /* 0x250AE2BF: mov dword ptr [esi + 0xc0], eax */ 10833 MEM32(esi + 0x64) = ebx; /* 0x250AE2C5: mov dword ptr [esi + 0x64], ebx */ 10834 MEM32(esi + 0x84) = ebx; /* 0x250AE2C8: mov dword ptr [esi + 0x84], ebx */ 10835 MEM32(esi + 0xA4) = ebx; /* 0x250AE2CE: mov dword ptr [esi + 0xa4], ebx */ 10836 MEM32(esi + 0xC4) = ebx; /* 0x250AE2D4: mov dword ptr [esi + 0xc4], ebx */ 10837 edi = POP32_VAL(esp); /* 0x250AE2DA: pop edi */ 10838 eax = esi; /* 0x250AE2DB: mov eax, esi */ 10839 esi = POP32_VAL(esp); /* 0x250AE2DD: pop esi */ 10840 ebx = POP32_VAL(esp); /* 0x250AE2DE: pop ebx */ 10841 MEM32(FS_BASE + (0)) = ecx; /* 0x250AE2DF: mov dword ptr fs:[0], ecx */ 10842 esp = ebp; /* 0x250AE2E6: mov esp, ebp */ 10843 ebp = POP32_VAL(esp); /* 0x250AE2E8: pop ebp */ 10844 RECOMP_FLAGS_OUT(); esp += 28; { RECOMP_REGS_OUT(); return; } /* 0x250AE2E9: ret 0x18 */ 10845 RECOMP_REGS_OUT(); 10846 } 10847 10848 void sub_250AE2F0(void) { 10849 int _fpu_cmp = 0; 10850 uint32_t _cf = 0; 10851 int _df = 1; 10852 uint32_t _flag_k = FK_NONE; 10853 uint32_t _flag_a = 0, _flag_b = 0; 10854 uint32_t _itail_tgt = 0; 10855 RECOMP_REGS_LOCALS 10856 RECOMP_ENTER(0x250AE2F0u); 10857 10858 L_250AE2F0: 10859 PUSH32(esp, ebp); /* 0x250AE2F0: push ebp */ 10860 ebp = esp; /* 0x250AE2F1: mov ebp, esp */ 10861 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AE2F3: push -1 */ 10862 PUSH32(esp, 0x2514A2D8u); /* 0x250AE2F5: push 0x2514a2d8 */ 10863 eax = MEM32(FS_BASE + (0)); /* 0x250AE2FA: mov eax, dword ptr fs:[0] */ 10864 PUSH32(esp, eax); /* 0x250AE300: push eax */ 10865 MEM32(FS_BASE + (0)) = esp; /* 0x250AE301: mov dword ptr fs:[0], esp */ 10866 PUSH32(esp, ecx); /* 0x250AE308: push ecx */ 10867 PUSH32(esp, esi); /* 0x250AE309: push esi */ 10868 esi = ecx; /* 0x250AE30A: mov esi, ecx */ 10869 PUSH32(esp, edi); /* 0x250AE30C: push edi */ 10870 MEM32(ebp + (-0x10)) = esi; /* 0x250AE30D: mov dword ptr [ebp - 0x10], esi */ 10871 MEM32(esi) = 0x25156414u; /* 0x250AE310: mov dword ptr [esi], 0x25156414 */ 10872 MEM32(ebp + (-0x4)) = 0; /* 0x250AE316: mov dword ptr [ebp - 4], 0 */ 10873 RECOMP_ICALL(0x250AF190u); /* 0x250AE31D: call 0x250af190 */ /* not lifted */ 10874 RECOMP_FLAGS_IN(); 10875 edi = MEM32(esi + 0xD0); /* 0x250AE322: mov edi, dword ptr [esi + 0xd0] */ 10876 /* test edi, edi */ /* 0x250AE328: test edi, edi */ 10877 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10878 _cf = 0; 10879 _flag_k = FK_TEST; 10880 if (TEST_Z(_flag_a, _flag_b)) goto L_250AE33C; /* 0x250AE32A: je 0x250ae33c */ 10881 L_250AE32C: 10882 ecx = edi; /* 0x250AE32C: mov ecx, edi */ 10883 RECOMP_ICALL(0x250991E0u); /* 0x250AE32E: call 0x250991e0 */ /* not lifted */ 10884 RECOMP_FLAGS_IN(); 10885 PUSH32(esp, edi); /* 0x250AE333: push edi */ 10886 RECOMP_ICALL(0x25137EECu); /* 0x250AE334: call 0x25137eec */ /* not lifted */ 10887 RECOMP_FLAGS_IN(); 10888 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10889 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10890 esp = esp + 4; /* 0x250AE339: add esp, 4 */ 10891 _flag_k = FK_ADD; 10892 L_250AE33C: 10893 ecx = esi; /* 0x250AE33C: mov ecx, esi */ 10894 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250AE33E: mov dword ptr [ebp - 4], 0xffffffff */ 10895 RECOMP_ICALL(0x250AF170u); /* 0x250AE345: call 0x250af170 */ /* not lifted */ 10896 RECOMP_FLAGS_IN(); 10897 ecx = MEM32(ebp + (-0xC)); /* 0x250AE34A: mov ecx, dword ptr [ebp - 0xc] */ 10898 edi = POP32_VAL(esp); /* 0x250AE34D: pop edi */ 10899 esi = POP32_VAL(esp); /* 0x250AE34E: pop esi */ 10900 MEM32(FS_BASE + (0)) = ecx; /* 0x250AE34F: mov dword ptr fs:[0], ecx */ 10901 esp = ebp; /* 0x250AE356: mov esp, ebp */ 10902 ebp = POP32_VAL(esp); /* 0x250AE358: pop ebp */ 10903 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250AE359: ret */ 10904 RECOMP_REGS_OUT(); 10905 } 10906 10907 void sub_250AE360(void) { 10908 int _fpu_cmp = 0; 10909 uint32_t _cf = 0; 10910 int _df = 1; 10911 uint32_t _flag_k = FK_NONE; 10912 uint32_t _flag_a = 0, _flag_b = 0; 10913 uint32_t _itail_tgt = 0; 10914 RECOMP_REGS_LOCALS 10915 RECOMP_ENTER(0x250AE360u); 10916 10917 L_250AE360: 10918 PUSH32(esp, ebp); /* 0x250AE360: push ebp */ 10919 ebp = esp; /* 0x250AE361: mov ebp, esp */ 10920 PUSH32(esp, 0xFFFFFFFFu); /* 0x250AE363: push -1 */ 10921 PUSH32(esp, 0x2514A33Eu); /* 0x250AE365: push 0x2514a33e */ 10922 eax = MEM32(FS_BASE + (0)); /* 0x250AE36A: mov eax, dword ptr fs:[0] */ 10923 PUSH32(esp, eax); /* 0x250AE370: push eax */ 10924 MEM32(FS_BASE + (0)) = esp; /* 0x250AE371: mov dword ptr fs:[0], esp */ 10925 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x88u); 10926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10927 esp = esp - 0x88u; /* 0x250AE378: sub esp, 0x88 */ 10928 _flag_k = FK_CMP; 10929 PUSH32(esp, ebx); /* 0x250AE37E: push ebx */ 10930 ebx = ecx; /* 0x250AE37F: mov ebx, ecx */ 10931 SET_LO8(eax, MEM8(ebx + 0x14)); /* 0x250AE381: mov al, byte ptr [ebx + 0x14] */ 10932 /* test LO8(eax), LO8(eax) */ /* 0x250AE384: test al, al */ 10933 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10934 _cf = 0; 10935 _flag_k = FK_NARROW(FK_TEST, 24); 10936 if (TEST_Z(_flag_a, _flag_b)) goto L_250AE703; /* 0x250AE386: je 0x250ae703 */ 10937 L_250AE38C: 10938 SET_LO8(eax, MEM8(ebx + 0x15)); /* 0x250AE38C: mov al, byte ptr [ebx + 0x15] */ 10939 /* test LO8(eax), LO8(eax) */ /* 0x250AE38F: test al, al */ 10940 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10941 _cf = 0; 10942 _flag_k = FK_NARROW(FK_TEST, 24); 10943 if (TEST_Z(_flag_a, _flag_b)) goto L_250AE703; /* 0x250AE391: je 0x250ae703 */ 10944 L_250AE397: 10945 eax = MEM32(ebx + 0x4C); /* 0x250AE397: mov eax, dword ptr [ebx + 0x4c] */ 10946 MEM32(ebp + (-0x18)) = eax; /* 0x250AE39A: mov dword ptr [ebp - 0x18], eax */ 10947 fp_push((double)(int32_t)MEM32(ebp + (-0x18))); /* 0x250AE39D: fild dword ptr [ebp - 0x18] */ 10948 _st[0] *= (double)*(float*)ADDR(ebp + 0xC); /* 0x250AE3A0: fmul dword ptr [ebp + 0xc] */ 10949 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AE3A3: fstp dword ptr [ebp - 0x10] */ 10950 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250AE3A6: fld dword ptr [ebp - 0x10] */ 10951 _st[0] -= *(double*)ADDR(0x25156430); /* 0x250AE3A9: fsub qword ptr [0x25156430] */ 10952 MEM32(ebp + (-0x14)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x250AE3AF: fistp dword ptr [ebp - 0x14] */ 10953 ecx = MEM32(ebp + (-0x14)); /* 0x250AE3B2: mov ecx, dword ptr [ebp - 0x14] */ 10954 PUSH32(esp, ecx); /* 0x250AE3B5: push ecx */ 10955 ecx = ebx; /* 0x250AE3B6: mov ecx, ebx */ 10956 RECOMP_ICALL(0x250AEB30u); /* 0x250AE3B8: call 0x250aeb30 */ /* not lifted */ 10957 RECOMP_FLAGS_IN(); 10958 /* cmp MEM32(ebx + 0x4C), 0xFFu */ /* 0x250AE3BD: cmp dword ptr [ebx + 0x4c], 0xff */ 10959 _flag_a = (uint32_t)(MEM32(ebx + 0x4C)); _flag_b = (uint32_t)(0xFFu); 10960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10961 _flag_k = FK_CMP; 10962 if (CMP_GE(_flag_a, _flag_b)) goto L_250AE3CD; /* 0x250AE3C4: jge 0x250ae3cd */ 10963 L_250AE3C6: 10964 ecx = ebx; /* 0x250AE3C6: mov ecx, ebx */ 10965 RECOMP_ICALL(0x250AF190u); /* 0x250AE3C8: call 0x250af190 */ /* not lifted */ 10966 RECOMP_FLAGS_IN(); 10967 L_250AE3CD: 10968 edx = MEM32(ebx + 0xD0); /* 0x250AE3CD: mov edx, dword ptr [ebx + 0xd0] */ 10969 eax = MEM32(edx); /* 0x250AE3D3: mov eax, dword ptr [edx] */ 10970 PUSH32(esp, esi); /* 0x250AE3D5: push esi */ 10971 PUSH32(esp, edi); /* 0x250AE3D6: push edi */ 10972 edi = MEM32(ebp + 0x8); /* 0x250AE3D7: mov edi, dword ptr [ebp + 8] */ 10973 PUSH32(esp, eax); /* 0x250AE3DA: push eax */ 10974 ecx = edi; /* 0x250AE3DB: mov ecx, edi */ 10975 RECOMP_ICALL(0x250DFDA0u); /* 0x250AE3DD: call 0x250dfda0 */ /* not lifted */ 10976 RECOMP_FLAGS_IN(); 10977 SET_LO8(ecx, MEM8(ebx + 0xD4)); /* 0x250AE3E2: mov cl, byte ptr [ebx + 0xd4] */ 10978 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10979 eax = 0; /* 0x250AE3E8: xor eax, eax */ 10980 _cf = 0; 10981 _flag_k = FK_TEST; 10982 /* test LO8(ecx), LO8(ecx) */ /* 0x250AE3EA: test cl, cl */ 10983 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10984 _cf = 0; 10985 _flag_k = FK_NARROW(FK_TEST, 24); 10986 ecx = MEM32(0x25238B94); /* 0x250AE3EC: mov ecx, dword ptr [0x25238b94] */ 10987 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x250AE3F2: setne al */ 10988 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10989 esi = 0; /* 0x250AE3F5: xor esi, esi */ 10990 _cf = 0; 10991 _flag_k = FK_TEST; 10992 MEM32(ebp + (-0x94)) = esi; /* 0x250AE3F7: mov dword ptr [ebp - 0x94], esi */ 10993 MEM32(ebp + (-0x90)) = 0x10u; /* 0x250AE3FD: mov dword ptr [ebp - 0x90], 0x10 */ 10994 edx = MEM32(ecx + 0x894); /* 0x250AE407: mov edx, dword ptr [ecx + 0x894] */ 10995 edx = MEM32(edx + 0xDC8); /* 0x250AE40D: mov edx, dword ptr [edx + 0xdc8] */ 10996 PUSH32(esp, 0xAu); /* 0x250AE413: push 0xa */ 10997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10998 eax = eax + 1; /* 0x250AE415: inc eax */ 10999 _flag_k = FK_INC; 11000 PUSH32(esp, eax); /* 0x250AE416: push eax */ 11001 PUSH32(esp, 0x10u); /* 0x250AE417: push 0x10 */ 11002 MEM32(ebp + (-0x8C)) = edx; /* 0x250AE419: mov dword ptr [ebp - 0x8c], edx */ 11003 ecx = MEM32(ecx + 0x894); /* 0x250AE41F: mov ecx, dword ptr [ecx + 0x894] */ 11004 PUSH32(esp, esi); /* 0x250AE425: push esi */ 11005 RECOMP_ICALL(0x250EFF00u); /* 0x250AE426: call 0x250eff00 */ /* not lifted */ 11006 RECOMP_FLAGS_IN(); 11007 MEM8(ebp + (-0x88)) = (uint8_t)(LO8(eax)); /* 0x250AE42B: mov byte ptr [ebp - 0x88], al */ 11008 SET_LO8(edx, MEM8(ebx + 0xD4)); /* 0x250AE431: mov dl, byte ptr [ebx + 0xd4] */ 11009 ecx = MEM32(0x25238B94); /* 0x250AE437: mov ecx, dword ptr [0x25238b94] */ 11010 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11011 eax = 0; /* 0x250AE43D: xor eax, eax */ 11012 _cf = 0; 11013 _flag_k = FK_TEST; 11014 /* test LO8(edx), LO8(edx) */ /* 0x250AE43F: test dl, dl */ 11015 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11016 _cf = 0; 11017 _flag_k = FK_NARROW(FK_TEST, 24); 11018 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x250AE441: setne al */ 11019 MEM32(ebp + (-0x84)) = esi; /* 0x250AE444: mov dword ptr [ebp - 0x84], esi */ 11020 MEM32(ebp + (-0x80)) = 0x11u; /* 0x250AE44A: mov dword ptr [ebp - 0x80], 0x11 */ 11021 edx = MEM32(ecx + 0x894); /* 0x250AE451: mov edx, dword ptr [ecx + 0x894] */ 11022 edx = MEM32(edx + 0xDCC); /* 0x250AE457: mov edx, dword ptr [edx + 0xdcc] */ 11023 PUSH32(esp, 0xAu); /* 0x250AE45D: push 0xa */ 11024 MEM32(ebp + (-0x7C)) = edx; /* 0x250AE45F: mov dword ptr [ebp - 0x7c], edx */ 11025 ecx = MEM32(ecx + 0x894); /* 0x250AE462: mov ecx, dword ptr [ecx + 0x894] */ 11026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11027 eax = eax + 1; /* 0x250AE468: inc eax */ 11028 _flag_k = FK_INC; 11029 PUSH32(esp, eax); /* 0x250AE469: push eax */ 11030 PUSH32(esp, 0x11u); /* 0x250AE46A: push 0x11 */ 11031 PUSH32(esp, esi); /* 0x250AE46C: push esi */ 11032 MEM32(ebp + (-0x4)) = esi; /* 0x250AE46D: mov dword ptr [ebp - 4], esi */ 11033 RECOMP_ICALL(0x250EFF00u); /* 0x250AE470: call 0x250eff00 */ /* not lifted */ 11034 RECOMP_FLAGS_IN(); 11035 MEM8(ebp + (-0x78)) = (uint8_t)(LO8(eax)); /* 0x250AE475: mov byte ptr [ebp - 0x78], al */ 11036 SET_LO8(eax, MEM8(ebx + 0xD4)); /* 0x250AE478: mov al, byte ptr [ebx + 0xd4] */ 11037 ecx = MEM32(0x25238B94); /* 0x250AE47E: mov ecx, dword ptr [0x25238b94] */ 11038 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11039 _cf = (LO8(eax)) != 0; 11040 SET_LO8(eax, (uint32_t)(-(int32_t)LO8(eax))); /* 0x250AE484: neg al */ 11041 _flag_k = FK_NARROW(FK_CMP, 24); 11042 MEM32(ebp + (-0x74)) = esi; /* 0x250AE486: mov dword ptr [ebp - 0x74], esi */ 11043 MEM32(ebp + (-0x70)) = 0xCu; /* 0x250AE489: mov dword ptr [ebp - 0x70], 0xc */ 11044 edx = MEM32(ecx + 0x894); /* 0x250AE490: mov edx, dword ptr [ecx + 0x894] */ 11045 edx = MEM32(edx + 0xDB8); /* 0x250AE496: mov edx, dword ptr [edx + 0xdb8] */ 11046 PUSH32(esp, 0xAu); /* 0x250AE49C: push 0xa */ 11047 MEM32(ebp + (-0x6C)) = edx; /* 0x250AE49E: mov dword ptr [ebp - 0x6c], edx */ 11048 ecx = MEM32(ecx + 0x894); /* 0x250AE4A1: mov ecx, dword ptr [ecx + 0x894] */ 11049 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250AE4A7: sbb eax, eax */ 11050 eax = _sc ? 0xFFFFFFFFu : 0; 11051 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 11052 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 11053 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 11054 eax = eax & 2; /* 0x250AE4A9: and eax, 2 */ 11055 _cf = 0; 11056 _flag_k = FK_TEST; 11057 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11058 eax = eax + 1; /* 0x250AE4AC: inc eax */ 11059 _flag_k = FK_INC; 11060 PUSH32(esp, eax); /* 0x250AE4AD: push eax */ 11061 PUSH32(esp, 0xCu); /* 0x250AE4AE: push 0xc */ 11062 PUSH32(esp, esi); /* 0x250AE4B0: push esi */ 11063 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250AE4B1: mov byte ptr [ebp - 4], 1 */ 11064 RECOMP_ICALL(0x250EFF00u); /* 0x250AE4B5: call 0x250eff00 */ /* not lifted */ 11065 RECOMP_FLAGS_IN(); 11066 MEM8(ebp + (-0x68)) = (uint8_t)(LO8(eax)); /* 0x250AE4BA: mov byte ptr [ebp - 0x68], al */ 11067 eax = MEM32(0x25238B94); /* 0x250AE4BD: mov eax, dword ptr [0x25238b94] */ 11068 MEM32(ebp + (-0x40)) = 0xFu; /* 0x250AE4C2: mov dword ptr [ebp - 0x40], 0xf */ 11069 ecx = MEM32(eax + 0x894); /* 0x250AE4C9: mov ecx, dword ptr [eax + 0x894] */ 11070 ecx = MEM32(ecx + 0x508); /* 0x250AE4CF: mov ecx, dword ptr [ecx + 0x508] */ 11071 PUSH32(esp, 0xAu); /* 0x250AE4D5: push 0xa */ 11072 MEM32(ebp + (-0x3C)) = ecx; /* 0x250AE4D7: mov dword ptr [ebp - 0x3c], ecx */ 11073 eax = MEM32(eax + 0x894); /* 0x250AE4DA: mov eax, dword ptr [eax + 0x894] */ 11074 PUSH32(esp, esi); /* 0x250AE4E0: push esi */ 11075 PUSH32(esp, 0xFu); /* 0x250AE4E1: push 0xf */ 11076 ecx = eax; /* 0x250AE4E3: mov ecx, eax */ 11077 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250AE4E5: mov byte ptr [ebp - 4], 2 */ 11078 RECOMP_ICALL(0x250EFE90u); /* 0x250AE4E9: call 0x250efe90 */ /* not lifted */ 11079 RECOMP_FLAGS_IN(); 11080 MEM8(ebp + (-0x38)) = (uint8_t)(LO8(eax)); /* 0x250AE4EE: mov byte ptr [ebp - 0x38], al */ 11081 eax = MEM32(0x25238B94); /* 0x250AE4F1: mov eax, dword ptr [0x25238b94] */ 11082 MEM32(ebp + (-0x34)) = 0x89u; /* 0x250AE4F6: mov dword ptr [ebp - 0x34], 0x89 */ 11083 ecx = MEM32(eax + 0x894); /* 0x250AE4FD: mov ecx, dword ptr [eax + 0x894] */ 11084 ecx = MEM32(ecx + 0x6F0); /* 0x250AE503: mov ecx, dword ptr [ecx + 0x6f0] */ 11085 PUSH32(esp, 0xAu); /* 0x250AE509: push 0xa */ 11086 MEM32(ebp + (-0x30)) = ecx; /* 0x250AE50B: mov dword ptr [ebp - 0x30], ecx */ 11087 eax = MEM32(eax + 0x894); /* 0x250AE50E: mov eax, dword ptr [eax + 0x894] */ 11088 PUSH32(esp, esi); /* 0x250AE514: push esi */ 11089 PUSH32(esp, 0x89u); /* 0x250AE515: push 0x89 */ 11090 ecx = eax; /* 0x250AE51A: mov ecx, eax */ 11091 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AE51C: mov byte ptr [ebp - 4], 3 */ 11092 RECOMP_ICALL(0x250EFE90u); /* 0x250AE520: call 0x250efe90 */ /* not lifted */ 11093 RECOMP_FLAGS_IN(); 11094 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x250AE525: mov byte ptr [ebp - 0x2c], al */ 11095 eax = MEM32(0x25238B94); /* 0x250AE528: mov eax, dword ptr [0x25238b94] */ 11096 MEM32(ebp + (-0x64)) = 0x1Bu; /* 0x250AE52D: mov dword ptr [ebp - 0x64], 0x1b */ 11097 ecx = MEM32(eax + 0x894); /* 0x250AE534: mov ecx, dword ptr [eax + 0x894] */ 11098 ecx = MEM32(ecx + 0x538); /* 0x250AE53A: mov ecx, dword ptr [ecx + 0x538] */ 11099 PUSH32(esp, 0xAu); /* 0x250AE540: push 0xa */ 11100 MEM32(ebp + (-0x60)) = ecx; /* 0x250AE542: mov dword ptr [ebp - 0x60], ecx */ 11101 eax = MEM32(eax + 0x894); /* 0x250AE545: mov eax, dword ptr [eax + 0x894] */ 11102 PUSH32(esp, 1); /* 0x250AE54B: push 1 */ 11103 PUSH32(esp, 0x1Bu); /* 0x250AE54D: push 0x1b */ 11104 ecx = eax; /* 0x250AE54F: mov ecx, eax */ 11105 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AE551: mov byte ptr [ebp - 4], 4 */ 11106 RECOMP_ICALL(0x250EFE90u); /* 0x250AE555: call 0x250efe90 */ /* not lifted */ 11107 RECOMP_FLAGS_IN(); 11108 MEM8(ebp + (-0x5C)) = (uint8_t)(LO8(eax)); /* 0x250AE55A: mov byte ptr [ebp - 0x5c], al */ 11109 eax = MEM32(0x25238B94); /* 0x250AE55D: mov eax, dword ptr [0x25238b94] */ 11110 MEM32(ebp + (-0x28)) = 0x88u; /* 0x250AE562: mov dword ptr [ebp - 0x28], 0x88 */ 11111 ecx = MEM32(eax + 0x894); /* 0x250AE569: mov ecx, dword ptr [eax + 0x894] */ 11112 ecx = MEM32(ecx + 0x6EC); /* 0x250AE56F: mov ecx, dword ptr [ecx + 0x6ec] */ 11113 PUSH32(esp, 0xAu); /* 0x250AE575: push 0xa */ 11114 MEM32(ebp + (-0x24)) = ecx; /* 0x250AE577: mov dword ptr [ebp - 0x24], ecx */ 11115 eax = MEM32(eax + 0x894); /* 0x250AE57A: mov eax, dword ptr [eax + 0x894] */ 11116 PUSH32(esp, esi); /* 0x250AE580: push esi */ 11117 PUSH32(esp, 0x88u); /* 0x250AE581: push 0x88 */ 11118 ecx = eax; /* 0x250AE586: mov ecx, eax */ 11119 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AE588: mov byte ptr [ebp - 4], 5 */ 11120 RECOMP_ICALL(0x250EFE90u); /* 0x250AE58C: call 0x250efe90 */ /* not lifted */ 11121 RECOMP_FLAGS_IN(); 11122 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x250AE591: mov byte ptr [ebp - 0x20], al */ 11123 eax = MEM32(0x25238B94); /* 0x250AE594: mov eax, dword ptr [0x25238b94] */ 11124 ecx = MEM32(eax + 0x894); /* 0x250AE599: mov ecx, dword ptr [eax + 0x894] */ 11125 eax = MEM32(ecx + 0x53C); /* 0x250AE59F: mov eax, dword ptr [ecx + 0x53c] */ 11126 PUSH32(esp, 0xAu); /* 0x250AE5A5: push 0xa */ 11127 PUSH32(esp, esi); /* 0x250AE5A7: push esi */ 11128 PUSH32(esp, 0x1Cu); /* 0x250AE5A8: push 0x1c */ 11129 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250AE5AA: mov byte ptr [ebp - 4], 6 */ 11130 MEM32(ebp + (-0x58)) = 0x1Cu; /* 0x250AE5AE: mov dword ptr [ebp - 0x58], 0x1c */ 11131 MEM32(ebp + (-0x1C)) = eax; /* 0x250AE5B5: mov dword ptr [ebp - 0x1c], eax */ 11132 MEM32(ebp + (-0x54)) = eax; /* 0x250AE5B8: mov dword ptr [ebp - 0x54], eax */ 11133 RECOMP_ICALL(0x250EFE90u); /* 0x250AE5BB: call 0x250efe90 */ /* not lifted */ 11134 RECOMP_FLAGS_IN(); 11135 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x250AE5C0: mov byte ptr [ebp - 0x50], al */ 11136 ecx = MEM32(0x25238B94); /* 0x250AE5C3: mov ecx, dword ptr [0x25238b94] */ 11137 ecx = MEM32(ecx + 0x894); /* 0x250AE5C9: mov ecx, dword ptr [ecx + 0x894] */ 11138 eax = MEM32(ecx + 0x528); /* 0x250AE5CF: mov eax, dword ptr [ecx + 0x528] */ 11139 PUSH32(esp, 0xAu); /* 0x250AE5D5: push 0xa */ 11140 PUSH32(esp, 8); /* 0x250AE5D7: push 8 */ 11141 PUSH32(esp, 0x17u); /* 0x250AE5D9: push 0x17 */ 11142 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x250AE5DB: mov byte ptr [ebp - 4], 7 */ 11143 MEM32(ebp + (-0x4C)) = 0x17u; /* 0x250AE5DF: mov dword ptr [ebp - 0x4c], 0x17 */ 11144 MEM32(ebp + (-0x10)) = eax; /* 0x250AE5E6: mov dword ptr [ebp - 0x10], eax */ 11145 MEM32(ebp + (-0x48)) = eax; /* 0x250AE5E9: mov dword ptr [ebp - 0x48], eax */ 11146 RECOMP_ICALL(0x250EFE90u); /* 0x250AE5EC: call 0x250efe90 */ /* not lifted */ 11147 RECOMP_FLAGS_IN(); 11148 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(eax)); /* 0x250AE5F1: mov byte ptr [ebp - 0x44], al */ 11149 ecx = edi; /* 0x250AE5F4: mov ecx, edi */ 11150 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x250AE5F6: mov byte ptr [ebp - 4], 8 */ 11151 RECOMP_ICALL(0x250E05D0u); /* 0x250AE5FA: call 0x250e05d0 */ /* not lifted */ 11152 RECOMP_FLAGS_IN(); 11153 RECOMP_ICALL(0x250F7690u); /* 0x250AE5FF: call 0x250f7690 */ /* not lifted */ 11154 RECOMP_FLAGS_IN(); 11155 edx = ebp + 0xC; /* 0x250AE604: lea edx, [ebp + 0xc] */ 11156 PUSH32(esp, edx); /* 0x250AE607: push edx */ 11157 PUSH32(esp, 4); /* 0x250AE608: push 4 */ 11158 PUSH32(esp, 0x20u); /* 0x250AE60A: push 0x20 */ 11159 MEM32(ebp + (-0x14)) = eax; /* 0x250AE60C: mov dword ptr [ebp - 0x14], eax */ 11160 MEM32(ebp + 0xC) = esi; /* 0x250AE60F: mov dword ptr [ebp + 0xc], esi */ 11161 PUSH32(esp, 0x1C4u); /* 0x250AE612: push 0x1c4 */ 11162 ecx = eax; /* 0x250AE617: mov ecx, eax */ 11163 RECOMP_ICALL(0x250F77E0u); /* 0x250AE619: call 0x250f77e0 */ /* not lifted */ 11164 RECOMP_FLAGS_IN(); 11165 edi = MEM32(ebp + 0xC); /* 0x250AE61E: mov edi, dword ptr [ebp + 0xc] */ 11166 PUSH32(esp, 0); /* 0x250AE621: push 0 */ 11167 PUSH32(esp, 4); /* 0x250AE623: push 4 */ 11168 esi = ebx + 0x50; /* 0x250AE625: lea esi, [ebx + 0x50] */ 11169 ecx = 0x20u; /* 0x250AE628: mov ecx, 0x20 */ 11170 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250AE62D: 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; } 11171 ecx = MEM32(ebp + (-0x14)); /* 0x250AE62F: mov ecx, dword ptr [ebp - 0x14] */ 11172 esi = MEM32(0x25238B58); /* 0x250AE632: mov esi, dword ptr [0x25238b58] */ 11173 PUSH32(esp, eax); /* 0x250AE638: push eax */ 11174 PUSH32(esp, 0x1C4u); /* 0x250AE639: push 0x1c4 */ 11175 RECOMP_ICALL(0x250F7840u); /* 0x250AE63E: call 0x250f7840 */ /* not lifted */ 11176 RECOMP_FLAGS_IN(); 11177 PUSH32(esp, eax); /* 0x250AE643: push eax */ 11178 ecx = esi; /* 0x250AE644: mov ecx, esi */ 11179 RECOMP_ICALL(0x250E7D90u); /* 0x250AE646: call 0x250e7d90 */ /* not lifted */ 11180 RECOMP_FLAGS_IN(); 11181 SET_LO8(eax, MEM8(ebp + (-0x44))); /* 0x250AE64B: mov al, byte ptr [ebp - 0x44] */ 11182 /* test LO8(eax), LO8(eax) */ /* 0x250AE64E: test al, al */ 11183 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11184 _cf = 0; 11185 _flag_k = FK_NARROW(FK_TEST, 24); 11186 edi = POP32_VAL(esp); /* 0x250AE650: pop edi */ 11187 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x250AE651: mov byte ptr [ebp - 4], 7 */ 11188 esi = POP32_VAL(esp); /* 0x250AE655: pop esi */ 11189 if (TEST_Z(_flag_a, _flag_b)) goto L_250AE670; /* 0x250AE656: je 0x250ae670 */ 11190 L_250AE658: 11191 edx = MEM32(ebp + (-0x10)); /* 0x250AE658: mov edx, dword ptr [ebp - 0x10] */ 11192 eax = MEM32(0x25238B94); /* 0x250AE65B: mov eax, dword ptr [0x25238b94] */ 11193 ecx = MEM32(eax + 0x894); /* 0x250AE660: mov ecx, dword ptr [eax + 0x894] */ 11194 PUSH32(esp, 2); /* 0x250AE666: push 2 */ 11195 PUSH32(esp, edx); /* 0x250AE668: push edx */ 11196 PUSH32(esp, 0x17u); /* 0x250AE669: push 0x17 */ 11197 RECOMP_ICALL(0x250EFE90u); /* 0x250AE66B: call 0x250efe90 */ /* not lifted */ 11198 RECOMP_FLAGS_IN(); 11199 L_250AE670: 11200 SET_LO8(eax, MEM8(ebp + (-0x50))); /* 0x250AE670: mov al, byte ptr [ebp - 0x50] */ 11201 /* test LO8(eax), LO8(eax) */ /* 0x250AE673: test al, al */ 11202 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11203 _cf = 0; 11204 _flag_k = FK_NARROW(FK_TEST, 24); 11205 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250AE675: mov byte ptr [ebp - 4], 6 */ 11206 if (TEST_Z(_flag_a, _flag_b)) goto L_250AE693; /* 0x250AE679: je 0x250ae693 */ 11207 L_250AE67B: 11208 edx = MEM32(ebp + (-0x1C)); /* 0x250AE67B: mov edx, dword ptr [ebp - 0x1c] */ 11209 eax = MEM32(0x25238B94); /* 0x250AE67E: mov eax, dword ptr [0x25238b94] */ 11210 ecx = MEM32(eax + 0x894); /* 0x250AE683: mov ecx, dword ptr [eax + 0x894] */ 11211 PUSH32(esp, 2); /* 0x250AE689: push 2 */ 11212 PUSH32(esp, edx); /* 0x250AE68B: push edx */ 11213 PUSH32(esp, 0x1Cu); /* 0x250AE68C: push 0x1c */ 11214 RECOMP_ICALL(0x250EFE90u); /* 0x250AE68E: call 0x250efe90 */ /* not lifted */ 11215 RECOMP_FLAGS_IN(); 11216 L_250AE693: 11217 ecx = ebp + (-0x28); /* 0x250AE693: lea ecx, [ebp - 0x28] */ 11218 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250AE696: mov byte ptr [ebp - 4], 5 */ 11219 RECOMP_ICALL(0x25009BC0u); /* 0x250AE69A: call 0x25009bc0 */ /* not lifted */ 11220 RECOMP_FLAGS_IN(); 11221 ecx = ebp + (-0x64); /* 0x250AE69F: lea ecx, [ebp - 0x64] */ 11222 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250AE6A2: mov byte ptr [ebp - 4], 4 */ 11223 RECOMP_ICALL(0x25009BC0u); /* 0x250AE6A6: call 0x25009bc0 */ /* not lifted */ 11224 RECOMP_FLAGS_IN(); 11225 ecx = ebp + (-0x34); /* 0x250AE6AB: lea ecx, [ebp - 0x34] */ 11226 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250AE6AE: mov byte ptr [ebp - 4], 3 */ 11227 RECOMP_ICALL(0x25009BC0u); /* 0x250AE6B2: call 0x25009bc0 */ /* not lifted */ 11228 RECOMP_FLAGS_IN(); 11229 ecx = ebp + (-0x40); /* 0x250AE6B7: lea ecx, [ebp - 0x40] */ 11230 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250AE6BA: mov byte ptr [ebp - 4], 2 */ 11231 RECOMP_ICALL(0x25009BC0u); /* 0x250AE6BE: call 0x25009bc0 */ /* not lifted */ 11232 RECOMP_FLAGS_IN(); 11233 ecx = ebp + (-0x74); /* 0x250AE6C3: lea ecx, [ebp - 0x74] */ 11234 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250AE6C6: mov byte ptr [ebp - 4], 1 */ 11235 RECOMP_ICALL(0x25009BF0u); /* 0x250AE6CA: call 0x25009bf0 */ /* not lifted */ 11236 RECOMP_FLAGS_IN(); 11237 ecx = ebp + (-0x84); /* 0x250AE6CF: lea ecx, [ebp - 0x84] */ 11238 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250AE6D5: mov byte ptr [ebp - 4], 0 */ 11239 RECOMP_ICALL(0x25009BF0u); /* 0x250AE6D9: call 0x25009bf0 */ /* not lifted */ 11240 RECOMP_FLAGS_IN(); 11241 ecx = ebp + (-0x94); /* 0x250AE6DE: lea ecx, [ebp - 0x94] */ 11242 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250AE6E4: mov dword ptr [ebp - 4], 0xffffffff */ 11243 RECOMP_ICALL(0x25009BF0u); /* 0x250AE6EB: call 0x25009bf0 */ /* not lifted */ 11244 RECOMP_FLAGS_IN(); 11245 ecx = MEM32(ebp + 0x8); /* 0x250AE6F0: mov ecx, dword ptr [ebp + 8] */ 11246 RECOMP_ICALL(0x250E0360u); /* 0x250AE6F3: call 0x250e0360 */ /* not lifted */ 11247 RECOMP_FLAGS_IN(); 11248 eax = MEM32(ebp + (-0x18)); /* 0x250AE6F8: mov eax, dword ptr [ebp - 0x18] */ 11249 PUSH32(esp, eax); /* 0x250AE6FB: push eax */ 11250 ecx = ebx; /* 0x250AE6FC: mov ecx, ebx */ 11251 RECOMP_ICALL(0x250AEB30u); /* 0x250AE6FE: call 0x250aeb30 */ /* not lifted */ 11252 RECOMP_FLAGS_IN(); 11253 L_250AE703: 11254 ecx = MEM32(ebp + (-0xC)); /* 0x250AE703: mov ecx, dword ptr [ebp - 0xc] */ 11255 ebx = POP32_VAL(esp); /* 0x250AE706: pop ebx */ 11256 MEM32(FS_BASE + (0)) = ecx; /* 0x250AE707: mov dword ptr fs:[0], ecx */ 11257 esp = ebp; /* 0x250AE70E: mov esp, ebp */ 11258 ebp = POP32_VAL(esp); /* 0x250AE710: pop ebp */ 11259 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250AE711: ret 8 */ 11260 RECOMP_REGS_OUT(); 11261 } 11262 11263 void sub_250AE720(void) { 11264 int _fpu_cmp = 0; 11265 uint32_t _cf = 0; 11266 int _df = 1; 11267 uint32_t _flag_k = FK_NONE; 11268 uint32_t _flag_a = 0, _flag_b = 0; 11269 uint32_t _itail_tgt = 0; 11270 RECOMP_REGS_LOCALS 11271 RECOMP_ENTER(0x250AE720u); 11272 11273 L_250AE720: 11274 PUSH32(esp, ebp); /* 0x250AE720: push ebp */ 11275 ebp = esp; /* 0x250AE721: mov ebp, esp */ 11276 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 11277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11278 esp = esp - 0x1Cu; /* 0x250AE723: sub esp, 0x1c */ 11279 _flag_k = FK_CMP; 11280 PUSH32(esp, esi); /* 0x250AE726: push esi */ 11281 PUSH32(esp, edi); /* 0x250AE727: push edi */ 11282 esi = ecx; /* 0x250AE728: mov esi, ecx */ 11283 RECOMP_ICALL(0x250AF190u); /* 0x250AE72A: call 0x250af190 */ /* not lifted */ 11284 RECOMP_FLAGS_IN(); 11285 eax = MEM32(ebp + 0x8); /* 0x250AE72F: mov eax, dword ptr [ebp + 8] */ 11286 fp_push((double)(int32_t)MEM32(eax)); /* 0x250AE732: fild dword ptr [eax] */ 11287 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x18) = _v; } /* 0x250AE734: fstp dword ptr [esi + 0x18] */ 11288 fp_push((double)(int32_t)MEM32(eax + 0x4)); /* 0x250AE737: fild dword ptr [eax + 4] */ 11289 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x1C) = _v; } /* 0x250AE73A: fstp dword ptr [esi + 0x1c] */ 11290 fp_push(*(float*)&MEM32(esi + 0x3C)); /* 0x250AE73D: fld dword ptr [esi + 0x3c] */ 11291 _st[0] += (double)*(float*)ADDR(esi + 0x18); /* 0x250AE740: fadd dword ptr [esi + 0x18] */ 11292 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x20) = _v; } /* 0x250AE743: fstp dword ptr [esi + 0x20] */ 11293 fp_push(*(float*)&MEM32(esi + 0x40)); /* 0x250AE746: fld dword ptr [esi + 0x40] */ 11294 _st[0] += (double)*(float*)ADDR(esi + 0x1C); /* 0x250AE749: fadd dword ptr [esi + 0x1c] */ 11295 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x24) = _v; } /* 0x250AE74C: fstp dword ptr [esi + 0x24] */ 11296 RECOMP_ICALL(0x250A4C30u); /* 0x250AE74F: call 0x250a4c30 */ /* not lifted */ 11297 RECOMP_FLAGS_IN(); 11298 ecx = eax; /* 0x250AE754: mov ecx, eax */ 11299 RECOMP_ICALL(0x250A4C40u); /* 0x250AE756: call 0x250a4c40 */ /* not lifted */ 11300 RECOMP_FLAGS_IN(); 11301 RECOMP_ICALL(0x250A4C30u); /* 0x250AE75B: call 0x250a4c30 */ /* not lifted */ 11302 RECOMP_FLAGS_IN(); 11303 ecx = eax; /* 0x250AE760: mov ecx, eax */ 11304 RECOMP_ICALL(0x250A4C50u); /* 0x250AE762: call 0x250a4c50 */ /* not lifted */ 11305 RECOMP_FLAGS_IN(); 11306 fp_push(*(float*)&MEM32(esi + 0x18)); /* 0x250AE767: fld dword ptr [esi + 0x18] */ 11307 _st[0] -= (double)*(float*)ADDR(0x25151788); /* 0x250AE76A: fsub dword ptr [0x25151788] */ 11308 eax = esi + 0x50; /* 0x250AE770: lea eax, [esi + 0x50] */ 11309 fp_push(*(float*)&MEM32(esi + 0x1C)); /* 0x250AE773: fld dword ptr [esi + 0x1c] */ 11310 MEM32(ebp + (-0x14)) = 0x3C23D70Au; /* 0x250AE776: mov dword ptr [ebp - 0x14], 0x3c23d70a */ 11311 _st[0] -= (double)*(float*)ADDR(0x25151788); /* 0x250AE77D: fsub dword ptr [0x25151788] */ 11312 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250AE783: fstp dword ptr [ebp - 8] */ 11313 fp_push(*(float*)&MEM32(esi + 0x20)); /* 0x250AE786: fld dword ptr [esi + 0x20] */ 11314 _st[0] -= (double)*(float*)ADDR(0x25151788); /* 0x250AE789: fsub dword ptr [0x25151788] */ 11315 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250AE78F: fstp dword ptr [ebp - 4] */ 11316 fp_push(*(float*)&MEM32(esi + 0x24)); /* 0x250AE792: fld dword ptr [esi + 0x24] */ 11317 _st[0] -= (double)*(float*)ADDR(0x25151788); /* 0x250AE795: fsub dword ptr [0x25151788] */ 11318 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250AE79B: fst dword ptr [ebp - 0x10] */ 11319 fp_push((double)(int32_t)MEM32(esi + 0x34)); /* 0x250AE79E: fild dword ptr [esi + 0x34] */ 11320 _st[0] = _st[0] / (double)(int32_t)MEM32(esi + 0x2C); /* 0x250AE7A1: fidiv dword ptr [esi + 0x2c] */ 11321 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250AE7A4: fstp dword ptr [ebp - 0xc] */ 11322 fp_push((double)(int32_t)MEM32(esi + 0x38)); /* 0x250AE7A7: fild dword ptr [esi + 0x38] */ 11323 _st[0] = _st[0] / (double)(int32_t)MEM32(esi + 0x30); /* 0x250AE7AA: fidiv dword ptr [esi + 0x30] */ 11324 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250AE7AD: fstp dword ptr [ebp + 8] */ 11325 fp_push(_st[1]); /* 0x250AE7B0: fld st(1) */ 11326 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AE7B2: fstp dword ptr [ebp - 0x1c] */ 11327 ecx = MEM32(ebp + (-0x1C)); /* 0x250AE7B5: mov ecx, dword ptr [ebp - 0x1c] */ 11328 MEM32(eax) = ecx; /* 0x250AE7B8: mov dword ptr [eax], ecx */ 11329 ecx = MEM32(ebp + (-0x14)); /* 0x250AE7BA: mov ecx, dword ptr [ebp - 0x14] */ 11330 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250AE7BD: fstp dword ptr [ebp - 0x18] */ 11331 edx = MEM32(ebp + (-0x18)); /* 0x250AE7C0: mov edx, dword ptr [ebp - 0x18] */ 11332 MEM32(eax + 0x4) = edx; /* 0x250AE7C3: mov dword ptr [eax + 4], edx */ 11333 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250AE7C6: fstp dword ptr [ebp - 0x1c] */ 11334 edx = MEM32(ebp + 0x8); /* 0x250AE7C9: mov edx, dword ptr [ebp + 8] */ 11335 edi = MEM32(ebp + (-0x1C)); /* 0x250AE7CC: mov edi, dword ptr [ebp - 0x1c] */ 11336 MEM32(esi + 0x6C) = edx; /* 0x250AE7CF: mov dword ptr [esi + 0x6c], edx */ 11337 edx = MEM32(ebp + (-0x8)); /* 0x250AE7D2: mov edx, dword ptr [ebp - 8] */ 11338 MEM32(ebp + (-0x18)) = edx; /* 0x250AE7D5: mov dword ptr [ebp - 0x18], edx */ 11339 edx = esi + 0x70; /* 0x250AE7D8: lea edx, [esi + 0x70] */ 11340 MEM32(edx) = edi; /* 0x250AE7DB: mov dword ptr [edx], edi */ 11341 edi = MEM32(ebp + (-0x18)); /* 0x250AE7DD: mov edi, dword ptr [ebp - 0x18] */ 11342 MEM32(edx + 0x4) = edi; /* 0x250AE7E0: mov dword ptr [edx + 4], edi */ 11343 MEM32(ebp + (-0x14)) = 0x3C23D70Au; /* 0x250AE7E3: mov dword ptr [ebp - 0x14], 0x3c23d70a */ 11344 edi = MEM32(ebp + (-0x14)); /* 0x250AE7EA: mov edi, dword ptr [ebp - 0x14] */ 11345 MEM32(edx + 0x8) = edi; /* 0x250AE7ED: mov dword ptr [edx + 8], edi */ 11346 edx = MEM32(ebp + (-0x4)); /* 0x250AE7F0: mov edx, dword ptr [ebp - 4] */ 11347 MEM32(ebp + (-0x1C)) = edx; /* 0x250AE7F3: mov dword ptr [ebp - 0x1c], edx */ 11348 edx = MEM32(ebp + (-0x10)); /* 0x250AE7F6: mov edx, dword ptr [ebp - 0x10] */ 11349 edi = MEM32(ebp + (-0x1C)); /* 0x250AE7F9: mov edi, dword ptr [ebp - 0x1c] */ 11350 MEM32(ebp + (-0x18)) = edx; /* 0x250AE7FC: mov dword ptr [ebp - 0x18], edx */ 11351 edx = esi + 0x90; /* 0x250AE7FF: lea edx, [esi + 0x90] */ 11352 MEM32(eax + 0x8) = ecx; /* 0x250AE805: mov dword ptr [eax + 8], ecx */ 11353 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11354 eax = 0; /* 0x250AE808: xor eax, eax */ 11355 _cf = 0; 11356 _flag_k = FK_TEST; 11357 MEM32(edx) = edi; /* 0x250AE80A: mov dword ptr [edx], edi */ 11358 edi = MEM32(ebp + (-0x18)); /* 0x250AE80C: mov edi, dword ptr [ebp - 0x18] */ 11359 ecx = 0x42C80000u; /* 0x250AE80F: mov ecx, 0x42c80000 */ 11360 MEM32(esi + 0x5C) = ecx; /* 0x250AE814: mov dword ptr [esi + 0x5c], ecx */ 11361 MEM32(esi + 0x68) = eax; /* 0x250AE817: mov dword ptr [esi + 0x68], eax */ 11362 MEM32(esi + 0x7C) = ecx; /* 0x250AE81A: mov dword ptr [esi + 0x7c], ecx */ 11363 MEM32(esi + 0x88) = eax; /* 0x250AE81D: mov dword ptr [esi + 0x88], eax */ 11364 MEM32(esi + 0x8C) = eax; /* 0x250AE823: mov dword ptr [esi + 0x8c], eax */ 11365 MEM32(ebp + (-0x14)) = 0x3C23D70Au; /* 0x250AE829: mov dword ptr [ebp - 0x14], 0x3c23d70a */ 11366 MEM32(edx + 0x4) = edi; /* 0x250AE830: mov dword ptr [edx + 4], edi */ 11367 edi = MEM32(ebp + (-0x14)); /* 0x250AE833: mov edi, dword ptr [ebp - 0x14] */ 11368 MEM32(edx + 0x8) = edi; /* 0x250AE836: mov dword ptr [edx + 8], edi */ 11369 edx = MEM32(ebp + (-0xC)); /* 0x250AE839: mov edx, dword ptr [ebp - 0xc] */ 11370 MEM32(esi + 0xA8) = edx; /* 0x250AE83C: mov dword ptr [esi + 0xa8], edx */ 11371 edx = MEM32(ebp + 0x8); /* 0x250AE842: mov edx, dword ptr [ebp + 8] */ 11372 MEM32(esi + 0xAC) = edx; /* 0x250AE845: mov dword ptr [esi + 0xac], edx */ 11373 edx = MEM32(ebp + (-0x4)); /* 0x250AE84B: mov edx, dword ptr [ebp - 4] */ 11374 MEM32(ebp + (-0x1C)) = edx; /* 0x250AE84E: mov dword ptr [ebp - 0x1c], edx */ 11375 edx = MEM32(ebp + (-0x8)); /* 0x250AE851: mov edx, dword ptr [ebp - 8] */ 11376 edi = MEM32(ebp + (-0x1C)); /* 0x250AE854: mov edi, dword ptr [ebp - 0x1c] */ 11377 MEM32(ebp + (-0x18)) = edx; /* 0x250AE857: mov dword ptr [ebp - 0x18], edx */ 11378 edx = esi + 0xB0; /* 0x250AE85A: lea edx, [esi + 0xb0] */ 11379 MEM32(edx) = edi; /* 0x250AE860: mov dword ptr [edx], edi */ 11380 edi = MEM32(ebp + (-0x18)); /* 0x250AE862: mov edi, dword ptr [ebp - 0x18] */ 11381 MEM32(edx + 0x4) = edi; /* 0x250AE865: mov dword ptr [edx + 4], edi */ 11382 MEM32(ebp + (-0x14)) = 0x3C23D70Au; /* 0x250AE868: mov dword ptr [ebp - 0x14], 0x3c23d70a */ 11383 edi = MEM32(ebp + (-0x14)); /* 0x250AE86F: mov edi, dword ptr [ebp - 0x14] */ 11384 MEM32(esi + 0x9C) = ecx; /* 0x250AE872: mov dword ptr [esi + 0x9c], ecx */ 11385 MEM32(esi + 0xBC) = ecx; /* 0x250AE878: mov dword ptr [esi + 0xbc], ecx */ 11386 ecx = MEM32(ebp + (-0xC)); /* 0x250AE87E: mov ecx, dword ptr [ebp - 0xc] */ 11387 MEM32(edx + 0x8) = edi; /* 0x250AE881: mov dword ptr [edx + 8], edi */ 11388 edi = POP32_VAL(esp); /* 0x250AE884: pop edi */ 11389 MEM32(esi + 0xC8) = ecx; /* 0x250AE885: mov dword ptr [esi + 0xc8], ecx */ 11390 MEM32(esi + 0xCC) = eax; /* 0x250AE88B: mov dword ptr [esi + 0xcc], eax */ 11391 esi = POP32_VAL(esp); /* 0x250AE891: pop esi */ 11392 esp = ebp; /* 0x250AE892: mov esp, ebp */ 11393 ebp = POP32_VAL(esp); /* 0x250AE894: pop ebp */ 11394 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AE895: ret 4 */ 11395 RECOMP_REGS_OUT(); 11396 } 11397 11398 void sub_250AE8A0(void) { 11399 int _fpu_cmp = 0; 11400 uint32_t _cf = 0; 11401 int _df = 1; 11402 uint32_t _flag_k = FK_NONE; 11403 uint32_t _flag_a = 0, _flag_b = 0; 11404 uint32_t _itail_tgt = 0; 11405 RECOMP_REGS_LOCALS 11406 RECOMP_ENTER(0x250AE8A0u); 11407 11408 L_250AE8A0: 11409 PUSH32(esp, ebp); /* 0x250AE8A0: push ebp */ 11410 ebp = esp; /* 0x250AE8A1: mov ebp, esp */ 11411 fp_push((double)(int32_t)MEM32(ecx + 0x34)); /* 0x250AE8A3: fild dword ptr [ecx + 0x34] */ 11412 eax = MEM32(ebp + 0x8); /* 0x250AE8A6: mov eax, dword ptr [ebp + 8] */ 11413 _st[0] = _st[0] / (double)(int32_t)MEM32(ecx + 0x2C); /* 0x250AE8A9: fidiv dword ptr [ecx + 0x2c] */ 11414 edx = eax; /* 0x250AE8AC: mov edx, eax */ 11415 MEM32(ecx + 0x68) = eax; /* 0x250AE8AE: mov dword ptr [ecx + 0x68], eax */ 11416 eax = MEM32(ebp + 0xC); /* 0x250AE8B1: mov eax, dword ptr [ebp + 0xc] */ 11417 MEM32(ecx + 0x88) = edx; /* 0x250AE8B4: mov dword ptr [ecx + 0x88], edx */ 11418 edx = eax; /* 0x250AE8BA: mov edx, eax */ 11419 MEM32(ecx + 0x8C) = eax; /* 0x250AE8BC: mov dword ptr [ecx + 0x8c], eax */ 11420 MEM32(ecx + 0xCC) = edx; /* 0x250AE8C2: mov dword ptr [ecx + 0xcc], edx */ 11421 _st[0] += (double)*(float*)ADDR(ebp + 0x8); /* 0x250AE8C8: fadd dword ptr [ebp + 8] */ 11422 fp_push((double)(int32_t)MEM32(ecx + 0x38)); /* 0x250AE8CB: fild dword ptr [ecx + 0x38] */ 11423 _st[0] = _st[0] / (double)(int32_t)MEM32(ecx + 0x30); /* 0x250AE8CE: fidiv dword ptr [ecx + 0x30] */ 11424 _st[0] += (double)*(float*)ADDR(ebp + 0xC); /* 0x250AE8D1: fadd dword ptr [ebp + 0xc] */ 11425 { float _v = (float)_st[0]; *(float*)ADDR(ecx + 0x6C) = _v; } /* 0x250AE8D4: fst dword ptr [ecx + 0x6c] */ 11426 fp_push(_st[1]); /* 0x250AE8D7: fld st(1) */ 11427 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0xA8) = _v; } /* 0x250AE8D9: fstp dword ptr [ecx + 0xa8] */ 11428 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0xAC) = _v; } /* 0x250AE8DF: fstp dword ptr [ecx + 0xac] */ 11429 { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0xC8) = _v; } /* 0x250AE8E5: fstp dword ptr [ecx + 0xc8] */ 11430 ebp = POP32_VAL(esp); /* 0x250AE8EB: pop ebp */ 11431 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250AE8EC: ret 8 */ 11432 RECOMP_REGS_OUT(); 11433 } 11434 11435 void sub_250AE8F0(void) { 11436 int _fpu_cmp = 0; 11437 uint32_t _cf = 0; 11438 int _df = 1; 11439 uint32_t _flag_k = FK_NONE; 11440 uint32_t _flag_a = 0, _flag_b = 0; 11441 uint32_t _itail_tgt = 0; 11442 RECOMP_REGS_LOCALS 11443 RECOMP_ENTER(0x250AE8F0u); 11444 11445 L_250AE8F0: 11446 PUSH32(esp, ebp); /* 0x250AE8F0: push ebp */ 11447 ebp = esp; /* 0x250AE8F1: mov ebp, esp */ 11448 PUSH32(esp, esi); /* 0x250AE8F3: push esi */ 11449 esi = ecx; /* 0x250AE8F4: mov esi, ecx */ 11450 RECOMP_ICALL(0x250AF190u); /* 0x250AE8F6: call 0x250af190 */ /* not lifted */ 11451 RECOMP_FLAGS_IN(); 11452 eax = MEM32(ebp + 0x8); /* 0x250AE8FB: mov eax, dword ptr [ebp + 8] */ 11453 ecx = MEM32(eax + 0x20); /* 0x250AE8FE: mov ecx, dword ptr [eax + 0x20] */ 11454 edx = MEM32(eax); /* 0x250AE901: mov edx, dword ptr [eax] */ 11455 PUSH32(esp, ecx); /* 0x250AE903: push ecx */ 11456 ecx = MEM32(esi + 0xD0); /* 0x250AE904: mov ecx, dword ptr [esi + 0xd0] */ 11457 PUSH32(esp, edx); /* 0x250AE90A: push edx */ 11458 RECOMP_ICALL(0x25099200u); /* 0x250AE90B: call 0x25099200 */ /* not lifted */ 11459 RECOMP_FLAGS_IN(); 11460 esi = POP32_VAL(esp); /* 0x250AE910: pop esi */ 11461 ebp = POP32_VAL(esp); /* 0x250AE911: pop ebp */ 11462 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250AE912: ret 4 */ 11463 RECOMP_REGS_OUT(); 11464 }