client/game/bbr.dll/lifted-0099.c (128385B)
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_25149884(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(0x25149884u); 17 18 goto L_25149884; 19 L_251380C4: 20 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 21 L_25149884: 22 eax = 0x25169FC8u; /* 0x25149884: mov eax, 0x25169fc8 */ 23 L_25149889: 24 RECOMP_BACKEDGE(); 25 goto L_251380C4; /* 0x25149889: jmp 0x251380c4 */ 26 { RECOMP_REGS_OUT(); return; } /* end of function */ 27 _ljump: 28 switch (_itail_tgt) { 29 case 0x251380C4u: goto L_251380C4; 30 case 0x25149884u: goto L_25149884; 31 case 0x25149889u: goto L_25149889; 32 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 33 } 34 RECOMP_REGS_OUT(); 35 } 36 37 void sub_25149890(void) { 38 int _fpu_cmp = 0; 39 uint32_t _cf = 0; 40 int _df = 1; 41 uint32_t _flag_k = FK_NONE; 42 uint32_t _flag_a = 0, _flag_b = 0; 43 uint32_t _itail_tgt = 0; 44 RECOMP_REGS_LOCALS 45 RECOMP_ENTER(0x25149890u); 46 47 L_25149890: 48 ecx = MEM32(ebp + (-0x10)); /* 0x25149890: mov ecx, dword ptr [ebp - 0x10] */ 49 L_25149893: 50 { _itail_tgt = (uint32_t)(MEM32(0x251515AC)); goto _ljump; } 51 { RECOMP_REGS_OUT(); return; } /* end of function */ 52 _ljump: 53 switch (_itail_tgt) { 54 case 0x25149890u: goto L_25149890; 55 case 0x25149893u: goto L_25149893; 56 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 57 } 58 RECOMP_REGS_OUT(); 59 } 60 61 void sub_25149899(void) { 62 int _fpu_cmp = 0; 63 uint32_t _cf = 0; 64 int _df = 1; 65 uint32_t _flag_k = FK_NONE; 66 uint32_t _flag_a = 0, _flag_b = 0; 67 uint32_t _itail_tgt = 0; 68 RECOMP_REGS_LOCALS 69 RECOMP_ENTER(0x25149899u); 70 71 goto L_25149899; 72 L_251380C4: 73 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 74 L_25149899: 75 eax = 0x25169FF8u; /* 0x25149899: mov eax, 0x25169ff8 */ 76 L_2514989E: 77 RECOMP_BACKEDGE(); 78 goto L_251380C4; /* 0x2514989E: jmp 0x251380c4 */ 79 { RECOMP_REGS_OUT(); return; } /* end of function */ 80 _ljump: 81 switch (_itail_tgt) { 82 case 0x251380C4u: goto L_251380C4; 83 case 0x25149899u: goto L_25149899; 84 case 0x2514989Eu: goto L_2514989E; 85 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 86 } 87 RECOMP_REGS_OUT(); 88 } 89 90 void sub_251498B0(void) { 91 int _fpu_cmp = 0; 92 uint32_t _cf = 0; 93 int _df = 1; 94 uint32_t _flag_k = FK_NONE; 95 uint32_t _flag_a = 0, _flag_b = 0; 96 uint32_t _itail_tgt = 0; 97 RECOMP_REGS_LOCALS 98 RECOMP_ENTER(0x251498B0u); 99 100 L_251498B0: 101 ecx = ebp + (-0xD0); /* 0x251498B0: lea ecx, [ebp - 0xd0] */ 102 L_251498B6: 103 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 104 { RECOMP_REGS_OUT(); return; } /* end of function */ 105 _ljump: 106 switch (_itail_tgt) { 107 case 0x251498B0u: goto L_251498B0; 108 case 0x251498B6u: goto L_251498B6; 109 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 110 } 111 RECOMP_REGS_OUT(); 112 } 113 114 void sub_251498BC(void) { 115 int _fpu_cmp = 0; 116 uint32_t _cf = 0; 117 int _df = 1; 118 uint32_t _flag_k = FK_NONE; 119 uint32_t _flag_a = 0, _flag_b = 0; 120 uint32_t _itail_tgt = 0; 121 RECOMP_REGS_LOCALS 122 RECOMP_ENTER(0x251498BCu); 123 124 L_251498BC: 125 ecx = ebp + (-0x90); /* 0x251498BC: lea ecx, [ebp - 0x90] */ 126 L_251498C2: 127 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 128 { RECOMP_REGS_OUT(); return; } /* end of function */ 129 _ljump: 130 switch (_itail_tgt) { 131 case 0x251498BCu: goto L_251498BC; 132 case 0x251498C2u: goto L_251498C2; 133 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 134 } 135 RECOMP_REGS_OUT(); 136 } 137 138 void sub_251498C8(void) { 139 int _fpu_cmp = 0; 140 uint32_t _cf = 0; 141 int _df = 1; 142 uint32_t _flag_k = FK_NONE; 143 uint32_t _flag_a = 0, _flag_b = 0; 144 uint32_t _itail_tgt = 0; 145 RECOMP_REGS_LOCALS 146 RECOMP_ENTER(0x251498C8u); 147 148 L_251498C8: 149 ecx = ebp + (-0x110); /* 0x251498C8: lea ecx, [ebp - 0x110] */ 150 L_251498CE: 151 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 152 { RECOMP_REGS_OUT(); return; } /* end of function */ 153 _ljump: 154 switch (_itail_tgt) { 155 case 0x251498C8u: goto L_251498C8; 156 case 0x251498CEu: goto L_251498CE; 157 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 158 } 159 RECOMP_REGS_OUT(); 160 } 161 162 void sub_251498D4(void) { 163 int _fpu_cmp = 0; 164 uint32_t _cf = 0; 165 int _df = 1; 166 uint32_t _flag_k = FK_NONE; 167 uint32_t _flag_a = 0, _flag_b = 0; 168 uint32_t _itail_tgt = 0; 169 RECOMP_REGS_LOCALS 170 RECOMP_ENTER(0x251498D4u); 171 172 L_251498D4: 173 ecx = ebp + (-0x50); /* 0x251498D4: lea ecx, [ebp - 0x50] */ 174 L_251498D7: 175 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 176 { RECOMP_REGS_OUT(); return; } /* end of function */ 177 _ljump: 178 switch (_itail_tgt) { 179 case 0x251498D4u: goto L_251498D4; 180 case 0x251498D7u: goto L_251498D7; 181 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 182 } 183 RECOMP_REGS_OUT(); 184 } 185 186 void sub_251498DD(void) { 187 int _fpu_cmp = 0; 188 uint32_t _cf = 0; 189 int _df = 1; 190 uint32_t _flag_k = FK_NONE; 191 uint32_t _flag_a = 0, _flag_b = 0; 192 uint32_t _itail_tgt = 0; 193 RECOMP_REGS_LOCALS 194 RECOMP_ENTER(0x251498DDu); 195 196 goto L_251498DD; 197 L_251380C4: 198 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 199 L_251498DD: 200 eax = 0x2516A020u; /* 0x251498DD: mov eax, 0x2516a020 */ 201 L_251498E2: 202 RECOMP_BACKEDGE(); 203 goto L_251380C4; /* 0x251498E2: jmp 0x251380c4 */ 204 { RECOMP_REGS_OUT(); return; } /* end of function */ 205 _ljump: 206 switch (_itail_tgt) { 207 case 0x251380C4u: goto L_251380C4; 208 case 0x251498DDu: goto L_251498DD; 209 case 0x251498E2u: goto L_251498E2; 210 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 211 } 212 RECOMP_REGS_OUT(); 213 } 214 215 void sub_251498F0(void) { 216 int _fpu_cmp = 0; 217 uint32_t _cf = 0; 218 int _df = 1; 219 uint32_t _flag_k = FK_NONE; 220 uint32_t _flag_a = 0, _flag_b = 0; 221 uint32_t _itail_tgt = 0; 222 RECOMP_REGS_LOCALS 223 RECOMP_ENTER(0x251498F0u); 224 225 goto L_251498F0; 226 L_25085240: 227 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 228 ebp = esp; /* 0x25085241: mov ebp, esp */ 229 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 230 PUSH32(esp, esi); /* 0x25085244: push esi */ 231 esi = ecx; /* 0x25085245: mov esi, ecx */ 232 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 233 PUSH32(esp, eax); /* 0x2508524A: push eax */ 234 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 235 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 236 RECOMP_FLAGS_IN(); 237 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 238 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 239 esp = esp + 4; /* 0x25085253: add esp, 4 */ 240 _flag_k = FK_ADD; 241 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 242 eax = 0; /* 0x25085256: xor eax, eax */ 243 _cf = 0; 244 _flag_k = FK_TEST; 245 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 246 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 247 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 248 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 249 esp = ebp; /* 0x25085262: mov esp, ebp */ 250 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 251 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 252 L_251498F0: 253 ecx = ebp + (-0x1C); /* 0x251498F0: lea ecx, [ebp - 0x1c] */ 254 RECOMP_BACKEDGE(); 255 goto L_25085240; /* 0x251498F3: jmp 0x25085240 */ 256 { RECOMP_REGS_OUT(); return; } /* end of function */ 257 RECOMP_REGS_OUT(); 258 } 259 260 void sub_251498F8(void) { 261 int _fpu_cmp = 0; 262 uint32_t _cf = 0; 263 int _df = 1; 264 uint32_t _flag_k = FK_NONE; 265 uint32_t _flag_a = 0, _flag_b = 0; 266 uint32_t _itail_tgt = 0; 267 RECOMP_REGS_LOCALS 268 RECOMP_ENTER(0x251498F8u); 269 270 goto L_251498F8; 271 L_251380C4: 272 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 273 L_251498F8: 274 eax = 0x2516A068u; /* 0x251498F8: mov eax, 0x2516a068 */ 275 L_251498FD: 276 RECOMP_BACKEDGE(); 277 goto L_251380C4; /* 0x251498FD: jmp 0x251380c4 */ 278 { RECOMP_REGS_OUT(); return; } /* end of function */ 279 _ljump: 280 switch (_itail_tgt) { 281 case 0x251380C4u: goto L_251380C4; 282 case 0x251498F8u: goto L_251498F8; 283 case 0x251498FDu: goto L_251498FD; 284 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 285 } 286 RECOMP_REGS_OUT(); 287 } 288 289 void sub_25149910(void) { 290 int _fpu_cmp = 0; 291 uint32_t _cf = 0; 292 int _df = 1; 293 uint32_t _flag_k = FK_NONE; 294 uint32_t _flag_a = 0, _flag_b = 0; 295 uint32_t _itail_tgt = 0; 296 RECOMP_REGS_LOCALS 297 RECOMP_ENTER(0x25149910u); 298 299 L_25149910: 300 eax = MEM32(ebp + (-0x1C)); /* 0x25149910: mov eax, dword ptr [ebp - 0x1c] */ 301 PUSH32(esp, eax); /* 0x25149913: push eax */ 302 RECOMP_ICALL(0x25137EECu); /* 0x25149914: call 0x25137eec */ /* not lifted */ 303 RECOMP_FLAGS_IN(); 304 ecx = POP32_VAL(esp); /* 0x25149919: pop ecx */ 305 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514991A: ret */ 306 RECOMP_REGS_OUT(); 307 } 308 309 void sub_2514991B(void) { 310 int _fpu_cmp = 0; 311 uint32_t _cf = 0; 312 int _df = 1; 313 uint32_t _flag_k = FK_NONE; 314 uint32_t _flag_a = 0, _flag_b = 0; 315 uint32_t _itail_tgt = 0; 316 RECOMP_REGS_LOCALS 317 RECOMP_ENTER(0x2514991Bu); 318 319 goto L_2514991B; 320 L_2509DA40: 321 eax = MEM32(ecx + 0x4); /* 0x2509DA40: mov eax, dword ptr [ecx + 4] */ 322 /* test eax, eax */ /* 0x2509DA43: test eax, eax */ 323 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 324 _cf = 0; 325 _flag_k = FK_TEST; 326 if (TEST_Z(_flag_a, _flag_b)) goto L_2509DA4C; /* 0x2509DA45: je 0x2509da4c */ 327 L_2509DA47: 328 goto L_25118FA0; /* 0x2509DA47: jmp 0x25118fa0 */ 329 L_2509DA4C: 330 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2509DA4C: ret */ 331 L_25118FA0: 332 PUSH32(esp, esi); /* 0x25118FA0: push esi */ 333 esi = ecx; /* 0x25118FA1: mov esi, ecx */ 334 eax = MEM32(esi); /* 0x25118FA3: mov eax, dword ptr [esi] */ 335 ecx = MEM32(0x25238B58); /* 0x25118FA5: mov ecx, dword ptr [0x25238b58] */ 336 PUSH32(esp, eax); /* 0x25118FAB: push eax */ 337 RECOMP_ICALL(0x25103A90u); /* 0x25118FAC: call 0x25103a90 */ /* not lifted */ 338 RECOMP_FLAGS_IN(); 339 MEM32(esi + 0x4) = 0; /* 0x25118FB1: mov dword ptr [esi + 4], 0 */ 340 esi = POP32_VAL(esp); /* 0x25118FB8: pop esi */ 341 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25118FB9: ret */ 342 L_2514991B: 343 ecx = ebp + (-0x5C); /* 0x2514991B: lea ecx, [ebp - 0x5c] */ 344 RECOMP_BACKEDGE(); 345 goto L_2509DA40; /* 0x2514991E: jmp 0x2509da40 */ 346 { RECOMP_REGS_OUT(); return; } /* end of function */ 347 RECOMP_REGS_OUT(); 348 } 349 350 void sub_25149923(void) { 351 int _fpu_cmp = 0; 352 uint32_t _cf = 0; 353 int _df = 1; 354 uint32_t _flag_k = FK_NONE; 355 uint32_t _flag_a = 0, _flag_b = 0; 356 uint32_t _itail_tgt = 0; 357 RECOMP_REGS_LOCALS 358 RECOMP_ENTER(0x25149923u); 359 360 goto L_25149923; 361 L_251380C4: 362 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 363 L_25149923: 364 eax = 0x2516A090u; /* 0x25149923: mov eax, 0x2516a090 */ 365 L_25149928: 366 RECOMP_BACKEDGE(); 367 goto L_251380C4; /* 0x25149928: jmp 0x251380c4 */ 368 { RECOMP_REGS_OUT(); return; } /* end of function */ 369 _ljump: 370 switch (_itail_tgt) { 371 case 0x251380C4u: goto L_251380C4; 372 case 0x25149923u: goto L_25149923; 373 case 0x25149928u: goto L_25149928; 374 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 375 } 376 RECOMP_REGS_OUT(); 377 } 378 379 void sub_25149930(void) { 380 int _fpu_cmp = 0; 381 uint32_t _cf = 0; 382 int _df = 1; 383 uint32_t _flag_k = FK_NONE; 384 uint32_t _flag_a = 0, _flag_b = 0; 385 uint32_t _itail_tgt = 0; 386 RECOMP_REGS_LOCALS 387 RECOMP_ENTER(0x25149930u); 388 389 L_25149930: 390 eax = MEM32(ebp + (-0x10)); /* 0x25149930: mov eax, dword ptr [ebp - 0x10] */ 391 PUSH32(esp, eax); /* 0x25149933: push eax */ 392 RECOMP_ICALL(0x25137EECu); /* 0x25149934: call 0x25137eec */ /* not lifted */ 393 RECOMP_FLAGS_IN(); 394 ecx = POP32_VAL(esp); /* 0x25149939: pop ecx */ 395 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514993A: ret */ 396 RECOMP_REGS_OUT(); 397 } 398 399 void sub_2514993B(void) { 400 int _fpu_cmp = 0; 401 uint32_t _cf = 0; 402 int _df = 1; 403 uint32_t _flag_k = FK_NONE; 404 uint32_t _flag_a = 0, _flag_b = 0; 405 uint32_t _itail_tgt = 0; 406 RECOMP_REGS_LOCALS 407 RECOMP_ENTER(0x2514993Bu); 408 409 goto L_2514993B; 410 L_251380C4: 411 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 412 L_2514993B: 413 eax = 0x2516A0C0u; /* 0x2514993B: mov eax, 0x2516a0c0 */ 414 L_25149940: 415 RECOMP_BACKEDGE(); 416 goto L_251380C4; /* 0x25149940: jmp 0x251380c4 */ 417 { RECOMP_REGS_OUT(); return; } /* end of function */ 418 _ljump: 419 switch (_itail_tgt) { 420 case 0x251380C4u: goto L_251380C4; 421 case 0x2514993Bu: goto L_2514993B; 422 case 0x25149940u: goto L_25149940; 423 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 424 } 425 RECOMP_REGS_OUT(); 426 } 427 428 void sub_25149950(void) { 429 int _fpu_cmp = 0; 430 uint32_t _cf = 0; 431 int _df = 1; 432 uint32_t _flag_k = FK_NONE; 433 uint32_t _flag_a = 0, _flag_b = 0; 434 uint32_t _itail_tgt = 0; 435 RECOMP_REGS_LOCALS 436 RECOMP_ENTER(0x25149950u); 437 438 goto L_25149950; 439 L_25085240: 440 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 441 ebp = esp; /* 0x25085241: mov ebp, esp */ 442 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 443 PUSH32(esp, esi); /* 0x25085244: push esi */ 444 esi = ecx; /* 0x25085245: mov esi, ecx */ 445 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 446 PUSH32(esp, eax); /* 0x2508524A: push eax */ 447 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 448 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 449 RECOMP_FLAGS_IN(); 450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 452 esp = esp + 4; /* 0x25085253: add esp, 4 */ 453 _flag_k = FK_ADD; 454 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 455 eax = 0; /* 0x25085256: xor eax, eax */ 456 _cf = 0; 457 _flag_k = FK_TEST; 458 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 459 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 460 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 461 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 462 esp = ebp; /* 0x25085262: mov esp, ebp */ 463 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 464 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 465 L_25149950: 466 ecx = ebp + (-0x44); /* 0x25149950: lea ecx, [ebp - 0x44] */ 467 RECOMP_BACKEDGE(); 468 goto L_25085240; /* 0x25149953: jmp 0x25085240 */ 469 { RECOMP_REGS_OUT(); return; } /* end of function */ 470 RECOMP_REGS_OUT(); 471 } 472 473 void sub_25149958(void) { 474 int _fpu_cmp = 0; 475 uint32_t _cf = 0; 476 int _df = 1; 477 uint32_t _flag_k = FK_NONE; 478 uint32_t _flag_a = 0, _flag_b = 0; 479 uint32_t _itail_tgt = 0; 480 RECOMP_REGS_LOCALS 481 RECOMP_ENTER(0x25149958u); 482 483 goto L_25149958; 484 L_251380C4: 485 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 486 L_25149958: 487 eax = 0x2516A0E8u; /* 0x25149958: mov eax, 0x2516a0e8 */ 488 L_2514995D: 489 RECOMP_BACKEDGE(); 490 goto L_251380C4; /* 0x2514995D: jmp 0x251380c4 */ 491 { RECOMP_REGS_OUT(); return; } /* end of function */ 492 _ljump: 493 switch (_itail_tgt) { 494 case 0x251380C4u: goto L_251380C4; 495 case 0x25149958u: goto L_25149958; 496 case 0x2514995Du: goto L_2514995D; 497 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 498 } 499 RECOMP_REGS_OUT(); 500 } 501 502 void sub_25149970(void) { 503 int _fpu_cmp = 0; 504 uint32_t _cf = 0; 505 int _df = 1; 506 uint32_t _flag_k = FK_NONE; 507 uint32_t _flag_a = 0, _flag_b = 0; 508 uint32_t _itail_tgt = 0; 509 RECOMP_REGS_LOCALS 510 RECOMP_ENTER(0x25149970u); 511 512 goto L_25149970; 513 L_250E5AB0: 514 PUSH32(esp, esi); /* 0x250E5AB0: push esi */ 515 esi = ecx; /* 0x250E5AB1: mov esi, ecx */ 516 eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */ 517 /* test eax, eax */ /* 0x250E5AB6: test eax, eax */ 518 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 519 _cf = 0; 520 _flag_k = FK_TEST; 521 if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */ 522 L_250E5ABA: 523 ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */ 524 SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */ 525 /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */ 526 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 527 _cf = 0; 528 _flag_k = FK_NARROW(FK_TEST, 24); 529 if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */ 530 L_250E5AC3: 531 /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */ 532 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 533 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 534 _flag_k = FK_NARROW(FK_CMP, 24); 535 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */ 536 L_250E5AC7: 537 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 538 SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */ 539 _flag_k = FK_NARROW(FK_DEC, 24); 540 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */ 541 goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */ 542 L_250E5ACD: 543 PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */ 544 RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */ 545 RECOMP_FLAGS_IN(); 546 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 547 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 548 esp = esp + 4; /* 0x250E5AD3: add esp, 4 */ 549 _flag_k = FK_ADD; 550 L_250E5AD6: 551 MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */ 552 MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */ 553 MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */ 554 esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */ 555 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret */ 556 L_25149970: 557 ecx = ebp + (-0x4C); /* 0x25149970: lea ecx, [ebp - 0x4c] */ 558 RECOMP_BACKEDGE(); 559 goto L_250E5AB0; /* 0x25149973: jmp 0x250e5ab0 */ 560 { RECOMP_REGS_OUT(); return; } /* end of function */ 561 RECOMP_REGS_OUT(); 562 } 563 564 void sub_25149978(void) { 565 int _fpu_cmp = 0; 566 uint32_t _cf = 0; 567 int _df = 1; 568 uint32_t _flag_k = FK_NONE; 569 uint32_t _flag_a = 0, _flag_b = 0; 570 uint32_t _itail_tgt = 0; 571 RECOMP_REGS_LOCALS 572 RECOMP_ENTER(0x25149978u); 573 574 goto L_25149978; 575 L_251380C4: 576 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 577 L_25149978: 578 eax = 0x2516A110u; /* 0x25149978: mov eax, 0x2516a110 */ 579 L_2514997D: 580 RECOMP_BACKEDGE(); 581 goto L_251380C4; /* 0x2514997D: jmp 0x251380c4 */ 582 { RECOMP_REGS_OUT(); return; } /* end of function */ 583 _ljump: 584 switch (_itail_tgt) { 585 case 0x251380C4u: goto L_251380C4; 586 case 0x25149978u: goto L_25149978; 587 case 0x2514997Du: goto L_2514997D; 588 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 589 } 590 RECOMP_REGS_OUT(); 591 } 592 593 void sub_25149990(void) { 594 int _fpu_cmp = 0; 595 uint32_t _cf = 0; 596 int _df = 1; 597 uint32_t _flag_k = FK_NONE; 598 uint32_t _flag_a = 0, _flag_b = 0; 599 uint32_t _itail_tgt = 0; 600 RECOMP_REGS_LOCALS 601 RECOMP_ENTER(0x25149990u); 602 603 L_25149990: 604 eax = MEM32(ebp + 0x8); /* 0x25149990: mov eax, dword ptr [ebp + 8] */ 605 PUSH32(esp, eax); /* 0x25149993: push eax */ 606 RECOMP_ICALL(0x25137EECu); /* 0x25149994: call 0x25137eec */ /* not lifted */ 607 RECOMP_FLAGS_IN(); 608 ecx = POP32_VAL(esp); /* 0x25149999: pop ecx */ 609 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514999A: ret */ 610 RECOMP_REGS_OUT(); 611 } 612 613 void sub_2514999B(void) { 614 int _fpu_cmp = 0; 615 uint32_t _cf = 0; 616 int _df = 1; 617 uint32_t _flag_k = FK_NONE; 618 uint32_t _flag_a = 0, _flag_b = 0; 619 uint32_t _itail_tgt = 0; 620 RECOMP_REGS_LOCALS 621 RECOMP_ENTER(0x2514999Bu); 622 623 L_2514999B: 624 eax = MEM32(ebp + 0x8); /* 0x2514999B: mov eax, dword ptr [ebp + 8] */ 625 PUSH32(esp, eax); /* 0x2514999E: push eax */ 626 RECOMP_ICALL(0x25137EECu); /* 0x2514999F: call 0x25137eec */ /* not lifted */ 627 RECOMP_FLAGS_IN(); 628 ecx = POP32_VAL(esp); /* 0x251499A4: pop ecx */ 629 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251499A5: ret */ 630 RECOMP_REGS_OUT(); 631 } 632 633 void sub_251499A6(void) { 634 int _fpu_cmp = 0; 635 uint32_t _cf = 0; 636 int _df = 1; 637 uint32_t _flag_k = FK_NONE; 638 uint32_t _flag_a = 0, _flag_b = 0; 639 uint32_t _itail_tgt = 0; 640 RECOMP_REGS_LOCALS 641 RECOMP_ENTER(0x251499A6u); 642 643 goto L_251499A6; 644 L_251380C4: 645 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 646 L_251499A6: 647 eax = 0x2516A138u; /* 0x251499A6: mov eax, 0x2516a138 */ 648 L_251499AB: 649 RECOMP_BACKEDGE(); 650 goto L_251380C4; /* 0x251499AB: jmp 0x251380c4 */ 651 { RECOMP_REGS_OUT(); return; } /* end of function */ 652 _ljump: 653 switch (_itail_tgt) { 654 case 0x251380C4u: goto L_251380C4; 655 case 0x251499A6u: goto L_251499A6; 656 case 0x251499ABu: goto L_251499AB; 657 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 658 } 659 RECOMP_REGS_OUT(); 660 } 661 662 void sub_251499B0(void) { 663 int _fpu_cmp = 0; 664 uint32_t _cf = 0; 665 int _df = 1; 666 uint32_t _flag_k = FK_NONE; 667 uint32_t _flag_a = 0, _flag_b = 0; 668 uint32_t _itail_tgt = 0; 669 RECOMP_REGS_LOCALS 670 RECOMP_ENTER(0x251499B0u); 671 672 L_251499B0: 673 eax = MEM32(ebp + 0x8); /* 0x251499B0: mov eax, dword ptr [ebp + 8] */ 674 PUSH32(esp, eax); /* 0x251499B3: push eax */ 675 ecx = MEM32(ebp + (-0x14)); /* 0x251499B4: mov ecx, dword ptr [ebp - 0x14] */ 676 PUSH32(esp, ecx); /* 0x251499B7: push ecx */ 677 RECOMP_ICALL(0x2501C580u); /* 0x251499B8: call 0x2501c580 */ /* not lifted */ 678 RECOMP_FLAGS_IN(); 679 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 680 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 681 esp = esp + 8; /* 0x251499BD: add esp, 8 */ 682 _flag_k = FK_ADD; 683 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251499C0: ret */ 684 RECOMP_REGS_OUT(); 685 } 686 687 void sub_251499C1(void) { 688 int _fpu_cmp = 0; 689 uint32_t _cf = 0; 690 int _df = 1; 691 uint32_t _flag_k = FK_NONE; 692 uint32_t _flag_a = 0, _flag_b = 0; 693 uint32_t _itail_tgt = 0; 694 RECOMP_REGS_LOCALS 695 RECOMP_ENTER(0x251499C1u); 696 697 goto L_251499C1; 698 L_251380C4: 699 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 700 L_251499C1: 701 eax = 0x2516A168u; /* 0x251499C1: mov eax, 0x2516a168 */ 702 L_251499C6: 703 RECOMP_BACKEDGE(); 704 goto L_251380C4; /* 0x251499C6: jmp 0x251380c4 */ 705 { RECOMP_REGS_OUT(); return; } /* end of function */ 706 _ljump: 707 switch (_itail_tgt) { 708 case 0x251380C4u: goto L_251380C4; 709 case 0x251499C1u: goto L_251499C1; 710 case 0x251499C6u: goto L_251499C6; 711 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 712 } 713 RECOMP_REGS_OUT(); 714 } 715 716 void sub_251499D0(void) { 717 int _fpu_cmp = 0; 718 uint32_t _cf = 0; 719 int _df = 1; 720 uint32_t _flag_k = FK_NONE; 721 uint32_t _flag_a = 0, _flag_b = 0; 722 uint32_t _itail_tgt = 0; 723 RECOMP_REGS_LOCALS 724 RECOMP_ENTER(0x251499D0u); 725 726 goto L_251499D0; 727 L_250DB0B0: 728 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 729 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 730 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 731 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 732 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 733 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 734 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 735 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 737 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 738 _flag_k = FK_CMP; 739 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 740 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 741 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 742 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 743 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 744 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 745 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 746 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 747 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 748 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 749 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 750 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 751 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 752 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 753 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 754 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 755 _cf = 0; 756 _flag_k = FK_TEST; 757 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 758 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 760 _flag_k = FK_CMP; 761 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 762 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 763 L_250DB11E: 764 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 765 RECOMP_FLAGS_IN(); 766 L_250DB123: 767 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 768 PUSH32(esp, eax); /* 0x250DB129: push eax */ 769 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 770 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 771 RECOMP_FLAGS_IN(); 772 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 774 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 775 _flag_k = FK_ADD; 776 eax = edi; /* 0x250DB135: mov eax, edi */ 777 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 778 _cf = (eax) != 0; 779 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 780 _flag_k = FK_CMP; 781 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 782 eax = _sc ? 0xFFFFFFFFu : 0; 783 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 784 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 786 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 787 _cf = 0; 788 _flag_k = FK_TEST; 789 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 790 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 791 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 792 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 793 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 794 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 795 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 796 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 798 _flag_k = FK_CMP; 799 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 800 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 801 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 802 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 803 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 804 L_250DB16C: 805 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 806 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 807 ecx = esi; /* 0x250DB170: mov ecx, esi */ 808 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 809 RECOMP_FLAGS_IN(); 810 ecx = eax; /* 0x250DB177: mov ecx, eax */ 811 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 812 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 813 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 814 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 816 _flag_k = FK_CMP; 817 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 818 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 819 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 821 _flag_k = FK_NARROW(FK_CMP, 24); 822 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 823 L_250DB187: 824 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 825 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 826 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 828 _flag_k = FK_CMP; 829 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 830 L_250DB18F: 831 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 832 PUSH32(esp, edx); /* 0x250DB192: push edx */ 833 ecx = esi; /* 0x250DB193: mov ecx, esi */ 834 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 835 RECOMP_FLAGS_IN(); 836 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 837 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 838 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 839 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 840 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 841 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 842 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 843 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 844 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 845 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 846 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 847 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 848 RECOMP_FLAGS_IN(); 849 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 850 L_250DB1BE: 851 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 852 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 854 _flag_k = FK_CMP; 855 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 856 L_250DB1C3: 857 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 858 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 859 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 860 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 861 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 862 RECOMP_FLAGS_IN(); 863 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 864 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 865 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 866 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 867 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 868 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 869 RECOMP_FLAGS_IN(); 870 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 871 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 872 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 874 _flag_k = FK_CMP; 875 RECOMP_BACKEDGE(); 876 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 877 L_250DB1E6: 878 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 879 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 880 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 881 RECOMP_FLAGS_IN(); 882 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 883 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 884 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 885 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 886 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 887 RECOMP_FLAGS_IN(); 888 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 889 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 890 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 891 _flag_k = FK_ADD; 892 eax = edi; /* 0x250DB201: mov eax, edi */ 893 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 894 _cf = (eax) != 0; 895 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 896 _flag_k = FK_CMP; 897 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 898 eax = _sc ? 0xFFFFFFFFu : 0; 899 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 900 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 901 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 902 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 904 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 905 _cf = 0; 906 _flag_k = FK_TEST; 907 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 908 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 909 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 910 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 911 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 913 _flag_k = FK_CMP; 914 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 915 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 916 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 917 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 918 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 919 L_250DB22E: 920 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 921 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 922 ecx = esi; /* 0x250DB232: mov ecx, esi */ 923 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 924 RECOMP_FLAGS_IN(); 925 edx = eax; /* 0x250DB239: mov edx, eax */ 926 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 927 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 928 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 929 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 931 _flag_k = FK_CMP; 932 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 933 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 934 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 936 _flag_k = FK_NARROW(FK_CMP, 24); 937 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 938 L_250DB249: 939 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 940 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 941 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 943 _flag_k = FK_CMP; 944 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 945 L_250DB251: 946 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 947 PUSH32(esp, eax); /* 0x250DB254: push eax */ 948 ecx = esi; /* 0x250DB255: mov ecx, esi */ 949 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 950 RECOMP_FLAGS_IN(); 951 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 952 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 953 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 954 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 955 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 956 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 957 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 958 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 959 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 960 PUSH32(esp, eax); /* 0x250DB276: push eax */ 961 ecx = esi; /* 0x250DB277: mov ecx, esi */ 962 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 963 RECOMP_FLAGS_IN(); 964 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 965 L_250DB280: 966 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 969 _flag_k = FK_CMP; 970 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 971 L_250DB285: 972 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 973 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 974 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 975 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 976 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 977 RECOMP_FLAGS_IN(); 978 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 979 PUSH32(esp, edx); /* 0x250DB294: push edx */ 980 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 981 PUSH32(esp, eax); /* 0x250DB298: push eax */ 982 ecx = esi; /* 0x250DB299: mov ecx, esi */ 983 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 984 RECOMP_FLAGS_IN(); 985 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 986 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 987 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 989 _flag_k = FK_CMP; 990 RECOMP_BACKEDGE(); 991 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 992 L_250DB2A8: 993 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 994 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 995 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 996 RECOMP_FLAGS_IN(); 997 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 998 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 999 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 1000 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 1001 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 1002 RECOMP_FLAGS_IN(); 1003 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1004 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1005 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 1006 _flag_k = FK_ADD; 1007 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 1008 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 1009 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 1010 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 1011 RECOMP_FLAGS_IN(); 1012 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 1013 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 1014 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 1015 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 1016 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 1017 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 1018 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 1019 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 1020 L_251499D0: 1021 ecx = MEM32(ebp + (-0x1C)); /* 0x251499D0: mov ecx, dword ptr [ebp - 0x1c] */ 1022 RECOMP_BACKEDGE(); 1023 goto L_250DB0B0; /* 0x251499D3: jmp 0x250db0b0 */ 1024 { RECOMP_REGS_OUT(); return; } /* end of function */ 1025 RECOMP_REGS_OUT(); 1026 } 1027 1028 void sub_251499D8(void) { 1029 int _fpu_cmp = 0; 1030 uint32_t _cf = 0; 1031 int _df = 1; 1032 uint32_t _flag_k = FK_NONE; 1033 uint32_t _flag_a = 0, _flag_b = 0; 1034 uint32_t _itail_tgt = 0; 1035 RECOMP_REGS_LOCALS 1036 RECOMP_ENTER(0x251499D8u); 1037 1038 goto L_251499D8; 1039 L_251380C4: 1040 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1041 L_251499D8: 1042 eax = 0x2516A190u; /* 0x251499D8: mov eax, 0x2516a190 */ 1043 L_251499DD: 1044 RECOMP_BACKEDGE(); 1045 goto L_251380C4; /* 0x251499DD: jmp 0x251380c4 */ 1046 { RECOMP_REGS_OUT(); return; } /* end of function */ 1047 _ljump: 1048 switch (_itail_tgt) { 1049 case 0x251380C4u: goto L_251380C4; 1050 case 0x251499D8u: goto L_251499D8; 1051 case 0x251499DDu: goto L_251499DD; 1052 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1053 } 1054 RECOMP_REGS_OUT(); 1055 } 1056 1057 void sub_251499F0(void) { 1058 int _fpu_cmp = 0; 1059 uint32_t _cf = 0; 1060 int _df = 1; 1061 uint32_t _flag_k = FK_NONE; 1062 uint32_t _flag_a = 0, _flag_b = 0; 1063 uint32_t _itail_tgt = 0; 1064 RECOMP_REGS_LOCALS 1065 RECOMP_ENTER(0x251499F0u); 1066 1067 goto L_251499F0; 1068 L_250DB0B0: 1069 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 1070 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 1071 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 1072 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 1073 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 1074 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 1075 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 1076 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1078 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 1079 _flag_k = FK_CMP; 1080 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 1081 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 1082 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 1083 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 1084 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 1085 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 1086 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 1087 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 1088 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 1089 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 1090 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 1091 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 1092 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 1093 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 1094 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1095 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 1096 _cf = 0; 1097 _flag_k = FK_TEST; 1098 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 1099 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1101 _flag_k = FK_CMP; 1102 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 1103 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 1104 L_250DB11E: 1105 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 1106 RECOMP_FLAGS_IN(); 1107 L_250DB123: 1108 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 1109 PUSH32(esp, eax); /* 0x250DB129: push eax */ 1110 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 1111 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 1112 RECOMP_FLAGS_IN(); 1113 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1114 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1115 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 1116 _flag_k = FK_ADD; 1117 eax = edi; /* 0x250DB135: mov eax, edi */ 1118 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1119 _cf = (eax) != 0; 1120 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 1121 _flag_k = FK_CMP; 1122 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 1123 eax = _sc ? 0xFFFFFFFFu : 0; 1124 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1125 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1127 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 1128 _cf = 0; 1129 _flag_k = FK_TEST; 1130 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 1131 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 1132 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 1133 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 1134 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 1135 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 1136 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 1137 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1139 _flag_k = FK_CMP; 1140 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 1141 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 1142 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 1143 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 1144 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 1145 L_250DB16C: 1146 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 1147 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 1148 ecx = esi; /* 0x250DB170: mov ecx, esi */ 1149 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 1150 RECOMP_FLAGS_IN(); 1151 ecx = eax; /* 0x250DB177: mov ecx, eax */ 1152 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 1153 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 1154 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 1155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1157 _flag_k = FK_CMP; 1158 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 1159 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 1160 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1162 _flag_k = FK_NARROW(FK_CMP, 24); 1163 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 1164 L_250DB187: 1165 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 1166 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 1167 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1169 _flag_k = FK_CMP; 1170 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 1171 L_250DB18F: 1172 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 1173 PUSH32(esp, edx); /* 0x250DB192: push edx */ 1174 ecx = esi; /* 0x250DB193: mov ecx, esi */ 1175 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 1176 RECOMP_FLAGS_IN(); 1177 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 1178 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 1179 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 1180 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 1181 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 1182 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 1183 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 1184 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 1185 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 1186 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 1187 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 1188 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 1189 RECOMP_FLAGS_IN(); 1190 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 1191 L_250DB1BE: 1192 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 1193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 1194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1195 _flag_k = FK_CMP; 1196 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 1197 L_250DB1C3: 1198 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 1199 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 1200 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 1201 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 1202 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 1203 RECOMP_FLAGS_IN(); 1204 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 1205 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 1206 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 1207 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 1208 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 1209 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 1210 RECOMP_FLAGS_IN(); 1211 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 1212 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 1213 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 1214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1215 _flag_k = FK_CMP; 1216 RECOMP_BACKEDGE(); 1217 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 1218 L_250DB1E6: 1219 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 1220 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 1221 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 1222 RECOMP_FLAGS_IN(); 1223 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 1224 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 1225 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 1226 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 1227 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 1228 RECOMP_FLAGS_IN(); 1229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1231 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 1232 _flag_k = FK_ADD; 1233 eax = edi; /* 0x250DB201: mov eax, edi */ 1234 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1235 _cf = (eax) != 0; 1236 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 1237 _flag_k = FK_CMP; 1238 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 1239 eax = _sc ? 0xFFFFFFFFu : 0; 1240 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1241 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1242 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 1243 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 1244 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1245 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 1246 _cf = 0; 1247 _flag_k = FK_TEST; 1248 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 1249 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 1250 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 1251 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 1252 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1254 _flag_k = FK_CMP; 1255 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 1256 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 1257 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 1258 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 1259 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 1260 L_250DB22E: 1261 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 1262 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 1263 ecx = esi; /* 0x250DB232: mov ecx, esi */ 1264 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 1265 RECOMP_FLAGS_IN(); 1266 edx = eax; /* 0x250DB239: mov edx, eax */ 1267 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 1268 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 1269 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 1270 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1272 _flag_k = FK_CMP; 1273 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 1274 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 1275 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1277 _flag_k = FK_NARROW(FK_CMP, 24); 1278 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 1279 L_250DB249: 1280 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 1281 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 1282 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 1283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1284 _flag_k = FK_CMP; 1285 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 1286 L_250DB251: 1287 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 1288 PUSH32(esp, eax); /* 0x250DB254: push eax */ 1289 ecx = esi; /* 0x250DB255: mov ecx, esi */ 1290 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 1291 RECOMP_FLAGS_IN(); 1292 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 1293 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 1294 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 1295 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 1296 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 1297 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 1298 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 1299 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 1300 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 1301 PUSH32(esp, eax); /* 0x250DB276: push eax */ 1302 ecx = esi; /* 0x250DB277: mov ecx, esi */ 1303 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 1304 RECOMP_FLAGS_IN(); 1305 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 1306 L_250DB280: 1307 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 1308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 1309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1310 _flag_k = FK_CMP; 1311 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 1312 L_250DB285: 1313 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 1314 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 1315 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 1316 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 1317 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 1318 RECOMP_FLAGS_IN(); 1319 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 1320 PUSH32(esp, edx); /* 0x250DB294: push edx */ 1321 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 1322 PUSH32(esp, eax); /* 0x250DB298: push eax */ 1323 ecx = esi; /* 0x250DB299: mov ecx, esi */ 1324 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 1325 RECOMP_FLAGS_IN(); 1326 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 1327 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 1328 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1330 _flag_k = FK_CMP; 1331 RECOMP_BACKEDGE(); 1332 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 1333 L_250DB2A8: 1334 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 1335 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 1336 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 1337 RECOMP_FLAGS_IN(); 1338 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 1339 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 1340 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 1341 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 1342 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 1343 RECOMP_FLAGS_IN(); 1344 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1345 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1346 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 1347 _flag_k = FK_ADD; 1348 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 1349 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 1350 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 1351 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 1352 RECOMP_FLAGS_IN(); 1353 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 1354 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 1355 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 1356 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 1357 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 1358 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 1359 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 1360 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 1361 L_251499F0: 1362 ecx = MEM32(ebp + (-0x1C)); /* 0x251499F0: mov ecx, dword ptr [ebp - 0x1c] */ 1363 RECOMP_BACKEDGE(); 1364 goto L_250DB0B0; /* 0x251499F3: jmp 0x250db0b0 */ 1365 { RECOMP_REGS_OUT(); return; } /* end of function */ 1366 RECOMP_REGS_OUT(); 1367 } 1368 1369 void sub_251499F8(void) { 1370 int _fpu_cmp = 0; 1371 uint32_t _cf = 0; 1372 int _df = 1; 1373 uint32_t _flag_k = FK_NONE; 1374 uint32_t _flag_a = 0, _flag_b = 0; 1375 uint32_t _itail_tgt = 0; 1376 RECOMP_REGS_LOCALS 1377 RECOMP_ENTER(0x251499F8u); 1378 1379 goto L_251499F8; 1380 L_251380C4: 1381 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1382 L_251499F8: 1383 eax = 0x2516A1B8u; /* 0x251499F8: mov eax, 0x2516a1b8 */ 1384 L_251499FD: 1385 RECOMP_BACKEDGE(); 1386 goto L_251380C4; /* 0x251499FD: jmp 0x251380c4 */ 1387 { RECOMP_REGS_OUT(); return; } /* end of function */ 1388 _ljump: 1389 switch (_itail_tgt) { 1390 case 0x251380C4u: goto L_251380C4; 1391 case 0x251499F8u: goto L_251499F8; 1392 case 0x251499FDu: goto L_251499FD; 1393 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1394 } 1395 RECOMP_REGS_OUT(); 1396 } 1397 1398 void sub_25149A10(void) { 1399 int _fpu_cmp = 0; 1400 uint32_t _cf = 0; 1401 int _df = 1; 1402 uint32_t _flag_k = FK_NONE; 1403 uint32_t _flag_a = 0, _flag_b = 0; 1404 uint32_t _itail_tgt = 0; 1405 RECOMP_REGS_LOCALS 1406 RECOMP_ENTER(0x25149A10u); 1407 1408 L_25149A10: 1409 eax = MEM32(ebp + 0xC); /* 0x25149A10: mov eax, dword ptr [ebp + 0xc] */ 1410 PUSH32(esp, eax); /* 0x25149A13: push eax */ 1411 RECOMP_ICALL(0x25137EECu); /* 0x25149A14: call 0x25137eec */ /* not lifted */ 1412 RECOMP_FLAGS_IN(); 1413 ecx = POP32_VAL(esp); /* 0x25149A19: pop ecx */ 1414 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149A1A: ret */ 1415 RECOMP_REGS_OUT(); 1416 } 1417 1418 void sub_25149A1B(void) { 1419 int _fpu_cmp = 0; 1420 uint32_t _cf = 0; 1421 int _df = 1; 1422 uint32_t _flag_k = FK_NONE; 1423 uint32_t _flag_a = 0, _flag_b = 0; 1424 uint32_t _itail_tgt = 0; 1425 RECOMP_REGS_LOCALS 1426 RECOMP_ENTER(0x25149A1Bu); 1427 1428 L_25149A1B: 1429 eax = MEM32(ebp + 0xC); /* 0x25149A1B: mov eax, dword ptr [ebp + 0xc] */ 1430 PUSH32(esp, eax); /* 0x25149A1E: push eax */ 1431 RECOMP_ICALL(0x25137EECu); /* 0x25149A1F: call 0x25137eec */ /* not lifted */ 1432 RECOMP_FLAGS_IN(); 1433 ecx = POP32_VAL(esp); /* 0x25149A24: pop ecx */ 1434 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149A25: ret */ 1435 RECOMP_REGS_OUT(); 1436 } 1437 1438 void sub_25149A26(void) { 1439 int _fpu_cmp = 0; 1440 uint32_t _cf = 0; 1441 int _df = 1; 1442 uint32_t _flag_k = FK_NONE; 1443 uint32_t _flag_a = 0, _flag_b = 0; 1444 uint32_t _itail_tgt = 0; 1445 RECOMP_REGS_LOCALS 1446 RECOMP_ENTER(0x25149A26u); 1447 1448 L_25149A26: 1449 eax = MEM32(ebp + 0xC); /* 0x25149A26: mov eax, dword ptr [ebp + 0xc] */ 1450 PUSH32(esp, eax); /* 0x25149A29: push eax */ 1451 RECOMP_ICALL(0x25137EECu); /* 0x25149A2A: call 0x25137eec */ /* not lifted */ 1452 RECOMP_FLAGS_IN(); 1453 ecx = POP32_VAL(esp); /* 0x25149A2F: pop ecx */ 1454 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149A30: ret */ 1455 RECOMP_REGS_OUT(); 1456 } 1457 1458 void sub_25149A31(void) { 1459 int _fpu_cmp = 0; 1460 uint32_t _cf = 0; 1461 int _df = 1; 1462 uint32_t _flag_k = FK_NONE; 1463 uint32_t _flag_a = 0, _flag_b = 0; 1464 uint32_t _itail_tgt = 0; 1465 RECOMP_REGS_LOCALS 1466 RECOMP_ENTER(0x25149A31u); 1467 1468 goto L_25149A31; 1469 L_251380C4: 1470 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1471 L_25149A31: 1472 eax = 0x2516A1E0u; /* 0x25149A31: mov eax, 0x2516a1e0 */ 1473 L_25149A36: 1474 RECOMP_BACKEDGE(); 1475 goto L_251380C4; /* 0x25149A36: jmp 0x251380c4 */ 1476 { RECOMP_REGS_OUT(); return; } /* end of function */ 1477 _ljump: 1478 switch (_itail_tgt) { 1479 case 0x251380C4u: goto L_251380C4; 1480 case 0x25149A31u: goto L_25149A31; 1481 case 0x25149A36u: goto L_25149A36; 1482 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1483 } 1484 RECOMP_REGS_OUT(); 1485 } 1486 1487 void sub_25149A40(void) { 1488 int _fpu_cmp = 0; 1489 uint32_t _cf = 0; 1490 int _df = 1; 1491 uint32_t _flag_k = FK_NONE; 1492 uint32_t _flag_a = 0, _flag_b = 0; 1493 uint32_t _itail_tgt = 0; 1494 RECOMP_REGS_LOCALS 1495 RECOMP_ENTER(0x25149A40u); 1496 1497 goto L_25149A40; 1498 L_250DB0B0: 1499 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 1500 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 1501 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 1502 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 1503 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 1504 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 1505 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 1506 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1508 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 1509 _flag_k = FK_CMP; 1510 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 1511 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 1512 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 1513 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 1514 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 1515 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 1516 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 1517 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 1518 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 1519 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 1520 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 1521 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 1522 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 1523 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 1524 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1525 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 1526 _cf = 0; 1527 _flag_k = FK_TEST; 1528 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 1529 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1531 _flag_k = FK_CMP; 1532 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 1533 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 1534 L_250DB11E: 1535 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 1536 RECOMP_FLAGS_IN(); 1537 L_250DB123: 1538 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 1539 PUSH32(esp, eax); /* 0x250DB129: push eax */ 1540 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 1541 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 1542 RECOMP_FLAGS_IN(); 1543 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1545 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 1546 _flag_k = FK_ADD; 1547 eax = edi; /* 0x250DB135: mov eax, edi */ 1548 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1549 _cf = (eax) != 0; 1550 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 1551 _flag_k = FK_CMP; 1552 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 1553 eax = _sc ? 0xFFFFFFFFu : 0; 1554 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1555 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1557 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 1558 _cf = 0; 1559 _flag_k = FK_TEST; 1560 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 1561 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 1562 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 1563 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 1564 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 1565 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 1566 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 1567 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1569 _flag_k = FK_CMP; 1570 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 1571 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 1572 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 1573 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 1574 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 1575 L_250DB16C: 1576 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 1577 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 1578 ecx = esi; /* 0x250DB170: mov ecx, esi */ 1579 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 1580 RECOMP_FLAGS_IN(); 1581 ecx = eax; /* 0x250DB177: mov ecx, eax */ 1582 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 1583 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 1584 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 1585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1587 _flag_k = FK_CMP; 1588 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 1589 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 1590 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1592 _flag_k = FK_NARROW(FK_CMP, 24); 1593 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 1594 L_250DB187: 1595 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 1596 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 1597 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1599 _flag_k = FK_CMP; 1600 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 1601 L_250DB18F: 1602 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 1603 PUSH32(esp, edx); /* 0x250DB192: push edx */ 1604 ecx = esi; /* 0x250DB193: mov ecx, esi */ 1605 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 1606 RECOMP_FLAGS_IN(); 1607 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 1608 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 1609 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 1610 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 1611 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 1612 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 1613 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 1614 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 1615 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 1616 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 1617 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 1618 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 1619 RECOMP_FLAGS_IN(); 1620 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 1621 L_250DB1BE: 1622 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 1623 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 1624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1625 _flag_k = FK_CMP; 1626 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 1627 L_250DB1C3: 1628 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 1629 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 1630 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 1631 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 1632 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 1633 RECOMP_FLAGS_IN(); 1634 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 1635 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 1636 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 1637 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 1638 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 1639 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 1640 RECOMP_FLAGS_IN(); 1641 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 1642 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 1643 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 1644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1645 _flag_k = FK_CMP; 1646 RECOMP_BACKEDGE(); 1647 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 1648 L_250DB1E6: 1649 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 1650 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 1651 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 1652 RECOMP_FLAGS_IN(); 1653 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 1654 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 1655 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 1656 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 1657 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 1658 RECOMP_FLAGS_IN(); 1659 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1660 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1661 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 1662 _flag_k = FK_ADD; 1663 eax = edi; /* 0x250DB201: mov eax, edi */ 1664 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1665 _cf = (eax) != 0; 1666 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 1667 _flag_k = FK_CMP; 1668 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 1669 eax = _sc ? 0xFFFFFFFFu : 0; 1670 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1671 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1672 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 1673 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 1674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1675 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 1676 _cf = 0; 1677 _flag_k = FK_TEST; 1678 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 1679 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 1680 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 1681 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 1682 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1684 _flag_k = FK_CMP; 1685 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 1686 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 1687 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 1688 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 1689 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 1690 L_250DB22E: 1691 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 1692 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 1693 ecx = esi; /* 0x250DB232: mov ecx, esi */ 1694 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 1695 RECOMP_FLAGS_IN(); 1696 edx = eax; /* 0x250DB239: mov edx, eax */ 1697 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 1698 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 1699 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 1700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1702 _flag_k = FK_CMP; 1703 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 1704 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 1705 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1707 _flag_k = FK_NARROW(FK_CMP, 24); 1708 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 1709 L_250DB249: 1710 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 1711 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 1712 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 1713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1714 _flag_k = FK_CMP; 1715 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 1716 L_250DB251: 1717 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 1718 PUSH32(esp, eax); /* 0x250DB254: push eax */ 1719 ecx = esi; /* 0x250DB255: mov ecx, esi */ 1720 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 1721 RECOMP_FLAGS_IN(); 1722 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 1723 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 1724 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 1725 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 1726 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 1727 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 1728 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 1729 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 1730 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 1731 PUSH32(esp, eax); /* 0x250DB276: push eax */ 1732 ecx = esi; /* 0x250DB277: mov ecx, esi */ 1733 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 1734 RECOMP_FLAGS_IN(); 1735 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 1736 L_250DB280: 1737 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 1738 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 1739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1740 _flag_k = FK_CMP; 1741 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 1742 L_250DB285: 1743 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 1744 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 1745 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 1746 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 1747 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 1748 RECOMP_FLAGS_IN(); 1749 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 1750 PUSH32(esp, edx); /* 0x250DB294: push edx */ 1751 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 1752 PUSH32(esp, eax); /* 0x250DB298: push eax */ 1753 ecx = esi; /* 0x250DB299: mov ecx, esi */ 1754 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 1755 RECOMP_FLAGS_IN(); 1756 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 1757 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 1758 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1760 _flag_k = FK_CMP; 1761 RECOMP_BACKEDGE(); 1762 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 1763 L_250DB2A8: 1764 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 1765 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 1766 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 1767 RECOMP_FLAGS_IN(); 1768 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 1769 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 1770 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 1771 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 1772 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 1773 RECOMP_FLAGS_IN(); 1774 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1776 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 1777 _flag_k = FK_ADD; 1778 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 1779 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 1780 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 1781 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 1782 RECOMP_FLAGS_IN(); 1783 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 1784 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 1785 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 1786 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 1787 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 1788 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 1789 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 1790 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 1791 L_25149A40: 1792 ecx = MEM32(ebp + (-0x10)); /* 0x25149A40: mov ecx, dword ptr [ebp - 0x10] */ 1793 RECOMP_BACKEDGE(); 1794 goto L_250DB0B0; /* 0x25149A43: jmp 0x250db0b0 */ 1795 { RECOMP_REGS_OUT(); return; } /* end of function */ 1796 RECOMP_REGS_OUT(); 1797 } 1798 1799 void sub_25149A48(void) { 1800 int _fpu_cmp = 0; 1801 uint32_t _cf = 0; 1802 int _df = 1; 1803 uint32_t _flag_k = FK_NONE; 1804 uint32_t _flag_a = 0, _flag_b = 0; 1805 uint32_t _itail_tgt = 0; 1806 RECOMP_REGS_LOCALS 1807 RECOMP_ENTER(0x25149A48u); 1808 1809 goto L_25149A48; 1810 L_251380C4: 1811 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1812 L_25149A48: 1813 eax = 0x2516A218u; /* 0x25149A48: mov eax, 0x2516a218 */ 1814 L_25149A4D: 1815 RECOMP_BACKEDGE(); 1816 goto L_251380C4; /* 0x25149A4D: jmp 0x251380c4 */ 1817 { RECOMP_REGS_OUT(); return; } /* end of function */ 1818 _ljump: 1819 switch (_itail_tgt) { 1820 case 0x251380C4u: goto L_251380C4; 1821 case 0x25149A48u: goto L_25149A48; 1822 case 0x25149A4Du: goto L_25149A4D; 1823 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1824 } 1825 RECOMP_REGS_OUT(); 1826 } 1827 1828 void sub_25149A60(void) { 1829 int _fpu_cmp = 0; 1830 uint32_t _cf = 0; 1831 int _df = 1; 1832 uint32_t _flag_k = FK_NONE; 1833 uint32_t _flag_a = 0, _flag_b = 0; 1834 uint32_t _itail_tgt = 0; 1835 RECOMP_REGS_LOCALS 1836 RECOMP_ENTER(0x25149A60u); 1837 1838 L_25149A60: 1839 eax = MEM32(ebp + (-0x10)); /* 0x25149A60: mov eax, dword ptr [ebp - 0x10] */ 1840 PUSH32(esp, eax); /* 0x25149A63: push eax */ 1841 RECOMP_ICALL(0x25137EECu); /* 0x25149A64: call 0x25137eec */ /* not lifted */ 1842 RECOMP_FLAGS_IN(); 1843 ecx = POP32_VAL(esp); /* 0x25149A69: pop ecx */ 1844 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149A6A: ret */ 1845 RECOMP_REGS_OUT(); 1846 } 1847 1848 void sub_25149A6B(void) { 1849 int _fpu_cmp = 0; 1850 uint32_t _cf = 0; 1851 int _df = 1; 1852 uint32_t _flag_k = FK_NONE; 1853 uint32_t _flag_a = 0, _flag_b = 0; 1854 uint32_t _itail_tgt = 0; 1855 RECOMP_REGS_LOCALS 1856 RECOMP_ENTER(0x25149A6Bu); 1857 1858 goto L_25149A6B; 1859 L_251380C4: 1860 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1861 L_25149A6B: 1862 eax = 0x2516A240u; /* 0x25149A6B: mov eax, 0x2516a240 */ 1863 L_25149A70: 1864 RECOMP_BACKEDGE(); 1865 goto L_251380C4; /* 0x25149A70: jmp 0x251380c4 */ 1866 { RECOMP_REGS_OUT(); return; } /* end of function */ 1867 _ljump: 1868 switch (_itail_tgt) { 1869 case 0x251380C4u: goto L_251380C4; 1870 case 0x25149A6Bu: goto L_25149A6B; 1871 case 0x25149A70u: goto L_25149A70; 1872 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1873 } 1874 RECOMP_REGS_OUT(); 1875 } 1876 1877 void sub_25149A80(void) { 1878 int _fpu_cmp = 0; 1879 uint32_t _cf = 0; 1880 int _df = 1; 1881 uint32_t _flag_k = FK_NONE; 1882 uint32_t _flag_a = 0, _flag_b = 0; 1883 uint32_t _itail_tgt = 0; 1884 RECOMP_REGS_LOCALS 1885 RECOMP_ENTER(0x25149A80u); 1886 1887 L_25149A80: 1888 ecx = ebp + (-0x20); /* 0x25149A80: lea ecx, [ebp - 0x20] */ 1889 goto L_25009BC0; /* 0x25149A83: jmp 0x25009bc0 */ 1890 { RECOMP_REGS_OUT(); return; } /* end of function */ 1891 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1892 RECOMP_REGS_OUT(); 1893 } 1894 1895 void sub_25149A88(void) { 1896 int _fpu_cmp = 0; 1897 uint32_t _cf = 0; 1898 int _df = 1; 1899 uint32_t _flag_k = FK_NONE; 1900 uint32_t _flag_a = 0, _flag_b = 0; 1901 uint32_t _itail_tgt = 0; 1902 RECOMP_REGS_LOCALS 1903 RECOMP_ENTER(0x25149A88u); 1904 1905 goto L_25149A88; 1906 L_251380C4: 1907 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1908 L_25149A88: 1909 eax = 0x2516A268u; /* 0x25149A88: mov eax, 0x2516a268 */ 1910 L_25149A8D: 1911 RECOMP_BACKEDGE(); 1912 goto L_251380C4; /* 0x25149A8D: jmp 0x251380c4 */ 1913 { RECOMP_REGS_OUT(); return; } /* end of function */ 1914 _ljump: 1915 switch (_itail_tgt) { 1916 case 0x251380C4u: goto L_251380C4; 1917 case 0x25149A88u: goto L_25149A88; 1918 case 0x25149A8Du: goto L_25149A8D; 1919 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1920 } 1921 RECOMP_REGS_OUT(); 1922 } 1923 1924 void sub_25149AA0(void) { 1925 int _fpu_cmp = 0; 1926 uint32_t _cf = 0; 1927 int _df = 1; 1928 uint32_t _flag_k = FK_NONE; 1929 uint32_t _flag_a = 0, _flag_b = 0; 1930 uint32_t _itail_tgt = 0; 1931 RECOMP_REGS_LOCALS 1932 RECOMP_ENTER(0x25149AA0u); 1933 1934 L_25149AA0: 1935 eax = MEM32(ebp + (-0x10)); /* 0x25149AA0: mov eax, dword ptr [ebp - 0x10] */ 1936 PUSH32(esp, eax); /* 0x25149AA3: push eax */ 1937 RECOMP_ICALL(0x25137EECu); /* 0x25149AA4: call 0x25137eec */ /* not lifted */ 1938 RECOMP_FLAGS_IN(); 1939 ecx = POP32_VAL(esp); /* 0x25149AA9: pop ecx */ 1940 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149AAA: ret */ 1941 RECOMP_REGS_OUT(); 1942 } 1943 1944 void sub_25149AAB(void) { 1945 int _fpu_cmp = 0; 1946 uint32_t _cf = 0; 1947 int _df = 1; 1948 uint32_t _flag_k = FK_NONE; 1949 uint32_t _flag_a = 0, _flag_b = 0; 1950 uint32_t _itail_tgt = 0; 1951 RECOMP_REGS_LOCALS 1952 RECOMP_ENTER(0x25149AABu); 1953 1954 goto L_25149AAB; 1955 L_251380C4: 1956 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1957 L_25149AAB: 1958 eax = 0x2516A290u; /* 0x25149AAB: mov eax, 0x2516a290 */ 1959 L_25149AB0: 1960 RECOMP_BACKEDGE(); 1961 goto L_251380C4; /* 0x25149AB0: jmp 0x251380c4 */ 1962 { RECOMP_REGS_OUT(); return; } /* end of function */ 1963 _ljump: 1964 switch (_itail_tgt) { 1965 case 0x251380C4u: goto L_251380C4; 1966 case 0x25149AABu: goto L_25149AAB; 1967 case 0x25149AB0u: goto L_25149AB0; 1968 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1969 } 1970 RECOMP_REGS_OUT(); 1971 } 1972 1973 void sub_25149AC0(void) { 1974 int _fpu_cmp = 0; 1975 uint32_t _cf = 0; 1976 int _df = 1; 1977 uint32_t _flag_k = FK_NONE; 1978 uint32_t _flag_a = 0, _flag_b = 0; 1979 uint32_t _itail_tgt = 0; 1980 RECOMP_REGS_LOCALS 1981 RECOMP_ENTER(0x25149AC0u); 1982 1983 L_25149AC0: 1984 ecx = MEM32(ebp + (-0x10)); /* 0x25149AC0: mov ecx, dword ptr [ebp - 0x10] */ 1985 L_25149AC3: 1986 { _itail_tgt = (uint32_t)(MEM32(0x251515B0)); goto _ljump; } 1987 { RECOMP_REGS_OUT(); return; } /* end of function */ 1988 _ljump: 1989 switch (_itail_tgt) { 1990 case 0x25149AC0u: goto L_25149AC0; 1991 case 0x25149AC3u: goto L_25149AC3; 1992 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1993 } 1994 RECOMP_REGS_OUT(); 1995 } 1996 1997 void sub_25149AC9(void) { 1998 int _fpu_cmp = 0; 1999 uint32_t _cf = 0; 2000 int _df = 1; 2001 uint32_t _flag_k = FK_NONE; 2002 uint32_t _flag_a = 0, _flag_b = 0; 2003 uint32_t _itail_tgt = 0; 2004 RECOMP_REGS_LOCALS 2005 RECOMP_ENTER(0x25149AC9u); 2006 2007 goto L_25149AC9; 2008 L_251380C4: 2009 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2010 L_25149AC9: 2011 eax = 0x2516A2B8u; /* 0x25149AC9: mov eax, 0x2516a2b8 */ 2012 L_25149ACE: 2013 RECOMP_BACKEDGE(); 2014 goto L_251380C4; /* 0x25149ACE: jmp 0x251380c4 */ 2015 { RECOMP_REGS_OUT(); return; } /* end of function */ 2016 _ljump: 2017 switch (_itail_tgt) { 2018 case 0x251380C4u: goto L_251380C4; 2019 case 0x25149AC9u: goto L_25149AC9; 2020 case 0x25149ACEu: goto L_25149ACE; 2021 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2022 } 2023 RECOMP_REGS_OUT(); 2024 } 2025 2026 void sub_25149AE0(void) { 2027 int _fpu_cmp = 0; 2028 uint32_t _cf = 0; 2029 int _df = 1; 2030 uint32_t _flag_k = FK_NONE; 2031 uint32_t _flag_a = 0, _flag_b = 0; 2032 uint32_t _itail_tgt = 0; 2033 RECOMP_REGS_LOCALS 2034 RECOMP_ENTER(0x25149AE0u); 2035 2036 L_25149AE0: 2037 eax = MEM32(ebp + (-0x1C)); /* 0x25149AE0: mov eax, dword ptr [ebp - 0x1c] */ 2038 PUSH32(esp, eax); /* 0x25149AE3: push eax */ 2039 RECOMP_ICALL(0x25137EECu); /* 0x25149AE4: call 0x25137eec */ /* not lifted */ 2040 RECOMP_FLAGS_IN(); 2041 ecx = POP32_VAL(esp); /* 0x25149AE9: pop ecx */ 2042 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149AEA: ret */ 2043 RECOMP_REGS_OUT(); 2044 } 2045 2046 void sub_25149AEB(void) { 2047 int _fpu_cmp = 0; 2048 uint32_t _cf = 0; 2049 int _df = 1; 2050 uint32_t _flag_k = FK_NONE; 2051 uint32_t _flag_a = 0, _flag_b = 0; 2052 uint32_t _itail_tgt = 0; 2053 RECOMP_REGS_LOCALS 2054 RECOMP_ENTER(0x25149AEBu); 2055 2056 L_25149AEB: 2057 eax = MEM32(ebp + (-0x1C)); /* 0x25149AEB: mov eax, dword ptr [ebp - 0x1c] */ 2058 PUSH32(esp, eax); /* 0x25149AEE: push eax */ 2059 RECOMP_ICALL(0x25137EECu); /* 0x25149AEF: call 0x25137eec */ /* not lifted */ 2060 RECOMP_FLAGS_IN(); 2061 ecx = POP32_VAL(esp); /* 0x25149AF4: pop ecx */ 2062 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149AF5: ret */ 2063 RECOMP_REGS_OUT(); 2064 } 2065 2066 void sub_25149AF6(void) { 2067 int _fpu_cmp = 0; 2068 uint32_t _cf = 0; 2069 int _df = 1; 2070 uint32_t _flag_k = FK_NONE; 2071 uint32_t _flag_a = 0, _flag_b = 0; 2072 uint32_t _itail_tgt = 0; 2073 RECOMP_REGS_LOCALS 2074 RECOMP_ENTER(0x25149AF6u); 2075 2076 goto L_25149AF6; 2077 L_2510CF40: 2078 MEM32(ecx) = 0x251590D0u; /* 0x2510CF40: mov dword ptr [ecx], 0x251590d0 */ 2079 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510CF46: ret */ 2080 L_25149AF6: 2081 ecx = ebp + (-0x34); /* 0x25149AF6: lea ecx, [ebp - 0x34] */ 2082 RECOMP_BACKEDGE(); 2083 goto L_2510CF40; /* 0x25149AF9: jmp 0x2510cf40 */ 2084 { RECOMP_REGS_OUT(); return; } /* end of function */ 2085 RECOMP_REGS_OUT(); 2086 } 2087 2088 void sub_25149AFE(void) { 2089 int _fpu_cmp = 0; 2090 uint32_t _cf = 0; 2091 int _df = 1; 2092 uint32_t _flag_k = FK_NONE; 2093 uint32_t _flag_a = 0, _flag_b = 0; 2094 uint32_t _itail_tgt = 0; 2095 RECOMP_REGS_LOCALS 2096 RECOMP_ENTER(0x25149AFEu); 2097 2098 L_25149AFE: 2099 eax = MEM32(ebp + 0x8); /* 0x25149AFE: mov eax, dword ptr [ebp + 8] */ 2100 PUSH32(esp, eax); /* 0x25149B01: push eax */ 2101 RECOMP_ICALL(0x25137EECu); /* 0x25149B02: call 0x25137eec */ /* not lifted */ 2102 RECOMP_FLAGS_IN(); 2103 ecx = POP32_VAL(esp); /* 0x25149B07: pop ecx */ 2104 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149B08: ret */ 2105 RECOMP_REGS_OUT(); 2106 } 2107 2108 void sub_25149B09(void) { 2109 int _fpu_cmp = 0; 2110 uint32_t _cf = 0; 2111 int _df = 1; 2112 uint32_t _flag_k = FK_NONE; 2113 uint32_t _flag_a = 0, _flag_b = 0; 2114 uint32_t _itail_tgt = 0; 2115 RECOMP_REGS_LOCALS 2116 RECOMP_ENTER(0x25149B09u); 2117 2118 goto L_25149B09; 2119 L_251380C4: 2120 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2121 L_25149B09: 2122 eax = 0x2516A2E0u; /* 0x25149B09: mov eax, 0x2516a2e0 */ 2123 L_25149B0E: 2124 RECOMP_BACKEDGE(); 2125 goto L_251380C4; /* 0x25149B0E: jmp 0x251380c4 */ 2126 { RECOMP_REGS_OUT(); return; } /* end of function */ 2127 _ljump: 2128 switch (_itail_tgt) { 2129 case 0x251380C4u: goto L_251380C4; 2130 case 0x25149B09u: goto L_25149B09; 2131 case 0x25149B0Eu: goto L_25149B0E; 2132 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2133 } 2134 RECOMP_REGS_OUT(); 2135 } 2136 2137 void sub_25149B20(void) { 2138 int _fpu_cmp = 0; 2139 uint32_t _cf = 0; 2140 int _df = 1; 2141 uint32_t _flag_k = FK_NONE; 2142 uint32_t _flag_a = 0, _flag_b = 0; 2143 uint32_t _itail_tgt = 0; 2144 RECOMP_REGS_LOCALS 2145 RECOMP_ENTER(0x25149B20u); 2146 2147 L_25149B20: 2148 ecx = MEM32(ebp + (-0x10)); /* 0x25149B20: mov ecx, dword ptr [ebp - 0x10] */ 2149 L_25149B23: 2150 { _itail_tgt = (uint32_t)(MEM32(0x251515B0)); goto _ljump; } 2151 { RECOMP_REGS_OUT(); return; } /* end of function */ 2152 _ljump: 2153 switch (_itail_tgt) { 2154 case 0x25149B20u: goto L_25149B20; 2155 case 0x25149B23u: goto L_25149B23; 2156 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2157 } 2158 RECOMP_REGS_OUT(); 2159 } 2160 2161 void sub_25149B29(void) { 2162 int _fpu_cmp = 0; 2163 uint32_t _cf = 0; 2164 int _df = 1; 2165 uint32_t _flag_k = FK_NONE; 2166 uint32_t _flag_a = 0, _flag_b = 0; 2167 uint32_t _itail_tgt = 0; 2168 RECOMP_REGS_LOCALS 2169 RECOMP_ENTER(0x25149B29u); 2170 2171 L_25149B29: 2172 eax = MEM32(ebp + 0x8); /* 0x25149B29: mov eax, dword ptr [ebp + 8] */ 2173 PUSH32(esp, eax); /* 0x25149B2C: push eax */ 2174 RECOMP_ICALL(0x25137EECu); /* 0x25149B2D: call 0x25137eec */ /* not lifted */ 2175 RECOMP_FLAGS_IN(); 2176 ecx = POP32_VAL(esp); /* 0x25149B32: pop ecx */ 2177 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149B33: ret */ 2178 RECOMP_REGS_OUT(); 2179 } 2180 2181 void sub_25149B34(void) { 2182 int _fpu_cmp = 0; 2183 uint32_t _cf = 0; 2184 int _df = 1; 2185 uint32_t _flag_k = FK_NONE; 2186 uint32_t _flag_a = 0, _flag_b = 0; 2187 uint32_t _itail_tgt = 0; 2188 RECOMP_REGS_LOCALS 2189 RECOMP_ENTER(0x25149B34u); 2190 2191 L_25149B34: 2192 eax = MEM32(ebp + (-0x14)); /* 0x25149B34: mov eax, dword ptr [ebp - 0x14] */ 2193 PUSH32(esp, eax); /* 0x25149B37: push eax */ 2194 RECOMP_ICALL(0x25137EECu); /* 0x25149B38: call 0x25137eec */ /* not lifted */ 2195 RECOMP_FLAGS_IN(); 2196 ecx = POP32_VAL(esp); /* 0x25149B3D: pop ecx */ 2197 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149B3E: ret */ 2198 RECOMP_REGS_OUT(); 2199 } 2200 2201 void sub_25149B3F(void) { 2202 int _fpu_cmp = 0; 2203 uint32_t _cf = 0; 2204 int _df = 1; 2205 uint32_t _flag_k = FK_NONE; 2206 uint32_t _flag_a = 0, _flag_b = 0; 2207 uint32_t _itail_tgt = 0; 2208 RECOMP_REGS_LOCALS 2209 RECOMP_ENTER(0x25149B3Fu); 2210 2211 goto L_25149B3F; 2212 L_251380C4: 2213 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2214 L_25149B3F: 2215 eax = 0x2516A358u; /* 0x25149B3F: mov eax, 0x2516a358 */ 2216 L_25149B44: 2217 RECOMP_BACKEDGE(); 2218 goto L_251380C4; /* 0x25149B44: jmp 0x251380c4 */ 2219 { RECOMP_REGS_OUT(); return; } /* end of function */ 2220 _ljump: 2221 switch (_itail_tgt) { 2222 case 0x251380C4u: goto L_251380C4; 2223 case 0x25149B3Fu: goto L_25149B3F; 2224 case 0x25149B44u: goto L_25149B44; 2225 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2226 } 2227 RECOMP_REGS_OUT(); 2228 } 2229 2230 void sub_25149B50(void) { 2231 int _fpu_cmp = 0; 2232 uint32_t _cf = 0; 2233 int _df = 1; 2234 uint32_t _flag_k = FK_NONE; 2235 uint32_t _flag_a = 0, _flag_b = 0; 2236 uint32_t _itail_tgt = 0; 2237 RECOMP_REGS_LOCALS 2238 RECOMP_ENTER(0x25149B50u); 2239 2240 L_25149B50: 2241 ecx = MEM32(ebp + (-0x10)); /* 0x25149B50: mov ecx, dword ptr [ebp - 0x10] */ 2242 L_25149B53: 2243 { _itail_tgt = (uint32_t)(MEM32(0x251515B0)); goto _ljump; } 2244 { RECOMP_REGS_OUT(); return; } /* end of function */ 2245 _ljump: 2246 switch (_itail_tgt) { 2247 case 0x25149B50u: goto L_25149B50; 2248 case 0x25149B53u: goto L_25149B53; 2249 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2250 } 2251 RECOMP_REGS_OUT(); 2252 } 2253 2254 void sub_25149B59(void) { 2255 int _fpu_cmp = 0; 2256 uint32_t _cf = 0; 2257 int _df = 1; 2258 uint32_t _flag_k = FK_NONE; 2259 uint32_t _flag_a = 0, _flag_b = 0; 2260 uint32_t _itail_tgt = 0; 2261 RECOMP_REGS_LOCALS 2262 RECOMP_ENTER(0x25149B59u); 2263 2264 goto L_25149B59; 2265 L_251380C4: 2266 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2267 L_25149B59: 2268 eax = 0x2516A390u; /* 0x25149B59: mov eax, 0x2516a390 */ 2269 L_25149B5E: 2270 RECOMP_BACKEDGE(); 2271 goto L_251380C4; /* 0x25149B5E: jmp 0x251380c4 */ 2272 { RECOMP_REGS_OUT(); return; } /* end of function */ 2273 _ljump: 2274 switch (_itail_tgt) { 2275 case 0x251380C4u: goto L_251380C4; 2276 case 0x25149B59u: goto L_25149B59; 2277 case 0x25149B5Eu: goto L_25149B5E; 2278 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2279 } 2280 RECOMP_REGS_OUT(); 2281 } 2282 2283 void sub_25149B70(void) { 2284 int _fpu_cmp = 0; 2285 uint32_t _cf = 0; 2286 int _df = 1; 2287 uint32_t _flag_k = FK_NONE; 2288 uint32_t _flag_a = 0, _flag_b = 0; 2289 uint32_t _itail_tgt = 0; 2290 RECOMP_REGS_LOCALS 2291 RECOMP_ENTER(0x25149B70u); 2292 2293 L_25149B70: 2294 eax = MEM32(ebp + (-0x24)); /* 0x25149B70: mov eax, dword ptr [ebp - 0x24] */ 2295 PUSH32(esp, eax); /* 0x25149B73: push eax */ 2296 RECOMP_ICALL(0x25137EECu); /* 0x25149B74: call 0x25137eec */ /* not lifted */ 2297 RECOMP_FLAGS_IN(); 2298 ecx = POP32_VAL(esp); /* 0x25149B79: pop ecx */ 2299 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149B7A: ret */ 2300 RECOMP_REGS_OUT(); 2301 } 2302 2303 void sub_25149B7B(void) { 2304 int _fpu_cmp = 0; 2305 uint32_t _cf = 0; 2306 int _df = 1; 2307 uint32_t _flag_k = FK_NONE; 2308 uint32_t _flag_a = 0, _flag_b = 0; 2309 uint32_t _itail_tgt = 0; 2310 RECOMP_REGS_LOCALS 2311 RECOMP_ENTER(0x25149B7Bu); 2312 2313 goto L_25149B7B; 2314 L_251380C4: 2315 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2316 L_25149B7B: 2317 eax = 0x2516A3B8u; /* 0x25149B7B: mov eax, 0x2516a3b8 */ 2318 L_25149B80: 2319 RECOMP_BACKEDGE(); 2320 goto L_251380C4; /* 0x25149B80: jmp 0x251380c4 */ 2321 { RECOMP_REGS_OUT(); return; } /* end of function */ 2322 _ljump: 2323 switch (_itail_tgt) { 2324 case 0x251380C4u: goto L_251380C4; 2325 case 0x25149B7Bu: goto L_25149B7B; 2326 case 0x25149B80u: goto L_25149B80; 2327 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2328 } 2329 RECOMP_REGS_OUT(); 2330 } 2331 2332 void sub_25149B90(void) { 2333 int _fpu_cmp = 0; 2334 uint32_t _cf = 0; 2335 int _df = 1; 2336 uint32_t _flag_k = FK_NONE; 2337 uint32_t _flag_a = 0, _flag_b = 0; 2338 uint32_t _itail_tgt = 0; 2339 RECOMP_REGS_LOCALS 2340 RECOMP_ENTER(0x25149B90u); 2341 2342 L_25149B90: 2343 ecx = MEM32(ebp + (-0x10)); /* 0x25149B90: mov ecx, dword ptr [ebp - 0x10] */ 2344 L_25149B93: 2345 { _itail_tgt = (uint32_t)(MEM32(0x251515B0)); goto _ljump; } 2346 { RECOMP_REGS_OUT(); return; } /* end of function */ 2347 _ljump: 2348 switch (_itail_tgt) { 2349 case 0x25149B90u: goto L_25149B90; 2350 case 0x25149B93u: goto L_25149B93; 2351 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2352 } 2353 RECOMP_REGS_OUT(); 2354 } 2355 2356 void sub_25149B99(void) { 2357 int _fpu_cmp = 0; 2358 uint32_t _cf = 0; 2359 int _df = 1; 2360 uint32_t _flag_k = FK_NONE; 2361 uint32_t _flag_a = 0, _flag_b = 0; 2362 uint32_t _itail_tgt = 0; 2363 RECOMP_REGS_LOCALS 2364 RECOMP_ENTER(0x25149B99u); 2365 2366 goto L_25149B99; 2367 L_251380C4: 2368 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2369 L_25149B99: 2370 eax = 0x2516A3E0u; /* 0x25149B99: mov eax, 0x2516a3e0 */ 2371 L_25149B9E: 2372 RECOMP_BACKEDGE(); 2373 goto L_251380C4; /* 0x25149B9E: jmp 0x251380c4 */ 2374 { RECOMP_REGS_OUT(); return; } /* end of function */ 2375 _ljump: 2376 switch (_itail_tgt) { 2377 case 0x251380C4u: goto L_251380C4; 2378 case 0x25149B99u: goto L_25149B99; 2379 case 0x25149B9Eu: goto L_25149B9E; 2380 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2381 } 2382 RECOMP_REGS_OUT(); 2383 } 2384 2385 void sub_25149BB0(void) { 2386 int _fpu_cmp = 0; 2387 uint32_t _cf = 0; 2388 int _df = 1; 2389 uint32_t _flag_k = FK_NONE; 2390 uint32_t _flag_a = 0, _flag_b = 0; 2391 uint32_t _itail_tgt = 0; 2392 RECOMP_REGS_LOCALS 2393 RECOMP_ENTER(0x25149BB0u); 2394 2395 goto L_25149BB0; 2396 L_2510CF40: 2397 MEM32(ecx) = 0x251590D0u; /* 0x2510CF40: mov dword ptr [ecx], 0x251590d0 */ 2398 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510CF46: ret */ 2399 L_25149BB0: 2400 ecx = ebp + (-0x20); /* 0x25149BB0: lea ecx, [ebp - 0x20] */ 2401 RECOMP_BACKEDGE(); 2402 goto L_2510CF40; /* 0x25149BB3: jmp 0x2510cf40 */ 2403 { RECOMP_REGS_OUT(); return; } /* end of function */ 2404 RECOMP_REGS_OUT(); 2405 } 2406 2407 void sub_25149BB8(void) { 2408 int _fpu_cmp = 0; 2409 uint32_t _cf = 0; 2410 int _df = 1; 2411 uint32_t _flag_k = FK_NONE; 2412 uint32_t _flag_a = 0, _flag_b = 0; 2413 uint32_t _itail_tgt = 0; 2414 RECOMP_REGS_LOCALS 2415 RECOMP_ENTER(0x25149BB8u); 2416 2417 goto L_25149BB8; 2418 L_251380C4: 2419 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2420 L_25149BB8: 2421 eax = 0x2516A408u; /* 0x25149BB8: mov eax, 0x2516a408 */ 2422 L_25149BBD: 2423 RECOMP_BACKEDGE(); 2424 goto L_251380C4; /* 0x25149BBD: jmp 0x251380c4 */ 2425 { RECOMP_REGS_OUT(); return; } /* end of function */ 2426 _ljump: 2427 switch (_itail_tgt) { 2428 case 0x251380C4u: goto L_251380C4; 2429 case 0x25149BB8u: goto L_25149BB8; 2430 case 0x25149BBDu: goto L_25149BBD; 2431 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2432 } 2433 RECOMP_REGS_OUT(); 2434 } 2435 2436 void sub_25149BD0(void) { 2437 int _fpu_cmp = 0; 2438 uint32_t _cf = 0; 2439 int _df = 1; 2440 uint32_t _flag_k = FK_NONE; 2441 uint32_t _flag_a = 0, _flag_b = 0; 2442 uint32_t _itail_tgt = 0; 2443 RECOMP_REGS_LOCALS 2444 RECOMP_ENTER(0x25149BD0u); 2445 2446 L_25149BD0: 2447 eax = MEM32(ebp + (-0x14)); /* 0x25149BD0: mov eax, dword ptr [ebp - 0x14] */ 2448 PUSH32(esp, eax); /* 0x25149BD3: push eax */ 2449 RECOMP_ICALL(0x25137EECu); /* 0x25149BD4: call 0x25137eec */ /* not lifted */ 2450 RECOMP_FLAGS_IN(); 2451 ecx = POP32_VAL(esp); /* 0x25149BD9: pop ecx */ 2452 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149BDA: ret */ 2453 RECOMP_REGS_OUT(); 2454 } 2455 2456 void sub_25149BDB(void) { 2457 int _fpu_cmp = 0; 2458 uint32_t _cf = 0; 2459 int _df = 1; 2460 uint32_t _flag_k = FK_NONE; 2461 uint32_t _flag_a = 0, _flag_b = 0; 2462 uint32_t _itail_tgt = 0; 2463 RECOMP_REGS_LOCALS 2464 RECOMP_ENTER(0x25149BDBu); 2465 2466 L_25149BDB: 2467 eax = MEM32(ebp + (-0x18)); /* 0x25149BDB: mov eax, dword ptr [ebp - 0x18] */ 2468 PUSH32(esp, eax); /* 0x25149BDE: push eax */ 2469 RECOMP_ICALL(0x25137EECu); /* 0x25149BDF: call 0x25137eec */ /* not lifted */ 2470 RECOMP_FLAGS_IN(); 2471 ecx = POP32_VAL(esp); /* 0x25149BE4: pop ecx */ 2472 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149BE5: ret */ 2473 RECOMP_REGS_OUT(); 2474 } 2475 2476 void sub_25149BE6(void) { 2477 int _fpu_cmp = 0; 2478 uint32_t _cf = 0; 2479 int _df = 1; 2480 uint32_t _flag_k = FK_NONE; 2481 uint32_t _flag_a = 0, _flag_b = 0; 2482 uint32_t _itail_tgt = 0; 2483 RECOMP_REGS_LOCALS 2484 RECOMP_ENTER(0x25149BE6u); 2485 2486 goto L_25149BE6; 2487 L_251380C4: 2488 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2489 L_25149BE6: 2490 eax = 0x2516A430u; /* 0x25149BE6: mov eax, 0x2516a430 */ 2491 L_25149BEB: 2492 RECOMP_BACKEDGE(); 2493 goto L_251380C4; /* 0x25149BEB: jmp 0x251380c4 */ 2494 { RECOMP_REGS_OUT(); return; } /* end of function */ 2495 _ljump: 2496 switch (_itail_tgt) { 2497 case 0x251380C4u: goto L_251380C4; 2498 case 0x25149BE6u: goto L_25149BE6; 2499 case 0x25149BEBu: goto L_25149BEB; 2500 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2501 } 2502 RECOMP_REGS_OUT(); 2503 } 2504 2505 void sub_25149BF0(void) { 2506 int _fpu_cmp = 0; 2507 uint32_t _cf = 0; 2508 int _df = 1; 2509 uint32_t _flag_k = FK_NONE; 2510 uint32_t _flag_a = 0, _flag_b = 0; 2511 uint32_t _itail_tgt = 0; 2512 RECOMP_REGS_LOCALS 2513 RECOMP_ENTER(0x25149BF0u); 2514 2515 L_25149BF0: 2516 ecx = MEM32(ebp + (-0x10)); /* 0x25149BF0: mov ecx, dword ptr [ebp - 0x10] */ 2517 L_25149BF3: 2518 { _itail_tgt = (uint32_t)(MEM32(0x251515B0)); goto _ljump; } 2519 { RECOMP_REGS_OUT(); return; } /* end of function */ 2520 _ljump: 2521 switch (_itail_tgt) { 2522 case 0x25149BF0u: goto L_25149BF0; 2523 case 0x25149BF3u: goto L_25149BF3; 2524 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2525 } 2526 RECOMP_REGS_OUT(); 2527 } 2528 2529 void sub_25149BF9(void) { 2530 int _fpu_cmp = 0; 2531 uint32_t _cf = 0; 2532 int _df = 1; 2533 uint32_t _flag_k = FK_NONE; 2534 uint32_t _flag_a = 0, _flag_b = 0; 2535 uint32_t _itail_tgt = 0; 2536 RECOMP_REGS_LOCALS 2537 RECOMP_ENTER(0x25149BF9u); 2538 2539 L_25149BF9: 2540 eax = MEM32(ebp + 0x8); /* 0x25149BF9: mov eax, dword ptr [ebp + 8] */ 2541 PUSH32(esp, eax); /* 0x25149BFC: push eax */ 2542 RECOMP_ICALL(0x25137EECu); /* 0x25149BFD: call 0x25137eec */ /* not lifted */ 2543 RECOMP_FLAGS_IN(); 2544 ecx = POP32_VAL(esp); /* 0x25149C02: pop ecx */ 2545 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149C03: ret */ 2546 RECOMP_REGS_OUT(); 2547 } 2548 2549 void sub_25149C04(void) { 2550 int _fpu_cmp = 0; 2551 uint32_t _cf = 0; 2552 int _df = 1; 2553 uint32_t _flag_k = FK_NONE; 2554 uint32_t _flag_a = 0, _flag_b = 0; 2555 uint32_t _itail_tgt = 0; 2556 RECOMP_REGS_LOCALS 2557 RECOMP_ENTER(0x25149C04u); 2558 2559 L_25149C04: 2560 eax = MEM32(ebp + 0x8); /* 0x25149C04: mov eax, dword ptr [ebp + 8] */ 2561 PUSH32(esp, eax); /* 0x25149C07: push eax */ 2562 RECOMP_ICALL(0x25137EECu); /* 0x25149C08: call 0x25137eec */ /* not lifted */ 2563 RECOMP_FLAGS_IN(); 2564 ecx = POP32_VAL(esp); /* 0x25149C0D: pop ecx */ 2565 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149C0E: ret */ 2566 RECOMP_REGS_OUT(); 2567 } 2568 2569 void sub_25149C0F(void) { 2570 int _fpu_cmp = 0; 2571 uint32_t _cf = 0; 2572 int _df = 1; 2573 uint32_t _flag_k = FK_NONE; 2574 uint32_t _flag_a = 0, _flag_b = 0; 2575 uint32_t _itail_tgt = 0; 2576 RECOMP_REGS_LOCALS 2577 RECOMP_ENTER(0x25149C0Fu); 2578 2579 goto L_25149C0F; 2580 L_251380C4: 2581 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2582 L_25149C0F: 2583 eax = 0x2516A460u; /* 0x25149C0F: mov eax, 0x2516a460 */ 2584 L_25149C14: 2585 RECOMP_BACKEDGE(); 2586 goto L_251380C4; /* 0x25149C14: jmp 0x251380c4 */ 2587 { RECOMP_REGS_OUT(); return; } /* end of function */ 2588 _ljump: 2589 switch (_itail_tgt) { 2590 case 0x251380C4u: goto L_251380C4; 2591 case 0x25149C0Fu: goto L_25149C0F; 2592 case 0x25149C14u: goto L_25149C14; 2593 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2594 } 2595 RECOMP_REGS_OUT(); 2596 } 2597 2598 void sub_25149C20(void) { 2599 int _fpu_cmp = 0; 2600 uint32_t _cf = 0; 2601 int _df = 1; 2602 uint32_t _flag_k = FK_NONE; 2603 uint32_t _flag_a = 0, _flag_b = 0; 2604 uint32_t _itail_tgt = 0; 2605 RECOMP_REGS_LOCALS 2606 RECOMP_ENTER(0x25149C20u); 2607 2608 L_25149C20: 2609 ecx = MEM32(ebp + (-0x10)); /* 0x25149C20: mov ecx, dword ptr [ebp - 0x10] */ 2610 L_25149C23: 2611 { _itail_tgt = (uint32_t)(MEM32(0x251515B0)); goto _ljump; } 2612 { RECOMP_REGS_OUT(); return; } /* end of function */ 2613 _ljump: 2614 switch (_itail_tgt) { 2615 case 0x25149C20u: goto L_25149C20; 2616 case 0x25149C23u: goto L_25149C23; 2617 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2618 } 2619 RECOMP_REGS_OUT(); 2620 } 2621 2622 void sub_25149C29(void) { 2623 int _fpu_cmp = 0; 2624 uint32_t _cf = 0; 2625 int _df = 1; 2626 uint32_t _flag_k = FK_NONE; 2627 uint32_t _flag_a = 0, _flag_b = 0; 2628 uint32_t _itail_tgt = 0; 2629 RECOMP_REGS_LOCALS 2630 RECOMP_ENTER(0x25149C29u); 2631 2632 goto L_25149C29; 2633 L_251380C4: 2634 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2635 L_25149C29: 2636 eax = 0x2516A498u; /* 0x25149C29: mov eax, 0x2516a498 */ 2637 L_25149C2E: 2638 RECOMP_BACKEDGE(); 2639 goto L_251380C4; /* 0x25149C2E: jmp 0x251380c4 */ 2640 { RECOMP_REGS_OUT(); return; } /* end of function */ 2641 _ljump: 2642 switch (_itail_tgt) { 2643 case 0x251380C4u: goto L_251380C4; 2644 case 0x25149C29u: goto L_25149C29; 2645 case 0x25149C2Eu: goto L_25149C2E; 2646 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2647 } 2648 RECOMP_REGS_OUT(); 2649 } 2650 2651 void sub_25149C40(void) { 2652 int _fpu_cmp = 0; 2653 uint32_t _cf = 0; 2654 int _df = 1; 2655 uint32_t _flag_k = FK_NONE; 2656 uint32_t _flag_a = 0, _flag_b = 0; 2657 uint32_t _itail_tgt = 0; 2658 RECOMP_REGS_LOCALS 2659 RECOMP_ENTER(0x25149C40u); 2660 2661 goto L_25149C40; 2662 L_2510CF40: 2663 MEM32(ecx) = 0x251590D0u; /* 0x2510CF40: mov dword ptr [ecx], 0x251590d0 */ 2664 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510CF46: ret */ 2665 L_25149C40: 2666 ecx = ebp + (-0x9C); /* 0x25149C40: lea ecx, [ebp - 0x9c] */ 2667 RECOMP_BACKEDGE(); 2668 goto L_2510CF40; /* 0x25149C46: jmp 0x2510cf40 */ 2669 { RECOMP_REGS_OUT(); return; } /* end of function */ 2670 RECOMP_REGS_OUT(); 2671 } 2672 2673 void sub_25149C4B(void) { 2674 int _fpu_cmp = 0; 2675 uint32_t _cf = 0; 2676 int _df = 1; 2677 uint32_t _flag_k = FK_NONE; 2678 uint32_t _flag_a = 0, _flag_b = 0; 2679 uint32_t _itail_tgt = 0; 2680 RECOMP_REGS_LOCALS 2681 RECOMP_ENTER(0x25149C4Bu); 2682 2683 L_25149C4B: 2684 ecx = ebp + (-0x128); /* 0x25149C4B: lea ecx, [ebp - 0x128] */ 2685 L_25149C51: 2686 { _itail_tgt = (uint32_t)(MEM32(0x25151404)); goto _ljump; } 2687 { RECOMP_REGS_OUT(); return; } /* end of function */ 2688 _ljump: 2689 switch (_itail_tgt) { 2690 case 0x25149C4Bu: goto L_25149C4B; 2691 case 0x25149C51u: goto L_25149C51; 2692 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2693 } 2694 RECOMP_REGS_OUT(); 2695 } 2696 2697 void sub_25149C57(void) { 2698 int _fpu_cmp = 0; 2699 uint32_t _cf = 0; 2700 int _df = 1; 2701 uint32_t _flag_k = FK_NONE; 2702 uint32_t _flag_a = 0, _flag_b = 0; 2703 uint32_t _itail_tgt = 0; 2704 RECOMP_REGS_LOCALS 2705 RECOMP_ENTER(0x25149C57u); 2706 2707 L_25149C57: 2708 eax = MEM32(ebp + (-0x28)); /* 0x25149C57: mov eax, dword ptr [ebp - 0x28] */ 2709 PUSH32(esp, eax); /* 0x25149C5A: push eax */ 2710 ecx = MEM32(ebp + (-0x20)); /* 0x25149C5B: mov ecx, dword ptr [ebp - 0x20] */ 2711 PUSH32(esp, ecx); /* 0x25149C5E: push ecx */ 2712 RECOMP_ICALL(0x2501C580u); /* 0x25149C5F: call 0x2501c580 */ /* not lifted */ 2713 RECOMP_FLAGS_IN(); 2714 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2715 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2716 esp = esp + 8; /* 0x25149C64: add esp, 8 */ 2717 _flag_k = FK_ADD; 2718 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149C67: ret */ 2719 RECOMP_REGS_OUT(); 2720 } 2721 2722 void sub_25149C68(void) { 2723 int _fpu_cmp = 0; 2724 uint32_t _cf = 0; 2725 int _df = 1; 2726 uint32_t _flag_k = FK_NONE; 2727 uint32_t _flag_a = 0, _flag_b = 0; 2728 uint32_t _itail_tgt = 0; 2729 RECOMP_REGS_LOCALS 2730 RECOMP_ENTER(0x25149C68u); 2731 2732 goto L_25149C68; 2733 L_251380C4: 2734 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2735 L_25149C68: 2736 eax = 0x2516A4C0u; /* 0x25149C68: mov eax, 0x2516a4c0 */ 2737 L_25149C6D: 2738 RECOMP_BACKEDGE(); 2739 goto L_251380C4; /* 0x25149C6D: jmp 0x251380c4 */ 2740 { RECOMP_REGS_OUT(); return; } /* end of function */ 2741 _ljump: 2742 switch (_itail_tgt) { 2743 case 0x251380C4u: goto L_251380C4; 2744 case 0x25149C68u: goto L_25149C68; 2745 case 0x25149C6Du: goto L_25149C6D; 2746 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2747 } 2748 RECOMP_REGS_OUT(); 2749 } 2750 2751 void sub_25149C80(void) { 2752 int _fpu_cmp = 0; 2753 uint32_t _cf = 0; 2754 int _df = 1; 2755 uint32_t _flag_k = FK_NONE; 2756 uint32_t _flag_a = 0, _flag_b = 0; 2757 uint32_t _itail_tgt = 0; 2758 RECOMP_REGS_LOCALS 2759 RECOMP_ENTER(0x25149C80u); 2760 2761 L_25149C80: 2762 ecx = MEM32(ebp + (-0x10)); /* 0x25149C80: mov ecx, dword ptr [ebp - 0x10] */ 2763 L_25149C83: 2764 { _itail_tgt = (uint32_t)(MEM32(0x251515B0)); goto _ljump; } 2765 { RECOMP_REGS_OUT(); return; } /* end of function */ 2766 _ljump: 2767 switch (_itail_tgt) { 2768 case 0x25149C80u: goto L_25149C80; 2769 case 0x25149C83u: goto L_25149C83; 2770 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2771 } 2772 RECOMP_REGS_OUT(); 2773 } 2774 2775 void sub_25149C89(void) { 2776 int _fpu_cmp = 0; 2777 uint32_t _cf = 0; 2778 int _df = 1; 2779 uint32_t _flag_k = FK_NONE; 2780 uint32_t _flag_a = 0, _flag_b = 0; 2781 uint32_t _itail_tgt = 0; 2782 RECOMP_REGS_LOCALS 2783 RECOMP_ENTER(0x25149C89u); 2784 2785 goto L_25149C89; 2786 L_251380C4: 2787 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2788 L_25149C89: 2789 eax = 0x2516A530u; /* 0x25149C89: mov eax, 0x2516a530 */ 2790 L_25149C8E: 2791 RECOMP_BACKEDGE(); 2792 goto L_251380C4; /* 0x25149C8E: jmp 0x251380c4 */ 2793 { RECOMP_REGS_OUT(); return; } /* end of function */ 2794 _ljump: 2795 switch (_itail_tgt) { 2796 case 0x251380C4u: goto L_251380C4; 2797 case 0x25149C89u: goto L_25149C89; 2798 case 0x25149C8Eu: goto L_25149C8E; 2799 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2800 } 2801 RECOMP_REGS_OUT(); 2802 } 2803 2804 void sub_25149CA0(void) { 2805 int _fpu_cmp = 0; 2806 uint32_t _cf = 0; 2807 int _df = 1; 2808 uint32_t _flag_k = FK_NONE; 2809 uint32_t _flag_a = 0, _flag_b = 0; 2810 uint32_t _itail_tgt = 0; 2811 RECOMP_REGS_LOCALS 2812 RECOMP_ENTER(0x25149CA0u); 2813 2814 goto L_25149CA0; 2815 L_2510CF40: 2816 MEM32(ecx) = 0x251590D0u; /* 0x2510CF40: mov dword ptr [ecx], 0x251590d0 */ 2817 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510CF46: ret */ 2818 L_25149CA0: 2819 ecx = ebp + (-0x24); /* 0x25149CA0: lea ecx, [ebp - 0x24] */ 2820 RECOMP_BACKEDGE(); 2821 goto L_2510CF40; /* 0x25149CA3: jmp 0x2510cf40 */ 2822 { RECOMP_REGS_OUT(); return; } /* end of function */ 2823 RECOMP_REGS_OUT(); 2824 } 2825 2826 void sub_25149CA8(void) { 2827 int _fpu_cmp = 0; 2828 uint32_t _cf = 0; 2829 int _df = 1; 2830 uint32_t _flag_k = FK_NONE; 2831 uint32_t _flag_a = 0, _flag_b = 0; 2832 uint32_t _itail_tgt = 0; 2833 RECOMP_REGS_LOCALS 2834 RECOMP_ENTER(0x25149CA8u); 2835 2836 goto L_25149CA8; 2837 L_251380C4: 2838 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2839 L_25149CA8: 2840 eax = 0x2516A558u; /* 0x25149CA8: mov eax, 0x2516a558 */ 2841 L_25149CAD: 2842 RECOMP_BACKEDGE(); 2843 goto L_251380C4; /* 0x25149CAD: jmp 0x251380c4 */ 2844 { RECOMP_REGS_OUT(); return; } /* end of function */ 2845 _ljump: 2846 switch (_itail_tgt) { 2847 case 0x251380C4u: goto L_251380C4; 2848 case 0x25149CA8u: goto L_25149CA8; 2849 case 0x25149CADu: goto L_25149CAD; 2850 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2851 } 2852 RECOMP_REGS_OUT(); 2853 } 2854 2855 void sub_25149CC0(void) { 2856 int _fpu_cmp = 0; 2857 uint32_t _cf = 0; 2858 int _df = 1; 2859 uint32_t _flag_k = FK_NONE; 2860 uint32_t _flag_a = 0, _flag_b = 0; 2861 uint32_t _itail_tgt = 0; 2862 RECOMP_REGS_LOCALS 2863 RECOMP_ENTER(0x25149CC0u); 2864 2865 L_25149CC0: 2866 eax = MEM32(ebp + (-0x14)); /* 0x25149CC0: mov eax, dword ptr [ebp - 0x14] */ 2867 PUSH32(esp, eax); /* 0x25149CC3: push eax */ 2868 RECOMP_ICALL(0x25137EECu); /* 0x25149CC4: call 0x25137eec */ /* not lifted */ 2869 RECOMP_FLAGS_IN(); 2870 ecx = POP32_VAL(esp); /* 0x25149CC9: pop ecx */ 2871 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149CCA: ret */ 2872 RECOMP_REGS_OUT(); 2873 } 2874 2875 void sub_25149CCB(void) { 2876 int _fpu_cmp = 0; 2877 uint32_t _cf = 0; 2878 int _df = 1; 2879 uint32_t _flag_k = FK_NONE; 2880 uint32_t _flag_a = 0, _flag_b = 0; 2881 uint32_t _itail_tgt = 0; 2882 RECOMP_REGS_LOCALS 2883 RECOMP_ENTER(0x25149CCBu); 2884 2885 L_25149CCB: 2886 eax = MEM32(ebp + (-0x18)); /* 0x25149CCB: mov eax, dword ptr [ebp - 0x18] */ 2887 PUSH32(esp, eax); /* 0x25149CCE: push eax */ 2888 RECOMP_ICALL(0x25137EECu); /* 0x25149CCF: call 0x25137eec */ /* not lifted */ 2889 RECOMP_FLAGS_IN(); 2890 ecx = POP32_VAL(esp); /* 0x25149CD4: pop ecx */ 2891 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149CD5: ret */ 2892 RECOMP_REGS_OUT(); 2893 } 2894 2895 void sub_25149CD6(void) { 2896 int _fpu_cmp = 0; 2897 uint32_t _cf = 0; 2898 int _df = 1; 2899 uint32_t _flag_k = FK_NONE; 2900 uint32_t _flag_a = 0, _flag_b = 0; 2901 uint32_t _itail_tgt = 0; 2902 RECOMP_REGS_LOCALS 2903 RECOMP_ENTER(0x25149CD6u); 2904 2905 goto L_25149CD6; 2906 L_251380C4: 2907 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2908 L_25149CD6: 2909 eax = 0x2516A580u; /* 0x25149CD6: mov eax, 0x2516a580 */ 2910 L_25149CDB: 2911 RECOMP_BACKEDGE(); 2912 goto L_251380C4; /* 0x25149CDB: jmp 0x251380c4 */ 2913 { RECOMP_REGS_OUT(); return; } /* end of function */ 2914 _ljump: 2915 switch (_itail_tgt) { 2916 case 0x251380C4u: goto L_251380C4; 2917 case 0x25149CD6u: goto L_25149CD6; 2918 case 0x25149CDBu: goto L_25149CDB; 2919 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2920 } 2921 RECOMP_REGS_OUT(); 2922 } 2923 2924 void sub_25149CE0(void) { 2925 int _fpu_cmp = 0; 2926 uint32_t _cf = 0; 2927 int _df = 1; 2928 uint32_t _flag_k = FK_NONE; 2929 uint32_t _flag_a = 0, _flag_b = 0; 2930 uint32_t _itail_tgt = 0; 2931 RECOMP_REGS_LOCALS 2932 RECOMP_ENTER(0x25149CE0u); 2933 2934 L_25149CE0: 2935 ecx = MEM32(ebp + (-0x14)); /* 0x25149CE0: mov ecx, dword ptr [ebp - 0x14] */ 2936 L_25149CE3: 2937 { _itail_tgt = (uint32_t)(MEM32(0x251514B4)); goto _ljump; } 2938 { RECOMP_REGS_OUT(); return; } /* end of function */ 2939 _ljump: 2940 switch (_itail_tgt) { 2941 case 0x25149CE0u: goto L_25149CE0; 2942 case 0x25149CE3u: goto L_25149CE3; 2943 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2944 } 2945 RECOMP_REGS_OUT(); 2946 } 2947 2948 void sub_25149CE9(void) { 2949 int _fpu_cmp = 0; 2950 uint32_t _cf = 0; 2951 int _df = 1; 2952 uint32_t _flag_k = FK_NONE; 2953 uint32_t _flag_a = 0, _flag_b = 0; 2954 uint32_t _itail_tgt = 0; 2955 RECOMP_REGS_LOCALS 2956 RECOMP_ENTER(0x25149CE9u); 2957 2958 goto L_25149CE9; 2959 L_251380C4: 2960 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2961 L_25149CE9: 2962 eax = 0x2516A5B0u; /* 0x25149CE9: mov eax, 0x2516a5b0 */ 2963 L_25149CEE: 2964 RECOMP_BACKEDGE(); 2965 goto L_251380C4; /* 0x25149CEE: jmp 0x251380c4 */ 2966 { RECOMP_REGS_OUT(); return; } /* end of function */ 2967 _ljump: 2968 switch (_itail_tgt) { 2969 case 0x251380C4u: goto L_251380C4; 2970 case 0x25149CE9u: goto L_25149CE9; 2971 case 0x25149CEEu: goto L_25149CEE; 2972 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2973 } 2974 RECOMP_REGS_OUT(); 2975 } 2976 2977 void sub_25149D00(void) { 2978 int _fpu_cmp = 0; 2979 uint32_t _cf = 0; 2980 int _df = 1; 2981 uint32_t _flag_k = FK_NONE; 2982 uint32_t _flag_a = 0, _flag_b = 0; 2983 uint32_t _itail_tgt = 0; 2984 RECOMP_REGS_LOCALS 2985 RECOMP_ENTER(0x25149D00u); 2986 2987 goto L_25149D00; 2988 L_2510CF40: 2989 MEM32(ecx) = 0x251590D0u; /* 0x2510CF40: mov dword ptr [ecx], 0x251590d0 */ 2990 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510CF46: ret */ 2991 L_25149D00: 2992 ecx = ebp + (-0x28); /* 0x25149D00: lea ecx, [ebp - 0x28] */ 2993 RECOMP_BACKEDGE(); 2994 goto L_2510CF40; /* 0x25149D03: jmp 0x2510cf40 */ 2995 { RECOMP_REGS_OUT(); return; } /* end of function */ 2996 RECOMP_REGS_OUT(); 2997 } 2998 2999 void sub_25149D08(void) { 3000 int _fpu_cmp = 0; 3001 uint32_t _cf = 0; 3002 int _df = 1; 3003 uint32_t _flag_k = FK_NONE; 3004 uint32_t _flag_a = 0, _flag_b = 0; 3005 uint32_t _itail_tgt = 0; 3006 RECOMP_REGS_LOCALS 3007 RECOMP_ENTER(0x25149D08u); 3008 3009 L_25149D08: 3010 ecx = ebp + (-0x94); /* 0x25149D08: lea ecx, [ebp - 0x94] */ 3011 L_25149D0E: 3012 { _itail_tgt = (uint32_t)(MEM32(0x25151404)); goto _ljump; } 3013 { RECOMP_REGS_OUT(); return; } /* end of function */ 3014 _ljump: 3015 switch (_itail_tgt) { 3016 case 0x25149D08u: goto L_25149D08; 3017 case 0x25149D0Eu: goto L_25149D0E; 3018 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3019 } 3020 RECOMP_REGS_OUT(); 3021 } 3022 3023 void sub_25149D14(void) { 3024 int _fpu_cmp = 0; 3025 uint32_t _cf = 0; 3026 int _df = 1; 3027 uint32_t _flag_k = FK_NONE; 3028 uint32_t _flag_a = 0, _flag_b = 0; 3029 uint32_t _itail_tgt = 0; 3030 RECOMP_REGS_LOCALS 3031 RECOMP_ENTER(0x25149D14u); 3032 3033 goto L_25149D14; 3034 L_251380C4: 3035 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3036 L_25149D14: 3037 eax = 0x2516A5D8u; /* 0x25149D14: mov eax, 0x2516a5d8 */ 3038 L_25149D19: 3039 RECOMP_BACKEDGE(); 3040 goto L_251380C4; /* 0x25149D19: jmp 0x251380c4 */ 3041 { RECOMP_REGS_OUT(); return; } /* end of function */ 3042 _ljump: 3043 switch (_itail_tgt) { 3044 case 0x251380C4u: goto L_251380C4; 3045 case 0x25149D14u: goto L_25149D14; 3046 case 0x25149D19u: goto L_25149D19; 3047 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3048 } 3049 RECOMP_REGS_OUT(); 3050 } 3051 3052 void sub_25149D20(void) { 3053 int _fpu_cmp = 0; 3054 uint32_t _cf = 0; 3055 int _df = 1; 3056 uint32_t _flag_k = FK_NONE; 3057 uint32_t _flag_a = 0, _flag_b = 0; 3058 uint32_t _itail_tgt = 0; 3059 RECOMP_REGS_LOCALS 3060 RECOMP_ENTER(0x25149D20u); 3061 3062 L_25149D20: 3063 ecx = ebp + (-0x54); /* 0x25149D20: lea ecx, [ebp - 0x54] */ 3064 L_25149D23: 3065 { _itail_tgt = (uint32_t)(MEM32(0x251514A0)); goto _ljump; } 3066 { RECOMP_REGS_OUT(); return; } /* end of function */ 3067 _ljump: 3068 switch (_itail_tgt) { 3069 case 0x25149D20u: goto L_25149D20; 3070 case 0x25149D23u: goto L_25149D23; 3071 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3072 } 3073 RECOMP_REGS_OUT(); 3074 } 3075 3076 void sub_25149D29(void) { 3077 int _fpu_cmp = 0; 3078 uint32_t _cf = 0; 3079 int _df = 1; 3080 uint32_t _flag_k = FK_NONE; 3081 uint32_t _flag_a = 0, _flag_b = 0; 3082 uint32_t _itail_tgt = 0; 3083 RECOMP_REGS_LOCALS 3084 RECOMP_ENTER(0x25149D29u); 3085 3086 goto L_25149D29; 3087 L_251380C4: 3088 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3089 L_25149D29: 3090 eax = 0x2516A640u; /* 0x25149D29: mov eax, 0x2516a640 */ 3091 L_25149D2E: 3092 RECOMP_BACKEDGE(); 3093 goto L_251380C4; /* 0x25149D2E: jmp 0x251380c4 */ 3094 { RECOMP_REGS_OUT(); return; } /* end of function */ 3095 _ljump: 3096 switch (_itail_tgt) { 3097 case 0x251380C4u: goto L_251380C4; 3098 case 0x25149D29u: goto L_25149D29; 3099 case 0x25149D2Eu: goto L_25149D2E; 3100 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3101 } 3102 RECOMP_REGS_OUT(); 3103 } 3104 3105 void sub_25149D40(void) { 3106 int _fpu_cmp = 0; 3107 uint32_t _cf = 0; 3108 int _df = 1; 3109 uint32_t _flag_k = FK_NONE; 3110 uint32_t _flag_a = 0, _flag_b = 0; 3111 uint32_t _itail_tgt = 0; 3112 RECOMP_REGS_LOCALS 3113 RECOMP_ENTER(0x25149D40u); 3114 3115 L_25149D40: 3116 ecx = ebp + (-0x54); /* 0x25149D40: lea ecx, [ebp - 0x54] */ 3117 L_25149D43: 3118 { _itail_tgt = (uint32_t)(MEM32(0x251514A0)); goto _ljump; } 3119 { RECOMP_REGS_OUT(); return; } /* end of function */ 3120 _ljump: 3121 switch (_itail_tgt) { 3122 case 0x25149D40u: goto L_25149D40; 3123 case 0x25149D43u: goto L_25149D43; 3124 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3125 } 3126 RECOMP_REGS_OUT(); 3127 } 3128 3129 void sub_25149D49(void) { 3130 int _fpu_cmp = 0; 3131 uint32_t _cf = 0; 3132 int _df = 1; 3133 uint32_t _flag_k = FK_NONE; 3134 uint32_t _flag_a = 0, _flag_b = 0; 3135 uint32_t _itail_tgt = 0; 3136 RECOMP_REGS_LOCALS 3137 RECOMP_ENTER(0x25149D49u); 3138 3139 goto L_25149D49; 3140 L_251380C4: 3141 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3142 L_25149D49: 3143 eax = 0x2516A668u; /* 0x25149D49: mov eax, 0x2516a668 */ 3144 L_25149D4E: 3145 RECOMP_BACKEDGE(); 3146 goto L_251380C4; /* 0x25149D4E: jmp 0x251380c4 */ 3147 { RECOMP_REGS_OUT(); return; } /* end of function */ 3148 _ljump: 3149 switch (_itail_tgt) { 3150 case 0x251380C4u: goto L_251380C4; 3151 case 0x25149D49u: goto L_25149D49; 3152 case 0x25149D4Eu: goto L_25149D4E; 3153 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3154 } 3155 RECOMP_REGS_OUT(); 3156 } 3157 3158 void sub_25149D60(void) { 3159 int _fpu_cmp = 0; 3160 uint32_t _cf = 0; 3161 int _df = 1; 3162 uint32_t _flag_k = FK_NONE; 3163 uint32_t _flag_a = 0, _flag_b = 0; 3164 uint32_t _itail_tgt = 0; 3165 RECOMP_REGS_LOCALS 3166 RECOMP_ENTER(0x25149D60u); 3167 3168 L_25149D60: 3169 ecx = ebp + (-0x58); /* 0x25149D60: lea ecx, [ebp - 0x58] */ 3170 L_25149D63: 3171 { _itail_tgt = (uint32_t)(MEM32(0x251514A0)); goto _ljump; } 3172 { RECOMP_REGS_OUT(); return; } /* end of function */ 3173 _ljump: 3174 switch (_itail_tgt) { 3175 case 0x25149D60u: goto L_25149D60; 3176 case 0x25149D63u: goto L_25149D63; 3177 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3178 } 3179 RECOMP_REGS_OUT(); 3180 } 3181 3182 void sub_25149D69(void) { 3183 int _fpu_cmp = 0; 3184 uint32_t _cf = 0; 3185 int _df = 1; 3186 uint32_t _flag_k = FK_NONE; 3187 uint32_t _flag_a = 0, _flag_b = 0; 3188 uint32_t _itail_tgt = 0; 3189 RECOMP_REGS_LOCALS 3190 RECOMP_ENTER(0x25149D69u); 3191 3192 goto L_25149D69; 3193 L_251380C4: 3194 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3195 L_25149D69: 3196 eax = 0x2516A690u; /* 0x25149D69: mov eax, 0x2516a690 */ 3197 L_25149D6E: 3198 RECOMP_BACKEDGE(); 3199 goto L_251380C4; /* 0x25149D6E: jmp 0x251380c4 */ 3200 { RECOMP_REGS_OUT(); return; } /* end of function */ 3201 _ljump: 3202 switch (_itail_tgt) { 3203 case 0x251380C4u: goto L_251380C4; 3204 case 0x25149D69u: goto L_25149D69; 3205 case 0x25149D6Eu: goto L_25149D6E; 3206 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3207 } 3208 RECOMP_REGS_OUT(); 3209 } 3210 3211 void sub_25149D80(void) { 3212 int _fpu_cmp = 0; 3213 uint32_t _cf = 0; 3214 int _df = 1; 3215 uint32_t _flag_k = FK_NONE; 3216 uint32_t _flag_a = 0, _flag_b = 0; 3217 uint32_t _itail_tgt = 0; 3218 RECOMP_REGS_LOCALS 3219 RECOMP_ENTER(0x25149D80u); 3220 3221 L_25149D80: 3222 ecx = ebp + 0x8; /* 0x25149D80: lea ecx, [ebp + 8] */ 3223 L_25149D83: 3224 { _itail_tgt = (uint32_t)(MEM32(0x251514A0)); goto _ljump; } 3225 { RECOMP_REGS_OUT(); return; } /* end of function */ 3226 _ljump: 3227 switch (_itail_tgt) { 3228 case 0x25149D80u: goto L_25149D80; 3229 case 0x25149D83u: goto L_25149D83; 3230 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3231 } 3232 RECOMP_REGS_OUT(); 3233 } 3234 3235 void sub_25149D89(void) { 3236 int _fpu_cmp = 0; 3237 uint32_t _cf = 0; 3238 int _df = 1; 3239 uint32_t _flag_k = FK_NONE; 3240 uint32_t _flag_a = 0, _flag_b = 0; 3241 uint32_t _itail_tgt = 0; 3242 RECOMP_REGS_LOCALS 3243 RECOMP_ENTER(0x25149D89u); 3244 3245 L_25149D89: 3246 ecx = ebp + (-0x5C); /* 0x25149D89: lea ecx, [ebp - 0x5c] */ 3247 L_25149D8C: 3248 { _itail_tgt = (uint32_t)(MEM32(0x2515147C)); goto _ljump; } 3249 { RECOMP_REGS_OUT(); return; } /* end of function */ 3250 _ljump: 3251 switch (_itail_tgt) { 3252 case 0x25149D89u: goto L_25149D89; 3253 case 0x25149D8Cu: goto L_25149D8C; 3254 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3255 } 3256 RECOMP_REGS_OUT(); 3257 } 3258 3259 void sub_25149D92(void) { 3260 int _fpu_cmp = 0; 3261 uint32_t _cf = 0; 3262 int _df = 1; 3263 uint32_t _flag_k = FK_NONE; 3264 uint32_t _flag_a = 0, _flag_b = 0; 3265 uint32_t _itail_tgt = 0; 3266 RECOMP_REGS_LOCALS 3267 RECOMP_ENTER(0x25149D92u); 3268 3269 goto L_25149D92; 3270 L_251380C4: 3271 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3272 L_25149D92: 3273 eax = 0x2516A6B8u; /* 0x25149D92: mov eax, 0x2516a6b8 */ 3274 L_25149D97: 3275 RECOMP_BACKEDGE(); 3276 goto L_251380C4; /* 0x25149D97: jmp 0x251380c4 */ 3277 { RECOMP_REGS_OUT(); return; } /* end of function */ 3278 _ljump: 3279 switch (_itail_tgt) { 3280 case 0x251380C4u: goto L_251380C4; 3281 case 0x25149D92u: goto L_25149D92; 3282 case 0x25149D97u: goto L_25149D97; 3283 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3284 } 3285 RECOMP_REGS_OUT(); 3286 } 3287 3288 void sub_25149DA0(void) { 3289 int _fpu_cmp = 0; 3290 uint32_t _cf = 0; 3291 int _df = 1; 3292 uint32_t _flag_k = FK_NONE; 3293 uint32_t _flag_a = 0, _flag_b = 0; 3294 uint32_t _itail_tgt = 0; 3295 RECOMP_REGS_LOCALS 3296 RECOMP_ENTER(0x25149DA0u); 3297 3298 L_25149DA0: 3299 eax = MEM32(ebp + (-0x10)); /* 0x25149DA0: mov eax, dword ptr [ebp - 0x10] */ 3300 PUSH32(esp, eax); /* 0x25149DA3: push eax */ 3301 RECOMP_ICALL(0x25137EECu); /* 0x25149DA4: call 0x25137eec */ /* not lifted */ 3302 RECOMP_FLAGS_IN(); 3303 ecx = POP32_VAL(esp); /* 0x25149DA9: pop ecx */ 3304 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149DAA: ret */ 3305 RECOMP_REGS_OUT(); 3306 } 3307 3308 void sub_25149DAB(void) { 3309 int _fpu_cmp = 0; 3310 uint32_t _cf = 0; 3311 int _df = 1; 3312 uint32_t _flag_k = FK_NONE; 3313 uint32_t _flag_a = 0, _flag_b = 0; 3314 uint32_t _itail_tgt = 0; 3315 RECOMP_REGS_LOCALS 3316 RECOMP_ENTER(0x25149DABu); 3317 3318 goto L_25149DAB; 3319 L_251380C4: 3320 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3321 L_25149DAB: 3322 eax = 0x2516A6E8u; /* 0x25149DAB: mov eax, 0x2516a6e8 */ 3323 L_25149DB0: 3324 RECOMP_BACKEDGE(); 3325 goto L_251380C4; /* 0x25149DB0: jmp 0x251380c4 */ 3326 { RECOMP_REGS_OUT(); return; } /* end of function */ 3327 _ljump: 3328 switch (_itail_tgt) { 3329 case 0x251380C4u: goto L_251380C4; 3330 case 0x25149DABu: goto L_25149DAB; 3331 case 0x25149DB0u: goto L_25149DB0; 3332 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3333 } 3334 RECOMP_REGS_OUT(); 3335 } 3336 3337 void sub_25149DC0(void) { 3338 int _fpu_cmp = 0; 3339 uint32_t _cf = 0; 3340 int _df = 1; 3341 uint32_t _flag_k = FK_NONE; 3342 uint32_t _flag_a = 0, _flag_b = 0; 3343 uint32_t _itail_tgt = 0; 3344 RECOMP_REGS_LOCALS 3345 RECOMP_ENTER(0x25149DC0u); 3346 3347 L_25149DC0: 3348 eax = MEM32(ebp + 0x10); /* 0x25149DC0: mov eax, dword ptr [ebp + 0x10] */ 3349 PUSH32(esp, eax); /* 0x25149DC3: push eax */ 3350 RECOMP_ICALL(0x25137EECu); /* 0x25149DC4: call 0x25137eec */ /* not lifted */ 3351 RECOMP_FLAGS_IN(); 3352 ecx = POP32_VAL(esp); /* 0x25149DC9: pop ecx */ 3353 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149DCA: ret */ 3354 RECOMP_REGS_OUT(); 3355 } 3356 3357 void sub_25149DCB(void) { 3358 int _fpu_cmp = 0; 3359 uint32_t _cf = 0; 3360 int _df = 1; 3361 uint32_t _flag_k = FK_NONE; 3362 uint32_t _flag_a = 0, _flag_b = 0; 3363 uint32_t _itail_tgt = 0; 3364 RECOMP_REGS_LOCALS 3365 RECOMP_ENTER(0x25149DCBu); 3366 3367 goto L_25149DCB; 3368 L_251380C4: 3369 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3370 L_25149DCB: 3371 eax = 0x2516A710u; /* 0x25149DCB: mov eax, 0x2516a710 */ 3372 L_25149DD0: 3373 RECOMP_BACKEDGE(); 3374 goto L_251380C4; /* 0x25149DD0: jmp 0x251380c4 */ 3375 { RECOMP_REGS_OUT(); return; } /* end of function */ 3376 _ljump: 3377 switch (_itail_tgt) { 3378 case 0x251380C4u: goto L_251380C4; 3379 case 0x25149DCBu: goto L_25149DCB; 3380 case 0x25149DD0u: goto L_25149DD0; 3381 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3382 } 3383 RECOMP_REGS_OUT(); 3384 } 3385 3386 void sub_25149DE0(void) { 3387 int _fpu_cmp = 0; 3388 uint32_t _cf = 0; 3389 int _df = 1; 3390 uint32_t _flag_k = FK_NONE; 3391 uint32_t _flag_a = 0, _flag_b = 0; 3392 uint32_t _itail_tgt = 0; 3393 RECOMP_REGS_LOCALS 3394 RECOMP_ENTER(0x25149DE0u); 3395 3396 L_25149DE0: 3397 eax = MEM32(ebp + (-0x10)); /* 0x25149DE0: mov eax, dword ptr [ebp - 0x10] */ 3398 PUSH32(esp, eax); /* 0x25149DE3: push eax */ 3399 RECOMP_ICALL(0x25137EECu); /* 0x25149DE4: call 0x25137eec */ /* not lifted */ 3400 RECOMP_FLAGS_IN(); 3401 ecx = POP32_VAL(esp); /* 0x25149DE9: pop ecx */ 3402 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149DEA: ret */ 3403 RECOMP_REGS_OUT(); 3404 } 3405 3406 void sub_25149DEB(void) { 3407 int _fpu_cmp = 0; 3408 uint32_t _cf = 0; 3409 int _df = 1; 3410 uint32_t _flag_k = FK_NONE; 3411 uint32_t _flag_a = 0, _flag_b = 0; 3412 uint32_t _itail_tgt = 0; 3413 RECOMP_REGS_LOCALS 3414 RECOMP_ENTER(0x25149DEBu); 3415 3416 L_25149DEB: 3417 eax = MEM32(ebp + 0x8); /* 0x25149DEB: mov eax, dword ptr [ebp + 8] */ 3418 PUSH32(esp, eax); /* 0x25149DEE: push eax */ 3419 RECOMP_ICALL(0x25137EECu); /* 0x25149DEF: call 0x25137eec */ /* not lifted */ 3420 RECOMP_FLAGS_IN(); 3421 ecx = POP32_VAL(esp); /* 0x25149DF4: pop ecx */ 3422 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25149DF5: ret */ 3423 RECOMP_REGS_OUT(); 3424 } 3425 3426 void sub_25149DF6(void) { 3427 int _fpu_cmp = 0; 3428 uint32_t _cf = 0; 3429 int _df = 1; 3430 uint32_t _flag_k = FK_NONE; 3431 uint32_t _flag_a = 0, _flag_b = 0; 3432 uint32_t _itail_tgt = 0; 3433 RECOMP_REGS_LOCALS 3434 RECOMP_ENTER(0x25149DF6u); 3435 3436 goto L_25149DF6; 3437 L_251380C4: 3438 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3439 L_25149DF6: 3440 eax = 0x2516A738u; /* 0x25149DF6: mov eax, 0x2516a738 */ 3441 L_25149DFB: 3442 RECOMP_BACKEDGE(); 3443 goto L_251380C4; /* 0x25149DFB: jmp 0x251380c4 */ 3444 { RECOMP_REGS_OUT(); return; } /* end of function */ 3445 _ljump: 3446 switch (_itail_tgt) { 3447 case 0x251380C4u: goto L_251380C4; 3448 case 0x25149DF6u: goto L_25149DF6; 3449 case 0x25149DFBu: goto L_25149DFB; 3450 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3451 } 3452 RECOMP_REGS_OUT(); 3453 }