client/game/bbr.dll/lifted-0111.c (187155B)
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_2514D469(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(0x2514D469u); 17 18 goto L_2514D469; 19 L_2510EA30: 20 eax = MEM32(ecx + 0x4); /* 0x2510EA30: mov eax, dword ptr [ecx + 4] */ 21 PUSH32(esp, eax); /* 0x2510EA33: push eax */ 22 RECOMP_ICALL(0x25137EECu); /* 0x2510EA34: call 0x25137eec */ /* not lifted */ 23 RECOMP_FLAGS_IN(); 24 ecx = POP32_VAL(esp); /* 0x2510EA39: pop ecx */ 25 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510EA3A: ret */ 26 L_2514D469: 27 ecx = MEM32(ebp + (-0x38)); /* 0x2514D469: mov ecx, dword ptr [ebp - 0x38] */ 28 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x48u); 29 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30 ecx = ecx + 0x48u; /* 0x2514D46C: add ecx, 0x48 */ 31 _flag_k = FK_ADD; 32 RECOMP_BACKEDGE(); 33 goto L_2510EA30; /* 0x2514D46F: jmp 0x2510ea30 */ 34 { RECOMP_REGS_OUT(); return; } /* end of function */ 35 RECOMP_REGS_OUT(); 36 } 37 38 void sub_2514D474(void) { 39 int _fpu_cmp = 0; 40 uint32_t _cf = 0; 41 int _df = 1; 42 uint32_t _flag_k = FK_NONE; 43 uint32_t _flag_a = 0, _flag_b = 0; 44 uint32_t _itail_tgt = 0; 45 RECOMP_REGS_LOCALS 46 RECOMP_ENTER(0x2514D474u); 47 48 L_2514D474: 49 ecx = ebp + (-0x34); /* 0x2514D474: lea ecx, [ebp - 0x34] */ 50 L_2514D477: 51 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 52 { RECOMP_REGS_OUT(); return; } /* end of function */ 53 _ljump: 54 switch (_itail_tgt) { 55 case 0x2514D474u: goto L_2514D474; 56 case 0x2514D477u: goto L_2514D477; 57 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 58 } 59 RECOMP_REGS_OUT(); 60 } 61 62 void sub_2514D47D(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(0x2514D47Du); 71 72 L_2514D47D: 73 ecx = ebp + (-0x34); /* 0x2514D47D: lea ecx, [ebp - 0x34] */ 74 L_2514D480: 75 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 76 { RECOMP_REGS_OUT(); return; } /* end of function */ 77 _ljump: 78 switch (_itail_tgt) { 79 case 0x2514D47Du: goto L_2514D47D; 80 case 0x2514D480u: goto L_2514D480; 81 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 82 } 83 RECOMP_REGS_OUT(); 84 } 85 86 void sub_2514D486(void) { 87 int _fpu_cmp = 0; 88 uint32_t _cf = 0; 89 int _df = 1; 90 uint32_t _flag_k = FK_NONE; 91 uint32_t _flag_a = 0, _flag_b = 0; 92 uint32_t _itail_tgt = 0; 93 RECOMP_REGS_LOCALS 94 RECOMP_ENTER(0x2514D486u); 95 96 L_2514D486: 97 ecx = ebp + (-0xC4); /* 0x2514D486: lea ecx, [ebp - 0xc4] */ 98 L_2514D48C: 99 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 100 { RECOMP_REGS_OUT(); return; } /* end of function */ 101 _ljump: 102 switch (_itail_tgt) { 103 case 0x2514D486u: goto L_2514D486; 104 case 0x2514D48Cu: goto L_2514D48C; 105 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 106 } 107 RECOMP_REGS_OUT(); 108 } 109 110 void sub_2514D492(void) { 111 int _fpu_cmp = 0; 112 uint32_t _cf = 0; 113 int _df = 1; 114 uint32_t _flag_k = FK_NONE; 115 uint32_t _flag_a = 0, _flag_b = 0; 116 uint32_t _itail_tgt = 0; 117 RECOMP_REGS_LOCALS 118 RECOMP_ENTER(0x2514D492u); 119 120 L_2514D492: 121 ecx = ebp + (-0x94); /* 0x2514D492: lea ecx, [ebp - 0x94] */ 122 L_2514D498: 123 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 124 { RECOMP_REGS_OUT(); return; } /* end of function */ 125 _ljump: 126 switch (_itail_tgt) { 127 case 0x2514D492u: goto L_2514D492; 128 case 0x2514D498u: goto L_2514D498; 129 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 130 } 131 RECOMP_REGS_OUT(); 132 } 133 134 void sub_2514D49E(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(0x2514D49Eu); 143 144 L_2514D49E: 145 ecx = ebp + (-0x48); /* 0x2514D49E: lea ecx, [ebp - 0x48] */ 146 L_2514D4A1: 147 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 148 { RECOMP_REGS_OUT(); return; } /* end of function */ 149 _ljump: 150 switch (_itail_tgt) { 151 case 0x2514D49Eu: goto L_2514D49E; 152 case 0x2514D4A1u: goto L_2514D4A1; 153 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 154 } 155 RECOMP_REGS_OUT(); 156 } 157 158 void sub_2514D4A7(void) { 159 int _fpu_cmp = 0; 160 uint32_t _cf = 0; 161 int _df = 1; 162 uint32_t _flag_k = FK_NONE; 163 uint32_t _flag_a = 0, _flag_b = 0; 164 uint32_t _itail_tgt = 0; 165 RECOMP_REGS_LOCALS 166 RECOMP_ENTER(0x2514D4A7u); 167 168 L_2514D4A7: 169 ecx = ebp + (-0x84); /* 0x2514D4A7: lea ecx, [ebp - 0x84] */ 170 L_2514D4AD: 171 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 172 { RECOMP_REGS_OUT(); return; } /* end of function */ 173 _ljump: 174 switch (_itail_tgt) { 175 case 0x2514D4A7u: goto L_2514D4A7; 176 case 0x2514D4ADu: goto L_2514D4AD; 177 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 178 } 179 RECOMP_REGS_OUT(); 180 } 181 182 void sub_2514D4B3(void) { 183 int _fpu_cmp = 0; 184 uint32_t _cf = 0; 185 int _df = 1; 186 uint32_t _flag_k = FK_NONE; 187 uint32_t _flag_a = 0, _flag_b = 0; 188 uint32_t _itail_tgt = 0; 189 RECOMP_REGS_LOCALS 190 RECOMP_ENTER(0x2514D4B3u); 191 192 L_2514D4B3: 193 eax = MEM32(ebp + (-0x14)); /* 0x2514D4B3: mov eax, dword ptr [ebp - 0x14] */ 194 PUSH32(esp, eax); /* 0x2514D4B6: push eax */ 195 RECOMP_ICALL(0x25137EECu); /* 0x2514D4B7: call 0x25137eec */ /* not lifted */ 196 RECOMP_FLAGS_IN(); 197 ecx = POP32_VAL(esp); /* 0x2514D4BC: pop ecx */ 198 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D4BD: ret */ 199 RECOMP_REGS_OUT(); 200 } 201 202 void sub_2514D4BE(void) { 203 int _fpu_cmp = 0; 204 uint32_t _cf = 0; 205 int _df = 1; 206 uint32_t _flag_k = FK_NONE; 207 uint32_t _flag_a = 0, _flag_b = 0; 208 uint32_t _itail_tgt = 0; 209 RECOMP_REGS_LOCALS 210 RECOMP_ENTER(0x2514D4BEu); 211 212 L_2514D4BE: 213 eax = MEM32(ebp + 0x8); /* 0x2514D4BE: mov eax, dword ptr [ebp + 8] */ 214 PUSH32(esp, eax); /* 0x2514D4C1: push eax */ 215 RECOMP_ICALL(0x25137EECu); /* 0x2514D4C2: call 0x25137eec */ /* not lifted */ 216 RECOMP_FLAGS_IN(); 217 ecx = POP32_VAL(esp); /* 0x2514D4C7: pop ecx */ 218 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D4C8: ret */ 219 RECOMP_REGS_OUT(); 220 } 221 222 void sub_2514D4C9(void) { 223 int _fpu_cmp = 0; 224 uint32_t _cf = 0; 225 int _df = 1; 226 uint32_t _flag_k = FK_NONE; 227 uint32_t _flag_a = 0, _flag_b = 0; 228 uint32_t _itail_tgt = 0; 229 RECOMP_REGS_LOCALS 230 RECOMP_ENTER(0x2514D4C9u); 231 232 L_2514D4C9: 233 ecx = ebp + (-0x84); /* 0x2514D4C9: lea ecx, [ebp - 0x84] */ 234 L_2514D4CF: 235 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 236 { RECOMP_REGS_OUT(); return; } /* end of function */ 237 _ljump: 238 switch (_itail_tgt) { 239 case 0x2514D4C9u: goto L_2514D4C9; 240 case 0x2514D4CFu: goto L_2514D4CF; 241 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 242 } 243 RECOMP_REGS_OUT(); 244 } 245 246 void sub_2514D4D5(void) { 247 int _fpu_cmp = 0; 248 uint32_t _cf = 0; 249 int _df = 1; 250 uint32_t _flag_k = FK_NONE; 251 uint32_t _flag_a = 0, _flag_b = 0; 252 uint32_t _itail_tgt = 0; 253 RECOMP_REGS_LOCALS 254 RECOMP_ENTER(0x2514D4D5u); 255 256 L_2514D4D5: 257 eax = MEM32(ebp + 0x8); /* 0x2514D4D5: mov eax, dword ptr [ebp + 8] */ 258 PUSH32(esp, eax); /* 0x2514D4D8: push eax */ 259 RECOMP_ICALL(0x25137EECu); /* 0x2514D4D9: call 0x25137eec */ /* not lifted */ 260 RECOMP_FLAGS_IN(); 261 ecx = POP32_VAL(esp); /* 0x2514D4DE: pop ecx */ 262 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D4DF: ret */ 263 RECOMP_REGS_OUT(); 264 } 265 266 void sub_2514D4E0(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(0x2514D4E0u); 275 276 L_2514D4E0: 277 ecx = ebp + (-0x84); /* 0x2514D4E0: lea ecx, [ebp - 0x84] */ 278 L_2514D4E6: 279 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 280 { RECOMP_REGS_OUT(); return; } /* end of function */ 281 _ljump: 282 switch (_itail_tgt) { 283 case 0x2514D4E0u: goto L_2514D4E0; 284 case 0x2514D4E6u: goto L_2514D4E6; 285 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 286 } 287 RECOMP_REGS_OUT(); 288 } 289 290 void sub_2514D4EC(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(0x2514D4ECu); 299 300 L_2514D4EC: 301 eax = MEM32(ebp + (-0x18)); /* 0x2514D4EC: mov eax, dword ptr [ebp - 0x18] */ 302 PUSH32(esp, eax); /* 0x2514D4EF: push eax */ 303 RECOMP_ICALL(0x25137EECu); /* 0x2514D4F0: call 0x25137eec */ /* not lifted */ 304 RECOMP_FLAGS_IN(); 305 ecx = POP32_VAL(esp); /* 0x2514D4F5: pop ecx */ 306 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D4F6: ret */ 307 RECOMP_REGS_OUT(); 308 } 309 310 void sub_2514D4F7(void) { 311 int _fpu_cmp = 0; 312 uint32_t _cf = 0; 313 int _df = 1; 314 uint32_t _flag_k = FK_NONE; 315 uint32_t _flag_a = 0, _flag_b = 0; 316 uint32_t _itail_tgt = 0; 317 RECOMP_REGS_LOCALS 318 RECOMP_ENTER(0x2514D4F7u); 319 320 L_2514D4F7: 321 eax = MEM32(ebp + (-0x18)); /* 0x2514D4F7: mov eax, dword ptr [ebp - 0x18] */ 322 PUSH32(esp, eax); /* 0x2514D4FA: push eax */ 323 RECOMP_ICALL(0x25137EECu); /* 0x2514D4FB: call 0x25137eec */ /* not lifted */ 324 RECOMP_FLAGS_IN(); 325 ecx = POP32_VAL(esp); /* 0x2514D500: pop ecx */ 326 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D501: ret */ 327 RECOMP_REGS_OUT(); 328 } 329 330 void sub_2514D502(void) { 331 int _fpu_cmp = 0; 332 uint32_t _cf = 0; 333 int _df = 1; 334 uint32_t _flag_k = FK_NONE; 335 uint32_t _flag_a = 0, _flag_b = 0; 336 uint32_t _itail_tgt = 0; 337 RECOMP_REGS_LOCALS 338 RECOMP_ENTER(0x2514D502u); 339 340 L_2514D502: 341 ecx = ebp + (-0x34); /* 0x2514D502: lea ecx, [ebp - 0x34] */ 342 L_2514D505: 343 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 344 { RECOMP_REGS_OUT(); return; } /* end of function */ 345 _ljump: 346 switch (_itail_tgt) { 347 case 0x2514D502u: goto L_2514D502; 348 case 0x2514D505u: goto L_2514D505; 349 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 350 } 351 RECOMP_REGS_OUT(); 352 } 353 354 void sub_2514D50B(void) { 355 int _fpu_cmp = 0; 356 uint32_t _cf = 0; 357 int _df = 1; 358 uint32_t _flag_k = FK_NONE; 359 uint32_t _flag_a = 0, _flag_b = 0; 360 uint32_t _itail_tgt = 0; 361 RECOMP_REGS_LOCALS 362 RECOMP_ENTER(0x2514D50Bu); 363 364 L_2514D50B: 365 ecx = ebp + (-0xB4); /* 0x2514D50B: lea ecx, [ebp - 0xb4] */ 366 L_2514D511: 367 { _itail_tgt = (uint32_t)(MEM32(0x25151310)); goto _ljump; } 368 { RECOMP_REGS_OUT(); return; } /* end of function */ 369 _ljump: 370 switch (_itail_tgt) { 371 case 0x2514D50Bu: goto L_2514D50B; 372 case 0x2514D511u: goto L_2514D511; 373 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 374 } 375 RECOMP_REGS_OUT(); 376 } 377 378 void sub_2514D517(void) { 379 int _fpu_cmp = 0; 380 uint32_t _cf = 0; 381 int _df = 1; 382 uint32_t _flag_k = FK_NONE; 383 uint32_t _flag_a = 0, _flag_b = 0; 384 uint32_t _itail_tgt = 0; 385 RECOMP_REGS_LOCALS 386 RECOMP_ENTER(0x2514D517u); 387 388 L_2514D517: 389 eax = MEM32(ebp + 0x8); /* 0x2514D517: mov eax, dword ptr [ebp + 8] */ 390 PUSH32(esp, eax); /* 0x2514D51A: push eax */ 391 RECOMP_ICALL(0x25137EECu); /* 0x2514D51B: call 0x25137eec */ /* not lifted */ 392 RECOMP_FLAGS_IN(); 393 ecx = POP32_VAL(esp); /* 0x2514D520: pop ecx */ 394 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D521: ret */ 395 RECOMP_REGS_OUT(); 396 } 397 398 void sub_2514D522(void) { 399 int _fpu_cmp = 0; 400 uint32_t _cf = 0; 401 int _df = 1; 402 uint32_t _flag_k = FK_NONE; 403 uint32_t _flag_a = 0, _flag_b = 0; 404 uint32_t _itail_tgt = 0; 405 RECOMP_REGS_LOCALS 406 RECOMP_ENTER(0x2514D522u); 407 408 L_2514D522: 409 ecx = ebp + (-0x48); /* 0x2514D522: lea ecx, [ebp - 0x48] */ 410 L_2514D525: 411 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 412 { RECOMP_REGS_OUT(); return; } /* end of function */ 413 _ljump: 414 switch (_itail_tgt) { 415 case 0x2514D522u: goto L_2514D522; 416 case 0x2514D525u: goto L_2514D525; 417 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 418 } 419 RECOMP_REGS_OUT(); 420 } 421 422 void sub_2514D52B(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(0x2514D52Bu); 431 432 goto L_2514D52B; 433 L_251380C4: 434 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 435 L_2514D52B: 436 eax = 0x2516EB10u; /* 0x2514D52B: mov eax, 0x2516eb10 */ 437 L_2514D530: 438 RECOMP_BACKEDGE(); 439 goto L_251380C4; /* 0x2514D530: jmp 0x251380c4 */ 440 { RECOMP_REGS_OUT(); return; } /* end of function */ 441 _ljump: 442 switch (_itail_tgt) { 443 case 0x251380C4u: goto L_251380C4; 444 case 0x2514D52Bu: goto L_2514D52B; 445 case 0x2514D530u: goto L_2514D530; 446 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 447 } 448 RECOMP_REGS_OUT(); 449 } 450 451 void sub_2514D540(void) { 452 int _fpu_cmp = 0; 453 uint32_t _cf = 0; 454 int _df = 1; 455 uint32_t _flag_k = FK_NONE; 456 uint32_t _flag_a = 0, _flag_b = 0; 457 uint32_t _itail_tgt = 0; 458 RECOMP_REGS_LOCALS 459 RECOMP_ENTER(0x2514D540u); 460 461 goto L_2514D540; 462 L_250E62B0: 463 PUSH32(esp, ebp); /* 0x250E62B0: push ebp */ 464 ebp = esp; /* 0x250E62B1: mov ebp, esp */ 465 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */ 466 PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */ 467 eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */ 468 PUSH32(esp, eax); /* 0x250E62C0: push eax */ 469 MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */ 470 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 472 esp = esp - 8; /* 0x250E62C8: sub esp, 8 */ 473 _flag_k = FK_CMP; 474 PUSH32(esp, esi); /* 0x250E62CB: push esi */ 475 esi = ecx; /* 0x250E62CC: mov esi, ecx */ 476 MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */ 477 MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */ 478 eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */ 479 PUSH32(esp, eax); /* 0x250E62DA: push eax */ 480 eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */ 481 PUSH32(esp, eax); /* 0x250E62DE: push eax */ 482 ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */ 483 MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */ 484 RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */ 485 RECOMP_FLAGS_IN(); 486 eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */ 487 /* test eax, eax */ /* 0x250E62F3: test eax, eax */ 488 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 489 _cf = 0; 490 _flag_k = FK_TEST; 491 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */ 492 L_250E62F7: 493 _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1); 494 MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */ 495 _flag_k = FK_DEC; 496 L_250E62FD: 497 eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */ 498 /* test eax, eax */ /* 0x250E6300: test eax, eax */ 499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 500 _cf = 0; 501 _flag_k = FK_TEST; 502 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */ 503 L_250E6304: 504 ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */ 505 SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */ 506 /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */ 507 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 508 _cf = 0; 509 _flag_k = FK_NARROW(FK_TEST, 24); 510 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */ 511 L_250E630D: 512 /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */ 513 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 515 _flag_k = FK_NARROW(FK_CMP, 24); 516 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */ 517 L_250E6311: 518 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 519 SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */ 520 _flag_k = FK_NARROW(FK_DEC, 24); 521 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */ 522 goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */ 523 L_250E6317: 524 PUSH32(esp, ecx); /* 0x250E6317: push ecx */ 525 RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */ 526 RECOMP_FLAGS_IN(); 527 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 528 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 529 esp = esp + 4; /* 0x250E631D: add esp, 4 */ 530 _flag_k = FK_ADD; 531 L_250E6320: 532 ecx = esi; /* 0x250E6320: mov ecx, esi */ 533 MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */ 534 MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */ 535 MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */ 536 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */ 537 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */ 538 RECOMP_FLAGS_IN(); 539 ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */ 540 esi = POP32_VAL(esp); /* 0x250E6347: pop esi */ 541 MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */ 542 esp = ebp; /* 0x250E634F: mov esp, ebp */ 543 ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */ 544 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret */ 545 L_2514D540: 546 ecx = MEM32(ebp + (-0x10)); /* 0x2514D540: mov ecx, dword ptr [ebp - 0x10] */ 547 RECOMP_BACKEDGE(); 548 goto L_250E62B0; /* 0x2514D543: jmp 0x250e62b0 */ 549 { RECOMP_REGS_OUT(); return; } /* end of function */ 550 RECOMP_REGS_OUT(); 551 } 552 553 void sub_2514D548(void) { 554 int _fpu_cmp = 0; 555 uint32_t _cf = 0; 556 int _df = 1; 557 uint32_t _flag_k = FK_NONE; 558 uint32_t _flag_a = 0, _flag_b = 0; 559 uint32_t _itail_tgt = 0; 560 RECOMP_REGS_LOCALS 561 RECOMP_ENTER(0x2514D548u); 562 563 goto L_2514D548; 564 L_2510EA30: 565 eax = MEM32(ecx + 0x4); /* 0x2510EA30: mov eax, dword ptr [ecx + 4] */ 566 PUSH32(esp, eax); /* 0x2510EA33: push eax */ 567 RECOMP_ICALL(0x25137EECu); /* 0x2510EA34: call 0x25137eec */ /* not lifted */ 568 RECOMP_FLAGS_IN(); 569 ecx = POP32_VAL(esp); /* 0x2510EA39: pop ecx */ 570 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510EA3A: ret */ 571 L_2514D548: 572 ecx = MEM32(ebp + (-0x10)); /* 0x2514D548: mov ecx, dword ptr [ebp - 0x10] */ 573 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x30u); 574 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 575 ecx = ecx + 0x30u; /* 0x2514D54B: add ecx, 0x30 */ 576 _flag_k = FK_ADD; 577 RECOMP_BACKEDGE(); 578 goto L_2510EA30; /* 0x2514D54E: jmp 0x2510ea30 */ 579 { RECOMP_REGS_OUT(); return; } /* end of function */ 580 RECOMP_REGS_OUT(); 581 } 582 583 void sub_2514D553(void) { 584 int _fpu_cmp = 0; 585 uint32_t _cf = 0; 586 int _df = 1; 587 uint32_t _flag_k = FK_NONE; 588 uint32_t _flag_a = 0, _flag_b = 0; 589 uint32_t _itail_tgt = 0; 590 RECOMP_REGS_LOCALS 591 RECOMP_ENTER(0x2514D553u); 592 593 goto L_2514D553; 594 L_2510EAE0: 595 eax = MEM32(ecx + 0x4); /* 0x2510EAE0: mov eax, dword ptr [ecx + 4] */ 596 /* test eax, eax */ /* 0x2510EAE3: test eax, eax */ 597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 598 _cf = 0; 599 _flag_k = FK_TEST; 600 if (TEST_Z(_flag_a, _flag_b)) goto L_2510EB06; /* 0x2510EAE5: je 0x2510eb06 */ 601 L_2510EAE7: 602 ecx = MEM32(eax + (-0x4)); /* 0x2510EAE7: mov ecx, dword ptr [eax - 4] */ 603 PUSH32(esp, esi); /* 0x2510EAEA: push esi */ 604 esi = eax + (-0x4); /* 0x2510EAEB: lea esi, [eax - 4] */ 605 PUSH32(esp, 0x2510ED20u); /* 0x2510EAEE: push 0x2510ed20 */ 606 PUSH32(esp, ecx); /* 0x2510EAF3: push ecx */ 607 PUSH32(esp, 0x1Cu); /* 0x2510EAF4: push 0x1c */ 608 PUSH32(esp, eax); /* 0x2510EAF6: push eax */ 609 RECOMP_ICALL(0x25137F92u); /* 0x2510EAF7: call 0x25137f92 */ /* not lifted */ 610 RECOMP_FLAGS_IN(); 611 PUSH32(esp, esi); /* 0x2510EAFC: push esi */ 612 RECOMP_ICALL(0x25137EECu); /* 0x2510EAFD: call 0x25137eec */ /* not lifted */ 613 RECOMP_FLAGS_IN(); 614 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 616 esp = esp + 4; /* 0x2510EB02: add esp, 4 */ 617 _flag_k = FK_ADD; 618 esi = POP32_VAL(esp); /* 0x2510EB05: pop esi */ 619 L_2510EB06: 620 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510EB06: ret */ 621 L_2514D553: 622 ecx = MEM32(ebp + (-0x10)); /* 0x2514D553: mov ecx, dword ptr [ebp - 0x10] */ 623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u); 624 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 625 ecx = ecx + 0x38u; /* 0x2514D556: add ecx, 0x38 */ 626 _flag_k = FK_ADD; 627 RECOMP_BACKEDGE(); 628 goto L_2510EAE0; /* 0x2514D559: jmp 0x2510eae0 */ 629 { RECOMP_REGS_OUT(); return; } /* end of function */ 630 RECOMP_REGS_OUT(); 631 } 632 633 void sub_2514D55E(void) { 634 int _fpu_cmp = 0; 635 uint32_t _cf = 0; 636 int _df = 1; 637 uint32_t _flag_k = FK_NONE; 638 uint32_t _flag_a = 0, _flag_b = 0; 639 uint32_t _itail_tgt = 0; 640 RECOMP_REGS_LOCALS 641 RECOMP_ENTER(0x2514D55Eu); 642 643 goto L_2514D55E; 644 L_2510EBB0: 645 eax = MEM32(ecx + 0x4); /* 0x2510EBB0: mov eax, dword ptr [ecx + 4] */ 646 /* test eax, eax */ /* 0x2510EBB3: test eax, eax */ 647 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 648 _cf = 0; 649 _flag_k = FK_TEST; 650 if (TEST_Z(_flag_a, _flag_b)) goto L_2510EBD6; /* 0x2510EBB5: je 0x2510ebd6 */ 651 L_2510EBB7: 652 ecx = MEM32(eax + (-0x4)); /* 0x2510EBB7: mov ecx, dword ptr [eax - 4] */ 653 PUSH32(esp, esi); /* 0x2510EBBA: push esi */ 654 esi = eax + (-0x4); /* 0x2510EBBB: lea esi, [eax - 4] */ 655 PUSH32(esp, 0x250F5440u); /* 0x2510EBBE: push 0x250f5440 */ 656 PUSH32(esp, ecx); /* 0x2510EBC3: push ecx */ 657 PUSH32(esp, 0x28u); /* 0x2510EBC4: push 0x28 */ 658 PUSH32(esp, eax); /* 0x2510EBC6: push eax */ 659 RECOMP_ICALL(0x25137F92u); /* 0x2510EBC7: call 0x25137f92 */ /* not lifted */ 660 RECOMP_FLAGS_IN(); 661 PUSH32(esp, esi); /* 0x2510EBCC: push esi */ 662 RECOMP_ICALL(0x25137EECu); /* 0x2510EBCD: call 0x25137eec */ /* not lifted */ 663 RECOMP_FLAGS_IN(); 664 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 665 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 666 esp = esp + 4; /* 0x2510EBD2: add esp, 4 */ 667 _flag_k = FK_ADD; 668 esi = POP32_VAL(esp); /* 0x2510EBD5: pop esi */ 669 L_2510EBD6: 670 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510EBD6: ret */ 671 L_2514D55E: 672 ecx = MEM32(ebp + (-0x10)); /* 0x2514D55E: mov ecx, dword ptr [ebp - 0x10] */ 673 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x40u); 674 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 675 ecx = ecx + 0x40u; /* 0x2514D561: add ecx, 0x40 */ 676 _flag_k = FK_ADD; 677 RECOMP_BACKEDGE(); 678 goto L_2510EBB0; /* 0x2514D564: jmp 0x2510ebb0 */ 679 { RECOMP_REGS_OUT(); return; } /* end of function */ 680 RECOMP_REGS_OUT(); 681 } 682 683 void sub_2514D569(void) { 684 int _fpu_cmp = 0; 685 uint32_t _cf = 0; 686 int _df = 1; 687 uint32_t _flag_k = FK_NONE; 688 uint32_t _flag_a = 0, _flag_b = 0; 689 uint32_t _itail_tgt = 0; 690 RECOMP_REGS_LOCALS 691 RECOMP_ENTER(0x2514D569u); 692 693 goto L_2514D569; 694 L_2510EA30: 695 eax = MEM32(ecx + 0x4); /* 0x2510EA30: mov eax, dword ptr [ecx + 4] */ 696 PUSH32(esp, eax); /* 0x2510EA33: push eax */ 697 RECOMP_ICALL(0x25137EECu); /* 0x2510EA34: call 0x25137eec */ /* not lifted */ 698 RECOMP_FLAGS_IN(); 699 ecx = POP32_VAL(esp); /* 0x2510EA39: pop ecx */ 700 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510EA3A: ret */ 701 L_2514D569: 702 ecx = MEM32(ebp + (-0x10)); /* 0x2514D569: mov ecx, dword ptr [ebp - 0x10] */ 703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x48u); 704 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 705 ecx = ecx + 0x48u; /* 0x2514D56C: add ecx, 0x48 */ 706 _flag_k = FK_ADD; 707 RECOMP_BACKEDGE(); 708 goto L_2510EA30; /* 0x2514D56F: jmp 0x2510ea30 */ 709 { RECOMP_REGS_OUT(); return; } /* end of function */ 710 RECOMP_REGS_OUT(); 711 } 712 713 void sub_2514D574(void) { 714 int _fpu_cmp = 0; 715 uint32_t _cf = 0; 716 int _df = 1; 717 uint32_t _flag_k = FK_NONE; 718 uint32_t _flag_a = 0, _flag_b = 0; 719 uint32_t _itail_tgt = 0; 720 RECOMP_REGS_LOCALS 721 RECOMP_ENTER(0x2514D574u); 722 723 goto L_2514D574; 724 L_251380C4: 725 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 726 L_2514D574: 727 eax = 0x2516EC18u; /* 0x2514D574: mov eax, 0x2516ec18 */ 728 L_2514D579: 729 RECOMP_BACKEDGE(); 730 goto L_251380C4; /* 0x2514D579: jmp 0x251380c4 */ 731 { RECOMP_REGS_OUT(); return; } /* end of function */ 732 _ljump: 733 switch (_itail_tgt) { 734 case 0x251380C4u: goto L_251380C4; 735 case 0x2514D574u: goto L_2514D574; 736 case 0x2514D579u: goto L_2514D579; 737 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 738 } 739 RECOMP_REGS_OUT(); 740 } 741 742 void sub_2514D580(void) { 743 int _fpu_cmp = 0; 744 uint32_t _cf = 0; 745 int _df = 1; 746 uint32_t _flag_k = FK_NONE; 747 uint32_t _flag_a = 0, _flag_b = 0; 748 uint32_t _itail_tgt = 0; 749 RECOMP_REGS_LOCALS 750 RECOMP_ENTER(0x2514D580u); 751 752 L_2514D580: 753 ecx = ebp + (-0x20); /* 0x2514D580: lea ecx, [ebp - 0x20] */ 754 L_2514D583: 755 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 756 { RECOMP_REGS_OUT(); return; } /* end of function */ 757 _ljump: 758 switch (_itail_tgt) { 759 case 0x2514D580u: goto L_2514D580; 760 case 0x2514D583u: goto L_2514D583; 761 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 762 } 763 RECOMP_REGS_OUT(); 764 } 765 766 void sub_2514D589(void) { 767 int _fpu_cmp = 0; 768 uint32_t _cf = 0; 769 int _df = 1; 770 uint32_t _flag_k = FK_NONE; 771 uint32_t _flag_a = 0, _flag_b = 0; 772 uint32_t _itail_tgt = 0; 773 RECOMP_REGS_LOCALS 774 RECOMP_ENTER(0x2514D589u); 775 776 L_2514D589: 777 eax = MEM32(ebp + 0x8); /* 0x2514D589: mov eax, dword ptr [ebp + 8] */ 778 PUSH32(esp, eax); /* 0x2514D58C: push eax */ 779 RECOMP_ICALL(0x25137EECu); /* 0x2514D58D: call 0x25137eec */ /* not lifted */ 780 RECOMP_FLAGS_IN(); 781 ecx = POP32_VAL(esp); /* 0x2514D592: pop ecx */ 782 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D593: ret */ 783 RECOMP_REGS_OUT(); 784 } 785 786 void sub_2514D594(void) { 787 int _fpu_cmp = 0; 788 uint32_t _cf = 0; 789 int _df = 1; 790 uint32_t _flag_k = FK_NONE; 791 uint32_t _flag_a = 0, _flag_b = 0; 792 uint32_t _itail_tgt = 0; 793 RECOMP_REGS_LOCALS 794 RECOMP_ENTER(0x2514D594u); 795 796 goto L_2514D594; 797 L_251380C4: 798 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 799 L_2514D594: 800 eax = 0x2516EC78u; /* 0x2514D594: mov eax, 0x2516ec78 */ 801 L_2514D599: 802 RECOMP_BACKEDGE(); 803 goto L_251380C4; /* 0x2514D599: jmp 0x251380c4 */ 804 { RECOMP_REGS_OUT(); return; } /* end of function */ 805 _ljump: 806 switch (_itail_tgt) { 807 case 0x251380C4u: goto L_251380C4; 808 case 0x2514D594u: goto L_2514D594; 809 case 0x2514D599u: goto L_2514D599; 810 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 811 } 812 RECOMP_REGS_OUT(); 813 } 814 815 void sub_2514D5A0(void) { 816 int _fpu_cmp = 0; 817 uint32_t _cf = 0; 818 int _df = 1; 819 uint32_t _flag_k = FK_NONE; 820 uint32_t _flag_a = 0, _flag_b = 0; 821 uint32_t _itail_tgt = 0; 822 RECOMP_REGS_LOCALS 823 RECOMP_ENTER(0x2514D5A0u); 824 825 goto L_2514D5A0; 826 L_25085240: 827 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 828 ebp = esp; /* 0x25085241: mov ebp, esp */ 829 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 830 PUSH32(esp, esi); /* 0x25085244: push esi */ 831 esi = ecx; /* 0x25085245: mov esi, ecx */ 832 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 833 PUSH32(esp, eax); /* 0x2508524A: push eax */ 834 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 835 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 836 RECOMP_FLAGS_IN(); 837 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 838 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 839 esp = esp + 4; /* 0x25085253: add esp, 4 */ 840 _flag_k = FK_ADD; 841 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 842 eax = 0; /* 0x25085256: xor eax, eax */ 843 _cf = 0; 844 _flag_k = FK_TEST; 845 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 846 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 847 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 848 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 849 esp = ebp; /* 0x25085262: mov esp, ebp */ 850 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 851 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 852 L_2514D5A0: 853 ecx = ebp + (-0x38); /* 0x2514D5A0: lea ecx, [ebp - 0x38] */ 854 RECOMP_BACKEDGE(); 855 goto L_25085240; /* 0x2514D5A3: jmp 0x25085240 */ 856 { RECOMP_REGS_OUT(); return; } /* end of function */ 857 RECOMP_REGS_OUT(); 858 } 859 860 void sub_2514D5A8(void) { 861 int _fpu_cmp = 0; 862 uint32_t _cf = 0; 863 int _df = 1; 864 uint32_t _flag_k = FK_NONE; 865 uint32_t _flag_a = 0, _flag_b = 0; 866 uint32_t _itail_tgt = 0; 867 RECOMP_REGS_LOCALS 868 RECOMP_ENTER(0x2514D5A8u); 869 870 L_2514D5A8: 871 eax = MEM32(ebp + (-0x28)); /* 0x2514D5A8: mov eax, dword ptr [ebp - 0x28] */ 872 PUSH32(esp, eax); /* 0x2514D5AB: push eax */ 873 RECOMP_ICALL(0x25137EECu); /* 0x2514D5AC: call 0x25137eec */ /* not lifted */ 874 RECOMP_FLAGS_IN(); 875 ecx = POP32_VAL(esp); /* 0x2514D5B1: pop ecx */ 876 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D5B2: ret */ 877 RECOMP_REGS_OUT(); 878 } 879 880 void sub_2514D5B3(void) { 881 int _fpu_cmp = 0; 882 uint32_t _cf = 0; 883 int _df = 1; 884 uint32_t _flag_k = FK_NONE; 885 uint32_t _flag_a = 0, _flag_b = 0; 886 uint32_t _itail_tgt = 0; 887 RECOMP_REGS_LOCALS 888 RECOMP_ENTER(0x2514D5B3u); 889 890 L_2514D5B3: 891 ecx = MEM32(ebp + (-0x28)); /* 0x2514D5B3: mov ecx, dword ptr [ebp - 0x28] */ 892 L_2514D5B6: 893 { _itail_tgt = (uint32_t)(MEM32(0x251513FC)); goto _ljump; } 894 { RECOMP_REGS_OUT(); return; } /* end of function */ 895 _ljump: 896 switch (_itail_tgt) { 897 case 0x2514D5B3u: goto L_2514D5B3; 898 case 0x2514D5B6u: goto L_2514D5B6; 899 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 900 } 901 RECOMP_REGS_OUT(); 902 } 903 904 void sub_2514D5BC(void) { 905 int _fpu_cmp = 0; 906 uint32_t _cf = 0; 907 int _df = 1; 908 uint32_t _flag_k = FK_NONE; 909 uint32_t _flag_a = 0, _flag_b = 0; 910 uint32_t _itail_tgt = 0; 911 RECOMP_REGS_LOCALS 912 RECOMP_ENTER(0x2514D5BCu); 913 914 goto L_2514D5BC; 915 L_251380C4: 916 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 917 L_2514D5BC: 918 eax = 0x2516ECE0u; /* 0x2514D5BC: mov eax, 0x2516ece0 */ 919 L_2514D5C1: 920 RECOMP_BACKEDGE(); 921 goto L_251380C4; /* 0x2514D5C1: jmp 0x251380c4 */ 922 { RECOMP_REGS_OUT(); return; } /* end of function */ 923 _ljump: 924 switch (_itail_tgt) { 925 case 0x251380C4u: goto L_251380C4; 926 case 0x2514D5BCu: goto L_2514D5BC; 927 case 0x2514D5C1u: goto L_2514D5C1; 928 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 929 } 930 RECOMP_REGS_OUT(); 931 } 932 933 void sub_2514D5D0(void) { 934 int _fpu_cmp = 0; 935 uint32_t _cf = 0; 936 int _df = 1; 937 uint32_t _flag_k = FK_NONE; 938 uint32_t _flag_a = 0, _flag_b = 0; 939 uint32_t _itail_tgt = 0; 940 RECOMP_REGS_LOCALS 941 RECOMP_ENTER(0x2514D5D0u); 942 943 L_2514D5D0: 944 eax = MEM32(ebp + 0x8); /* 0x2514D5D0: mov eax, dword ptr [ebp + 8] */ 945 PUSH32(esp, eax); /* 0x2514D5D3: push eax */ 946 RECOMP_ICALL(0x25137EECu); /* 0x2514D5D4: call 0x25137eec */ /* not lifted */ 947 RECOMP_FLAGS_IN(); 948 ecx = POP32_VAL(esp); /* 0x2514D5D9: pop ecx */ 949 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D5DA: ret */ 950 RECOMP_REGS_OUT(); 951 } 952 953 void sub_2514D5DB(void) { 954 int _fpu_cmp = 0; 955 uint32_t _cf = 0; 956 int _df = 1; 957 uint32_t _flag_k = FK_NONE; 958 uint32_t _flag_a = 0, _flag_b = 0; 959 uint32_t _itail_tgt = 0; 960 RECOMP_REGS_LOCALS 961 RECOMP_ENTER(0x2514D5DBu); 962 963 goto L_2514D5DB; 964 L_251380C4: 965 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 966 L_2514D5DB: 967 eax = 0x2516ED18u; /* 0x2514D5DB: mov eax, 0x2516ed18 */ 968 L_2514D5E0: 969 RECOMP_BACKEDGE(); 970 goto L_251380C4; /* 0x2514D5E0: jmp 0x251380c4 */ 971 { RECOMP_REGS_OUT(); return; } /* end of function */ 972 _ljump: 973 switch (_itail_tgt) { 974 case 0x251380C4u: goto L_251380C4; 975 case 0x2514D5DBu: goto L_2514D5DB; 976 case 0x2514D5E0u: goto L_2514D5E0; 977 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 978 } 979 RECOMP_REGS_OUT(); 980 } 981 982 void sub_2514D5F0(void) { 983 int _fpu_cmp = 0; 984 uint32_t _cf = 0; 985 int _df = 1; 986 uint32_t _flag_k = FK_NONE; 987 uint32_t _flag_a = 0, _flag_b = 0; 988 uint32_t _itail_tgt = 0; 989 RECOMP_REGS_LOCALS 990 RECOMP_ENTER(0x2514D5F0u); 991 992 L_2514D5F0: 993 eax = MEM32(ebp + 0x8); /* 0x2514D5F0: mov eax, dword ptr [ebp + 8] */ 994 PUSH32(esp, eax); /* 0x2514D5F3: push eax */ 995 RECOMP_ICALL(0x25137EECu); /* 0x2514D5F4: call 0x25137eec */ /* not lifted */ 996 RECOMP_FLAGS_IN(); 997 ecx = POP32_VAL(esp); /* 0x2514D5F9: pop ecx */ 998 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D5FA: ret */ 999 RECOMP_REGS_OUT(); 1000 } 1001 1002 void sub_2514D5FB(void) { 1003 int _fpu_cmp = 0; 1004 uint32_t _cf = 0; 1005 int _df = 1; 1006 uint32_t _flag_k = FK_NONE; 1007 uint32_t _flag_a = 0, _flag_b = 0; 1008 uint32_t _itail_tgt = 0; 1009 RECOMP_REGS_LOCALS 1010 RECOMP_ENTER(0x2514D5FBu); 1011 1012 goto L_2514D5FB; 1013 L_251380C4: 1014 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1015 L_2514D5FB: 1016 eax = 0x2516ED40u; /* 0x2514D5FB: mov eax, 0x2516ed40 */ 1017 L_2514D600: 1018 RECOMP_BACKEDGE(); 1019 goto L_251380C4; /* 0x2514D600: jmp 0x251380c4 */ 1020 { RECOMP_REGS_OUT(); return; } /* end of function */ 1021 _ljump: 1022 switch (_itail_tgt) { 1023 case 0x251380C4u: goto L_251380C4; 1024 case 0x2514D5FBu: goto L_2514D5FB; 1025 case 0x2514D600u: goto L_2514D600; 1026 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1027 } 1028 RECOMP_REGS_OUT(); 1029 } 1030 1031 void sub_2514D610(void) { 1032 int _fpu_cmp = 0; 1033 uint32_t _cf = 0; 1034 int _df = 1; 1035 uint32_t _flag_k = FK_NONE; 1036 uint32_t _flag_a = 0, _flag_b = 0; 1037 uint32_t _itail_tgt = 0; 1038 RECOMP_REGS_LOCALS 1039 RECOMP_ENTER(0x2514D610u); 1040 1041 L_2514D610: 1042 ecx = MEM32(ebp + (-0x28)); /* 0x2514D610: mov ecx, dword ptr [ebp - 0x28] */ 1043 L_2514D613: 1044 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1045 { RECOMP_REGS_OUT(); return; } /* end of function */ 1046 _ljump: 1047 switch (_itail_tgt) { 1048 case 0x2514D610u: goto L_2514D610; 1049 case 0x2514D613u: goto L_2514D613; 1050 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1051 } 1052 RECOMP_REGS_OUT(); 1053 } 1054 1055 void sub_2514D619(void) { 1056 int _fpu_cmp = 0; 1057 uint32_t _cf = 0; 1058 int _df = 1; 1059 uint32_t _flag_k = FK_NONE; 1060 uint32_t _flag_a = 0, _flag_b = 0; 1061 uint32_t _itail_tgt = 0; 1062 RECOMP_REGS_LOCALS 1063 RECOMP_ENTER(0x2514D619u); 1064 1065 goto L_2514D619; 1066 L_251380C4: 1067 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1068 L_2514D619: 1069 eax = 0x2516ED80u; /* 0x2514D619: mov eax, 0x2516ed80 */ 1070 L_2514D61E: 1071 RECOMP_BACKEDGE(); 1072 goto L_251380C4; /* 0x2514D61E: jmp 0x251380c4 */ 1073 { RECOMP_REGS_OUT(); return; } /* end of function */ 1074 _ljump: 1075 switch (_itail_tgt) { 1076 case 0x251380C4u: goto L_251380C4; 1077 case 0x2514D619u: goto L_2514D619; 1078 case 0x2514D61Eu: goto L_2514D61E; 1079 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1080 } 1081 RECOMP_REGS_OUT(); 1082 } 1083 1084 void sub_2514D630(void) { 1085 int _fpu_cmp = 0; 1086 uint32_t _cf = 0; 1087 int _df = 1; 1088 uint32_t _flag_k = FK_NONE; 1089 uint32_t _flag_a = 0, _flag_b = 0; 1090 uint32_t _itail_tgt = 0; 1091 RECOMP_REGS_LOCALS 1092 RECOMP_ENTER(0x2514D630u); 1093 1094 goto L_2514D630; 1095 L_250F5B50: 1096 PUSH32(esp, ebp); /* 0x250F5B50: push ebp */ 1097 ebp = esp; /* 0x250F5B51: mov ebp, esp */ 1098 PUSH32(esp, 0xFFFFFFFFu); /* 0x250F5B53: push -1 */ 1099 PUSH32(esp, 0x2514C78Cu); /* 0x250F5B55: push 0x2514c78c */ 1100 eax = MEM32(FS_BASE + (0)); /* 0x250F5B5A: mov eax, dword ptr fs:[0] */ 1101 PUSH32(esp, eax); /* 0x250F5B60: push eax */ 1102 MEM32(FS_BASE + (0)) = esp; /* 0x250F5B61: mov dword ptr fs:[0], esp */ 1103 PUSH32(esp, ecx); /* 0x250F5B68: push ecx */ 1104 PUSH32(esp, esi); /* 0x250F5B69: push esi */ 1105 esi = ecx; /* 0x250F5B6A: mov esi, ecx */ 1106 PUSH32(esp, edi); /* 0x250F5B6C: push edi */ 1107 MEM32(ebp + (-0x10)) = esi; /* 0x250F5B6D: mov dword ptr [ebp - 0x10], esi */ 1108 MEM32(esi) = 0x251589ECu; /* 0x250F5B70: mov dword ptr [esi], 0x251589ec */ 1109 ecx = MEM32(esi + 0x4); /* 0x250F5B76: mov ecx, dword ptr [esi + 4] */ 1110 /* test ecx, ecx */ /* 0x250F5B79: test ecx, ecx */ 1111 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1112 _cf = 0; 1113 _flag_k = FK_TEST; 1114 MEM32(ebp + (-0x4)) = 3; /* 0x250F5B7B: mov dword ptr [ebp - 4], 3 */ 1115 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5B89; /* 0x250F5B82: je 0x250f5b89 */ 1116 L_250F5B84: 1117 RECOMP_ICALL(0x250E6370u); /* 0x250F5B84: call 0x250e6370 */ /* not lifted */ 1118 RECOMP_FLAGS_IN(); 1119 L_250F5B89: 1120 ecx = MEM32(esi + 0x8); /* 0x250F5B89: mov ecx, dword ptr [esi + 8] */ 1121 /* test ecx, ecx */ /* 0x250F5B8C: test ecx, ecx */ 1122 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1123 _cf = 0; 1124 _flag_k = FK_TEST; 1125 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5B95; /* 0x250F5B8E: je 0x250f5b95 */ 1126 L_250F5B90: 1127 RECOMP_ICALL(0x250E6370u); /* 0x250F5B90: call 0x250e6370 */ /* not lifted */ 1128 RECOMP_FLAGS_IN(); 1129 L_250F5B95: 1130 edi = MEM32(esi + 0x30); /* 0x250F5B95: mov edi, dword ptr [esi + 0x30] */ 1131 /* cmp edi, MEM32(esi + 0x34) */ /* 0x250F5B98: cmp edi, dword ptr [esi + 0x34] */ 1132 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x34)); 1133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1134 _flag_k = FK_CMP; 1135 if (CMP_EQ(_flag_a, _flag_b)) goto L_250F5BC6; /* 0x250F5B9B: je 0x250f5bc6 */ 1136 L_250F5B9D: 1137 eax = MEM32(edi + 0x4); /* 0x250F5B9D: mov eax, dword ptr [edi + 4] */ 1138 /* test eax, eax */ /* 0x250F5BA0: test eax, eax */ 1139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1140 _cf = 0; 1141 _flag_k = FK_TEST; 1142 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5BBC; /* 0x250F5BA2: je 0x250f5bbc */ 1143 L_250F5BA4: 1144 ecx = MEM32(edi); /* 0x250F5BA4: mov ecx, dword ptr [edi] */ 1145 PUSH32(esp, ecx); /* 0x250F5BA6: push ecx */ 1146 PUSH32(esp, 0); /* 0x250F5BA7: push 0 */ 1147 PUSH32(esp, 0); /* 0x250F5BA9: push 0 */ 1148 PUSH32(esp, 0); /* 0x250F5BAB: push 0 */ 1149 PUSH32(esp, 0); /* 0x250F5BAD: push 0 */ 1150 PUSH32(esp, 0); /* 0x250F5BAF: push 0 */ 1151 PUSH32(esp, 0); /* 0x250F5BB1: push 0 */ 1152 PUSH32(esp, 0); /* 0x250F5BB3: push 0 */ 1153 PUSH32(esp, 0); /* 0x250F5BB5: push 0 */ 1154 RECOMP_ICALL(eax); /* 0x250F5BB7: call eax */ 1155 RECOMP_FLAGS_IN(); 1156 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 1157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1158 esp = esp + 0x24u; /* 0x250F5BB9: add esp, 0x24 */ 1159 _flag_k = FK_ADD; 1160 L_250F5BBC: 1161 eax = MEM32(esi + 0x34); /* 0x250F5BBC: mov eax, dword ptr [esi + 0x34] */ 1162 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 1163 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1164 edi = edi + 8; /* 0x250F5BBF: add edi, 8 */ 1165 _flag_k = FK_ADD; 1166 /* cmp edi, eax */ /* 0x250F5BC2: cmp edi, eax */ 1167 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1169 _flag_k = FK_CMP; 1170 RECOMP_BACKEDGE(); 1171 if (CMP_NE(_flag_a, _flag_b)) goto L_250F5B9D; /* 0x250F5BC4: jne 0x250f5b9d */ 1172 L_250F5BC6: 1173 eax = MEM32(esi + 0x30); /* 0x250F5BC6: mov eax, dword ptr [esi + 0x30] */ 1174 PUSH32(esp, eax); /* 0x250F5BC9: push eax */ 1175 MEM32(ebp + (-0x10)) = eax; /* 0x250F5BCA: mov dword ptr [ebp - 0x10], eax */ 1176 RECOMP_ICALL(0x25137EECu); /* 0x250F5BCD: call 0x25137eec */ /* not lifted */ 1177 RECOMP_FLAGS_IN(); 1178 MEM32(esi + 0x30) = 0; /* 0x250F5BD2: mov dword ptr [esi + 0x30], 0 */ 1179 MEM32(esi + 0x34) = 0; /* 0x250F5BD9: mov dword ptr [esi + 0x34], 0 */ 1180 MEM32(esi + 0x38) = 0; /* 0x250F5BE0: mov dword ptr [esi + 0x38], 0 */ 1181 eax = MEM32(esi + 0x20); /* 0x250F5BE7: mov eax, dword ptr [esi + 0x20] */ 1182 PUSH32(esp, eax); /* 0x250F5BEA: push eax */ 1183 RECOMP_ICALL(0x25137EECu); /* 0x250F5BEB: call 0x25137eec */ /* not lifted */ 1184 RECOMP_FLAGS_IN(); 1185 eax = MEM32(esi + 0x18); /* 0x250F5BF0: mov eax, dword ptr [esi + 0x18] */ 1186 PUSH32(esp, eax); /* 0x250F5BF3: push eax */ 1187 RECOMP_ICALL(0x25137EECu); /* 0x250F5BF4: call 0x25137eec */ /* not lifted */ 1188 RECOMP_FLAGS_IN(); 1189 esi = MEM32(esi + 0x10); /* 0x250F5BF9: mov esi, dword ptr [esi + 0x10] */ 1190 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1191 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1192 esp = esp + 0xCu; /* 0x250F5BFC: add esp, 0xc */ 1193 _flag_k = FK_ADD; 1194 /* test esi, esi */ /* 0x250F5BFF: test esi, esi */ 1195 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1196 _cf = 0; 1197 _flag_k = FK_TEST; 1198 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F5C01: mov dword ptr [ebp - 4], 0xffffffff */ 1199 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5C27; /* 0x250F5C08: je 0x250f5c27 */ 1200 L_250F5C0A: 1201 edx = MEM32(esi + (-0x4)); /* 0x250F5C0A: mov edx, dword ptr [esi - 4] */ 1202 PUSH32(esp, 0x250F5A60u); /* 0x250F5C0D: push 0x250f5a60 */ 1203 edi = esi + (-0x4); /* 0x250F5C12: lea edi, [esi - 4] */ 1204 PUSH32(esp, edx); /* 0x250F5C15: push edx */ 1205 PUSH32(esp, 0xCu); /* 0x250F5C16: push 0xc */ 1206 PUSH32(esp, esi); /* 0x250F5C18: push esi */ 1207 RECOMP_ICALL(0x25137F92u); /* 0x250F5C19: call 0x25137f92 */ /* not lifted */ 1208 RECOMP_FLAGS_IN(); 1209 PUSH32(esp, edi); /* 0x250F5C1E: push edi */ 1210 RECOMP_ICALL(0x25137EECu); /* 0x250F5C1F: call 0x25137eec */ /* not lifted */ 1211 RECOMP_FLAGS_IN(); 1212 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1213 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1214 esp = esp + 4; /* 0x250F5C24: add esp, 4 */ 1215 _flag_k = FK_ADD; 1216 L_250F5C27: 1217 ecx = MEM32(ebp + (-0xC)); /* 0x250F5C27: mov ecx, dword ptr [ebp - 0xc] */ 1218 edi = POP32_VAL(esp); /* 0x250F5C2A: pop edi */ 1219 esi = POP32_VAL(esp); /* 0x250F5C2B: pop esi */ 1220 MEM32(FS_BASE + (0)) = ecx; /* 0x250F5C2C: mov dword ptr fs:[0], ecx */ 1221 esp = ebp; /* 0x250F5C33: mov esp, ebp */ 1222 ebp = POP32_VAL(esp); /* 0x250F5C35: pop ebp */ 1223 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F5C36: ret */ 1224 L_2514D630: 1225 ecx = MEM32(ebp + (-0x10)); /* 0x2514D630: mov ecx, dword ptr [ebp - 0x10] */ 1226 RECOMP_BACKEDGE(); 1227 goto L_250F5B50; /* 0x2514D633: jmp 0x250f5b50 */ 1228 { RECOMP_REGS_OUT(); return; } /* end of function */ 1229 RECOMP_REGS_OUT(); 1230 } 1231 1232 void sub_2514D638(void) { 1233 int _fpu_cmp = 0; 1234 uint32_t _cf = 0; 1235 int _df = 1; 1236 uint32_t _flag_k = FK_NONE; 1237 uint32_t _flag_a = 0, _flag_b = 0; 1238 uint32_t _itail_tgt = 0; 1239 RECOMP_REGS_LOCALS 1240 RECOMP_ENTER(0x2514D638u); 1241 1242 goto L_2514D638; 1243 L_250DB0B0: 1244 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 1245 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 1246 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 1247 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 1248 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 1249 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 1250 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 1251 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1253 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 1254 _flag_k = FK_CMP; 1255 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 1256 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 1257 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 1258 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 1259 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 1260 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 1261 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 1262 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 1263 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 1264 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 1265 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 1266 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 1267 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 1268 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 1269 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1270 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 1271 _cf = 0; 1272 _flag_k = FK_TEST; 1273 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 1274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1276 _flag_k = FK_CMP; 1277 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 1278 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 1279 L_250DB11E: 1280 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 1281 RECOMP_FLAGS_IN(); 1282 L_250DB123: 1283 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 1284 PUSH32(esp, eax); /* 0x250DB129: push eax */ 1285 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 1286 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 1287 RECOMP_FLAGS_IN(); 1288 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1289 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1290 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 1291 _flag_k = FK_ADD; 1292 eax = edi; /* 0x250DB135: mov eax, edi */ 1293 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1294 _cf = (eax) != 0; 1295 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 1296 _flag_k = FK_CMP; 1297 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 1298 eax = _sc ? 0xFFFFFFFFu : 0; 1299 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1300 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1301 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1302 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 1303 _cf = 0; 1304 _flag_k = FK_TEST; 1305 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 1306 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 1307 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 1308 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 1309 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 1310 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 1311 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 1312 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1314 _flag_k = FK_CMP; 1315 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 1316 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 1317 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 1318 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 1319 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 1320 L_250DB16C: 1321 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 1322 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 1323 ecx = esi; /* 0x250DB170: mov ecx, esi */ 1324 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 1325 RECOMP_FLAGS_IN(); 1326 ecx = eax; /* 0x250DB177: mov ecx, eax */ 1327 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 1328 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 1329 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 1330 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1332 _flag_k = FK_CMP; 1333 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 1334 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 1335 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1337 _flag_k = FK_NARROW(FK_CMP, 24); 1338 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 1339 L_250DB187: 1340 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 1341 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 1342 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1344 _flag_k = FK_CMP; 1345 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 1346 L_250DB18F: 1347 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 1348 PUSH32(esp, edx); /* 0x250DB192: push edx */ 1349 ecx = esi; /* 0x250DB193: mov ecx, esi */ 1350 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 1351 RECOMP_FLAGS_IN(); 1352 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 1353 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 1354 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 1355 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 1356 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 1357 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 1358 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 1359 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 1360 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 1361 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 1362 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 1363 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 1364 RECOMP_FLAGS_IN(); 1365 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 1366 L_250DB1BE: 1367 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 1368 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 1369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1370 _flag_k = FK_CMP; 1371 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 1372 L_250DB1C3: 1373 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 1374 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 1375 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 1376 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 1377 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 1378 RECOMP_FLAGS_IN(); 1379 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 1380 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 1381 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 1382 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 1383 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 1384 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 1385 RECOMP_FLAGS_IN(); 1386 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 1387 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 1388 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 1389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1390 _flag_k = FK_CMP; 1391 RECOMP_BACKEDGE(); 1392 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 1393 L_250DB1E6: 1394 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 1395 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 1396 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 1397 RECOMP_FLAGS_IN(); 1398 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 1399 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 1400 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 1401 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 1402 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 1403 RECOMP_FLAGS_IN(); 1404 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1406 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 1407 _flag_k = FK_ADD; 1408 eax = edi; /* 0x250DB201: mov eax, edi */ 1409 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1410 _cf = (eax) != 0; 1411 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 1412 _flag_k = FK_CMP; 1413 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 1414 eax = _sc ? 0xFFFFFFFFu : 0; 1415 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1416 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1417 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 1418 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 1419 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1420 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 1421 _cf = 0; 1422 _flag_k = FK_TEST; 1423 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 1424 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 1425 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 1426 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 1427 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1429 _flag_k = FK_CMP; 1430 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 1431 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 1432 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 1433 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 1434 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 1435 L_250DB22E: 1436 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 1437 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 1438 ecx = esi; /* 0x250DB232: mov ecx, esi */ 1439 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 1440 RECOMP_FLAGS_IN(); 1441 edx = eax; /* 0x250DB239: mov edx, eax */ 1442 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 1443 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 1444 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 1445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1447 _flag_k = FK_CMP; 1448 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 1449 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 1450 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1452 _flag_k = FK_NARROW(FK_CMP, 24); 1453 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 1454 L_250DB249: 1455 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 1456 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 1457 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 1458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1459 _flag_k = FK_CMP; 1460 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 1461 L_250DB251: 1462 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 1463 PUSH32(esp, eax); /* 0x250DB254: push eax */ 1464 ecx = esi; /* 0x250DB255: mov ecx, esi */ 1465 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 1466 RECOMP_FLAGS_IN(); 1467 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 1468 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 1469 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 1470 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 1471 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 1472 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 1473 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 1474 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 1475 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 1476 PUSH32(esp, eax); /* 0x250DB276: push eax */ 1477 ecx = esi; /* 0x250DB277: mov ecx, esi */ 1478 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 1479 RECOMP_FLAGS_IN(); 1480 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 1481 L_250DB280: 1482 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 1483 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 1484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1485 _flag_k = FK_CMP; 1486 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 1487 L_250DB285: 1488 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 1489 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 1490 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 1491 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 1492 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 1493 RECOMP_FLAGS_IN(); 1494 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 1495 PUSH32(esp, edx); /* 0x250DB294: push edx */ 1496 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 1497 PUSH32(esp, eax); /* 0x250DB298: push eax */ 1498 ecx = esi; /* 0x250DB299: mov ecx, esi */ 1499 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 1500 RECOMP_FLAGS_IN(); 1501 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 1502 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 1503 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1505 _flag_k = FK_CMP; 1506 RECOMP_BACKEDGE(); 1507 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 1508 L_250DB2A8: 1509 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 1510 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 1511 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 1512 RECOMP_FLAGS_IN(); 1513 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 1514 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 1515 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 1516 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 1517 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 1518 RECOMP_FLAGS_IN(); 1519 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1520 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1521 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 1522 _flag_k = FK_ADD; 1523 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 1524 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 1525 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 1526 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 1527 RECOMP_FLAGS_IN(); 1528 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 1529 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 1530 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 1531 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 1532 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 1533 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 1534 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 1535 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 1536 L_2514D638: 1537 ecx = MEM32(ebp + (-0x10)); /* 0x2514D638: mov ecx, dword ptr [ebp - 0x10] */ 1538 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3Cu); 1539 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1540 ecx = ecx + 0x3Cu; /* 0x2514D63B: add ecx, 0x3c */ 1541 _flag_k = FK_ADD; 1542 RECOMP_BACKEDGE(); 1543 goto L_250DB0B0; /* 0x2514D63E: jmp 0x250db0b0 */ 1544 { RECOMP_REGS_OUT(); return; } /* end of function */ 1545 RECOMP_REGS_OUT(); 1546 } 1547 1548 void sub_2514D643(void) { 1549 int _fpu_cmp = 0; 1550 uint32_t _cf = 0; 1551 int _df = 1; 1552 uint32_t _flag_k = FK_NONE; 1553 uint32_t _flag_a = 0, _flag_b = 0; 1554 uint32_t _itail_tgt = 0; 1555 RECOMP_REGS_LOCALS 1556 RECOMP_ENTER(0x2514D643u); 1557 1558 goto L_2514D643; 1559 L_2510F310: 1560 PUSH32(esp, ebp); /* 0x2510F310: push ebp */ 1561 ebp = esp; /* 0x2510F311: mov ebp, esp */ 1562 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1564 esp = esp - 8; /* 0x2510F313: sub esp, 8 */ 1565 _flag_k = FK_CMP; 1566 PUSH32(esp, ebx); /* 0x2510F316: push ebx */ 1567 PUSH32(esp, esi); /* 0x2510F317: push esi */ 1568 esi = ecx; /* 0x2510F318: mov esi, ecx */ 1569 ecx = MEM32(esi + 0x10); /* 0x2510F31A: mov ecx, dword ptr [esi + 0x10] */ 1570 /* test ecx, ecx */ /* 0x2510F31D: test ecx, ecx */ 1571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1572 _cf = 0; 1573 _flag_k = FK_TEST; 1574 PUSH32(esp, edi); /* 0x2510F31F: push edi */ 1575 edi = MEM32(esi + 0x4); /* 0x2510F320: mov edi, dword ptr [esi + 4] */ 1576 eax = MEM32(edi); /* 0x2510F323: mov eax, dword ptr [edi] */ 1577 MEM32(ebp + (-0x4)) = eax; /* 0x2510F325: mov dword ptr [ebp - 4], eax */ 1578 if (TEST_Z(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F328: je 0x2510f38f */ 1579 L_2510F32A: 1580 ecx = eax; /* 0x2510F32A: mov ecx, eax */ 1581 /* cmp eax, ecx */ /* 0x2510F32C: cmp eax, ecx */ 1582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1584 _flag_k = FK_CMP; 1585 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F32E: jne 0x2510f38f */ 1586 L_2510F330: 1587 /* cmp edi, edi */ /* 0x2510F330: cmp edi, edi */ 1588 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1590 _flag_k = FK_CMP; 1591 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F332: jne 0x2510f38f */ 1592 L_2510F334: 1593 ebx = MEM32(edi + 0x4); /* 0x2510F334: mov ebx, dword ptr [edi + 4] */ 1594 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2510F337: cmp ebx, dword ptr [esi + 8] */ 1595 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1597 _flag_k = FK_CMP; 1598 edi = ebx; /* 0x2510F33A: mov edi, ebx */ 1599 if (CMP_EQ(_flag_a, _flag_b)) goto L_2510F367; /* 0x2510F33C: je 0x2510f367 */ 1600 L_2510F33E: 1601 eax = MEM32(edi + 0x8); /* 0x2510F33E: mov eax, dword ptr [edi + 8] */ 1602 PUSH32(esp, eax); /* 0x2510F341: push eax */ 1603 ecx = esi; /* 0x2510F342: mov ecx, esi */ 1604 RECOMP_ICALL(0x251152A0u); /* 0x2510F344: call 0x251152a0 */ /* not lifted */ 1605 RECOMP_FLAGS_IN(); 1606 edi = MEM32(edi); /* 0x2510F349: mov edi, dword ptr [edi] */ 1607 PUSH32(esp, 0); /* 0x2510F34B: push 0 */ 1608 ecx = ebx + 0xC; /* 0x2510F34D: lea ecx, [ebx + 0xc] */ 1609 RECOMP_ICALL(0x25116960u); /* 0x2510F350: call 0x25116960 */ /* not lifted */ 1610 RECOMP_FLAGS_IN(); 1611 PUSH32(esp, ebx); /* 0x2510F355: push ebx */ 1612 RECOMP_ICALL(0x25137EECu); /* 0x2510F356: call 0x25137eec */ /* not lifted */ 1613 RECOMP_FLAGS_IN(); 1614 eax = MEM32(esi + 0x8); /* 0x2510F35B: mov eax, dword ptr [esi + 8] */ 1615 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1616 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1617 esp = esp + 4; /* 0x2510F35E: add esp, 4 */ 1618 _flag_k = FK_ADD; 1619 /* cmp edi, eax */ /* 0x2510F361: cmp edi, eax */ 1620 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1622 _flag_k = FK_CMP; 1623 ebx = edi; /* 0x2510F363: mov ebx, edi */ 1624 RECOMP_BACKEDGE(); 1625 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F33E; /* 0x2510F365: jne 0x2510f33e */ 1626 L_2510F367: 1627 ecx = MEM32(esi + 0x4); /* 0x2510F367: mov ecx, dword ptr [esi + 4] */ 1628 edx = MEM32(esi + 0x8); /* 0x2510F36A: mov edx, dword ptr [esi + 8] */ 1629 MEM32(ecx + 0x4) = edx; /* 0x2510F36D: mov dword ptr [ecx + 4], edx */ 1630 eax = MEM32(esi + 0x4); /* 0x2510F370: mov eax, dword ptr [esi + 4] */ 1631 MEM32(esi + 0x10) = 0; /* 0x2510F373: mov dword ptr [esi + 0x10], 0 */ 1632 MEM32(eax) = eax; /* 0x2510F37A: mov dword ptr [eax], eax */ 1633 eax = MEM32(esi + 0x4); /* 0x2510F37C: mov eax, dword ptr [esi + 4] */ 1634 MEM32(eax + 0x8) = eax; /* 0x2510F37F: mov dword ptr [eax + 8], eax */ 1635 eax = ebp + (-0x8); /* 0x2510F382: lea eax, [ebp - 8] */ 1636 PUSH32(esp, eax); /* 0x2510F385: push eax */ 1637 ecx = esi; /* 0x2510F386: mov ecx, esi */ 1638 RECOMP_ICALL(0x25085270u); /* 0x2510F388: call 0x25085270 */ /* not lifted */ 1639 RECOMP_FLAGS_IN(); 1640 goto L_2510F3B0; /* 0x2510F38D: jmp 0x2510f3b0 */ 1641 L_2510F38F: 1642 /* cmp eax, edi */ /* 0x2510F38F: cmp eax, edi */ 1643 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1645 _flag_k = FK_CMP; 1646 if (CMP_EQ(_flag_a, _flag_b)) goto L_2510F3B0; /* 0x2510F391: je 0x2510f3b0 */ 1647 L_2510F393: 1648 ecx = ebp + (-0x4); /* 0x2510F393: lea ecx, [ebp - 4] */ 1649 ebx = eax; /* 0x2510F396: mov ebx, eax */ 1650 RECOMP_ICALL(0x25098300u); /* 0x2510F398: call 0x25098300 */ /* not lifted */ 1651 RECOMP_FLAGS_IN(); 1652 PUSH32(esp, ebx); /* 0x2510F39D: push ebx */ 1653 ecx = ebp + (-0x8); /* 0x2510F39E: lea ecx, [ebp - 8] */ 1654 PUSH32(esp, ecx); /* 0x2510F3A1: push ecx */ 1655 ecx = esi; /* 0x2510F3A2: mov ecx, esi */ 1656 RECOMP_ICALL(0x25114760u); /* 0x2510F3A4: call 0x25114760 */ /* not lifted */ 1657 RECOMP_FLAGS_IN(); 1658 eax = MEM32(ebp + (-0x4)); /* 0x2510F3A9: mov eax, dword ptr [ebp - 4] */ 1659 /* cmp eax, edi */ /* 0x2510F3AC: cmp eax, edi */ 1660 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1662 _flag_k = FK_CMP; 1663 RECOMP_BACKEDGE(); 1664 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F393; /* 0x2510F3AE: jne 0x2510f393 */ 1665 L_2510F3B0: 1666 edx = MEM32(esi + 0x4); /* 0x2510F3B0: mov edx, dword ptr [esi + 4] */ 1667 PUSH32(esp, edx); /* 0x2510F3B3: push edx */ 1668 RECOMP_ICALL(0x25137EECu); /* 0x2510F3B4: call 0x25137eec */ /* not lifted */ 1669 RECOMP_FLAGS_IN(); 1670 eax = MEM32(esi + 0x8); /* 0x2510F3B9: mov eax, dword ptr [esi + 8] */ 1671 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1672 edi = 0; /* 0x2510F3BC: xor edi, edi */ 1673 _cf = 0; 1674 _flag_k = FK_TEST; 1675 PUSH32(esp, eax); /* 0x2510F3BE: push eax */ 1676 MEM32(esi + 0x4) = edi; /* 0x2510F3BF: mov dword ptr [esi + 4], edi */ 1677 MEM32(esi + 0x10) = edi; /* 0x2510F3C2: mov dword ptr [esi + 0x10], edi */ 1678 RECOMP_ICALL(0x25137EECu); /* 0x2510F3C5: call 0x25137eec */ /* not lifted */ 1679 RECOMP_FLAGS_IN(); 1680 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1681 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1682 esp = esp + 8; /* 0x2510F3CA: add esp, 8 */ 1683 _flag_k = FK_ADD; 1684 MEM32(esi + 0x8) = edi; /* 0x2510F3CD: mov dword ptr [esi + 8], edi */ 1685 edi = POP32_VAL(esp); /* 0x2510F3D0: pop edi */ 1686 esi = POP32_VAL(esp); /* 0x2510F3D1: pop esi */ 1687 ebx = POP32_VAL(esp); /* 0x2510F3D2: pop ebx */ 1688 esp = ebp; /* 0x2510F3D3: mov esp, ebp */ 1689 ebp = POP32_VAL(esp); /* 0x2510F3D5: pop ebp */ 1690 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510F3D6: ret */ 1691 L_2514D643: 1692 ecx = MEM32(ebp + (-0x10)); /* 0x2514D643: mov ecx, dword ptr [ebp - 0x10] */ 1693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x238u); 1694 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1695 ecx = ecx + 0x238u; /* 0x2514D646: add ecx, 0x238 */ 1696 _flag_k = FK_ADD; 1697 RECOMP_BACKEDGE(); 1698 goto L_2510F310; /* 0x2514D64C: jmp 0x2510f310 */ 1699 { RECOMP_REGS_OUT(); return; } /* end of function */ 1700 RECOMP_REGS_OUT(); 1701 } 1702 1703 void sub_2514D651(void) { 1704 int _fpu_cmp = 0; 1705 uint32_t _cf = 0; 1706 int _df = 1; 1707 uint32_t _flag_k = FK_NONE; 1708 uint32_t _flag_a = 0, _flag_b = 0; 1709 uint32_t _itail_tgt = 0; 1710 RECOMP_REGS_LOCALS 1711 RECOMP_ENTER(0x2514D651u); 1712 1713 goto L_2514D651; 1714 L_251380C4: 1715 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1716 L_2514D651: 1717 eax = 0x2516EDA8u; /* 0x2514D651: mov eax, 0x2516eda8 */ 1718 L_2514D656: 1719 RECOMP_BACKEDGE(); 1720 goto L_251380C4; /* 0x2514D656: jmp 0x251380c4 */ 1721 { RECOMP_REGS_OUT(); return; } /* end of function */ 1722 _ljump: 1723 switch (_itail_tgt) { 1724 case 0x251380C4u: goto L_251380C4; 1725 case 0x2514D651u: goto L_2514D651; 1726 case 0x2514D656u: goto L_2514D656; 1727 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1728 } 1729 RECOMP_REGS_OUT(); 1730 } 1731 1732 void sub_2514D660(void) { 1733 int _fpu_cmp = 0; 1734 uint32_t _cf = 0; 1735 int _df = 1; 1736 uint32_t _flag_k = FK_NONE; 1737 uint32_t _flag_a = 0, _flag_b = 0; 1738 uint32_t _itail_tgt = 0; 1739 RECOMP_REGS_LOCALS 1740 RECOMP_ENTER(0x2514D660u); 1741 1742 goto L_2514D660; 1743 L_250F5B50: 1744 PUSH32(esp, ebp); /* 0x250F5B50: push ebp */ 1745 ebp = esp; /* 0x250F5B51: mov ebp, esp */ 1746 PUSH32(esp, 0xFFFFFFFFu); /* 0x250F5B53: push -1 */ 1747 PUSH32(esp, 0x2514C78Cu); /* 0x250F5B55: push 0x2514c78c */ 1748 eax = MEM32(FS_BASE + (0)); /* 0x250F5B5A: mov eax, dword ptr fs:[0] */ 1749 PUSH32(esp, eax); /* 0x250F5B60: push eax */ 1750 MEM32(FS_BASE + (0)) = esp; /* 0x250F5B61: mov dword ptr fs:[0], esp */ 1751 PUSH32(esp, ecx); /* 0x250F5B68: push ecx */ 1752 PUSH32(esp, esi); /* 0x250F5B69: push esi */ 1753 esi = ecx; /* 0x250F5B6A: mov esi, ecx */ 1754 PUSH32(esp, edi); /* 0x250F5B6C: push edi */ 1755 MEM32(ebp + (-0x10)) = esi; /* 0x250F5B6D: mov dword ptr [ebp - 0x10], esi */ 1756 MEM32(esi) = 0x251589ECu; /* 0x250F5B70: mov dword ptr [esi], 0x251589ec */ 1757 ecx = MEM32(esi + 0x4); /* 0x250F5B76: mov ecx, dword ptr [esi + 4] */ 1758 /* test ecx, ecx */ /* 0x250F5B79: test ecx, ecx */ 1759 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1760 _cf = 0; 1761 _flag_k = FK_TEST; 1762 MEM32(ebp + (-0x4)) = 3; /* 0x250F5B7B: mov dword ptr [ebp - 4], 3 */ 1763 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5B89; /* 0x250F5B82: je 0x250f5b89 */ 1764 L_250F5B84: 1765 RECOMP_ICALL(0x250E6370u); /* 0x250F5B84: call 0x250e6370 */ /* not lifted */ 1766 RECOMP_FLAGS_IN(); 1767 L_250F5B89: 1768 ecx = MEM32(esi + 0x8); /* 0x250F5B89: mov ecx, dword ptr [esi + 8] */ 1769 /* test ecx, ecx */ /* 0x250F5B8C: test ecx, ecx */ 1770 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1771 _cf = 0; 1772 _flag_k = FK_TEST; 1773 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5B95; /* 0x250F5B8E: je 0x250f5b95 */ 1774 L_250F5B90: 1775 RECOMP_ICALL(0x250E6370u); /* 0x250F5B90: call 0x250e6370 */ /* not lifted */ 1776 RECOMP_FLAGS_IN(); 1777 L_250F5B95: 1778 edi = MEM32(esi + 0x30); /* 0x250F5B95: mov edi, dword ptr [esi + 0x30] */ 1779 /* cmp edi, MEM32(esi + 0x34) */ /* 0x250F5B98: cmp edi, dword ptr [esi + 0x34] */ 1780 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x34)); 1781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1782 _flag_k = FK_CMP; 1783 if (CMP_EQ(_flag_a, _flag_b)) goto L_250F5BC6; /* 0x250F5B9B: je 0x250f5bc6 */ 1784 L_250F5B9D: 1785 eax = MEM32(edi + 0x4); /* 0x250F5B9D: mov eax, dword ptr [edi + 4] */ 1786 /* test eax, eax */ /* 0x250F5BA0: test eax, eax */ 1787 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1788 _cf = 0; 1789 _flag_k = FK_TEST; 1790 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5BBC; /* 0x250F5BA2: je 0x250f5bbc */ 1791 L_250F5BA4: 1792 ecx = MEM32(edi); /* 0x250F5BA4: mov ecx, dword ptr [edi] */ 1793 PUSH32(esp, ecx); /* 0x250F5BA6: push ecx */ 1794 PUSH32(esp, 0); /* 0x250F5BA7: push 0 */ 1795 PUSH32(esp, 0); /* 0x250F5BA9: push 0 */ 1796 PUSH32(esp, 0); /* 0x250F5BAB: push 0 */ 1797 PUSH32(esp, 0); /* 0x250F5BAD: push 0 */ 1798 PUSH32(esp, 0); /* 0x250F5BAF: push 0 */ 1799 PUSH32(esp, 0); /* 0x250F5BB1: push 0 */ 1800 PUSH32(esp, 0); /* 0x250F5BB3: push 0 */ 1801 PUSH32(esp, 0); /* 0x250F5BB5: push 0 */ 1802 RECOMP_ICALL(eax); /* 0x250F5BB7: call eax */ 1803 RECOMP_FLAGS_IN(); 1804 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 1805 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1806 esp = esp + 0x24u; /* 0x250F5BB9: add esp, 0x24 */ 1807 _flag_k = FK_ADD; 1808 L_250F5BBC: 1809 eax = MEM32(esi + 0x34); /* 0x250F5BBC: mov eax, dword ptr [esi + 0x34] */ 1810 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 1811 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1812 edi = edi + 8; /* 0x250F5BBF: add edi, 8 */ 1813 _flag_k = FK_ADD; 1814 /* cmp edi, eax */ /* 0x250F5BC2: cmp edi, eax */ 1815 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1817 _flag_k = FK_CMP; 1818 RECOMP_BACKEDGE(); 1819 if (CMP_NE(_flag_a, _flag_b)) goto L_250F5B9D; /* 0x250F5BC4: jne 0x250f5b9d */ 1820 L_250F5BC6: 1821 eax = MEM32(esi + 0x30); /* 0x250F5BC6: mov eax, dword ptr [esi + 0x30] */ 1822 PUSH32(esp, eax); /* 0x250F5BC9: push eax */ 1823 MEM32(ebp + (-0x10)) = eax; /* 0x250F5BCA: mov dword ptr [ebp - 0x10], eax */ 1824 RECOMP_ICALL(0x25137EECu); /* 0x250F5BCD: call 0x25137eec */ /* not lifted */ 1825 RECOMP_FLAGS_IN(); 1826 MEM32(esi + 0x30) = 0; /* 0x250F5BD2: mov dword ptr [esi + 0x30], 0 */ 1827 MEM32(esi + 0x34) = 0; /* 0x250F5BD9: mov dword ptr [esi + 0x34], 0 */ 1828 MEM32(esi + 0x38) = 0; /* 0x250F5BE0: mov dword ptr [esi + 0x38], 0 */ 1829 eax = MEM32(esi + 0x20); /* 0x250F5BE7: mov eax, dword ptr [esi + 0x20] */ 1830 PUSH32(esp, eax); /* 0x250F5BEA: push eax */ 1831 RECOMP_ICALL(0x25137EECu); /* 0x250F5BEB: call 0x25137eec */ /* not lifted */ 1832 RECOMP_FLAGS_IN(); 1833 eax = MEM32(esi + 0x18); /* 0x250F5BF0: mov eax, dword ptr [esi + 0x18] */ 1834 PUSH32(esp, eax); /* 0x250F5BF3: push eax */ 1835 RECOMP_ICALL(0x25137EECu); /* 0x250F5BF4: call 0x25137eec */ /* not lifted */ 1836 RECOMP_FLAGS_IN(); 1837 esi = MEM32(esi + 0x10); /* 0x250F5BF9: mov esi, dword ptr [esi + 0x10] */ 1838 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1839 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1840 esp = esp + 0xCu; /* 0x250F5BFC: add esp, 0xc */ 1841 _flag_k = FK_ADD; 1842 /* test esi, esi */ /* 0x250F5BFF: test esi, esi */ 1843 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1844 _cf = 0; 1845 _flag_k = FK_TEST; 1846 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F5C01: mov dword ptr [ebp - 4], 0xffffffff */ 1847 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5C27; /* 0x250F5C08: je 0x250f5c27 */ 1848 L_250F5C0A: 1849 edx = MEM32(esi + (-0x4)); /* 0x250F5C0A: mov edx, dword ptr [esi - 4] */ 1850 PUSH32(esp, 0x250F5A60u); /* 0x250F5C0D: push 0x250f5a60 */ 1851 edi = esi + (-0x4); /* 0x250F5C12: lea edi, [esi - 4] */ 1852 PUSH32(esp, edx); /* 0x250F5C15: push edx */ 1853 PUSH32(esp, 0xCu); /* 0x250F5C16: push 0xc */ 1854 PUSH32(esp, esi); /* 0x250F5C18: push esi */ 1855 RECOMP_ICALL(0x25137F92u); /* 0x250F5C19: call 0x25137f92 */ /* not lifted */ 1856 RECOMP_FLAGS_IN(); 1857 PUSH32(esp, edi); /* 0x250F5C1E: push edi */ 1858 RECOMP_ICALL(0x25137EECu); /* 0x250F5C1F: call 0x25137eec */ /* not lifted */ 1859 RECOMP_FLAGS_IN(); 1860 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1861 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1862 esp = esp + 4; /* 0x250F5C24: add esp, 4 */ 1863 _flag_k = FK_ADD; 1864 L_250F5C27: 1865 ecx = MEM32(ebp + (-0xC)); /* 0x250F5C27: mov ecx, dword ptr [ebp - 0xc] */ 1866 edi = POP32_VAL(esp); /* 0x250F5C2A: pop edi */ 1867 esi = POP32_VAL(esp); /* 0x250F5C2B: pop esi */ 1868 MEM32(FS_BASE + (0)) = ecx; /* 0x250F5C2C: mov dword ptr fs:[0], ecx */ 1869 esp = ebp; /* 0x250F5C33: mov esp, ebp */ 1870 ebp = POP32_VAL(esp); /* 0x250F5C35: pop ebp */ 1871 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F5C36: ret */ 1872 L_2514D660: 1873 ecx = MEM32(ebp + (-0x10)); /* 0x2514D660: mov ecx, dword ptr [ebp - 0x10] */ 1874 RECOMP_BACKEDGE(); 1875 goto L_250F5B50; /* 0x2514D663: jmp 0x250f5b50 */ 1876 { RECOMP_REGS_OUT(); return; } /* end of function */ 1877 RECOMP_REGS_OUT(); 1878 } 1879 1880 void sub_2514D668(void) { 1881 int _fpu_cmp = 0; 1882 uint32_t _cf = 0; 1883 int _df = 1; 1884 uint32_t _flag_k = FK_NONE; 1885 uint32_t _flag_a = 0, _flag_b = 0; 1886 uint32_t _itail_tgt = 0; 1887 RECOMP_REGS_LOCALS 1888 RECOMP_ENTER(0x2514D668u); 1889 1890 goto L_2514D668; 1891 L_250DB0B0: 1892 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 1893 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 1894 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 1895 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 1896 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 1897 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 1898 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 1899 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1901 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 1902 _flag_k = FK_CMP; 1903 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 1904 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 1905 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 1906 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 1907 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 1908 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 1909 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 1910 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 1911 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 1912 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 1913 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 1914 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 1915 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 1916 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 1917 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1918 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 1919 _cf = 0; 1920 _flag_k = FK_TEST; 1921 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 1922 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1924 _flag_k = FK_CMP; 1925 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 1926 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 1927 L_250DB11E: 1928 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 1929 RECOMP_FLAGS_IN(); 1930 L_250DB123: 1931 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 1932 PUSH32(esp, eax); /* 0x250DB129: push eax */ 1933 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 1934 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 1935 RECOMP_FLAGS_IN(); 1936 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1937 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1938 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 1939 _flag_k = FK_ADD; 1940 eax = edi; /* 0x250DB135: mov eax, edi */ 1941 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1942 _cf = (eax) != 0; 1943 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 1944 _flag_k = FK_CMP; 1945 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 1946 eax = _sc ? 0xFFFFFFFFu : 0; 1947 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1948 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1949 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1950 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 1951 _cf = 0; 1952 _flag_k = FK_TEST; 1953 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 1954 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 1955 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 1956 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 1957 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 1958 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 1959 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 1960 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1962 _flag_k = FK_CMP; 1963 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 1964 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 1965 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 1966 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 1967 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 1968 L_250DB16C: 1969 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 1970 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 1971 ecx = esi; /* 0x250DB170: mov ecx, esi */ 1972 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 1973 RECOMP_FLAGS_IN(); 1974 ecx = eax; /* 0x250DB177: mov ecx, eax */ 1975 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 1976 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 1977 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 1978 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1980 _flag_k = FK_CMP; 1981 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 1982 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 1983 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1985 _flag_k = FK_NARROW(FK_CMP, 24); 1986 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 1987 L_250DB187: 1988 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 1989 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 1990 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1992 _flag_k = FK_CMP; 1993 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 1994 L_250DB18F: 1995 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 1996 PUSH32(esp, edx); /* 0x250DB192: push edx */ 1997 ecx = esi; /* 0x250DB193: mov ecx, esi */ 1998 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 1999 RECOMP_FLAGS_IN(); 2000 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 2001 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 2002 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 2003 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 2004 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 2005 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 2006 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 2007 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 2008 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 2009 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 2010 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 2011 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 2012 RECOMP_FLAGS_IN(); 2013 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 2014 L_250DB1BE: 2015 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 2016 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 2017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2018 _flag_k = FK_CMP; 2019 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 2020 L_250DB1C3: 2021 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 2022 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 2023 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 2024 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 2025 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 2026 RECOMP_FLAGS_IN(); 2027 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 2028 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 2029 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 2030 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 2031 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 2032 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 2033 RECOMP_FLAGS_IN(); 2034 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 2035 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 2036 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 2037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2038 _flag_k = FK_CMP; 2039 RECOMP_BACKEDGE(); 2040 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 2041 L_250DB1E6: 2042 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 2043 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 2044 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 2045 RECOMP_FLAGS_IN(); 2046 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 2047 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 2048 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 2049 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 2050 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 2051 RECOMP_FLAGS_IN(); 2052 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2053 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2054 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 2055 _flag_k = FK_ADD; 2056 eax = edi; /* 0x250DB201: mov eax, edi */ 2057 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2058 _cf = (eax) != 0; 2059 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 2060 _flag_k = FK_CMP; 2061 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 2062 eax = _sc ? 0xFFFFFFFFu : 0; 2063 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2064 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2065 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 2066 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 2067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2068 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 2069 _cf = 0; 2070 _flag_k = FK_TEST; 2071 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 2072 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 2073 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 2074 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 2075 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2077 _flag_k = FK_CMP; 2078 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 2079 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 2080 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 2081 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 2082 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 2083 L_250DB22E: 2084 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 2085 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 2086 ecx = esi; /* 0x250DB232: mov ecx, esi */ 2087 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 2088 RECOMP_FLAGS_IN(); 2089 edx = eax; /* 0x250DB239: mov edx, eax */ 2090 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 2091 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 2092 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 2093 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2095 _flag_k = FK_CMP; 2096 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 2097 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 2098 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2100 _flag_k = FK_NARROW(FK_CMP, 24); 2101 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 2102 L_250DB249: 2103 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 2104 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 2105 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 2106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2107 _flag_k = FK_CMP; 2108 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 2109 L_250DB251: 2110 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 2111 PUSH32(esp, eax); /* 0x250DB254: push eax */ 2112 ecx = esi; /* 0x250DB255: mov ecx, esi */ 2113 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 2114 RECOMP_FLAGS_IN(); 2115 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 2116 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 2117 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 2118 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 2119 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 2120 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 2121 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 2122 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 2123 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 2124 PUSH32(esp, eax); /* 0x250DB276: push eax */ 2125 ecx = esi; /* 0x250DB277: mov ecx, esi */ 2126 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 2127 RECOMP_FLAGS_IN(); 2128 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 2129 L_250DB280: 2130 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 2131 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 2132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2133 _flag_k = FK_CMP; 2134 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 2135 L_250DB285: 2136 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 2137 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 2138 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 2139 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 2140 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 2141 RECOMP_FLAGS_IN(); 2142 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 2143 PUSH32(esp, edx); /* 0x250DB294: push edx */ 2144 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 2145 PUSH32(esp, eax); /* 0x250DB298: push eax */ 2146 ecx = esi; /* 0x250DB299: mov ecx, esi */ 2147 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 2148 RECOMP_FLAGS_IN(); 2149 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 2150 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 2151 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2153 _flag_k = FK_CMP; 2154 RECOMP_BACKEDGE(); 2155 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 2156 L_250DB2A8: 2157 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 2158 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 2159 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 2160 RECOMP_FLAGS_IN(); 2161 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 2162 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 2163 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 2164 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 2165 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 2166 RECOMP_FLAGS_IN(); 2167 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2169 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 2170 _flag_k = FK_ADD; 2171 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 2172 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 2173 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 2174 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 2175 RECOMP_FLAGS_IN(); 2176 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 2177 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 2178 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 2179 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 2180 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 2181 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 2182 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 2183 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 2184 L_2514D668: 2185 ecx = MEM32(ebp + (-0x10)); /* 0x2514D668: mov ecx, dword ptr [ebp - 0x10] */ 2186 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3Cu); 2187 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2188 ecx = ecx + 0x3Cu; /* 0x2514D66B: add ecx, 0x3c */ 2189 _flag_k = FK_ADD; 2190 RECOMP_BACKEDGE(); 2191 goto L_250DB0B0; /* 0x2514D66E: jmp 0x250db0b0 */ 2192 { RECOMP_REGS_OUT(); return; } /* end of function */ 2193 RECOMP_REGS_OUT(); 2194 } 2195 2196 void sub_2514D673(void) { 2197 int _fpu_cmp = 0; 2198 uint32_t _cf = 0; 2199 int _df = 1; 2200 uint32_t _flag_k = FK_NONE; 2201 uint32_t _flag_a = 0, _flag_b = 0; 2202 uint32_t _itail_tgt = 0; 2203 RECOMP_REGS_LOCALS 2204 RECOMP_ENTER(0x2514D673u); 2205 2206 goto L_2514D673; 2207 L_2510F310: 2208 PUSH32(esp, ebp); /* 0x2510F310: push ebp */ 2209 ebp = esp; /* 0x2510F311: mov ebp, esp */ 2210 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2212 esp = esp - 8; /* 0x2510F313: sub esp, 8 */ 2213 _flag_k = FK_CMP; 2214 PUSH32(esp, ebx); /* 0x2510F316: push ebx */ 2215 PUSH32(esp, esi); /* 0x2510F317: push esi */ 2216 esi = ecx; /* 0x2510F318: mov esi, ecx */ 2217 ecx = MEM32(esi + 0x10); /* 0x2510F31A: mov ecx, dword ptr [esi + 0x10] */ 2218 /* test ecx, ecx */ /* 0x2510F31D: test ecx, ecx */ 2219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2220 _cf = 0; 2221 _flag_k = FK_TEST; 2222 PUSH32(esp, edi); /* 0x2510F31F: push edi */ 2223 edi = MEM32(esi + 0x4); /* 0x2510F320: mov edi, dword ptr [esi + 4] */ 2224 eax = MEM32(edi); /* 0x2510F323: mov eax, dword ptr [edi] */ 2225 MEM32(ebp + (-0x4)) = eax; /* 0x2510F325: mov dword ptr [ebp - 4], eax */ 2226 if (TEST_Z(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F328: je 0x2510f38f */ 2227 L_2510F32A: 2228 ecx = eax; /* 0x2510F32A: mov ecx, eax */ 2229 /* cmp eax, ecx */ /* 0x2510F32C: cmp eax, ecx */ 2230 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2232 _flag_k = FK_CMP; 2233 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F32E: jne 0x2510f38f */ 2234 L_2510F330: 2235 /* cmp edi, edi */ /* 0x2510F330: cmp edi, edi */ 2236 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2238 _flag_k = FK_CMP; 2239 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F332: jne 0x2510f38f */ 2240 L_2510F334: 2241 ebx = MEM32(edi + 0x4); /* 0x2510F334: mov ebx, dword ptr [edi + 4] */ 2242 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2510F337: cmp ebx, dword ptr [esi + 8] */ 2243 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2245 _flag_k = FK_CMP; 2246 edi = ebx; /* 0x2510F33A: mov edi, ebx */ 2247 if (CMP_EQ(_flag_a, _flag_b)) goto L_2510F367; /* 0x2510F33C: je 0x2510f367 */ 2248 L_2510F33E: 2249 eax = MEM32(edi + 0x8); /* 0x2510F33E: mov eax, dword ptr [edi + 8] */ 2250 PUSH32(esp, eax); /* 0x2510F341: push eax */ 2251 ecx = esi; /* 0x2510F342: mov ecx, esi */ 2252 RECOMP_ICALL(0x251152A0u); /* 0x2510F344: call 0x251152a0 */ /* not lifted */ 2253 RECOMP_FLAGS_IN(); 2254 edi = MEM32(edi); /* 0x2510F349: mov edi, dword ptr [edi] */ 2255 PUSH32(esp, 0); /* 0x2510F34B: push 0 */ 2256 ecx = ebx + 0xC; /* 0x2510F34D: lea ecx, [ebx + 0xc] */ 2257 RECOMP_ICALL(0x25116960u); /* 0x2510F350: call 0x25116960 */ /* not lifted */ 2258 RECOMP_FLAGS_IN(); 2259 PUSH32(esp, ebx); /* 0x2510F355: push ebx */ 2260 RECOMP_ICALL(0x25137EECu); /* 0x2510F356: call 0x25137eec */ /* not lifted */ 2261 RECOMP_FLAGS_IN(); 2262 eax = MEM32(esi + 0x8); /* 0x2510F35B: mov eax, dword ptr [esi + 8] */ 2263 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2264 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2265 esp = esp + 4; /* 0x2510F35E: add esp, 4 */ 2266 _flag_k = FK_ADD; 2267 /* cmp edi, eax */ /* 0x2510F361: cmp edi, eax */ 2268 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2270 _flag_k = FK_CMP; 2271 ebx = edi; /* 0x2510F363: mov ebx, edi */ 2272 RECOMP_BACKEDGE(); 2273 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F33E; /* 0x2510F365: jne 0x2510f33e */ 2274 L_2510F367: 2275 ecx = MEM32(esi + 0x4); /* 0x2510F367: mov ecx, dword ptr [esi + 4] */ 2276 edx = MEM32(esi + 0x8); /* 0x2510F36A: mov edx, dword ptr [esi + 8] */ 2277 MEM32(ecx + 0x4) = edx; /* 0x2510F36D: mov dword ptr [ecx + 4], edx */ 2278 eax = MEM32(esi + 0x4); /* 0x2510F370: mov eax, dword ptr [esi + 4] */ 2279 MEM32(esi + 0x10) = 0; /* 0x2510F373: mov dword ptr [esi + 0x10], 0 */ 2280 MEM32(eax) = eax; /* 0x2510F37A: mov dword ptr [eax], eax */ 2281 eax = MEM32(esi + 0x4); /* 0x2510F37C: mov eax, dword ptr [esi + 4] */ 2282 MEM32(eax + 0x8) = eax; /* 0x2510F37F: mov dword ptr [eax + 8], eax */ 2283 eax = ebp + (-0x8); /* 0x2510F382: lea eax, [ebp - 8] */ 2284 PUSH32(esp, eax); /* 0x2510F385: push eax */ 2285 ecx = esi; /* 0x2510F386: mov ecx, esi */ 2286 RECOMP_ICALL(0x25085270u); /* 0x2510F388: call 0x25085270 */ /* not lifted */ 2287 RECOMP_FLAGS_IN(); 2288 goto L_2510F3B0; /* 0x2510F38D: jmp 0x2510f3b0 */ 2289 L_2510F38F: 2290 /* cmp eax, edi */ /* 0x2510F38F: cmp eax, edi */ 2291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2293 _flag_k = FK_CMP; 2294 if (CMP_EQ(_flag_a, _flag_b)) goto L_2510F3B0; /* 0x2510F391: je 0x2510f3b0 */ 2295 L_2510F393: 2296 ecx = ebp + (-0x4); /* 0x2510F393: lea ecx, [ebp - 4] */ 2297 ebx = eax; /* 0x2510F396: mov ebx, eax */ 2298 RECOMP_ICALL(0x25098300u); /* 0x2510F398: call 0x25098300 */ /* not lifted */ 2299 RECOMP_FLAGS_IN(); 2300 PUSH32(esp, ebx); /* 0x2510F39D: push ebx */ 2301 ecx = ebp + (-0x8); /* 0x2510F39E: lea ecx, [ebp - 8] */ 2302 PUSH32(esp, ecx); /* 0x2510F3A1: push ecx */ 2303 ecx = esi; /* 0x2510F3A2: mov ecx, esi */ 2304 RECOMP_ICALL(0x25114760u); /* 0x2510F3A4: call 0x25114760 */ /* not lifted */ 2305 RECOMP_FLAGS_IN(); 2306 eax = MEM32(ebp + (-0x4)); /* 0x2510F3A9: mov eax, dword ptr [ebp - 4] */ 2307 /* cmp eax, edi */ /* 0x2510F3AC: cmp eax, edi */ 2308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2310 _flag_k = FK_CMP; 2311 RECOMP_BACKEDGE(); 2312 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F393; /* 0x2510F3AE: jne 0x2510f393 */ 2313 L_2510F3B0: 2314 edx = MEM32(esi + 0x4); /* 0x2510F3B0: mov edx, dword ptr [esi + 4] */ 2315 PUSH32(esp, edx); /* 0x2510F3B3: push edx */ 2316 RECOMP_ICALL(0x25137EECu); /* 0x2510F3B4: call 0x25137eec */ /* not lifted */ 2317 RECOMP_FLAGS_IN(); 2318 eax = MEM32(esi + 0x8); /* 0x2510F3B9: mov eax, dword ptr [esi + 8] */ 2319 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2320 edi = 0; /* 0x2510F3BC: xor edi, edi */ 2321 _cf = 0; 2322 _flag_k = FK_TEST; 2323 PUSH32(esp, eax); /* 0x2510F3BE: push eax */ 2324 MEM32(esi + 0x4) = edi; /* 0x2510F3BF: mov dword ptr [esi + 4], edi */ 2325 MEM32(esi + 0x10) = edi; /* 0x2510F3C2: mov dword ptr [esi + 0x10], edi */ 2326 RECOMP_ICALL(0x25137EECu); /* 0x2510F3C5: call 0x25137eec */ /* not lifted */ 2327 RECOMP_FLAGS_IN(); 2328 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2329 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2330 esp = esp + 8; /* 0x2510F3CA: add esp, 8 */ 2331 _flag_k = FK_ADD; 2332 MEM32(esi + 0x8) = edi; /* 0x2510F3CD: mov dword ptr [esi + 8], edi */ 2333 edi = POP32_VAL(esp); /* 0x2510F3D0: pop edi */ 2334 esi = POP32_VAL(esp); /* 0x2510F3D1: pop esi */ 2335 ebx = POP32_VAL(esp); /* 0x2510F3D2: pop ebx */ 2336 esp = ebp; /* 0x2510F3D3: mov esp, ebp */ 2337 ebp = POP32_VAL(esp); /* 0x2510F3D5: pop ebp */ 2338 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510F3D6: ret */ 2339 L_2514D673: 2340 ecx = MEM32(ebp + (-0x10)); /* 0x2514D673: mov ecx, dword ptr [ebp - 0x10] */ 2341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x238u); 2342 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2343 ecx = ecx + 0x238u; /* 0x2514D676: add ecx, 0x238 */ 2344 _flag_k = FK_ADD; 2345 RECOMP_BACKEDGE(); 2346 goto L_2510F310; /* 0x2514D67C: jmp 0x2510f310 */ 2347 { RECOMP_REGS_OUT(); return; } /* end of function */ 2348 RECOMP_REGS_OUT(); 2349 } 2350 2351 void sub_2514D681(void) { 2352 int _fpu_cmp = 0; 2353 uint32_t _cf = 0; 2354 int _df = 1; 2355 uint32_t _flag_k = FK_NONE; 2356 uint32_t _flag_a = 0, _flag_b = 0; 2357 uint32_t _itail_tgt = 0; 2358 RECOMP_REGS_LOCALS 2359 RECOMP_ENTER(0x2514D681u); 2360 2361 goto L_2514D681; 2362 L_251380C4: 2363 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2364 L_2514D681: 2365 eax = 0x2516EDE0u; /* 0x2514D681: mov eax, 0x2516ede0 */ 2366 L_2514D686: 2367 RECOMP_BACKEDGE(); 2368 goto L_251380C4; /* 0x2514D686: jmp 0x251380c4 */ 2369 { RECOMP_REGS_OUT(); return; } /* end of function */ 2370 _ljump: 2371 switch (_itail_tgt) { 2372 case 0x251380C4u: goto L_251380C4; 2373 case 0x2514D681u: goto L_2514D681; 2374 case 0x2514D686u: goto L_2514D686; 2375 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2376 } 2377 RECOMP_REGS_OUT(); 2378 } 2379 2380 void sub_2514D690(void) { 2381 int _fpu_cmp = 0; 2382 uint32_t _cf = 0; 2383 int _df = 1; 2384 uint32_t _flag_k = FK_NONE; 2385 uint32_t _flag_a = 0, _flag_b = 0; 2386 uint32_t _itail_tgt = 0; 2387 RECOMP_REGS_LOCALS 2388 RECOMP_ENTER(0x2514D690u); 2389 2390 goto L_2514D690; 2391 L_250F5B50: 2392 PUSH32(esp, ebp); /* 0x250F5B50: push ebp */ 2393 ebp = esp; /* 0x250F5B51: mov ebp, esp */ 2394 PUSH32(esp, 0xFFFFFFFFu); /* 0x250F5B53: push -1 */ 2395 PUSH32(esp, 0x2514C78Cu); /* 0x250F5B55: push 0x2514c78c */ 2396 eax = MEM32(FS_BASE + (0)); /* 0x250F5B5A: mov eax, dword ptr fs:[0] */ 2397 PUSH32(esp, eax); /* 0x250F5B60: push eax */ 2398 MEM32(FS_BASE + (0)) = esp; /* 0x250F5B61: mov dword ptr fs:[0], esp */ 2399 PUSH32(esp, ecx); /* 0x250F5B68: push ecx */ 2400 PUSH32(esp, esi); /* 0x250F5B69: push esi */ 2401 esi = ecx; /* 0x250F5B6A: mov esi, ecx */ 2402 PUSH32(esp, edi); /* 0x250F5B6C: push edi */ 2403 MEM32(ebp + (-0x10)) = esi; /* 0x250F5B6D: mov dword ptr [ebp - 0x10], esi */ 2404 MEM32(esi) = 0x251589ECu; /* 0x250F5B70: mov dword ptr [esi], 0x251589ec */ 2405 ecx = MEM32(esi + 0x4); /* 0x250F5B76: mov ecx, dword ptr [esi + 4] */ 2406 /* test ecx, ecx */ /* 0x250F5B79: test ecx, ecx */ 2407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2408 _cf = 0; 2409 _flag_k = FK_TEST; 2410 MEM32(ebp + (-0x4)) = 3; /* 0x250F5B7B: mov dword ptr [ebp - 4], 3 */ 2411 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5B89; /* 0x250F5B82: je 0x250f5b89 */ 2412 L_250F5B84: 2413 RECOMP_ICALL(0x250E6370u); /* 0x250F5B84: call 0x250e6370 */ /* not lifted */ 2414 RECOMP_FLAGS_IN(); 2415 L_250F5B89: 2416 ecx = MEM32(esi + 0x8); /* 0x250F5B89: mov ecx, dword ptr [esi + 8] */ 2417 /* test ecx, ecx */ /* 0x250F5B8C: test ecx, ecx */ 2418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2419 _cf = 0; 2420 _flag_k = FK_TEST; 2421 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5B95; /* 0x250F5B8E: je 0x250f5b95 */ 2422 L_250F5B90: 2423 RECOMP_ICALL(0x250E6370u); /* 0x250F5B90: call 0x250e6370 */ /* not lifted */ 2424 RECOMP_FLAGS_IN(); 2425 L_250F5B95: 2426 edi = MEM32(esi + 0x30); /* 0x250F5B95: mov edi, dword ptr [esi + 0x30] */ 2427 /* cmp edi, MEM32(esi + 0x34) */ /* 0x250F5B98: cmp edi, dword ptr [esi + 0x34] */ 2428 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x34)); 2429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2430 _flag_k = FK_CMP; 2431 if (CMP_EQ(_flag_a, _flag_b)) goto L_250F5BC6; /* 0x250F5B9B: je 0x250f5bc6 */ 2432 L_250F5B9D: 2433 eax = MEM32(edi + 0x4); /* 0x250F5B9D: mov eax, dword ptr [edi + 4] */ 2434 /* test eax, eax */ /* 0x250F5BA0: test eax, eax */ 2435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2436 _cf = 0; 2437 _flag_k = FK_TEST; 2438 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5BBC; /* 0x250F5BA2: je 0x250f5bbc */ 2439 L_250F5BA4: 2440 ecx = MEM32(edi); /* 0x250F5BA4: mov ecx, dword ptr [edi] */ 2441 PUSH32(esp, ecx); /* 0x250F5BA6: push ecx */ 2442 PUSH32(esp, 0); /* 0x250F5BA7: push 0 */ 2443 PUSH32(esp, 0); /* 0x250F5BA9: push 0 */ 2444 PUSH32(esp, 0); /* 0x250F5BAB: push 0 */ 2445 PUSH32(esp, 0); /* 0x250F5BAD: push 0 */ 2446 PUSH32(esp, 0); /* 0x250F5BAF: push 0 */ 2447 PUSH32(esp, 0); /* 0x250F5BB1: push 0 */ 2448 PUSH32(esp, 0); /* 0x250F5BB3: push 0 */ 2449 PUSH32(esp, 0); /* 0x250F5BB5: push 0 */ 2450 RECOMP_ICALL(eax); /* 0x250F5BB7: call eax */ 2451 RECOMP_FLAGS_IN(); 2452 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 2453 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2454 esp = esp + 0x24u; /* 0x250F5BB9: add esp, 0x24 */ 2455 _flag_k = FK_ADD; 2456 L_250F5BBC: 2457 eax = MEM32(esi + 0x34); /* 0x250F5BBC: mov eax, dword ptr [esi + 0x34] */ 2458 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 2459 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2460 edi = edi + 8; /* 0x250F5BBF: add edi, 8 */ 2461 _flag_k = FK_ADD; 2462 /* cmp edi, eax */ /* 0x250F5BC2: cmp edi, eax */ 2463 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2465 _flag_k = FK_CMP; 2466 RECOMP_BACKEDGE(); 2467 if (CMP_NE(_flag_a, _flag_b)) goto L_250F5B9D; /* 0x250F5BC4: jne 0x250f5b9d */ 2468 L_250F5BC6: 2469 eax = MEM32(esi + 0x30); /* 0x250F5BC6: mov eax, dword ptr [esi + 0x30] */ 2470 PUSH32(esp, eax); /* 0x250F5BC9: push eax */ 2471 MEM32(ebp + (-0x10)) = eax; /* 0x250F5BCA: mov dword ptr [ebp - 0x10], eax */ 2472 RECOMP_ICALL(0x25137EECu); /* 0x250F5BCD: call 0x25137eec */ /* not lifted */ 2473 RECOMP_FLAGS_IN(); 2474 MEM32(esi + 0x30) = 0; /* 0x250F5BD2: mov dword ptr [esi + 0x30], 0 */ 2475 MEM32(esi + 0x34) = 0; /* 0x250F5BD9: mov dword ptr [esi + 0x34], 0 */ 2476 MEM32(esi + 0x38) = 0; /* 0x250F5BE0: mov dword ptr [esi + 0x38], 0 */ 2477 eax = MEM32(esi + 0x20); /* 0x250F5BE7: mov eax, dword ptr [esi + 0x20] */ 2478 PUSH32(esp, eax); /* 0x250F5BEA: push eax */ 2479 RECOMP_ICALL(0x25137EECu); /* 0x250F5BEB: call 0x25137eec */ /* not lifted */ 2480 RECOMP_FLAGS_IN(); 2481 eax = MEM32(esi + 0x18); /* 0x250F5BF0: mov eax, dword ptr [esi + 0x18] */ 2482 PUSH32(esp, eax); /* 0x250F5BF3: push eax */ 2483 RECOMP_ICALL(0x25137EECu); /* 0x250F5BF4: call 0x25137eec */ /* not lifted */ 2484 RECOMP_FLAGS_IN(); 2485 esi = MEM32(esi + 0x10); /* 0x250F5BF9: mov esi, dword ptr [esi + 0x10] */ 2486 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2487 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2488 esp = esp + 0xCu; /* 0x250F5BFC: add esp, 0xc */ 2489 _flag_k = FK_ADD; 2490 /* test esi, esi */ /* 0x250F5BFF: test esi, esi */ 2491 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2492 _cf = 0; 2493 _flag_k = FK_TEST; 2494 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F5C01: mov dword ptr [ebp - 4], 0xffffffff */ 2495 if (TEST_Z(_flag_a, _flag_b)) goto L_250F5C27; /* 0x250F5C08: je 0x250f5c27 */ 2496 L_250F5C0A: 2497 edx = MEM32(esi + (-0x4)); /* 0x250F5C0A: mov edx, dword ptr [esi - 4] */ 2498 PUSH32(esp, 0x250F5A60u); /* 0x250F5C0D: push 0x250f5a60 */ 2499 edi = esi + (-0x4); /* 0x250F5C12: lea edi, [esi - 4] */ 2500 PUSH32(esp, edx); /* 0x250F5C15: push edx */ 2501 PUSH32(esp, 0xCu); /* 0x250F5C16: push 0xc */ 2502 PUSH32(esp, esi); /* 0x250F5C18: push esi */ 2503 RECOMP_ICALL(0x25137F92u); /* 0x250F5C19: call 0x25137f92 */ /* not lifted */ 2504 RECOMP_FLAGS_IN(); 2505 PUSH32(esp, edi); /* 0x250F5C1E: push edi */ 2506 RECOMP_ICALL(0x25137EECu); /* 0x250F5C1F: call 0x25137eec */ /* not lifted */ 2507 RECOMP_FLAGS_IN(); 2508 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2509 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2510 esp = esp + 4; /* 0x250F5C24: add esp, 4 */ 2511 _flag_k = FK_ADD; 2512 L_250F5C27: 2513 ecx = MEM32(ebp + (-0xC)); /* 0x250F5C27: mov ecx, dword ptr [ebp - 0xc] */ 2514 edi = POP32_VAL(esp); /* 0x250F5C2A: pop edi */ 2515 esi = POP32_VAL(esp); /* 0x250F5C2B: pop esi */ 2516 MEM32(FS_BASE + (0)) = ecx; /* 0x250F5C2C: mov dword ptr fs:[0], ecx */ 2517 esp = ebp; /* 0x250F5C33: mov esp, ebp */ 2518 ebp = POP32_VAL(esp); /* 0x250F5C35: pop ebp */ 2519 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F5C36: ret */ 2520 L_2514D690: 2521 ecx = MEM32(ebp + (-0x14)); /* 0x2514D690: mov ecx, dword ptr [ebp - 0x14] */ 2522 RECOMP_BACKEDGE(); 2523 goto L_250F5B50; /* 0x2514D693: jmp 0x250f5b50 */ 2524 { RECOMP_REGS_OUT(); return; } /* end of function */ 2525 RECOMP_REGS_OUT(); 2526 } 2527 2528 void sub_2514D698(void) { 2529 int _fpu_cmp = 0; 2530 uint32_t _cf = 0; 2531 int _df = 1; 2532 uint32_t _flag_k = FK_NONE; 2533 uint32_t _flag_a = 0, _flag_b = 0; 2534 uint32_t _itail_tgt = 0; 2535 RECOMP_REGS_LOCALS 2536 RECOMP_ENTER(0x2514D698u); 2537 2538 goto L_2514D698; 2539 L_250DB0B0: 2540 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 2541 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 2542 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 2543 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 2544 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 2545 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 2546 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 2547 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2549 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 2550 _flag_k = FK_CMP; 2551 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 2552 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 2553 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 2554 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 2555 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 2556 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 2557 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 2558 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 2559 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 2560 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 2561 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 2562 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 2563 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 2564 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 2565 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2566 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 2567 _cf = 0; 2568 _flag_k = FK_TEST; 2569 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 2570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2572 _flag_k = FK_CMP; 2573 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 2574 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 2575 L_250DB11E: 2576 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 2577 RECOMP_FLAGS_IN(); 2578 L_250DB123: 2579 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 2580 PUSH32(esp, eax); /* 0x250DB129: push eax */ 2581 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 2582 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 2583 RECOMP_FLAGS_IN(); 2584 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2585 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2586 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 2587 _flag_k = FK_ADD; 2588 eax = edi; /* 0x250DB135: mov eax, edi */ 2589 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2590 _cf = (eax) != 0; 2591 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 2592 _flag_k = FK_CMP; 2593 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 2594 eax = _sc ? 0xFFFFFFFFu : 0; 2595 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2596 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2598 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 2599 _cf = 0; 2600 _flag_k = FK_TEST; 2601 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 2602 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 2603 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 2604 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 2605 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 2606 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 2607 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 2608 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2610 _flag_k = FK_CMP; 2611 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 2612 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 2613 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 2614 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 2615 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 2616 L_250DB16C: 2617 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 2618 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 2619 ecx = esi; /* 0x250DB170: mov ecx, esi */ 2620 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 2621 RECOMP_FLAGS_IN(); 2622 ecx = eax; /* 0x250DB177: mov ecx, eax */ 2623 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 2624 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 2625 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 2626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2628 _flag_k = FK_CMP; 2629 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 2630 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 2631 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2633 _flag_k = FK_NARROW(FK_CMP, 24); 2634 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 2635 L_250DB187: 2636 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 2637 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 2638 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2640 _flag_k = FK_CMP; 2641 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 2642 L_250DB18F: 2643 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 2644 PUSH32(esp, edx); /* 0x250DB192: push edx */ 2645 ecx = esi; /* 0x250DB193: mov ecx, esi */ 2646 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 2647 RECOMP_FLAGS_IN(); 2648 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 2649 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 2650 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 2651 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 2652 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 2653 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 2654 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 2655 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 2656 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 2657 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 2658 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 2659 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 2660 RECOMP_FLAGS_IN(); 2661 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 2662 L_250DB1BE: 2663 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 2664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 2665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2666 _flag_k = FK_CMP; 2667 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 2668 L_250DB1C3: 2669 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 2670 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 2671 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 2672 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 2673 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 2674 RECOMP_FLAGS_IN(); 2675 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 2676 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 2677 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 2678 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 2679 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 2680 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 2681 RECOMP_FLAGS_IN(); 2682 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 2683 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 2684 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 2685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2686 _flag_k = FK_CMP; 2687 RECOMP_BACKEDGE(); 2688 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 2689 L_250DB1E6: 2690 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 2691 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 2692 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 2693 RECOMP_FLAGS_IN(); 2694 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 2695 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 2696 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 2697 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 2698 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 2699 RECOMP_FLAGS_IN(); 2700 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2701 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2702 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 2703 _flag_k = FK_ADD; 2704 eax = edi; /* 0x250DB201: mov eax, edi */ 2705 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2706 _cf = (eax) != 0; 2707 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 2708 _flag_k = FK_CMP; 2709 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 2710 eax = _sc ? 0xFFFFFFFFu : 0; 2711 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2712 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2713 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 2714 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 2715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2716 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 2717 _cf = 0; 2718 _flag_k = FK_TEST; 2719 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 2720 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 2721 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 2722 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 2723 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2725 _flag_k = FK_CMP; 2726 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 2727 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 2728 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 2729 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 2730 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 2731 L_250DB22E: 2732 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 2733 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 2734 ecx = esi; /* 0x250DB232: mov ecx, esi */ 2735 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 2736 RECOMP_FLAGS_IN(); 2737 edx = eax; /* 0x250DB239: mov edx, eax */ 2738 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 2739 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 2740 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 2741 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2743 _flag_k = FK_CMP; 2744 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 2745 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 2746 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2748 _flag_k = FK_NARROW(FK_CMP, 24); 2749 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 2750 L_250DB249: 2751 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 2752 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 2753 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 2754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2755 _flag_k = FK_CMP; 2756 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 2757 L_250DB251: 2758 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 2759 PUSH32(esp, eax); /* 0x250DB254: push eax */ 2760 ecx = esi; /* 0x250DB255: mov ecx, esi */ 2761 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 2762 RECOMP_FLAGS_IN(); 2763 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 2764 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 2765 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 2766 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 2767 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 2768 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 2769 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 2770 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 2771 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 2772 PUSH32(esp, eax); /* 0x250DB276: push eax */ 2773 ecx = esi; /* 0x250DB277: mov ecx, esi */ 2774 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 2775 RECOMP_FLAGS_IN(); 2776 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 2777 L_250DB280: 2778 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 2779 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 2780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2781 _flag_k = FK_CMP; 2782 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 2783 L_250DB285: 2784 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 2785 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 2786 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 2787 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 2788 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 2789 RECOMP_FLAGS_IN(); 2790 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 2791 PUSH32(esp, edx); /* 0x250DB294: push edx */ 2792 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 2793 PUSH32(esp, eax); /* 0x250DB298: push eax */ 2794 ecx = esi; /* 0x250DB299: mov ecx, esi */ 2795 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 2796 RECOMP_FLAGS_IN(); 2797 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 2798 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 2799 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2801 _flag_k = FK_CMP; 2802 RECOMP_BACKEDGE(); 2803 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 2804 L_250DB2A8: 2805 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 2806 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 2807 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 2808 RECOMP_FLAGS_IN(); 2809 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 2810 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 2811 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 2812 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 2813 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 2814 RECOMP_FLAGS_IN(); 2815 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2816 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2817 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 2818 _flag_k = FK_ADD; 2819 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 2820 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 2821 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 2822 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 2823 RECOMP_FLAGS_IN(); 2824 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 2825 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 2826 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 2827 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 2828 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 2829 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 2830 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 2831 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 2832 L_2514D698: 2833 /* cmp MEM32(ebp + (-0x14)), 0 */ /* 0x2514D698: cmp dword ptr [ebp - 0x14], 0 */ 2834 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(0); 2835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2836 _flag_k = FK_CMP; 2837 if (CMP_EQ(_flag_a, _flag_b)) goto L_2514D6B0; /* 0x2514D69C: je 0x2514d6b0 */ 2838 L_2514D6A2: 2839 eax = MEM32(ebp + (-0x14)); /* 0x2514D6A2: mov eax, dword ptr [ebp - 0x14] */ 2840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x3Cu); 2841 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2842 eax = eax + 0x3Cu; /* 0x2514D6A5: add eax, 0x3c */ 2843 _flag_k = FK_ADD; 2844 MEM32(ebp + (-0x20)) = eax; /* 0x2514D6A8: mov dword ptr [ebp - 0x20], eax */ 2845 goto L_2514D6B7; /* 0x2514D6AB: jmp 0x2514d6b7 */ 2846 L_2514D6B0: 2847 MEM32(ebp + (-0x20)) = 0; /* 0x2514D6B0: mov dword ptr [ebp - 0x20], 0 */ 2848 L_2514D6B7: 2849 ecx = MEM32(ebp + (-0x20)); /* 0x2514D6B7: mov ecx, dword ptr [ebp - 0x20] */ 2850 RECOMP_BACKEDGE(); 2851 goto L_250DB0B0; /* 0x2514D6BA: jmp 0x250db0b0 */ 2852 { RECOMP_REGS_OUT(); return; } /* end of function */ 2853 RECOMP_REGS_OUT(); 2854 } 2855 2856 void sub_2514D6B7(void) { 2857 int _fpu_cmp = 0; 2858 uint32_t _cf = 0; 2859 int _df = 1; 2860 uint32_t _flag_k = FK_NONE; 2861 uint32_t _flag_a = 0, _flag_b = 0; 2862 uint32_t _itail_tgt = 0; 2863 RECOMP_REGS_LOCALS 2864 RECOMP_ENTER(0x2514D6B7u); 2865 2866 goto L_2514D6B7; 2867 L_250DB0B0: 2868 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 2869 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 2870 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 2871 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 2872 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 2873 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 2874 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 2875 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2877 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 2878 _flag_k = FK_CMP; 2879 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 2880 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 2881 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 2882 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 2883 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 2884 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 2885 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 2886 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 2887 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 2888 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 2889 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 2890 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 2891 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 2892 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 2893 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2894 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 2895 _cf = 0; 2896 _flag_k = FK_TEST; 2897 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 2898 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2900 _flag_k = FK_CMP; 2901 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 2902 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 2903 L_250DB11E: 2904 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 2905 RECOMP_FLAGS_IN(); 2906 L_250DB123: 2907 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 2908 PUSH32(esp, eax); /* 0x250DB129: push eax */ 2909 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 2910 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 2911 RECOMP_FLAGS_IN(); 2912 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2913 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2914 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 2915 _flag_k = FK_ADD; 2916 eax = edi; /* 0x250DB135: mov eax, edi */ 2917 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2918 _cf = (eax) != 0; 2919 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 2920 _flag_k = FK_CMP; 2921 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 2922 eax = _sc ? 0xFFFFFFFFu : 0; 2923 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2924 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2925 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2926 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 2927 _cf = 0; 2928 _flag_k = FK_TEST; 2929 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 2930 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 2931 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 2932 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 2933 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 2934 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 2935 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 2936 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2938 _flag_k = FK_CMP; 2939 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 2940 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 2941 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 2942 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 2943 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 2944 L_250DB16C: 2945 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 2946 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 2947 ecx = esi; /* 0x250DB170: mov ecx, esi */ 2948 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 2949 RECOMP_FLAGS_IN(); 2950 ecx = eax; /* 0x250DB177: mov ecx, eax */ 2951 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 2952 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 2953 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 2954 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2956 _flag_k = FK_CMP; 2957 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 2958 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 2959 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2961 _flag_k = FK_NARROW(FK_CMP, 24); 2962 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 2963 L_250DB187: 2964 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 2965 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 2966 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2968 _flag_k = FK_CMP; 2969 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 2970 L_250DB18F: 2971 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 2972 PUSH32(esp, edx); /* 0x250DB192: push edx */ 2973 ecx = esi; /* 0x250DB193: mov ecx, esi */ 2974 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 2975 RECOMP_FLAGS_IN(); 2976 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 2977 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 2978 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 2979 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 2980 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 2981 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 2982 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 2983 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 2984 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 2985 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 2986 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 2987 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 2988 RECOMP_FLAGS_IN(); 2989 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 2990 L_250DB1BE: 2991 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 2992 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 2993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2994 _flag_k = FK_CMP; 2995 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 2996 L_250DB1C3: 2997 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 2998 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 2999 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 3000 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 3001 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 3002 RECOMP_FLAGS_IN(); 3003 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 3004 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 3005 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 3006 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 3007 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 3008 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 3009 RECOMP_FLAGS_IN(); 3010 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 3011 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 3012 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 3013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3014 _flag_k = FK_CMP; 3015 RECOMP_BACKEDGE(); 3016 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 3017 L_250DB1E6: 3018 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 3019 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 3020 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 3021 RECOMP_FLAGS_IN(); 3022 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 3023 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 3024 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 3025 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 3026 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 3027 RECOMP_FLAGS_IN(); 3028 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3029 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3030 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 3031 _flag_k = FK_ADD; 3032 eax = edi; /* 0x250DB201: mov eax, edi */ 3033 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3034 _cf = (eax) != 0; 3035 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 3036 _flag_k = FK_CMP; 3037 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 3038 eax = _sc ? 0xFFFFFFFFu : 0; 3039 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3040 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3041 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 3042 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 3043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3044 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 3045 _cf = 0; 3046 _flag_k = FK_TEST; 3047 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 3048 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 3049 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 3050 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 3051 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3053 _flag_k = FK_CMP; 3054 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 3055 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 3056 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 3057 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 3058 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 3059 L_250DB22E: 3060 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 3061 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 3062 ecx = esi; /* 0x250DB232: mov ecx, esi */ 3063 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 3064 RECOMP_FLAGS_IN(); 3065 edx = eax; /* 0x250DB239: mov edx, eax */ 3066 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 3067 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 3068 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 3069 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3071 _flag_k = FK_CMP; 3072 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 3073 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 3074 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3076 _flag_k = FK_NARROW(FK_CMP, 24); 3077 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 3078 L_250DB249: 3079 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 3080 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 3081 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 3082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3083 _flag_k = FK_CMP; 3084 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 3085 L_250DB251: 3086 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 3087 PUSH32(esp, eax); /* 0x250DB254: push eax */ 3088 ecx = esi; /* 0x250DB255: mov ecx, esi */ 3089 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 3090 RECOMP_FLAGS_IN(); 3091 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 3092 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 3093 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 3094 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 3095 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 3096 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 3097 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 3098 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 3099 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 3100 PUSH32(esp, eax); /* 0x250DB276: push eax */ 3101 ecx = esi; /* 0x250DB277: mov ecx, esi */ 3102 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 3103 RECOMP_FLAGS_IN(); 3104 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 3105 L_250DB280: 3106 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 3107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 3108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3109 _flag_k = FK_CMP; 3110 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 3111 L_250DB285: 3112 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 3113 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 3114 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 3115 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 3116 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 3117 RECOMP_FLAGS_IN(); 3118 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 3119 PUSH32(esp, edx); /* 0x250DB294: push edx */ 3120 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 3121 PUSH32(esp, eax); /* 0x250DB298: push eax */ 3122 ecx = esi; /* 0x250DB299: mov ecx, esi */ 3123 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 3124 RECOMP_FLAGS_IN(); 3125 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 3126 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 3127 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3129 _flag_k = FK_CMP; 3130 RECOMP_BACKEDGE(); 3131 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 3132 L_250DB2A8: 3133 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 3134 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 3135 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 3136 RECOMP_FLAGS_IN(); 3137 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 3138 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 3139 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 3140 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 3141 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 3142 RECOMP_FLAGS_IN(); 3143 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3144 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3145 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 3146 _flag_k = FK_ADD; 3147 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 3148 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 3149 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 3150 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 3151 RECOMP_FLAGS_IN(); 3152 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 3153 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 3154 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 3155 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 3156 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 3157 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 3158 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 3159 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 3160 L_2514D6B7: 3161 ecx = MEM32(ebp + (-0x20)); /* 0x2514D6B7: mov ecx, dword ptr [ebp - 0x20] */ 3162 RECOMP_BACKEDGE(); 3163 goto L_250DB0B0; /* 0x2514D6BA: jmp 0x250db0b0 */ 3164 { RECOMP_REGS_OUT(); return; } /* end of function */ 3165 RECOMP_REGS_OUT(); 3166 } 3167 3168 void sub_2514D6BF(void) { 3169 int _fpu_cmp = 0; 3170 uint32_t _cf = 0; 3171 int _df = 1; 3172 uint32_t _flag_k = FK_NONE; 3173 uint32_t _flag_a = 0, _flag_b = 0; 3174 uint32_t _itail_tgt = 0; 3175 RECOMP_REGS_LOCALS 3176 RECOMP_ENTER(0x2514D6BFu); 3177 3178 goto L_2514D6BF; 3179 L_2510F310: 3180 PUSH32(esp, ebp); /* 0x2510F310: push ebp */ 3181 ebp = esp; /* 0x2510F311: mov ebp, esp */ 3182 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3184 esp = esp - 8; /* 0x2510F313: sub esp, 8 */ 3185 _flag_k = FK_CMP; 3186 PUSH32(esp, ebx); /* 0x2510F316: push ebx */ 3187 PUSH32(esp, esi); /* 0x2510F317: push esi */ 3188 esi = ecx; /* 0x2510F318: mov esi, ecx */ 3189 ecx = MEM32(esi + 0x10); /* 0x2510F31A: mov ecx, dword ptr [esi + 0x10] */ 3190 /* test ecx, ecx */ /* 0x2510F31D: test ecx, ecx */ 3191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3192 _cf = 0; 3193 _flag_k = FK_TEST; 3194 PUSH32(esp, edi); /* 0x2510F31F: push edi */ 3195 edi = MEM32(esi + 0x4); /* 0x2510F320: mov edi, dword ptr [esi + 4] */ 3196 eax = MEM32(edi); /* 0x2510F323: mov eax, dword ptr [edi] */ 3197 MEM32(ebp + (-0x4)) = eax; /* 0x2510F325: mov dword ptr [ebp - 4], eax */ 3198 if (TEST_Z(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F328: je 0x2510f38f */ 3199 L_2510F32A: 3200 ecx = eax; /* 0x2510F32A: mov ecx, eax */ 3201 /* cmp eax, ecx */ /* 0x2510F32C: cmp eax, ecx */ 3202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3204 _flag_k = FK_CMP; 3205 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F32E: jne 0x2510f38f */ 3206 L_2510F330: 3207 /* cmp edi, edi */ /* 0x2510F330: cmp edi, edi */ 3208 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3210 _flag_k = FK_CMP; 3211 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F38F; /* 0x2510F332: jne 0x2510f38f */ 3212 L_2510F334: 3213 ebx = MEM32(edi + 0x4); /* 0x2510F334: mov ebx, dword ptr [edi + 4] */ 3214 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2510F337: cmp ebx, dword ptr [esi + 8] */ 3215 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3217 _flag_k = FK_CMP; 3218 edi = ebx; /* 0x2510F33A: mov edi, ebx */ 3219 if (CMP_EQ(_flag_a, _flag_b)) goto L_2510F367; /* 0x2510F33C: je 0x2510f367 */ 3220 L_2510F33E: 3221 eax = MEM32(edi + 0x8); /* 0x2510F33E: mov eax, dword ptr [edi + 8] */ 3222 PUSH32(esp, eax); /* 0x2510F341: push eax */ 3223 ecx = esi; /* 0x2510F342: mov ecx, esi */ 3224 RECOMP_ICALL(0x251152A0u); /* 0x2510F344: call 0x251152a0 */ /* not lifted */ 3225 RECOMP_FLAGS_IN(); 3226 edi = MEM32(edi); /* 0x2510F349: mov edi, dword ptr [edi] */ 3227 PUSH32(esp, 0); /* 0x2510F34B: push 0 */ 3228 ecx = ebx + 0xC; /* 0x2510F34D: lea ecx, [ebx + 0xc] */ 3229 RECOMP_ICALL(0x25116960u); /* 0x2510F350: call 0x25116960 */ /* not lifted */ 3230 RECOMP_FLAGS_IN(); 3231 PUSH32(esp, ebx); /* 0x2510F355: push ebx */ 3232 RECOMP_ICALL(0x25137EECu); /* 0x2510F356: call 0x25137eec */ /* not lifted */ 3233 RECOMP_FLAGS_IN(); 3234 eax = MEM32(esi + 0x8); /* 0x2510F35B: mov eax, dword ptr [esi + 8] */ 3235 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3236 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3237 esp = esp + 4; /* 0x2510F35E: add esp, 4 */ 3238 _flag_k = FK_ADD; 3239 /* cmp edi, eax */ /* 0x2510F361: cmp edi, eax */ 3240 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3242 _flag_k = FK_CMP; 3243 ebx = edi; /* 0x2510F363: mov ebx, edi */ 3244 RECOMP_BACKEDGE(); 3245 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F33E; /* 0x2510F365: jne 0x2510f33e */ 3246 L_2510F367: 3247 ecx = MEM32(esi + 0x4); /* 0x2510F367: mov ecx, dword ptr [esi + 4] */ 3248 edx = MEM32(esi + 0x8); /* 0x2510F36A: mov edx, dword ptr [esi + 8] */ 3249 MEM32(ecx + 0x4) = edx; /* 0x2510F36D: mov dword ptr [ecx + 4], edx */ 3250 eax = MEM32(esi + 0x4); /* 0x2510F370: mov eax, dword ptr [esi + 4] */ 3251 MEM32(esi + 0x10) = 0; /* 0x2510F373: mov dword ptr [esi + 0x10], 0 */ 3252 MEM32(eax) = eax; /* 0x2510F37A: mov dword ptr [eax], eax */ 3253 eax = MEM32(esi + 0x4); /* 0x2510F37C: mov eax, dword ptr [esi + 4] */ 3254 MEM32(eax + 0x8) = eax; /* 0x2510F37F: mov dword ptr [eax + 8], eax */ 3255 eax = ebp + (-0x8); /* 0x2510F382: lea eax, [ebp - 8] */ 3256 PUSH32(esp, eax); /* 0x2510F385: push eax */ 3257 ecx = esi; /* 0x2510F386: mov ecx, esi */ 3258 RECOMP_ICALL(0x25085270u); /* 0x2510F388: call 0x25085270 */ /* not lifted */ 3259 RECOMP_FLAGS_IN(); 3260 goto L_2510F3B0; /* 0x2510F38D: jmp 0x2510f3b0 */ 3261 L_2510F38F: 3262 /* cmp eax, edi */ /* 0x2510F38F: cmp eax, edi */ 3263 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3265 _flag_k = FK_CMP; 3266 if (CMP_EQ(_flag_a, _flag_b)) goto L_2510F3B0; /* 0x2510F391: je 0x2510f3b0 */ 3267 L_2510F393: 3268 ecx = ebp + (-0x4); /* 0x2510F393: lea ecx, [ebp - 4] */ 3269 ebx = eax; /* 0x2510F396: mov ebx, eax */ 3270 RECOMP_ICALL(0x25098300u); /* 0x2510F398: call 0x25098300 */ /* not lifted */ 3271 RECOMP_FLAGS_IN(); 3272 PUSH32(esp, ebx); /* 0x2510F39D: push ebx */ 3273 ecx = ebp + (-0x8); /* 0x2510F39E: lea ecx, [ebp - 8] */ 3274 PUSH32(esp, ecx); /* 0x2510F3A1: push ecx */ 3275 ecx = esi; /* 0x2510F3A2: mov ecx, esi */ 3276 RECOMP_ICALL(0x25114760u); /* 0x2510F3A4: call 0x25114760 */ /* not lifted */ 3277 RECOMP_FLAGS_IN(); 3278 eax = MEM32(ebp + (-0x4)); /* 0x2510F3A9: mov eax, dword ptr [ebp - 4] */ 3279 /* cmp eax, edi */ /* 0x2510F3AC: cmp eax, edi */ 3280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3282 _flag_k = FK_CMP; 3283 RECOMP_BACKEDGE(); 3284 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F393; /* 0x2510F3AE: jne 0x2510f393 */ 3285 L_2510F3B0: 3286 edx = MEM32(esi + 0x4); /* 0x2510F3B0: mov edx, dword ptr [esi + 4] */ 3287 PUSH32(esp, edx); /* 0x2510F3B3: push edx */ 3288 RECOMP_ICALL(0x25137EECu); /* 0x2510F3B4: call 0x25137eec */ /* not lifted */ 3289 RECOMP_FLAGS_IN(); 3290 eax = MEM32(esi + 0x8); /* 0x2510F3B9: mov eax, dword ptr [esi + 8] */ 3291 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3292 edi = 0; /* 0x2510F3BC: xor edi, edi */ 3293 _cf = 0; 3294 _flag_k = FK_TEST; 3295 PUSH32(esp, eax); /* 0x2510F3BE: push eax */ 3296 MEM32(esi + 0x4) = edi; /* 0x2510F3BF: mov dword ptr [esi + 4], edi */ 3297 MEM32(esi + 0x10) = edi; /* 0x2510F3C2: mov dword ptr [esi + 0x10], edi */ 3298 RECOMP_ICALL(0x25137EECu); /* 0x2510F3C5: call 0x25137eec */ /* not lifted */ 3299 RECOMP_FLAGS_IN(); 3300 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3301 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3302 esp = esp + 8; /* 0x2510F3CA: add esp, 8 */ 3303 _flag_k = FK_ADD; 3304 MEM32(esi + 0x8) = edi; /* 0x2510F3CD: mov dword ptr [esi + 8], edi */ 3305 edi = POP32_VAL(esp); /* 0x2510F3D0: pop edi */ 3306 esi = POP32_VAL(esp); /* 0x2510F3D1: pop esi */ 3307 ebx = POP32_VAL(esp); /* 0x2510F3D2: pop ebx */ 3308 esp = ebp; /* 0x2510F3D3: mov esp, ebp */ 3309 ebp = POP32_VAL(esp); /* 0x2510F3D5: pop ebp */ 3310 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510F3D6: ret */ 3311 L_2514D6BF: 3312 ecx = MEM32(ebp + (-0x14)); /* 0x2514D6BF: mov ecx, dword ptr [ebp - 0x14] */ 3313 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x238u); 3314 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3315 ecx = ecx + 0x238u; /* 0x2514D6C2: add ecx, 0x238 */ 3316 _flag_k = FK_ADD; 3317 RECOMP_BACKEDGE(); 3318 goto L_2510F310; /* 0x2514D6C8: jmp 0x2510f310 */ 3319 { RECOMP_REGS_OUT(); return; } /* end of function */ 3320 RECOMP_REGS_OUT(); 3321 } 3322 3323 void sub_2514D6CD(void) { 3324 int _fpu_cmp = 0; 3325 uint32_t _cf = 0; 3326 int _df = 1; 3327 uint32_t _flag_k = FK_NONE; 3328 uint32_t _flag_a = 0, _flag_b = 0; 3329 uint32_t _itail_tgt = 0; 3330 RECOMP_REGS_LOCALS 3331 RECOMP_ENTER(0x2514D6CDu); 3332 3333 goto L_2514D6CD; 3334 L_2510F7C0: 3335 PUSH32(esp, ebp); /* 0x2510F7C0: push ebp */ 3336 ebp = esp; /* 0x2510F7C1: mov ebp, esp */ 3337 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3339 esp = esp - 8; /* 0x2510F7C3: sub esp, 8 */ 3340 _flag_k = FK_CMP; 3341 PUSH32(esp, ebx); /* 0x2510F7C6: push ebx */ 3342 PUSH32(esp, esi); /* 0x2510F7C7: push esi */ 3343 esi = ecx; /* 0x2510F7C8: mov esi, ecx */ 3344 ecx = MEM32(esi + 0x10); /* 0x2510F7CA: mov ecx, dword ptr [esi + 0x10] */ 3345 /* test ecx, ecx */ /* 0x2510F7CD: test ecx, ecx */ 3346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3347 _cf = 0; 3348 _flag_k = FK_TEST; 3349 PUSH32(esp, edi); /* 0x2510F7CF: push edi */ 3350 edi = MEM32(esi + 0x4); /* 0x2510F7D0: mov edi, dword ptr [esi + 4] */ 3351 eax = MEM32(edi); /* 0x2510F7D3: mov eax, dword ptr [edi] */ 3352 MEM32(ebp + (-0x4)) = eax; /* 0x2510F7D5: mov dword ptr [ebp - 4], eax */ 3353 if (TEST_Z(_flag_a, _flag_b)) goto L_2510F83F; /* 0x2510F7D8: je 0x2510f83f */ 3354 L_2510F7DA: 3355 ecx = eax; /* 0x2510F7DA: mov ecx, eax */ 3356 /* cmp eax, ecx */ /* 0x2510F7DC: cmp eax, ecx */ 3357 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3359 _flag_k = FK_CMP; 3360 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F83F; /* 0x2510F7DE: jne 0x2510f83f */ 3361 L_2510F7E0: 3362 /* cmp edi, edi */ /* 0x2510F7E0: cmp edi, edi */ 3363 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3365 _flag_k = FK_CMP; 3366 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F83F; /* 0x2510F7E2: jne 0x2510f83f */ 3367 L_2510F7E4: 3368 ebx = MEM32(edi + 0x4); /* 0x2510F7E4: mov ebx, dword ptr [edi + 4] */ 3369 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2510F7E7: cmp ebx, dword ptr [esi + 8] */ 3370 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3372 _flag_k = FK_CMP; 3373 edi = ebx; /* 0x2510F7EA: mov edi, ebx */ 3374 if (CMP_EQ(_flag_a, _flag_b)) goto L_2510F817; /* 0x2510F7EC: je 0x2510f817 */ 3375 L_2510F7EE: 3376 eax = MEM32(edi + 0x8); /* 0x2510F7EE: mov eax, dword ptr [edi + 8] */ 3377 PUSH32(esp, eax); /* 0x2510F7F1: push eax */ 3378 ecx = esi; /* 0x2510F7F2: mov ecx, esi */ 3379 RECOMP_ICALL(0x25115AA0u); /* 0x2510F7F4: call 0x25115aa0 */ /* not lifted */ 3380 RECOMP_FLAGS_IN(); 3381 edi = MEM32(edi); /* 0x2510F7F9: mov edi, dword ptr [edi] */ 3382 PUSH32(esp, 0); /* 0x2510F7FB: push 0 */ 3383 ecx = ebx + 0xC; /* 0x2510F7FD: lea ecx, [ebx + 0xc] */ 3384 RECOMP_ICALL(0x25116990u); /* 0x2510F800: call 0x25116990 */ /* not lifted */ 3385 RECOMP_FLAGS_IN(); 3386 PUSH32(esp, ebx); /* 0x2510F805: push ebx */ 3387 RECOMP_ICALL(0x25137EECu); /* 0x2510F806: call 0x25137eec */ /* not lifted */ 3388 RECOMP_FLAGS_IN(); 3389 eax = MEM32(esi + 0x8); /* 0x2510F80B: mov eax, dword ptr [esi + 8] */ 3390 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3391 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3392 esp = esp + 4; /* 0x2510F80E: add esp, 4 */ 3393 _flag_k = FK_ADD; 3394 /* cmp edi, eax */ /* 0x2510F811: cmp edi, eax */ 3395 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3397 _flag_k = FK_CMP; 3398 ebx = edi; /* 0x2510F813: mov ebx, edi */ 3399 RECOMP_BACKEDGE(); 3400 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F7EE; /* 0x2510F815: jne 0x2510f7ee */ 3401 L_2510F817: 3402 ecx = MEM32(esi + 0x4); /* 0x2510F817: mov ecx, dword ptr [esi + 4] */ 3403 edx = MEM32(esi + 0x8); /* 0x2510F81A: mov edx, dword ptr [esi + 8] */ 3404 MEM32(ecx + 0x4) = edx; /* 0x2510F81D: mov dword ptr [ecx + 4], edx */ 3405 eax = MEM32(esi + 0x4); /* 0x2510F820: mov eax, dword ptr [esi + 4] */ 3406 MEM32(esi + 0x10) = 0; /* 0x2510F823: mov dword ptr [esi + 0x10], 0 */ 3407 MEM32(eax) = eax; /* 0x2510F82A: mov dword ptr [eax], eax */ 3408 eax = MEM32(esi + 0x4); /* 0x2510F82C: mov eax, dword ptr [esi + 4] */ 3409 MEM32(eax + 0x8) = eax; /* 0x2510F82F: mov dword ptr [eax + 8], eax */ 3410 eax = ebp + (-0x8); /* 0x2510F832: lea eax, [ebp - 8] */ 3411 PUSH32(esp, eax); /* 0x2510F835: push eax */ 3412 ecx = esi; /* 0x2510F836: mov ecx, esi */ 3413 RECOMP_ICALL(0x25085270u); /* 0x2510F838: call 0x25085270 */ /* not lifted */ 3414 RECOMP_FLAGS_IN(); 3415 goto L_2510F860; /* 0x2510F83D: jmp 0x2510f860 */ 3416 L_2510F83F: 3417 /* cmp eax, edi */ /* 0x2510F83F: cmp eax, edi */ 3418 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3420 _flag_k = FK_CMP; 3421 if (CMP_EQ(_flag_a, _flag_b)) goto L_2510F860; /* 0x2510F841: je 0x2510f860 */ 3422 L_2510F843: 3423 ecx = ebp + (-0x4); /* 0x2510F843: lea ecx, [ebp - 4] */ 3424 ebx = eax; /* 0x2510F846: mov ebx, eax */ 3425 RECOMP_ICALL(0x250D1500u); /* 0x2510F848: call 0x250d1500 */ /* not lifted */ 3426 RECOMP_FLAGS_IN(); 3427 PUSH32(esp, ebx); /* 0x2510F84D: push ebx */ 3428 ecx = ebp + (-0x8); /* 0x2510F84E: lea ecx, [ebp - 8] */ 3429 PUSH32(esp, ecx); /* 0x2510F851: push ecx */ 3430 ecx = esi; /* 0x2510F852: mov ecx, esi */ 3431 RECOMP_ICALL(0x251155D0u); /* 0x2510F854: call 0x251155d0 */ /* not lifted */ 3432 RECOMP_FLAGS_IN(); 3433 eax = MEM32(ebp + (-0x4)); /* 0x2510F859: mov eax, dword ptr [ebp - 4] */ 3434 /* cmp eax, edi */ /* 0x2510F85C: cmp eax, edi */ 3435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3437 _flag_k = FK_CMP; 3438 RECOMP_BACKEDGE(); 3439 if (CMP_NE(_flag_a, _flag_b)) goto L_2510F843; /* 0x2510F85E: jne 0x2510f843 */ 3440 L_2510F860: 3441 edx = MEM32(esi + 0x4); /* 0x2510F860: mov edx, dword ptr [esi + 4] */ 3442 PUSH32(esp, edx); /* 0x2510F863: push edx */ 3443 RECOMP_ICALL(0x25137EECu); /* 0x2510F864: call 0x25137eec */ /* not lifted */ 3444 RECOMP_FLAGS_IN(); 3445 eax = MEM32(esi + 0x8); /* 0x2510F869: mov eax, dword ptr [esi + 8] */ 3446 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3447 edi = 0; /* 0x2510F86C: xor edi, edi */ 3448 _cf = 0; 3449 _flag_k = FK_TEST; 3450 PUSH32(esp, eax); /* 0x2510F86E: push eax */ 3451 MEM32(esi + 0x4) = edi; /* 0x2510F86F: mov dword ptr [esi + 4], edi */ 3452 MEM32(esi + 0x10) = edi; /* 0x2510F872: mov dword ptr [esi + 0x10], edi */ 3453 RECOMP_ICALL(0x25137EECu); /* 0x2510F875: call 0x25137eec */ /* not lifted */ 3454 RECOMP_FLAGS_IN(); 3455 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3457 esp = esp + 8; /* 0x2510F87A: add esp, 8 */ 3458 _flag_k = FK_ADD; 3459 MEM32(esi + 0x8) = edi; /* 0x2510F87D: mov dword ptr [esi + 8], edi */ 3460 edi = POP32_VAL(esp); /* 0x2510F880: pop edi */ 3461 esi = POP32_VAL(esp); /* 0x2510F881: pop esi */ 3462 ebx = POP32_VAL(esp); /* 0x2510F882: pop ebx */ 3463 esp = ebp; /* 0x2510F883: mov esp, ebp */ 3464 ebp = POP32_VAL(esp); /* 0x2510F885: pop ebp */ 3465 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2510F886: ret */ 3466 L_2514D6CD: 3467 ecx = MEM32(ebp + (-0x14)); /* 0x2514D6CD: mov ecx, dword ptr [ebp - 0x14] */ 3468 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24Cu); 3469 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3470 ecx = ecx + 0x24Cu; /* 0x2514D6D0: add ecx, 0x24c */ 3471 _flag_k = FK_ADD; 3472 RECOMP_BACKEDGE(); 3473 goto L_2510F7C0; /* 0x2514D6D6: jmp 0x2510f7c0 */ 3474 { RECOMP_REGS_OUT(); return; } /* end of function */ 3475 RECOMP_REGS_OUT(); 3476 } 3477 3478 void sub_2514D6DB(void) { 3479 int _fpu_cmp = 0; 3480 uint32_t _cf = 0; 3481 int _df = 1; 3482 uint32_t _flag_k = FK_NONE; 3483 uint32_t _flag_a = 0, _flag_b = 0; 3484 uint32_t _itail_tgt = 0; 3485 RECOMP_REGS_LOCALS 3486 RECOMP_ENTER(0x2514D6DBu); 3487 3488 goto L_2514D6DB; 3489 L_251380C4: 3490 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3491 L_2514D6DB: 3492 eax = 0x2516EE18u; /* 0x2514D6DB: mov eax, 0x2516ee18 */ 3493 L_2514D6E0: 3494 RECOMP_BACKEDGE(); 3495 goto L_251380C4; /* 0x2514D6E0: jmp 0x251380c4 */ 3496 { RECOMP_REGS_OUT(); return; } /* end of function */ 3497 _ljump: 3498 switch (_itail_tgt) { 3499 case 0x251380C4u: goto L_251380C4; 3500 case 0x2514D6DBu: goto L_2514D6DB; 3501 case 0x2514D6E0u: goto L_2514D6E0; 3502 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3503 } 3504 RECOMP_REGS_OUT(); 3505 } 3506 3507 void sub_2514D6F0(void) { 3508 int _fpu_cmp = 0; 3509 uint32_t _cf = 0; 3510 int _df = 1; 3511 uint32_t _flag_k = FK_NONE; 3512 uint32_t _flag_a = 0, _flag_b = 0; 3513 uint32_t _itail_tgt = 0; 3514 RECOMP_REGS_LOCALS 3515 RECOMP_ENTER(0x2514D6F0u); 3516 3517 L_2514D6F0: 3518 eax = MEM32(ebp + (-0x10)); /* 0x2514D6F0: mov eax, dword ptr [ebp - 0x10] */ 3519 PUSH32(esp, eax); /* 0x2514D6F3: push eax */ 3520 RECOMP_ICALL(0x25137EECu); /* 0x2514D6F4: call 0x25137eec */ /* not lifted */ 3521 RECOMP_FLAGS_IN(); 3522 ecx = POP32_VAL(esp); /* 0x2514D6F9: pop ecx */ 3523 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514D6FA: ret */ 3524 RECOMP_REGS_OUT(); 3525 } 3526 3527 void sub_2514D6FB(void) { 3528 int _fpu_cmp = 0; 3529 uint32_t _cf = 0; 3530 int _df = 1; 3531 uint32_t _flag_k = FK_NONE; 3532 uint32_t _flag_a = 0, _flag_b = 0; 3533 uint32_t _itail_tgt = 0; 3534 RECOMP_REGS_LOCALS 3535 RECOMP_ENTER(0x2514D6FBu); 3536 3537 goto L_2514D6FB; 3538 L_251380C4: 3539 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3540 L_2514D6FB: 3541 eax = 0x2516EE58u; /* 0x2514D6FB: mov eax, 0x2516ee58 */ 3542 L_2514D700: 3543 RECOMP_BACKEDGE(); 3544 goto L_251380C4; /* 0x2514D700: jmp 0x251380c4 */ 3545 { RECOMP_REGS_OUT(); return; } /* end of function */ 3546 _ljump: 3547 switch (_itail_tgt) { 3548 case 0x251380C4u: goto L_251380C4; 3549 case 0x2514D6FBu: goto L_2514D6FB; 3550 case 0x2514D700u: goto L_2514D700; 3551 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3552 } 3553 RECOMP_REGS_OUT(); 3554 } 3555 3556 void sub_2514D710(void) { 3557 int _fpu_cmp = 0; 3558 uint32_t _cf = 0; 3559 int _df = 1; 3560 uint32_t _flag_k = FK_NONE; 3561 uint32_t _flag_a = 0, _flag_b = 0; 3562 uint32_t _itail_tgt = 0; 3563 RECOMP_REGS_LOCALS 3564 RECOMP_ENTER(0x2514D710u); 3565 3566 L_2514D710: 3567 ecx = ebp + (-0x4C); /* 0x2514D710: lea ecx, [ebp - 0x4c] */ 3568 L_2514D713: 3569 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 3570 { RECOMP_REGS_OUT(); return; } /* end of function */ 3571 _ljump: 3572 switch (_itail_tgt) { 3573 case 0x2514D710u: goto L_2514D710; 3574 case 0x2514D713u: goto L_2514D713; 3575 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3576 } 3577 RECOMP_REGS_OUT(); 3578 } 3579 3580 void sub_2514D719(void) { 3581 int _fpu_cmp = 0; 3582 uint32_t _cf = 0; 3583 int _df = 1; 3584 uint32_t _flag_k = FK_NONE; 3585 uint32_t _flag_a = 0, _flag_b = 0; 3586 uint32_t _itail_tgt = 0; 3587 RECOMP_REGS_LOCALS 3588 RECOMP_ENTER(0x2514D719u); 3589 3590 goto L_2514D719; 3591 L_251380C4: 3592 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3593 L_2514D719: 3594 eax = 0x2516EE80u; /* 0x2514D719: mov eax, 0x2516ee80 */ 3595 L_2514D71E: 3596 RECOMP_BACKEDGE(); 3597 goto L_251380C4; /* 0x2514D71E: jmp 0x251380c4 */ 3598 { RECOMP_REGS_OUT(); return; } /* end of function */ 3599 _ljump: 3600 switch (_itail_tgt) { 3601 case 0x251380C4u: goto L_251380C4; 3602 case 0x2514D719u: goto L_2514D719; 3603 case 0x2514D71Eu: goto L_2514D71E; 3604 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3605 } 3606 RECOMP_REGS_OUT(); 3607 } 3608 3609 void sub_2514D730(void) { 3610 int _fpu_cmp = 0; 3611 uint32_t _cf = 0; 3612 int _df = 1; 3613 uint32_t _flag_k = FK_NONE; 3614 uint32_t _flag_a = 0, _flag_b = 0; 3615 uint32_t _itail_tgt = 0; 3616 RECOMP_REGS_LOCALS 3617 RECOMP_ENTER(0x2514D730u); 3618 3619 L_2514D730: 3620 ecx = ebp + (-0x158); /* 0x2514D730: lea ecx, [ebp - 0x158] */ 3621 goto L_25009BC0; /* 0x2514D736: jmp 0x25009bc0 */ 3622 { RECOMP_REGS_OUT(); return; } /* end of function */ 3623 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3624 RECOMP_REGS_OUT(); 3625 } 3626 3627 void sub_2514D73B(void) { 3628 int _fpu_cmp = 0; 3629 uint32_t _cf = 0; 3630 int _df = 1; 3631 uint32_t _flag_k = FK_NONE; 3632 uint32_t _flag_a = 0, _flag_b = 0; 3633 uint32_t _itail_tgt = 0; 3634 RECOMP_REGS_LOCALS 3635 RECOMP_ENTER(0x2514D73Bu); 3636 3637 L_2514D73B: 3638 ecx = ebp + (-0x140); /* 0x2514D73B: lea ecx, [ebp - 0x140] */ 3639 goto L_25009BC0; /* 0x2514D741: jmp 0x25009bc0 */ 3640 { RECOMP_REGS_OUT(); return; } /* end of function */ 3641 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3642 RECOMP_REGS_OUT(); 3643 } 3644 3645 void sub_2514D746(void) { 3646 int _fpu_cmp = 0; 3647 uint32_t _cf = 0; 3648 int _df = 1; 3649 uint32_t _flag_k = FK_NONE; 3650 uint32_t _flag_a = 0, _flag_b = 0; 3651 uint32_t _itail_tgt = 0; 3652 RECOMP_REGS_LOCALS 3653 RECOMP_ENTER(0x2514D746u); 3654 3655 L_2514D746: 3656 ecx = ebp + (-0x128); /* 0x2514D746: lea ecx, [ebp - 0x128] */ 3657 goto L_25009BC0; /* 0x2514D74C: jmp 0x25009bc0 */ 3658 { RECOMP_REGS_OUT(); return; } /* end of function */ 3659 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3660 RECOMP_REGS_OUT(); 3661 } 3662 3663 void sub_2514D751(void) { 3664 int _fpu_cmp = 0; 3665 uint32_t _cf = 0; 3666 int _df = 1; 3667 uint32_t _flag_k = FK_NONE; 3668 uint32_t _flag_a = 0, _flag_b = 0; 3669 uint32_t _itail_tgt = 0; 3670 RECOMP_REGS_LOCALS 3671 RECOMP_ENTER(0x2514D751u); 3672 3673 L_2514D751: 3674 ecx = ebp + (-0x1B4); /* 0x2514D751: lea ecx, [ebp - 0x1b4] */ 3675 goto L_25009BF0; /* 0x2514D757: jmp 0x25009bf0 */ 3676 { RECOMP_REGS_OUT(); return; } /* end of function */ 3677 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3678 RECOMP_REGS_OUT(); 3679 } 3680 3681 void sub_2514D75C(void) { 3682 int _fpu_cmp = 0; 3683 uint32_t _cf = 0; 3684 int _df = 1; 3685 uint32_t _flag_k = FK_NONE; 3686 uint32_t _flag_a = 0, _flag_b = 0; 3687 uint32_t _itail_tgt = 0; 3688 RECOMP_REGS_LOCALS 3689 RECOMP_ENTER(0x2514D75Cu); 3690 3691 L_2514D75C: 3692 ecx = ebp + (-0x1A4); /* 0x2514D75C: lea ecx, [ebp - 0x1a4] */ 3693 goto L_25009BF0; /* 0x2514D762: jmp 0x25009bf0 */ 3694 { RECOMP_REGS_OUT(); return; } /* end of function */ 3695 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3696 RECOMP_REGS_OUT(); 3697 } 3698 3699 void sub_2514D767(void) { 3700 int _fpu_cmp = 0; 3701 uint32_t _cf = 0; 3702 int _df = 1; 3703 uint32_t _flag_k = FK_NONE; 3704 uint32_t _flag_a = 0, _flag_b = 0; 3705 uint32_t _itail_tgt = 0; 3706 RECOMP_REGS_LOCALS 3707 RECOMP_ENTER(0x2514D767u); 3708 3709 L_2514D767: 3710 ecx = ebp + (-0x194); /* 0x2514D767: lea ecx, [ebp - 0x194] */ 3711 goto L_25009BF0; /* 0x2514D76D: jmp 0x25009bf0 */ 3712 { RECOMP_REGS_OUT(); return; } /* end of function */ 3713 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3714 RECOMP_REGS_OUT(); 3715 } 3716 3717 void sub_2514D772(void) { 3718 int _fpu_cmp = 0; 3719 uint32_t _cf = 0; 3720 int _df = 1; 3721 uint32_t _flag_k = FK_NONE; 3722 uint32_t _flag_a = 0, _flag_b = 0; 3723 uint32_t _itail_tgt = 0; 3724 RECOMP_REGS_LOCALS 3725 RECOMP_ENTER(0x2514D772u); 3726 3727 L_2514D772: 3728 ecx = ebp + (-0x54); /* 0x2514D772: lea ecx, [ebp - 0x54] */ 3729 goto L_25009BC0; /* 0x2514D775: jmp 0x25009bc0 */ 3730 { RECOMP_REGS_OUT(); return; } /* end of function */ 3731 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3732 RECOMP_REGS_OUT(); 3733 } 3734 3735 void sub_2514D77A(void) { 3736 int _fpu_cmp = 0; 3737 uint32_t _cf = 0; 3738 int _df = 1; 3739 uint32_t _flag_k = FK_NONE; 3740 uint32_t _flag_a = 0, _flag_b = 0; 3741 uint32_t _itail_tgt = 0; 3742 RECOMP_REGS_LOCALS 3743 RECOMP_ENTER(0x2514D77Au); 3744 3745 L_2514D77A: 3746 ecx = ebp + (-0xBC); /* 0x2514D77A: lea ecx, [ebp - 0xbc] */ 3747 goto L_25009BC0; /* 0x2514D780: jmp 0x25009bc0 */ 3748 { RECOMP_REGS_OUT(); return; } /* end of function */ 3749 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3750 RECOMP_REGS_OUT(); 3751 } 3752 3753 void sub_2514D785(void) { 3754 int _fpu_cmp = 0; 3755 uint32_t _cf = 0; 3756 int _df = 1; 3757 uint32_t _flag_k = FK_NONE; 3758 uint32_t _flag_a = 0, _flag_b = 0; 3759 uint32_t _itail_tgt = 0; 3760 RECOMP_REGS_LOCALS 3761 RECOMP_ENTER(0x2514D785u); 3762 3763 L_2514D785: 3764 ecx = ebp + (-0x134); /* 0x2514D785: lea ecx, [ebp - 0x134] */ 3765 goto L_25009BC0; /* 0x2514D78B: jmp 0x25009bc0 */ 3766 { RECOMP_REGS_OUT(); return; } /* end of function */ 3767 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3768 RECOMP_REGS_OUT(); 3769 } 3770 3771 void sub_2514D790(void) { 3772 int _fpu_cmp = 0; 3773 uint32_t _cf = 0; 3774 int _df = 1; 3775 uint32_t _flag_k = FK_NONE; 3776 uint32_t _flag_a = 0, _flag_b = 0; 3777 uint32_t _itail_tgt = 0; 3778 RECOMP_REGS_LOCALS 3779 RECOMP_ENTER(0x2514D790u); 3780 3781 L_2514D790: 3782 ecx = ebp + (-0x164); /* 0x2514D790: lea ecx, [ebp - 0x164] */ 3783 goto L_25009BC0; /* 0x2514D796: jmp 0x25009bc0 */ 3784 { RECOMP_REGS_OUT(); return; } /* end of function */ 3785 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3786 RECOMP_REGS_OUT(); 3787 } 3788 3789 void sub_2514D79B(void) { 3790 int _fpu_cmp = 0; 3791 uint32_t _cf = 0; 3792 int _df = 1; 3793 uint32_t _flag_k = FK_NONE; 3794 uint32_t _flag_a = 0, _flag_b = 0; 3795 uint32_t _itail_tgt = 0; 3796 RECOMP_REGS_LOCALS 3797 RECOMP_ENTER(0x2514D79Bu); 3798 3799 L_2514D79B: 3800 ecx = ebp + (-0x11C); /* 0x2514D79B: lea ecx, [ebp - 0x11c] */ 3801 goto L_25009BC0; /* 0x2514D7A1: jmp 0x25009bc0 */ 3802 { RECOMP_REGS_OUT(); return; } /* end of function */ 3803 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3804 RECOMP_REGS_OUT(); 3805 } 3806 3807 void sub_2514D7A6(void) { 3808 int _fpu_cmp = 0; 3809 uint32_t _cf = 0; 3810 int _df = 1; 3811 uint32_t _flag_k = FK_NONE; 3812 uint32_t _flag_a = 0, _flag_b = 0; 3813 uint32_t _itail_tgt = 0; 3814 RECOMP_REGS_LOCALS 3815 RECOMP_ENTER(0x2514D7A6u); 3816 3817 L_2514D7A6: 3818 ecx = ebp + (-0x14C); /* 0x2514D7A6: lea ecx, [ebp - 0x14c] */ 3819 goto L_25009BC0; /* 0x2514D7AC: jmp 0x25009bc0 */ 3820 { RECOMP_REGS_OUT(); return; } /* end of function */ 3821 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3822 RECOMP_REGS_OUT(); 3823 } 3824 3825 void sub_2514D7B1(void) { 3826 int _fpu_cmp = 0; 3827 uint32_t _cf = 0; 3828 int _df = 1; 3829 uint32_t _flag_k = FK_NONE; 3830 uint32_t _flag_a = 0, _flag_b = 0; 3831 uint32_t _itail_tgt = 0; 3832 RECOMP_REGS_LOCALS 3833 RECOMP_ENTER(0x2514D7B1u); 3834 3835 L_2514D7B1: 3836 ecx = ebp + (-0x80); /* 0x2514D7B1: lea ecx, [ebp - 0x80] */ 3837 goto L_25009BF0; /* 0x2514D7B4: jmp 0x25009bf0 */ 3838 { RECOMP_REGS_OUT(); return; } /* end of function */ 3839 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3840 RECOMP_REGS_OUT(); 3841 } 3842 3843 void sub_2514D7B9(void) { 3844 int _fpu_cmp = 0; 3845 uint32_t _cf = 0; 3846 int _df = 1; 3847 uint32_t _flag_k = FK_NONE; 3848 uint32_t _flag_a = 0, _flag_b = 0; 3849 uint32_t _itail_tgt = 0; 3850 RECOMP_REGS_LOCALS 3851 RECOMP_ENTER(0x2514D7B9u); 3852 3853 L_2514D7B9: 3854 ecx = ebp + (-0x174); /* 0x2514D7B9: lea ecx, [ebp - 0x174] */ 3855 goto L_25009BF0; /* 0x2514D7BF: jmp 0x25009bf0 */ 3856 { RECOMP_REGS_OUT(); return; } /* end of function */ 3857 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3858 RECOMP_REGS_OUT(); 3859 } 3860 3861 void sub_2514D7C4(void) { 3862 int _fpu_cmp = 0; 3863 uint32_t _cf = 0; 3864 int _df = 1; 3865 uint32_t _flag_k = FK_NONE; 3866 uint32_t _flag_a = 0, _flag_b = 0; 3867 uint32_t _itail_tgt = 0; 3868 RECOMP_REGS_LOCALS 3869 RECOMP_ENTER(0x2514D7C4u); 3870 3871 L_2514D7C4: 3872 ecx = ebp + (-0xB0); /* 0x2514D7C4: lea ecx, [ebp - 0xb0] */ 3873 goto L_25009BC0; /* 0x2514D7CA: jmp 0x25009bc0 */ 3874 { RECOMP_REGS_OUT(); return; } /* end of function */ 3875 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 3876 RECOMP_REGS_OUT(); 3877 } 3878 3879 void sub_2514D7CF(void) { 3880 int _fpu_cmp = 0; 3881 uint32_t _cf = 0; 3882 int _df = 1; 3883 uint32_t _flag_k = FK_NONE; 3884 uint32_t _flag_a = 0, _flag_b = 0; 3885 uint32_t _itail_tgt = 0; 3886 RECOMP_REGS_LOCALS 3887 RECOMP_ENTER(0x2514D7CFu); 3888 3889 L_2514D7CF: 3890 ecx = ebp + (-0xE0); /* 0x2514D7CF: lea ecx, [ebp - 0xe0] */ 3891 goto L_25009BF0; /* 0x2514D7D5: jmp 0x25009bf0 */ 3892 { RECOMP_REGS_OUT(); return; } /* end of function */ 3893 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3894 RECOMP_REGS_OUT(); 3895 } 3896 3897 void sub_2514D7DA(void) { 3898 int _fpu_cmp = 0; 3899 uint32_t _cf = 0; 3900 int _df = 1; 3901 uint32_t _flag_k = FK_NONE; 3902 uint32_t _flag_a = 0, _flag_b = 0; 3903 uint32_t _itail_tgt = 0; 3904 RECOMP_REGS_LOCALS 3905 RECOMP_ENTER(0x2514D7DAu); 3906 3907 L_2514D7DA: 3908 ecx = ebp + (-0xD0); /* 0x2514D7DA: lea ecx, [ebp - 0xd0] */ 3909 goto L_25009BF0; /* 0x2514D7E0: jmp 0x25009bf0 */ 3910 { RECOMP_REGS_OUT(); return; } /* end of function */ 3911 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3912 RECOMP_REGS_OUT(); 3913 } 3914 3915 void sub_2514D7E5(void) { 3916 int _fpu_cmp = 0; 3917 uint32_t _cf = 0; 3918 int _df = 1; 3919 uint32_t _flag_k = FK_NONE; 3920 uint32_t _flag_a = 0, _flag_b = 0; 3921 uint32_t _itail_tgt = 0; 3922 RECOMP_REGS_LOCALS 3923 RECOMP_ENTER(0x2514D7E5u); 3924 3925 L_2514D7E5: 3926 ecx = ebp + (-0x1F4); /* 0x2514D7E5: lea ecx, [ebp - 0x1f4] */ 3927 L_2514D7EB: 3928 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 3929 { RECOMP_REGS_OUT(); return; } /* end of function */ 3930 _ljump: 3931 switch (_itail_tgt) { 3932 case 0x2514D7E5u: goto L_2514D7E5; 3933 case 0x2514D7EBu: goto L_2514D7EB; 3934 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3935 } 3936 RECOMP_REGS_OUT(); 3937 } 3938 3939 void sub_2514D7F1(void) { 3940 int _fpu_cmp = 0; 3941 uint32_t _cf = 0; 3942 int _df = 1; 3943 uint32_t _flag_k = FK_NONE; 3944 uint32_t _flag_a = 0, _flag_b = 0; 3945 uint32_t _itail_tgt = 0; 3946 RECOMP_REGS_LOCALS 3947 RECOMP_ENTER(0x2514D7F1u); 3948 3949 L_2514D7F1: 3950 ecx = ebp + (-0xF0); /* 0x2514D7F1: lea ecx, [ebp - 0xf0] */ 3951 goto L_25009BF0; /* 0x2514D7F7: jmp 0x25009bf0 */ 3952 { RECOMP_REGS_OUT(); return; } /* end of function */ 3953 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3954 RECOMP_REGS_OUT(); 3955 } 3956 3957 void sub_2514D7FC(void) { 3958 int _fpu_cmp = 0; 3959 uint32_t _cf = 0; 3960 int _df = 1; 3961 uint32_t _flag_k = FK_NONE; 3962 uint32_t _flag_a = 0, _flag_b = 0; 3963 uint32_t _itail_tgt = 0; 3964 RECOMP_REGS_LOCALS 3965 RECOMP_ENTER(0x2514D7FCu); 3966 3967 L_2514D7FC: 3968 ecx = ebp + (-0x100); /* 0x2514D7FC: lea ecx, [ebp - 0x100] */ 3969 goto L_25009BF0; /* 0x2514D802: jmp 0x25009bf0 */ 3970 { RECOMP_REGS_OUT(); return; } /* end of function */ 3971 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3972 RECOMP_REGS_OUT(); 3973 } 3974 3975 void sub_2514D807(void) { 3976 int _fpu_cmp = 0; 3977 uint32_t _cf = 0; 3978 int _df = 1; 3979 uint32_t _flag_k = FK_NONE; 3980 uint32_t _flag_a = 0, _flag_b = 0; 3981 uint32_t _itail_tgt = 0; 3982 RECOMP_REGS_LOCALS 3983 RECOMP_ENTER(0x2514D807u); 3984 3985 L_2514D807: 3986 ecx = ebp + (-0x110); /* 0x2514D807: lea ecx, [ebp - 0x110] */ 3987 goto L_25009BF0; /* 0x2514D80D: jmp 0x25009bf0 */ 3988 { RECOMP_REGS_OUT(); return; } /* end of function */ 3989 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3990 RECOMP_REGS_OUT(); 3991 } 3992 3993 void sub_2514D812(void) { 3994 int _fpu_cmp = 0; 3995 uint32_t _cf = 0; 3996 int _df = 1; 3997 uint32_t _flag_k = FK_NONE; 3998 uint32_t _flag_a = 0, _flag_b = 0; 3999 uint32_t _itail_tgt = 0; 4000 RECOMP_REGS_LOCALS 4001 RECOMP_ENTER(0x2514D812u); 4002 4003 L_2514D812: 4004 ecx = ebp + (-0x98); /* 0x2514D812: lea ecx, [ebp - 0x98] */ 4005 goto L_25009BC0; /* 0x2514D818: jmp 0x25009bc0 */ 4006 { RECOMP_REGS_OUT(); return; } /* end of function */ 4007 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4008 RECOMP_REGS_OUT(); 4009 } 4010 4011 void sub_2514D81D(void) { 4012 int _fpu_cmp = 0; 4013 uint32_t _cf = 0; 4014 int _df = 1; 4015 uint32_t _flag_k = FK_NONE; 4016 uint32_t _flag_a = 0, _flag_b = 0; 4017 uint32_t _itail_tgt = 0; 4018 RECOMP_REGS_LOCALS 4019 RECOMP_ENTER(0x2514D81Du); 4020 4021 L_2514D81D: 4022 ecx = ebp + (-0xA4); /* 0x2514D81D: lea ecx, [ebp - 0xa4] */ 4023 goto L_25009BC0; /* 0x2514D823: jmp 0x25009bc0 */ 4024 { RECOMP_REGS_OUT(); return; } /* end of function */ 4025 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4026 RECOMP_REGS_OUT(); 4027 } 4028 4029 void sub_2514D828(void) { 4030 int _fpu_cmp = 0; 4031 uint32_t _cf = 0; 4032 int _df = 1; 4033 uint32_t _flag_k = FK_NONE; 4034 uint32_t _flag_a = 0, _flag_b = 0; 4035 uint32_t _itail_tgt = 0; 4036 RECOMP_REGS_LOCALS 4037 RECOMP_ENTER(0x2514D828u); 4038 4039 L_2514D828: 4040 ecx = ebp + (-0x8C); /* 0x2514D828: lea ecx, [ebp - 0x8c] */ 4041 goto L_25009BC0; /* 0x2514D82E: jmp 0x25009bc0 */ 4042 { RECOMP_REGS_OUT(); return; } /* end of function */ 4043 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4044 RECOMP_REGS_OUT(); 4045 } 4046 4047 void sub_2514D833(void) { 4048 int _fpu_cmp = 0; 4049 uint32_t _cf = 0; 4050 int _df = 1; 4051 uint32_t _flag_k = FK_NONE; 4052 uint32_t _flag_a = 0, _flag_b = 0; 4053 uint32_t _itail_tgt = 0; 4054 RECOMP_REGS_LOCALS 4055 RECOMP_ENTER(0x2514D833u); 4056 4057 L_2514D833: 4058 ecx = ebp + (-0x80); /* 0x2514D833: lea ecx, [ebp - 0x80] */ 4059 goto L_25009BF0; /* 0x2514D836: jmp 0x25009bf0 */ 4060 { RECOMP_REGS_OUT(); return; } /* end of function */ 4061 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4062 RECOMP_REGS_OUT(); 4063 } 4064 4065 void sub_2514D83B(void) { 4066 int _fpu_cmp = 0; 4067 uint32_t _cf = 0; 4068 int _df = 1; 4069 uint32_t _flag_k = FK_NONE; 4070 uint32_t _flag_a = 0, _flag_b = 0; 4071 uint32_t _itail_tgt = 0; 4072 RECOMP_REGS_LOCALS 4073 RECOMP_ENTER(0x2514D83Bu); 4074 4075 L_2514D83B: 4076 ecx = ebp + (-0x110); /* 0x2514D83B: lea ecx, [ebp - 0x110] */ 4077 goto L_25009BF0; /* 0x2514D841: jmp 0x25009bf0 */ 4078 { RECOMP_REGS_OUT(); return; } /* end of function */ 4079 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4080 RECOMP_REGS_OUT(); 4081 } 4082 4083 void sub_2514D846(void) { 4084 int _fpu_cmp = 0; 4085 uint32_t _cf = 0; 4086 int _df = 1; 4087 uint32_t _flag_k = FK_NONE; 4088 uint32_t _flag_a = 0, _flag_b = 0; 4089 uint32_t _itail_tgt = 0; 4090 RECOMP_REGS_LOCALS 4091 RECOMP_ENTER(0x2514D846u); 4092 4093 L_2514D846: 4094 ecx = ebp + (-0x100); /* 0x2514D846: lea ecx, [ebp - 0x100] */ 4095 goto L_25009BF0; /* 0x2514D84C: jmp 0x25009bf0 */ 4096 { RECOMP_REGS_OUT(); return; } /* end of function */ 4097 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4098 RECOMP_REGS_OUT(); 4099 } 4100 4101 void sub_2514D851(void) { 4102 int _fpu_cmp = 0; 4103 uint32_t _cf = 0; 4104 int _df = 1; 4105 uint32_t _flag_k = FK_NONE; 4106 uint32_t _flag_a = 0, _flag_b = 0; 4107 uint32_t _itail_tgt = 0; 4108 RECOMP_REGS_LOCALS 4109 RECOMP_ENTER(0x2514D851u); 4110 4111 L_2514D851: 4112 ecx = ebp + (-0xF0); /* 0x2514D851: lea ecx, [ebp - 0xf0] */ 4113 goto L_25009BF0; /* 0x2514D857: jmp 0x25009bf0 */ 4114 { RECOMP_REGS_OUT(); return; } /* end of function */ 4115 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4116 RECOMP_REGS_OUT(); 4117 } 4118 4119 void sub_2514D85C(void) { 4120 int _fpu_cmp = 0; 4121 uint32_t _cf = 0; 4122 int _df = 1; 4123 uint32_t _flag_k = FK_NONE; 4124 uint32_t _flag_a = 0, _flag_b = 0; 4125 uint32_t _itail_tgt = 0; 4126 RECOMP_REGS_LOCALS 4127 RECOMP_ENTER(0x2514D85Cu); 4128 4129 L_2514D85C: 4130 ecx = ebp + (-0xD0); /* 0x2514D85C: lea ecx, [ebp - 0xd0] */ 4131 goto L_25009BF0; /* 0x2514D862: jmp 0x25009bf0 */ 4132 { RECOMP_REGS_OUT(); return; } /* end of function */ 4133 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4134 RECOMP_REGS_OUT(); 4135 } 4136 4137 void sub_2514D867(void) { 4138 int _fpu_cmp = 0; 4139 uint32_t _cf = 0; 4140 int _df = 1; 4141 uint32_t _flag_k = FK_NONE; 4142 uint32_t _flag_a = 0, _flag_b = 0; 4143 uint32_t _itail_tgt = 0; 4144 RECOMP_REGS_LOCALS 4145 RECOMP_ENTER(0x2514D867u); 4146 4147 L_2514D867: 4148 ecx = ebp + (-0xE0); /* 0x2514D867: lea ecx, [ebp - 0xe0] */ 4149 goto L_25009BF0; /* 0x2514D86D: jmp 0x25009bf0 */ 4150 { RECOMP_REGS_OUT(); return; } /* end of function */ 4151 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4152 RECOMP_REGS_OUT(); 4153 } 4154 4155 void sub_2514D872(void) { 4156 int _fpu_cmp = 0; 4157 uint32_t _cf = 0; 4158 int _df = 1; 4159 uint32_t _flag_k = FK_NONE; 4160 uint32_t _flag_a = 0, _flag_b = 0; 4161 uint32_t _itail_tgt = 0; 4162 RECOMP_REGS_LOCALS 4163 RECOMP_ENTER(0x2514D872u); 4164 4165 L_2514D872: 4166 ecx = ebp + (-0x54); /* 0x2514D872: lea ecx, [ebp - 0x54] */ 4167 goto L_25009BC0; /* 0x2514D875: jmp 0x25009bc0 */ 4168 { RECOMP_REGS_OUT(); return; } /* end of function */ 4169 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4170 RECOMP_REGS_OUT(); 4171 } 4172 4173 void sub_2514D87A(void) { 4174 int _fpu_cmp = 0; 4175 uint32_t _cf = 0; 4176 int _df = 1; 4177 uint32_t _flag_k = FK_NONE; 4178 uint32_t _flag_a = 0, _flag_b = 0; 4179 uint32_t _itail_tgt = 0; 4180 RECOMP_REGS_LOCALS 4181 RECOMP_ENTER(0x2514D87Au); 4182 4183 L_2514D87A: 4184 ecx = ebp + (-0x8C); /* 0x2514D87A: lea ecx, [ebp - 0x8c] */ 4185 goto L_25009BC0; /* 0x2514D880: jmp 0x25009bc0 */ 4186 { RECOMP_REGS_OUT(); return; } /* end of function */ 4187 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4188 RECOMP_REGS_OUT(); 4189 } 4190 4191 void sub_2514D885(void) { 4192 int _fpu_cmp = 0; 4193 uint32_t _cf = 0; 4194 int _df = 1; 4195 uint32_t _flag_k = FK_NONE; 4196 uint32_t _flag_a = 0, _flag_b = 0; 4197 uint32_t _itail_tgt = 0; 4198 RECOMP_REGS_LOCALS 4199 RECOMP_ENTER(0x2514D885u); 4200 4201 L_2514D885: 4202 ecx = ebp + (-0xA4); /* 0x2514D885: lea ecx, [ebp - 0xa4] */ 4203 goto L_25009BC0; /* 0x2514D88B: jmp 0x25009bc0 */ 4204 { RECOMP_REGS_OUT(); return; } /* end of function */ 4205 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4206 RECOMP_REGS_OUT(); 4207 } 4208 4209 void sub_2514D890(void) { 4210 int _fpu_cmp = 0; 4211 uint32_t _cf = 0; 4212 int _df = 1; 4213 uint32_t _flag_k = FK_NONE; 4214 uint32_t _flag_a = 0, _flag_b = 0; 4215 uint32_t _itail_tgt = 0; 4216 RECOMP_REGS_LOCALS 4217 RECOMP_ENTER(0x2514D890u); 4218 4219 L_2514D890: 4220 ecx = ebp + (-0x98); /* 0x2514D890: lea ecx, [ebp - 0x98] */ 4221 goto L_25009BC0; /* 0x2514D896: jmp 0x25009bc0 */ 4222 { RECOMP_REGS_OUT(); return; } /* end of function */ 4223 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4224 RECOMP_REGS_OUT(); 4225 } 4226 4227 void sub_2514D89B(void) { 4228 int _fpu_cmp = 0; 4229 uint32_t _cf = 0; 4230 int _df = 1; 4231 uint32_t _flag_k = FK_NONE; 4232 uint32_t _flag_a = 0, _flag_b = 0; 4233 uint32_t _itail_tgt = 0; 4234 RECOMP_REGS_LOCALS 4235 RECOMP_ENTER(0x2514D89Bu); 4236 4237 L_2514D89B: 4238 ecx = ebp + (-0xB0); /* 0x2514D89B: lea ecx, [ebp - 0xb0] */ 4239 goto L_25009BC0; /* 0x2514D8A1: jmp 0x25009bc0 */ 4240 { RECOMP_REGS_OUT(); return; } /* end of function */ 4241 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4242 RECOMP_REGS_OUT(); 4243 } 4244 4245 void sub_2514D8A6(void) { 4246 int _fpu_cmp = 0; 4247 uint32_t _cf = 0; 4248 int _df = 1; 4249 uint32_t _flag_k = FK_NONE; 4250 uint32_t _flag_a = 0, _flag_b = 0; 4251 uint32_t _itail_tgt = 0; 4252 RECOMP_REGS_LOCALS 4253 RECOMP_ENTER(0x2514D8A6u); 4254 4255 L_2514D8A6: 4256 ecx = ebp + (-0x1F4); /* 0x2514D8A6: lea ecx, [ebp - 0x1f4] */ 4257 L_2514D8AC: 4258 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 4259 { RECOMP_REGS_OUT(); return; } /* end of function */ 4260 _ljump: 4261 switch (_itail_tgt) { 4262 case 0x2514D8A6u: goto L_2514D8A6; 4263 case 0x2514D8ACu: goto L_2514D8AC; 4264 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4265 } 4266 RECOMP_REGS_OUT(); 4267 } 4268 4269 void sub_2514D8B2(void) { 4270 int _fpu_cmp = 0; 4271 uint32_t _cf = 0; 4272 int _df = 1; 4273 uint32_t _flag_k = FK_NONE; 4274 uint32_t _flag_a = 0, _flag_b = 0; 4275 uint32_t _itail_tgt = 0; 4276 RECOMP_REGS_LOCALS 4277 RECOMP_ENTER(0x2514D8B2u); 4278 4279 L_2514D8B2: 4280 ecx = ebp + (-0x100); /* 0x2514D8B2: lea ecx, [ebp - 0x100] */ 4281 goto L_25009BF0; /* 0x2514D8B8: jmp 0x25009bf0 */ 4282 { RECOMP_REGS_OUT(); return; } /* end of function */ 4283 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4284 RECOMP_REGS_OUT(); 4285 } 4286 4287 void sub_2514D8BD(void) { 4288 int _fpu_cmp = 0; 4289 uint32_t _cf = 0; 4290 int _df = 1; 4291 uint32_t _flag_k = FK_NONE; 4292 uint32_t _flag_a = 0, _flag_b = 0; 4293 uint32_t _itail_tgt = 0; 4294 RECOMP_REGS_LOCALS 4295 RECOMP_ENTER(0x2514D8BDu); 4296 4297 L_2514D8BD: 4298 ecx = ebp + (-0xF0); /* 0x2514D8BD: lea ecx, [ebp - 0xf0] */ 4299 goto L_25009BF0; /* 0x2514D8C3: jmp 0x25009bf0 */ 4300 { RECOMP_REGS_OUT(); return; } /* end of function */ 4301 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4302 RECOMP_REGS_OUT(); 4303 } 4304 4305 void sub_2514D8C8(void) { 4306 int _fpu_cmp = 0; 4307 uint32_t _cf = 0; 4308 int _df = 1; 4309 uint32_t _flag_k = FK_NONE; 4310 uint32_t _flag_a = 0, _flag_b = 0; 4311 uint32_t _itail_tgt = 0; 4312 RECOMP_REGS_LOCALS 4313 RECOMP_ENTER(0x2514D8C8u); 4314 4315 L_2514D8C8: 4316 ecx = ebp + (-0xD0); /* 0x2514D8C8: lea ecx, [ebp - 0xd0] */ 4317 goto L_25009BF0; /* 0x2514D8CE: jmp 0x25009bf0 */ 4318 { RECOMP_REGS_OUT(); return; } /* end of function */ 4319 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4320 RECOMP_REGS_OUT(); 4321 } 4322 4323 void sub_2514D8D3(void) { 4324 int _fpu_cmp = 0; 4325 uint32_t _cf = 0; 4326 int _df = 1; 4327 uint32_t _flag_k = FK_NONE; 4328 uint32_t _flag_a = 0, _flag_b = 0; 4329 uint32_t _itail_tgt = 0; 4330 RECOMP_REGS_LOCALS 4331 RECOMP_ENTER(0x2514D8D3u); 4332 4333 L_2514D8D3: 4334 ecx = ebp + (-0xE0); /* 0x2514D8D3: lea ecx, [ebp - 0xe0] */ 4335 goto L_25009BF0; /* 0x2514D8D9: jmp 0x25009bf0 */ 4336 { RECOMP_REGS_OUT(); return; } /* end of function */ 4337 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 4338 RECOMP_REGS_OUT(); 4339 } 4340 4341 void sub_2514D8DE(void) { 4342 int _fpu_cmp = 0; 4343 uint32_t _cf = 0; 4344 int _df = 1; 4345 uint32_t _flag_k = FK_NONE; 4346 uint32_t _flag_a = 0, _flag_b = 0; 4347 uint32_t _itail_tgt = 0; 4348 RECOMP_REGS_LOCALS 4349 RECOMP_ENTER(0x2514D8DEu); 4350 4351 L_2514D8DE: 4352 ecx = ebp + (-0xBC); /* 0x2514D8DE: lea ecx, [ebp - 0xbc] */ 4353 goto L_25009BC0; /* 0x2514D8E4: jmp 0x25009bc0 */ 4354 { RECOMP_REGS_OUT(); return; } /* end of function */ 4355 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4356 RECOMP_REGS_OUT(); 4357 } 4358 4359 void sub_2514D8E9(void) { 4360 int _fpu_cmp = 0; 4361 uint32_t _cf = 0; 4362 int _df = 1; 4363 uint32_t _flag_k = FK_NONE; 4364 uint32_t _flag_a = 0, _flag_b = 0; 4365 uint32_t _itail_tgt = 0; 4366 RECOMP_REGS_LOCALS 4367 RECOMP_ENTER(0x2514D8E9u); 4368 4369 L_2514D8E9: 4370 ecx = ebp + (-0x54); /* 0x2514D8E9: lea ecx, [ebp - 0x54] */ 4371 goto L_25009BC0; /* 0x2514D8EC: jmp 0x25009bc0 */ 4372 { RECOMP_REGS_OUT(); return; } /* end of function */ 4373 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4374 RECOMP_REGS_OUT(); 4375 } 4376 4377 void sub_2514D8F1(void) { 4378 int _fpu_cmp = 0; 4379 uint32_t _cf = 0; 4380 int _df = 1; 4381 uint32_t _flag_k = FK_NONE; 4382 uint32_t _flag_a = 0, _flag_b = 0; 4383 uint32_t _itail_tgt = 0; 4384 RECOMP_REGS_LOCALS 4385 RECOMP_ENTER(0x2514D8F1u); 4386 4387 L_2514D8F1: 4388 ecx = ebp + (-0x8C); /* 0x2514D8F1: lea ecx, [ebp - 0x8c] */ 4389 goto L_25009BC0; /* 0x2514D8F7: jmp 0x25009bc0 */ 4390 { RECOMP_REGS_OUT(); return; } /* end of function */ 4391 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4392 RECOMP_REGS_OUT(); 4393 } 4394 4395 void sub_2514D8FC(void) { 4396 int _fpu_cmp = 0; 4397 uint32_t _cf = 0; 4398 int _df = 1; 4399 uint32_t _flag_k = FK_NONE; 4400 uint32_t _flag_a = 0, _flag_b = 0; 4401 uint32_t _itail_tgt = 0; 4402 RECOMP_REGS_LOCALS 4403 RECOMP_ENTER(0x2514D8FCu); 4404 4405 L_2514D8FC: 4406 ecx = ebp + (-0xA4); /* 0x2514D8FC: lea ecx, [ebp - 0xa4] */ 4407 goto L_25009BC0; /* 0x2514D902: jmp 0x25009bc0 */ 4408 { RECOMP_REGS_OUT(); return; } /* end of function */ 4409 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 4410 RECOMP_REGS_OUT(); 4411 }