client/game/bbr.dll/lifted-0105.c (114598B)
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_2514B5A9(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(0x2514B5A9u); 17 18 L_2514B5A9: 19 ecx = ebp + (-0x2C); /* 0x2514B5A9: lea ecx, [ebp - 0x2c] */ 20 L_2514B5AC: 21 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 22 { RECOMP_REGS_OUT(); return; } /* end of function */ 23 _ljump: 24 switch (_itail_tgt) { 25 case 0x2514B5A9u: goto L_2514B5A9; 26 case 0x2514B5ACu: goto L_2514B5AC; 27 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 28 } 29 RECOMP_REGS_OUT(); 30 } 31 32 void sub_2514B5B2(void) { 33 int _fpu_cmp = 0; 34 uint32_t _cf = 0; 35 int _df = 1; 36 uint32_t _flag_k = FK_NONE; 37 uint32_t _flag_a = 0, _flag_b = 0; 38 uint32_t _itail_tgt = 0; 39 RECOMP_REGS_LOCALS 40 RECOMP_ENTER(0x2514B5B2u); 41 42 goto L_2514B5B2; 43 L_251380C4: 44 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 45 L_2514B5B2: 46 eax = 0x2516C428u; /* 0x2514B5B2: mov eax, 0x2516c428 */ 47 L_2514B5B7: 48 RECOMP_BACKEDGE(); 49 goto L_251380C4; /* 0x2514B5B7: jmp 0x251380c4 */ 50 { RECOMP_REGS_OUT(); return; } /* end of function */ 51 _ljump: 52 switch (_itail_tgt) { 53 case 0x251380C4u: goto L_251380C4; 54 case 0x2514B5B2u: goto L_2514B5B2; 55 case 0x2514B5B7u: goto L_2514B5B7; 56 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 57 } 58 RECOMP_REGS_OUT(); 59 } 60 61 void sub_2514B5C0(void) { 62 int _fpu_cmp = 0; 63 uint32_t _cf = 0; 64 int _df = 1; 65 uint32_t _flag_k = FK_NONE; 66 uint32_t _flag_a = 0, _flag_b = 0; 67 uint32_t _itail_tgt = 0; 68 RECOMP_REGS_LOCALS 69 RECOMP_ENTER(0x2514B5C0u); 70 71 L_2514B5C0: 72 ecx = ebp + (-0x1C); /* 0x2514B5C0: lea ecx, [ebp - 0x1c] */ 73 L_2514B5C3: 74 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 75 { RECOMP_REGS_OUT(); return; } /* end of function */ 76 _ljump: 77 switch (_itail_tgt) { 78 case 0x2514B5C0u: goto L_2514B5C0; 79 case 0x2514B5C3u: goto L_2514B5C3; 80 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 81 } 82 RECOMP_REGS_OUT(); 83 } 84 85 void sub_2514B5C9(void) { 86 int _fpu_cmp = 0; 87 uint32_t _cf = 0; 88 int _df = 1; 89 uint32_t _flag_k = FK_NONE; 90 uint32_t _flag_a = 0, _flag_b = 0; 91 uint32_t _itail_tgt = 0; 92 RECOMP_REGS_LOCALS 93 RECOMP_ENTER(0x2514B5C9u); 94 95 L_2514B5C9: 96 ecx = ebp + (-0x2C); /* 0x2514B5C9: lea ecx, [ebp - 0x2c] */ 97 L_2514B5CC: 98 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 99 { RECOMP_REGS_OUT(); return; } /* end of function */ 100 _ljump: 101 switch (_itail_tgt) { 102 case 0x2514B5C9u: goto L_2514B5C9; 103 case 0x2514B5CCu: goto L_2514B5CC; 104 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 105 } 106 RECOMP_REGS_OUT(); 107 } 108 109 void sub_2514B5D2(void) { 110 int _fpu_cmp = 0; 111 uint32_t _cf = 0; 112 int _df = 1; 113 uint32_t _flag_k = FK_NONE; 114 uint32_t _flag_a = 0, _flag_b = 0; 115 uint32_t _itail_tgt = 0; 116 RECOMP_REGS_LOCALS 117 RECOMP_ENTER(0x2514B5D2u); 118 119 goto L_2514B5D2; 120 L_251380C4: 121 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 122 L_2514B5D2: 123 eax = 0x2516C458u; /* 0x2514B5D2: mov eax, 0x2516c458 */ 124 L_2514B5D7: 125 RECOMP_BACKEDGE(); 126 goto L_251380C4; /* 0x2514B5D7: jmp 0x251380c4 */ 127 { RECOMP_REGS_OUT(); return; } /* end of function */ 128 _ljump: 129 switch (_itail_tgt) { 130 case 0x251380C4u: goto L_251380C4; 131 case 0x2514B5D2u: goto L_2514B5D2; 132 case 0x2514B5D7u: goto L_2514B5D7; 133 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 134 } 135 RECOMP_REGS_OUT(); 136 } 137 138 void sub_2514B5E0(void) { 139 int _fpu_cmp = 0; 140 uint32_t _cf = 0; 141 int _df = 1; 142 uint32_t _flag_k = FK_NONE; 143 uint32_t _flag_a = 0, _flag_b = 0; 144 uint32_t _itail_tgt = 0; 145 RECOMP_REGS_LOCALS 146 RECOMP_ENTER(0x2514B5E0u); 147 148 L_2514B5E0: 149 ecx = ebp + (-0x28); /* 0x2514B5E0: lea ecx, [ebp - 0x28] */ 150 L_2514B5E3: 151 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 152 { RECOMP_REGS_OUT(); return; } /* end of function */ 153 _ljump: 154 switch (_itail_tgt) { 155 case 0x2514B5E0u: goto L_2514B5E0; 156 case 0x2514B5E3u: goto L_2514B5E3; 157 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 158 } 159 RECOMP_REGS_OUT(); 160 } 161 162 void sub_2514B5E9(void) { 163 int _fpu_cmp = 0; 164 uint32_t _cf = 0; 165 int _df = 1; 166 uint32_t _flag_k = FK_NONE; 167 uint32_t _flag_a = 0, _flag_b = 0; 168 uint32_t _itail_tgt = 0; 169 RECOMP_REGS_LOCALS 170 RECOMP_ENTER(0x2514B5E9u); 171 172 L_2514B5E9: 173 ecx = ebp + (-0x38); /* 0x2514B5E9: lea ecx, [ebp - 0x38] */ 174 L_2514B5EC: 175 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 176 { RECOMP_REGS_OUT(); return; } /* end of function */ 177 _ljump: 178 switch (_itail_tgt) { 179 case 0x2514B5E9u: goto L_2514B5E9; 180 case 0x2514B5ECu: goto L_2514B5EC; 181 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 182 } 183 RECOMP_REGS_OUT(); 184 } 185 186 void sub_2514B5F2(void) { 187 int _fpu_cmp = 0; 188 uint32_t _cf = 0; 189 int _df = 1; 190 uint32_t _flag_k = FK_NONE; 191 uint32_t _flag_a = 0, _flag_b = 0; 192 uint32_t _itail_tgt = 0; 193 RECOMP_REGS_LOCALS 194 RECOMP_ENTER(0x2514B5F2u); 195 196 goto L_2514B5F2; 197 L_251380C4: 198 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 199 L_2514B5F2: 200 eax = 0x2516C488u; /* 0x2514B5F2: mov eax, 0x2516c488 */ 201 L_2514B5F7: 202 RECOMP_BACKEDGE(); 203 goto L_251380C4; /* 0x2514B5F7: jmp 0x251380c4 */ 204 { RECOMP_REGS_OUT(); return; } /* end of function */ 205 _ljump: 206 switch (_itail_tgt) { 207 case 0x251380C4u: goto L_251380C4; 208 case 0x2514B5F2u: goto L_2514B5F2; 209 case 0x2514B5F7u: goto L_2514B5F7; 210 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 211 } 212 RECOMP_REGS_OUT(); 213 } 214 215 void sub_2514B600(void) { 216 int _fpu_cmp = 0; 217 uint32_t _cf = 0; 218 int _df = 1; 219 uint32_t _flag_k = FK_NONE; 220 uint32_t _flag_a = 0, _flag_b = 0; 221 uint32_t _itail_tgt = 0; 222 RECOMP_REGS_LOCALS 223 RECOMP_ENTER(0x2514B600u); 224 225 L_2514B600: 226 ecx = ebp + (-0x28); /* 0x2514B600: lea ecx, [ebp - 0x28] */ 227 L_2514B603: 228 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 229 { RECOMP_REGS_OUT(); return; } /* end of function */ 230 _ljump: 231 switch (_itail_tgt) { 232 case 0x2514B600u: goto L_2514B600; 233 case 0x2514B603u: goto L_2514B603; 234 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 235 } 236 RECOMP_REGS_OUT(); 237 } 238 239 void sub_2514B609(void) { 240 int _fpu_cmp = 0; 241 uint32_t _cf = 0; 242 int _df = 1; 243 uint32_t _flag_k = FK_NONE; 244 uint32_t _flag_a = 0, _flag_b = 0; 245 uint32_t _itail_tgt = 0; 246 RECOMP_REGS_LOCALS 247 RECOMP_ENTER(0x2514B609u); 248 249 L_2514B609: 250 ecx = ebp + (-0x38); /* 0x2514B609: lea ecx, [ebp - 0x38] */ 251 L_2514B60C: 252 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 253 { RECOMP_REGS_OUT(); return; } /* end of function */ 254 _ljump: 255 switch (_itail_tgt) { 256 case 0x2514B609u: goto L_2514B609; 257 case 0x2514B60Cu: goto L_2514B60C; 258 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 259 } 260 RECOMP_REGS_OUT(); 261 } 262 263 void sub_2514B612(void) { 264 int _fpu_cmp = 0; 265 uint32_t _cf = 0; 266 int _df = 1; 267 uint32_t _flag_k = FK_NONE; 268 uint32_t _flag_a = 0, _flag_b = 0; 269 uint32_t _itail_tgt = 0; 270 RECOMP_REGS_LOCALS 271 RECOMP_ENTER(0x2514B612u); 272 273 goto L_2514B612; 274 L_251380C4: 275 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 276 L_2514B612: 277 eax = 0x2516C4B8u; /* 0x2514B612: mov eax, 0x2516c4b8 */ 278 L_2514B617: 279 RECOMP_BACKEDGE(); 280 goto L_251380C4; /* 0x2514B617: jmp 0x251380c4 */ 281 { RECOMP_REGS_OUT(); return; } /* end of function */ 282 _ljump: 283 switch (_itail_tgt) { 284 case 0x251380C4u: goto L_251380C4; 285 case 0x2514B612u: goto L_2514B612; 286 case 0x2514B617u: goto L_2514B617; 287 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 288 } 289 RECOMP_REGS_OUT(); 290 } 291 292 void sub_2514B620(void) { 293 int _fpu_cmp = 0; 294 uint32_t _cf = 0; 295 int _df = 1; 296 uint32_t _flag_k = FK_NONE; 297 uint32_t _flag_a = 0, _flag_b = 0; 298 uint32_t _itail_tgt = 0; 299 RECOMP_REGS_LOCALS 300 RECOMP_ENTER(0x2514B620u); 301 302 L_2514B620: 303 ecx = ebp + (-0x28); /* 0x2514B620: lea ecx, [ebp - 0x28] */ 304 L_2514B623: 305 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 306 { RECOMP_REGS_OUT(); return; } /* end of function */ 307 _ljump: 308 switch (_itail_tgt) { 309 case 0x2514B620u: goto L_2514B620; 310 case 0x2514B623u: goto L_2514B623; 311 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 312 } 313 RECOMP_REGS_OUT(); 314 } 315 316 void sub_2514B629(void) { 317 int _fpu_cmp = 0; 318 uint32_t _cf = 0; 319 int _df = 1; 320 uint32_t _flag_k = FK_NONE; 321 uint32_t _flag_a = 0, _flag_b = 0; 322 uint32_t _itail_tgt = 0; 323 RECOMP_REGS_LOCALS 324 RECOMP_ENTER(0x2514B629u); 325 326 L_2514B629: 327 ecx = ebp + (-0x38); /* 0x2514B629: lea ecx, [ebp - 0x38] */ 328 L_2514B62C: 329 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 330 { RECOMP_REGS_OUT(); return; } /* end of function */ 331 _ljump: 332 switch (_itail_tgt) { 333 case 0x2514B629u: goto L_2514B629; 334 case 0x2514B62Cu: goto L_2514B62C; 335 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 336 } 337 RECOMP_REGS_OUT(); 338 } 339 340 void sub_2514B632(void) { 341 int _fpu_cmp = 0; 342 uint32_t _cf = 0; 343 int _df = 1; 344 uint32_t _flag_k = FK_NONE; 345 uint32_t _flag_a = 0, _flag_b = 0; 346 uint32_t _itail_tgt = 0; 347 RECOMP_REGS_LOCALS 348 RECOMP_ENTER(0x2514B632u); 349 350 goto L_2514B632; 351 L_251380C4: 352 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 353 L_2514B632: 354 eax = 0x2516C4E8u; /* 0x2514B632: mov eax, 0x2516c4e8 */ 355 L_2514B637: 356 RECOMP_BACKEDGE(); 357 goto L_251380C4; /* 0x2514B637: jmp 0x251380c4 */ 358 { RECOMP_REGS_OUT(); return; } /* end of function */ 359 _ljump: 360 switch (_itail_tgt) { 361 case 0x251380C4u: goto L_251380C4; 362 case 0x2514B632u: goto L_2514B632; 363 case 0x2514B637u: goto L_2514B637; 364 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 365 } 366 RECOMP_REGS_OUT(); 367 } 368 369 void sub_2514B640(void) { 370 int _fpu_cmp = 0; 371 uint32_t _cf = 0; 372 int _df = 1; 373 uint32_t _flag_k = FK_NONE; 374 uint32_t _flag_a = 0, _flag_b = 0; 375 uint32_t _itail_tgt = 0; 376 RECOMP_REGS_LOCALS 377 RECOMP_ENTER(0x2514B640u); 378 379 L_2514B640: 380 ecx = ebp + (-0x28); /* 0x2514B640: lea ecx, [ebp - 0x28] */ 381 L_2514B643: 382 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 383 { RECOMP_REGS_OUT(); return; } /* end of function */ 384 _ljump: 385 switch (_itail_tgt) { 386 case 0x2514B640u: goto L_2514B640; 387 case 0x2514B643u: goto L_2514B643; 388 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 389 } 390 RECOMP_REGS_OUT(); 391 } 392 393 void sub_2514B649(void) { 394 int _fpu_cmp = 0; 395 uint32_t _cf = 0; 396 int _df = 1; 397 uint32_t _flag_k = FK_NONE; 398 uint32_t _flag_a = 0, _flag_b = 0; 399 uint32_t _itail_tgt = 0; 400 RECOMP_REGS_LOCALS 401 RECOMP_ENTER(0x2514B649u); 402 403 L_2514B649: 404 ecx = ebp + (-0x38); /* 0x2514B649: lea ecx, [ebp - 0x38] */ 405 L_2514B64C: 406 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 407 { RECOMP_REGS_OUT(); return; } /* end of function */ 408 _ljump: 409 switch (_itail_tgt) { 410 case 0x2514B649u: goto L_2514B649; 411 case 0x2514B64Cu: goto L_2514B64C; 412 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 413 } 414 RECOMP_REGS_OUT(); 415 } 416 417 void sub_2514B652(void) { 418 int _fpu_cmp = 0; 419 uint32_t _cf = 0; 420 int _df = 1; 421 uint32_t _flag_k = FK_NONE; 422 uint32_t _flag_a = 0, _flag_b = 0; 423 uint32_t _itail_tgt = 0; 424 RECOMP_REGS_LOCALS 425 RECOMP_ENTER(0x2514B652u); 426 427 goto L_2514B652; 428 L_251380C4: 429 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 430 L_2514B652: 431 eax = 0x2516C518u; /* 0x2514B652: mov eax, 0x2516c518 */ 432 L_2514B657: 433 RECOMP_BACKEDGE(); 434 goto L_251380C4; /* 0x2514B657: jmp 0x251380c4 */ 435 { RECOMP_REGS_OUT(); return; } /* end of function */ 436 _ljump: 437 switch (_itail_tgt) { 438 case 0x251380C4u: goto L_251380C4; 439 case 0x2514B652u: goto L_2514B652; 440 case 0x2514B657u: goto L_2514B657; 441 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 442 } 443 RECOMP_REGS_OUT(); 444 } 445 446 void sub_2514B660(void) { 447 int _fpu_cmp = 0; 448 uint32_t _cf = 0; 449 int _df = 1; 450 uint32_t _flag_k = FK_NONE; 451 uint32_t _flag_a = 0, _flag_b = 0; 452 uint32_t _itail_tgt = 0; 453 RECOMP_REGS_LOCALS 454 RECOMP_ENTER(0x2514B660u); 455 456 L_2514B660: 457 ecx = ebp + (-0x1C); /* 0x2514B660: lea ecx, [ebp - 0x1c] */ 458 L_2514B663: 459 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 460 { RECOMP_REGS_OUT(); return; } /* end of function */ 461 _ljump: 462 switch (_itail_tgt) { 463 case 0x2514B660u: goto L_2514B660; 464 case 0x2514B663u: goto L_2514B663; 465 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 466 } 467 RECOMP_REGS_OUT(); 468 } 469 470 void sub_2514B669(void) { 471 int _fpu_cmp = 0; 472 uint32_t _cf = 0; 473 int _df = 1; 474 uint32_t _flag_k = FK_NONE; 475 uint32_t _flag_a = 0, _flag_b = 0; 476 uint32_t _itail_tgt = 0; 477 RECOMP_REGS_LOCALS 478 RECOMP_ENTER(0x2514B669u); 479 480 L_2514B669: 481 ecx = ebp + (-0x2C); /* 0x2514B669: lea ecx, [ebp - 0x2c] */ 482 L_2514B66C: 483 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 484 { RECOMP_REGS_OUT(); return; } /* end of function */ 485 _ljump: 486 switch (_itail_tgt) { 487 case 0x2514B669u: goto L_2514B669; 488 case 0x2514B66Cu: goto L_2514B66C; 489 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 490 } 491 RECOMP_REGS_OUT(); 492 } 493 494 void sub_2514B672(void) { 495 int _fpu_cmp = 0; 496 uint32_t _cf = 0; 497 int _df = 1; 498 uint32_t _flag_k = FK_NONE; 499 uint32_t _flag_a = 0, _flag_b = 0; 500 uint32_t _itail_tgt = 0; 501 RECOMP_REGS_LOCALS 502 RECOMP_ENTER(0x2514B672u); 503 504 goto L_2514B672; 505 L_251380C4: 506 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 507 L_2514B672: 508 eax = 0x2516C548u; /* 0x2514B672: mov eax, 0x2516c548 */ 509 L_2514B677: 510 RECOMP_BACKEDGE(); 511 goto L_251380C4; /* 0x2514B677: jmp 0x251380c4 */ 512 { RECOMP_REGS_OUT(); return; } /* end of function */ 513 _ljump: 514 switch (_itail_tgt) { 515 case 0x251380C4u: goto L_251380C4; 516 case 0x2514B672u: goto L_2514B672; 517 case 0x2514B677u: goto L_2514B677; 518 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 519 } 520 RECOMP_REGS_OUT(); 521 } 522 523 void sub_2514B680(void) { 524 int _fpu_cmp = 0; 525 uint32_t _cf = 0; 526 int _df = 1; 527 uint32_t _flag_k = FK_NONE; 528 uint32_t _flag_a = 0, _flag_b = 0; 529 uint32_t _itail_tgt = 0; 530 RECOMP_REGS_LOCALS 531 RECOMP_ENTER(0x2514B680u); 532 533 L_2514B680: 534 ecx = ebp + (-0x1C); /* 0x2514B680: lea ecx, [ebp - 0x1c] */ 535 L_2514B683: 536 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 537 { RECOMP_REGS_OUT(); return; } /* end of function */ 538 _ljump: 539 switch (_itail_tgt) { 540 case 0x2514B680u: goto L_2514B680; 541 case 0x2514B683u: goto L_2514B683; 542 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 543 } 544 RECOMP_REGS_OUT(); 545 } 546 547 void sub_2514B689(void) { 548 int _fpu_cmp = 0; 549 uint32_t _cf = 0; 550 int _df = 1; 551 uint32_t _flag_k = FK_NONE; 552 uint32_t _flag_a = 0, _flag_b = 0; 553 uint32_t _itail_tgt = 0; 554 RECOMP_REGS_LOCALS 555 RECOMP_ENTER(0x2514B689u); 556 557 L_2514B689: 558 ecx = ebp + (-0x2C); /* 0x2514B689: lea ecx, [ebp - 0x2c] */ 559 L_2514B68C: 560 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 561 { RECOMP_REGS_OUT(); return; } /* end of function */ 562 _ljump: 563 switch (_itail_tgt) { 564 case 0x2514B689u: goto L_2514B689; 565 case 0x2514B68Cu: goto L_2514B68C; 566 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 567 } 568 RECOMP_REGS_OUT(); 569 } 570 571 void sub_2514B692(void) { 572 int _fpu_cmp = 0; 573 uint32_t _cf = 0; 574 int _df = 1; 575 uint32_t _flag_k = FK_NONE; 576 uint32_t _flag_a = 0, _flag_b = 0; 577 uint32_t _itail_tgt = 0; 578 RECOMP_REGS_LOCALS 579 RECOMP_ENTER(0x2514B692u); 580 581 goto L_2514B692; 582 L_251380C4: 583 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 584 L_2514B692: 585 eax = 0x2516C578u; /* 0x2514B692: mov eax, 0x2516c578 */ 586 L_2514B697: 587 RECOMP_BACKEDGE(); 588 goto L_251380C4; /* 0x2514B697: jmp 0x251380c4 */ 589 { RECOMP_REGS_OUT(); return; } /* end of function */ 590 _ljump: 591 switch (_itail_tgt) { 592 case 0x251380C4u: goto L_251380C4; 593 case 0x2514B692u: goto L_2514B692; 594 case 0x2514B697u: goto L_2514B697; 595 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 596 } 597 RECOMP_REGS_OUT(); 598 } 599 600 void sub_2514B6A0(void) { 601 int _fpu_cmp = 0; 602 uint32_t _cf = 0; 603 int _df = 1; 604 uint32_t _flag_k = FK_NONE; 605 uint32_t _flag_a = 0, _flag_b = 0; 606 uint32_t _itail_tgt = 0; 607 RECOMP_REGS_LOCALS 608 RECOMP_ENTER(0x2514B6A0u); 609 610 L_2514B6A0: 611 ecx = ebp + (-0x1C); /* 0x2514B6A0: lea ecx, [ebp - 0x1c] */ 612 L_2514B6A3: 613 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 614 { RECOMP_REGS_OUT(); return; } /* end of function */ 615 _ljump: 616 switch (_itail_tgt) { 617 case 0x2514B6A0u: goto L_2514B6A0; 618 case 0x2514B6A3u: goto L_2514B6A3; 619 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 620 } 621 RECOMP_REGS_OUT(); 622 } 623 624 void sub_2514B6A9(void) { 625 int _fpu_cmp = 0; 626 uint32_t _cf = 0; 627 int _df = 1; 628 uint32_t _flag_k = FK_NONE; 629 uint32_t _flag_a = 0, _flag_b = 0; 630 uint32_t _itail_tgt = 0; 631 RECOMP_REGS_LOCALS 632 RECOMP_ENTER(0x2514B6A9u); 633 634 L_2514B6A9: 635 ecx = ebp + (-0x2C); /* 0x2514B6A9: lea ecx, [ebp - 0x2c] */ 636 L_2514B6AC: 637 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 638 { RECOMP_REGS_OUT(); return; } /* end of function */ 639 _ljump: 640 switch (_itail_tgt) { 641 case 0x2514B6A9u: goto L_2514B6A9; 642 case 0x2514B6ACu: goto L_2514B6AC; 643 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 644 } 645 RECOMP_REGS_OUT(); 646 } 647 648 void sub_2514B6B2(void) { 649 int _fpu_cmp = 0; 650 uint32_t _cf = 0; 651 int _df = 1; 652 uint32_t _flag_k = FK_NONE; 653 uint32_t _flag_a = 0, _flag_b = 0; 654 uint32_t _itail_tgt = 0; 655 RECOMP_REGS_LOCALS 656 RECOMP_ENTER(0x2514B6B2u); 657 658 goto L_2514B6B2; 659 L_251380C4: 660 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 661 L_2514B6B2: 662 eax = 0x2516C5A8u; /* 0x2514B6B2: mov eax, 0x2516c5a8 */ 663 L_2514B6B7: 664 RECOMP_BACKEDGE(); 665 goto L_251380C4; /* 0x2514B6B7: jmp 0x251380c4 */ 666 { RECOMP_REGS_OUT(); return; } /* end of function */ 667 _ljump: 668 switch (_itail_tgt) { 669 case 0x251380C4u: goto L_251380C4; 670 case 0x2514B6B2u: goto L_2514B6B2; 671 case 0x2514B6B7u: goto L_2514B6B7; 672 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 673 } 674 RECOMP_REGS_OUT(); 675 } 676 677 void sub_2514B6C0(void) { 678 int _fpu_cmp = 0; 679 uint32_t _cf = 0; 680 int _df = 1; 681 uint32_t _flag_k = FK_NONE; 682 uint32_t _flag_a = 0, _flag_b = 0; 683 uint32_t _itail_tgt = 0; 684 RECOMP_REGS_LOCALS 685 RECOMP_ENTER(0x2514B6C0u); 686 687 L_2514B6C0: 688 ecx = ebp + (-0x1C); /* 0x2514B6C0: lea ecx, [ebp - 0x1c] */ 689 L_2514B6C3: 690 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 691 { RECOMP_REGS_OUT(); return; } /* end of function */ 692 _ljump: 693 switch (_itail_tgt) { 694 case 0x2514B6C0u: goto L_2514B6C0; 695 case 0x2514B6C3u: goto L_2514B6C3; 696 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 697 } 698 RECOMP_REGS_OUT(); 699 } 700 701 void sub_2514B6C9(void) { 702 int _fpu_cmp = 0; 703 uint32_t _cf = 0; 704 int _df = 1; 705 uint32_t _flag_k = FK_NONE; 706 uint32_t _flag_a = 0, _flag_b = 0; 707 uint32_t _itail_tgt = 0; 708 RECOMP_REGS_LOCALS 709 RECOMP_ENTER(0x2514B6C9u); 710 711 L_2514B6C9: 712 ecx = ebp + (-0x2C); /* 0x2514B6C9: lea ecx, [ebp - 0x2c] */ 713 L_2514B6CC: 714 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 715 { RECOMP_REGS_OUT(); return; } /* end of function */ 716 _ljump: 717 switch (_itail_tgt) { 718 case 0x2514B6C9u: goto L_2514B6C9; 719 case 0x2514B6CCu: goto L_2514B6CC; 720 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 721 } 722 RECOMP_REGS_OUT(); 723 } 724 725 void sub_2514B6D2(void) { 726 int _fpu_cmp = 0; 727 uint32_t _cf = 0; 728 int _df = 1; 729 uint32_t _flag_k = FK_NONE; 730 uint32_t _flag_a = 0, _flag_b = 0; 731 uint32_t _itail_tgt = 0; 732 RECOMP_REGS_LOCALS 733 RECOMP_ENTER(0x2514B6D2u); 734 735 goto L_2514B6D2; 736 L_251380C4: 737 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 738 L_2514B6D2: 739 eax = 0x2516C5D8u; /* 0x2514B6D2: mov eax, 0x2516c5d8 */ 740 L_2514B6D7: 741 RECOMP_BACKEDGE(); 742 goto L_251380C4; /* 0x2514B6D7: jmp 0x251380c4 */ 743 { RECOMP_REGS_OUT(); return; } /* end of function */ 744 _ljump: 745 switch (_itail_tgt) { 746 case 0x251380C4u: goto L_251380C4; 747 case 0x2514B6D2u: goto L_2514B6D2; 748 case 0x2514B6D7u: goto L_2514B6D7; 749 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 750 } 751 RECOMP_REGS_OUT(); 752 } 753 754 void sub_2514B6E0(void) { 755 int _fpu_cmp = 0; 756 uint32_t _cf = 0; 757 int _df = 1; 758 uint32_t _flag_k = FK_NONE; 759 uint32_t _flag_a = 0, _flag_b = 0; 760 uint32_t _itail_tgt = 0; 761 RECOMP_REGS_LOCALS 762 RECOMP_ENTER(0x2514B6E0u); 763 764 L_2514B6E0: 765 ecx = ebp + (-0x1C); /* 0x2514B6E0: lea ecx, [ebp - 0x1c] */ 766 L_2514B6E3: 767 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 768 { RECOMP_REGS_OUT(); return; } /* end of function */ 769 _ljump: 770 switch (_itail_tgt) { 771 case 0x2514B6E0u: goto L_2514B6E0; 772 case 0x2514B6E3u: goto L_2514B6E3; 773 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 774 } 775 RECOMP_REGS_OUT(); 776 } 777 778 void sub_2514B6E9(void) { 779 int _fpu_cmp = 0; 780 uint32_t _cf = 0; 781 int _df = 1; 782 uint32_t _flag_k = FK_NONE; 783 uint32_t _flag_a = 0, _flag_b = 0; 784 uint32_t _itail_tgt = 0; 785 RECOMP_REGS_LOCALS 786 RECOMP_ENTER(0x2514B6E9u); 787 788 L_2514B6E9: 789 ecx = ebp + (-0x2C); /* 0x2514B6E9: lea ecx, [ebp - 0x2c] */ 790 L_2514B6EC: 791 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 792 { RECOMP_REGS_OUT(); return; } /* end of function */ 793 _ljump: 794 switch (_itail_tgt) { 795 case 0x2514B6E9u: goto L_2514B6E9; 796 case 0x2514B6ECu: goto L_2514B6EC; 797 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 798 } 799 RECOMP_REGS_OUT(); 800 } 801 802 void sub_2514B6F2(void) { 803 int _fpu_cmp = 0; 804 uint32_t _cf = 0; 805 int _df = 1; 806 uint32_t _flag_k = FK_NONE; 807 uint32_t _flag_a = 0, _flag_b = 0; 808 uint32_t _itail_tgt = 0; 809 RECOMP_REGS_LOCALS 810 RECOMP_ENTER(0x2514B6F2u); 811 812 goto L_2514B6F2; 813 L_251380C4: 814 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 815 L_2514B6F2: 816 eax = 0x2516C608u; /* 0x2514B6F2: mov eax, 0x2516c608 */ 817 L_2514B6F7: 818 RECOMP_BACKEDGE(); 819 goto L_251380C4; /* 0x2514B6F7: jmp 0x251380c4 */ 820 { RECOMP_REGS_OUT(); return; } /* end of function */ 821 _ljump: 822 switch (_itail_tgt) { 823 case 0x251380C4u: goto L_251380C4; 824 case 0x2514B6F2u: goto L_2514B6F2; 825 case 0x2514B6F7u: goto L_2514B6F7; 826 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 827 } 828 RECOMP_REGS_OUT(); 829 } 830 831 void sub_2514B700(void) { 832 int _fpu_cmp = 0; 833 uint32_t _cf = 0; 834 int _df = 1; 835 uint32_t _flag_k = FK_NONE; 836 uint32_t _flag_a = 0, _flag_b = 0; 837 uint32_t _itail_tgt = 0; 838 RECOMP_REGS_LOCALS 839 RECOMP_ENTER(0x2514B700u); 840 841 L_2514B700: 842 ecx = ebp + (-0x1C); /* 0x2514B700: lea ecx, [ebp - 0x1c] */ 843 L_2514B703: 844 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 845 { RECOMP_REGS_OUT(); return; } /* end of function */ 846 _ljump: 847 switch (_itail_tgt) { 848 case 0x2514B700u: goto L_2514B700; 849 case 0x2514B703u: goto L_2514B703; 850 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 851 } 852 RECOMP_REGS_OUT(); 853 } 854 855 void sub_2514B709(void) { 856 int _fpu_cmp = 0; 857 uint32_t _cf = 0; 858 int _df = 1; 859 uint32_t _flag_k = FK_NONE; 860 uint32_t _flag_a = 0, _flag_b = 0; 861 uint32_t _itail_tgt = 0; 862 RECOMP_REGS_LOCALS 863 RECOMP_ENTER(0x2514B709u); 864 865 L_2514B709: 866 ecx = ebp + (-0x2C); /* 0x2514B709: lea ecx, [ebp - 0x2c] */ 867 L_2514B70C: 868 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 869 { RECOMP_REGS_OUT(); return; } /* end of function */ 870 _ljump: 871 switch (_itail_tgt) { 872 case 0x2514B709u: goto L_2514B709; 873 case 0x2514B70Cu: goto L_2514B70C; 874 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 875 } 876 RECOMP_REGS_OUT(); 877 } 878 879 void sub_2514B712(void) { 880 int _fpu_cmp = 0; 881 uint32_t _cf = 0; 882 int _df = 1; 883 uint32_t _flag_k = FK_NONE; 884 uint32_t _flag_a = 0, _flag_b = 0; 885 uint32_t _itail_tgt = 0; 886 RECOMP_REGS_LOCALS 887 RECOMP_ENTER(0x2514B712u); 888 889 goto L_2514B712; 890 L_251380C4: 891 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 892 L_2514B712: 893 eax = 0x2516C638u; /* 0x2514B712: mov eax, 0x2516c638 */ 894 L_2514B717: 895 RECOMP_BACKEDGE(); 896 goto L_251380C4; /* 0x2514B717: jmp 0x251380c4 */ 897 { RECOMP_REGS_OUT(); return; } /* end of function */ 898 _ljump: 899 switch (_itail_tgt) { 900 case 0x251380C4u: goto L_251380C4; 901 case 0x2514B712u: goto L_2514B712; 902 case 0x2514B717u: goto L_2514B717; 903 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 904 } 905 RECOMP_REGS_OUT(); 906 } 907 908 void sub_2514B720(void) { 909 int _fpu_cmp = 0; 910 uint32_t _cf = 0; 911 int _df = 1; 912 uint32_t _flag_k = FK_NONE; 913 uint32_t _flag_a = 0, _flag_b = 0; 914 uint32_t _itail_tgt = 0; 915 RECOMP_REGS_LOCALS 916 RECOMP_ENTER(0x2514B720u); 917 918 L_2514B720: 919 ecx = ebp + (-0x28); /* 0x2514B720: lea ecx, [ebp - 0x28] */ 920 L_2514B723: 921 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 922 { RECOMP_REGS_OUT(); return; } /* end of function */ 923 _ljump: 924 switch (_itail_tgt) { 925 case 0x2514B720u: goto L_2514B720; 926 case 0x2514B723u: goto L_2514B723; 927 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 928 } 929 RECOMP_REGS_OUT(); 930 } 931 932 void sub_2514B729(void) { 933 int _fpu_cmp = 0; 934 uint32_t _cf = 0; 935 int _df = 1; 936 uint32_t _flag_k = FK_NONE; 937 uint32_t _flag_a = 0, _flag_b = 0; 938 uint32_t _itail_tgt = 0; 939 RECOMP_REGS_LOCALS 940 RECOMP_ENTER(0x2514B729u); 941 942 L_2514B729: 943 ecx = ebp + (-0x38); /* 0x2514B729: lea ecx, [ebp - 0x38] */ 944 L_2514B72C: 945 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 946 { RECOMP_REGS_OUT(); return; } /* end of function */ 947 _ljump: 948 switch (_itail_tgt) { 949 case 0x2514B729u: goto L_2514B729; 950 case 0x2514B72Cu: goto L_2514B72C; 951 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 952 } 953 RECOMP_REGS_OUT(); 954 } 955 956 void sub_2514B732(void) { 957 int _fpu_cmp = 0; 958 uint32_t _cf = 0; 959 int _df = 1; 960 uint32_t _flag_k = FK_NONE; 961 uint32_t _flag_a = 0, _flag_b = 0; 962 uint32_t _itail_tgt = 0; 963 RECOMP_REGS_LOCALS 964 RECOMP_ENTER(0x2514B732u); 965 966 goto L_2514B732; 967 L_251380C4: 968 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 969 L_2514B732: 970 eax = 0x2516C668u; /* 0x2514B732: mov eax, 0x2516c668 */ 971 L_2514B737: 972 RECOMP_BACKEDGE(); 973 goto L_251380C4; /* 0x2514B737: jmp 0x251380c4 */ 974 { RECOMP_REGS_OUT(); return; } /* end of function */ 975 _ljump: 976 switch (_itail_tgt) { 977 case 0x251380C4u: goto L_251380C4; 978 case 0x2514B732u: goto L_2514B732; 979 case 0x2514B737u: goto L_2514B737; 980 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 981 } 982 RECOMP_REGS_OUT(); 983 } 984 985 void sub_2514B740(void) { 986 int _fpu_cmp = 0; 987 uint32_t _cf = 0; 988 int _df = 1; 989 uint32_t _flag_k = FK_NONE; 990 uint32_t _flag_a = 0, _flag_b = 0; 991 uint32_t _itail_tgt = 0; 992 RECOMP_REGS_LOCALS 993 RECOMP_ENTER(0x2514B740u); 994 995 L_2514B740: 996 ecx = ebp + (-0x28); /* 0x2514B740: lea ecx, [ebp - 0x28] */ 997 L_2514B743: 998 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 999 { RECOMP_REGS_OUT(); return; } /* end of function */ 1000 _ljump: 1001 switch (_itail_tgt) { 1002 case 0x2514B740u: goto L_2514B740; 1003 case 0x2514B743u: goto L_2514B743; 1004 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1005 } 1006 RECOMP_REGS_OUT(); 1007 } 1008 1009 void sub_2514B749(void) { 1010 int _fpu_cmp = 0; 1011 uint32_t _cf = 0; 1012 int _df = 1; 1013 uint32_t _flag_k = FK_NONE; 1014 uint32_t _flag_a = 0, _flag_b = 0; 1015 uint32_t _itail_tgt = 0; 1016 RECOMP_REGS_LOCALS 1017 RECOMP_ENTER(0x2514B749u); 1018 1019 L_2514B749: 1020 ecx = ebp + (-0x38); /* 0x2514B749: lea ecx, [ebp - 0x38] */ 1021 L_2514B74C: 1022 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1023 { RECOMP_REGS_OUT(); return; } /* end of function */ 1024 _ljump: 1025 switch (_itail_tgt) { 1026 case 0x2514B749u: goto L_2514B749; 1027 case 0x2514B74Cu: goto L_2514B74C; 1028 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1029 } 1030 RECOMP_REGS_OUT(); 1031 } 1032 1033 void sub_2514B752(void) { 1034 int _fpu_cmp = 0; 1035 uint32_t _cf = 0; 1036 int _df = 1; 1037 uint32_t _flag_k = FK_NONE; 1038 uint32_t _flag_a = 0, _flag_b = 0; 1039 uint32_t _itail_tgt = 0; 1040 RECOMP_REGS_LOCALS 1041 RECOMP_ENTER(0x2514B752u); 1042 1043 goto L_2514B752; 1044 L_251380C4: 1045 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1046 L_2514B752: 1047 eax = 0x2516C698u; /* 0x2514B752: mov eax, 0x2516c698 */ 1048 L_2514B757: 1049 RECOMP_BACKEDGE(); 1050 goto L_251380C4; /* 0x2514B757: jmp 0x251380c4 */ 1051 { RECOMP_REGS_OUT(); return; } /* end of function */ 1052 _ljump: 1053 switch (_itail_tgt) { 1054 case 0x251380C4u: goto L_251380C4; 1055 case 0x2514B752u: goto L_2514B752; 1056 case 0x2514B757u: goto L_2514B757; 1057 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1058 } 1059 RECOMP_REGS_OUT(); 1060 } 1061 1062 void sub_2514B760(void) { 1063 int _fpu_cmp = 0; 1064 uint32_t _cf = 0; 1065 int _df = 1; 1066 uint32_t _flag_k = FK_NONE; 1067 uint32_t _flag_a = 0, _flag_b = 0; 1068 uint32_t _itail_tgt = 0; 1069 RECOMP_REGS_LOCALS 1070 RECOMP_ENTER(0x2514B760u); 1071 1072 L_2514B760: 1073 ecx = ebp + (-0x28); /* 0x2514B760: lea ecx, [ebp - 0x28] */ 1074 L_2514B763: 1075 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1076 { RECOMP_REGS_OUT(); return; } /* end of function */ 1077 _ljump: 1078 switch (_itail_tgt) { 1079 case 0x2514B760u: goto L_2514B760; 1080 case 0x2514B763u: goto L_2514B763; 1081 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1082 } 1083 RECOMP_REGS_OUT(); 1084 } 1085 1086 void sub_2514B769(void) { 1087 int _fpu_cmp = 0; 1088 uint32_t _cf = 0; 1089 int _df = 1; 1090 uint32_t _flag_k = FK_NONE; 1091 uint32_t _flag_a = 0, _flag_b = 0; 1092 uint32_t _itail_tgt = 0; 1093 RECOMP_REGS_LOCALS 1094 RECOMP_ENTER(0x2514B769u); 1095 1096 L_2514B769: 1097 ecx = ebp + (-0x38); /* 0x2514B769: lea ecx, [ebp - 0x38] */ 1098 L_2514B76C: 1099 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1100 { RECOMP_REGS_OUT(); return; } /* end of function */ 1101 _ljump: 1102 switch (_itail_tgt) { 1103 case 0x2514B769u: goto L_2514B769; 1104 case 0x2514B76Cu: goto L_2514B76C; 1105 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1106 } 1107 RECOMP_REGS_OUT(); 1108 } 1109 1110 void sub_2514B772(void) { 1111 int _fpu_cmp = 0; 1112 uint32_t _cf = 0; 1113 int _df = 1; 1114 uint32_t _flag_k = FK_NONE; 1115 uint32_t _flag_a = 0, _flag_b = 0; 1116 uint32_t _itail_tgt = 0; 1117 RECOMP_REGS_LOCALS 1118 RECOMP_ENTER(0x2514B772u); 1119 1120 goto L_2514B772; 1121 L_251380C4: 1122 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1123 L_2514B772: 1124 eax = 0x2516C6C8u; /* 0x2514B772: mov eax, 0x2516c6c8 */ 1125 L_2514B777: 1126 RECOMP_BACKEDGE(); 1127 goto L_251380C4; /* 0x2514B777: jmp 0x251380c4 */ 1128 { RECOMP_REGS_OUT(); return; } /* end of function */ 1129 _ljump: 1130 switch (_itail_tgt) { 1131 case 0x251380C4u: goto L_251380C4; 1132 case 0x2514B772u: goto L_2514B772; 1133 case 0x2514B777u: goto L_2514B777; 1134 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1135 } 1136 RECOMP_REGS_OUT(); 1137 } 1138 1139 void sub_2514B780(void) { 1140 int _fpu_cmp = 0; 1141 uint32_t _cf = 0; 1142 int _df = 1; 1143 uint32_t _flag_k = FK_NONE; 1144 uint32_t _flag_a = 0, _flag_b = 0; 1145 uint32_t _itail_tgt = 0; 1146 RECOMP_REGS_LOCALS 1147 RECOMP_ENTER(0x2514B780u); 1148 1149 L_2514B780: 1150 ecx = ebp + (-0x28); /* 0x2514B780: lea ecx, [ebp - 0x28] */ 1151 L_2514B783: 1152 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1153 { RECOMP_REGS_OUT(); return; } /* end of function */ 1154 _ljump: 1155 switch (_itail_tgt) { 1156 case 0x2514B780u: goto L_2514B780; 1157 case 0x2514B783u: goto L_2514B783; 1158 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1159 } 1160 RECOMP_REGS_OUT(); 1161 } 1162 1163 void sub_2514B789(void) { 1164 int _fpu_cmp = 0; 1165 uint32_t _cf = 0; 1166 int _df = 1; 1167 uint32_t _flag_k = FK_NONE; 1168 uint32_t _flag_a = 0, _flag_b = 0; 1169 uint32_t _itail_tgt = 0; 1170 RECOMP_REGS_LOCALS 1171 RECOMP_ENTER(0x2514B789u); 1172 1173 L_2514B789: 1174 ecx = ebp + (-0x38); /* 0x2514B789: lea ecx, [ebp - 0x38] */ 1175 L_2514B78C: 1176 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1177 { RECOMP_REGS_OUT(); return; } /* end of function */ 1178 _ljump: 1179 switch (_itail_tgt) { 1180 case 0x2514B789u: goto L_2514B789; 1181 case 0x2514B78Cu: goto L_2514B78C; 1182 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1183 } 1184 RECOMP_REGS_OUT(); 1185 } 1186 1187 void sub_2514B792(void) { 1188 int _fpu_cmp = 0; 1189 uint32_t _cf = 0; 1190 int _df = 1; 1191 uint32_t _flag_k = FK_NONE; 1192 uint32_t _flag_a = 0, _flag_b = 0; 1193 uint32_t _itail_tgt = 0; 1194 RECOMP_REGS_LOCALS 1195 RECOMP_ENTER(0x2514B792u); 1196 1197 goto L_2514B792; 1198 L_251380C4: 1199 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1200 L_2514B792: 1201 eax = 0x2516C6F8u; /* 0x2514B792: mov eax, 0x2516c6f8 */ 1202 L_2514B797: 1203 RECOMP_BACKEDGE(); 1204 goto L_251380C4; /* 0x2514B797: jmp 0x251380c4 */ 1205 { RECOMP_REGS_OUT(); return; } /* end of function */ 1206 _ljump: 1207 switch (_itail_tgt) { 1208 case 0x251380C4u: goto L_251380C4; 1209 case 0x2514B792u: goto L_2514B792; 1210 case 0x2514B797u: goto L_2514B797; 1211 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1212 } 1213 RECOMP_REGS_OUT(); 1214 } 1215 1216 void sub_2514B7A0(void) { 1217 int _fpu_cmp = 0; 1218 uint32_t _cf = 0; 1219 int _df = 1; 1220 uint32_t _flag_k = FK_NONE; 1221 uint32_t _flag_a = 0, _flag_b = 0; 1222 uint32_t _itail_tgt = 0; 1223 RECOMP_REGS_LOCALS 1224 RECOMP_ENTER(0x2514B7A0u); 1225 1226 L_2514B7A0: 1227 ecx = ebp + (-0x28); /* 0x2514B7A0: lea ecx, [ebp - 0x28] */ 1228 L_2514B7A3: 1229 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1230 { RECOMP_REGS_OUT(); return; } /* end of function */ 1231 _ljump: 1232 switch (_itail_tgt) { 1233 case 0x2514B7A0u: goto L_2514B7A0; 1234 case 0x2514B7A3u: goto L_2514B7A3; 1235 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1236 } 1237 RECOMP_REGS_OUT(); 1238 } 1239 1240 void sub_2514B7A9(void) { 1241 int _fpu_cmp = 0; 1242 uint32_t _cf = 0; 1243 int _df = 1; 1244 uint32_t _flag_k = FK_NONE; 1245 uint32_t _flag_a = 0, _flag_b = 0; 1246 uint32_t _itail_tgt = 0; 1247 RECOMP_REGS_LOCALS 1248 RECOMP_ENTER(0x2514B7A9u); 1249 1250 L_2514B7A9: 1251 ecx = ebp + (-0x38); /* 0x2514B7A9: lea ecx, [ebp - 0x38] */ 1252 L_2514B7AC: 1253 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1254 { RECOMP_REGS_OUT(); return; } /* end of function */ 1255 _ljump: 1256 switch (_itail_tgt) { 1257 case 0x2514B7A9u: goto L_2514B7A9; 1258 case 0x2514B7ACu: goto L_2514B7AC; 1259 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1260 } 1261 RECOMP_REGS_OUT(); 1262 } 1263 1264 void sub_2514B7B2(void) { 1265 int _fpu_cmp = 0; 1266 uint32_t _cf = 0; 1267 int _df = 1; 1268 uint32_t _flag_k = FK_NONE; 1269 uint32_t _flag_a = 0, _flag_b = 0; 1270 uint32_t _itail_tgt = 0; 1271 RECOMP_REGS_LOCALS 1272 RECOMP_ENTER(0x2514B7B2u); 1273 1274 goto L_2514B7B2; 1275 L_251380C4: 1276 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1277 L_2514B7B2: 1278 eax = 0x2516C728u; /* 0x2514B7B2: mov eax, 0x2516c728 */ 1279 L_2514B7B7: 1280 RECOMP_BACKEDGE(); 1281 goto L_251380C4; /* 0x2514B7B7: jmp 0x251380c4 */ 1282 { RECOMP_REGS_OUT(); return; } /* end of function */ 1283 _ljump: 1284 switch (_itail_tgt) { 1285 case 0x251380C4u: goto L_251380C4; 1286 case 0x2514B7B2u: goto L_2514B7B2; 1287 case 0x2514B7B7u: goto L_2514B7B7; 1288 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1289 } 1290 RECOMP_REGS_OUT(); 1291 } 1292 1293 void sub_2514B7C0(void) { 1294 int _fpu_cmp = 0; 1295 uint32_t _cf = 0; 1296 int _df = 1; 1297 uint32_t _flag_k = FK_NONE; 1298 uint32_t _flag_a = 0, _flag_b = 0; 1299 uint32_t _itail_tgt = 0; 1300 RECOMP_REGS_LOCALS 1301 RECOMP_ENTER(0x2514B7C0u); 1302 1303 L_2514B7C0: 1304 ecx = ebp + (-0x28); /* 0x2514B7C0: lea ecx, [ebp - 0x28] */ 1305 L_2514B7C3: 1306 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1307 { RECOMP_REGS_OUT(); return; } /* end of function */ 1308 _ljump: 1309 switch (_itail_tgt) { 1310 case 0x2514B7C0u: goto L_2514B7C0; 1311 case 0x2514B7C3u: goto L_2514B7C3; 1312 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1313 } 1314 RECOMP_REGS_OUT(); 1315 } 1316 1317 void sub_2514B7C9(void) { 1318 int _fpu_cmp = 0; 1319 uint32_t _cf = 0; 1320 int _df = 1; 1321 uint32_t _flag_k = FK_NONE; 1322 uint32_t _flag_a = 0, _flag_b = 0; 1323 uint32_t _itail_tgt = 0; 1324 RECOMP_REGS_LOCALS 1325 RECOMP_ENTER(0x2514B7C9u); 1326 1327 L_2514B7C9: 1328 ecx = ebp + (-0x38); /* 0x2514B7C9: lea ecx, [ebp - 0x38] */ 1329 L_2514B7CC: 1330 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1331 { RECOMP_REGS_OUT(); return; } /* end of function */ 1332 _ljump: 1333 switch (_itail_tgt) { 1334 case 0x2514B7C9u: goto L_2514B7C9; 1335 case 0x2514B7CCu: goto L_2514B7CC; 1336 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1337 } 1338 RECOMP_REGS_OUT(); 1339 } 1340 1341 void sub_2514B7D2(void) { 1342 int _fpu_cmp = 0; 1343 uint32_t _cf = 0; 1344 int _df = 1; 1345 uint32_t _flag_k = FK_NONE; 1346 uint32_t _flag_a = 0, _flag_b = 0; 1347 uint32_t _itail_tgt = 0; 1348 RECOMP_REGS_LOCALS 1349 RECOMP_ENTER(0x2514B7D2u); 1350 1351 goto L_2514B7D2; 1352 L_251380C4: 1353 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1354 L_2514B7D2: 1355 eax = 0x2516C758u; /* 0x2514B7D2: mov eax, 0x2516c758 */ 1356 L_2514B7D7: 1357 RECOMP_BACKEDGE(); 1358 goto L_251380C4; /* 0x2514B7D7: jmp 0x251380c4 */ 1359 { RECOMP_REGS_OUT(); return; } /* end of function */ 1360 _ljump: 1361 switch (_itail_tgt) { 1362 case 0x251380C4u: goto L_251380C4; 1363 case 0x2514B7D2u: goto L_2514B7D2; 1364 case 0x2514B7D7u: goto L_2514B7D7; 1365 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1366 } 1367 RECOMP_REGS_OUT(); 1368 } 1369 1370 void sub_2514B7E0(void) { 1371 int _fpu_cmp = 0; 1372 uint32_t _cf = 0; 1373 int _df = 1; 1374 uint32_t _flag_k = FK_NONE; 1375 uint32_t _flag_a = 0, _flag_b = 0; 1376 uint32_t _itail_tgt = 0; 1377 RECOMP_REGS_LOCALS 1378 RECOMP_ENTER(0x2514B7E0u); 1379 1380 L_2514B7E0: 1381 ecx = ebp + (-0x1C); /* 0x2514B7E0: lea ecx, [ebp - 0x1c] */ 1382 L_2514B7E3: 1383 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1384 { RECOMP_REGS_OUT(); return; } /* end of function */ 1385 _ljump: 1386 switch (_itail_tgt) { 1387 case 0x2514B7E0u: goto L_2514B7E0; 1388 case 0x2514B7E3u: goto L_2514B7E3; 1389 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1390 } 1391 RECOMP_REGS_OUT(); 1392 } 1393 1394 void sub_2514B7E9(void) { 1395 int _fpu_cmp = 0; 1396 uint32_t _cf = 0; 1397 int _df = 1; 1398 uint32_t _flag_k = FK_NONE; 1399 uint32_t _flag_a = 0, _flag_b = 0; 1400 uint32_t _itail_tgt = 0; 1401 RECOMP_REGS_LOCALS 1402 RECOMP_ENTER(0x2514B7E9u); 1403 1404 L_2514B7E9: 1405 ecx = ebp + (-0x2C); /* 0x2514B7E9: lea ecx, [ebp - 0x2c] */ 1406 L_2514B7EC: 1407 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1408 { RECOMP_REGS_OUT(); return; } /* end of function */ 1409 _ljump: 1410 switch (_itail_tgt) { 1411 case 0x2514B7E9u: goto L_2514B7E9; 1412 case 0x2514B7ECu: goto L_2514B7EC; 1413 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1414 } 1415 RECOMP_REGS_OUT(); 1416 } 1417 1418 void sub_2514B7F2(void) { 1419 int _fpu_cmp = 0; 1420 uint32_t _cf = 0; 1421 int _df = 1; 1422 uint32_t _flag_k = FK_NONE; 1423 uint32_t _flag_a = 0, _flag_b = 0; 1424 uint32_t _itail_tgt = 0; 1425 RECOMP_REGS_LOCALS 1426 RECOMP_ENTER(0x2514B7F2u); 1427 1428 goto L_2514B7F2; 1429 L_251380C4: 1430 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1431 L_2514B7F2: 1432 eax = 0x2516C788u; /* 0x2514B7F2: mov eax, 0x2516c788 */ 1433 L_2514B7F7: 1434 RECOMP_BACKEDGE(); 1435 goto L_251380C4; /* 0x2514B7F7: jmp 0x251380c4 */ 1436 { RECOMP_REGS_OUT(); return; } /* end of function */ 1437 _ljump: 1438 switch (_itail_tgt) { 1439 case 0x251380C4u: goto L_251380C4; 1440 case 0x2514B7F2u: goto L_2514B7F2; 1441 case 0x2514B7F7u: goto L_2514B7F7; 1442 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1443 } 1444 RECOMP_REGS_OUT(); 1445 } 1446 1447 void sub_2514B800(void) { 1448 int _fpu_cmp = 0; 1449 uint32_t _cf = 0; 1450 int _df = 1; 1451 uint32_t _flag_k = FK_NONE; 1452 uint32_t _flag_a = 0, _flag_b = 0; 1453 uint32_t _itail_tgt = 0; 1454 RECOMP_REGS_LOCALS 1455 RECOMP_ENTER(0x2514B800u); 1456 1457 L_2514B800: 1458 ecx = ebp + (-0x1C); /* 0x2514B800: lea ecx, [ebp - 0x1c] */ 1459 L_2514B803: 1460 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1461 { RECOMP_REGS_OUT(); return; } /* end of function */ 1462 _ljump: 1463 switch (_itail_tgt) { 1464 case 0x2514B800u: goto L_2514B800; 1465 case 0x2514B803u: goto L_2514B803; 1466 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1467 } 1468 RECOMP_REGS_OUT(); 1469 } 1470 1471 void sub_2514B809(void) { 1472 int _fpu_cmp = 0; 1473 uint32_t _cf = 0; 1474 int _df = 1; 1475 uint32_t _flag_k = FK_NONE; 1476 uint32_t _flag_a = 0, _flag_b = 0; 1477 uint32_t _itail_tgt = 0; 1478 RECOMP_REGS_LOCALS 1479 RECOMP_ENTER(0x2514B809u); 1480 1481 L_2514B809: 1482 ecx = ebp + (-0x2C); /* 0x2514B809: lea ecx, [ebp - 0x2c] */ 1483 L_2514B80C: 1484 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1485 { RECOMP_REGS_OUT(); return; } /* end of function */ 1486 _ljump: 1487 switch (_itail_tgt) { 1488 case 0x2514B809u: goto L_2514B809; 1489 case 0x2514B80Cu: goto L_2514B80C; 1490 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1491 } 1492 RECOMP_REGS_OUT(); 1493 } 1494 1495 void sub_2514B812(void) { 1496 int _fpu_cmp = 0; 1497 uint32_t _cf = 0; 1498 int _df = 1; 1499 uint32_t _flag_k = FK_NONE; 1500 uint32_t _flag_a = 0, _flag_b = 0; 1501 uint32_t _itail_tgt = 0; 1502 RECOMP_REGS_LOCALS 1503 RECOMP_ENTER(0x2514B812u); 1504 1505 goto L_2514B812; 1506 L_251380C4: 1507 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1508 L_2514B812: 1509 eax = 0x2516C7B8u; /* 0x2514B812: mov eax, 0x2516c7b8 */ 1510 L_2514B817: 1511 RECOMP_BACKEDGE(); 1512 goto L_251380C4; /* 0x2514B817: jmp 0x251380c4 */ 1513 { RECOMP_REGS_OUT(); return; } /* end of function */ 1514 _ljump: 1515 switch (_itail_tgt) { 1516 case 0x251380C4u: goto L_251380C4; 1517 case 0x2514B812u: goto L_2514B812; 1518 case 0x2514B817u: goto L_2514B817; 1519 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1520 } 1521 RECOMP_REGS_OUT(); 1522 } 1523 1524 void sub_2514B820(void) { 1525 int _fpu_cmp = 0; 1526 uint32_t _cf = 0; 1527 int _df = 1; 1528 uint32_t _flag_k = FK_NONE; 1529 uint32_t _flag_a = 0, _flag_b = 0; 1530 uint32_t _itail_tgt = 0; 1531 RECOMP_REGS_LOCALS 1532 RECOMP_ENTER(0x2514B820u); 1533 1534 L_2514B820: 1535 ecx = ebp + (-0x1C); /* 0x2514B820: lea ecx, [ebp - 0x1c] */ 1536 L_2514B823: 1537 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1538 { RECOMP_REGS_OUT(); return; } /* end of function */ 1539 _ljump: 1540 switch (_itail_tgt) { 1541 case 0x2514B820u: goto L_2514B820; 1542 case 0x2514B823u: goto L_2514B823; 1543 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1544 } 1545 RECOMP_REGS_OUT(); 1546 } 1547 1548 void sub_2514B829(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(0x2514B829u); 1557 1558 L_2514B829: 1559 ecx = ebp + (-0x2C); /* 0x2514B829: lea ecx, [ebp - 0x2c] */ 1560 L_2514B82C: 1561 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1562 { RECOMP_REGS_OUT(); return; } /* end of function */ 1563 _ljump: 1564 switch (_itail_tgt) { 1565 case 0x2514B829u: goto L_2514B829; 1566 case 0x2514B82Cu: goto L_2514B82C; 1567 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1568 } 1569 RECOMP_REGS_OUT(); 1570 } 1571 1572 void sub_2514B832(void) { 1573 int _fpu_cmp = 0; 1574 uint32_t _cf = 0; 1575 int _df = 1; 1576 uint32_t _flag_k = FK_NONE; 1577 uint32_t _flag_a = 0, _flag_b = 0; 1578 uint32_t _itail_tgt = 0; 1579 RECOMP_REGS_LOCALS 1580 RECOMP_ENTER(0x2514B832u); 1581 1582 goto L_2514B832; 1583 L_251380C4: 1584 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1585 L_2514B832: 1586 eax = 0x2516C7E8u; /* 0x2514B832: mov eax, 0x2516c7e8 */ 1587 L_2514B837: 1588 RECOMP_BACKEDGE(); 1589 goto L_251380C4; /* 0x2514B837: jmp 0x251380c4 */ 1590 { RECOMP_REGS_OUT(); return; } /* end of function */ 1591 _ljump: 1592 switch (_itail_tgt) { 1593 case 0x251380C4u: goto L_251380C4; 1594 case 0x2514B832u: goto L_2514B832; 1595 case 0x2514B837u: goto L_2514B837; 1596 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1597 } 1598 RECOMP_REGS_OUT(); 1599 } 1600 1601 void sub_2514B840(void) { 1602 int _fpu_cmp = 0; 1603 uint32_t _cf = 0; 1604 int _df = 1; 1605 uint32_t _flag_k = FK_NONE; 1606 uint32_t _flag_a = 0, _flag_b = 0; 1607 uint32_t _itail_tgt = 0; 1608 RECOMP_REGS_LOCALS 1609 RECOMP_ENTER(0x2514B840u); 1610 1611 L_2514B840: 1612 ecx = ebp + (-0x1C); /* 0x2514B840: lea ecx, [ebp - 0x1c] */ 1613 L_2514B843: 1614 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1615 { RECOMP_REGS_OUT(); return; } /* end of function */ 1616 _ljump: 1617 switch (_itail_tgt) { 1618 case 0x2514B840u: goto L_2514B840; 1619 case 0x2514B843u: goto L_2514B843; 1620 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1621 } 1622 RECOMP_REGS_OUT(); 1623 } 1624 1625 void sub_2514B849(void) { 1626 int _fpu_cmp = 0; 1627 uint32_t _cf = 0; 1628 int _df = 1; 1629 uint32_t _flag_k = FK_NONE; 1630 uint32_t _flag_a = 0, _flag_b = 0; 1631 uint32_t _itail_tgt = 0; 1632 RECOMP_REGS_LOCALS 1633 RECOMP_ENTER(0x2514B849u); 1634 1635 L_2514B849: 1636 ecx = ebp + (-0x2C); /* 0x2514B849: lea ecx, [ebp - 0x2c] */ 1637 L_2514B84C: 1638 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1639 { RECOMP_REGS_OUT(); return; } /* end of function */ 1640 _ljump: 1641 switch (_itail_tgt) { 1642 case 0x2514B849u: goto L_2514B849; 1643 case 0x2514B84Cu: goto L_2514B84C; 1644 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1645 } 1646 RECOMP_REGS_OUT(); 1647 } 1648 1649 void sub_2514B852(void) { 1650 int _fpu_cmp = 0; 1651 uint32_t _cf = 0; 1652 int _df = 1; 1653 uint32_t _flag_k = FK_NONE; 1654 uint32_t _flag_a = 0, _flag_b = 0; 1655 uint32_t _itail_tgt = 0; 1656 RECOMP_REGS_LOCALS 1657 RECOMP_ENTER(0x2514B852u); 1658 1659 goto L_2514B852; 1660 L_251380C4: 1661 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1662 L_2514B852: 1663 eax = 0x2516C818u; /* 0x2514B852: mov eax, 0x2516c818 */ 1664 L_2514B857: 1665 RECOMP_BACKEDGE(); 1666 goto L_251380C4; /* 0x2514B857: jmp 0x251380c4 */ 1667 { RECOMP_REGS_OUT(); return; } /* end of function */ 1668 _ljump: 1669 switch (_itail_tgt) { 1670 case 0x251380C4u: goto L_251380C4; 1671 case 0x2514B852u: goto L_2514B852; 1672 case 0x2514B857u: goto L_2514B857; 1673 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1674 } 1675 RECOMP_REGS_OUT(); 1676 } 1677 1678 void sub_2514B860(void) { 1679 int _fpu_cmp = 0; 1680 uint32_t _cf = 0; 1681 int _df = 1; 1682 uint32_t _flag_k = FK_NONE; 1683 uint32_t _flag_a = 0, _flag_b = 0; 1684 uint32_t _itail_tgt = 0; 1685 RECOMP_REGS_LOCALS 1686 RECOMP_ENTER(0x2514B860u); 1687 1688 L_2514B860: 1689 ecx = ebp + (-0x1C); /* 0x2514B860: lea ecx, [ebp - 0x1c] */ 1690 L_2514B863: 1691 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1692 { RECOMP_REGS_OUT(); return; } /* end of function */ 1693 _ljump: 1694 switch (_itail_tgt) { 1695 case 0x2514B860u: goto L_2514B860; 1696 case 0x2514B863u: goto L_2514B863; 1697 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1698 } 1699 RECOMP_REGS_OUT(); 1700 } 1701 1702 void sub_2514B869(void) { 1703 int _fpu_cmp = 0; 1704 uint32_t _cf = 0; 1705 int _df = 1; 1706 uint32_t _flag_k = FK_NONE; 1707 uint32_t _flag_a = 0, _flag_b = 0; 1708 uint32_t _itail_tgt = 0; 1709 RECOMP_REGS_LOCALS 1710 RECOMP_ENTER(0x2514B869u); 1711 1712 L_2514B869: 1713 ecx = ebp + (-0x2C); /* 0x2514B869: lea ecx, [ebp - 0x2c] */ 1714 L_2514B86C: 1715 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1716 { RECOMP_REGS_OUT(); return; } /* end of function */ 1717 _ljump: 1718 switch (_itail_tgt) { 1719 case 0x2514B869u: goto L_2514B869; 1720 case 0x2514B86Cu: goto L_2514B86C; 1721 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1722 } 1723 RECOMP_REGS_OUT(); 1724 } 1725 1726 void sub_2514B872(void) { 1727 int _fpu_cmp = 0; 1728 uint32_t _cf = 0; 1729 int _df = 1; 1730 uint32_t _flag_k = FK_NONE; 1731 uint32_t _flag_a = 0, _flag_b = 0; 1732 uint32_t _itail_tgt = 0; 1733 RECOMP_REGS_LOCALS 1734 RECOMP_ENTER(0x2514B872u); 1735 1736 goto L_2514B872; 1737 L_251380C4: 1738 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1739 L_2514B872: 1740 eax = 0x2516C848u; /* 0x2514B872: mov eax, 0x2516c848 */ 1741 L_2514B877: 1742 RECOMP_BACKEDGE(); 1743 goto L_251380C4; /* 0x2514B877: jmp 0x251380c4 */ 1744 { RECOMP_REGS_OUT(); return; } /* end of function */ 1745 _ljump: 1746 switch (_itail_tgt) { 1747 case 0x251380C4u: goto L_251380C4; 1748 case 0x2514B872u: goto L_2514B872; 1749 case 0x2514B877u: goto L_2514B877; 1750 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1751 } 1752 RECOMP_REGS_OUT(); 1753 } 1754 1755 void sub_2514B880(void) { 1756 int _fpu_cmp = 0; 1757 uint32_t _cf = 0; 1758 int _df = 1; 1759 uint32_t _flag_k = FK_NONE; 1760 uint32_t _flag_a = 0, _flag_b = 0; 1761 uint32_t _itail_tgt = 0; 1762 RECOMP_REGS_LOCALS 1763 RECOMP_ENTER(0x2514B880u); 1764 1765 L_2514B880: 1766 ecx = ebp + (-0x1C); /* 0x2514B880: lea ecx, [ebp - 0x1c] */ 1767 L_2514B883: 1768 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1769 { RECOMP_REGS_OUT(); return; } /* end of function */ 1770 _ljump: 1771 switch (_itail_tgt) { 1772 case 0x2514B880u: goto L_2514B880; 1773 case 0x2514B883u: goto L_2514B883; 1774 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1775 } 1776 RECOMP_REGS_OUT(); 1777 } 1778 1779 void sub_2514B889(void) { 1780 int _fpu_cmp = 0; 1781 uint32_t _cf = 0; 1782 int _df = 1; 1783 uint32_t _flag_k = FK_NONE; 1784 uint32_t _flag_a = 0, _flag_b = 0; 1785 uint32_t _itail_tgt = 0; 1786 RECOMP_REGS_LOCALS 1787 RECOMP_ENTER(0x2514B889u); 1788 1789 L_2514B889: 1790 ecx = ebp + (-0x2C); /* 0x2514B889: lea ecx, [ebp - 0x2c] */ 1791 L_2514B88C: 1792 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1793 { RECOMP_REGS_OUT(); return; } /* end of function */ 1794 _ljump: 1795 switch (_itail_tgt) { 1796 case 0x2514B889u: goto L_2514B889; 1797 case 0x2514B88Cu: goto L_2514B88C; 1798 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1799 } 1800 RECOMP_REGS_OUT(); 1801 } 1802 1803 void sub_2514B892(void) { 1804 int _fpu_cmp = 0; 1805 uint32_t _cf = 0; 1806 int _df = 1; 1807 uint32_t _flag_k = FK_NONE; 1808 uint32_t _flag_a = 0, _flag_b = 0; 1809 uint32_t _itail_tgt = 0; 1810 RECOMP_REGS_LOCALS 1811 RECOMP_ENTER(0x2514B892u); 1812 1813 goto L_2514B892; 1814 L_251380C4: 1815 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1816 L_2514B892: 1817 eax = 0x2516C878u; /* 0x2514B892: mov eax, 0x2516c878 */ 1818 L_2514B897: 1819 RECOMP_BACKEDGE(); 1820 goto L_251380C4; /* 0x2514B897: jmp 0x251380c4 */ 1821 { RECOMP_REGS_OUT(); return; } /* end of function */ 1822 _ljump: 1823 switch (_itail_tgt) { 1824 case 0x251380C4u: goto L_251380C4; 1825 case 0x2514B892u: goto L_2514B892; 1826 case 0x2514B897u: goto L_2514B897; 1827 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1828 } 1829 RECOMP_REGS_OUT(); 1830 } 1831 1832 void sub_2514B8A0(void) { 1833 int _fpu_cmp = 0; 1834 uint32_t _cf = 0; 1835 int _df = 1; 1836 uint32_t _flag_k = FK_NONE; 1837 uint32_t _flag_a = 0, _flag_b = 0; 1838 uint32_t _itail_tgt = 0; 1839 RECOMP_REGS_LOCALS 1840 RECOMP_ENTER(0x2514B8A0u); 1841 1842 L_2514B8A0: 1843 ecx = ebp + (-0x1C); /* 0x2514B8A0: lea ecx, [ebp - 0x1c] */ 1844 L_2514B8A3: 1845 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1846 { RECOMP_REGS_OUT(); return; } /* end of function */ 1847 _ljump: 1848 switch (_itail_tgt) { 1849 case 0x2514B8A0u: goto L_2514B8A0; 1850 case 0x2514B8A3u: goto L_2514B8A3; 1851 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1852 } 1853 RECOMP_REGS_OUT(); 1854 } 1855 1856 void sub_2514B8A9(void) { 1857 int _fpu_cmp = 0; 1858 uint32_t _cf = 0; 1859 int _df = 1; 1860 uint32_t _flag_k = FK_NONE; 1861 uint32_t _flag_a = 0, _flag_b = 0; 1862 uint32_t _itail_tgt = 0; 1863 RECOMP_REGS_LOCALS 1864 RECOMP_ENTER(0x2514B8A9u); 1865 1866 L_2514B8A9: 1867 ecx = ebp + (-0x2C); /* 0x2514B8A9: lea ecx, [ebp - 0x2c] */ 1868 L_2514B8AC: 1869 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1870 { RECOMP_REGS_OUT(); return; } /* end of function */ 1871 _ljump: 1872 switch (_itail_tgt) { 1873 case 0x2514B8A9u: goto L_2514B8A9; 1874 case 0x2514B8ACu: goto L_2514B8AC; 1875 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1876 } 1877 RECOMP_REGS_OUT(); 1878 } 1879 1880 void sub_2514B8B2(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(0x2514B8B2u); 1889 1890 goto L_2514B8B2; 1891 L_251380C4: 1892 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1893 L_2514B8B2: 1894 eax = 0x2516C8A8u; /* 0x2514B8B2: mov eax, 0x2516c8a8 */ 1895 L_2514B8B7: 1896 RECOMP_BACKEDGE(); 1897 goto L_251380C4; /* 0x2514B8B7: jmp 0x251380c4 */ 1898 { RECOMP_REGS_OUT(); return; } /* end of function */ 1899 _ljump: 1900 switch (_itail_tgt) { 1901 case 0x251380C4u: goto L_251380C4; 1902 case 0x2514B8B2u: goto L_2514B8B2; 1903 case 0x2514B8B7u: goto L_2514B8B7; 1904 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1905 } 1906 RECOMP_REGS_OUT(); 1907 } 1908 1909 void sub_2514B8C0(void) { 1910 int _fpu_cmp = 0; 1911 uint32_t _cf = 0; 1912 int _df = 1; 1913 uint32_t _flag_k = FK_NONE; 1914 uint32_t _flag_a = 0, _flag_b = 0; 1915 uint32_t _itail_tgt = 0; 1916 RECOMP_REGS_LOCALS 1917 RECOMP_ENTER(0x2514B8C0u); 1918 1919 L_2514B8C0: 1920 ecx = ebp + (-0x20); /* 0x2514B8C0: lea ecx, [ebp - 0x20] */ 1921 L_2514B8C3: 1922 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1923 { RECOMP_REGS_OUT(); return; } /* end of function */ 1924 _ljump: 1925 switch (_itail_tgt) { 1926 case 0x2514B8C0u: goto L_2514B8C0; 1927 case 0x2514B8C3u: goto L_2514B8C3; 1928 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1929 } 1930 RECOMP_REGS_OUT(); 1931 } 1932 1933 void sub_2514B8C9(void) { 1934 int _fpu_cmp = 0; 1935 uint32_t _cf = 0; 1936 int _df = 1; 1937 uint32_t _flag_k = FK_NONE; 1938 uint32_t _flag_a = 0, _flag_b = 0; 1939 uint32_t _itail_tgt = 0; 1940 RECOMP_REGS_LOCALS 1941 RECOMP_ENTER(0x2514B8C9u); 1942 1943 L_2514B8C9: 1944 ecx = ebp + (-0x30); /* 0x2514B8C9: lea ecx, [ebp - 0x30] */ 1945 L_2514B8CC: 1946 { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; } 1947 { RECOMP_REGS_OUT(); return; } /* end of function */ 1948 _ljump: 1949 switch (_itail_tgt) { 1950 case 0x2514B8C9u: goto L_2514B8C9; 1951 case 0x2514B8CCu: goto L_2514B8CC; 1952 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1953 } 1954 RECOMP_REGS_OUT(); 1955 } 1956 1957 void sub_2514B8D2(void) { 1958 int _fpu_cmp = 0; 1959 uint32_t _cf = 0; 1960 int _df = 1; 1961 uint32_t _flag_k = FK_NONE; 1962 uint32_t _flag_a = 0, _flag_b = 0; 1963 uint32_t _itail_tgt = 0; 1964 RECOMP_REGS_LOCALS 1965 RECOMP_ENTER(0x2514B8D2u); 1966 1967 goto L_2514B8D2; 1968 L_251380C4: 1969 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1970 L_2514B8D2: 1971 eax = 0x2516C8D8u; /* 0x2514B8D2: mov eax, 0x2516c8d8 */ 1972 L_2514B8D7: 1973 RECOMP_BACKEDGE(); 1974 goto L_251380C4; /* 0x2514B8D7: jmp 0x251380c4 */ 1975 { RECOMP_REGS_OUT(); return; } /* end of function */ 1976 _ljump: 1977 switch (_itail_tgt) { 1978 case 0x251380C4u: goto L_251380C4; 1979 case 0x2514B8D2u: goto L_2514B8D2; 1980 case 0x2514B8D7u: goto L_2514B8D7; 1981 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1982 } 1983 RECOMP_REGS_OUT(); 1984 } 1985 1986 void sub_2514B8E0(void) { 1987 int _fpu_cmp = 0; 1988 uint32_t _cf = 0; 1989 int _df = 1; 1990 uint32_t _flag_k = FK_NONE; 1991 uint32_t _flag_a = 0, _flag_b = 0; 1992 uint32_t _itail_tgt = 0; 1993 RECOMP_REGS_LOCALS 1994 RECOMP_ENTER(0x2514B8E0u); 1995 1996 L_2514B8E0: 1997 eax = MEM32(ebp + (-0x10)); /* 0x2514B8E0: mov eax, dword ptr [ebp - 0x10] */ 1998 PUSH32(esp, eax); /* 0x2514B8E3: push eax */ 1999 RECOMP_ICALL(0x25137EECu); /* 0x2514B8E4: call 0x25137eec */ /* not lifted */ 2000 RECOMP_FLAGS_IN(); 2001 ecx = POP32_VAL(esp); /* 0x2514B8E9: pop ecx */ 2002 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514B8EA: ret */ 2003 RECOMP_REGS_OUT(); 2004 } 2005 2006 void sub_2514B8EB(void) { 2007 int _fpu_cmp = 0; 2008 uint32_t _cf = 0; 2009 int _df = 1; 2010 uint32_t _flag_k = FK_NONE; 2011 uint32_t _flag_a = 0, _flag_b = 0; 2012 uint32_t _itail_tgt = 0; 2013 RECOMP_REGS_LOCALS 2014 RECOMP_ENTER(0x2514B8EBu); 2015 2016 goto L_2514B8EB; 2017 L_251380C4: 2018 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2019 L_2514B8EB: 2020 eax = 0x2516C908u; /* 0x2514B8EB: mov eax, 0x2516c908 */ 2021 L_2514B8F0: 2022 RECOMP_BACKEDGE(); 2023 goto L_251380C4; /* 0x2514B8F0: jmp 0x251380c4 */ 2024 { RECOMP_REGS_OUT(); return; } /* end of function */ 2025 _ljump: 2026 switch (_itail_tgt) { 2027 case 0x251380C4u: goto L_251380C4; 2028 case 0x2514B8EBu: goto L_2514B8EB; 2029 case 0x2514B8F0u: goto L_2514B8F0; 2030 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2031 } 2032 RECOMP_REGS_OUT(); 2033 } 2034 2035 void sub_2514B900(void) { 2036 int _fpu_cmp = 0; 2037 uint32_t _cf = 0; 2038 int _df = 1; 2039 uint32_t _flag_k = FK_NONE; 2040 uint32_t _flag_a = 0, _flag_b = 0; 2041 uint32_t _itail_tgt = 0; 2042 RECOMP_REGS_LOCALS 2043 RECOMP_ENTER(0x2514B900u); 2044 2045 goto L_2514B900; 2046 L_250E62B0: 2047 PUSH32(esp, ebp); /* 0x250E62B0: push ebp */ 2048 ebp = esp; /* 0x250E62B1: mov ebp, esp */ 2049 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */ 2050 PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */ 2051 eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */ 2052 PUSH32(esp, eax); /* 0x250E62C0: push eax */ 2053 MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */ 2054 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2056 esp = esp - 8; /* 0x250E62C8: sub esp, 8 */ 2057 _flag_k = FK_CMP; 2058 PUSH32(esp, esi); /* 0x250E62CB: push esi */ 2059 esi = ecx; /* 0x250E62CC: mov esi, ecx */ 2060 MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */ 2061 MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */ 2062 eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */ 2063 PUSH32(esp, eax); /* 0x250E62DA: push eax */ 2064 eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */ 2065 PUSH32(esp, eax); /* 0x250E62DE: push eax */ 2066 ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */ 2067 MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */ 2068 RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */ 2069 RECOMP_FLAGS_IN(); 2070 eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */ 2071 /* test eax, eax */ /* 0x250E62F3: test eax, eax */ 2072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2073 _cf = 0; 2074 _flag_k = FK_TEST; 2075 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */ 2076 L_250E62F7: 2077 _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1); 2078 MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */ 2079 _flag_k = FK_DEC; 2080 L_250E62FD: 2081 eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */ 2082 /* test eax, eax */ /* 0x250E6300: test eax, eax */ 2083 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2084 _cf = 0; 2085 _flag_k = FK_TEST; 2086 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */ 2087 L_250E6304: 2088 ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */ 2089 SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */ 2090 /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */ 2091 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2092 _cf = 0; 2093 _flag_k = FK_NARROW(FK_TEST, 24); 2094 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */ 2095 L_250E630D: 2096 /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */ 2097 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2099 _flag_k = FK_NARROW(FK_CMP, 24); 2100 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */ 2101 L_250E6311: 2102 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2103 SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */ 2104 _flag_k = FK_NARROW(FK_DEC, 24); 2105 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */ 2106 goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */ 2107 L_250E6317: 2108 PUSH32(esp, ecx); /* 0x250E6317: push ecx */ 2109 RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */ 2110 RECOMP_FLAGS_IN(); 2111 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2112 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2113 esp = esp + 4; /* 0x250E631D: add esp, 4 */ 2114 _flag_k = FK_ADD; 2115 L_250E6320: 2116 ecx = esi; /* 0x250E6320: mov ecx, esi */ 2117 MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */ 2118 MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */ 2119 MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */ 2120 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */ 2121 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */ 2122 RECOMP_FLAGS_IN(); 2123 ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */ 2124 esi = POP32_VAL(esp); /* 0x250E6347: pop esi */ 2125 MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */ 2126 esp = ebp; /* 0x250E634F: mov esp, ebp */ 2127 ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */ 2128 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret */ 2129 L_2514B900: 2130 ecx = MEM32(ebp + (-0x14)); /* 0x2514B900: mov ecx, dword ptr [ebp - 0x14] */ 2131 RECOMP_BACKEDGE(); 2132 goto L_250E62B0; /* 0x2514B903: jmp 0x250e62b0 */ 2133 { RECOMP_REGS_OUT(); return; } /* end of function */ 2134 RECOMP_REGS_OUT(); 2135 } 2136 2137 void sub_2514B908(void) { 2138 int _fpu_cmp = 0; 2139 uint32_t _cf = 0; 2140 int _df = 1; 2141 uint32_t _flag_k = FK_NONE; 2142 uint32_t _flag_a = 0, _flag_b = 0; 2143 uint32_t _itail_tgt = 0; 2144 RECOMP_REGS_LOCALS 2145 RECOMP_ENTER(0x2514B908u); 2146 2147 goto L_2514B908; 2148 L_25085170: 2149 PUSH32(esp, ebx); /* 0x25085170: push ebx */ 2150 PUSH32(esp, esi); /* 0x25085171: push esi */ 2151 PUSH32(esp, edi); /* 0x25085172: push edi */ 2152 edi = ecx; /* 0x25085173: mov edi, ecx */ 2153 ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */ 2154 esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */ 2155 /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */ 2156 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2158 _flag_k = FK_CMP; 2159 if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */ 2160 L_2508517E: 2161 eax = esi; /* 0x2508517E: mov eax, esi */ 2162 ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */ 2163 edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */ 2164 esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */ 2165 MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */ 2166 ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */ 2167 edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */ 2168 PUSH32(esp, eax); /* 0x2508518E: push eax */ 2169 MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */ 2170 RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */ 2171 RECOMP_FLAGS_IN(); 2172 ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */ 2173 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2174 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2175 esp = esp + 4; /* 0x2508519A: add esp, 4 */ 2176 _flag_k = FK_ADD; 2177 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2178 ecx = ecx - 1; /* 0x2508519D: dec ecx */ 2179 _flag_k = FK_DEC; 2180 /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */ 2181 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2183 _flag_k = FK_CMP; 2184 MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */ 2185 RECOMP_BACKEDGE(); 2186 if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */ 2187 L_250851A5: 2188 eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */ 2189 PUSH32(esp, eax); /* 0x250851A8: push eax */ 2190 RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */ 2191 RECOMP_FLAGS_IN(); 2192 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2193 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2194 esp = esp + 4; /* 0x250851AE: add esp, 4 */ 2195 _flag_k = FK_ADD; 2196 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2197 eax = 0; /* 0x250851B1: xor eax, eax */ 2198 _cf = 0; 2199 _flag_k = FK_TEST; 2200 MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */ 2201 MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */ 2202 edi = POP32_VAL(esp); /* 0x250851B9: pop edi */ 2203 esi = POP32_VAL(esp); /* 0x250851BA: pop esi */ 2204 ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */ 2205 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret */ 2206 L_2514B908: 2207 ecx = MEM32(ebp + (-0x14)); /* 0x2514B908: mov ecx, dword ptr [ebp - 0x14] */ 2208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x68u); 2209 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2210 ecx = ecx + 0x68u; /* 0x2514B90B: add ecx, 0x68 */ 2211 _flag_k = FK_ADD; 2212 RECOMP_BACKEDGE(); 2213 goto L_25085170; /* 0x2514B90E: jmp 0x25085170 */ 2214 { RECOMP_REGS_OUT(); return; } /* end of function */ 2215 RECOMP_REGS_OUT(); 2216 } 2217 2218 void sub_2514B913(void) { 2219 int _fpu_cmp = 0; 2220 uint32_t _cf = 0; 2221 int _df = 1; 2222 uint32_t _flag_k = FK_NONE; 2223 uint32_t _flag_a = 0, _flag_b = 0; 2224 uint32_t _itail_tgt = 0; 2225 RECOMP_REGS_LOCALS 2226 RECOMP_ENTER(0x2514B913u); 2227 2228 goto L_2514B913; 2229 L_251380C4: 2230 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2231 L_2514B913: 2232 eax = 0x2516C930u; /* 0x2514B913: mov eax, 0x2516c930 */ 2233 L_2514B918: 2234 RECOMP_BACKEDGE(); 2235 goto L_251380C4; /* 0x2514B918: jmp 0x251380c4 */ 2236 { RECOMP_REGS_OUT(); return; } /* end of function */ 2237 _ljump: 2238 switch (_itail_tgt) { 2239 case 0x251380C4u: goto L_251380C4; 2240 case 0x2514B913u: goto L_2514B913; 2241 case 0x2514B918u: goto L_2514B918; 2242 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2243 } 2244 RECOMP_REGS_OUT(); 2245 } 2246 2247 void sub_2514B920(void) { 2248 int _fpu_cmp = 0; 2249 uint32_t _cf = 0; 2250 int _df = 1; 2251 uint32_t _flag_k = FK_NONE; 2252 uint32_t _flag_a = 0, _flag_b = 0; 2253 uint32_t _itail_tgt = 0; 2254 RECOMP_REGS_LOCALS 2255 RECOMP_ENTER(0x2514B920u); 2256 2257 goto L_2514B920; 2258 L_250E62B0: 2259 PUSH32(esp, ebp); /* 0x250E62B0: push ebp */ 2260 ebp = esp; /* 0x250E62B1: mov ebp, esp */ 2261 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */ 2262 PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */ 2263 eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */ 2264 PUSH32(esp, eax); /* 0x250E62C0: push eax */ 2265 MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */ 2266 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2268 esp = esp - 8; /* 0x250E62C8: sub esp, 8 */ 2269 _flag_k = FK_CMP; 2270 PUSH32(esp, esi); /* 0x250E62CB: push esi */ 2271 esi = ecx; /* 0x250E62CC: mov esi, ecx */ 2272 MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */ 2273 MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */ 2274 eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */ 2275 PUSH32(esp, eax); /* 0x250E62DA: push eax */ 2276 eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */ 2277 PUSH32(esp, eax); /* 0x250E62DE: push eax */ 2278 ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */ 2279 MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */ 2280 RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */ 2281 RECOMP_FLAGS_IN(); 2282 eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */ 2283 /* test eax, eax */ /* 0x250E62F3: test eax, eax */ 2284 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2285 _cf = 0; 2286 _flag_k = FK_TEST; 2287 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */ 2288 L_250E62F7: 2289 _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1); 2290 MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */ 2291 _flag_k = FK_DEC; 2292 L_250E62FD: 2293 eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */ 2294 /* test eax, eax */ /* 0x250E6300: test eax, eax */ 2295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2296 _cf = 0; 2297 _flag_k = FK_TEST; 2298 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */ 2299 L_250E6304: 2300 ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */ 2301 SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */ 2302 /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */ 2303 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2304 _cf = 0; 2305 _flag_k = FK_NARROW(FK_TEST, 24); 2306 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */ 2307 L_250E630D: 2308 /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */ 2309 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2311 _flag_k = FK_NARROW(FK_CMP, 24); 2312 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */ 2313 L_250E6311: 2314 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2315 SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */ 2316 _flag_k = FK_NARROW(FK_DEC, 24); 2317 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */ 2318 goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */ 2319 L_250E6317: 2320 PUSH32(esp, ecx); /* 0x250E6317: push ecx */ 2321 RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */ 2322 RECOMP_FLAGS_IN(); 2323 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2324 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2325 esp = esp + 4; /* 0x250E631D: add esp, 4 */ 2326 _flag_k = FK_ADD; 2327 L_250E6320: 2328 ecx = esi; /* 0x250E6320: mov ecx, esi */ 2329 MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */ 2330 MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */ 2331 MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */ 2332 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */ 2333 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */ 2334 RECOMP_FLAGS_IN(); 2335 ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */ 2336 esi = POP32_VAL(esp); /* 0x250E6347: pop esi */ 2337 MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */ 2338 esp = ebp; /* 0x250E634F: mov esp, ebp */ 2339 ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */ 2340 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret */ 2341 L_2514B920: 2342 ecx = MEM32(ebp + (-0x30)); /* 0x2514B920: mov ecx, dword ptr [ebp - 0x30] */ 2343 RECOMP_BACKEDGE(); 2344 goto L_250E62B0; /* 0x2514B923: jmp 0x250e62b0 */ 2345 { RECOMP_REGS_OUT(); return; } /* end of function */ 2346 RECOMP_REGS_OUT(); 2347 } 2348 2349 void sub_2514B928(void) { 2350 int _fpu_cmp = 0; 2351 uint32_t _cf = 0; 2352 int _df = 1; 2353 uint32_t _flag_k = FK_NONE; 2354 uint32_t _flag_a = 0, _flag_b = 0; 2355 uint32_t _itail_tgt = 0; 2356 RECOMP_REGS_LOCALS 2357 RECOMP_ENTER(0x2514B928u); 2358 2359 goto L_2514B928; 2360 L_25085170: 2361 PUSH32(esp, ebx); /* 0x25085170: push ebx */ 2362 PUSH32(esp, esi); /* 0x25085171: push esi */ 2363 PUSH32(esp, edi); /* 0x25085172: push edi */ 2364 edi = ecx; /* 0x25085173: mov edi, ecx */ 2365 ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */ 2366 esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */ 2367 /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */ 2368 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2370 _flag_k = FK_CMP; 2371 if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */ 2372 L_2508517E: 2373 eax = esi; /* 0x2508517E: mov eax, esi */ 2374 ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */ 2375 edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */ 2376 esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */ 2377 MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */ 2378 ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */ 2379 edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */ 2380 PUSH32(esp, eax); /* 0x2508518E: push eax */ 2381 MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */ 2382 RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */ 2383 RECOMP_FLAGS_IN(); 2384 ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */ 2385 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2386 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2387 esp = esp + 4; /* 0x2508519A: add esp, 4 */ 2388 _flag_k = FK_ADD; 2389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2390 ecx = ecx - 1; /* 0x2508519D: dec ecx */ 2391 _flag_k = FK_DEC; 2392 /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */ 2393 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2395 _flag_k = FK_CMP; 2396 MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */ 2397 RECOMP_BACKEDGE(); 2398 if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */ 2399 L_250851A5: 2400 eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */ 2401 PUSH32(esp, eax); /* 0x250851A8: push eax */ 2402 RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */ 2403 RECOMP_FLAGS_IN(); 2404 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2406 esp = esp + 4; /* 0x250851AE: add esp, 4 */ 2407 _flag_k = FK_ADD; 2408 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2409 eax = 0; /* 0x250851B1: xor eax, eax */ 2410 _cf = 0; 2411 _flag_k = FK_TEST; 2412 MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */ 2413 MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */ 2414 edi = POP32_VAL(esp); /* 0x250851B9: pop edi */ 2415 esi = POP32_VAL(esp); /* 0x250851BA: pop esi */ 2416 ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */ 2417 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret */ 2418 L_2514B928: 2419 ecx = MEM32(ebp + (-0x30)); /* 0x2514B928: mov ecx, dword ptr [ebp - 0x30] */ 2420 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x68u); 2421 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2422 ecx = ecx + 0x68u; /* 0x2514B92B: add ecx, 0x68 */ 2423 _flag_k = FK_ADD; 2424 RECOMP_BACKEDGE(); 2425 goto L_25085170; /* 0x2514B92E: jmp 0x25085170 */ 2426 { RECOMP_REGS_OUT(); return; } /* end of function */ 2427 RECOMP_REGS_OUT(); 2428 } 2429 2430 void sub_2514B933(void) { 2431 int _fpu_cmp = 0; 2432 uint32_t _cf = 0; 2433 int _df = 1; 2434 uint32_t _flag_k = FK_NONE; 2435 uint32_t _flag_a = 0, _flag_b = 0; 2436 uint32_t _itail_tgt = 0; 2437 RECOMP_REGS_LOCALS 2438 RECOMP_ENTER(0x2514B933u); 2439 2440 L_2514B933: 2441 PUSH32(esp, 0x25085170u); /* 0x2514B933: push 0x25085170 */ 2442 PUSH32(esp, 8); /* 0x2514B938: push 8 */ 2443 PUSH32(esp, 0xCu); /* 0x2514B93A: push 0xc */ 2444 eax = MEM32(ebp + (-0x30)); /* 0x2514B93C: mov eax, dword ptr [ebp - 0x30] */ 2445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x74u); 2446 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2447 eax = eax + 0x74u; /* 0x2514B93F: add eax, 0x74 */ 2448 _flag_k = FK_ADD; 2449 PUSH32(esp, eax); /* 0x2514B942: push eax */ 2450 RECOMP_ICALL(0x25137F92u); /* 0x2514B943: call 0x25137f92 */ /* not lifted */ 2451 RECOMP_FLAGS_IN(); 2452 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514B948: ret */ 2453 RECOMP_REGS_OUT(); 2454 } 2455 2456 void sub_2514B949(void) { 2457 int _fpu_cmp = 0; 2458 uint32_t _cf = 0; 2459 int _df = 1; 2460 uint32_t _flag_k = FK_NONE; 2461 uint32_t _flag_a = 0, _flag_b = 0; 2462 uint32_t _itail_tgt = 0; 2463 RECOMP_REGS_LOCALS 2464 RECOMP_ENTER(0x2514B949u); 2465 2466 goto L_2514B949; 2467 L_251380C4: 2468 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2469 L_2514B949: 2470 eax = 0x2516C960u; /* 0x2514B949: mov eax, 0x2516c960 */ 2471 L_2514B94E: 2472 RECOMP_BACKEDGE(); 2473 goto L_251380C4; /* 0x2514B94E: jmp 0x251380c4 */ 2474 { RECOMP_REGS_OUT(); return; } /* end of function */ 2475 _ljump: 2476 switch (_itail_tgt) { 2477 case 0x251380C4u: goto L_251380C4; 2478 case 0x2514B949u: goto L_2514B949; 2479 case 0x2514B94Eu: goto L_2514B94E; 2480 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2481 } 2482 RECOMP_REGS_OUT(); 2483 } 2484 2485 void sub_2514B960(void) { 2486 int _fpu_cmp = 0; 2487 uint32_t _cf = 0; 2488 int _df = 1; 2489 uint32_t _flag_k = FK_NONE; 2490 uint32_t _flag_a = 0, _flag_b = 0; 2491 uint32_t _itail_tgt = 0; 2492 RECOMP_REGS_LOCALS 2493 RECOMP_ENTER(0x2514B960u); 2494 2495 goto L_2514B960; 2496 L_250E62B0: 2497 PUSH32(esp, ebp); /* 0x250E62B0: push ebp */ 2498 ebp = esp; /* 0x250E62B1: mov ebp, esp */ 2499 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */ 2500 PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */ 2501 eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */ 2502 PUSH32(esp, eax); /* 0x250E62C0: push eax */ 2503 MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */ 2504 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2506 esp = esp - 8; /* 0x250E62C8: sub esp, 8 */ 2507 _flag_k = FK_CMP; 2508 PUSH32(esp, esi); /* 0x250E62CB: push esi */ 2509 esi = ecx; /* 0x250E62CC: mov esi, ecx */ 2510 MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */ 2511 MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */ 2512 eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */ 2513 PUSH32(esp, eax); /* 0x250E62DA: push eax */ 2514 eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */ 2515 PUSH32(esp, eax); /* 0x250E62DE: push eax */ 2516 ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */ 2517 MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */ 2518 RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */ 2519 RECOMP_FLAGS_IN(); 2520 eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */ 2521 /* test eax, eax */ /* 0x250E62F3: test eax, eax */ 2522 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2523 _cf = 0; 2524 _flag_k = FK_TEST; 2525 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */ 2526 L_250E62F7: 2527 _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1); 2528 MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */ 2529 _flag_k = FK_DEC; 2530 L_250E62FD: 2531 eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */ 2532 /* test eax, eax */ /* 0x250E6300: test eax, eax */ 2533 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2534 _cf = 0; 2535 _flag_k = FK_TEST; 2536 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */ 2537 L_250E6304: 2538 ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */ 2539 SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */ 2540 /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */ 2541 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2542 _cf = 0; 2543 _flag_k = FK_NARROW(FK_TEST, 24); 2544 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */ 2545 L_250E630D: 2546 /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */ 2547 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2549 _flag_k = FK_NARROW(FK_CMP, 24); 2550 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */ 2551 L_250E6311: 2552 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2553 SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */ 2554 _flag_k = FK_NARROW(FK_DEC, 24); 2555 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */ 2556 goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */ 2557 L_250E6317: 2558 PUSH32(esp, ecx); /* 0x250E6317: push ecx */ 2559 RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */ 2560 RECOMP_FLAGS_IN(); 2561 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2562 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2563 esp = esp + 4; /* 0x250E631D: add esp, 4 */ 2564 _flag_k = FK_ADD; 2565 L_250E6320: 2566 ecx = esi; /* 0x250E6320: mov ecx, esi */ 2567 MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */ 2568 MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */ 2569 MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */ 2570 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */ 2571 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */ 2572 RECOMP_FLAGS_IN(); 2573 ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */ 2574 esi = POP32_VAL(esp); /* 0x250E6347: pop esi */ 2575 MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */ 2576 esp = ebp; /* 0x250E634F: mov esp, ebp */ 2577 ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */ 2578 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret */ 2579 L_2514B960: 2580 ecx = MEM32(ebp + (-0x10)); /* 0x2514B960: mov ecx, dword ptr [ebp - 0x10] */ 2581 RECOMP_BACKEDGE(); 2582 goto L_250E62B0; /* 0x2514B963: jmp 0x250e62b0 */ 2583 { RECOMP_REGS_OUT(); return; } /* end of function */ 2584 RECOMP_REGS_OUT(); 2585 } 2586 2587 void sub_2514B968(void) { 2588 int _fpu_cmp = 0; 2589 uint32_t _cf = 0; 2590 int _df = 1; 2591 uint32_t _flag_k = FK_NONE; 2592 uint32_t _flag_a = 0, _flag_b = 0; 2593 uint32_t _itail_tgt = 0; 2594 RECOMP_REGS_LOCALS 2595 RECOMP_ENTER(0x2514B968u); 2596 2597 goto L_2514B968; 2598 L_25085170: 2599 PUSH32(esp, ebx); /* 0x25085170: push ebx */ 2600 PUSH32(esp, esi); /* 0x25085171: push esi */ 2601 PUSH32(esp, edi); /* 0x25085172: push edi */ 2602 edi = ecx; /* 0x25085173: mov edi, ecx */ 2603 ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */ 2604 esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */ 2605 /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */ 2606 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2608 _flag_k = FK_CMP; 2609 if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */ 2610 L_2508517E: 2611 eax = esi; /* 0x2508517E: mov eax, esi */ 2612 ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */ 2613 edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */ 2614 esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */ 2615 MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */ 2616 ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */ 2617 edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */ 2618 PUSH32(esp, eax); /* 0x2508518E: push eax */ 2619 MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */ 2620 RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */ 2621 RECOMP_FLAGS_IN(); 2622 ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */ 2623 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2624 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2625 esp = esp + 4; /* 0x2508519A: add esp, 4 */ 2626 _flag_k = FK_ADD; 2627 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2628 ecx = ecx - 1; /* 0x2508519D: dec ecx */ 2629 _flag_k = FK_DEC; 2630 /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */ 2631 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2633 _flag_k = FK_CMP; 2634 MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */ 2635 RECOMP_BACKEDGE(); 2636 if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */ 2637 L_250851A5: 2638 eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */ 2639 PUSH32(esp, eax); /* 0x250851A8: push eax */ 2640 RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */ 2641 RECOMP_FLAGS_IN(); 2642 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2643 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2644 esp = esp + 4; /* 0x250851AE: add esp, 4 */ 2645 _flag_k = FK_ADD; 2646 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2647 eax = 0; /* 0x250851B1: xor eax, eax */ 2648 _cf = 0; 2649 _flag_k = FK_TEST; 2650 MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */ 2651 MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */ 2652 edi = POP32_VAL(esp); /* 0x250851B9: pop edi */ 2653 esi = POP32_VAL(esp); /* 0x250851BA: pop esi */ 2654 ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */ 2655 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret */ 2656 L_2514B968: 2657 ecx = MEM32(ebp + (-0x10)); /* 0x2514B968: mov ecx, dword ptr [ebp - 0x10] */ 2658 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x68u); 2659 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2660 ecx = ecx + 0x68u; /* 0x2514B96B: add ecx, 0x68 */ 2661 _flag_k = FK_ADD; 2662 RECOMP_BACKEDGE(); 2663 goto L_25085170; /* 0x2514B96E: jmp 0x25085170 */ 2664 { RECOMP_REGS_OUT(); return; } /* end of function */ 2665 RECOMP_REGS_OUT(); 2666 } 2667 2668 void sub_2514B973(void) { 2669 int _fpu_cmp = 0; 2670 uint32_t _cf = 0; 2671 int _df = 1; 2672 uint32_t _flag_k = FK_NONE; 2673 uint32_t _flag_a = 0, _flag_b = 0; 2674 uint32_t _itail_tgt = 0; 2675 RECOMP_REGS_LOCALS 2676 RECOMP_ENTER(0x2514B973u); 2677 2678 goto L_2514B973; 2679 L_251380C4: 2680 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2681 L_2514B973: 2682 eax = 0x2516C998u; /* 0x2514B973: mov eax, 0x2516c998 */ 2683 L_2514B978: 2684 RECOMP_BACKEDGE(); 2685 goto L_251380C4; /* 0x2514B978: jmp 0x251380c4 */ 2686 { RECOMP_REGS_OUT(); return; } /* end of function */ 2687 _ljump: 2688 switch (_itail_tgt) { 2689 case 0x251380C4u: goto L_251380C4; 2690 case 0x2514B973u: goto L_2514B973; 2691 case 0x2514B978u: goto L_2514B978; 2692 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2693 } 2694 RECOMP_REGS_OUT(); 2695 } 2696 2697 void sub_2514B980(void) { 2698 int _fpu_cmp = 0; 2699 uint32_t _cf = 0; 2700 int _df = 1; 2701 uint32_t _flag_k = FK_NONE; 2702 uint32_t _flag_a = 0, _flag_b = 0; 2703 uint32_t _itail_tgt = 0; 2704 RECOMP_REGS_LOCALS 2705 RECOMP_ENTER(0x2514B980u); 2706 2707 goto L_2514B980; 2708 L_250E62B0: 2709 PUSH32(esp, ebp); /* 0x250E62B0: push ebp */ 2710 ebp = esp; /* 0x250E62B1: mov ebp, esp */ 2711 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */ 2712 PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */ 2713 eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */ 2714 PUSH32(esp, eax); /* 0x250E62C0: push eax */ 2715 MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */ 2716 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2718 esp = esp - 8; /* 0x250E62C8: sub esp, 8 */ 2719 _flag_k = FK_CMP; 2720 PUSH32(esp, esi); /* 0x250E62CB: push esi */ 2721 esi = ecx; /* 0x250E62CC: mov esi, ecx */ 2722 MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */ 2723 MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */ 2724 eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */ 2725 PUSH32(esp, eax); /* 0x250E62DA: push eax */ 2726 eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */ 2727 PUSH32(esp, eax); /* 0x250E62DE: push eax */ 2728 ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */ 2729 MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */ 2730 RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */ 2731 RECOMP_FLAGS_IN(); 2732 eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */ 2733 /* test eax, eax */ /* 0x250E62F3: test eax, eax */ 2734 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2735 _cf = 0; 2736 _flag_k = FK_TEST; 2737 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */ 2738 L_250E62F7: 2739 _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1); 2740 MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */ 2741 _flag_k = FK_DEC; 2742 L_250E62FD: 2743 eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */ 2744 /* test eax, eax */ /* 0x250E6300: test eax, eax */ 2745 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2746 _cf = 0; 2747 _flag_k = FK_TEST; 2748 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */ 2749 L_250E6304: 2750 ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */ 2751 SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */ 2752 /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */ 2753 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2754 _cf = 0; 2755 _flag_k = FK_NARROW(FK_TEST, 24); 2756 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */ 2757 L_250E630D: 2758 /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */ 2759 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2761 _flag_k = FK_NARROW(FK_CMP, 24); 2762 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */ 2763 L_250E6311: 2764 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2765 SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */ 2766 _flag_k = FK_NARROW(FK_DEC, 24); 2767 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */ 2768 goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */ 2769 L_250E6317: 2770 PUSH32(esp, ecx); /* 0x250E6317: push ecx */ 2771 RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */ 2772 RECOMP_FLAGS_IN(); 2773 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2774 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2775 esp = esp + 4; /* 0x250E631D: add esp, 4 */ 2776 _flag_k = FK_ADD; 2777 L_250E6320: 2778 ecx = esi; /* 0x250E6320: mov ecx, esi */ 2779 MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */ 2780 MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */ 2781 MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */ 2782 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */ 2783 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */ 2784 RECOMP_FLAGS_IN(); 2785 ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */ 2786 esi = POP32_VAL(esp); /* 0x250E6347: pop esi */ 2787 MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */ 2788 esp = ebp; /* 0x250E634F: mov esp, ebp */ 2789 ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */ 2790 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret */ 2791 L_2514B980: 2792 ecx = MEM32(ebp + (-0x34)); /* 0x2514B980: mov ecx, dword ptr [ebp - 0x34] */ 2793 RECOMP_BACKEDGE(); 2794 goto L_250E62B0; /* 0x2514B983: jmp 0x250e62b0 */ 2795 { RECOMP_REGS_OUT(); return; } /* end of function */ 2796 RECOMP_REGS_OUT(); 2797 } 2798 2799 void sub_2514B988(void) { 2800 int _fpu_cmp = 0; 2801 uint32_t _cf = 0; 2802 int _df = 1; 2803 uint32_t _flag_k = FK_NONE; 2804 uint32_t _flag_a = 0, _flag_b = 0; 2805 uint32_t _itail_tgt = 0; 2806 RECOMP_REGS_LOCALS 2807 RECOMP_ENTER(0x2514B988u); 2808 2809 goto L_2514B988; 2810 L_25085170: 2811 PUSH32(esp, ebx); /* 0x25085170: push ebx */ 2812 PUSH32(esp, esi); /* 0x25085171: push esi */ 2813 PUSH32(esp, edi); /* 0x25085172: push edi */ 2814 edi = ecx; /* 0x25085173: mov edi, ecx */ 2815 ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */ 2816 esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */ 2817 /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */ 2818 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2820 _flag_k = FK_CMP; 2821 if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */ 2822 L_2508517E: 2823 eax = esi; /* 0x2508517E: mov eax, esi */ 2824 ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */ 2825 edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */ 2826 esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */ 2827 MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */ 2828 ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */ 2829 edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */ 2830 PUSH32(esp, eax); /* 0x2508518E: push eax */ 2831 MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */ 2832 RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */ 2833 RECOMP_FLAGS_IN(); 2834 ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */ 2835 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2836 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2837 esp = esp + 4; /* 0x2508519A: add esp, 4 */ 2838 _flag_k = FK_ADD; 2839 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2840 ecx = ecx - 1; /* 0x2508519D: dec ecx */ 2841 _flag_k = FK_DEC; 2842 /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */ 2843 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2845 _flag_k = FK_CMP; 2846 MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */ 2847 RECOMP_BACKEDGE(); 2848 if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */ 2849 L_250851A5: 2850 eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */ 2851 PUSH32(esp, eax); /* 0x250851A8: push eax */ 2852 RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */ 2853 RECOMP_FLAGS_IN(); 2854 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2855 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2856 esp = esp + 4; /* 0x250851AE: add esp, 4 */ 2857 _flag_k = FK_ADD; 2858 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2859 eax = 0; /* 0x250851B1: xor eax, eax */ 2860 _cf = 0; 2861 _flag_k = FK_TEST; 2862 MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */ 2863 MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */ 2864 edi = POP32_VAL(esp); /* 0x250851B9: pop edi */ 2865 esi = POP32_VAL(esp); /* 0x250851BA: pop esi */ 2866 ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */ 2867 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret */ 2868 L_2514B988: 2869 ecx = MEM32(ebp + (-0x34)); /* 0x2514B988: mov ecx, dword ptr [ebp - 0x34] */ 2870 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x68u); 2871 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2872 ecx = ecx + 0x68u; /* 0x2514B98B: add ecx, 0x68 */ 2873 _flag_k = FK_ADD; 2874 RECOMP_BACKEDGE(); 2875 goto L_25085170; /* 0x2514B98E: jmp 0x25085170 */ 2876 { RECOMP_REGS_OUT(); return; } /* end of function */ 2877 RECOMP_REGS_OUT(); 2878 } 2879 2880 void sub_2514B993(void) { 2881 int _fpu_cmp = 0; 2882 uint32_t _cf = 0; 2883 int _df = 1; 2884 uint32_t _flag_k = FK_NONE; 2885 uint32_t _flag_a = 0, _flag_b = 0; 2886 uint32_t _itail_tgt = 0; 2887 RECOMP_REGS_LOCALS 2888 RECOMP_ENTER(0x2514B993u); 2889 2890 L_2514B993: 2891 PUSH32(esp, 0x25085170u); /* 0x2514B993: push 0x25085170 */ 2892 PUSH32(esp, 8); /* 0x2514B998: push 8 */ 2893 PUSH32(esp, 0xCu); /* 0x2514B99A: push 0xc */ 2894 eax = MEM32(ebp + (-0x34)); /* 0x2514B99C: mov eax, dword ptr [ebp - 0x34] */ 2895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x74u); 2896 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2897 eax = eax + 0x74u; /* 0x2514B99F: add eax, 0x74 */ 2898 _flag_k = FK_ADD; 2899 PUSH32(esp, eax); /* 0x2514B9A2: push eax */ 2900 RECOMP_ICALL(0x25137F92u); /* 0x2514B9A3: call 0x25137f92 */ /* not lifted */ 2901 RECOMP_FLAGS_IN(); 2902 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514B9A8: ret */ 2903 RECOMP_REGS_OUT(); 2904 } 2905 2906 void sub_2514B9A9(void) { 2907 int _fpu_cmp = 0; 2908 uint32_t _cf = 0; 2909 int _df = 1; 2910 uint32_t _flag_k = FK_NONE; 2911 uint32_t _flag_a = 0, _flag_b = 0; 2912 uint32_t _itail_tgt = 0; 2913 RECOMP_REGS_LOCALS 2914 RECOMP_ENTER(0x2514B9A9u); 2915 2916 goto L_2514B9A9; 2917 L_251380C4: 2918 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2919 L_2514B9A9: 2920 eax = 0x2516C9C8u; /* 0x2514B9A9: mov eax, 0x2516c9c8 */ 2921 L_2514B9AE: 2922 RECOMP_BACKEDGE(); 2923 goto L_251380C4; /* 0x2514B9AE: jmp 0x251380c4 */ 2924 { RECOMP_REGS_OUT(); return; } /* end of function */ 2925 _ljump: 2926 switch (_itail_tgt) { 2927 case 0x251380C4u: goto L_251380C4; 2928 case 0x2514B9A9u: goto L_2514B9A9; 2929 case 0x2514B9AEu: goto L_2514B9AE; 2930 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2931 } 2932 RECOMP_REGS_OUT(); 2933 } 2934 2935 void sub_2514B9C0(void) { 2936 int _fpu_cmp = 0; 2937 uint32_t _cf = 0; 2938 int _df = 1; 2939 uint32_t _flag_k = FK_NONE; 2940 uint32_t _flag_a = 0, _flag_b = 0; 2941 uint32_t _itail_tgt = 0; 2942 RECOMP_REGS_LOCALS 2943 RECOMP_ENTER(0x2514B9C0u); 2944 2945 goto L_2514B9C0; 2946 L_250E62B0: 2947 PUSH32(esp, ebp); /* 0x250E62B0: push ebp */ 2948 ebp = esp; /* 0x250E62B1: mov ebp, esp */ 2949 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */ 2950 PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */ 2951 eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */ 2952 PUSH32(esp, eax); /* 0x250E62C0: push eax */ 2953 MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */ 2954 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2956 esp = esp - 8; /* 0x250E62C8: sub esp, 8 */ 2957 _flag_k = FK_CMP; 2958 PUSH32(esp, esi); /* 0x250E62CB: push esi */ 2959 esi = ecx; /* 0x250E62CC: mov esi, ecx */ 2960 MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */ 2961 MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */ 2962 eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */ 2963 PUSH32(esp, eax); /* 0x250E62DA: push eax */ 2964 eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */ 2965 PUSH32(esp, eax); /* 0x250E62DE: push eax */ 2966 ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */ 2967 MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */ 2968 RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */ 2969 RECOMP_FLAGS_IN(); 2970 eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */ 2971 /* test eax, eax */ /* 0x250E62F3: test eax, eax */ 2972 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2973 _cf = 0; 2974 _flag_k = FK_TEST; 2975 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */ 2976 L_250E62F7: 2977 _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1); 2978 MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */ 2979 _flag_k = FK_DEC; 2980 L_250E62FD: 2981 eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */ 2982 /* test eax, eax */ /* 0x250E6300: test eax, eax */ 2983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2984 _cf = 0; 2985 _flag_k = FK_TEST; 2986 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */ 2987 L_250E6304: 2988 ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */ 2989 SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */ 2990 /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */ 2991 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2992 _cf = 0; 2993 _flag_k = FK_NARROW(FK_TEST, 24); 2994 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */ 2995 L_250E630D: 2996 /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */ 2997 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2999 _flag_k = FK_NARROW(FK_CMP, 24); 3000 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */ 3001 L_250E6311: 3002 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3003 SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */ 3004 _flag_k = FK_NARROW(FK_DEC, 24); 3005 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */ 3006 goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */ 3007 L_250E6317: 3008 PUSH32(esp, ecx); /* 0x250E6317: push ecx */ 3009 RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */ 3010 RECOMP_FLAGS_IN(); 3011 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3012 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3013 esp = esp + 4; /* 0x250E631D: add esp, 4 */ 3014 _flag_k = FK_ADD; 3015 L_250E6320: 3016 ecx = esi; /* 0x250E6320: mov ecx, esi */ 3017 MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */ 3018 MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */ 3019 MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */ 3020 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */ 3021 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */ 3022 RECOMP_FLAGS_IN(); 3023 ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */ 3024 esi = POP32_VAL(esp); /* 0x250E6347: pop esi */ 3025 MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */ 3026 esp = ebp; /* 0x250E634F: mov esp, ebp */ 3027 ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */ 3028 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret */ 3029 L_2514B9C0: 3030 ecx = MEM32(ebp + (-0x10)); /* 0x2514B9C0: mov ecx, dword ptr [ebp - 0x10] */ 3031 RECOMP_BACKEDGE(); 3032 goto L_250E62B0; /* 0x2514B9C3: jmp 0x250e62b0 */ 3033 { RECOMP_REGS_OUT(); return; } /* end of function */ 3034 RECOMP_REGS_OUT(); 3035 } 3036 3037 void sub_2514B9C8(void) { 3038 int _fpu_cmp = 0; 3039 uint32_t _cf = 0; 3040 int _df = 1; 3041 uint32_t _flag_k = FK_NONE; 3042 uint32_t _flag_a = 0, _flag_b = 0; 3043 uint32_t _itail_tgt = 0; 3044 RECOMP_REGS_LOCALS 3045 RECOMP_ENTER(0x2514B9C8u); 3046 3047 goto L_2514B9C8; 3048 L_25085170: 3049 PUSH32(esp, ebx); /* 0x25085170: push ebx */ 3050 PUSH32(esp, esi); /* 0x25085171: push esi */ 3051 PUSH32(esp, edi); /* 0x25085172: push edi */ 3052 edi = ecx; /* 0x25085173: mov edi, ecx */ 3053 ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */ 3054 esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */ 3055 /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */ 3056 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 3057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3058 _flag_k = FK_CMP; 3059 if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */ 3060 L_2508517E: 3061 eax = esi; /* 0x2508517E: mov eax, esi */ 3062 ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */ 3063 edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */ 3064 esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */ 3065 MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */ 3066 ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */ 3067 edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */ 3068 PUSH32(esp, eax); /* 0x2508518E: push eax */ 3069 MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */ 3070 RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */ 3071 RECOMP_FLAGS_IN(); 3072 ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */ 3073 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3074 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3075 esp = esp + 4; /* 0x2508519A: add esp, 4 */ 3076 _flag_k = FK_ADD; 3077 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3078 ecx = ecx - 1; /* 0x2508519D: dec ecx */ 3079 _flag_k = FK_DEC; 3080 /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */ 3081 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 3082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3083 _flag_k = FK_CMP; 3084 MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */ 3085 RECOMP_BACKEDGE(); 3086 if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */ 3087 L_250851A5: 3088 eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */ 3089 PUSH32(esp, eax); /* 0x250851A8: push eax */ 3090 RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */ 3091 RECOMP_FLAGS_IN(); 3092 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3093 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3094 esp = esp + 4; /* 0x250851AE: add esp, 4 */ 3095 _flag_k = FK_ADD; 3096 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3097 eax = 0; /* 0x250851B1: xor eax, eax */ 3098 _cf = 0; 3099 _flag_k = FK_TEST; 3100 MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */ 3101 MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */ 3102 edi = POP32_VAL(esp); /* 0x250851B9: pop edi */ 3103 esi = POP32_VAL(esp); /* 0x250851BA: pop esi */ 3104 ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */ 3105 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret */ 3106 L_2514B9C8: 3107 ecx = MEM32(ebp + (-0x10)); /* 0x2514B9C8: mov ecx, dword ptr [ebp - 0x10] */ 3108 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x68u); 3109 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3110 ecx = ecx + 0x68u; /* 0x2514B9CB: add ecx, 0x68 */ 3111 _flag_k = FK_ADD; 3112 RECOMP_BACKEDGE(); 3113 goto L_25085170; /* 0x2514B9CE: jmp 0x25085170 */ 3114 { RECOMP_REGS_OUT(); return; } /* end of function */ 3115 RECOMP_REGS_OUT(); 3116 } 3117 3118 void sub_2514B9D3(void) { 3119 int _fpu_cmp = 0; 3120 uint32_t _cf = 0; 3121 int _df = 1; 3122 uint32_t _flag_k = FK_NONE; 3123 uint32_t _flag_a = 0, _flag_b = 0; 3124 uint32_t _itail_tgt = 0; 3125 RECOMP_REGS_LOCALS 3126 RECOMP_ENTER(0x2514B9D3u); 3127 3128 L_2514B9D3: 3129 PUSH32(esp, 0x25085170u); /* 0x2514B9D3: push 0x25085170 */ 3130 PUSH32(esp, 8); /* 0x2514B9D8: push 8 */ 3131 PUSH32(esp, 0xCu); /* 0x2514B9DA: push 0xc */ 3132 eax = MEM32(ebp + (-0x10)); /* 0x2514B9DC: mov eax, dword ptr [ebp - 0x10] */ 3133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x74u); 3134 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3135 eax = eax + 0x74u; /* 0x2514B9DF: add eax, 0x74 */ 3136 _flag_k = FK_ADD; 3137 PUSH32(esp, eax); /* 0x2514B9E2: push eax */ 3138 RECOMP_ICALL(0x25137F92u); /* 0x2514B9E3: call 0x25137f92 */ /* not lifted */ 3139 RECOMP_FLAGS_IN(); 3140 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514B9E8: ret */ 3141 RECOMP_REGS_OUT(); 3142 } 3143 3144 void sub_2514B9E9(void) { 3145 int _fpu_cmp = 0; 3146 uint32_t _cf = 0; 3147 int _df = 1; 3148 uint32_t _flag_k = FK_NONE; 3149 uint32_t _flag_a = 0, _flag_b = 0; 3150 uint32_t _itail_tgt = 0; 3151 RECOMP_REGS_LOCALS 3152 RECOMP_ENTER(0x2514B9E9u); 3153 3154 goto L_2514B9E9; 3155 L_251380C4: 3156 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3157 L_2514B9E9: 3158 eax = 0x2516CA00u; /* 0x2514B9E9: mov eax, 0x2516ca00 */ 3159 L_2514B9EE: 3160 RECOMP_BACKEDGE(); 3161 goto L_251380C4; /* 0x2514B9EE: jmp 0x251380c4 */ 3162 { RECOMP_REGS_OUT(); return; } /* end of function */ 3163 _ljump: 3164 switch (_itail_tgt) { 3165 case 0x251380C4u: goto L_251380C4; 3166 case 0x2514B9E9u: goto L_2514B9E9; 3167 case 0x2514B9EEu: goto L_2514B9EE; 3168 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3169 } 3170 RECOMP_REGS_OUT(); 3171 } 3172 3173 void sub_2514BA00(void) { 3174 int _fpu_cmp = 0; 3175 uint32_t _cf = 0; 3176 int _df = 1; 3177 uint32_t _flag_k = FK_NONE; 3178 uint32_t _flag_a = 0, _flag_b = 0; 3179 uint32_t _itail_tgt = 0; 3180 RECOMP_REGS_LOCALS 3181 RECOMP_ENTER(0x2514BA00u); 3182 3183 goto L_2514BA00; 3184 L_250E4CE0: 3185 PUSH32(esp, ebp); /* 0x250E4CE0: push ebp */ 3186 ebp = esp; /* 0x250E4CE1: mov ebp, esp */ 3187 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E4CE3: push -1 */ 3188 PUSH32(esp, 0x2514B358u); /* 0x250E4CE5: push 0x2514b358 */ 3189 eax = MEM32(FS_BASE + (0)); /* 0x250E4CEA: mov eax, dword ptr fs:[0] */ 3190 PUSH32(esp, eax); /* 0x250E4CF0: push eax */ 3191 MEM32(FS_BASE + (0)) = esp; /* 0x250E4CF1: mov dword ptr fs:[0], esp */ 3192 PUSH32(esp, ecx); /* 0x250E4CF8: push ecx */ 3193 PUSH32(esp, esi); /* 0x250E4CF9: push esi */ 3194 esi = ecx; /* 0x250E4CFA: mov esi, ecx */ 3195 MEM32(ebp + (-0x10)) = esi; /* 0x250E4CFC: mov dword ptr [ebp - 0x10], esi */ 3196 MEM32(esi) = 0x25158534u; /* 0x250E4CFF: mov dword ptr [esi], 0x25158534 */ 3197 ecx = MEM32(esi + 0x68); /* 0x250E4D05: mov ecx, dword ptr [esi + 0x68] */ 3198 /* test ecx, ecx */ /* 0x250E4D08: test ecx, ecx */ 3199 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3200 _cf = 0; 3201 _flag_k = FK_TEST; 3202 MEM32(ebp + (-0x4)) = 0; /* 0x250E4D0A: mov dword ptr [ebp - 4], 0 */ 3203 if (TEST_Z(_flag_a, _flag_b)) goto L_250E4D18; /* 0x250E4D11: je 0x250e4d18 */ 3204 L_250E4D13: 3205 RECOMP_ICALL(0x250E6370u); /* 0x250E4D13: call 0x250e6370 */ /* not lifted */ 3206 RECOMP_FLAGS_IN(); 3207 L_250E4D18: 3208 ecx = MEM32(esi + 0x54); /* 0x250E4D18: mov ecx, dword ptr [esi + 0x54] */ 3209 /* test ecx, ecx */ /* 0x250E4D1B: test ecx, ecx */ 3210 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3211 _cf = 0; 3212 _flag_k = FK_TEST; 3213 if (TEST_Z(_flag_a, _flag_b)) goto L_250E4D24; /* 0x250E4D1D: je 0x250e4d24 */ 3214 L_250E4D1F: 3215 RECOMP_ICALL(0x250EBDE0u); /* 0x250E4D1F: call 0x250ebde0 */ /* not lifted */ 3216 RECOMP_FLAGS_IN(); 3217 L_250E4D24: 3218 ecx = esi; /* 0x250E4D24: mov ecx, esi */ 3219 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E4D26: mov dword ptr [ebp - 4], 0xffffffff */ 3220 RECOMP_ICALL(0x250E62B0u); /* 0x250E4D2D: call 0x250e62b0 */ /* not lifted */ 3221 RECOMP_FLAGS_IN(); 3222 ecx = MEM32(ebp + (-0xC)); /* 0x250E4D32: mov ecx, dword ptr [ebp - 0xc] */ 3223 esi = POP32_VAL(esp); /* 0x250E4D35: pop esi */ 3224 MEM32(FS_BASE + (0)) = ecx; /* 0x250E4D36: mov dword ptr fs:[0], ecx */ 3225 esp = ebp; /* 0x250E4D3D: mov esp, ebp */ 3226 ebp = POP32_VAL(esp); /* 0x250E4D3F: pop ebp */ 3227 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E4D40: ret */ 3228 L_2514BA00: 3229 ecx = MEM32(ebp + (-0x10)); /* 0x2514BA00: mov ecx, dword ptr [ebp - 0x10] */ 3230 RECOMP_BACKEDGE(); 3231 goto L_250E4CE0; /* 0x2514BA03: jmp 0x250e4ce0 */ 3232 { RECOMP_REGS_OUT(); return; } /* end of function */ 3233 RECOMP_REGS_OUT(); 3234 } 3235 3236 void sub_2514BA08(void) { 3237 int _fpu_cmp = 0; 3238 uint32_t _cf = 0; 3239 int _df = 1; 3240 uint32_t _flag_k = FK_NONE; 3241 uint32_t _flag_a = 0, _flag_b = 0; 3242 uint32_t _itail_tgt = 0; 3243 RECOMP_REGS_LOCALS 3244 RECOMP_ENTER(0x2514BA08u); 3245 3246 goto L_2514BA08; 3247 L_251380C4: 3248 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3249 L_2514BA08: 3250 eax = 0x2516CA38u; /* 0x2514BA08: mov eax, 0x2516ca38 */ 3251 L_2514BA0D: 3252 RECOMP_BACKEDGE(); 3253 goto L_251380C4; /* 0x2514BA0D: jmp 0x251380c4 */ 3254 { RECOMP_REGS_OUT(); return; } /* end of function */ 3255 _ljump: 3256 switch (_itail_tgt) { 3257 case 0x251380C4u: goto L_251380C4; 3258 case 0x2514BA08u: goto L_2514BA08; 3259 case 0x2514BA0Du: goto L_2514BA0D; 3260 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3261 } 3262 RECOMP_REGS_OUT(); 3263 } 3264 3265 void sub_2514BA20(void) { 3266 int _fpu_cmp = 0; 3267 uint32_t _cf = 0; 3268 int _df = 1; 3269 uint32_t _flag_k = FK_NONE; 3270 uint32_t _flag_a = 0, _flag_b = 0; 3271 uint32_t _itail_tgt = 0; 3272 RECOMP_REGS_LOCALS 3273 RECOMP_ENTER(0x2514BA20u); 3274 3275 goto L_2514BA20; 3276 L_250E4CE0: 3277 PUSH32(esp, ebp); /* 0x250E4CE0: push ebp */ 3278 ebp = esp; /* 0x250E4CE1: mov ebp, esp */ 3279 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E4CE3: push -1 */ 3280 PUSH32(esp, 0x2514B358u); /* 0x250E4CE5: push 0x2514b358 */ 3281 eax = MEM32(FS_BASE + (0)); /* 0x250E4CEA: mov eax, dword ptr fs:[0] */ 3282 PUSH32(esp, eax); /* 0x250E4CF0: push eax */ 3283 MEM32(FS_BASE + (0)) = esp; /* 0x250E4CF1: mov dword ptr fs:[0], esp */ 3284 PUSH32(esp, ecx); /* 0x250E4CF8: push ecx */ 3285 PUSH32(esp, esi); /* 0x250E4CF9: push esi */ 3286 esi = ecx; /* 0x250E4CFA: mov esi, ecx */ 3287 MEM32(ebp + (-0x10)) = esi; /* 0x250E4CFC: mov dword ptr [ebp - 0x10], esi */ 3288 MEM32(esi) = 0x25158534u; /* 0x250E4CFF: mov dword ptr [esi], 0x25158534 */ 3289 ecx = MEM32(esi + 0x68); /* 0x250E4D05: mov ecx, dword ptr [esi + 0x68] */ 3290 /* test ecx, ecx */ /* 0x250E4D08: test ecx, ecx */ 3291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3292 _cf = 0; 3293 _flag_k = FK_TEST; 3294 MEM32(ebp + (-0x4)) = 0; /* 0x250E4D0A: mov dword ptr [ebp - 4], 0 */ 3295 if (TEST_Z(_flag_a, _flag_b)) goto L_250E4D18; /* 0x250E4D11: je 0x250e4d18 */ 3296 L_250E4D13: 3297 RECOMP_ICALL(0x250E6370u); /* 0x250E4D13: call 0x250e6370 */ /* not lifted */ 3298 RECOMP_FLAGS_IN(); 3299 L_250E4D18: 3300 ecx = MEM32(esi + 0x54); /* 0x250E4D18: mov ecx, dword ptr [esi + 0x54] */ 3301 /* test ecx, ecx */ /* 0x250E4D1B: test ecx, ecx */ 3302 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3303 _cf = 0; 3304 _flag_k = FK_TEST; 3305 if (TEST_Z(_flag_a, _flag_b)) goto L_250E4D24; /* 0x250E4D1D: je 0x250e4d24 */ 3306 L_250E4D1F: 3307 RECOMP_ICALL(0x250EBDE0u); /* 0x250E4D1F: call 0x250ebde0 */ /* not lifted */ 3308 RECOMP_FLAGS_IN(); 3309 L_250E4D24: 3310 ecx = esi; /* 0x250E4D24: mov ecx, esi */ 3311 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E4D26: mov dword ptr [ebp - 4], 0xffffffff */ 3312 RECOMP_ICALL(0x250E62B0u); /* 0x250E4D2D: call 0x250e62b0 */ /* not lifted */ 3313 RECOMP_FLAGS_IN(); 3314 ecx = MEM32(ebp + (-0xC)); /* 0x250E4D32: mov ecx, dword ptr [ebp - 0xc] */ 3315 esi = POP32_VAL(esp); /* 0x250E4D35: pop esi */ 3316 MEM32(FS_BASE + (0)) = ecx; /* 0x250E4D36: mov dword ptr fs:[0], ecx */ 3317 esp = ebp; /* 0x250E4D3D: mov esp, ebp */ 3318 ebp = POP32_VAL(esp); /* 0x250E4D3F: pop ebp */ 3319 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E4D40: ret */ 3320 L_2514BA20: 3321 ecx = MEM32(ebp + (-0x10)); /* 0x2514BA20: mov ecx, dword ptr [ebp - 0x10] */ 3322 RECOMP_BACKEDGE(); 3323 goto L_250E4CE0; /* 0x2514BA23: jmp 0x250e4ce0 */ 3324 { RECOMP_REGS_OUT(); return; } /* end of function */ 3325 RECOMP_REGS_OUT(); 3326 }