client/game/bbr.dll/lifted-0091.c (192277B)
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_25147412(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(0x25147412u); 17 18 L_25147412: 19 ecx = ebp + (-0x140); /* 0x25147412: lea ecx, [ebp - 0x140] */ 20 goto L_25009BF0; /* 0x25147418: jmp 0x25009bf0 */ 21 { RECOMP_REGS_OUT(); return; } /* end of function */ 22 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 23 RECOMP_REGS_OUT(); 24 } 25 26 void sub_2514741D(void) { 27 int _fpu_cmp = 0; 28 uint32_t _cf = 0; 29 int _df = 1; 30 uint32_t _flag_k = FK_NONE; 31 uint32_t _flag_a = 0, _flag_b = 0; 32 uint32_t _itail_tgt = 0; 33 RECOMP_REGS_LOCALS 34 RECOMP_ENTER(0x2514741Du); 35 36 L_2514741D: 37 ecx = ebp + (-0x170); /* 0x2514741D: lea ecx, [ebp - 0x170] */ 38 goto L_25009BF0; /* 0x25147423: jmp 0x25009bf0 */ 39 { RECOMP_REGS_OUT(); return; } /* end of function */ 40 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 41 RECOMP_REGS_OUT(); 42 } 43 44 void sub_25147428(void) { 45 int _fpu_cmp = 0; 46 uint32_t _cf = 0; 47 int _df = 1; 48 uint32_t _flag_k = FK_NONE; 49 uint32_t _flag_a = 0, _flag_b = 0; 50 uint32_t _itail_tgt = 0; 51 RECOMP_REGS_LOCALS 52 RECOMP_ENTER(0x25147428u); 53 54 L_25147428: 55 ecx = ebp + (-0x260); /* 0x25147428: lea ecx, [ebp - 0x260] */ 56 goto L_25009BF0; /* 0x2514742E: jmp 0x25009bf0 */ 57 { RECOMP_REGS_OUT(); return; } /* end of function */ 58 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 59 RECOMP_REGS_OUT(); 60 } 61 62 void sub_25147433(void) { 63 int _fpu_cmp = 0; 64 uint32_t _cf = 0; 65 int _df = 1; 66 uint32_t _flag_k = FK_NONE; 67 uint32_t _flag_a = 0, _flag_b = 0; 68 uint32_t _itail_tgt = 0; 69 RECOMP_REGS_LOCALS 70 RECOMP_ENTER(0x25147433u); 71 72 L_25147433: 73 ecx = ebp + (-0x240); /* 0x25147433: lea ecx, [ebp - 0x240] */ 74 goto L_25009BF0; /* 0x25147439: jmp 0x25009bf0 */ 75 { RECOMP_REGS_OUT(); return; } /* end of function */ 76 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 77 RECOMP_REGS_OUT(); 78 } 79 80 void sub_2514743E(void) { 81 int _fpu_cmp = 0; 82 uint32_t _cf = 0; 83 int _df = 1; 84 uint32_t _flag_k = FK_NONE; 85 uint32_t _flag_a = 0, _flag_b = 0; 86 uint32_t _itail_tgt = 0; 87 RECOMP_REGS_LOCALS 88 RECOMP_ENTER(0x2514743Eu); 89 90 L_2514743E: 91 ecx = ebp + (-0x220); /* 0x2514743E: lea ecx, [ebp - 0x220] */ 92 goto L_25009BF0; /* 0x25147444: jmp 0x25009bf0 */ 93 { RECOMP_REGS_OUT(); return; } /* end of function */ 94 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 95 RECOMP_REGS_OUT(); 96 } 97 98 void sub_25147449(void) { 99 int _fpu_cmp = 0; 100 uint32_t _cf = 0; 101 int _df = 1; 102 uint32_t _flag_k = FK_NONE; 103 uint32_t _flag_a = 0, _flag_b = 0; 104 uint32_t _itail_tgt = 0; 105 RECOMP_REGS_LOCALS 106 RECOMP_ENTER(0x25147449u); 107 108 L_25147449: 109 ecx = ebp + (-0x250); /* 0x25147449: lea ecx, [ebp - 0x250] */ 110 goto L_25009BF0; /* 0x2514744F: jmp 0x25009bf0 */ 111 { RECOMP_REGS_OUT(); return; } /* end of function */ 112 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 113 RECOMP_REGS_OUT(); 114 } 115 116 void sub_25147454(void) { 117 int _fpu_cmp = 0; 118 uint32_t _cf = 0; 119 int _df = 1; 120 uint32_t _flag_k = FK_NONE; 121 uint32_t _flag_a = 0, _flag_b = 0; 122 uint32_t _itail_tgt = 0; 123 RECOMP_REGS_LOCALS 124 RECOMP_ENTER(0x25147454u); 125 126 L_25147454: 127 ecx = ebp + (-0x230); /* 0x25147454: lea ecx, [ebp - 0x230] */ 128 goto L_25009BF0; /* 0x2514745A: jmp 0x25009bf0 */ 129 { RECOMP_REGS_OUT(); return; } /* end of function */ 130 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 131 RECOMP_REGS_OUT(); 132 } 133 134 void sub_2514745F(void) { 135 int _fpu_cmp = 0; 136 uint32_t _cf = 0; 137 int _df = 1; 138 uint32_t _flag_k = FK_NONE; 139 uint32_t _flag_a = 0, _flag_b = 0; 140 uint32_t _itail_tgt = 0; 141 RECOMP_REGS_LOCALS 142 RECOMP_ENTER(0x2514745Fu); 143 144 L_2514745F: 145 ecx = ebp + (-0x80); /* 0x2514745F: lea ecx, [ebp - 0x80] */ 146 goto L_25009BF0; /* 0x25147462: jmp 0x25009bf0 */ 147 { RECOMP_REGS_OUT(); return; } /* end of function */ 148 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 149 RECOMP_REGS_OUT(); 150 } 151 152 void sub_25147467(void) { 153 int _fpu_cmp = 0; 154 uint32_t _cf = 0; 155 int _df = 1; 156 uint32_t _flag_k = FK_NONE; 157 uint32_t _flag_a = 0, _flag_b = 0; 158 uint32_t _itail_tgt = 0; 159 RECOMP_REGS_LOCALS 160 RECOMP_ENTER(0x25147467u); 161 162 L_25147467: 163 ecx = ebp + (-0xA0); /* 0x25147467: lea ecx, [ebp - 0xa0] */ 164 goto L_25009BF0; /* 0x2514746D: jmp 0x25009bf0 */ 165 { RECOMP_REGS_OUT(); return; } /* end of function */ 166 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 167 RECOMP_REGS_OUT(); 168 } 169 170 void sub_25147472(void) { 171 int _fpu_cmp = 0; 172 uint32_t _cf = 0; 173 int _df = 1; 174 uint32_t _flag_k = FK_NONE; 175 uint32_t _flag_a = 0, _flag_b = 0; 176 uint32_t _itail_tgt = 0; 177 RECOMP_REGS_LOCALS 178 RECOMP_ENTER(0x25147472u); 179 180 L_25147472: 181 ecx = ebp + (-0x70); /* 0x25147472: lea ecx, [ebp - 0x70] */ 182 goto L_25009BF0; /* 0x25147475: jmp 0x25009bf0 */ 183 { RECOMP_REGS_OUT(); return; } /* end of function */ 184 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 185 RECOMP_REGS_OUT(); 186 } 187 188 void sub_2514747A(void) { 189 int _fpu_cmp = 0; 190 uint32_t _cf = 0; 191 int _df = 1; 192 uint32_t _flag_k = FK_NONE; 193 uint32_t _flag_a = 0, _flag_b = 0; 194 uint32_t _itail_tgt = 0; 195 RECOMP_REGS_LOCALS 196 RECOMP_ENTER(0x2514747Au); 197 198 L_2514747A: 199 ecx = ebp + (-0x90); /* 0x2514747A: lea ecx, [ebp - 0x90] */ 200 goto L_25009BF0; /* 0x25147480: jmp 0x25009bf0 */ 201 { RECOMP_REGS_OUT(); return; } /* end of function */ 202 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 203 RECOMP_REGS_OUT(); 204 } 205 206 void sub_25147485(void) { 207 int _fpu_cmp = 0; 208 uint32_t _cf = 0; 209 int _df = 1; 210 uint32_t _flag_k = FK_NONE; 211 uint32_t _flag_a = 0, _flag_b = 0; 212 uint32_t _itail_tgt = 0; 213 RECOMP_REGS_LOCALS 214 RECOMP_ENTER(0x25147485u); 215 216 L_25147485: 217 ecx = ebp + (-0xB0); /* 0x25147485: lea ecx, [ebp - 0xb0] */ 218 goto L_25009BF0; /* 0x2514748B: jmp 0x25009bf0 */ 219 { RECOMP_REGS_OUT(); return; } /* end of function */ 220 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 221 RECOMP_REGS_OUT(); 222 } 223 224 void sub_25147490(void) { 225 int _fpu_cmp = 0; 226 uint32_t _cf = 0; 227 int _df = 1; 228 uint32_t _flag_k = FK_NONE; 229 uint32_t _flag_a = 0, _flag_b = 0; 230 uint32_t _itail_tgt = 0; 231 RECOMP_REGS_LOCALS 232 RECOMP_ENTER(0x25147490u); 233 234 L_25147490: 235 ecx = ebp + (-0x110); /* 0x25147490: lea ecx, [ebp - 0x110] */ 236 goto L_25009BF0; /* 0x25147496: jmp 0x25009bf0 */ 237 { RECOMP_REGS_OUT(); return; } /* end of function */ 238 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 239 RECOMP_REGS_OUT(); 240 } 241 242 void sub_2514749B(void) { 243 int _fpu_cmp = 0; 244 uint32_t _cf = 0; 245 int _df = 1; 246 uint32_t _flag_k = FK_NONE; 247 uint32_t _flag_a = 0, _flag_b = 0; 248 uint32_t _itail_tgt = 0; 249 RECOMP_REGS_LOCALS 250 RECOMP_ENTER(0x2514749Bu); 251 252 L_2514749B: 253 ecx = ebp + (-0x3C0); /* 0x2514749B: lea ecx, [ebp - 0x3c0] */ 254 L_251474A1: 255 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 256 { RECOMP_REGS_OUT(); return; } /* end of function */ 257 _ljump: 258 switch (_itail_tgt) { 259 case 0x2514749Bu: goto L_2514749B; 260 case 0x251474A1u: goto L_251474A1; 261 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 262 } 263 RECOMP_REGS_OUT(); 264 } 265 266 void sub_251474A7(void) { 267 int _fpu_cmp = 0; 268 uint32_t _cf = 0; 269 int _df = 1; 270 uint32_t _flag_k = FK_NONE; 271 uint32_t _flag_a = 0, _flag_b = 0; 272 uint32_t _itail_tgt = 0; 273 RECOMP_REGS_LOCALS 274 RECOMP_ENTER(0x251474A7u); 275 276 L_251474A7: 277 ecx = ebp + (-0x100); /* 0x251474A7: lea ecx, [ebp - 0x100] */ 278 L_251474AD: 279 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 280 { RECOMP_REGS_OUT(); return; } /* end of function */ 281 _ljump: 282 switch (_itail_tgt) { 283 case 0x251474A7u: goto L_251474A7; 284 case 0x251474ADu: goto L_251474AD; 285 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 286 } 287 RECOMP_REGS_OUT(); 288 } 289 290 void sub_251474B3(void) { 291 int _fpu_cmp = 0; 292 uint32_t _cf = 0; 293 int _df = 1; 294 uint32_t _flag_k = FK_NONE; 295 uint32_t _flag_a = 0, _flag_b = 0; 296 uint32_t _itail_tgt = 0; 297 RECOMP_REGS_LOCALS 298 RECOMP_ENTER(0x251474B3u); 299 300 L_251474B3: 301 ecx = ebp + (-0x210); /* 0x251474B3: lea ecx, [ebp - 0x210] */ 302 L_251474B9: 303 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 304 { RECOMP_REGS_OUT(); return; } /* end of function */ 305 _ljump: 306 switch (_itail_tgt) { 307 case 0x251474B3u: goto L_251474B3; 308 case 0x251474B9u: goto L_251474B9; 309 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 310 } 311 RECOMP_REGS_OUT(); 312 } 313 314 void sub_251474BF(void) { 315 int _fpu_cmp = 0; 316 uint32_t _cf = 0; 317 int _df = 1; 318 uint32_t _flag_k = FK_NONE; 319 uint32_t _flag_a = 0, _flag_b = 0; 320 uint32_t _itail_tgt = 0; 321 RECOMP_REGS_LOCALS 322 RECOMP_ENTER(0x251474BFu); 323 324 L_251474BF: 325 ecx = ebp + (-0x170); /* 0x251474BF: lea ecx, [ebp - 0x170] */ 326 goto L_25009BF0; /* 0x251474C5: jmp 0x25009bf0 */ 327 { RECOMP_REGS_OUT(); return; } /* end of function */ 328 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 329 RECOMP_REGS_OUT(); 330 } 331 332 void sub_251474CA(void) { 333 int _fpu_cmp = 0; 334 uint32_t _cf = 0; 335 int _df = 1; 336 uint32_t _flag_k = FK_NONE; 337 uint32_t _flag_a = 0, _flag_b = 0; 338 uint32_t _itail_tgt = 0; 339 RECOMP_REGS_LOCALS 340 RECOMP_ENTER(0x251474CAu); 341 342 L_251474CA: 343 ecx = ebp + (-0x140); /* 0x251474CA: lea ecx, [ebp - 0x140] */ 344 goto L_25009BF0; /* 0x251474D0: jmp 0x25009bf0 */ 345 { RECOMP_REGS_OUT(); return; } /* end of function */ 346 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 347 RECOMP_REGS_OUT(); 348 } 349 350 void sub_251474D5(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(0x251474D5u); 359 360 L_251474D5: 361 ecx = ebp + (-0x160); /* 0x251474D5: lea ecx, [ebp - 0x160] */ 362 goto L_25009BF0; /* 0x251474DB: jmp 0x25009bf0 */ 363 { RECOMP_REGS_OUT(); return; } /* end of function */ 364 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 365 RECOMP_REGS_OUT(); 366 } 367 368 void sub_251474E0(void) { 369 int _fpu_cmp = 0; 370 uint32_t _cf = 0; 371 int _df = 1; 372 uint32_t _flag_k = FK_NONE; 373 uint32_t _flag_a = 0, _flag_b = 0; 374 uint32_t _itail_tgt = 0; 375 RECOMP_REGS_LOCALS 376 RECOMP_ENTER(0x251474E0u); 377 378 L_251474E0: 379 ecx = ebp + (-0x180); /* 0x251474E0: lea ecx, [ebp - 0x180] */ 380 goto L_25009BF0; /* 0x251474E6: jmp 0x25009bf0 */ 381 { RECOMP_REGS_OUT(); return; } /* end of function */ 382 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 383 RECOMP_REGS_OUT(); 384 } 385 386 void sub_251474EB(void) { 387 int _fpu_cmp = 0; 388 uint32_t _cf = 0; 389 int _df = 1; 390 uint32_t _flag_k = FK_NONE; 391 uint32_t _flag_a = 0, _flag_b = 0; 392 uint32_t _itail_tgt = 0; 393 RECOMP_REGS_LOCALS 394 RECOMP_ENTER(0x251474EBu); 395 396 L_251474EB: 397 ecx = ebp + (-0x1A0); /* 0x251474EB: lea ecx, [ebp - 0x1a0] */ 398 goto L_25009BF0; /* 0x251474F1: jmp 0x25009bf0 */ 399 { RECOMP_REGS_OUT(); return; } /* end of function */ 400 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 401 RECOMP_REGS_OUT(); 402 } 403 404 void sub_251474F6(void) { 405 int _fpu_cmp = 0; 406 uint32_t _cf = 0; 407 int _df = 1; 408 uint32_t _flag_k = FK_NONE; 409 uint32_t _flag_a = 0, _flag_b = 0; 410 uint32_t _itail_tgt = 0; 411 RECOMP_REGS_LOCALS 412 RECOMP_ENTER(0x251474F6u); 413 414 L_251474F6: 415 ecx = ebp + (-0x120); /* 0x251474F6: lea ecx, [ebp - 0x120] */ 416 goto L_25009BF0; /* 0x251474FC: jmp 0x25009bf0 */ 417 { RECOMP_REGS_OUT(); return; } /* end of function */ 418 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 419 RECOMP_REGS_OUT(); 420 } 421 422 void sub_25147501(void) { 423 int _fpu_cmp = 0; 424 uint32_t _cf = 0; 425 int _df = 1; 426 uint32_t _flag_k = FK_NONE; 427 uint32_t _flag_a = 0, _flag_b = 0; 428 uint32_t _itail_tgt = 0; 429 RECOMP_REGS_LOCALS 430 RECOMP_ENTER(0x25147501u); 431 432 L_25147501: 433 ecx = ebp + (-0x130); /* 0x25147501: lea ecx, [ebp - 0x130] */ 434 goto L_25009BF0; /* 0x25147507: jmp 0x25009bf0 */ 435 { RECOMP_REGS_OUT(); return; } /* end of function */ 436 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 437 RECOMP_REGS_OUT(); 438 } 439 440 void sub_2514750C(void) { 441 int _fpu_cmp = 0; 442 uint32_t _cf = 0; 443 int _df = 1; 444 uint32_t _flag_k = FK_NONE; 445 uint32_t _flag_a = 0, _flag_b = 0; 446 uint32_t _itail_tgt = 0; 447 RECOMP_REGS_LOCALS 448 RECOMP_ENTER(0x2514750Cu); 449 450 L_2514750C: 451 ecx = ebp + (-0x150); /* 0x2514750C: lea ecx, [ebp - 0x150] */ 452 goto L_25009BF0; /* 0x25147512: jmp 0x25009bf0 */ 453 { RECOMP_REGS_OUT(); return; } /* end of function */ 454 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 455 RECOMP_REGS_OUT(); 456 } 457 458 void sub_25147517(void) { 459 int _fpu_cmp = 0; 460 uint32_t _cf = 0; 461 int _df = 1; 462 uint32_t _flag_k = FK_NONE; 463 uint32_t _flag_a = 0, _flag_b = 0; 464 uint32_t _itail_tgt = 0; 465 RECOMP_REGS_LOCALS 466 RECOMP_ENTER(0x25147517u); 467 468 L_25147517: 469 ecx = ebp + (-0x240); /* 0x25147517: lea ecx, [ebp - 0x240] */ 470 goto L_25009BF0; /* 0x2514751D: jmp 0x25009bf0 */ 471 { RECOMP_REGS_OUT(); return; } /* end of function */ 472 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 473 RECOMP_REGS_OUT(); 474 } 475 476 void sub_25147522(void) { 477 int _fpu_cmp = 0; 478 uint32_t _cf = 0; 479 int _df = 1; 480 uint32_t _flag_k = FK_NONE; 481 uint32_t _flag_a = 0, _flag_b = 0; 482 uint32_t _itail_tgt = 0; 483 RECOMP_REGS_LOCALS 484 RECOMP_ENTER(0x25147522u); 485 486 L_25147522: 487 ecx = ebp + (-0x260); /* 0x25147522: lea ecx, [ebp - 0x260] */ 488 goto L_25009BF0; /* 0x25147528: jmp 0x25009bf0 */ 489 { RECOMP_REGS_OUT(); return; } /* end of function */ 490 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 491 RECOMP_REGS_OUT(); 492 } 493 494 void sub_2514752D(void) { 495 int _fpu_cmp = 0; 496 uint32_t _cf = 0; 497 int _df = 1; 498 uint32_t _flag_k = FK_NONE; 499 uint32_t _flag_a = 0, _flag_b = 0; 500 uint32_t _itail_tgt = 0; 501 RECOMP_REGS_LOCALS 502 RECOMP_ENTER(0x2514752Du); 503 504 L_2514752D: 505 ecx = ebp + (-0x210); /* 0x2514752D: lea ecx, [ebp - 0x210] */ 506 L_25147533: 507 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 508 { RECOMP_REGS_OUT(); return; } /* end of function */ 509 _ljump: 510 switch (_itail_tgt) { 511 case 0x2514752Du: goto L_2514752D; 512 case 0x25147533u: goto L_25147533; 513 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 514 } 515 RECOMP_REGS_OUT(); 516 } 517 518 void sub_25147539(void) { 519 int _fpu_cmp = 0; 520 uint32_t _cf = 0; 521 int _df = 1; 522 uint32_t _flag_k = FK_NONE; 523 uint32_t _flag_a = 0, _flag_b = 0; 524 uint32_t _itail_tgt = 0; 525 RECOMP_REGS_LOCALS 526 RECOMP_ENTER(0x25147539u); 527 528 L_25147539: 529 ecx = ebp + (-0x100); /* 0x25147539: lea ecx, [ebp - 0x100] */ 530 L_2514753F: 531 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 532 { RECOMP_REGS_OUT(); return; } /* end of function */ 533 _ljump: 534 switch (_itail_tgt) { 535 case 0x25147539u: goto L_25147539; 536 case 0x2514753Fu: goto L_2514753F; 537 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 538 } 539 RECOMP_REGS_OUT(); 540 } 541 542 void sub_25147545(void) { 543 int _fpu_cmp = 0; 544 uint32_t _cf = 0; 545 int _df = 1; 546 uint32_t _flag_k = FK_NONE; 547 uint32_t _flag_a = 0, _flag_b = 0; 548 uint32_t _itail_tgt = 0; 549 RECOMP_REGS_LOCALS 550 RECOMP_ENTER(0x25147545u); 551 552 L_25147545: 553 ecx = ebp + (-0x6C); /* 0x25147545: lea ecx, [ebp - 0x6c] */ 554 goto L_25009BC0; /* 0x25147548: jmp 0x25009bc0 */ 555 { RECOMP_REGS_OUT(); return; } /* end of function */ 556 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 557 RECOMP_REGS_OUT(); 558 } 559 560 void sub_2514754D(void) { 561 int _fpu_cmp = 0; 562 uint32_t _cf = 0; 563 int _df = 1; 564 uint32_t _flag_k = FK_NONE; 565 uint32_t _flag_a = 0, _flag_b = 0; 566 uint32_t _itail_tgt = 0; 567 RECOMP_REGS_LOCALS 568 RECOMP_ENTER(0x2514754Du); 569 570 L_2514754D: 571 ecx = ebp + (-0x9C); /* 0x2514754D: lea ecx, [ebp - 0x9c] */ 572 goto L_25009BC0; /* 0x25147553: jmp 0x25009bc0 */ 573 { RECOMP_REGS_OUT(); return; } /* end of function */ 574 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 575 RECOMP_REGS_OUT(); 576 } 577 578 void sub_25147558(void) { 579 int _fpu_cmp = 0; 580 uint32_t _cf = 0; 581 int _df = 1; 582 uint32_t _flag_k = FK_NONE; 583 uint32_t _flag_a = 0, _flag_b = 0; 584 uint32_t _itail_tgt = 0; 585 RECOMP_REGS_LOCALS 586 RECOMP_ENTER(0x25147558u); 587 588 L_25147558: 589 ecx = ebp + (-0x7C); /* 0x25147558: lea ecx, [ebp - 0x7c] */ 590 goto L_25009BC0; /* 0x2514755B: jmp 0x25009bc0 */ 591 { RECOMP_REGS_OUT(); return; } /* end of function */ 592 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 593 RECOMP_REGS_OUT(); 594 } 595 596 void sub_25147560(void) { 597 int _fpu_cmp = 0; 598 uint32_t _cf = 0; 599 int _df = 1; 600 uint32_t _flag_k = FK_NONE; 601 uint32_t _flag_a = 0, _flag_b = 0; 602 uint32_t _itail_tgt = 0; 603 RECOMP_REGS_LOCALS 604 RECOMP_ENTER(0x25147560u); 605 606 L_25147560: 607 ecx = ebp + (-0xBC); /* 0x25147560: lea ecx, [ebp - 0xbc] */ 608 goto L_25009BC0; /* 0x25147566: jmp 0x25009bc0 */ 609 { RECOMP_REGS_OUT(); return; } /* end of function */ 610 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 611 RECOMP_REGS_OUT(); 612 } 613 614 void sub_2514756B(void) { 615 int _fpu_cmp = 0; 616 uint32_t _cf = 0; 617 int _df = 1; 618 uint32_t _flag_k = FK_NONE; 619 uint32_t _flag_a = 0, _flag_b = 0; 620 uint32_t _itail_tgt = 0; 621 RECOMP_REGS_LOCALS 622 RECOMP_ENTER(0x2514756Bu); 623 624 L_2514756B: 625 ecx = ebp + (-0x2B0); /* 0x2514756B: lea ecx, [ebp - 0x2b0] */ 626 goto L_25009BF0; /* 0x25147571: jmp 0x25009bf0 */ 627 { RECOMP_REGS_OUT(); return; } /* end of function */ 628 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 629 RECOMP_REGS_OUT(); 630 } 631 632 void sub_25147576(void) { 633 int _fpu_cmp = 0; 634 uint32_t _cf = 0; 635 int _df = 1; 636 uint32_t _flag_k = FK_NONE; 637 uint32_t _flag_a = 0, _flag_b = 0; 638 uint32_t _itail_tgt = 0; 639 RECOMP_REGS_LOCALS 640 RECOMP_ENTER(0x25147576u); 641 642 L_25147576: 643 ecx = ebp + (-0x290); /* 0x25147576: lea ecx, [ebp - 0x290] */ 644 goto L_25009BF0; /* 0x2514757C: jmp 0x25009bf0 */ 645 { RECOMP_REGS_OUT(); return; } /* end of function */ 646 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 647 RECOMP_REGS_OUT(); 648 } 649 650 void sub_25147581(void) { 651 int _fpu_cmp = 0; 652 uint32_t _cf = 0; 653 int _df = 1; 654 uint32_t _flag_k = FK_NONE; 655 uint32_t _flag_a = 0, _flag_b = 0; 656 uint32_t _itail_tgt = 0; 657 RECOMP_REGS_LOCALS 658 RECOMP_ENTER(0x25147581u); 659 660 L_25147581: 661 ecx = ebp + (-0x280); /* 0x25147581: lea ecx, [ebp - 0x280] */ 662 goto L_25009BF0; /* 0x25147587: jmp 0x25009bf0 */ 663 { RECOMP_REGS_OUT(); return; } /* end of function */ 664 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 665 RECOMP_REGS_OUT(); 666 } 667 668 void sub_2514758C(void) { 669 int _fpu_cmp = 0; 670 uint32_t _cf = 0; 671 int _df = 1; 672 uint32_t _flag_k = FK_NONE; 673 uint32_t _flag_a = 0, _flag_b = 0; 674 uint32_t _itail_tgt = 0; 675 RECOMP_REGS_LOCALS 676 RECOMP_ENTER(0x2514758Cu); 677 678 L_2514758C: 679 ecx = ebp + (-0x300); /* 0x2514758C: lea ecx, [ebp - 0x300] */ 680 goto L_25009BF0; /* 0x25147592: jmp 0x25009bf0 */ 681 { RECOMP_REGS_OUT(); return; } /* end of function */ 682 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 683 RECOMP_REGS_OUT(); 684 } 685 686 void sub_25147597(void) { 687 int _fpu_cmp = 0; 688 uint32_t _cf = 0; 689 int _df = 1; 690 uint32_t _flag_k = FK_NONE; 691 uint32_t _flag_a = 0, _flag_b = 0; 692 uint32_t _itail_tgt = 0; 693 RECOMP_REGS_LOCALS 694 RECOMP_ENTER(0x25147597u); 695 696 L_25147597: 697 ecx = ebp + (-0x310); /* 0x25147597: lea ecx, [ebp - 0x310] */ 698 goto L_25009BF0; /* 0x2514759D: jmp 0x25009bf0 */ 699 { RECOMP_REGS_OUT(); return; } /* end of function */ 700 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 701 RECOMP_REGS_OUT(); 702 } 703 704 void sub_251475A2(void) { 705 int _fpu_cmp = 0; 706 uint32_t _cf = 0; 707 int _df = 1; 708 uint32_t _flag_k = FK_NONE; 709 uint32_t _flag_a = 0, _flag_b = 0; 710 uint32_t _itail_tgt = 0; 711 RECOMP_REGS_LOCALS 712 RECOMP_ENTER(0x251475A2u); 713 714 L_251475A2: 715 ecx = ebp + (-0x2E0); /* 0x251475A2: lea ecx, [ebp - 0x2e0] */ 716 goto L_25009BF0; /* 0x251475A8: jmp 0x25009bf0 */ 717 { RECOMP_REGS_OUT(); return; } /* end of function */ 718 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 719 RECOMP_REGS_OUT(); 720 } 721 722 void sub_251475AD(void) { 723 int _fpu_cmp = 0; 724 uint32_t _cf = 0; 725 int _df = 1; 726 uint32_t _flag_k = FK_NONE; 727 uint32_t _flag_a = 0, _flag_b = 0; 728 uint32_t _itail_tgt = 0; 729 RECOMP_REGS_LOCALS 730 RECOMP_ENTER(0x251475ADu); 731 732 L_251475AD: 733 ecx = ebp + (-0x330); /* 0x251475AD: lea ecx, [ebp - 0x330] */ 734 goto L_25009BF0; /* 0x251475B3: jmp 0x25009bf0 */ 735 { RECOMP_REGS_OUT(); return; } /* end of function */ 736 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 737 RECOMP_REGS_OUT(); 738 } 739 740 void sub_251475B8(void) { 741 int _fpu_cmp = 0; 742 uint32_t _cf = 0; 743 int _df = 1; 744 uint32_t _flag_k = FK_NONE; 745 uint32_t _flag_a = 0, _flag_b = 0; 746 uint32_t _itail_tgt = 0; 747 RECOMP_REGS_LOCALS 748 RECOMP_ENTER(0x251475B8u); 749 750 L_251475B8: 751 ecx = ebp + (-0x2C0); /* 0x251475B8: lea ecx, [ebp - 0x2c0] */ 752 goto L_25009BF0; /* 0x251475BE: jmp 0x25009bf0 */ 753 { RECOMP_REGS_OUT(); return; } /* end of function */ 754 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 755 RECOMP_REGS_OUT(); 756 } 757 758 void sub_251475C3(void) { 759 int _fpu_cmp = 0; 760 uint32_t _cf = 0; 761 int _df = 1; 762 uint32_t _flag_k = FK_NONE; 763 uint32_t _flag_a = 0, _flag_b = 0; 764 uint32_t _itail_tgt = 0; 765 RECOMP_REGS_LOCALS 766 RECOMP_ENTER(0x251475C3u); 767 768 L_251475C3: 769 ecx = ebp + (-0x340); /* 0x251475C3: lea ecx, [ebp - 0x340] */ 770 goto L_25009BF0; /* 0x251475C9: jmp 0x25009bf0 */ 771 { RECOMP_REGS_OUT(); return; } /* end of function */ 772 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 773 RECOMP_REGS_OUT(); 774 } 775 776 void sub_251475CE(void) { 777 int _fpu_cmp = 0; 778 uint32_t _cf = 0; 779 int _df = 1; 780 uint32_t _flag_k = FK_NONE; 781 uint32_t _flag_a = 0, _flag_b = 0; 782 uint32_t _itail_tgt = 0; 783 RECOMP_REGS_LOCALS 784 RECOMP_ENTER(0x251475CEu); 785 786 L_251475CE: 787 ecx = ebp + (-0x2A0); /* 0x251475CE: lea ecx, [ebp - 0x2a0] */ 788 goto L_25009BF0; /* 0x251475D4: jmp 0x25009bf0 */ 789 { RECOMP_REGS_OUT(); return; } /* end of function */ 790 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 791 RECOMP_REGS_OUT(); 792 } 793 794 void sub_251475D9(void) { 795 int _fpu_cmp = 0; 796 uint32_t _cf = 0; 797 int _df = 1; 798 uint32_t _flag_k = FK_NONE; 799 uint32_t _flag_a = 0, _flag_b = 0; 800 uint32_t _itail_tgt = 0; 801 RECOMP_REGS_LOCALS 802 RECOMP_ENTER(0x251475D9u); 803 804 L_251475D9: 805 ecx = ebp + (-0x320); /* 0x251475D9: lea ecx, [ebp - 0x320] */ 806 goto L_25009BF0; /* 0x251475DF: jmp 0x25009bf0 */ 807 { RECOMP_REGS_OUT(); return; } /* end of function */ 808 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 809 RECOMP_REGS_OUT(); 810 } 811 812 void sub_251475E4(void) { 813 int _fpu_cmp = 0; 814 uint32_t _cf = 0; 815 int _df = 1; 816 uint32_t _flag_k = FK_NONE; 817 uint32_t _flag_a = 0, _flag_b = 0; 818 uint32_t _itail_tgt = 0; 819 RECOMP_REGS_LOCALS 820 RECOMP_ENTER(0x251475E4u); 821 822 L_251475E4: 823 ecx = ebp + (-0x270); /* 0x251475E4: lea ecx, [ebp - 0x270] */ 824 goto L_25009BF0; /* 0x251475EA: jmp 0x25009bf0 */ 825 { RECOMP_REGS_OUT(); return; } /* end of function */ 826 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 827 RECOMP_REGS_OUT(); 828 } 829 830 void sub_251475EF(void) { 831 int _fpu_cmp = 0; 832 uint32_t _cf = 0; 833 int _df = 1; 834 uint32_t _flag_k = FK_NONE; 835 uint32_t _flag_a = 0, _flag_b = 0; 836 uint32_t _itail_tgt = 0; 837 RECOMP_REGS_LOCALS 838 RECOMP_ENTER(0x251475EFu); 839 840 L_251475EF: 841 ecx = ebp + (-0x2D0); /* 0x251475EF: lea ecx, [ebp - 0x2d0] */ 842 goto L_25009BF0; /* 0x251475F5: jmp 0x25009bf0 */ 843 { RECOMP_REGS_OUT(); return; } /* end of function */ 844 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 845 RECOMP_REGS_OUT(); 846 } 847 848 void sub_251475FA(void) { 849 int _fpu_cmp = 0; 850 uint32_t _cf = 0; 851 int _df = 1; 852 uint32_t _flag_k = FK_NONE; 853 uint32_t _flag_a = 0, _flag_b = 0; 854 uint32_t _itail_tgt = 0; 855 RECOMP_REGS_LOCALS 856 RECOMP_ENTER(0x251475FAu); 857 858 L_251475FA: 859 ecx = ebp + (-0x2F0); /* 0x251475FA: lea ecx, [ebp - 0x2f0] */ 860 goto L_25009BF0; /* 0x25147600: jmp 0x25009bf0 */ 861 { RECOMP_REGS_OUT(); return; } /* end of function */ 862 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 863 RECOMP_REGS_OUT(); 864 } 865 866 void sub_25147605(void) { 867 int _fpu_cmp = 0; 868 uint32_t _cf = 0; 869 int _df = 1; 870 uint32_t _flag_k = FK_NONE; 871 uint32_t _flag_a = 0, _flag_b = 0; 872 uint32_t _itail_tgt = 0; 873 RECOMP_REGS_LOCALS 874 RECOMP_ENTER(0x25147605u); 875 876 L_25147605: 877 ecx = ebp + (-0x90); /* 0x25147605: lea ecx, [ebp - 0x90] */ 878 goto L_25009BF0; /* 0x2514760B: jmp 0x25009bf0 */ 879 { RECOMP_REGS_OUT(); return; } /* end of function */ 880 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 881 RECOMP_REGS_OUT(); 882 } 883 884 void sub_25147610(void) { 885 int _fpu_cmp = 0; 886 uint32_t _cf = 0; 887 int _df = 1; 888 uint32_t _flag_k = FK_NONE; 889 uint32_t _flag_a = 0, _flag_b = 0; 890 uint32_t _itail_tgt = 0; 891 RECOMP_REGS_LOCALS 892 RECOMP_ENTER(0x25147610u); 893 894 L_25147610: 895 ecx = ebp + (-0xB0); /* 0x25147610: lea ecx, [ebp - 0xb0] */ 896 goto L_25009BF0; /* 0x25147616: jmp 0x25009bf0 */ 897 { RECOMP_REGS_OUT(); return; } /* end of function */ 898 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 899 RECOMP_REGS_OUT(); 900 } 901 902 void sub_2514761B(void) { 903 int _fpu_cmp = 0; 904 uint32_t _cf = 0; 905 int _df = 1; 906 uint32_t _flag_k = FK_NONE; 907 uint32_t _flag_a = 0, _flag_b = 0; 908 uint32_t _itail_tgt = 0; 909 RECOMP_REGS_LOCALS 910 RECOMP_ENTER(0x2514761Bu); 911 912 L_2514761B: 913 ecx = ebp + (-0x230); /* 0x2514761B: lea ecx, [ebp - 0x230] */ 914 goto L_25009BF0; /* 0x25147621: jmp 0x25009bf0 */ 915 { RECOMP_REGS_OUT(); return; } /* end of function */ 916 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 917 RECOMP_REGS_OUT(); 918 } 919 920 void sub_25147626(void) { 921 int _fpu_cmp = 0; 922 uint32_t _cf = 0; 923 int _df = 1; 924 uint32_t _flag_k = FK_NONE; 925 uint32_t _flag_a = 0, _flag_b = 0; 926 uint32_t _itail_tgt = 0; 927 RECOMP_REGS_LOCALS 928 RECOMP_ENTER(0x25147626u); 929 930 L_25147626: 931 ecx = ebp + (-0x250); /* 0x25147626: lea ecx, [ebp - 0x250] */ 932 goto L_25009BF0; /* 0x2514762C: jmp 0x25009bf0 */ 933 { RECOMP_REGS_OUT(); return; } /* end of function */ 934 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 935 RECOMP_REGS_OUT(); 936 } 937 938 void sub_25147631(void) { 939 int _fpu_cmp = 0; 940 uint32_t _cf = 0; 941 int _df = 1; 942 uint32_t _flag_k = FK_NONE; 943 uint32_t _flag_a = 0, _flag_b = 0; 944 uint32_t _itail_tgt = 0; 945 RECOMP_REGS_LOCALS 946 RECOMP_ENTER(0x25147631u); 947 948 L_25147631: 949 ecx = ebp + (-0x220); /* 0x25147631: lea ecx, [ebp - 0x220] */ 950 goto L_25009BF0; /* 0x25147637: jmp 0x25009bf0 */ 951 { RECOMP_REGS_OUT(); return; } /* end of function */ 952 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 953 RECOMP_REGS_OUT(); 954 } 955 956 void sub_2514763C(void) { 957 int _fpu_cmp = 0; 958 uint32_t _cf = 0; 959 int _df = 1; 960 uint32_t _flag_k = FK_NONE; 961 uint32_t _flag_a = 0, _flag_b = 0; 962 uint32_t _itail_tgt = 0; 963 RECOMP_REGS_LOCALS 964 RECOMP_ENTER(0x2514763Cu); 965 966 L_2514763C: 967 ecx = ebp + (-0x380); /* 0x2514763C: lea ecx, [ebp - 0x380] */ 968 L_25147642: 969 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 970 { RECOMP_REGS_OUT(); return; } /* end of function */ 971 _ljump: 972 switch (_itail_tgt) { 973 case 0x2514763Cu: goto L_2514763C; 974 case 0x25147642u: goto L_25147642; 975 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 976 } 977 RECOMP_REGS_OUT(); 978 } 979 980 void sub_25147648(void) { 981 int _fpu_cmp = 0; 982 uint32_t _cf = 0; 983 int _df = 1; 984 uint32_t _flag_k = FK_NONE; 985 uint32_t _flag_a = 0, _flag_b = 0; 986 uint32_t _itail_tgt = 0; 987 RECOMP_REGS_LOCALS 988 RECOMP_ENTER(0x25147648u); 989 990 L_25147648: 991 ecx = ebp + (-0x400); /* 0x25147648: lea ecx, [ebp - 0x400] */ 992 L_2514764E: 993 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 994 { RECOMP_REGS_OUT(); return; } /* end of function */ 995 _ljump: 996 switch (_itail_tgt) { 997 case 0x25147648u: goto L_25147648; 998 case 0x2514764Eu: goto L_2514764E; 999 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1000 } 1001 RECOMP_REGS_OUT(); 1002 } 1003 1004 void sub_25147654(void) { 1005 int _fpu_cmp = 0; 1006 uint32_t _cf = 0; 1007 int _df = 1; 1008 uint32_t _flag_k = FK_NONE; 1009 uint32_t _flag_a = 0, _flag_b = 0; 1010 uint32_t _itail_tgt = 0; 1011 RECOMP_REGS_LOCALS 1012 RECOMP_ENTER(0x25147654u); 1013 1014 L_25147654: 1015 ecx = ebp + (-0x440); /* 0x25147654: lea ecx, [ebp - 0x440] */ 1016 L_2514765A: 1017 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 1018 { RECOMP_REGS_OUT(); return; } /* end of function */ 1019 _ljump: 1020 switch (_itail_tgt) { 1021 case 0x25147654u: goto L_25147654; 1022 case 0x2514765Au: goto L_2514765A; 1023 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1024 } 1025 RECOMP_REGS_OUT(); 1026 } 1027 1028 void sub_25147660(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(0x25147660u); 1037 1038 goto L_25147660; 1039 L_251380C4: 1040 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1041 L_25147660: 1042 eax = 0x251677E8u; /* 0x25147660: mov eax, 0x251677e8 */ 1043 L_25147665: 1044 RECOMP_BACKEDGE(); 1045 goto L_251380C4; /* 0x25147665: jmp 0x251380c4 */ 1046 { RECOMP_REGS_OUT(); return; } /* end of function */ 1047 _ljump: 1048 switch (_itail_tgt) { 1049 case 0x251380C4u: goto L_251380C4; 1050 case 0x25147660u: goto L_25147660; 1051 case 0x25147665u: goto L_25147665; 1052 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1053 } 1054 RECOMP_REGS_OUT(); 1055 } 1056 1057 void sub_25147670(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(0x25147670u); 1066 1067 L_25147670: 1068 eax = MEM32(ebp + 0x8); /* 0x25147670: mov eax, dword ptr [ebp + 8] */ 1069 PUSH32(esp, eax); /* 0x25147673: push eax */ 1070 RECOMP_ICALL(0x25137EECu); /* 0x25147674: call 0x25137eec */ /* not lifted */ 1071 RECOMP_FLAGS_IN(); 1072 ecx = POP32_VAL(esp); /* 0x25147679: pop ecx */ 1073 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514767A: ret */ 1074 RECOMP_REGS_OUT(); 1075 } 1076 1077 void sub_2514767B(void) { 1078 int _fpu_cmp = 0; 1079 uint32_t _cf = 0; 1080 int _df = 1; 1081 uint32_t _flag_k = FK_NONE; 1082 uint32_t _flag_a = 0, _flag_b = 0; 1083 uint32_t _itail_tgt = 0; 1084 RECOMP_REGS_LOCALS 1085 RECOMP_ENTER(0x2514767Bu); 1086 1087 goto L_2514767B; 1088 L_251380C4: 1089 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1090 L_2514767B: 1091 eax = 0x25167A68u; /* 0x2514767B: mov eax, 0x25167a68 */ 1092 L_25147680: 1093 RECOMP_BACKEDGE(); 1094 goto L_251380C4; /* 0x25147680: jmp 0x251380c4 */ 1095 { RECOMP_REGS_OUT(); return; } /* end of function */ 1096 _ljump: 1097 switch (_itail_tgt) { 1098 case 0x251380C4u: goto L_251380C4; 1099 case 0x2514767Bu: goto L_2514767B; 1100 case 0x25147680u: goto L_25147680; 1101 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1102 } 1103 RECOMP_REGS_OUT(); 1104 } 1105 1106 void sub_25147690(void) { 1107 int _fpu_cmp = 0; 1108 uint32_t _cf = 0; 1109 int _df = 1; 1110 uint32_t _flag_k = FK_NONE; 1111 uint32_t _flag_a = 0, _flag_b = 0; 1112 uint32_t _itail_tgt = 0; 1113 RECOMP_REGS_LOCALS 1114 RECOMP_ENTER(0x25147690u); 1115 1116 L_25147690: 1117 eax = MEM32(ebp + 0xC); /* 0x25147690: mov eax, dword ptr [ebp + 0xc] */ 1118 PUSH32(esp, eax); /* 0x25147693: push eax */ 1119 RECOMP_ICALL(0x25137EECu); /* 0x25147694: call 0x25137eec */ /* not lifted */ 1120 RECOMP_FLAGS_IN(); 1121 ecx = POP32_VAL(esp); /* 0x25147699: pop ecx */ 1122 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514769A: ret */ 1123 RECOMP_REGS_OUT(); 1124 } 1125 1126 void sub_2514769B(void) { 1127 int _fpu_cmp = 0; 1128 uint32_t _cf = 0; 1129 int _df = 1; 1130 uint32_t _flag_k = FK_NONE; 1131 uint32_t _flag_a = 0, _flag_b = 0; 1132 uint32_t _itail_tgt = 0; 1133 RECOMP_REGS_LOCALS 1134 RECOMP_ENTER(0x2514769Bu); 1135 1136 goto L_2514769B; 1137 L_251380C4: 1138 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1139 L_2514769B: 1140 eax = 0x25167A90u; /* 0x2514769B: mov eax, 0x25167a90 */ 1141 L_251476A0: 1142 RECOMP_BACKEDGE(); 1143 goto L_251380C4; /* 0x251476A0: jmp 0x251380c4 */ 1144 { RECOMP_REGS_OUT(); return; } /* end of function */ 1145 _ljump: 1146 switch (_itail_tgt) { 1147 case 0x251380C4u: goto L_251380C4; 1148 case 0x2514769Bu: goto L_2514769B; 1149 case 0x251476A0u: goto L_251476A0; 1150 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1151 } 1152 RECOMP_REGS_OUT(); 1153 } 1154 1155 void sub_251476B0(void) { 1156 int _fpu_cmp = 0; 1157 uint32_t _cf = 0; 1158 int _df = 1; 1159 uint32_t _flag_k = FK_NONE; 1160 uint32_t _flag_a = 0, _flag_b = 0; 1161 uint32_t _itail_tgt = 0; 1162 RECOMP_REGS_LOCALS 1163 RECOMP_ENTER(0x251476B0u); 1164 1165 goto L_251476B0; 1166 L_250DB0B0: 1167 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 1168 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 1169 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 1170 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 1171 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 1172 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 1173 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 1174 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1176 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 1177 _flag_k = FK_CMP; 1178 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 1179 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 1180 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 1181 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 1182 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 1183 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 1184 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 1185 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 1186 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 1187 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 1188 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 1189 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 1190 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 1191 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 1192 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1193 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 1194 _cf = 0; 1195 _flag_k = FK_TEST; 1196 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 1197 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1199 _flag_k = FK_CMP; 1200 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 1201 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 1202 L_250DB11E: 1203 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 1204 RECOMP_FLAGS_IN(); 1205 L_250DB123: 1206 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 1207 PUSH32(esp, eax); /* 0x250DB129: push eax */ 1208 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 1209 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 1210 RECOMP_FLAGS_IN(); 1211 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1213 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 1214 _flag_k = FK_ADD; 1215 eax = edi; /* 0x250DB135: mov eax, edi */ 1216 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1217 _cf = (eax) != 0; 1218 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 1219 _flag_k = FK_CMP; 1220 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 1221 eax = _sc ? 0xFFFFFFFFu : 0; 1222 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1223 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1225 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 1226 _cf = 0; 1227 _flag_k = FK_TEST; 1228 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 1229 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 1230 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 1231 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 1232 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 1233 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 1234 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 1235 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1237 _flag_k = FK_CMP; 1238 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 1239 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 1240 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 1241 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 1242 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 1243 L_250DB16C: 1244 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 1245 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 1246 ecx = esi; /* 0x250DB170: mov ecx, esi */ 1247 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 1248 RECOMP_FLAGS_IN(); 1249 ecx = eax; /* 0x250DB177: mov ecx, eax */ 1250 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 1251 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 1252 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 1253 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1255 _flag_k = FK_CMP; 1256 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 1257 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 1258 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1260 _flag_k = FK_NARROW(FK_CMP, 24); 1261 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 1262 L_250DB187: 1263 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 1264 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 1265 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1267 _flag_k = FK_CMP; 1268 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 1269 L_250DB18F: 1270 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 1271 PUSH32(esp, edx); /* 0x250DB192: push edx */ 1272 ecx = esi; /* 0x250DB193: mov ecx, esi */ 1273 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 1274 RECOMP_FLAGS_IN(); 1275 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 1276 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 1277 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 1278 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 1279 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 1280 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 1281 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 1282 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 1283 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 1284 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 1285 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 1286 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 1287 RECOMP_FLAGS_IN(); 1288 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 1289 L_250DB1BE: 1290 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 1291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 1292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1293 _flag_k = FK_CMP; 1294 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 1295 L_250DB1C3: 1296 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 1297 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 1298 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 1299 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 1300 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 1301 RECOMP_FLAGS_IN(); 1302 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 1303 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 1304 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 1305 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 1306 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 1307 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 1308 RECOMP_FLAGS_IN(); 1309 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 1310 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 1311 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 1312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1313 _flag_k = FK_CMP; 1314 RECOMP_BACKEDGE(); 1315 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 1316 L_250DB1E6: 1317 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 1318 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 1319 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 1320 RECOMP_FLAGS_IN(); 1321 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 1322 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 1323 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 1324 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 1325 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 1326 RECOMP_FLAGS_IN(); 1327 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1328 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1329 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 1330 _flag_k = FK_ADD; 1331 eax = edi; /* 0x250DB201: mov eax, edi */ 1332 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1333 _cf = (eax) != 0; 1334 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 1335 _flag_k = FK_CMP; 1336 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 1337 eax = _sc ? 0xFFFFFFFFu : 0; 1338 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1339 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1340 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 1341 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 1342 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1343 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 1344 _cf = 0; 1345 _flag_k = FK_TEST; 1346 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 1347 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 1348 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 1349 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 1350 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1352 _flag_k = FK_CMP; 1353 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 1354 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 1355 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 1356 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 1357 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 1358 L_250DB22E: 1359 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 1360 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 1361 ecx = esi; /* 0x250DB232: mov ecx, esi */ 1362 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 1363 RECOMP_FLAGS_IN(); 1364 edx = eax; /* 0x250DB239: mov edx, eax */ 1365 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 1366 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 1367 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 1368 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1370 _flag_k = FK_CMP; 1371 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 1372 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 1373 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1375 _flag_k = FK_NARROW(FK_CMP, 24); 1376 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 1377 L_250DB249: 1378 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 1379 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 1380 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 1381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1382 _flag_k = FK_CMP; 1383 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 1384 L_250DB251: 1385 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 1386 PUSH32(esp, eax); /* 0x250DB254: push eax */ 1387 ecx = esi; /* 0x250DB255: mov ecx, esi */ 1388 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 1389 RECOMP_FLAGS_IN(); 1390 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 1391 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 1392 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 1393 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 1394 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 1395 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 1396 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 1397 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 1398 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 1399 PUSH32(esp, eax); /* 0x250DB276: push eax */ 1400 ecx = esi; /* 0x250DB277: mov ecx, esi */ 1401 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 1402 RECOMP_FLAGS_IN(); 1403 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 1404 L_250DB280: 1405 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 1406 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 1407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1408 _flag_k = FK_CMP; 1409 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 1410 L_250DB285: 1411 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 1412 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 1413 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 1414 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 1415 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 1416 RECOMP_FLAGS_IN(); 1417 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 1418 PUSH32(esp, edx); /* 0x250DB294: push edx */ 1419 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 1420 PUSH32(esp, eax); /* 0x250DB298: push eax */ 1421 ecx = esi; /* 0x250DB299: mov ecx, esi */ 1422 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 1423 RECOMP_FLAGS_IN(); 1424 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 1425 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 1426 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1428 _flag_k = FK_CMP; 1429 RECOMP_BACKEDGE(); 1430 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 1431 L_250DB2A8: 1432 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 1433 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 1434 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 1435 RECOMP_FLAGS_IN(); 1436 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 1437 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 1438 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 1439 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 1440 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 1441 RECOMP_FLAGS_IN(); 1442 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1443 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1444 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 1445 _flag_k = FK_ADD; 1446 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 1447 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 1448 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 1449 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 1450 RECOMP_FLAGS_IN(); 1451 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 1452 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 1453 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 1454 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 1455 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 1456 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 1457 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 1458 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 1459 L_251476B0: 1460 ecx = MEM32(ebp + (-0x10)); /* 0x251476B0: mov ecx, dword ptr [ebp - 0x10] */ 1461 RECOMP_BACKEDGE(); 1462 goto L_250DB0B0; /* 0x251476B3: jmp 0x250db0b0 */ 1463 { RECOMP_REGS_OUT(); return; } /* end of function */ 1464 RECOMP_REGS_OUT(); 1465 } 1466 1467 void sub_251476B8(void) { 1468 int _fpu_cmp = 0; 1469 uint32_t _cf = 0; 1470 int _df = 1; 1471 uint32_t _flag_k = FK_NONE; 1472 uint32_t _flag_a = 0, _flag_b = 0; 1473 uint32_t _itail_tgt = 0; 1474 RECOMP_REGS_LOCALS 1475 RECOMP_ENTER(0x251476B8u); 1476 1477 goto L_251476B8; 1478 L_251380C4: 1479 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1480 L_251476B8: 1481 eax = 0x25167AB8u; /* 0x251476B8: mov eax, 0x25167ab8 */ 1482 L_251476BD: 1483 RECOMP_BACKEDGE(); 1484 goto L_251380C4; /* 0x251476BD: jmp 0x251380c4 */ 1485 { RECOMP_REGS_OUT(); return; } /* end of function */ 1486 _ljump: 1487 switch (_itail_tgt) { 1488 case 0x251380C4u: goto L_251380C4; 1489 case 0x251476B8u: goto L_251476B8; 1490 case 0x251476BDu: goto L_251476BD; 1491 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1492 } 1493 RECOMP_REGS_OUT(); 1494 } 1495 1496 void sub_251476D0(void) { 1497 int _fpu_cmp = 0; 1498 uint32_t _cf = 0; 1499 int _df = 1; 1500 uint32_t _flag_k = FK_NONE; 1501 uint32_t _flag_a = 0, _flag_b = 0; 1502 uint32_t _itail_tgt = 0; 1503 RECOMP_REGS_LOCALS 1504 RECOMP_ENTER(0x251476D0u); 1505 1506 goto L_251476D0; 1507 L_250DB0B0: 1508 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 1509 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 1510 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 1511 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 1512 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 1513 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 1514 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 1515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1517 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 1518 _flag_k = FK_CMP; 1519 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 1520 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 1521 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 1522 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 1523 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 1524 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 1525 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 1526 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 1527 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 1528 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 1529 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 1530 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 1531 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 1532 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 1533 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1534 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 1535 _cf = 0; 1536 _flag_k = FK_TEST; 1537 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 1538 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1540 _flag_k = FK_CMP; 1541 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 1542 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 1543 L_250DB11E: 1544 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 1545 RECOMP_FLAGS_IN(); 1546 L_250DB123: 1547 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 1548 PUSH32(esp, eax); /* 0x250DB129: push eax */ 1549 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 1550 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 1551 RECOMP_FLAGS_IN(); 1552 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1553 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1554 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 1555 _flag_k = FK_ADD; 1556 eax = edi; /* 0x250DB135: mov eax, edi */ 1557 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1558 _cf = (eax) != 0; 1559 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 1560 _flag_k = FK_CMP; 1561 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 1562 eax = _sc ? 0xFFFFFFFFu : 0; 1563 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1564 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1566 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 1567 _cf = 0; 1568 _flag_k = FK_TEST; 1569 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 1570 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 1571 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 1572 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 1573 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 1574 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 1575 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 1576 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1578 _flag_k = FK_CMP; 1579 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 1580 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 1581 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 1582 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 1583 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 1584 L_250DB16C: 1585 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 1586 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 1587 ecx = esi; /* 0x250DB170: mov ecx, esi */ 1588 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 1589 RECOMP_FLAGS_IN(); 1590 ecx = eax; /* 0x250DB177: mov ecx, eax */ 1591 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 1592 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 1593 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 1594 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1596 _flag_k = FK_CMP; 1597 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 1598 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 1599 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1601 _flag_k = FK_NARROW(FK_CMP, 24); 1602 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 1603 L_250DB187: 1604 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 1605 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 1606 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1608 _flag_k = FK_CMP; 1609 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 1610 L_250DB18F: 1611 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 1612 PUSH32(esp, edx); /* 0x250DB192: push edx */ 1613 ecx = esi; /* 0x250DB193: mov ecx, esi */ 1614 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 1615 RECOMP_FLAGS_IN(); 1616 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 1617 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 1618 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 1619 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 1620 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 1621 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 1622 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 1623 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 1624 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 1625 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 1626 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 1627 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 1628 RECOMP_FLAGS_IN(); 1629 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 1630 L_250DB1BE: 1631 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 1632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 1633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1634 _flag_k = FK_CMP; 1635 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 1636 L_250DB1C3: 1637 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 1638 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 1639 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 1640 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 1641 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 1642 RECOMP_FLAGS_IN(); 1643 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 1644 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 1645 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 1646 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 1647 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 1648 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 1649 RECOMP_FLAGS_IN(); 1650 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 1651 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 1652 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 1653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1654 _flag_k = FK_CMP; 1655 RECOMP_BACKEDGE(); 1656 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 1657 L_250DB1E6: 1658 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 1659 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 1660 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 1661 RECOMP_FLAGS_IN(); 1662 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 1663 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 1664 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 1665 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 1666 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 1667 RECOMP_FLAGS_IN(); 1668 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1669 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1670 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 1671 _flag_k = FK_ADD; 1672 eax = edi; /* 0x250DB201: mov eax, edi */ 1673 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1674 _cf = (eax) != 0; 1675 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 1676 _flag_k = FK_CMP; 1677 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 1678 eax = _sc ? 0xFFFFFFFFu : 0; 1679 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1680 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1681 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 1682 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 1683 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1684 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 1685 _cf = 0; 1686 _flag_k = FK_TEST; 1687 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 1688 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 1689 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 1690 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 1691 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1693 _flag_k = FK_CMP; 1694 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 1695 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 1696 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 1697 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 1698 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 1699 L_250DB22E: 1700 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 1701 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 1702 ecx = esi; /* 0x250DB232: mov ecx, esi */ 1703 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 1704 RECOMP_FLAGS_IN(); 1705 edx = eax; /* 0x250DB239: mov edx, eax */ 1706 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 1707 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 1708 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 1709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1711 _flag_k = FK_CMP; 1712 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 1713 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 1714 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1716 _flag_k = FK_NARROW(FK_CMP, 24); 1717 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 1718 L_250DB249: 1719 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 1720 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 1721 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 1722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1723 _flag_k = FK_CMP; 1724 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 1725 L_250DB251: 1726 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 1727 PUSH32(esp, eax); /* 0x250DB254: push eax */ 1728 ecx = esi; /* 0x250DB255: mov ecx, esi */ 1729 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 1730 RECOMP_FLAGS_IN(); 1731 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 1732 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 1733 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 1734 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 1735 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 1736 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 1737 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 1738 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 1739 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 1740 PUSH32(esp, eax); /* 0x250DB276: push eax */ 1741 ecx = esi; /* 0x250DB277: mov ecx, esi */ 1742 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 1743 RECOMP_FLAGS_IN(); 1744 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 1745 L_250DB280: 1746 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 1747 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 1748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1749 _flag_k = FK_CMP; 1750 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 1751 L_250DB285: 1752 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 1753 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 1754 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 1755 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 1756 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 1757 RECOMP_FLAGS_IN(); 1758 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 1759 PUSH32(esp, edx); /* 0x250DB294: push edx */ 1760 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 1761 PUSH32(esp, eax); /* 0x250DB298: push eax */ 1762 ecx = esi; /* 0x250DB299: mov ecx, esi */ 1763 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 1764 RECOMP_FLAGS_IN(); 1765 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 1766 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 1767 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1769 _flag_k = FK_CMP; 1770 RECOMP_BACKEDGE(); 1771 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 1772 L_250DB2A8: 1773 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 1774 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 1775 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 1776 RECOMP_FLAGS_IN(); 1777 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 1778 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 1779 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 1780 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 1781 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 1782 RECOMP_FLAGS_IN(); 1783 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1784 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1785 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 1786 _flag_k = FK_ADD; 1787 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 1788 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 1789 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 1790 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 1791 RECOMP_FLAGS_IN(); 1792 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 1793 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 1794 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 1795 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 1796 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 1797 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 1798 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 1799 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 1800 L_251476D0: 1801 ecx = MEM32(ebp + (-0x10)); /* 0x251476D0: mov ecx, dword ptr [ebp - 0x10] */ 1802 RECOMP_BACKEDGE(); 1803 goto L_250DB0B0; /* 0x251476D3: jmp 0x250db0b0 */ 1804 { RECOMP_REGS_OUT(); return; } /* end of function */ 1805 RECOMP_REGS_OUT(); 1806 } 1807 1808 void sub_251476D8(void) { 1809 int _fpu_cmp = 0; 1810 uint32_t _cf = 0; 1811 int _df = 1; 1812 uint32_t _flag_k = FK_NONE; 1813 uint32_t _flag_a = 0, _flag_b = 0; 1814 uint32_t _itail_tgt = 0; 1815 RECOMP_REGS_LOCALS 1816 RECOMP_ENTER(0x251476D8u); 1817 1818 goto L_251476D8; 1819 L_251380C4: 1820 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1821 L_251476D8: 1822 eax = 0x25167AE0u; /* 0x251476D8: mov eax, 0x25167ae0 */ 1823 L_251476DD: 1824 RECOMP_BACKEDGE(); 1825 goto L_251380C4; /* 0x251476DD: jmp 0x251380c4 */ 1826 { RECOMP_REGS_OUT(); return; } /* end of function */ 1827 _ljump: 1828 switch (_itail_tgt) { 1829 case 0x251380C4u: goto L_251380C4; 1830 case 0x251476D8u: goto L_251476D8; 1831 case 0x251476DDu: goto L_251476DD; 1832 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1833 } 1834 RECOMP_REGS_OUT(); 1835 } 1836 1837 void sub_251476F0(void) { 1838 int _fpu_cmp = 0; 1839 uint32_t _cf = 0; 1840 int _df = 1; 1841 uint32_t _flag_k = FK_NONE; 1842 uint32_t _flag_a = 0, _flag_b = 0; 1843 uint32_t _itail_tgt = 0; 1844 RECOMP_REGS_LOCALS 1845 RECOMP_ENTER(0x251476F0u); 1846 1847 L_251476F0: 1848 ecx = ebp + (-0x70); /* 0x251476F0: lea ecx, [ebp - 0x70] */ 1849 goto L_25009BC0; /* 0x251476F3: jmp 0x25009bc0 */ 1850 { RECOMP_REGS_OUT(); return; } /* end of function */ 1851 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1852 RECOMP_REGS_OUT(); 1853 } 1854 1855 void sub_251476F8(void) { 1856 int _fpu_cmp = 0; 1857 uint32_t _cf = 0; 1858 int _df = 1; 1859 uint32_t _flag_k = FK_NONE; 1860 uint32_t _flag_a = 0, _flag_b = 0; 1861 uint32_t _itail_tgt = 0; 1862 RECOMP_REGS_LOCALS 1863 RECOMP_ENTER(0x251476F8u); 1864 1865 L_251476F8: 1866 ecx = ebp + (-0x64); /* 0x251476F8: lea ecx, [ebp - 0x64] */ 1867 goto L_25009BC0; /* 0x251476FB: jmp 0x25009bc0 */ 1868 { RECOMP_REGS_OUT(); return; } /* end of function */ 1869 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1870 RECOMP_REGS_OUT(); 1871 } 1872 1873 void sub_25147700(void) { 1874 int _fpu_cmp = 0; 1875 uint32_t _cf = 0; 1876 int _df = 1; 1877 uint32_t _flag_k = FK_NONE; 1878 uint32_t _flag_a = 0, _flag_b = 0; 1879 uint32_t _itail_tgt = 0; 1880 RECOMP_REGS_LOCALS 1881 RECOMP_ENTER(0x25147700u); 1882 1883 L_25147700: 1884 ecx = ebp + (-0x58); /* 0x25147700: lea ecx, [ebp - 0x58] */ 1885 goto L_25009BC0; /* 0x25147703: jmp 0x25009bc0 */ 1886 { RECOMP_REGS_OUT(); return; } /* end of function */ 1887 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1888 RECOMP_REGS_OUT(); 1889 } 1890 1891 void sub_25147708(void) { 1892 int _fpu_cmp = 0; 1893 uint32_t _cf = 0; 1894 int _df = 1; 1895 uint32_t _flag_k = FK_NONE; 1896 uint32_t _flag_a = 0, _flag_b = 0; 1897 uint32_t _itail_tgt = 0; 1898 RECOMP_REGS_LOCALS 1899 RECOMP_ENTER(0x25147708u); 1900 1901 L_25147708: 1902 ecx = ebp + (-0x4C); /* 0x25147708: lea ecx, [ebp - 0x4c] */ 1903 goto L_25009BC0; /* 0x2514770B: jmp 0x25009bc0 */ 1904 { RECOMP_REGS_OUT(); return; } /* end of function */ 1905 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1906 RECOMP_REGS_OUT(); 1907 } 1908 1909 void sub_25147710(void) { 1910 int _fpu_cmp = 0; 1911 uint32_t _cf = 0; 1912 int _df = 1; 1913 uint32_t _flag_k = FK_NONE; 1914 uint32_t _flag_a = 0, _flag_b = 0; 1915 uint32_t _itail_tgt = 0; 1916 RECOMP_REGS_LOCALS 1917 RECOMP_ENTER(0x25147710u); 1918 1919 L_25147710: 1920 ecx = ebp + (-0x40); /* 0x25147710: lea ecx, [ebp - 0x40] */ 1921 goto L_25009BC0; /* 0x25147713: jmp 0x25009bc0 */ 1922 { RECOMP_REGS_OUT(); return; } /* end of function */ 1923 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1924 RECOMP_REGS_OUT(); 1925 } 1926 1927 void sub_25147718(void) { 1928 int _fpu_cmp = 0; 1929 uint32_t _cf = 0; 1930 int _df = 1; 1931 uint32_t _flag_k = FK_NONE; 1932 uint32_t _flag_a = 0, _flag_b = 0; 1933 uint32_t _itail_tgt = 0; 1934 RECOMP_REGS_LOCALS 1935 RECOMP_ENTER(0x25147718u); 1936 1937 L_25147718: 1938 ecx = ebp + (-0x40); /* 0x25147718: lea ecx, [ebp - 0x40] */ 1939 goto L_25009BC0; /* 0x2514771B: jmp 0x25009bc0 */ 1940 { RECOMP_REGS_OUT(); return; } /* end of function */ 1941 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1942 RECOMP_REGS_OUT(); 1943 } 1944 1945 void sub_25147720(void) { 1946 int _fpu_cmp = 0; 1947 uint32_t _cf = 0; 1948 int _df = 1; 1949 uint32_t _flag_k = FK_NONE; 1950 uint32_t _flag_a = 0, _flag_b = 0; 1951 uint32_t _itail_tgt = 0; 1952 RECOMP_REGS_LOCALS 1953 RECOMP_ENTER(0x25147720u); 1954 1955 L_25147720: 1956 ecx = ebp + (-0x4C); /* 0x25147720: lea ecx, [ebp - 0x4c] */ 1957 goto L_25009BC0; /* 0x25147723: jmp 0x25009bc0 */ 1958 { RECOMP_REGS_OUT(); return; } /* end of function */ 1959 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1960 RECOMP_REGS_OUT(); 1961 } 1962 1963 void sub_25147728(void) { 1964 int _fpu_cmp = 0; 1965 uint32_t _cf = 0; 1966 int _df = 1; 1967 uint32_t _flag_k = FK_NONE; 1968 uint32_t _flag_a = 0, _flag_b = 0; 1969 uint32_t _itail_tgt = 0; 1970 RECOMP_REGS_LOCALS 1971 RECOMP_ENTER(0x25147728u); 1972 1973 L_25147728: 1974 ecx = ebp + (-0x58); /* 0x25147728: lea ecx, [ebp - 0x58] */ 1975 goto L_25009BC0; /* 0x2514772B: jmp 0x25009bc0 */ 1976 { RECOMP_REGS_OUT(); return; } /* end of function */ 1977 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1978 RECOMP_REGS_OUT(); 1979 } 1980 1981 void sub_25147730(void) { 1982 int _fpu_cmp = 0; 1983 uint32_t _cf = 0; 1984 int _df = 1; 1985 uint32_t _flag_k = FK_NONE; 1986 uint32_t _flag_a = 0, _flag_b = 0; 1987 uint32_t _itail_tgt = 0; 1988 RECOMP_REGS_LOCALS 1989 RECOMP_ENTER(0x25147730u); 1990 1991 L_25147730: 1992 ecx = ebp + (-0x64); /* 0x25147730: lea ecx, [ebp - 0x64] */ 1993 goto L_25009BC0; /* 0x25147733: jmp 0x25009bc0 */ 1994 { RECOMP_REGS_OUT(); return; } /* end of function */ 1995 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 1996 RECOMP_REGS_OUT(); 1997 } 1998 1999 void sub_25147738(void) { 2000 int _fpu_cmp = 0; 2001 uint32_t _cf = 0; 2002 int _df = 1; 2003 uint32_t _flag_k = FK_NONE; 2004 uint32_t _flag_a = 0, _flag_b = 0; 2005 uint32_t _itail_tgt = 0; 2006 RECOMP_REGS_LOCALS 2007 RECOMP_ENTER(0x25147738u); 2008 2009 L_25147738: 2010 ecx = ebp + (-0x70); /* 0x25147738: lea ecx, [ebp - 0x70] */ 2011 goto L_25009BC0; /* 0x2514773B: jmp 0x25009bc0 */ 2012 { RECOMP_REGS_OUT(); return; } /* end of function */ 2013 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2014 RECOMP_REGS_OUT(); 2015 } 2016 2017 void sub_25147740(void) { 2018 int _fpu_cmp = 0; 2019 uint32_t _cf = 0; 2020 int _df = 1; 2021 uint32_t _flag_k = FK_NONE; 2022 uint32_t _flag_a = 0, _flag_b = 0; 2023 uint32_t _itail_tgt = 0; 2024 RECOMP_REGS_LOCALS 2025 RECOMP_ENTER(0x25147740u); 2026 2027 goto L_25147740; 2028 L_251380C4: 2029 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2030 L_25147740: 2031 eax = 0x25167B08u; /* 0x25147740: mov eax, 0x25167b08 */ 2032 L_25147745: 2033 RECOMP_BACKEDGE(); 2034 goto L_251380C4; /* 0x25147745: jmp 0x251380c4 */ 2035 { RECOMP_REGS_OUT(); return; } /* end of function */ 2036 _ljump: 2037 switch (_itail_tgt) { 2038 case 0x251380C4u: goto L_251380C4; 2039 case 0x25147740u: goto L_25147740; 2040 case 0x25147745u: goto L_25147745; 2041 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2042 } 2043 RECOMP_REGS_OUT(); 2044 } 2045 2046 void sub_25147750(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(0x25147750u); 2055 2056 L_25147750: 2057 eax = MEM32(ebp + 0x8); /* 0x25147750: mov eax, dword ptr [ebp + 8] */ 2058 PUSH32(esp, eax); /* 0x25147753: push eax */ 2059 RECOMP_ICALL(0x25137EECu); /* 0x25147754: call 0x25137eec */ /* not lifted */ 2060 RECOMP_FLAGS_IN(); 2061 ecx = POP32_VAL(esp); /* 0x25147759: pop ecx */ 2062 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514775A: ret */ 2063 RECOMP_REGS_OUT(); 2064 } 2065 2066 void sub_2514775B(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(0x2514775Bu); 2075 2076 goto L_2514775B; 2077 L_251380C4: 2078 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2079 L_2514775B: 2080 eax = 0x25167B78u; /* 0x2514775B: mov eax, 0x25167b78 */ 2081 L_25147760: 2082 RECOMP_BACKEDGE(); 2083 goto L_251380C4; /* 0x25147760: jmp 0x251380c4 */ 2084 { RECOMP_REGS_OUT(); return; } /* end of function */ 2085 _ljump: 2086 switch (_itail_tgt) { 2087 case 0x251380C4u: goto L_251380C4; 2088 case 0x2514775Bu: goto L_2514775B; 2089 case 0x25147760u: goto L_25147760; 2090 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2091 } 2092 RECOMP_REGS_OUT(); 2093 } 2094 2095 void sub_25147770(void) { 2096 int _fpu_cmp = 0; 2097 uint32_t _cf = 0; 2098 int _df = 1; 2099 uint32_t _flag_k = FK_NONE; 2100 uint32_t _flag_a = 0, _flag_b = 0; 2101 uint32_t _itail_tgt = 0; 2102 RECOMP_REGS_LOCALS 2103 RECOMP_ENTER(0x25147770u); 2104 2105 goto L_25147770; 2106 L_250DB0B0: 2107 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 2108 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 2109 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 2110 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 2111 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 2112 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 2113 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 2114 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2116 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 2117 _flag_k = FK_CMP; 2118 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 2119 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 2120 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 2121 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 2122 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 2123 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 2124 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 2125 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 2126 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 2127 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 2128 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 2129 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 2130 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 2131 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 2132 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2133 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 2134 _cf = 0; 2135 _flag_k = FK_TEST; 2136 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 2137 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2139 _flag_k = FK_CMP; 2140 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 2141 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 2142 L_250DB11E: 2143 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 2144 RECOMP_FLAGS_IN(); 2145 L_250DB123: 2146 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 2147 PUSH32(esp, eax); /* 0x250DB129: push eax */ 2148 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 2149 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 2150 RECOMP_FLAGS_IN(); 2151 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2153 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 2154 _flag_k = FK_ADD; 2155 eax = edi; /* 0x250DB135: mov eax, edi */ 2156 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2157 _cf = (eax) != 0; 2158 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 2159 _flag_k = FK_CMP; 2160 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 2161 eax = _sc ? 0xFFFFFFFFu : 0; 2162 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2163 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2164 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2165 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 2166 _cf = 0; 2167 _flag_k = FK_TEST; 2168 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 2169 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 2170 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 2171 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 2172 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 2173 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 2174 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 2175 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2177 _flag_k = FK_CMP; 2178 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 2179 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 2180 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 2181 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 2182 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 2183 L_250DB16C: 2184 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 2185 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 2186 ecx = esi; /* 0x250DB170: mov ecx, esi */ 2187 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 2188 RECOMP_FLAGS_IN(); 2189 ecx = eax; /* 0x250DB177: mov ecx, eax */ 2190 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 2191 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 2192 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 2193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2195 _flag_k = FK_CMP; 2196 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 2197 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 2198 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2200 _flag_k = FK_NARROW(FK_CMP, 24); 2201 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 2202 L_250DB187: 2203 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 2204 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 2205 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2207 _flag_k = FK_CMP; 2208 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 2209 L_250DB18F: 2210 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 2211 PUSH32(esp, edx); /* 0x250DB192: push edx */ 2212 ecx = esi; /* 0x250DB193: mov ecx, esi */ 2213 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 2214 RECOMP_FLAGS_IN(); 2215 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 2216 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 2217 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 2218 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 2219 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 2220 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 2221 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 2222 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 2223 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 2224 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 2225 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 2226 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 2227 RECOMP_FLAGS_IN(); 2228 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 2229 L_250DB1BE: 2230 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 2231 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 2232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2233 _flag_k = FK_CMP; 2234 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 2235 L_250DB1C3: 2236 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 2237 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 2238 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 2239 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 2240 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 2241 RECOMP_FLAGS_IN(); 2242 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 2243 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 2244 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 2245 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 2246 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 2247 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 2248 RECOMP_FLAGS_IN(); 2249 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 2250 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 2251 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 2252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2253 _flag_k = FK_CMP; 2254 RECOMP_BACKEDGE(); 2255 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 2256 L_250DB1E6: 2257 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 2258 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 2259 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 2260 RECOMP_FLAGS_IN(); 2261 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 2262 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 2263 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 2264 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 2265 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 2266 RECOMP_FLAGS_IN(); 2267 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2269 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 2270 _flag_k = FK_ADD; 2271 eax = edi; /* 0x250DB201: mov eax, edi */ 2272 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2273 _cf = (eax) != 0; 2274 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 2275 _flag_k = FK_CMP; 2276 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 2277 eax = _sc ? 0xFFFFFFFFu : 0; 2278 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2279 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2280 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 2281 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 2282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2283 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 2284 _cf = 0; 2285 _flag_k = FK_TEST; 2286 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 2287 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 2288 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 2289 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 2290 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2292 _flag_k = FK_CMP; 2293 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 2294 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 2295 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 2296 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 2297 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 2298 L_250DB22E: 2299 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 2300 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 2301 ecx = esi; /* 0x250DB232: mov ecx, esi */ 2302 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 2303 RECOMP_FLAGS_IN(); 2304 edx = eax; /* 0x250DB239: mov edx, eax */ 2305 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 2306 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 2307 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 2308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2310 _flag_k = FK_CMP; 2311 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 2312 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 2313 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2315 _flag_k = FK_NARROW(FK_CMP, 24); 2316 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 2317 L_250DB249: 2318 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 2319 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 2320 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 2321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2322 _flag_k = FK_CMP; 2323 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 2324 L_250DB251: 2325 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 2326 PUSH32(esp, eax); /* 0x250DB254: push eax */ 2327 ecx = esi; /* 0x250DB255: mov ecx, esi */ 2328 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 2329 RECOMP_FLAGS_IN(); 2330 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 2331 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 2332 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 2333 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 2334 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 2335 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 2336 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 2337 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 2338 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 2339 PUSH32(esp, eax); /* 0x250DB276: push eax */ 2340 ecx = esi; /* 0x250DB277: mov ecx, esi */ 2341 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 2342 RECOMP_FLAGS_IN(); 2343 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 2344 L_250DB280: 2345 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 2346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 2347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2348 _flag_k = FK_CMP; 2349 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 2350 L_250DB285: 2351 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 2352 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 2353 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 2354 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 2355 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 2356 RECOMP_FLAGS_IN(); 2357 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 2358 PUSH32(esp, edx); /* 0x250DB294: push edx */ 2359 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 2360 PUSH32(esp, eax); /* 0x250DB298: push eax */ 2361 ecx = esi; /* 0x250DB299: mov ecx, esi */ 2362 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 2363 RECOMP_FLAGS_IN(); 2364 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 2365 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 2366 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2368 _flag_k = FK_CMP; 2369 RECOMP_BACKEDGE(); 2370 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 2371 L_250DB2A8: 2372 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 2373 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 2374 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 2375 RECOMP_FLAGS_IN(); 2376 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 2377 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 2378 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 2379 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 2380 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 2381 RECOMP_FLAGS_IN(); 2382 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2383 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2384 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 2385 _flag_k = FK_ADD; 2386 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 2387 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 2388 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 2389 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 2390 RECOMP_FLAGS_IN(); 2391 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 2392 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 2393 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 2394 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 2395 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 2396 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 2397 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 2398 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 2399 L_25147770: 2400 ecx = MEM32(ebp + (-0x10)); /* 0x25147770: mov ecx, dword ptr [ebp - 0x10] */ 2401 RECOMP_BACKEDGE(); 2402 goto L_250DB0B0; /* 0x25147773: jmp 0x250db0b0 */ 2403 { RECOMP_REGS_OUT(); return; } /* end of function */ 2404 RECOMP_REGS_OUT(); 2405 } 2406 2407 void sub_25147778(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(0x25147778u); 2416 2417 L_25147778: 2418 eax = MEM32(ebp + 0x8); /* 0x25147778: mov eax, dword ptr [ebp + 8] */ 2419 PUSH32(esp, eax); /* 0x2514777B: push eax */ 2420 RECOMP_ICALL(0x25137EECu); /* 0x2514777C: call 0x25137eec */ /* not lifted */ 2421 RECOMP_FLAGS_IN(); 2422 ecx = POP32_VAL(esp); /* 0x25147781: pop ecx */ 2423 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25147782: ret */ 2424 RECOMP_REGS_OUT(); 2425 } 2426 2427 void sub_25147783(void) { 2428 int _fpu_cmp = 0; 2429 uint32_t _cf = 0; 2430 int _df = 1; 2431 uint32_t _flag_k = FK_NONE; 2432 uint32_t _flag_a = 0, _flag_b = 0; 2433 uint32_t _itail_tgt = 0; 2434 RECOMP_REGS_LOCALS 2435 RECOMP_ENTER(0x25147783u); 2436 2437 L_25147783: 2438 ecx = MEM32(ebp + (-0x10)); /* 0x25147783: mov ecx, dword ptr [ebp - 0x10] */ 2439 goto L_2501C660; /* 0x25147786: jmp 0x2501c660 */ 2440 { RECOMP_REGS_OUT(); return; } /* end of function */ 2441 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 2442 RECOMP_REGS_OUT(); 2443 } 2444 2445 void sub_2514778B(void) { 2446 int _fpu_cmp = 0; 2447 uint32_t _cf = 0; 2448 int _df = 1; 2449 uint32_t _flag_k = FK_NONE; 2450 uint32_t _flag_a = 0, _flag_b = 0; 2451 uint32_t _itail_tgt = 0; 2452 RECOMP_REGS_LOCALS 2453 RECOMP_ENTER(0x2514778Bu); 2454 2455 goto L_2514778B; 2456 L_251380C4: 2457 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2458 L_2514778B: 2459 eax = 0x25167BA0u; /* 0x2514778B: mov eax, 0x25167ba0 */ 2460 L_25147790: 2461 RECOMP_BACKEDGE(); 2462 goto L_251380C4; /* 0x25147790: jmp 0x251380c4 */ 2463 { RECOMP_REGS_OUT(); return; } /* end of function */ 2464 _ljump: 2465 switch (_itail_tgt) { 2466 case 0x251380C4u: goto L_251380C4; 2467 case 0x2514778Bu: goto L_2514778B; 2468 case 0x25147790u: goto L_25147790; 2469 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2470 } 2471 RECOMP_REGS_OUT(); 2472 } 2473 2474 void sub_251477A0(void) { 2475 int _fpu_cmp = 0; 2476 uint32_t _cf = 0; 2477 int _df = 1; 2478 uint32_t _flag_k = FK_NONE; 2479 uint32_t _flag_a = 0, _flag_b = 0; 2480 uint32_t _itail_tgt = 0; 2481 RECOMP_REGS_LOCALS 2482 RECOMP_ENTER(0x251477A0u); 2483 2484 goto L_251477A0; 2485 L_250DB0B0: 2486 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 2487 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 2488 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 2489 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 2490 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 2491 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 2492 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 2493 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2495 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 2496 _flag_k = FK_CMP; 2497 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 2498 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 2499 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 2500 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 2501 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 2502 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 2503 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 2504 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 2505 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 2506 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 2507 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 2508 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 2509 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 2510 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 2511 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2512 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 2513 _cf = 0; 2514 _flag_k = FK_TEST; 2515 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 2516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2518 _flag_k = FK_CMP; 2519 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 2520 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 2521 L_250DB11E: 2522 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 2523 RECOMP_FLAGS_IN(); 2524 L_250DB123: 2525 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 2526 PUSH32(esp, eax); /* 0x250DB129: push eax */ 2527 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 2528 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 2529 RECOMP_FLAGS_IN(); 2530 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2531 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2532 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 2533 _flag_k = FK_ADD; 2534 eax = edi; /* 0x250DB135: mov eax, edi */ 2535 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2536 _cf = (eax) != 0; 2537 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 2538 _flag_k = FK_CMP; 2539 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 2540 eax = _sc ? 0xFFFFFFFFu : 0; 2541 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2542 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2544 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 2545 _cf = 0; 2546 _flag_k = FK_TEST; 2547 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 2548 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 2549 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 2550 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 2551 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 2552 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 2553 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 2554 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2556 _flag_k = FK_CMP; 2557 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 2558 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 2559 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 2560 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 2561 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 2562 L_250DB16C: 2563 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 2564 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 2565 ecx = esi; /* 0x250DB170: mov ecx, esi */ 2566 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 2567 RECOMP_FLAGS_IN(); 2568 ecx = eax; /* 0x250DB177: mov ecx, eax */ 2569 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 2570 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 2571 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 2572 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2574 _flag_k = FK_CMP; 2575 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 2576 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 2577 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2579 _flag_k = FK_NARROW(FK_CMP, 24); 2580 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 2581 L_250DB187: 2582 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 2583 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 2584 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2586 _flag_k = FK_CMP; 2587 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 2588 L_250DB18F: 2589 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 2590 PUSH32(esp, edx); /* 0x250DB192: push edx */ 2591 ecx = esi; /* 0x250DB193: mov ecx, esi */ 2592 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 2593 RECOMP_FLAGS_IN(); 2594 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 2595 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 2596 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 2597 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 2598 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 2599 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 2600 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 2601 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 2602 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 2603 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 2604 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 2605 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 2606 RECOMP_FLAGS_IN(); 2607 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 2608 L_250DB1BE: 2609 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 2610 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 2611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2612 _flag_k = FK_CMP; 2613 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 2614 L_250DB1C3: 2615 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 2616 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 2617 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 2618 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 2619 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 2620 RECOMP_FLAGS_IN(); 2621 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 2622 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 2623 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 2624 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 2625 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 2626 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 2627 RECOMP_FLAGS_IN(); 2628 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 2629 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 2630 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 2631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2632 _flag_k = FK_CMP; 2633 RECOMP_BACKEDGE(); 2634 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 2635 L_250DB1E6: 2636 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 2637 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 2638 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 2639 RECOMP_FLAGS_IN(); 2640 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 2641 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 2642 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 2643 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 2644 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 2645 RECOMP_FLAGS_IN(); 2646 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2647 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2648 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 2649 _flag_k = FK_ADD; 2650 eax = edi; /* 0x250DB201: mov eax, edi */ 2651 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2652 _cf = (eax) != 0; 2653 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 2654 _flag_k = FK_CMP; 2655 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 2656 eax = _sc ? 0xFFFFFFFFu : 0; 2657 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2658 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2659 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 2660 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 2661 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2662 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 2663 _cf = 0; 2664 _flag_k = FK_TEST; 2665 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 2666 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 2667 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 2668 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 2669 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2671 _flag_k = FK_CMP; 2672 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 2673 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 2674 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 2675 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 2676 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 2677 L_250DB22E: 2678 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 2679 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 2680 ecx = esi; /* 0x250DB232: mov ecx, esi */ 2681 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 2682 RECOMP_FLAGS_IN(); 2683 edx = eax; /* 0x250DB239: mov edx, eax */ 2684 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 2685 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 2686 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 2687 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2689 _flag_k = FK_CMP; 2690 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 2691 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 2692 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2694 _flag_k = FK_NARROW(FK_CMP, 24); 2695 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 2696 L_250DB249: 2697 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 2698 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 2699 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 2700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2701 _flag_k = FK_CMP; 2702 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 2703 L_250DB251: 2704 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 2705 PUSH32(esp, eax); /* 0x250DB254: push eax */ 2706 ecx = esi; /* 0x250DB255: mov ecx, esi */ 2707 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 2708 RECOMP_FLAGS_IN(); 2709 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 2710 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 2711 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 2712 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 2713 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 2714 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 2715 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 2716 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 2717 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 2718 PUSH32(esp, eax); /* 0x250DB276: push eax */ 2719 ecx = esi; /* 0x250DB277: mov ecx, esi */ 2720 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 2721 RECOMP_FLAGS_IN(); 2722 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 2723 L_250DB280: 2724 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 2725 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 2726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2727 _flag_k = FK_CMP; 2728 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 2729 L_250DB285: 2730 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 2731 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 2732 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 2733 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 2734 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 2735 RECOMP_FLAGS_IN(); 2736 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 2737 PUSH32(esp, edx); /* 0x250DB294: push edx */ 2738 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 2739 PUSH32(esp, eax); /* 0x250DB298: push eax */ 2740 ecx = esi; /* 0x250DB299: mov ecx, esi */ 2741 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 2742 RECOMP_FLAGS_IN(); 2743 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 2744 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 2745 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2747 _flag_k = FK_CMP; 2748 RECOMP_BACKEDGE(); 2749 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 2750 L_250DB2A8: 2751 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 2752 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 2753 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 2754 RECOMP_FLAGS_IN(); 2755 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 2756 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 2757 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 2758 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 2759 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 2760 RECOMP_FLAGS_IN(); 2761 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2762 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2763 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 2764 _flag_k = FK_ADD; 2765 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 2766 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 2767 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 2768 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 2769 RECOMP_FLAGS_IN(); 2770 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 2771 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 2772 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 2773 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 2774 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 2775 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 2776 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 2777 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 2778 L_251477A0: 2779 ecx = MEM32(ebp + (-0x10)); /* 0x251477A0: mov ecx, dword ptr [ebp - 0x10] */ 2780 RECOMP_BACKEDGE(); 2781 goto L_250DB0B0; /* 0x251477A3: jmp 0x250db0b0 */ 2782 { RECOMP_REGS_OUT(); return; } /* end of function */ 2783 RECOMP_REGS_OUT(); 2784 } 2785 2786 void sub_251477A8(void) { 2787 int _fpu_cmp = 0; 2788 uint32_t _cf = 0; 2789 int _df = 1; 2790 uint32_t _flag_k = FK_NONE; 2791 uint32_t _flag_a = 0, _flag_b = 0; 2792 uint32_t _itail_tgt = 0; 2793 RECOMP_REGS_LOCALS 2794 RECOMP_ENTER(0x251477A8u); 2795 2796 goto L_251477A8; 2797 L_251380C4: 2798 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2799 L_251477A8: 2800 eax = 0x25167BD8u; /* 0x251477A8: mov eax, 0x25167bd8 */ 2801 L_251477AD: 2802 RECOMP_BACKEDGE(); 2803 goto L_251380C4; /* 0x251477AD: jmp 0x251380c4 */ 2804 { RECOMP_REGS_OUT(); return; } /* end of function */ 2805 _ljump: 2806 switch (_itail_tgt) { 2807 case 0x251380C4u: goto L_251380C4; 2808 case 0x251477A8u: goto L_251477A8; 2809 case 0x251477ADu: goto L_251477AD; 2810 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2811 } 2812 RECOMP_REGS_OUT(); 2813 } 2814 2815 void sub_251477C0(void) { 2816 int _fpu_cmp = 0; 2817 uint32_t _cf = 0; 2818 int _df = 1; 2819 uint32_t _flag_k = FK_NONE; 2820 uint32_t _flag_a = 0, _flag_b = 0; 2821 uint32_t _itail_tgt = 0; 2822 RECOMP_REGS_LOCALS 2823 RECOMP_ENTER(0x251477C0u); 2824 2825 L_251477C0: 2826 ecx = ebp + (-0x64); /* 0x251477C0: lea ecx, [ebp - 0x64] */ 2827 goto L_25009BC0; /* 0x251477C3: jmp 0x25009bc0 */ 2828 { RECOMP_REGS_OUT(); return; } /* end of function */ 2829 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2830 RECOMP_REGS_OUT(); 2831 } 2832 2833 void sub_251477C8(void) { 2834 int _fpu_cmp = 0; 2835 uint32_t _cf = 0; 2836 int _df = 1; 2837 uint32_t _flag_k = FK_NONE; 2838 uint32_t _flag_a = 0, _flag_b = 0; 2839 uint32_t _itail_tgt = 0; 2840 RECOMP_REGS_LOCALS 2841 RECOMP_ENTER(0x251477C8u); 2842 2843 L_251477C8: 2844 ecx = ebp + (-0x58); /* 0x251477C8: lea ecx, [ebp - 0x58] */ 2845 goto L_25009BC0; /* 0x251477CB: jmp 0x25009bc0 */ 2846 { RECOMP_REGS_OUT(); return; } /* end of function */ 2847 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2848 RECOMP_REGS_OUT(); 2849 } 2850 2851 void sub_251477D0(void) { 2852 int _fpu_cmp = 0; 2853 uint32_t _cf = 0; 2854 int _df = 1; 2855 uint32_t _flag_k = FK_NONE; 2856 uint32_t _flag_a = 0, _flag_b = 0; 2857 uint32_t _itail_tgt = 0; 2858 RECOMP_REGS_LOCALS 2859 RECOMP_ENTER(0x251477D0u); 2860 2861 L_251477D0: 2862 ecx = ebp + (-0x4C); /* 0x251477D0: lea ecx, [ebp - 0x4c] */ 2863 goto L_25009BC0; /* 0x251477D3: jmp 0x25009bc0 */ 2864 { RECOMP_REGS_OUT(); return; } /* end of function */ 2865 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2866 RECOMP_REGS_OUT(); 2867 } 2868 2869 void sub_251477D8(void) { 2870 int _fpu_cmp = 0; 2871 uint32_t _cf = 0; 2872 int _df = 1; 2873 uint32_t _flag_k = FK_NONE; 2874 uint32_t _flag_a = 0, _flag_b = 0; 2875 uint32_t _itail_tgt = 0; 2876 RECOMP_REGS_LOCALS 2877 RECOMP_ENTER(0x251477D8u); 2878 2879 L_251477D8: 2880 ecx = ebp + (-0x40); /* 0x251477D8: lea ecx, [ebp - 0x40] */ 2881 goto L_25009BC0; /* 0x251477DB: jmp 0x25009bc0 */ 2882 { RECOMP_REGS_OUT(); return; } /* end of function */ 2883 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2884 RECOMP_REGS_OUT(); 2885 } 2886 2887 void sub_251477E0(void) { 2888 int _fpu_cmp = 0; 2889 uint32_t _cf = 0; 2890 int _df = 1; 2891 uint32_t _flag_k = FK_NONE; 2892 uint32_t _flag_a = 0, _flag_b = 0; 2893 uint32_t _itail_tgt = 0; 2894 RECOMP_REGS_LOCALS 2895 RECOMP_ENTER(0x251477E0u); 2896 2897 L_251477E0: 2898 ecx = ebp + (-0x34); /* 0x251477E0: lea ecx, [ebp - 0x34] */ 2899 goto L_25009BC0; /* 0x251477E3: jmp 0x25009bc0 */ 2900 { RECOMP_REGS_OUT(); return; } /* end of function */ 2901 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2902 RECOMP_REGS_OUT(); 2903 } 2904 2905 void sub_251477E8(void) { 2906 int _fpu_cmp = 0; 2907 uint32_t _cf = 0; 2908 int _df = 1; 2909 uint32_t _flag_k = FK_NONE; 2910 uint32_t _flag_a = 0, _flag_b = 0; 2911 uint32_t _itail_tgt = 0; 2912 RECOMP_REGS_LOCALS 2913 RECOMP_ENTER(0x251477E8u); 2914 2915 L_251477E8: 2916 ecx = ebp + (-0x28); /* 0x251477E8: lea ecx, [ebp - 0x28] */ 2917 goto L_25009BC0; /* 0x251477EB: jmp 0x25009bc0 */ 2918 { RECOMP_REGS_OUT(); return; } /* end of function */ 2919 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2920 RECOMP_REGS_OUT(); 2921 } 2922 2923 void sub_251477F0(void) { 2924 int _fpu_cmp = 0; 2925 uint32_t _cf = 0; 2926 int _df = 1; 2927 uint32_t _flag_k = FK_NONE; 2928 uint32_t _flag_a = 0, _flag_b = 0; 2929 uint32_t _itail_tgt = 0; 2930 RECOMP_REGS_LOCALS 2931 RECOMP_ENTER(0x251477F0u); 2932 2933 goto L_251477F0; 2934 L_251380C4: 2935 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2936 L_251477F0: 2937 eax = 0x25167C00u; /* 0x251477F0: mov eax, 0x25167c00 */ 2938 L_251477F5: 2939 RECOMP_BACKEDGE(); 2940 goto L_251380C4; /* 0x251477F5: jmp 0x251380c4 */ 2941 { RECOMP_REGS_OUT(); return; } /* end of function */ 2942 _ljump: 2943 switch (_itail_tgt) { 2944 case 0x251380C4u: goto L_251380C4; 2945 case 0x251477F0u: goto L_251477F0; 2946 case 0x251477F5u: goto L_251477F5; 2947 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2948 } 2949 RECOMP_REGS_OUT(); 2950 } 2951 2952 void sub_25147800(void) { 2953 int _fpu_cmp = 0; 2954 uint32_t _cf = 0; 2955 int _df = 1; 2956 uint32_t _flag_k = FK_NONE; 2957 uint32_t _flag_a = 0, _flag_b = 0; 2958 uint32_t _itail_tgt = 0; 2959 RECOMP_REGS_LOCALS 2960 RECOMP_ENTER(0x25147800u); 2961 2962 goto L_25147800; 2963 L_250DB0B0: 2964 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 2965 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 2966 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 2967 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 2968 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 2969 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 2970 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 2971 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2973 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 2974 _flag_k = FK_CMP; 2975 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 2976 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 2977 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 2978 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 2979 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 2980 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 2981 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 2982 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 2983 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 2984 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 2985 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 2986 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 2987 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 2988 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 2989 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2990 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 2991 _cf = 0; 2992 _flag_k = FK_TEST; 2993 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 2994 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2996 _flag_k = FK_CMP; 2997 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 2998 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 2999 L_250DB11E: 3000 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 3001 RECOMP_FLAGS_IN(); 3002 L_250DB123: 3003 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 3004 PUSH32(esp, eax); /* 0x250DB129: push eax */ 3005 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 3006 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 3007 RECOMP_FLAGS_IN(); 3008 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3009 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3010 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 3011 _flag_k = FK_ADD; 3012 eax = edi; /* 0x250DB135: mov eax, edi */ 3013 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3014 _cf = (eax) != 0; 3015 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 3016 _flag_k = FK_CMP; 3017 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 3018 eax = _sc ? 0xFFFFFFFFu : 0; 3019 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3020 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3022 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 3023 _cf = 0; 3024 _flag_k = FK_TEST; 3025 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 3026 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 3027 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 3028 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 3029 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 3030 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 3031 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 3032 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3034 _flag_k = FK_CMP; 3035 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 3036 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 3037 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 3038 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 3039 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 3040 L_250DB16C: 3041 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 3042 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 3043 ecx = esi; /* 0x250DB170: mov ecx, esi */ 3044 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 3045 RECOMP_FLAGS_IN(); 3046 ecx = eax; /* 0x250DB177: mov ecx, eax */ 3047 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 3048 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 3049 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 3050 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3052 _flag_k = FK_CMP; 3053 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 3054 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 3055 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3057 _flag_k = FK_NARROW(FK_CMP, 24); 3058 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 3059 L_250DB187: 3060 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 3061 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 3062 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3064 _flag_k = FK_CMP; 3065 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 3066 L_250DB18F: 3067 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 3068 PUSH32(esp, edx); /* 0x250DB192: push edx */ 3069 ecx = esi; /* 0x250DB193: mov ecx, esi */ 3070 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 3071 RECOMP_FLAGS_IN(); 3072 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 3073 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 3074 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 3075 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 3076 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 3077 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 3078 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 3079 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 3080 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 3081 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 3082 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 3083 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 3084 RECOMP_FLAGS_IN(); 3085 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 3086 L_250DB1BE: 3087 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 3088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 3089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3090 _flag_k = FK_CMP; 3091 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 3092 L_250DB1C3: 3093 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 3094 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 3095 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 3096 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 3097 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 3098 RECOMP_FLAGS_IN(); 3099 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 3100 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 3101 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 3102 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 3103 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 3104 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 3105 RECOMP_FLAGS_IN(); 3106 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 3107 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 3108 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 3109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3110 _flag_k = FK_CMP; 3111 RECOMP_BACKEDGE(); 3112 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 3113 L_250DB1E6: 3114 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 3115 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 3116 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 3117 RECOMP_FLAGS_IN(); 3118 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 3119 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 3120 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 3121 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 3122 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 3123 RECOMP_FLAGS_IN(); 3124 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3125 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3126 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 3127 _flag_k = FK_ADD; 3128 eax = edi; /* 0x250DB201: mov eax, edi */ 3129 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3130 _cf = (eax) != 0; 3131 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 3132 _flag_k = FK_CMP; 3133 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 3134 eax = _sc ? 0xFFFFFFFFu : 0; 3135 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3136 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3137 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 3138 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 3139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3140 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 3141 _cf = 0; 3142 _flag_k = FK_TEST; 3143 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 3144 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 3145 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 3146 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 3147 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3149 _flag_k = FK_CMP; 3150 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 3151 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 3152 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 3153 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 3154 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 3155 L_250DB22E: 3156 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 3157 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 3158 ecx = esi; /* 0x250DB232: mov ecx, esi */ 3159 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 3160 RECOMP_FLAGS_IN(); 3161 edx = eax; /* 0x250DB239: mov edx, eax */ 3162 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 3163 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 3164 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 3165 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3167 _flag_k = FK_CMP; 3168 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 3169 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 3170 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3172 _flag_k = FK_NARROW(FK_CMP, 24); 3173 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 3174 L_250DB249: 3175 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 3176 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 3177 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 3178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3179 _flag_k = FK_CMP; 3180 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 3181 L_250DB251: 3182 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 3183 PUSH32(esp, eax); /* 0x250DB254: push eax */ 3184 ecx = esi; /* 0x250DB255: mov ecx, esi */ 3185 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 3186 RECOMP_FLAGS_IN(); 3187 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 3188 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 3189 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 3190 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 3191 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 3192 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 3193 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 3194 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 3195 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 3196 PUSH32(esp, eax); /* 0x250DB276: push eax */ 3197 ecx = esi; /* 0x250DB277: mov ecx, esi */ 3198 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 3199 RECOMP_FLAGS_IN(); 3200 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 3201 L_250DB280: 3202 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 3203 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 3204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3205 _flag_k = FK_CMP; 3206 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 3207 L_250DB285: 3208 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 3209 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 3210 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 3211 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 3212 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 3213 RECOMP_FLAGS_IN(); 3214 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 3215 PUSH32(esp, edx); /* 0x250DB294: push edx */ 3216 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 3217 PUSH32(esp, eax); /* 0x250DB298: push eax */ 3218 ecx = esi; /* 0x250DB299: mov ecx, esi */ 3219 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 3220 RECOMP_FLAGS_IN(); 3221 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 3222 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 3223 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3225 _flag_k = FK_CMP; 3226 RECOMP_BACKEDGE(); 3227 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 3228 L_250DB2A8: 3229 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 3230 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 3231 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 3232 RECOMP_FLAGS_IN(); 3233 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 3234 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 3235 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 3236 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 3237 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 3238 RECOMP_FLAGS_IN(); 3239 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3240 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3241 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 3242 _flag_k = FK_ADD; 3243 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 3244 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 3245 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 3246 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 3247 RECOMP_FLAGS_IN(); 3248 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 3249 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 3250 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 3251 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 3252 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 3253 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 3254 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 3255 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 3256 L_25147800: 3257 ecx = MEM32(ebp + (-0x10)); /* 0x25147800: mov ecx, dword ptr [ebp - 0x10] */ 3258 RECOMP_BACKEDGE(); 3259 goto L_250DB0B0; /* 0x25147803: jmp 0x250db0b0 */ 3260 { RECOMP_REGS_OUT(); return; } /* end of function */ 3261 RECOMP_REGS_OUT(); 3262 } 3263 3264 void sub_25147808(void) { 3265 int _fpu_cmp = 0; 3266 uint32_t _cf = 0; 3267 int _df = 1; 3268 uint32_t _flag_k = FK_NONE; 3269 uint32_t _flag_a = 0, _flag_b = 0; 3270 uint32_t _itail_tgt = 0; 3271 RECOMP_REGS_LOCALS 3272 RECOMP_ENTER(0x25147808u); 3273 3274 L_25147808: 3275 eax = MEM32(ebp + 0x8); /* 0x25147808: mov eax, dword ptr [ebp + 8] */ 3276 PUSH32(esp, eax); /* 0x2514780B: push eax */ 3277 RECOMP_ICALL(0x25137EECu); /* 0x2514780C: call 0x25137eec */ /* not lifted */ 3278 RECOMP_FLAGS_IN(); 3279 ecx = POP32_VAL(esp); /* 0x25147811: pop ecx */ 3280 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25147812: ret */ 3281 RECOMP_REGS_OUT(); 3282 } 3283 3284 void sub_25147813(void) { 3285 int _fpu_cmp = 0; 3286 uint32_t _cf = 0; 3287 int _df = 1; 3288 uint32_t _flag_k = FK_NONE; 3289 uint32_t _flag_a = 0, _flag_b = 0; 3290 uint32_t _itail_tgt = 0; 3291 RECOMP_REGS_LOCALS 3292 RECOMP_ENTER(0x25147813u); 3293 3294 L_25147813: 3295 ecx = MEM32(ebp + (-0x10)); /* 0x25147813: mov ecx, dword ptr [ebp - 0x10] */ 3296 goto L_2501C660; /* 0x25147816: jmp 0x2501c660 */ 3297 { RECOMP_REGS_OUT(); return; } /* end of function */ 3298 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 3299 RECOMP_REGS_OUT(); 3300 } 3301 3302 void sub_2514781B(void) { 3303 int _fpu_cmp = 0; 3304 uint32_t _cf = 0; 3305 int _df = 1; 3306 uint32_t _flag_k = FK_NONE; 3307 uint32_t _flag_a = 0, _flag_b = 0; 3308 uint32_t _itail_tgt = 0; 3309 RECOMP_REGS_LOCALS 3310 RECOMP_ENTER(0x2514781Bu); 3311 3312 goto L_2514781B; 3313 L_251380C4: 3314 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3315 L_2514781B: 3316 eax = 0x25167C50u; /* 0x2514781B: mov eax, 0x25167c50 */ 3317 L_25147820: 3318 RECOMP_BACKEDGE(); 3319 goto L_251380C4; /* 0x25147820: jmp 0x251380c4 */ 3320 { RECOMP_REGS_OUT(); return; } /* end of function */ 3321 _ljump: 3322 switch (_itail_tgt) { 3323 case 0x251380C4u: goto L_251380C4; 3324 case 0x2514781Bu: goto L_2514781B; 3325 case 0x25147820u: goto L_25147820; 3326 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3327 } 3328 RECOMP_REGS_OUT(); 3329 } 3330 3331 void sub_25147830(void) { 3332 int _fpu_cmp = 0; 3333 uint32_t _cf = 0; 3334 int _df = 1; 3335 uint32_t _flag_k = FK_NONE; 3336 uint32_t _flag_a = 0, _flag_b = 0; 3337 uint32_t _itail_tgt = 0; 3338 RECOMP_REGS_LOCALS 3339 RECOMP_ENTER(0x25147830u); 3340 3341 goto L_25147830; 3342 L_250DB0B0: 3343 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 3344 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 3345 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 3346 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 3347 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 3348 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 3349 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 3350 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3352 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 3353 _flag_k = FK_CMP; 3354 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 3355 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 3356 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 3357 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 3358 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 3359 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 3360 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 3361 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 3362 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 3363 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 3364 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 3365 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 3366 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 3367 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 3368 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3369 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 3370 _cf = 0; 3371 _flag_k = FK_TEST; 3372 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 3373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 3374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3375 _flag_k = FK_CMP; 3376 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 3377 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 3378 L_250DB11E: 3379 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 3380 RECOMP_FLAGS_IN(); 3381 L_250DB123: 3382 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 3383 PUSH32(esp, eax); /* 0x250DB129: push eax */ 3384 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 3385 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 3386 RECOMP_FLAGS_IN(); 3387 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3389 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 3390 _flag_k = FK_ADD; 3391 eax = edi; /* 0x250DB135: mov eax, edi */ 3392 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3393 _cf = (eax) != 0; 3394 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 3395 _flag_k = FK_CMP; 3396 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 3397 eax = _sc ? 0xFFFFFFFFu : 0; 3398 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3399 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3400 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3401 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 3402 _cf = 0; 3403 _flag_k = FK_TEST; 3404 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 3405 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 3406 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 3407 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 3408 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 3409 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 3410 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 3411 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3413 _flag_k = FK_CMP; 3414 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 3415 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 3416 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 3417 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 3418 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 3419 L_250DB16C: 3420 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 3421 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 3422 ecx = esi; /* 0x250DB170: mov ecx, esi */ 3423 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 3424 RECOMP_FLAGS_IN(); 3425 ecx = eax; /* 0x250DB177: mov ecx, eax */ 3426 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 3427 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 3428 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 3429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3431 _flag_k = FK_CMP; 3432 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 3433 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 3434 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3436 _flag_k = FK_NARROW(FK_CMP, 24); 3437 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 3438 L_250DB187: 3439 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 3440 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 3441 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3443 _flag_k = FK_CMP; 3444 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 3445 L_250DB18F: 3446 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 3447 PUSH32(esp, edx); /* 0x250DB192: push edx */ 3448 ecx = esi; /* 0x250DB193: mov ecx, esi */ 3449 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 3450 RECOMP_FLAGS_IN(); 3451 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 3452 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 3453 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 3454 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 3455 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 3456 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 3457 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 3458 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 3459 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 3460 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 3461 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 3462 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 3463 RECOMP_FLAGS_IN(); 3464 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 3465 L_250DB1BE: 3466 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 3467 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 3468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3469 _flag_k = FK_CMP; 3470 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 3471 L_250DB1C3: 3472 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 3473 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 3474 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 3475 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 3476 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 3477 RECOMP_FLAGS_IN(); 3478 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 3479 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 3480 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 3481 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 3482 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 3483 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 3484 RECOMP_FLAGS_IN(); 3485 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 3486 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 3487 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 3488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3489 _flag_k = FK_CMP; 3490 RECOMP_BACKEDGE(); 3491 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 3492 L_250DB1E6: 3493 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 3494 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 3495 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 3496 RECOMP_FLAGS_IN(); 3497 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 3498 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 3499 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 3500 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 3501 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 3502 RECOMP_FLAGS_IN(); 3503 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3504 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3505 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 3506 _flag_k = FK_ADD; 3507 eax = edi; /* 0x250DB201: mov eax, edi */ 3508 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3509 _cf = (eax) != 0; 3510 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 3511 _flag_k = FK_CMP; 3512 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 3513 eax = _sc ? 0xFFFFFFFFu : 0; 3514 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3515 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3516 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 3517 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 3518 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3519 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 3520 _cf = 0; 3521 _flag_k = FK_TEST; 3522 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 3523 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 3524 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 3525 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 3526 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3528 _flag_k = FK_CMP; 3529 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 3530 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 3531 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 3532 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 3533 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 3534 L_250DB22E: 3535 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 3536 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 3537 ecx = esi; /* 0x250DB232: mov ecx, esi */ 3538 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 3539 RECOMP_FLAGS_IN(); 3540 edx = eax; /* 0x250DB239: mov edx, eax */ 3541 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 3542 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 3543 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 3544 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3546 _flag_k = FK_CMP; 3547 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 3548 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 3549 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3551 _flag_k = FK_NARROW(FK_CMP, 24); 3552 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 3553 L_250DB249: 3554 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 3555 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 3556 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 3557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3558 _flag_k = FK_CMP; 3559 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 3560 L_250DB251: 3561 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 3562 PUSH32(esp, eax); /* 0x250DB254: push eax */ 3563 ecx = esi; /* 0x250DB255: mov ecx, esi */ 3564 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 3565 RECOMP_FLAGS_IN(); 3566 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 3567 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 3568 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 3569 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 3570 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 3571 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 3572 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 3573 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 3574 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 3575 PUSH32(esp, eax); /* 0x250DB276: push eax */ 3576 ecx = esi; /* 0x250DB277: mov ecx, esi */ 3577 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 3578 RECOMP_FLAGS_IN(); 3579 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 3580 L_250DB280: 3581 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 3582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 3583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3584 _flag_k = FK_CMP; 3585 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 3586 L_250DB285: 3587 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 3588 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 3589 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 3590 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 3591 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 3592 RECOMP_FLAGS_IN(); 3593 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 3594 PUSH32(esp, edx); /* 0x250DB294: push edx */ 3595 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 3596 PUSH32(esp, eax); /* 0x250DB298: push eax */ 3597 ecx = esi; /* 0x250DB299: mov ecx, esi */ 3598 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 3599 RECOMP_FLAGS_IN(); 3600 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 3601 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 3602 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3604 _flag_k = FK_CMP; 3605 RECOMP_BACKEDGE(); 3606 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 3607 L_250DB2A8: 3608 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 3609 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 3610 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 3611 RECOMP_FLAGS_IN(); 3612 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 3613 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 3614 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 3615 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 3616 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 3617 RECOMP_FLAGS_IN(); 3618 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3619 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3620 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 3621 _flag_k = FK_ADD; 3622 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 3623 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 3624 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 3625 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 3626 RECOMP_FLAGS_IN(); 3627 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 3628 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 3629 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 3630 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 3631 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 3632 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 3633 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 3634 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 3635 L_25147830: 3636 ecx = MEM32(ebp + (-0x10)); /* 0x25147830: mov ecx, dword ptr [ebp - 0x10] */ 3637 RECOMP_BACKEDGE(); 3638 goto L_250DB0B0; /* 0x25147833: jmp 0x250db0b0 */ 3639 { RECOMP_REGS_OUT(); return; } /* end of function */ 3640 RECOMP_REGS_OUT(); 3641 } 3642 3643 void sub_25147838(void) { 3644 int _fpu_cmp = 0; 3645 uint32_t _cf = 0; 3646 int _df = 1; 3647 uint32_t _flag_k = FK_NONE; 3648 uint32_t _flag_a = 0, _flag_b = 0; 3649 uint32_t _itail_tgt = 0; 3650 RECOMP_REGS_LOCALS 3651 RECOMP_ENTER(0x25147838u); 3652 3653 goto L_25147838; 3654 L_251380C4: 3655 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3656 L_25147838: 3657 eax = 0x25167C88u; /* 0x25147838: mov eax, 0x25167c88 */ 3658 L_2514783D: 3659 RECOMP_BACKEDGE(); 3660 goto L_251380C4; /* 0x2514783D: jmp 0x251380c4 */ 3661 { RECOMP_REGS_OUT(); return; } /* end of function */ 3662 _ljump: 3663 switch (_itail_tgt) { 3664 case 0x251380C4u: goto L_251380C4; 3665 case 0x25147838u: goto L_25147838; 3666 case 0x2514783Du: goto L_2514783D; 3667 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3668 } 3669 RECOMP_REGS_OUT(); 3670 } 3671 3672 void sub_25147850(void) { 3673 int _fpu_cmp = 0; 3674 uint32_t _cf = 0; 3675 int _df = 1; 3676 uint32_t _flag_k = FK_NONE; 3677 uint32_t _flag_a = 0, _flag_b = 0; 3678 uint32_t _itail_tgt = 0; 3679 RECOMP_REGS_LOCALS 3680 RECOMP_ENTER(0x25147850u); 3681 3682 goto L_25147850; 3683 L_250DB0B0: 3684 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 3685 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 3686 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 3687 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 3688 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 3689 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 3690 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 3691 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3693 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 3694 _flag_k = FK_CMP; 3695 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 3696 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 3697 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 3698 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 3699 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 3700 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 3701 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 3702 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 3703 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 3704 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 3705 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 3706 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 3707 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 3708 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 3709 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3710 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 3711 _cf = 0; 3712 _flag_k = FK_TEST; 3713 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 3714 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 3715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3716 _flag_k = FK_CMP; 3717 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 3718 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 3719 L_250DB11E: 3720 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 3721 RECOMP_FLAGS_IN(); 3722 L_250DB123: 3723 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 3724 PUSH32(esp, eax); /* 0x250DB129: push eax */ 3725 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 3726 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 3727 RECOMP_FLAGS_IN(); 3728 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3729 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3730 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 3731 _flag_k = FK_ADD; 3732 eax = edi; /* 0x250DB135: mov eax, edi */ 3733 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3734 _cf = (eax) != 0; 3735 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 3736 _flag_k = FK_CMP; 3737 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 3738 eax = _sc ? 0xFFFFFFFFu : 0; 3739 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3740 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3741 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3742 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 3743 _cf = 0; 3744 _flag_k = FK_TEST; 3745 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 3746 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 3747 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 3748 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 3749 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 3750 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 3751 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 3752 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3754 _flag_k = FK_CMP; 3755 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 3756 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 3757 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 3758 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 3759 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 3760 L_250DB16C: 3761 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 3762 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 3763 ecx = esi; /* 0x250DB170: mov ecx, esi */ 3764 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 3765 RECOMP_FLAGS_IN(); 3766 ecx = eax; /* 0x250DB177: mov ecx, eax */ 3767 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 3768 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 3769 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 3770 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3772 _flag_k = FK_CMP; 3773 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 3774 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 3775 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3777 _flag_k = FK_NARROW(FK_CMP, 24); 3778 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 3779 L_250DB187: 3780 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 3781 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 3782 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3784 _flag_k = FK_CMP; 3785 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 3786 L_250DB18F: 3787 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 3788 PUSH32(esp, edx); /* 0x250DB192: push edx */ 3789 ecx = esi; /* 0x250DB193: mov ecx, esi */ 3790 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 3791 RECOMP_FLAGS_IN(); 3792 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 3793 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 3794 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 3795 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 3796 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 3797 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 3798 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 3799 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 3800 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 3801 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 3802 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 3803 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 3804 RECOMP_FLAGS_IN(); 3805 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 3806 L_250DB1BE: 3807 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 3808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 3809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3810 _flag_k = FK_CMP; 3811 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 3812 L_250DB1C3: 3813 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 3814 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 3815 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 3816 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 3817 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 3818 RECOMP_FLAGS_IN(); 3819 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 3820 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 3821 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 3822 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 3823 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 3824 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 3825 RECOMP_FLAGS_IN(); 3826 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 3827 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 3828 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 3829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3830 _flag_k = FK_CMP; 3831 RECOMP_BACKEDGE(); 3832 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 3833 L_250DB1E6: 3834 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 3835 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 3836 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 3837 RECOMP_FLAGS_IN(); 3838 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 3839 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 3840 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 3841 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 3842 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 3843 RECOMP_FLAGS_IN(); 3844 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3845 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3846 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 3847 _flag_k = FK_ADD; 3848 eax = edi; /* 0x250DB201: mov eax, edi */ 3849 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3850 _cf = (eax) != 0; 3851 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 3852 _flag_k = FK_CMP; 3853 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 3854 eax = _sc ? 0xFFFFFFFFu : 0; 3855 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3856 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3857 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 3858 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 3859 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3860 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 3861 _cf = 0; 3862 _flag_k = FK_TEST; 3863 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 3864 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 3865 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 3866 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 3867 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3869 _flag_k = FK_CMP; 3870 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 3871 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 3872 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 3873 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 3874 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 3875 L_250DB22E: 3876 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 3877 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 3878 ecx = esi; /* 0x250DB232: mov ecx, esi */ 3879 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 3880 RECOMP_FLAGS_IN(); 3881 edx = eax; /* 0x250DB239: mov edx, eax */ 3882 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 3883 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 3884 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 3885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3887 _flag_k = FK_CMP; 3888 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 3889 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 3890 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3892 _flag_k = FK_NARROW(FK_CMP, 24); 3893 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 3894 L_250DB249: 3895 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 3896 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 3897 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 3898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3899 _flag_k = FK_CMP; 3900 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 3901 L_250DB251: 3902 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 3903 PUSH32(esp, eax); /* 0x250DB254: push eax */ 3904 ecx = esi; /* 0x250DB255: mov ecx, esi */ 3905 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 3906 RECOMP_FLAGS_IN(); 3907 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 3908 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 3909 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 3910 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 3911 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 3912 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 3913 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 3914 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 3915 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 3916 PUSH32(esp, eax); /* 0x250DB276: push eax */ 3917 ecx = esi; /* 0x250DB277: mov ecx, esi */ 3918 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 3919 RECOMP_FLAGS_IN(); 3920 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 3921 L_250DB280: 3922 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 3923 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 3924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3925 _flag_k = FK_CMP; 3926 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 3927 L_250DB285: 3928 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 3929 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 3930 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 3931 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 3932 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 3933 RECOMP_FLAGS_IN(); 3934 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 3935 PUSH32(esp, edx); /* 0x250DB294: push edx */ 3936 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 3937 PUSH32(esp, eax); /* 0x250DB298: push eax */ 3938 ecx = esi; /* 0x250DB299: mov ecx, esi */ 3939 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 3940 RECOMP_FLAGS_IN(); 3941 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 3942 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 3943 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3945 _flag_k = FK_CMP; 3946 RECOMP_BACKEDGE(); 3947 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 3948 L_250DB2A8: 3949 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 3950 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 3951 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 3952 RECOMP_FLAGS_IN(); 3953 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 3954 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 3955 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 3956 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 3957 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 3958 RECOMP_FLAGS_IN(); 3959 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3960 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3961 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 3962 _flag_k = FK_ADD; 3963 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 3964 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 3965 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 3966 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 3967 RECOMP_FLAGS_IN(); 3968 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 3969 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 3970 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 3971 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 3972 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 3973 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 3974 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 3975 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 3976 L_25147850: 3977 ecx = MEM32(ebp + (-0x10)); /* 0x25147850: mov ecx, dword ptr [ebp - 0x10] */ 3978 RECOMP_BACKEDGE(); 3979 goto L_250DB0B0; /* 0x25147853: jmp 0x250db0b0 */ 3980 { RECOMP_REGS_OUT(); return; } /* end of function */ 3981 RECOMP_REGS_OUT(); 3982 } 3983 3984 void sub_25147858(void) { 3985 int _fpu_cmp = 0; 3986 uint32_t _cf = 0; 3987 int _df = 1; 3988 uint32_t _flag_k = FK_NONE; 3989 uint32_t _flag_a = 0, _flag_b = 0; 3990 uint32_t _itail_tgt = 0; 3991 RECOMP_REGS_LOCALS 3992 RECOMP_ENTER(0x25147858u); 3993 3994 L_25147858: 3995 eax = MEM32(ebp + 0x8); /* 0x25147858: mov eax, dword ptr [ebp + 8] */ 3996 PUSH32(esp, eax); /* 0x2514785B: push eax */ 3997 RECOMP_ICALL(0x25137EECu); /* 0x2514785C: call 0x25137eec */ /* not lifted */ 3998 RECOMP_FLAGS_IN(); 3999 ecx = POP32_VAL(esp); /* 0x25147861: pop ecx */ 4000 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25147862: ret */ 4001 RECOMP_REGS_OUT(); 4002 } 4003 4004 void sub_25147863(void) { 4005 int _fpu_cmp = 0; 4006 uint32_t _cf = 0; 4007 int _df = 1; 4008 uint32_t _flag_k = FK_NONE; 4009 uint32_t _flag_a = 0, _flag_b = 0; 4010 uint32_t _itail_tgt = 0; 4011 RECOMP_REGS_LOCALS 4012 RECOMP_ENTER(0x25147863u); 4013 4014 L_25147863: 4015 ecx = MEM32(ebp + (-0x10)); /* 0x25147863: mov ecx, dword ptr [ebp - 0x10] */ 4016 goto L_2501C660; /* 0x25147866: jmp 0x2501c660 */ 4017 { RECOMP_REGS_OUT(); return; } /* end of function */ 4018 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 4019 RECOMP_REGS_OUT(); 4020 } 4021 4022 void sub_2514786B(void) { 4023 int _fpu_cmp = 0; 4024 uint32_t _cf = 0; 4025 int _df = 1; 4026 uint32_t _flag_k = FK_NONE; 4027 uint32_t _flag_a = 0, _flag_b = 0; 4028 uint32_t _itail_tgt = 0; 4029 RECOMP_REGS_LOCALS 4030 RECOMP_ENTER(0x2514786Bu); 4031 4032 goto L_2514786B; 4033 L_251380C4: 4034 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 4035 L_2514786B: 4036 eax = 0x25167CB0u; /* 0x2514786B: mov eax, 0x25167cb0 */ 4037 L_25147870: 4038 RECOMP_BACKEDGE(); 4039 goto L_251380C4; /* 0x25147870: jmp 0x251380c4 */ 4040 { RECOMP_REGS_OUT(); return; } /* end of function */ 4041 _ljump: 4042 switch (_itail_tgt) { 4043 case 0x251380C4u: goto L_251380C4; 4044 case 0x2514786Bu: goto L_2514786B; 4045 case 0x25147870u: goto L_25147870; 4046 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4047 } 4048 RECOMP_REGS_OUT(); 4049 } 4050 4051 void sub_25147880(void) { 4052 int _fpu_cmp = 0; 4053 uint32_t _cf = 0; 4054 int _df = 1; 4055 uint32_t _flag_k = FK_NONE; 4056 uint32_t _flag_a = 0, _flag_b = 0; 4057 uint32_t _itail_tgt = 0; 4058 RECOMP_REGS_LOCALS 4059 RECOMP_ENTER(0x25147880u); 4060 4061 goto L_25147880; 4062 L_250DB0B0: 4063 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 4064 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 4065 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 4066 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 4067 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 4068 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 4069 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 4070 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 4071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4072 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 4073 _flag_k = FK_CMP; 4074 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 4075 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 4076 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 4077 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 4078 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 4079 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 4080 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 4081 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 4082 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 4083 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 4084 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 4085 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 4086 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 4087 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 4088 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4089 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 4090 _cf = 0; 4091 _flag_k = FK_TEST; 4092 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 4093 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4095 _flag_k = FK_CMP; 4096 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 4097 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 4098 L_250DB11E: 4099 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 4100 RECOMP_FLAGS_IN(); 4101 L_250DB123: 4102 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 4103 PUSH32(esp, eax); /* 0x250DB129: push eax */ 4104 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 4105 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 4106 RECOMP_FLAGS_IN(); 4107 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4108 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4109 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 4110 _flag_k = FK_ADD; 4111 eax = edi; /* 0x250DB135: mov eax, edi */ 4112 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 4113 _cf = (eax) != 0; 4114 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 4115 _flag_k = FK_CMP; 4116 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 4117 eax = _sc ? 0xFFFFFFFFu : 0; 4118 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4119 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4120 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4121 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 4122 _cf = 0; 4123 _flag_k = FK_TEST; 4124 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 4125 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 4126 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 4127 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 4128 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 4129 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 4130 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 4131 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 4132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4133 _flag_k = FK_CMP; 4134 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 4135 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 4136 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 4137 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 4138 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 4139 L_250DB16C: 4140 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 4141 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 4142 ecx = esi; /* 0x250DB170: mov ecx, esi */ 4143 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 4144 RECOMP_FLAGS_IN(); 4145 ecx = eax; /* 0x250DB177: mov ecx, eax */ 4146 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 4147 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 4148 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 4149 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4151 _flag_k = FK_CMP; 4152 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 4153 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 4154 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4156 _flag_k = FK_NARROW(FK_CMP, 24); 4157 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 4158 L_250DB187: 4159 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 4160 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 4161 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 4162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4163 _flag_k = FK_CMP; 4164 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 4165 L_250DB18F: 4166 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 4167 PUSH32(esp, edx); /* 0x250DB192: push edx */ 4168 ecx = esi; /* 0x250DB193: mov ecx, esi */ 4169 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 4170 RECOMP_FLAGS_IN(); 4171 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 4172 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 4173 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 4174 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 4175 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 4176 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 4177 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 4178 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 4179 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 4180 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 4181 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 4182 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 4183 RECOMP_FLAGS_IN(); 4184 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 4185 L_250DB1BE: 4186 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 4187 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 4188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4189 _flag_k = FK_CMP; 4190 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 4191 L_250DB1C3: 4192 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 4193 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 4194 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 4195 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 4196 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 4197 RECOMP_FLAGS_IN(); 4198 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 4199 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 4200 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 4201 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 4202 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 4203 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 4204 RECOMP_FLAGS_IN(); 4205 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 4206 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 4207 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 4208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4209 _flag_k = FK_CMP; 4210 RECOMP_BACKEDGE(); 4211 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 4212 L_250DB1E6: 4213 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 4214 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 4215 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 4216 RECOMP_FLAGS_IN(); 4217 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 4218 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 4219 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 4220 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 4221 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 4222 RECOMP_FLAGS_IN(); 4223 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4225 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 4226 _flag_k = FK_ADD; 4227 eax = edi; /* 0x250DB201: mov eax, edi */ 4228 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 4229 _cf = (eax) != 0; 4230 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 4231 _flag_k = FK_CMP; 4232 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 4233 eax = _sc ? 0xFFFFFFFFu : 0; 4234 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4235 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4236 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 4237 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 4238 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4239 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 4240 _cf = 0; 4241 _flag_k = FK_TEST; 4242 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 4243 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 4244 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 4245 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 4246 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 4247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4248 _flag_k = FK_CMP; 4249 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 4250 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 4251 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 4252 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 4253 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 4254 L_250DB22E: 4255 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 4256 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 4257 ecx = esi; /* 0x250DB232: mov ecx, esi */ 4258 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 4259 RECOMP_FLAGS_IN(); 4260 edx = eax; /* 0x250DB239: mov edx, eax */ 4261 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 4262 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 4263 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 4264 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4266 _flag_k = FK_CMP; 4267 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 4268 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 4269 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4271 _flag_k = FK_NARROW(FK_CMP, 24); 4272 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 4273 L_250DB249: 4274 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 4275 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 4276 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 4277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4278 _flag_k = FK_CMP; 4279 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 4280 L_250DB251: 4281 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 4282 PUSH32(esp, eax); /* 0x250DB254: push eax */ 4283 ecx = esi; /* 0x250DB255: mov ecx, esi */ 4284 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 4285 RECOMP_FLAGS_IN(); 4286 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 4287 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 4288 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 4289 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 4290 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 4291 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 4292 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 4293 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 4294 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 4295 PUSH32(esp, eax); /* 0x250DB276: push eax */ 4296 ecx = esi; /* 0x250DB277: mov ecx, esi */ 4297 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 4298 RECOMP_FLAGS_IN(); 4299 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 4300 L_250DB280: 4301 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 4302 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 4303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4304 _flag_k = FK_CMP; 4305 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 4306 L_250DB285: 4307 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 4308 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 4309 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 4310 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 4311 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 4312 RECOMP_FLAGS_IN(); 4313 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 4314 PUSH32(esp, edx); /* 0x250DB294: push edx */ 4315 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 4316 PUSH32(esp, eax); /* 0x250DB298: push eax */ 4317 ecx = esi; /* 0x250DB299: mov ecx, esi */ 4318 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 4319 RECOMP_FLAGS_IN(); 4320 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 4321 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 4322 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 4323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4324 _flag_k = FK_CMP; 4325 RECOMP_BACKEDGE(); 4326 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 4327 L_250DB2A8: 4328 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 4329 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 4330 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 4331 RECOMP_FLAGS_IN(); 4332 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 4333 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 4334 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 4335 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 4336 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 4337 RECOMP_FLAGS_IN(); 4338 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4340 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 4341 _flag_k = FK_ADD; 4342 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 4343 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 4344 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 4345 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 4346 RECOMP_FLAGS_IN(); 4347 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 4348 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 4349 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 4350 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 4351 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 4352 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 4353 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 4354 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 4355 L_25147880: 4356 ecx = MEM32(ebp + (-0x10)); /* 0x25147880: mov ecx, dword ptr [ebp - 0x10] */ 4357 RECOMP_BACKEDGE(); 4358 goto L_250DB0B0; /* 0x25147883: jmp 0x250db0b0 */ 4359 { RECOMP_REGS_OUT(); return; } /* end of function */ 4360 RECOMP_REGS_OUT(); 4361 }