aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


client/game/bbr.dll/lifted-0052.c (187558B)


      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_250D8380(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(0x250D8380u);
     17 
     18 L_250D8380:
     19     PUSH32(esp, ebp); /* 0x250D8380: push ebp */
     20 L_250D8381:
     21     ebp = esp; /* 0x250D8381: mov ebp, esp */
     22 L_250D8383:
     23     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
     24     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     25     esp = esp - 0xCu; /* 0x250D8383: sub esp, 0xc */
     26     _flag_k = FK_CMP;
     27 L_250D8386:
     28     eax = MEM32(ecx + 0x30); /* 0x250D8386: mov eax, dword ptr [ecx + 0x30] */
     29 L_250D8389:
     30     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7);
     31     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     32     eax = eax + 7; /* 0x250D8389: add eax, 7 */
     33     _flag_k = FK_ADD;
     34 L_250D838C:
     35     if (3u) _cf = (((eax) >> 2) & 1u); /* 0x250D838C: shr eax, 3 */
     36     if (3u) { _flag_a = recomp_flags_pack((eax >> 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
     37     eax = eax >> 3u; /* 0x250D838C: shr eax, 3 */
     38 L_250D838F:
     39     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
     40     eax = eax - 1; /* 0x250D838F: dec eax */
     41     _flag_k = FK_DEC;
     42 L_250D8390:
     43     /* cmp eax, 3 */ /* 0x250D8390: cmp eax, 3 */
     44     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3);
     45     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     46     _flag_k = FK_CMP;
     47 L_250D8393:
     48     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250D83CC; /* 0x250D8393: ja 0x250d83cc */
     49 L_250D8395:
     50     { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x250D83F8)); goto _ljump; }
     51 L_250D839C:
     52     edx = MEM32(ebp + 0xC); /* 0x250D839C: mov edx, dword ptr [ebp + 0xc] */
     53 L_250D839F:
     54     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     55     eax = 0; /* 0x250D839F: xor eax, eax */
     56     _cf = 0;
     57     _flag_k = FK_TEST;
     58 L_250D83A1:
     59     SET_LO8(eax, MEM8(edx)); /* 0x250D83A1: mov al, byte ptr [edx] */
     60 L_250D83A3:
     61     goto L_250D83D1; /* 0x250D83A3: jmp 0x250d83d1 */
     62 L_250D83A5:
     63     edx = MEM32(ebp + 0xC); /* 0x250D83A5: mov edx, dword ptr [ebp + 0xc] */
     64 L_250D83A8:
     65     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     66     eax = 0; /* 0x250D83A8: xor eax, eax */
     67     _cf = 0;
     68     _flag_k = FK_TEST;
     69 L_250D83AA:
     70     SET_LO16(eax, MEM16(edx)); /* 0x250D83AA: mov ax, word ptr [edx] */
     71 L_250D83AD:
     72     goto L_250D83D1; /* 0x250D83AD: jmp 0x250d83d1 */
     73 L_250D83AF:
     74     edx = MEM32(ebp + 0xC); /* 0x250D83AF: mov edx, dword ptr [ebp + 0xc] */
     75 L_250D83B2:
     76     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     77     eax = 0; /* 0x250D83B2: xor eax, eax */
     78     _cf = 0;
     79     _flag_k = FK_TEST;
     80 L_250D83B4:
     81     SET_LO8(eax, MEM8(edx + 0x2)); /* 0x250D83B4: mov al, byte ptr [edx + 2] */
     82 L_250D83B7:
     83     PUSH32(esp, esi); /* 0x250D83B7: push esi */
     84 L_250D83B8:
     85     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     86     esi = 0; /* 0x250D83B8: xor esi, esi */
     87     _cf = 0;
     88     _flag_k = FK_TEST;
     89 L_250D83BA:
     90     SET_LO16(esi, MEM16(edx)); /* 0x250D83BA: mov si, word ptr [edx] */
     91 L_250D83BD:
     92     if (16u) _cf = (((eax) >> 16) & 1u); /* 0x250D83BD: shl eax, 0x10 */
     93     if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
     94     eax = eax << 16u; /* 0x250D83BD: shl eax, 0x10 */
     95 L_250D83C0:
     96     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
     97     eax = eax | esi; /* 0x250D83C0: or eax, esi */
     98     _cf = 0;
     99     _flag_k = FK_TEST;
    100 L_250D83C2:
    101     esi = POP32_VAL(esp); /* 0x250D83C2: pop esi */
    102 L_250D83C3:
    103     goto L_250D83D1; /* 0x250D83C3: jmp 0x250d83d1 */
    104 L_250D83C5:
    105     eax = MEM32(ebp + 0xC); /* 0x250D83C5: mov eax, dword ptr [ebp + 0xc] */
    106 L_250D83C8:
    107     eax = MEM32(eax); /* 0x250D83C8: mov eax, dword ptr [eax] */
    108 L_250D83CA:
    109     goto L_250D83D1; /* 0x250D83CA: jmp 0x250d83d1 */
    110 L_250D83CC:
    111     edx = MEM32(ebp + 0xC); /* 0x250D83CC: mov edx, dword ptr [ebp + 0xc] */
    112 L_250D83CF:
    113     eax = MEM32(edx); /* 0x250D83CF: mov eax, dword ptr [edx] */
    114 L_250D83D1:
    115     PUSH32(esp, eax); /* 0x250D83D1: push eax */
    116 L_250D83D2:
    117     eax = ebp + (-0xC); /* 0x250D83D2: lea eax, [ebp - 0xc] */
    118 L_250D83D5:
    119     PUSH32(esp, eax); /* 0x250D83D5: push eax */
    120 L_250D83D6:
    121     RECOMP_ICALL(0x250D82E0u); /* 0x250D83D6: call 0x250d82e0 */ /* not lifted */
    122     RECOMP_FLAGS_IN();
    123 L_250D83DB:
    124     edx = MEM32(eax); /* 0x250D83DB: mov edx, dword ptr [eax] */
    125 L_250D83DD:
    126     ecx = MEM32(ebp + 0x8); /* 0x250D83DD: mov ecx, dword ptr [ebp + 8] */
    127 L_250D83E0:
    128     MEM32(ecx) = edx; /* 0x250D83E0: mov dword ptr [ecx], edx */
    129 L_250D83E2:
    130     edx = MEM32(eax + 0x4); /* 0x250D83E2: mov edx, dword ptr [eax + 4] */
    131 L_250D83E5:
    132     MEM32(ecx + 0x4) = edx; /* 0x250D83E5: mov dword ptr [ecx + 4], edx */
    133 L_250D83E8:
    134     eax = MEM32(eax + 0x8); /* 0x250D83E8: mov eax, dword ptr [eax + 8] */
    135 L_250D83EB:
    136     MEM32(ecx + 0x8) = eax; /* 0x250D83EB: mov dword ptr [ecx + 8], eax */
    137 L_250D83EE:
    138     eax = ecx; /* 0x250D83EE: mov eax, ecx */
    139 L_250D83F0:
    140     esp = ebp; /* 0x250D83F0: mov esp, ebp */
    141 L_250D83F2:
    142     ebp = POP32_VAL(esp); /* 0x250D83F2: pop ebp */
    143 L_250D83F3:
    144     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D83F3: ret 8 */
    145   _ljump:
    146     switch (_itail_tgt) {
    147       case 0x250D8380u: goto L_250D8380;
    148       case 0x250D8381u: goto L_250D8381;
    149       case 0x250D8383u: goto L_250D8383;
    150       case 0x250D8386u: goto L_250D8386;
    151       case 0x250D8389u: goto L_250D8389;
    152       case 0x250D838Cu: goto L_250D838C;
    153       case 0x250D838Fu: goto L_250D838F;
    154       case 0x250D8390u: goto L_250D8390;
    155       case 0x250D8393u: goto L_250D8393;
    156       case 0x250D8395u: goto L_250D8395;
    157       case 0x250D839Cu: goto L_250D839C;
    158       case 0x250D839Fu: goto L_250D839F;
    159       case 0x250D83A1u: goto L_250D83A1;
    160       case 0x250D83A3u: goto L_250D83A3;
    161       case 0x250D83A5u: goto L_250D83A5;
    162       case 0x250D83A8u: goto L_250D83A8;
    163       case 0x250D83AAu: goto L_250D83AA;
    164       case 0x250D83ADu: goto L_250D83AD;
    165       case 0x250D83AFu: goto L_250D83AF;
    166       case 0x250D83B2u: goto L_250D83B2;
    167       case 0x250D83B4u: goto L_250D83B4;
    168       case 0x250D83B7u: goto L_250D83B7;
    169       case 0x250D83B8u: goto L_250D83B8;
    170       case 0x250D83BAu: goto L_250D83BA;
    171       case 0x250D83BDu: goto L_250D83BD;
    172       case 0x250D83C0u: goto L_250D83C0;
    173       case 0x250D83C2u: goto L_250D83C2;
    174       case 0x250D83C3u: goto L_250D83C3;
    175       case 0x250D83C5u: goto L_250D83C5;
    176       case 0x250D83C8u: goto L_250D83C8;
    177       case 0x250D83CAu: goto L_250D83CA;
    178       case 0x250D83CCu: goto L_250D83CC;
    179       case 0x250D83CFu: goto L_250D83CF;
    180       case 0x250D83D1u: goto L_250D83D1;
    181       case 0x250D83D2u: goto L_250D83D2;
    182       case 0x250D83D5u: goto L_250D83D5;
    183       case 0x250D83D6u: goto L_250D83D6;
    184       case 0x250D83DBu: goto L_250D83DB;
    185       case 0x250D83DDu: goto L_250D83DD;
    186       case 0x250D83E0u: goto L_250D83E0;
    187       case 0x250D83E2u: goto L_250D83E2;
    188       case 0x250D83E5u: goto L_250D83E5;
    189       case 0x250D83E8u: goto L_250D83E8;
    190       case 0x250D83EBu: goto L_250D83EB;
    191       case 0x250D83EEu: goto L_250D83EE;
    192       case 0x250D83F0u: goto L_250D83F0;
    193       case 0x250D83F2u: goto L_250D83F2;
    194       case 0x250D83F3u: goto L_250D83F3;
    195       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    196     }
    197     RECOMP_REGS_OUT();
    198 }
    199 
    200 void sub_250D8410(void) {
    201     int _fpu_cmp = 0;
    202     uint32_t _cf = 0;
    203     int _df = 1;
    204     uint32_t _flag_k = FK_NONE;
    205     uint32_t _flag_a = 0, _flag_b = 0;
    206     uint32_t _itail_tgt = 0;
    207     RECOMP_REGS_LOCALS
    208     RECOMP_ENTER(0x250D8410u);
    209 
    210 L_250D8410:
    211     PUSH32(esp, ebp); /* 0x250D8410: push ebp */
    212 L_250D8411:
    213     ebp = esp; /* 0x250D8411: mov ebp, esp */
    214 L_250D8413:
    215     eax = MEM32(ebp + 0xC); /* 0x250D8413: mov eax, dword ptr [ebp + 0xc] */
    216 L_250D8416:
    217     PUSH32(esp, esi); /* 0x250D8416: push esi */
    218 L_250D8417:
    219     esi = ecx; /* 0x250D8417: mov esi, ecx */
    220 L_250D8419:
    221     PUSH32(esp, eax); /* 0x250D8419: push eax */
    222 L_250D841A:
    223     RECOMP_ICALL(0x250D8260u); /* 0x250D841A: call 0x250d8260 */ /* not lifted */
    224     RECOMP_FLAGS_IN();
    225 L_250D841F:
    226     ecx = MEM32(esi + 0x30); /* 0x250D841F: mov ecx, dword ptr [esi + 0x30] */
    227 L_250D8422:
    228     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(7);
    229     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    230     ecx = ecx + 7; /* 0x250D8422: add ecx, 7 */
    231     _flag_k = FK_ADD;
    232 L_250D8425:
    233     if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x250D8425: shr ecx, 3 */
    234     if (3u) { _flag_a = recomp_flags_pack((ecx >> 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    235     ecx = ecx >> 3u; /* 0x250D8425: shr ecx, 3 */
    236 L_250D8428:
    237     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    238     ecx = ecx - 1; /* 0x250D8428: dec ecx */
    239     _flag_k = FK_DEC;
    240 L_250D8429:
    241     /* cmp ecx, 3 */ /* 0x250D8429: cmp ecx, 3 */
    242     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    243     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    244     _flag_k = FK_CMP;
    245 L_250D842C:
    246     esi = POP32_VAL(esp); /* 0x250D842C: pop esi */
    247 L_250D842D:
    248     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250D845D; /* 0x250D842D: ja 0x250d845d */
    249 L_250D842F:
    250     edx = MEM32(ebp + 0x8); /* 0x250D842F: mov edx, dword ptr [ebp + 8] */
    251 L_250D8432:
    252     { _itail_tgt = (uint32_t)(MEM32(ecx * 4 + 0x250D8468)); goto _ljump; }
    253 L_250D8439:
    254     edx = MEM32(ebp + 0x8); /* 0x250D8439: mov edx, dword ptr [ebp + 8] */
    255 L_250D843C:
    256     MEM8(edx) = (uint8_t)(LO8(eax)); /* 0x250D843C: mov byte ptr [edx], al */
    257 L_250D843E:
    258     ebp = POP32_VAL(esp); /* 0x250D843E: pop ebp */
    259 L_250D843F:
    260     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D843F: ret 8 */
    261 L_250D8442:
    262     ecx = MEM32(ebp + 0x8); /* 0x250D8442: mov ecx, dword ptr [ebp + 8] */
    263 L_250D8445:
    264     MEM16(ecx) = (uint16_t)(LO16(eax)); /* 0x250D8445: mov word ptr [ecx], ax */
    265 L_250D8448:
    266     ebp = POP32_VAL(esp); /* 0x250D8448: pop ebp */
    267 L_250D8449:
    268     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D8449: ret 8 */
    269 L_250D844C:
    270     ecx = eax; /* 0x250D844C: mov ecx, eax */
    271 L_250D844E:
    272     if (16u) _cf = (((ecx) >> 15) & 1u); /* 0x250D844E: shr ecx, 0x10 */
    273     if (16u) { _flag_a = recomp_flags_pack((ecx >> 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    274     ecx = ecx >> 16u; /* 0x250D844E: shr ecx, 0x10 */
    275 L_250D8451:
    276     MEM16(edx) = (uint16_t)(LO16(eax)); /* 0x250D8451: mov word ptr [edx], ax */
    277 L_250D8454:
    278     MEM8(edx + 0x2) = (uint8_t)(LO8(ecx)); /* 0x250D8454: mov byte ptr [edx + 2], cl */
    279 L_250D8457:
    280     MEM32(edx) = eax; /* 0x250D8457: mov dword ptr [edx], eax */
    281 L_250D8459:
    282     ebp = POP32_VAL(esp); /* 0x250D8459: pop ebp */
    283 L_250D845A:
    284     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D845A: ret 8 */
    285 L_250D845D:
    286     edx = MEM32(ebp + 0x8); /* 0x250D845D: mov edx, dword ptr [ebp + 8] */
    287 L_250D8460:
    288     MEM32(edx) = eax; /* 0x250D8460: mov dword ptr [edx], eax */
    289 L_250D8462:
    290     ebp = POP32_VAL(esp); /* 0x250D8462: pop ebp */
    291 L_250D8463:
    292     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D8463: ret 8 */
    293   _ljump:
    294     switch (_itail_tgt) {
    295       case 0x250D8410u: goto L_250D8410;
    296       case 0x250D8411u: goto L_250D8411;
    297       case 0x250D8413u: goto L_250D8413;
    298       case 0x250D8416u: goto L_250D8416;
    299       case 0x250D8417u: goto L_250D8417;
    300       case 0x250D8419u: goto L_250D8419;
    301       case 0x250D841Au: goto L_250D841A;
    302       case 0x250D841Fu: goto L_250D841F;
    303       case 0x250D8422u: goto L_250D8422;
    304       case 0x250D8425u: goto L_250D8425;
    305       case 0x250D8428u: goto L_250D8428;
    306       case 0x250D8429u: goto L_250D8429;
    307       case 0x250D842Cu: goto L_250D842C;
    308       case 0x250D842Du: goto L_250D842D;
    309       case 0x250D842Fu: goto L_250D842F;
    310       case 0x250D8432u: goto L_250D8432;
    311       case 0x250D8439u: goto L_250D8439;
    312       case 0x250D843Cu: goto L_250D843C;
    313       case 0x250D843Eu: goto L_250D843E;
    314       case 0x250D843Fu: goto L_250D843F;
    315       case 0x250D8442u: goto L_250D8442;
    316       case 0x250D8445u: goto L_250D8445;
    317       case 0x250D8448u: goto L_250D8448;
    318       case 0x250D8449u: goto L_250D8449;
    319       case 0x250D844Cu: goto L_250D844C;
    320       case 0x250D844Eu: goto L_250D844E;
    321       case 0x250D8451u: goto L_250D8451;
    322       case 0x250D8454u: goto L_250D8454;
    323       case 0x250D8457u: goto L_250D8457;
    324       case 0x250D8459u: goto L_250D8459;
    325       case 0x250D845Au: goto L_250D845A;
    326       case 0x250D845Du: goto L_250D845D;
    327       case 0x250D8460u: goto L_250D8460;
    328       case 0x250D8462u: goto L_250D8462;
    329       case 0x250D8463u: goto L_250D8463;
    330       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    331     }
    332     RECOMP_REGS_OUT();
    333 }
    334 
    335 void sub_250D8480(void) {
    336     int _fpu_cmp = 0;
    337     uint32_t _cf = 0;
    338     int _df = 1;
    339     uint32_t _flag_k = FK_NONE;
    340     uint32_t _flag_a = 0, _flag_b = 0;
    341     uint32_t _itail_tgt = 0;
    342     RECOMP_REGS_LOCALS
    343     RECOMP_ENTER(0x250D8480u);
    344 
    345 L_250D8480:
    346     PUSH32(esp, ebp); /* 0x250D8480: push ebp */
    347     ebp = esp; /* 0x250D8481: mov ebp, esp */
    348     PUSH32(esp, esi); /* 0x250D8483: push esi */
    349     esi = ecx; /* 0x250D8484: mov esi, ecx */
    350     eax = MEM32(esi + 0x1C); /* 0x250D8486: mov eax, dword ptr [esi + 0x1c] */
    351     edx = MEM32(esi + 0x18); /* 0x250D8489: mov edx, dword ptr [esi + 0x18] */
    352     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    353     ecx = 0; /* 0x250D848C: xor ecx, ecx */
    354     _cf = 0;
    355     _flag_k = FK_TEST;
    356     SET_LO8(ecx, 8); /* 0x250D848E: mov cl, 8 */
    357     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    358     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    359     SET_LO8(ecx, LO8(ecx) - LO8(eax)); /* 0x250D8490: sub cl, al */
    360     _flag_k = FK_NARROW(FK_CMP, 24);
    361     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    362     eax = 0; /* 0x250D8492: xor eax, eax */
    363     _cf = 0;
    364     _flag_k = FK_TEST;
    365     PUSH32(esp, edi); /* 0x250D8494: push edi */
    366     edi = MEM32(ebp + 0x8); /* 0x250D8495: mov edi, dword ptr [ebp + 8] */
    367     SET_LO8(eax, MEM8(edi + 0x2)); /* 0x250D8498: mov al, byte ptr [edi + 2] */
    368     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((eax) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x250D849B: shr eax, cl */
    369     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((eax >> ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    370     eax = eax >> ((LO8(ecx)) & 31); /* 0x250D849B: shr eax, cl */
    371     ecx = MEM32(esi + 0xC); /* 0x250D849D: mov ecx, dword ptr [esi + 0xc] */
    372     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((eax) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D84A0: shl eax, cl */
    373     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((eax << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    374     eax = eax << ((LO8(ecx)) & 31); /* 0x250D84A0: shl eax, cl */
    375     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    376     ecx = 0; /* 0x250D84A2: xor ecx, ecx */
    377     _cf = 0;
    378     _flag_k = FK_TEST;
    379     SET_LO8(ecx, 8); /* 0x250D84A4: mov cl, 8 */
    380     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
    381     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    382     SET_LO8(ecx, LO8(ecx) - LO8(edx)); /* 0x250D84A6: sub cl, dl */
    383     _flag_k = FK_NARROW(FK_CMP, 24);
    384     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    385     edx = 0; /* 0x250D84A8: xor edx, edx */
    386     _cf = 0;
    387     _flag_k = FK_TEST;
    388     SET_LO8(edx, MEM8(edi + 0x1)); /* 0x250D84AA: mov dl, byte ptr [edi + 1] */
    389     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x250D84AD: shr edx, cl */
    390     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx >> ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    391     edx = edx >> ((LO8(ecx)) & 31); /* 0x250D84AD: shr edx, cl */
    392     ecx = MEM32(esi + 0x8); /* 0x250D84AF: mov ecx, dword ptr [esi + 8] */
    393     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D84B2: shl edx, cl */
    394     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    395     edx = edx << ((LO8(ecx)) & 31); /* 0x250D84B2: shl edx, cl */
    396     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    397     ecx = 0; /* 0x250D84B4: xor ecx, ecx */
    398     _cf = 0;
    399     _flag_k = FK_TEST;
    400     SET_LO8(ecx, 8); /* 0x250D84B6: mov cl, 8 */
    401     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    402     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    403     eax = eax + edx; /* 0x250D84B8: add eax, edx */
    404     _flag_k = FK_ADD;
    405     edx = MEM32(esi + 0x14); /* 0x250D84BA: mov edx, dword ptr [esi + 0x14] */
    406     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
    407     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    408     SET_LO8(ecx, LO8(ecx) - LO8(edx)); /* 0x250D84BD: sub cl, dl */
    409     _flag_k = FK_NARROW(FK_CMP, 24);
    410     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    411     edx = 0; /* 0x250D84BF: xor edx, edx */
    412     _cf = 0;
    413     _flag_k = FK_TEST;
    414     SET_LO8(edx, MEM8(edi)); /* 0x250D84C1: mov dl, byte ptr [edi] */
    415     edi = POP32_VAL(esp); /* 0x250D84C3: pop edi */
    416     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x250D84C4: shr edx, cl */
    417     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx >> ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    418     edx = edx >> ((LO8(ecx)) & 31); /* 0x250D84C4: shr edx, cl */
    419     ecx = MEM32(esi + 0x4); /* 0x250D84C6: mov ecx, dword ptr [esi + 4] */
    420     esi = POP32_VAL(esp); /* 0x250D84C9: pop esi */
    421     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D84CA: shl edx, cl */
    422     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    423     edx = edx << ((LO8(ecx)) & 31); /* 0x250D84CA: shl edx, cl */
    424     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    425     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    426     eax = eax + edx; /* 0x250D84CC: add eax, edx */
    427     _flag_k = FK_ADD;
    428     ebp = POP32_VAL(esp); /* 0x250D84CE: pop ebp */
    429     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D84CF: ret 4 */
    430     RECOMP_REGS_OUT();
    431 }
    432 
    433 void sub_250D84E0(void) {
    434     int _fpu_cmp = 0;
    435     uint32_t _cf = 0;
    436     int _df = 1;
    437     uint32_t _flag_k = FK_NONE;
    438     uint32_t _flag_a = 0, _flag_b = 0;
    439     uint32_t _itail_tgt = 0;
    440     RECOMP_REGS_LOCALS
    441     RECOMP_ENTER(0x250D84E0u);
    442 
    443 L_250D84E0:
    444     PUSH32(esp, ebp); /* 0x250D84E0: push ebp */
    445     ebp = esp; /* 0x250D84E1: mov ebp, esp */
    446     PUSH32(esp, ebx); /* 0x250D84E3: push ebx */
    447     PUSH32(esp, esi); /* 0x250D84E4: push esi */
    448     esi = ecx; /* 0x250D84E5: mov esi, ecx */
    449     eax = MEM32(esi + 0x18); /* 0x250D84E7: mov eax, dword ptr [esi + 0x18] */
    450     ebx = MEM32(esi + 0x14); /* 0x250D84EA: mov ebx, dword ptr [esi + 0x14] */
    451     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    452     edx = 0; /* 0x250D84ED: xor edx, edx */
    453     _cf = 0;
    454     _flag_k = FK_TEST;
    455     ecx = 8; /* 0x250D84EF: mov ecx, 8 */
    456     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
    457     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    458     ecx = ecx - eax; /* 0x250D84F4: sub ecx, eax */
    459     _flag_k = FK_CMP;
    460     eax = MEM32(ebp + 0x8); /* 0x250D84F6: mov eax, dword ptr [ebp + 8] */
    461     SET_LO8(edx, HI8(eax)); /* 0x250D84F9: mov dl, ah */
    462     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
    463     eax = eax & 0xFFu; /* 0x250D84FB: and eax, 0xff */
    464     _cf = 0;
    465     _flag_k = FK_TEST;
    466     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x250D8500: shr edx, cl */
    467     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx >> ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    468     edx = edx >> ((LO8(ecx)) & 31); /* 0x250D8500: shr edx, cl */
    469     ecx = MEM32(esi + 0x8); /* 0x250D8502: mov ecx, dword ptr [esi + 8] */
    470     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D8505: shl edx, cl */
    471     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    472     edx = edx << ((LO8(ecx)) & 31); /* 0x250D8505: shl edx, cl */
    473     ecx = 8; /* 0x250D8507: mov ecx, 8 */
    474     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
    475     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    476     ecx = ecx - ebx; /* 0x250D850C: sub ecx, ebx */
    477     _flag_k = FK_CMP;
    478     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    479     ebx = 0; /* 0x250D850E: xor ebx, ebx */
    480     _cf = 0;
    481     _flag_k = FK_TEST;
    482     SET_LO8(ebx, MEM8(ebp + 0xA)); /* 0x250D8510: mov bl, byte ptr [ebp + 0xa] */
    483     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((ebx) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x250D8513: shr ebx, cl */
    484     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((ebx >> ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    485     ebx = ebx >> ((LO8(ecx)) & 31); /* 0x250D8513: shr ebx, cl */
    486     ecx = MEM32(esi + 0x4); /* 0x250D8515: mov ecx, dword ptr [esi + 4] */
    487     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((ebx) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D8518: shl ebx, cl */
    488     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((ebx << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    489     ebx = ebx << ((LO8(ecx)) & 31); /* 0x250D8518: shl ebx, cl */
    490     ecx = 8; /* 0x250D851A: mov ecx, 8 */
    491     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
    492     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    493     edx = edx + ebx; /* 0x250D851F: add edx, ebx */
    494     _flag_k = FK_ADD;
    495     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x1C));
    496     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    497     ecx = ecx - MEM32(esi + 0x1C); /* 0x250D8521: sub ecx, dword ptr [esi + 0x1c] */
    498     _flag_k = FK_CMP;
    499     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((eax) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x250D8524: shr eax, cl */
    500     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((eax >> ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    501     eax = eax >> ((LO8(ecx)) & 31); /* 0x250D8524: shr eax, cl */
    502     ecx = MEM32(esi + 0xC); /* 0x250D8526: mov ecx, dword ptr [esi + 0xc] */
    503     esi = POP32_VAL(esp); /* 0x250D8529: pop esi */
    504     ebx = POP32_VAL(esp); /* 0x250D852A: pop ebx */
    505     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((eax) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D852B: shl eax, cl */
    506     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((eax << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    507     eax = eax << ((LO8(ecx)) & 31); /* 0x250D852B: shl eax, cl */
    508     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    509     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    510     eax = eax + edx; /* 0x250D852D: add eax, edx */
    511     _flag_k = FK_ADD;
    512     ebp = POP32_VAL(esp); /* 0x250D852F: pop ebp */
    513     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8530: ret 4 */
    514     RECOMP_REGS_OUT();
    515 }
    516 
    517 void sub_250D8540(void) {
    518     int _fpu_cmp = 0;
    519     uint32_t _cf = 0;
    520     int _df = 1;
    521     uint32_t _flag_k = FK_NONE;
    522     uint32_t _flag_a = 0, _flag_b = 0;
    523     uint32_t _itail_tgt = 0;
    524     RECOMP_REGS_LOCALS
    525     RECOMP_ENTER(0x250D8540u);
    526 
    527 L_250D8540:
    528     PUSH32(esp, ebp); /* 0x250D8540: push ebp */
    529     ebp = esp; /* 0x250D8541: mov ebp, esp */
    530     eax = MEM32(ebp + 0x8); /* 0x250D8543: mov eax, dword ptr [ebp + 8] */
    531     PUSH32(esp, esi); /* 0x250D8546: push esi */
    532     esi = ecx; /* 0x250D8547: mov esi, ecx */
    533     ecx = MEM32(ebp + 0xC); /* 0x250D8549: mov ecx, dword ptr [ebp + 0xc] */
    534     PUSH32(esp, eax); /* 0x250D854C: push eax */
    535     RECOMP_ICALL(0x250D84E0u); /* 0x250D854D: call 0x250d84e0 */ /* not lifted */
    536     RECOMP_FLAGS_IN();
    537     PUSH32(esp, eax); /* 0x250D8552: push eax */
    538     ecx = esi; /* 0x250D8553: mov ecx, esi */
    539     RECOMP_ICALL(0x250D84E0u); /* 0x250D8555: call 0x250d84e0 */ /* not lifted */
    540     RECOMP_FLAGS_IN();
    541     esi = POP32_VAL(esp); /* 0x250D855A: pop esi */
    542     ebp = POP32_VAL(esp); /* 0x250D855B: pop ebp */
    543     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D855C: ret 8 */
    544     RECOMP_REGS_OUT();
    545 }
    546 
    547 void sub_250D8560(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(0x250D8560u);
    556 
    557 L_250D8560:
    558     PUSH32(esp, ebp); /* 0x250D8560: push ebp */
    559     ebp = esp; /* 0x250D8561: mov ebp, esp */
    560     eax = ecx; /* 0x250D8563: mov eax, ecx */
    561     ecx = MEM32(ebp + 0x8); /* 0x250D8565: mov ecx, dword ptr [ebp + 8] */
    562     edx = MEM32(ecx); /* 0x250D8568: mov edx, dword ptr [ecx] */
    563     MEM32(eax) = edx; /* 0x250D856A: mov dword ptr [eax], edx */
    564     edx = MEM32(ecx + 0x4); /* 0x250D856C: mov edx, dword ptr [ecx + 4] */
    565     MEM32(eax + 0x4) = edx; /* 0x250D856F: mov dword ptr [eax + 4], edx */
    566     edx = MEM32(ecx + 0x8); /* 0x250D8572: mov edx, dword ptr [ecx + 8] */
    567     MEM32(eax + 0x8) = edx; /* 0x250D8575: mov dword ptr [eax + 8], edx */
    568     edx = MEM32(ecx + 0xC); /* 0x250D8578: mov edx, dword ptr [ecx + 0xc] */
    569     MEM32(eax + 0xC) = edx; /* 0x250D857B: mov dword ptr [eax + 0xc], edx */
    570     edx = MEM32(ecx + 0x10); /* 0x250D857E: mov edx, dword ptr [ecx + 0x10] */
    571     MEM32(eax + 0x10) = edx; /* 0x250D8581: mov dword ptr [eax + 0x10], edx */
    572     edx = MEM32(ecx + 0x14); /* 0x250D8584: mov edx, dword ptr [ecx + 0x14] */
    573     MEM32(eax + 0x14) = edx; /* 0x250D8587: mov dword ptr [eax + 0x14], edx */
    574     edx = MEM32(ecx + 0x18); /* 0x250D858A: mov edx, dword ptr [ecx + 0x18] */
    575     MEM32(eax + 0x18) = edx; /* 0x250D858D: mov dword ptr [eax + 0x18], edx */
    576     edx = MEM32(ecx + 0x1C); /* 0x250D8590: mov edx, dword ptr [ecx + 0x1c] */
    577     MEM32(eax + 0x1C) = edx; /* 0x250D8593: mov dword ptr [eax + 0x1c], edx */
    578     edx = MEM32(ecx + 0x20); /* 0x250D8596: mov edx, dword ptr [ecx + 0x20] */
    579     MEM32(eax + 0x20) = edx; /* 0x250D8599: mov dword ptr [eax + 0x20], edx */
    580     edx = MEM32(ecx + 0x24); /* 0x250D859C: mov edx, dword ptr [ecx + 0x24] */
    581     MEM32(eax + 0x24) = edx; /* 0x250D859F: mov dword ptr [eax + 0x24], edx */
    582     edx = MEM32(ecx + 0x28); /* 0x250D85A2: mov edx, dword ptr [ecx + 0x28] */
    583     MEM32(eax + 0x28) = edx; /* 0x250D85A5: mov dword ptr [eax + 0x28], edx */
    584     edx = MEM32(ecx + 0x2C); /* 0x250D85A8: mov edx, dword ptr [ecx + 0x2c] */
    585     MEM32(eax + 0x2C) = edx; /* 0x250D85AB: mov dword ptr [eax + 0x2c], edx */
    586     ecx = MEM32(ecx + 0x30); /* 0x250D85AE: mov ecx, dword ptr [ecx + 0x30] */
    587     MEM32(eax + 0x30) = ecx; /* 0x250D85B1: mov dword ptr [eax + 0x30], ecx */
    588     ebp = POP32_VAL(esp); /* 0x250D85B4: pop ebp */
    589     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D85B5: ret 4 */
    590     RECOMP_REGS_OUT();
    591 }
    592 
    593 void sub_250D85C0(void) {
    594     int _fpu_cmp = 0;
    595     uint32_t _cf = 0;
    596     int _df = 1;
    597     uint32_t _flag_k = FK_NONE;
    598     uint32_t _flag_a = 0, _flag_b = 0;
    599     uint32_t _itail_tgt = 0;
    600     RECOMP_REGS_LOCALS
    601     RECOMP_ENTER(0x250D85C0u);
    602 
    603 L_250D85C0:
    604     PUSH32(esp, esi); /* 0x250D85C0: push esi */
    605     esi = ecx; /* 0x250D85C1: mov esi, ecx */
    606     eax = MEM32(esi + 0x4); /* 0x250D85C3: mov eax, dword ptr [esi + 4] */
    607     /* test eax, eax */ /* 0x250D85C6: test eax, eax */
    608     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    609     _cf = 0;
    610     _flag_k = FK_TEST;
    611     PUSH32(esp, edi); /* 0x250D85C8: push edi */
    612     if (TEST_Z(_flag_a, _flag_b)) goto L_250D85D7; /* 0x250D85C9: jbe 0x250d85d7 */
    613 L_250D85CB:
    614     ecx = eax + (-0x1); /* 0x250D85CB: lea ecx, [eax - 1] */
    615     edi = 0xFFFFFFFEu; /* 0x250D85CE: mov edi, 0xfffffffe */
    616     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edi) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D85D3: shl edi, cl */
    617     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edi << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    618     edi = edi << ((LO8(ecx)) & 31); /* 0x250D85D3: shl edi, cl */
    619     goto L_250D85DC; /* 0x250D85D5: jmp 0x250d85dc */
    620 L_250D85D7:
    621     edi = 0xFFFFFFFEu; /* 0x250D85D7: mov edi, 0xfffffffe */
    622 L_250D85DC:
    623     eax = MEM32(esi + 0x8); /* 0x250D85DC: mov eax, dword ptr [esi + 8] */
    624     /* test eax, eax */ /* 0x250D85DF: test eax, eax */
    625     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    626     _cf = 0;
    627     _flag_k = FK_TEST;
    628     if (TEST_Z(_flag_a, _flag_b)) goto L_250D85EF; /* 0x250D85E1: jbe 0x250d85ef */
    629 L_250D85E3:
    630     ecx = eax + (-0x1); /* 0x250D85E3: lea ecx, [eax - 1] */
    631     edx = 0xFFFFFFFEu; /* 0x250D85E6: mov edx, 0xfffffffe */
    632     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D85EB: shl edx, cl */
    633     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    634     edx = edx << ((LO8(ecx)) & 31); /* 0x250D85EB: shl edx, cl */
    635     goto L_250D85F4; /* 0x250D85ED: jmp 0x250d85f4 */
    636 L_250D85EF:
    637     edx = 0xFFFFFFFEu; /* 0x250D85EF: mov edx, 0xfffffffe */
    638 L_250D85F4:
    639     eax = MEM32(esi + 0xC); /* 0x250D85F4: mov eax, dword ptr [esi + 0xc] */
    640     /* test eax, eax */ /* 0x250D85F7: test eax, eax */
    641     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    642     _cf = 0;
    643     _flag_k = FK_TEST;
    644     if (TEST_Z(_flag_a, _flag_b)) goto L_250D860C; /* 0x250D85F9: jbe 0x250d860c */
    645 L_250D85FB:
    646     ecx = eax + (-0x1); /* 0x250D85FB: lea ecx, [eax - 1] */
    647     eax = 0xFFFFFFFEu; /* 0x250D85FE: mov eax, 0xfffffffe */
    648     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((eax) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x250D8603: shl eax, cl */
    649     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((eax << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    650     eax = eax << ((LO8(ecx)) & 31); /* 0x250D8603: shl eax, cl */
    651     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    652     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    653     eax = eax + edx; /* 0x250D8605: add eax, edx */
    654     _flag_k = FK_ADD;
    655     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    656     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    657     eax = eax + edi; /* 0x250D8607: add eax, edi */
    658     _flag_k = FK_ADD;
    659     edi = POP32_VAL(esp); /* 0x250D8609: pop edi */
    660     esi = POP32_VAL(esp); /* 0x250D860A: pop esi */
    661     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D860B: ret  */
    662 L_250D860C:
    663     eax = 0xFFFFFFFEu; /* 0x250D860C: mov eax, 0xfffffffe */
    664     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    665     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    666     eax = eax + edx; /* 0x250D8611: add eax, edx */
    667     _flag_k = FK_ADD;
    668     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    669     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    670     eax = eax + edi; /* 0x250D8613: add eax, edi */
    671     _flag_k = FK_ADD;
    672     edi = POP32_VAL(esp); /* 0x250D8615: pop edi */
    673     esi = POP32_VAL(esp); /* 0x250D8616: pop esi */
    674     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8617: ret  */
    675     RECOMP_REGS_OUT();
    676 }
    677 
    678 void sub_250D8620(void) {
    679     int _fpu_cmp = 0;
    680     uint32_t _cf = 0;
    681     int _df = 1;
    682     uint32_t _flag_k = FK_NONE;
    683     uint32_t _flag_a = 0, _flag_b = 0;
    684     uint32_t _itail_tgt = 0;
    685     RECOMP_REGS_LOCALS
    686     RECOMP_ENTER(0x250D8620u);
    687 
    688 L_250D8620:
    689     eax = MEM32(ecx + 0x30); /* 0x250D8620: mov eax, dword ptr [ecx + 0x30] */
    690 L_250D8623:
    691     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF8u);
    692     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    693     eax = eax + 0xFFFFFFF8u; /* 0x250D8623: add eax, -8 */
    694     _flag_k = FK_ADD;
    695 L_250D8626:
    696     /* cmp eax, 0x18u */ /* 0x250D8626: cmp eax, 0x18 */
    697     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
    698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    699     _flag_k = FK_CMP;
    700 L_250D8629:
    701     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250D867F; /* 0x250D8629: ja 0x250d867f */
    702 L_250D862B:
    703     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    704     edx = 0; /* 0x250D862B: xor edx, edx */
    705     _cf = 0;
    706     _flag_k = FK_TEST;
    707 L_250D862D:
    708     SET_LO8(edx, MEM8(eax + 0x250D8698)); /* 0x250D862D: mov dl, byte ptr [eax + 0x250d8698] */
    709 L_250D8633:
    710     { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x250D8688)); goto _ljump; }
    711 L_250D863A:
    712     eax = MEM32(ecx + 0x4); /* 0x250D863A: mov eax, dword ptr [ecx + 4] */
    713 L_250D863D:
    714     /* cmp eax, MEM32(ecx + 0xC) */ /* 0x250D863D: cmp eax, dword ptr [ecx + 0xc] */
    715     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0xC));
    716     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    717     _flag_k = FK_CMP;
    718 L_250D8640:
    719     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_BE, _cf)) goto L_250D867F; /* 0x250D8640: jbe 0x250d867f */
    720 L_250D8642:
    721     eax = MEM32(ecx + 0x14); /* 0x250D8642: mov eax, dword ptr [ecx + 0x14] */
    722 L_250D8645:
    723     edx = 5; /* 0x250D8645: mov edx, 5 */
    724 L_250D864A:
    725     /* cmp eax, edx */ /* 0x250D864A: cmp eax, edx */
    726     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    727     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    728     _flag_k = FK_CMP;
    729 L_250D864C:
    730     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250D867F; /* 0x250D864C: jne 0x250d867f */
    731 L_250D864E:
    732     /* cmp MEM32(ecx + 0x18), edx */ /* 0x250D864E: cmp dword ptr [ecx + 0x18], edx */
    733     _flag_a = (uint32_t)(MEM32(ecx + 0x18)); _flag_b = (uint32_t)(edx);
    734     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    735     _flag_k = FK_CMP;
    736 L_250D8651:
    737     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250D865B; /* 0x250D8651: jne 0x250d865b */
    738 L_250D8653:
    739     /* cmp MEM32(ecx + 0x1C), edx */ /* 0x250D8653: cmp dword ptr [ecx + 0x1c], edx */
    740     _flag_a = (uint32_t)(MEM32(ecx + 0x1C)); _flag_b = (uint32_t)(edx);
    741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    742     _flag_k = FK_CMP;
    743 L_250D8656:
    744     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250D865B; /* 0x250D8656: jne 0x250d865b */
    745 L_250D8658:
    746     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    747     eax = 0; /* 0x250D8658: xor eax, eax */
    748     _cf = 0;
    749     _flag_k = FK_TEST;
    750 L_250D865A:
    751     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D865A: ret  */
    752 L_250D865B:
    753     /* cmp eax, edx */ /* 0x250D865B: cmp eax, edx */
    754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    756     _flag_k = FK_CMP;
    757 L_250D865D:
    758     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250D867F; /* 0x250D865D: jne 0x250d867f */
    759 L_250D865F:
    760     /* cmp MEM32(ecx + 0x18), 6 */ /* 0x250D865F: cmp dword ptr [ecx + 0x18], 6 */
    761     _flag_a = (uint32_t)(MEM32(ecx + 0x18)); _flag_b = (uint32_t)(6);
    762     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    763     _flag_k = FK_CMP;
    764 L_250D8663:
    765     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250D867F; /* 0x250D8663: jne 0x250d867f */
    766 L_250D8665:
    767     /* cmp MEM32(ecx + 0x1C), edx */ /* 0x250D8665: cmp dword ptr [ecx + 0x1c], edx */
    768     _flag_a = (uint32_t)(MEM32(ecx + 0x1C)); _flag_b = (uint32_t)(edx);
    769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    770     _flag_k = FK_CMP;
    771 L_250D8668:
    772     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250D867F; /* 0x250D8668: jne 0x250d867f */
    773 L_250D866A:
    774     eax = 1; /* 0x250D866A: mov eax, 1 */
    775 L_250D866F:
    776     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D866F: ret  */
    777 L_250D8670:
    778     eax = MEM32(ecx + 0xC); /* 0x250D8670: mov eax, dword ptr [ecx + 0xc] */
    779 L_250D8673:
    780     edx = MEM32(ecx + 0x4); /* 0x250D8673: mov edx, dword ptr [ecx + 4] */
    781 L_250D8676:
    782     /* cmp edx, eax */ /* 0x250D8676: cmp edx, eax */
    783     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
    784     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    785     _flag_k = FK_CMP;
    786 L_250D8678:
    787     eax = 2; /* 0x250D8678: mov eax, 2 */
    788 L_250D867D:
    789     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_250D8684; /* 0x250D867D: ja 0x250d8684 */
    790 L_250D867F:
    791     eax = 3; /* 0x250D867F: mov eax, 3 */
    792 L_250D8684:
    793     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8684: ret  */
    794   _ljump:
    795     switch (_itail_tgt) {
    796       case 0x250D8620u: goto L_250D8620;
    797       case 0x250D8623u: goto L_250D8623;
    798       case 0x250D8626u: goto L_250D8626;
    799       case 0x250D8629u: goto L_250D8629;
    800       case 0x250D862Bu: goto L_250D862B;
    801       case 0x250D862Du: goto L_250D862D;
    802       case 0x250D8633u: goto L_250D8633;
    803       case 0x250D863Au: goto L_250D863A;
    804       case 0x250D863Du: goto L_250D863D;
    805       case 0x250D8640u: goto L_250D8640;
    806       case 0x250D8642u: goto L_250D8642;
    807       case 0x250D8645u: goto L_250D8645;
    808       case 0x250D864Au: goto L_250D864A;
    809       case 0x250D864Cu: goto L_250D864C;
    810       case 0x250D864Eu: goto L_250D864E;
    811       case 0x250D8651u: goto L_250D8651;
    812       case 0x250D8653u: goto L_250D8653;
    813       case 0x250D8656u: goto L_250D8656;
    814       case 0x250D8658u: goto L_250D8658;
    815       case 0x250D865Au: goto L_250D865A;
    816       case 0x250D865Bu: goto L_250D865B;
    817       case 0x250D865Du: goto L_250D865D;
    818       case 0x250D865Fu: goto L_250D865F;
    819       case 0x250D8663u: goto L_250D8663;
    820       case 0x250D8665u: goto L_250D8665;
    821       case 0x250D8668u: goto L_250D8668;
    822       case 0x250D866Au: goto L_250D866A;
    823       case 0x250D866Fu: goto L_250D866F;
    824       case 0x250D8670u: goto L_250D8670;
    825       case 0x250D8673u: goto L_250D8673;
    826       case 0x250D8676u: goto L_250D8676;
    827       case 0x250D8678u: goto L_250D8678;
    828       case 0x250D867Du: goto L_250D867D;
    829       case 0x250D867Fu: goto L_250D867F;
    830       case 0x250D8684u: goto L_250D8684;
    831       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    832     }
    833     RECOMP_REGS_OUT();
    834 }
    835 
    836 void sub_250D86C0(void) {
    837     int _fpu_cmp = 0;
    838     uint32_t _cf = 0;
    839     int _df = 1;
    840     uint32_t _flag_k = FK_NONE;
    841     uint32_t _flag_a = 0, _flag_b = 0;
    842     uint32_t _itail_tgt = 0;
    843     RECOMP_REGS_LOCALS
    844     RECOMP_ENTER(0x250D86C0u);
    845 
    846 L_250D86C0:
    847     fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250D86C0: fld dword ptr [0x2515177c] */
    848     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D86C6: ret  */
    849     RECOMP_REGS_OUT();
    850 }
    851 
    852 void sub_250D86D0(void) {
    853     int _fpu_cmp = 0;
    854     uint32_t _cf = 0;
    855     int _df = 1;
    856     uint32_t _flag_k = FK_NONE;
    857     uint32_t _flag_a = 0, _flag_b = 0;
    858     uint32_t _itail_tgt = 0;
    859     RECOMP_REGS_LOCALS
    860     RECOMP_ENTER(0x250D86D0u);
    861 
    862 L_250D86D0:
    863     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
    864     SET_LO8(eax, 0); /* 0x250D86D0: xor al, al */
    865     _cf = 0;
    866     _flag_k = FK_NARROW(FK_TEST, 24);
    867     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D86D2: ret  */
    868     RECOMP_REGS_OUT();
    869 }
    870 
    871 void sub_250D86E0(void) {
    872     int _fpu_cmp = 0;
    873     uint32_t _cf = 0;
    874     int _df = 1;
    875     uint32_t _flag_k = FK_NONE;
    876     uint32_t _flag_a = 0, _flag_b = 0;
    877     uint32_t _itail_tgt = 0;
    878     RECOMP_REGS_LOCALS
    879     RECOMP_ENTER(0x250D86E0u);
    880 
    881 L_250D86E0:
    882     PUSH32(esp, ebp); /* 0x250D86E0: push ebp */
    883     ebp = esp; /* 0x250D86E1: mov ebp, esp */
    884     eax = MEM32(ebp + 0x8); /* 0x250D86E3: mov eax, dword ptr [ebp + 8] */
    885     PUSH32(esp, esi); /* 0x250D86E6: push esi */
    886     esi = ecx; /* 0x250D86E7: mov esi, ecx */
    887     PUSH32(esp, eax); /* 0x250D86E9: push eax */
    888     RECOMP_ICALL(0x250E5C90u); /* 0x250D86EA: call 0x250e5c90 */ /* not lifted */
    889     RECOMP_FLAGS_IN();
    890     MEM32(esi) = 0x25158244u; /* 0x250D86EF: mov dword ptr [esi], 0x25158244 */
    891     eax = esi; /* 0x250D86F5: mov eax, esi */
    892     esi = POP32_VAL(esp); /* 0x250D86F7: pop esi */
    893     ebp = POP32_VAL(esp); /* 0x250D86F8: pop ebp */
    894     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D86F9: ret 4 */
    895     RECOMP_REGS_OUT();
    896 }
    897 
    898 void sub_250D8700(void) {
    899     int _fpu_cmp = 0;
    900     uint32_t _cf = 0;
    901     int _df = 1;
    902     uint32_t _flag_k = FK_NONE;
    903     uint32_t _flag_a = 0, _flag_b = 0;
    904     uint32_t _itail_tgt = 0;
    905     RECOMP_REGS_LOCALS
    906     RECOMP_ENTER(0x250D8700u);
    907 
    908 L_250D8700:
    909     PUSH32(esp, ebp); /* 0x250D8700: push ebp */
    910     ebp = esp; /* 0x250D8701: mov ebp, esp */
    911     eax = MEM32(ebp + 0x8); /* 0x250D8703: mov eax, dword ptr [ebp + 8] */
    912     PUSH32(esp, esi); /* 0x250D8706: push esi */
    913     esi = ecx; /* 0x250D8707: mov esi, ecx */
    914     PUSH32(esp, eax); /* 0x250D8709: push eax */
    915     RECOMP_ICALL(0x250E5E20u); /* 0x250D870A: call 0x250e5e20 */ /* not lifted */
    916     RECOMP_FLAGS_IN();
    917     MEM32(esi) = 0x25158244u; /* 0x250D870F: mov dword ptr [esi], 0x25158244 */
    918     eax = esi; /* 0x250D8715: mov eax, esi */
    919     esi = POP32_VAL(esp); /* 0x250D8717: pop esi */
    920     ebp = POP32_VAL(esp); /* 0x250D8718: pop ebp */
    921     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8719: ret 4 */
    922     RECOMP_REGS_OUT();
    923 }
    924 
    925 void sub_250D8720(void) {
    926     int _fpu_cmp = 0;
    927     uint32_t _cf = 0;
    928     int _df = 1;
    929     uint32_t _flag_k = FK_NONE;
    930     uint32_t _flag_a = 0, _flag_b = 0;
    931     uint32_t _itail_tgt = 0;
    932     RECOMP_REGS_LOCALS
    933     RECOMP_ENTER(0x250D8720u);
    934 
    935 L_250D8720:
    936     PUSH32(esp, esi); /* 0x250D8720: push esi */
    937     esi = ecx; /* 0x250D8721: mov esi, ecx */
    938     RECOMP_ICALL(0x250E5910u); /* 0x250D8723: call 0x250e5910 */ /* not lifted */
    939     RECOMP_FLAGS_IN();
    940     MEM32(esi) = 0x25158244u; /* 0x250D8728: mov dword ptr [esi], 0x25158244 */
    941     eax = esi; /* 0x250D872E: mov eax, esi */
    942     esi = POP32_VAL(esp); /* 0x250D8730: pop esi */
    943     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8731: ret  */
    944     RECOMP_REGS_OUT();
    945 }
    946 
    947 void sub_250D8740(void) {
    948     int _fpu_cmp = 0;
    949     uint32_t _cf = 0;
    950     int _df = 1;
    951     uint32_t _flag_k = FK_NONE;
    952     uint32_t _flag_a = 0, _flag_b = 0;
    953     uint32_t _itail_tgt = 0;
    954     RECOMP_REGS_LOCALS
    955     RECOMP_ENTER(0x250D8740u);
    956 
    957 L_250D8740:
    958     PUSH32(esp, ebp); /* 0x250D8740: push ebp */
    959     ebp = esp; /* 0x250D8741: mov ebp, esp */
    960     eax = MEM32(ebp + 0x8); /* 0x250D8743: mov eax, dword ptr [ebp + 8] */
    961     PUSH32(esp, esi); /* 0x250D8746: push esi */
    962     esi = ecx; /* 0x250D8747: mov esi, ecx */
    963     PUSH32(esp, eax); /* 0x250D8749: push eax */
    964     RECOMP_ICALL(0x250E5AF0u); /* 0x250D874A: call 0x250e5af0 */ /* not lifted */
    965     RECOMP_FLAGS_IN();
    966     MEM32(esi) = 0x25158244u; /* 0x250D874F: mov dword ptr [esi], 0x25158244 */
    967     eax = esi; /* 0x250D8755: mov eax, esi */
    968     esi = POP32_VAL(esp); /* 0x250D8757: pop esi */
    969     ebp = POP32_VAL(esp); /* 0x250D8758: pop ebp */
    970     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8759: ret 4 */
    971     RECOMP_REGS_OUT();
    972 }
    973 
    974 void sub_250D8760(void) {
    975     int _fpu_cmp = 0;
    976     uint32_t _cf = 0;
    977     int _df = 1;
    978     uint32_t _flag_k = FK_NONE;
    979     uint32_t _flag_a = 0, _flag_b = 0;
    980     uint32_t _itail_tgt = 0;
    981     RECOMP_REGS_LOCALS
    982     RECOMP_ENTER(0x250D8760u);
    983 
    984 L_250D8760:
    985     PUSH32(esp, ebp); /* 0x250D8760: push ebp */
    986     ebp = esp; /* 0x250D8761: mov ebp, esp */
    987     PUSH32(esp, ebx); /* 0x250D8763: push ebx */
    988     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250D8764: mov bl, byte ptr [ebp + 8] */
    989     /* test LO8(ebx), 2 */ /* 0x250D8767: test bl, 2 */
    990     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
    991     _cf = 0;
    992     _flag_k = FK_NARROW(FK_TEST, 24);
    993     PUSH32(esp, esi); /* 0x250D876A: push esi */
    994     esi = ecx; /* 0x250D876B: mov esi, ecx */
    995     if (TEST_Z(_flag_a, _flag_b)) goto L_250D879B; /* 0x250D876D: je 0x250d879b */
    996 L_250D876F:
    997     eax = MEM32(esi + (-0x4)); /* 0x250D876F: mov eax, dword ptr [esi - 4] */
    998     PUSH32(esp, edi); /* 0x250D8772: push edi */
    999     PUSH32(esp, 0x250E0E40u); /* 0x250D8773: push 0x250e0e40 */
   1000     edi = esi + (-0x4); /* 0x250D8778: lea edi, [esi - 4] */
   1001     PUSH32(esp, eax); /* 0x250D877B: push eax */
   1002     PUSH32(esp, 0x24u); /* 0x250D877C: push 0x24 */
   1003     PUSH32(esp, esi); /* 0x250D877E: push esi */
   1004     RECOMP_ICALL(0x25137F92u); /* 0x250D877F: call 0x25137f92 */ /* not lifted */
   1005     RECOMP_FLAGS_IN();
   1006     /* test LO8(ebx), 1 */ /* 0x250D8784: test bl, 1 */
   1007     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   1008     _cf = 0;
   1009     _flag_k = FK_NARROW(FK_TEST, 24);
   1010     if (TEST_Z(_flag_a, _flag_b)) goto L_250D8792; /* 0x250D8787: je 0x250d8792 */
   1011 L_250D8789:
   1012     PUSH32(esp, edi); /* 0x250D8789: push edi */
   1013     RECOMP_ICALL(0x25137EECu); /* 0x250D878A: call 0x25137eec */ /* not lifted */
   1014     RECOMP_FLAGS_IN();
   1015     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1016     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1017     esp = esp + 4; /* 0x250D878F: add esp, 4 */
   1018     _flag_k = FK_ADD;
   1019 L_250D8792:
   1020     eax = edi; /* 0x250D8792: mov eax, edi */
   1021     edi = POP32_VAL(esp); /* 0x250D8794: pop edi */
   1022     esi = POP32_VAL(esp); /* 0x250D8795: pop esi */
   1023     ebx = POP32_VAL(esp); /* 0x250D8796: pop ebx */
   1024     ebp = POP32_VAL(esp); /* 0x250D8797: pop ebp */
   1025     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8798: ret 4 */
   1026 L_250D879B:
   1027     ecx = esi; /* 0x250D879B: mov ecx, esi */
   1028     RECOMP_ICALL(0x250E0E40u); /* 0x250D879D: call 0x250e0e40 */ /* not lifted */
   1029     RECOMP_FLAGS_IN();
   1030     /* test LO8(ebx), 1 */ /* 0x250D87A2: test bl, 1 */
   1031     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   1032     _cf = 0;
   1033     _flag_k = FK_NARROW(FK_TEST, 24);
   1034     if (TEST_Z(_flag_a, _flag_b)) goto L_250D87B0; /* 0x250D87A5: je 0x250d87b0 */
   1035 L_250D87A7:
   1036     PUSH32(esp, esi); /* 0x250D87A7: push esi */
   1037     RECOMP_ICALL(0x25137EECu); /* 0x250D87A8: call 0x25137eec */ /* not lifted */
   1038     RECOMP_FLAGS_IN();
   1039     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1040     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1041     esp = esp + 4; /* 0x250D87AD: add esp, 4 */
   1042     _flag_k = FK_ADD;
   1043 L_250D87B0:
   1044     eax = esi; /* 0x250D87B0: mov eax, esi */
   1045     esi = POP32_VAL(esp); /* 0x250D87B2: pop esi */
   1046     ebx = POP32_VAL(esp); /* 0x250D87B3: pop ebx */
   1047     ebp = POP32_VAL(esp); /* 0x250D87B4: pop ebp */
   1048     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D87B5: ret 4 */
   1049     RECOMP_REGS_OUT();
   1050 }
   1051 
   1052 void sub_250D87C0(void) {
   1053     int _fpu_cmp = 0;
   1054     uint32_t _cf = 0;
   1055     int _df = 1;
   1056     uint32_t _flag_k = FK_NONE;
   1057     uint32_t _flag_a = 0, _flag_b = 0;
   1058     uint32_t _itail_tgt = 0;
   1059     RECOMP_REGS_LOCALS
   1060     RECOMP_ENTER(0x250D87C0u);
   1061 
   1062 L_250D87C0:
   1063     PUSH32(esp, ebp); /* 0x250D87C0: push ebp */
   1064     ebp = esp; /* 0x250D87C1: mov ebp, esp */
   1065     SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250D87C3: mov al, byte ptr [ebp + 8] */
   1066     MEM8(ecx + 0x78) = (uint8_t)(LO8(eax)); /* 0x250D87C6: mov byte ptr [ecx + 0x78], al */
   1067     ebp = POP32_VAL(esp); /* 0x250D87C9: pop ebp */
   1068     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D87CA: ret 4 */
   1069     RECOMP_REGS_OUT();
   1070 }
   1071 
   1072 void sub_250D87D0(void) {
   1073     int _fpu_cmp = 0;
   1074     uint32_t _cf = 0;
   1075     int _df = 1;
   1076     uint32_t _flag_k = FK_NONE;
   1077     uint32_t _flag_a = 0, _flag_b = 0;
   1078     uint32_t _itail_tgt = 0;
   1079     RECOMP_REGS_LOCALS
   1080     RECOMP_ENTER(0x250D87D0u);
   1081 
   1082 L_250D87D0:
   1083     SET_LO8(eax, MEM8(ecx + 0x78)); /* 0x250D87D0: mov al, byte ptr [ecx + 0x78] */
   1084     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D87D3: ret  */
   1085     RECOMP_REGS_OUT();
   1086 }
   1087 
   1088 void sub_250D87E0(void) {
   1089     int _fpu_cmp = 0;
   1090     uint32_t _cf = 0;
   1091     int _df = 1;
   1092     uint32_t _flag_k = FK_NONE;
   1093     uint32_t _flag_a = 0, _flag_b = 0;
   1094     uint32_t _itail_tgt = 0;
   1095     RECOMP_REGS_LOCALS
   1096     RECOMP_ENTER(0x250D87E0u);
   1097 
   1098 L_250D87E0:
   1099     fp_push(*(float*)&MEM32(ecx + 0x74)); /* 0x250D87E0: fld dword ptr [ecx + 0x74] */
   1100     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D87E3: ret  */
   1101     RECOMP_REGS_OUT();
   1102 }
   1103 
   1104 void sub_250D87F0(void) {
   1105     int _fpu_cmp = 0;
   1106     uint32_t _cf = 0;
   1107     int _df = 1;
   1108     uint32_t _flag_k = FK_NONE;
   1109     uint32_t _flag_a = 0, _flag_b = 0;
   1110     uint32_t _itail_tgt = 0;
   1111     RECOMP_REGS_LOCALS
   1112     RECOMP_ENTER(0x250D87F0u);
   1113 
   1114 L_250D87F0:
   1115     PUSH32(esp, ebp); /* 0x250D87F0: push ebp */
   1116     ebp = esp; /* 0x250D87F1: mov ebp, esp */
   1117     PUSH32(esp, 0xFFFFFFFFu); /* 0x250D87F3: push -1 */
   1118     PUSH32(esp, 0x2514AAE9u); /* 0x250D87F5: push 0x2514aae9 */
   1119     eax = MEM32(FS_BASE + (0)); /* 0x250D87FA: mov eax, dword ptr fs:[0] */
   1120     PUSH32(esp, eax); /* 0x250D8800: push eax */
   1121     MEM32(FS_BASE + (0)) = esp; /* 0x250D8801: mov dword ptr fs:[0], esp */
   1122     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1123     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1124     esp = esp - 8; /* 0x250D8808: sub esp, 8 */
   1125     _flag_k = FK_CMP;
   1126     PUSH32(esp, ebx); /* 0x250D880B: push ebx */
   1127     ebx = MEM32(ebp + 0x8); /* 0x250D880C: mov ebx, dword ptr [ebp + 8] */
   1128     PUSH32(esp, esi); /* 0x250D880F: push esi */
   1129     PUSH32(esp, edi); /* 0x250D8810: push edi */
   1130     esi = ecx; /* 0x250D8811: mov esi, ecx */
   1131     PUSH32(esp, ebx); /* 0x250D8813: push ebx */
   1132     MEM32(ebp + (-0x14)) = esi; /* 0x250D8814: mov dword ptr [ebp - 0x14], esi */
   1133     RECOMP_ICALL(0x250E5AF0u); /* 0x250D8817: call 0x250e5af0 */ /* not lifted */
   1134     RECOMP_FLAGS_IN();
   1135     MEM32(esi) = 0x25158244u; /* 0x250D881C: mov dword ptr [esi], 0x25158244 */
   1136     eax = MEM32(ebx + 0x24); /* 0x250D8822: mov eax, dword ptr [ebx + 0x24] */
   1137     MEM32(esi + 0x24) = eax; /* 0x250D8825: mov dword ptr [esi + 0x24], eax */
   1138     ecx = MEM32(ebx + 0x28); /* 0x250D8828: mov ecx, dword ptr [ebx + 0x28] */
   1139     MEM32(esi + 0x28) = ecx; /* 0x250D882B: mov dword ptr [esi + 0x28], ecx */
   1140     edx = MEM32(ebx + 0x2C); /* 0x250D882E: mov edx, dword ptr [ebx + 0x2c] */
   1141     MEM32(esi + 0x2C) = edx; /* 0x250D8831: mov dword ptr [esi + 0x2c], edx */
   1142     eax = MEM32(ebx + 0x30); /* 0x250D8834: mov eax, dword ptr [ebx + 0x30] */
   1143     MEM32(esi + 0x30) = eax; /* 0x250D8837: mov dword ptr [esi + 0x30], eax */
   1144     SET_LO8(ecx, MEM8(ebx + 0x34)); /* 0x250D883A: mov cl, byte ptr [ebx + 0x34] */
   1145     MEM8(esi + 0x34) = (uint8_t)(LO8(ecx)); /* 0x250D883D: mov byte ptr [esi + 0x34], cl */
   1146     ecx = MEM32(ebx + 0x38); /* 0x250D8840: mov ecx, dword ptr [ebx + 0x38] */
   1147     /* test ecx, ecx */ /* 0x250D8843: test ecx, ecx */
   1148     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1149     _cf = 0;
   1150     _flag_k = FK_TEST;
   1151     MEM32(ebp + (-0x4)) = 0; /* 0x250D8845: mov dword ptr [ebp - 4], 0 */
   1152     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D8852; /* 0x250D884C: jne 0x250d8852 */
   1153 L_250D884E:
   1154     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1155     eax = 0; /* 0x250D884E: xor eax, eax */
   1156     _cf = 0;
   1157     _flag_k = FK_TEST;
   1158     goto L_250D885A; /* 0x250D8850: jmp 0x250d885a */
   1159 L_250D8852:
   1160     eax = MEM32(ebx + 0x3C); /* 0x250D8852: mov eax, dword ptr [ebx + 0x3c] */
   1161     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1162     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1163     eax = eax - ecx; /* 0x250D8855: sub eax, ecx */
   1164     _flag_k = FK_CMP;
   1165     if (4u) _cf = (((eax) >> 3) & 1u); /* 0x250D8857: sar eax, 4 */
   1166     if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1167     eax = (uint32_t)((int32_t)eax >> 4u);
   1168 L_250D885A:
   1169     /* test eax, eax */ /* 0x250D885A: test eax, eax */
   1170     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1171     _cf = 0;
   1172     _flag_k = FK_TEST;
   1173     if (TEST_NS(_flag_a, _flag_b)) goto L_250D8860; /* 0x250D885C: jge 0x250d8860 */
   1174 L_250D885E:
   1175     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1176     eax = 0; /* 0x250D885E: xor eax, eax */
   1177     _cf = 0;
   1178     _flag_k = FK_TEST;
   1179 L_250D8860:
   1180     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250D8860: shl eax, 4 */
   1181     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1182     eax = eax << 4u; /* 0x250D8860: shl eax, 4 */
   1183     PUSH32(esp, eax); /* 0x250D8863: push eax */
   1184     RECOMP_ICALL(0x251380D0u); /* 0x250D8864: call 0x251380d0 */ /* not lifted */
   1185     RECOMP_FLAGS_IN();
   1186     MEM32(esi + 0x38) = eax; /* 0x250D8869: mov dword ptr [esi + 0x38], eax */
   1187     edx = MEM32(ebx + 0x3C); /* 0x250D886C: mov edx, dword ptr [ebx + 0x3c] */
   1188     ecx = MEM32(ebx + 0x38); /* 0x250D886F: mov ecx, dword ptr [ebx + 0x38] */
   1189     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1190     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1191     esp = esp + 4; /* 0x250D8872: add esp, 4 */
   1192     _flag_k = FK_ADD;
   1193     /* cmp ecx, edx */ /* 0x250D8875: cmp ecx, edx */
   1194     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1195     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1196     _flag_k = FK_CMP;
   1197     MEM32(ebp + (-0x10)) = edx; /* 0x250D8877: mov dword ptr [ebp - 0x10], edx */
   1198     MEM32(ebp + 0x8) = ecx; /* 0x250D887A: mov dword ptr [ebp + 8], ecx */
   1199     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D88AE; /* 0x250D887D: je 0x250d88ae */
   1200 L_250D887F:
   1201     /* test eax, eax */ /* 0x250D887F: test eax, eax */
   1202     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1203     _cf = 0;
   1204     _flag_k = FK_TEST;
   1205     if (TEST_Z(_flag_a, _flag_b)) goto L_250D88A1; /* 0x250D8881: je 0x250d88a1 */
   1206 L_250D8883:
   1207     edi = MEM32(ecx); /* 0x250D8883: mov edi, dword ptr [ecx] */
   1208     edx = eax; /* 0x250D8885: mov edx, eax */
   1209     MEM32(edx) = edi; /* 0x250D8887: mov dword ptr [edx], edi */
   1210     edi = MEM32(ecx + 0x4); /* 0x250D8889: mov edi, dword ptr [ecx + 4] */
   1211     MEM32(edx + 0x4) = edi; /* 0x250D888C: mov dword ptr [edx + 4], edi */
   1212     edi = MEM32(ecx + 0x8); /* 0x250D888F: mov edi, dword ptr [ecx + 8] */
   1213     MEM32(edx + 0x8) = edi; /* 0x250D8892: mov dword ptr [edx + 8], edi */
   1214     ecx = MEM32(ecx + 0xC); /* 0x250D8895: mov ecx, dword ptr [ecx + 0xc] */
   1215     MEM32(edx + 0xC) = ecx; /* 0x250D8898: mov dword ptr [edx + 0xc], ecx */
   1216     ecx = MEM32(ebp + 0x8); /* 0x250D889B: mov ecx, dword ptr [ebp + 8] */
   1217     edx = MEM32(ebp + (-0x10)); /* 0x250D889E: mov edx, dword ptr [ebp - 0x10] */
   1218 L_250D88A1:
   1219     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u);
   1220     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1221     ecx = ecx + 0x10u; /* 0x250D88A1: add ecx, 0x10 */
   1222     _flag_k = FK_ADD;
   1223     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u);
   1224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1225     eax = eax + 0x10u; /* 0x250D88A4: add eax, 0x10 */
   1226     _flag_k = FK_ADD;
   1227     /* cmp ecx, edx */ /* 0x250D88A7: cmp ecx, edx */
   1228     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1229     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1230     _flag_k = FK_CMP;
   1231     MEM32(ebp + 0x8) = ecx; /* 0x250D88A9: mov dword ptr [ebp + 8], ecx */
   1232     RECOMP_BACKEDGE();
   1233     if (CMP_NE(_flag_a, _flag_b)) goto L_250D887F; /* 0x250D88AC: jne 0x250d887f */
   1234 L_250D88AE:
   1235     MEM32(esi + 0x3C) = eax; /* 0x250D88AE: mov dword ptr [esi + 0x3c], eax */
   1236     MEM32(esi + 0x40) = eax; /* 0x250D88B1: mov dword ptr [esi + 0x40], eax */
   1237     SET_LO8(edx, MEM8(ebx + 0x44)); /* 0x250D88B4: mov dl, byte ptr [ebx + 0x44] */
   1238     MEM8(esi + 0x44) = (uint8_t)(LO8(edx)); /* 0x250D88B7: mov byte ptr [esi + 0x44], dl */
   1239     eax = MEM32(ebx + 0x48); /* 0x250D88BA: mov eax, dword ptr [ebx + 0x48] */
   1240     /* test eax, eax */ /* 0x250D88BD: test eax, eax */
   1241     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1242     _cf = 0;
   1243     _flag_k = FK_TEST;
   1244     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250D88BF: mov byte ptr [ebp - 4], 1 */
   1245     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D88C9; /* 0x250D88C3: jne 0x250d88c9 */
   1246 L_250D88C5:
   1247     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1248     edx = 0; /* 0x250D88C5: xor edx, edx */
   1249     _cf = 0;
   1250     _flag_k = FK_TEST;
   1251     goto L_250D88DF; /* 0x250D88C7: jmp 0x250d88df */
   1252 L_250D88C9:
   1253     ecx = MEM32(ebx + 0x4C); /* 0x250D88C9: mov ecx, dword ptr [ebx + 0x4c] */
   1254     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1256     ecx = ecx - eax; /* 0x250D88CC: sub ecx, eax */
   1257     _flag_k = FK_CMP;
   1258     eax = 0x66666667u; /* 0x250D88CE: mov eax, 0x66666667 */
   1259     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250D88D3: imul ecx */
   1260       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   1261       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   1262     if (3u) _cf = (((edx) >> 2) & 1u); /* 0x250D88D5: sar edx, 3 */
   1263     if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1264     edx = (uint32_t)((int32_t)edx >> 3u);
   1265     eax = edx; /* 0x250D88D8: mov eax, edx */
   1266     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250D88DA: shr eax, 0x1f */
   1267     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1268     eax = eax >> 31u; /* 0x250D88DA: shr eax, 0x1f */
   1269     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   1270     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1271     edx = edx + eax; /* 0x250D88DD: add edx, eax */
   1272     _flag_k = FK_ADD;
   1273 L_250D88DF:
   1274     /* test edx, edx */ /* 0x250D88DF: test edx, edx */
   1275     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   1276     _cf = 0;
   1277     _flag_k = FK_TEST;
   1278     eax = edx; /* 0x250D88E1: mov eax, edx */
   1279     if (TEST_NS(_flag_a, _flag_b)) goto L_250D88E7; /* 0x250D88E3: jge 0x250d88e7 */
   1280 L_250D88E5:
   1281     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1282     eax = 0; /* 0x250D88E5: xor eax, eax */
   1283     _cf = 0;
   1284     _flag_k = FK_TEST;
   1285 L_250D88E7:
   1286     ecx = eax + eax * 4; /* 0x250D88E7: lea ecx, [eax + eax*4] */
   1287     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x250D88EA: shl ecx, 2 */
   1288     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1289     ecx = ecx << 2u; /* 0x250D88EA: shl ecx, 2 */
   1290     PUSH32(esp, ecx); /* 0x250D88ED: push ecx */
   1291     RECOMP_ICALL(0x251380D0u); /* 0x250D88EE: call 0x251380d0 */ /* not lifted */
   1292     RECOMP_FLAGS_IN();
   1293     MEM32(esi + 0x48) = eax; /* 0x250D88F3: mov dword ptr [esi + 0x48], eax */
   1294     ecx = MEM32(ebx + 0x4C); /* 0x250D88F6: mov ecx, dword ptr [ebx + 0x4c] */
   1295     edx = MEM32(ebx + 0x48); /* 0x250D88F9: mov edx, dword ptr [ebx + 0x48] */
   1296     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1297     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1298     esp = esp + 4; /* 0x250D88FC: add esp, 4 */
   1299     _flag_k = FK_ADD;
   1300     /* cmp edx, ecx */ /* 0x250D88FF: cmp edx, ecx */
   1301     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   1302     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1303     _flag_k = FK_CMP;
   1304     MEM32(ebp + 0x8) = ecx; /* 0x250D8901: mov dword ptr [ebp + 8], ecx */
   1305     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D8925; /* 0x250D8904: je 0x250d8925 */
   1306 L_250D8906:
   1307     /* test eax, eax */ /* 0x250D8906: test eax, eax */
   1308     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1309     _cf = 0;
   1310     _flag_k = FK_TEST;
   1311     if (TEST_Z(_flag_a, _flag_b)) goto L_250D891B; /* 0x250D8908: je 0x250d891b */
   1312 L_250D890A:
   1313     ecx = 5; /* 0x250D890A: mov ecx, 5 */
   1314     esi = edx; /* 0x250D890F: mov esi, edx */
   1315     edi = eax; /* 0x250D8911: mov edi, eax */
   1316     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250D8913: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   1317     esi = MEM32(ebp + (-0x14)); /* 0x250D8915: mov esi, dword ptr [ebp - 0x14] */
   1318     ecx = MEM32(ebp + 0x8); /* 0x250D8918: mov ecx, dword ptr [ebp + 8] */
   1319 L_250D891B:
   1320     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x14u);
   1321     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1322     edx = edx + 0x14u; /* 0x250D891B: add edx, 0x14 */
   1323     _flag_k = FK_ADD;
   1324     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u);
   1325     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1326     eax = eax + 0x14u; /* 0x250D891E: add eax, 0x14 */
   1327     _flag_k = FK_ADD;
   1328     /* cmp edx, ecx */ /* 0x250D8921: cmp edx, ecx */
   1329     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   1330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1331     _flag_k = FK_CMP;
   1332     RECOMP_BACKEDGE();
   1333     if (CMP_NE(_flag_a, _flag_b)) goto L_250D8906; /* 0x250D8923: jne 0x250d8906 */
   1334 L_250D8925:
   1335     MEM32(esi + 0x4C) = eax; /* 0x250D8925: mov dword ptr [esi + 0x4c], eax */
   1336     MEM32(esi + 0x50) = eax; /* 0x250D8928: mov dword ptr [esi + 0x50], eax */
   1337     SET_LO8(edx, MEM8(ebx + 0x54)); /* 0x250D892B: mov dl, byte ptr [ebx + 0x54] */
   1338     MEM8(esi + 0x54) = (uint8_t)(LO8(edx)); /* 0x250D892E: mov byte ptr [esi + 0x54], dl */
   1339     ecx = MEM32(ebx + 0x58); /* 0x250D8931: mov ecx, dword ptr [ebx + 0x58] */
   1340     /* test ecx, ecx */ /* 0x250D8934: test ecx, ecx */
   1341     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1342     _cf = 0;
   1343     _flag_k = FK_TEST;
   1344     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250D8936: mov byte ptr [ebp - 4], 2 */
   1345     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D8940; /* 0x250D893A: jne 0x250d8940 */
   1346 L_250D893C:
   1347     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1348     eax = 0; /* 0x250D893C: xor eax, eax */
   1349     _cf = 0;
   1350     _flag_k = FK_TEST;
   1351     goto L_250D8948; /* 0x250D893E: jmp 0x250d8948 */
   1352 L_250D8940:
   1353     eax = MEM32(ebx + 0x5C); /* 0x250D8940: mov eax, dword ptr [ebx + 0x5c] */
   1354     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1356     eax = eax - ecx; /* 0x250D8943: sub eax, ecx */
   1357     _flag_k = FK_CMP;
   1358     if (3u) _cf = (((eax) >> 2) & 1u); /* 0x250D8945: sar eax, 3 */
   1359     if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1360     eax = (uint32_t)((int32_t)eax >> 3u);
   1361 L_250D8948:
   1362     /* test eax, eax */ /* 0x250D8948: test eax, eax */
   1363     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1364     _cf = 0;
   1365     _flag_k = FK_TEST;
   1366     if (TEST_NS(_flag_a, _flag_b)) goto L_250D894E; /* 0x250D894A: jge 0x250d894e */
   1367 L_250D894C:
   1368     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1369     eax = 0; /* 0x250D894C: xor eax, eax */
   1370     _cf = 0;
   1371     _flag_k = FK_TEST;
   1372 L_250D894E:
   1373     if (3u) _cf = (((eax) >> 29) & 1u); /* 0x250D894E: shl eax, 3 */
   1374     if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1375     eax = eax << 3u; /* 0x250D894E: shl eax, 3 */
   1376     PUSH32(esp, eax); /* 0x250D8951: push eax */
   1377     RECOMP_ICALL(0x251380D0u); /* 0x250D8952: call 0x251380d0 */ /* not lifted */
   1378     RECOMP_FLAGS_IN();
   1379     MEM32(esi + 0x58) = eax; /* 0x250D8957: mov dword ptr [esi + 0x58], eax */
   1380     edx = MEM32(ebx + 0x5C); /* 0x250D895A: mov edx, dword ptr [ebx + 0x5c] */
   1381     ecx = MEM32(ebx + 0x58); /* 0x250D895D: mov ecx, dword ptr [ebx + 0x58] */
   1382     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1383     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1384     esp = esp + 4; /* 0x250D8960: add esp, 4 */
   1385     _flag_k = FK_ADD;
   1386     /* cmp ecx, edx */ /* 0x250D8963: cmp ecx, edx */
   1387     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1388     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1389     _flag_k = FK_CMP;
   1390     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D897F; /* 0x250D8965: je 0x250d897f */
   1391 L_250D8967:
   1392     /* test eax, eax */ /* 0x250D8967: test eax, eax */
   1393     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1394     _cf = 0;
   1395     _flag_k = FK_TEST;
   1396     if (TEST_Z(_flag_a, _flag_b)) goto L_250D8975; /* 0x250D8969: je 0x250d8975 */
   1397 L_250D896B:
   1398     edi = MEM32(ecx); /* 0x250D896B: mov edi, dword ptr [ecx] */
   1399     MEM32(eax) = edi; /* 0x250D896D: mov dword ptr [eax], edi */
   1400     edi = MEM32(ecx + 0x4); /* 0x250D896F: mov edi, dword ptr [ecx + 4] */
   1401     MEM32(eax + 0x4) = edi; /* 0x250D8972: mov dword ptr [eax + 4], edi */
   1402 L_250D8975:
   1403     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   1404     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1405     ecx = ecx + 8; /* 0x250D8975: add ecx, 8 */
   1406     _flag_k = FK_ADD;
   1407     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
   1408     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1409     eax = eax + 8; /* 0x250D8978: add eax, 8 */
   1410     _flag_k = FK_ADD;
   1411     /* cmp ecx, edx */ /* 0x250D897B: cmp ecx, edx */
   1412     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1413     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1414     _flag_k = FK_CMP;
   1415     RECOMP_BACKEDGE();
   1416     if (CMP_NE(_flag_a, _flag_b)) goto L_250D8967; /* 0x250D897D: jne 0x250d8967 */
   1417 L_250D897F:
   1418     MEM32(esi + 0x5C) = eax; /* 0x250D897F: mov dword ptr [esi + 0x5c], eax */
   1419     MEM32(esi + 0x60) = eax; /* 0x250D8982: mov dword ptr [esi + 0x60], eax */
   1420     SET_LO8(ecx, MEM8(ebx + 0x64)); /* 0x250D8985: mov cl, byte ptr [ebx + 0x64] */
   1421     edi = esi + 0x64; /* 0x250D8988: lea edi, [esi + 0x64] */
   1422     MEM8(edi) = (uint8_t)(LO8(ecx)); /* 0x250D898B: mov byte ptr [edi], cl */
   1423     eax = MEM32(ebx + 0x68); /* 0x250D898D: mov eax, dword ptr [ebx + 0x68] */
   1424     /* test eax, eax */ /* 0x250D8990: test eax, eax */
   1425     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1426     _cf = 0;
   1427     _flag_k = FK_TEST;
   1428     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250D8992: mov byte ptr [ebp - 4], 3 */
   1429     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D899C; /* 0x250D8996: jne 0x250d899c */
   1430 L_250D8998:
   1431     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1432     edx = 0; /* 0x250D8998: xor edx, edx */
   1433     _cf = 0;
   1434     _flag_k = FK_TEST;
   1435     goto L_250D89B2; /* 0x250D899A: jmp 0x250d89b2 */
   1436 L_250D899C:
   1437     ecx = MEM32(ebx + 0x6C); /* 0x250D899C: mov ecx, dword ptr [ebx + 0x6c] */
   1438     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1439     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1440     ecx = ecx - eax; /* 0x250D899F: sub ecx, eax */
   1441     _flag_k = FK_CMP;
   1442     eax = 0x2AAAAAABu; /* 0x250D89A1: mov eax, 0x2aaaaaab */
   1443     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250D89A6: imul ecx */
   1444       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   1445       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   1446     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x250D89A8: sar edx, 2 */
   1447     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1448     edx = (uint32_t)((int32_t)edx >> 2u);
   1449     eax = edx; /* 0x250D89AB: mov eax, edx */
   1450     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250D89AD: shr eax, 0x1f */
   1451     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1452     eax = eax >> 31u; /* 0x250D89AD: shr eax, 0x1f */
   1453     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   1454     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1455     edx = edx + eax; /* 0x250D89B0: add edx, eax */
   1456     _flag_k = FK_ADD;
   1457 L_250D89B2:
   1458     /* test edx, edx */ /* 0x250D89B2: test edx, edx */
   1459     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   1460     _cf = 0;
   1461     _flag_k = FK_TEST;
   1462     eax = edx; /* 0x250D89B4: mov eax, edx */
   1463     if (TEST_NS(_flag_a, _flag_b)) goto L_250D89BA; /* 0x250D89B6: jge 0x250d89ba */
   1464 L_250D89B8:
   1465     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1466     eax = 0; /* 0x250D89B8: xor eax, eax */
   1467     _cf = 0;
   1468     _flag_k = FK_TEST;
   1469 L_250D89BA:
   1470     ecx = eax + eax * 2; /* 0x250D89BA: lea ecx, [eax + eax*2] */
   1471     if (3u) _cf = (((ecx) >> 29) & 1u); /* 0x250D89BD: shl ecx, 3 */
   1472     if (3u) { _flag_a = recomp_flags_pack((ecx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1473     ecx = ecx << 3u; /* 0x250D89BD: shl ecx, 3 */
   1474     PUSH32(esp, ecx); /* 0x250D89C0: push ecx */
   1475     RECOMP_ICALL(0x251380D0u); /* 0x250D89C1: call 0x251380d0 */ /* not lifted */
   1476     RECOMP_FLAGS_IN();
   1477     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1478     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1479     esp = esp + 4; /* 0x250D89C6: add esp, 4 */
   1480     _flag_k = FK_ADD;
   1481     MEM32(edi + 0x4) = eax; /* 0x250D89C9: mov dword ptr [edi + 4], eax */
   1482     ecx = MEM32(ebx + 0x6C); /* 0x250D89CC: mov ecx, dword ptr [ebx + 0x6c] */
   1483     edx = MEM32(ebx + 0x68); /* 0x250D89CF: mov edx, dword ptr [ebx + 0x68] */
   1484     PUSH32(esp, eax); /* 0x250D89D2: push eax */
   1485     PUSH32(esp, ecx); /* 0x250D89D3: push ecx */
   1486     PUSH32(esp, edx); /* 0x250D89D4: push edx */
   1487     ecx = edi; /* 0x250D89D5: mov ecx, edi */
   1488     RECOMP_ICALL(0x250DDF00u); /* 0x250D89D7: call 0x250ddf00 */ /* not lifted */
   1489     RECOMP_FLAGS_IN();
   1490     MEM32(edi + 0x8) = eax; /* 0x250D89DC: mov dword ptr [edi + 8], eax */
   1491     MEM32(edi + 0xC) = eax; /* 0x250D89DF: mov dword ptr [edi + 0xc], eax */
   1492     edx = MEM32(ebx + 0x74); /* 0x250D89E2: mov edx, dword ptr [ebx + 0x74] */
   1493     MEM32(esi + 0x74) = edx; /* 0x250D89E5: mov dword ptr [esi + 0x74], edx */
   1494     SET_LO8(eax, MEM8(ebx + 0x78)); /* 0x250D89E8: mov al, byte ptr [ebx + 0x78] */
   1495     MEM8(esi + 0x78) = (uint8_t)(LO8(eax)); /* 0x250D89EB: mov byte ptr [esi + 0x78], al */
   1496     ecx = MEM32(ebx + 0x7C); /* 0x250D89EE: mov ecx, dword ptr [ebx + 0x7c] */
   1497     MEM32(esi + 0x7C) = ecx; /* 0x250D89F1: mov dword ptr [esi + 0x7c], ecx */
   1498     edx = MEM32(ebx + 0x80); /* 0x250D89F4: mov edx, dword ptr [ebx + 0x80] */
   1499     MEM32(esi + 0x80) = edx; /* 0x250D89FA: mov dword ptr [esi + 0x80], edx */
   1500     eax = MEM32(ebx + 0x84); /* 0x250D8A00: mov eax, dword ptr [ebx + 0x84] */
   1501     MEM32(esi + 0x84) = eax; /* 0x250D8A06: mov dword ptr [esi + 0x84], eax */
   1502     ecx = MEM32(ebx + 0x88); /* 0x250D8A0C: mov ecx, dword ptr [ebx + 0x88] */
   1503     MEM32(esi + 0x88) = ecx; /* 0x250D8A12: mov dword ptr [esi + 0x88], ecx */
   1504     ecx = MEM32(ebp + (-0xC)); /* 0x250D8A18: mov ecx, dword ptr [ebp - 0xc] */
   1505     edi = POP32_VAL(esp); /* 0x250D8A1B: pop edi */
   1506     MEM32(esi) = 0x25158264u; /* 0x250D8A1C: mov dword ptr [esi], 0x25158264 */
   1507     eax = esi; /* 0x250D8A22: mov eax, esi */
   1508     esi = POP32_VAL(esp); /* 0x250D8A24: pop esi */
   1509     ebx = POP32_VAL(esp); /* 0x250D8A25: pop ebx */
   1510     MEM32(FS_BASE + (0)) = ecx; /* 0x250D8A26: mov dword ptr fs:[0], ecx */
   1511     esp = ebp; /* 0x250D8A2D: mov esp, ebp */
   1512     ebp = POP32_VAL(esp); /* 0x250D8A2F: pop ebp */
   1513     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8A30: ret 4 */
   1514     RECOMP_REGS_OUT();
   1515 }
   1516 
   1517 void sub_250D8A40(void) {
   1518     int _fpu_cmp = 0;
   1519     uint32_t _cf = 0;
   1520     int _df = 1;
   1521     uint32_t _flag_k = FK_NONE;
   1522     uint32_t _flag_a = 0, _flag_b = 0;
   1523     uint32_t _itail_tgt = 0;
   1524     RECOMP_REGS_LOCALS
   1525     RECOMP_ENTER(0x250D8A40u);
   1526 
   1527 L_250D8A40:
   1528     PUSH32(esp, ebp); /* 0x250D8A40: push ebp */
   1529     ebp = esp; /* 0x250D8A41: mov ebp, esp */
   1530     PUSH32(esp, ecx); /* 0x250D8A43: push ecx */
   1531     PUSH32(esp, esi); /* 0x250D8A44: push esi */
   1532     esi = ecx; /* 0x250D8A45: mov esi, ecx */
   1533     eax = MEM32(esi + 0x68); /* 0x250D8A47: mov eax, dword ptr [esi + 0x68] */
   1534     PUSH32(esp, edi); /* 0x250D8A4A: push edi */
   1535     PUSH32(esp, eax); /* 0x250D8A4B: push eax */
   1536     MEM32(ebp + (-0x4)) = eax; /* 0x250D8A4C: mov dword ptr [ebp - 4], eax */
   1537     RECOMP_ICALL(0x25137EECu); /* 0x250D8A4F: call 0x25137eec */ /* not lifted */
   1538     RECOMP_FLAGS_IN();
   1539     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1540     edi = 0; /* 0x250D8A54: xor edi, edi */
   1541     _cf = 0;
   1542     _flag_k = FK_TEST;
   1543     MEM32(esi + 0x68) = edi; /* 0x250D8A56: mov dword ptr [esi + 0x68], edi */
   1544     MEM32(esi + 0x6C) = edi; /* 0x250D8A59: mov dword ptr [esi + 0x6c], edi */
   1545     MEM32(esi + 0x70) = edi; /* 0x250D8A5C: mov dword ptr [esi + 0x70], edi */
   1546     eax = MEM32(esi + 0x58); /* 0x250D8A5F: mov eax, dword ptr [esi + 0x58] */
   1547     PUSH32(esp, eax); /* 0x250D8A62: push eax */
   1548     MEM32(ebp + (-0x4)) = eax; /* 0x250D8A63: mov dword ptr [ebp - 4], eax */
   1549     RECOMP_ICALL(0x25137EECu); /* 0x250D8A66: call 0x25137eec */ /* not lifted */
   1550     RECOMP_FLAGS_IN();
   1551     MEM32(esi + 0x58) = edi; /* 0x250D8A6B: mov dword ptr [esi + 0x58], edi */
   1552     MEM32(esi + 0x5C) = edi; /* 0x250D8A6E: mov dword ptr [esi + 0x5c], edi */
   1553     MEM32(esi + 0x60) = edi; /* 0x250D8A71: mov dword ptr [esi + 0x60], edi */
   1554     eax = MEM32(esi + 0x48); /* 0x250D8A74: mov eax, dword ptr [esi + 0x48] */
   1555     PUSH32(esp, eax); /* 0x250D8A77: push eax */
   1556     MEM32(ebp + (-0x4)) = eax; /* 0x250D8A78: mov dword ptr [ebp - 4], eax */
   1557     RECOMP_ICALL(0x25137EECu); /* 0x250D8A7B: call 0x25137eec */ /* not lifted */
   1558     RECOMP_FLAGS_IN();
   1559     MEM32(esi + 0x48) = edi; /* 0x250D8A80: mov dword ptr [esi + 0x48], edi */
   1560     MEM32(esi + 0x4C) = edi; /* 0x250D8A83: mov dword ptr [esi + 0x4c], edi */
   1561     MEM32(esi + 0x50) = edi; /* 0x250D8A86: mov dword ptr [esi + 0x50], edi */
   1562     eax = MEM32(esi + 0x38); /* 0x250D8A89: mov eax, dword ptr [esi + 0x38] */
   1563     PUSH32(esp, eax); /* 0x250D8A8C: push eax */
   1564     MEM32(ebp + (-0x4)) = eax; /* 0x250D8A8D: mov dword ptr [ebp - 4], eax */
   1565     RECOMP_ICALL(0x25137EECu); /* 0x250D8A90: call 0x25137eec */ /* not lifted */
   1566     RECOMP_FLAGS_IN();
   1567     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1568     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1569     esp = esp + 0x10u; /* 0x250D8A95: add esp, 0x10 */
   1570     _flag_k = FK_ADD;
   1571     ecx = esi; /* 0x250D8A98: mov ecx, esi */
   1572     MEM32(esi + 0x38) = edi; /* 0x250D8A9A: mov dword ptr [esi + 0x38], edi */
   1573     MEM32(esi + 0x3C) = edi; /* 0x250D8A9D: mov dword ptr [esi + 0x3c], edi */
   1574     MEM32(esi + 0x40) = edi; /* 0x250D8AA0: mov dword ptr [esi + 0x40], edi */
   1575     RECOMP_ICALL(0x250E62B0u); /* 0x250D8AA3: call 0x250e62b0 */ /* not lifted */
   1576     RECOMP_FLAGS_IN();
   1577     edi = POP32_VAL(esp); /* 0x250D8AA8: pop edi */
   1578     esi = POP32_VAL(esp); /* 0x250D8AA9: pop esi */
   1579     esp = ebp; /* 0x250D8AAA: mov esp, ebp */
   1580     ebp = POP32_VAL(esp); /* 0x250D8AAC: pop ebp */
   1581     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8AAD: ret  */
   1582     RECOMP_REGS_OUT();
   1583 }
   1584 
   1585 void sub_250D8AB0(void) {
   1586     int _fpu_cmp = 0;
   1587     uint32_t _cf = 0;
   1588     int _df = 1;
   1589     uint32_t _flag_k = FK_NONE;
   1590     uint32_t _flag_a = 0, _flag_b = 0;
   1591     uint32_t _itail_tgt = 0;
   1592     RECOMP_REGS_LOCALS
   1593     RECOMP_ENTER(0x250D8AB0u);
   1594 
   1595 L_250D8AB0:
   1596     PUSH32(esp, ebp); /* 0x250D8AB0: push ebp */
   1597     ebp = esp; /* 0x250D8AB1: mov ebp, esp */
   1598     ecx = MEM32(ecx + 0x38); /* 0x250D8AB3: mov ecx, dword ptr [ecx + 0x38] */
   1599     eax = MEM32(ebp + 0xC); /* 0x250D8AB6: mov eax, dword ptr [ebp + 0xc] */
   1600     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250D8AB9: shl eax, 4 */
   1601     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1602     eax = eax << 4u; /* 0x250D8AB9: shl eax, 4 */
   1603     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1604     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1605     ecx = ecx + eax; /* 0x250D8ABC: add ecx, eax */
   1606     _flag_k = FK_ADD;
   1607     eax = MEM32(ebp + 0x8); /* 0x250D8ABE: mov eax, dword ptr [ebp + 8] */
   1608     PUSH32(esp, esi); /* 0x250D8AC1: push esi */
   1609     esi = MEM32(ecx); /* 0x250D8AC2: mov esi, dword ptr [ecx] */
   1610     edx = eax; /* 0x250D8AC4: mov edx, eax */
   1611     MEM32(edx) = esi; /* 0x250D8AC6: mov dword ptr [edx], esi */
   1612     esi = MEM32(ecx + 0x4); /* 0x250D8AC8: mov esi, dword ptr [ecx + 4] */
   1613     MEM32(edx + 0x4) = esi; /* 0x250D8ACB: mov dword ptr [edx + 4], esi */
   1614     ecx = MEM32(ecx + 0x8); /* 0x250D8ACE: mov ecx, dword ptr [ecx + 8] */
   1615     MEM32(edx + 0x8) = ecx; /* 0x250D8AD1: mov dword ptr [edx + 8], ecx */
   1616     esi = POP32_VAL(esp); /* 0x250D8AD4: pop esi */
   1617     ebp = POP32_VAL(esp); /* 0x250D8AD5: pop ebp */
   1618     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D8AD6: ret 8 */
   1619     RECOMP_REGS_OUT();
   1620 }
   1621 
   1622 void sub_250D8AE0(void) {
   1623     int _fpu_cmp = 0;
   1624     uint32_t _cf = 0;
   1625     int _df = 1;
   1626     uint32_t _flag_k = FK_NONE;
   1627     uint32_t _flag_a = 0, _flag_b = 0;
   1628     uint32_t _itail_tgt = 0;
   1629     RECOMP_REGS_LOCALS
   1630     RECOMP_ENTER(0x250D8AE0u);
   1631 
   1632 L_250D8AE0:
   1633     PUSH32(esp, ebp); /* 0x250D8AE0: push ebp */
   1634     ebp = esp; /* 0x250D8AE1: mov ebp, esp */
   1635     ecx = MEM32(ecx + 0x48); /* 0x250D8AE3: mov ecx, dword ptr [ecx + 0x48] */
   1636     eax = MEM32(ebp + 0xC); /* 0x250D8AE6: mov eax, dword ptr [ebp + 0xc] */
   1637     eax = eax + eax * 4; /* 0x250D8AE9: lea eax, [eax + eax*4] */
   1638     edx = ecx + eax * 4; /* 0x250D8AEC: lea edx, [ecx + eax*4] */
   1639     eax = MEM32(ebp + 0x8); /* 0x250D8AEF: mov eax, dword ptr [ebp + 8] */
   1640     PUSH32(esp, esi); /* 0x250D8AF2: push esi */
   1641     esi = MEM32(edx); /* 0x250D8AF3: mov esi, dword ptr [edx] */
   1642     ecx = eax; /* 0x250D8AF5: mov ecx, eax */
   1643     MEM32(ecx) = esi; /* 0x250D8AF7: mov dword ptr [ecx], esi */
   1644     esi = MEM32(edx + 0x4); /* 0x250D8AF9: mov esi, dword ptr [edx + 4] */
   1645     MEM32(ecx + 0x4) = esi; /* 0x250D8AFC: mov dword ptr [ecx + 4], esi */
   1646     esi = MEM32(edx + 0x8); /* 0x250D8AFF: mov esi, dword ptr [edx + 8] */
   1647     MEM32(ecx + 0x8) = esi; /* 0x250D8B02: mov dword ptr [ecx + 8], esi */
   1648     edx = MEM32(edx + 0xC); /* 0x250D8B05: mov edx, dword ptr [edx + 0xc] */
   1649     MEM32(ecx + 0xC) = edx; /* 0x250D8B08: mov dword ptr [ecx + 0xc], edx */
   1650     esi = POP32_VAL(esp); /* 0x250D8B0B: pop esi */
   1651     ebp = POP32_VAL(esp); /* 0x250D8B0C: pop ebp */
   1652     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D8B0D: ret 8 */
   1653     RECOMP_REGS_OUT();
   1654 }
   1655 
   1656 void sub_250D8B10(void) {
   1657     int _fpu_cmp = 0;
   1658     uint32_t _cf = 0;
   1659     int _df = 1;
   1660     uint32_t _flag_k = FK_NONE;
   1661     uint32_t _flag_a = 0, _flag_b = 0;
   1662     uint32_t _itail_tgt = 0;
   1663     RECOMP_REGS_LOCALS
   1664     RECOMP_ENTER(0x250D8B10u);
   1665 
   1666 L_250D8B10:
   1667     PUSH32(esp, ebp); /* 0x250D8B10: push ebp */
   1668     ebp = esp; /* 0x250D8B11: mov ebp, esp */
   1669     eax = MEM32(ecx + 0x58); /* 0x250D8B13: mov eax, dword ptr [ecx + 0x58] */
   1670     ecx = MEM32(ebp + 0x8); /* 0x250D8B16: mov ecx, dword ptr [ebp + 8] */
   1671     SET_LO8(eax, MEM8(eax + ecx * 8 + 0x4)); /* 0x250D8B19: mov al, byte ptr [eax + ecx*8 + 4] */
   1672     ebp = POP32_VAL(esp); /* 0x250D8B1D: pop ebp */
   1673     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8B1E: ret 4 */
   1674     RECOMP_REGS_OUT();
   1675 }
   1676 
   1677 void sub_250D8B30(void) {
   1678     int _fpu_cmp = 0;
   1679     uint32_t _cf = 0;
   1680     int _df = 1;
   1681     uint32_t _flag_k = FK_NONE;
   1682     uint32_t _flag_a = 0, _flag_b = 0;
   1683     uint32_t _itail_tgt = 0;
   1684     RECOMP_REGS_LOCALS
   1685     RECOMP_ENTER(0x250D8B30u);
   1686 
   1687 L_250D8B30:
   1688     PUSH32(esp, ebp); /* 0x250D8B30: push ebp */
   1689     ebp = esp; /* 0x250D8B31: mov ebp, esp */
   1690     eax = MEM32(ebp + 0x8); /* 0x250D8B33: mov eax, dword ptr [ebp + 8] */
   1691     ecx = MEM32(ecx + 0x38); /* 0x250D8B36: mov ecx, dword ptr [ecx + 0x38] */
   1692     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250D8B39: shl eax, 4 */
   1693     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1694     eax = eax << 4u; /* 0x250D8B39: shl eax, 4 */
   1695     fp_push(*(float*)&MEM32(ecx + eax + 0xC)); /* 0x250D8B3C: fld dword ptr [ecx + eax + 0xc] */
   1696     ebp = POP32_VAL(esp); /* 0x250D8B40: pop ebp */
   1697     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8B41: ret 4 */
   1698     RECOMP_REGS_OUT();
   1699 }
   1700 
   1701 void sub_250D8B50(void) {
   1702     int _fpu_cmp = 0;
   1703     uint32_t _cf = 0;
   1704     int _df = 1;
   1705     uint32_t _flag_k = FK_NONE;
   1706     uint32_t _flag_a = 0, _flag_b = 0;
   1707     uint32_t _itail_tgt = 0;
   1708     RECOMP_REGS_LOCALS
   1709     RECOMP_ENTER(0x250D8B50u);
   1710 
   1711 L_250D8B50:
   1712     PUSH32(esp, ebp); /* 0x250D8B50: push ebp */
   1713     ebp = esp; /* 0x250D8B51: mov ebp, esp */
   1714     eax = MEM32(ebp + 0x8); /* 0x250D8B53: mov eax, dword ptr [ebp + 8] */
   1715     ecx = MEM32(ecx + 0x48); /* 0x250D8B56: mov ecx, dword ptr [ecx + 0x48] */
   1716     eax = eax + eax * 4; /* 0x250D8B59: lea eax, [eax + eax*4] */
   1717     fp_push(*(float*)&MEM32(ecx + eax * 4 + 0x10)); /* 0x250D8B5C: fld dword ptr [ecx + eax*4 + 0x10] */
   1718     ebp = POP32_VAL(esp); /* 0x250D8B60: pop ebp */
   1719     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8B61: ret 4 */
   1720     RECOMP_REGS_OUT();
   1721 }
   1722 
   1723 void sub_250D8B70(void) {
   1724     int _fpu_cmp = 0;
   1725     uint32_t _cf = 0;
   1726     int _df = 1;
   1727     uint32_t _flag_k = FK_NONE;
   1728     uint32_t _flag_a = 0, _flag_b = 0;
   1729     uint32_t _itail_tgt = 0;
   1730     RECOMP_REGS_LOCALS
   1731     RECOMP_ENTER(0x250D8B70u);
   1732 
   1733 L_250D8B70:
   1734     PUSH32(esp, ebp); /* 0x250D8B70: push ebp */
   1735     ebp = esp; /* 0x250D8B71: mov ebp, esp */
   1736     eax = MEM32(ecx + 0x58); /* 0x250D8B73: mov eax, dword ptr [ecx + 0x58] */
   1737     ecx = MEM32(ebp + 0x8); /* 0x250D8B76: mov ecx, dword ptr [ebp + 8] */
   1738     fp_push(*(float*)&MEM32(eax + ecx * 8)); /* 0x250D8B79: fld dword ptr [eax + ecx*8] */
   1739     ebp = POP32_VAL(esp); /* 0x250D8B7C: pop ebp */
   1740     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8B7D: ret 4 */
   1741     RECOMP_REGS_OUT();
   1742 }
   1743 
   1744 void sub_250D8B80(void) {
   1745     int _fpu_cmp = 0;
   1746     uint32_t _cf = 0;
   1747     int _df = 1;
   1748     uint32_t _flag_k = FK_NONE;
   1749     uint32_t _flag_a = 0, _flag_b = 0;
   1750     uint32_t _itail_tgt = 0;
   1751     RECOMP_REGS_LOCALS
   1752     RECOMP_ENTER(0x250D8B80u);
   1753 
   1754 L_250D8B80:
   1755     PUSH32(esp, ebp); /* 0x250D8B80: push ebp */
   1756     ebp = esp; /* 0x250D8B81: mov ebp, esp */
   1757     eax = MEM32(ebp + 0x8); /* 0x250D8B83: mov eax, dword ptr [ebp + 8] */
   1758     ecx = MEM32(ecx + 0x68); /* 0x250D8B86: mov ecx, dword ptr [ecx + 0x68] */
   1759     eax = eax + eax * 2; /* 0x250D8B89: lea eax, [eax + eax*2] */
   1760     fp_push(*(float*)&MEM32(ecx + eax * 8 + 0x10)); /* 0x250D8B8C: fld dword ptr [ecx + eax*8 + 0x10] */
   1761     ebp = POP32_VAL(esp); /* 0x250D8B90: pop ebp */
   1762     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8B91: ret 4 */
   1763     RECOMP_REGS_OUT();
   1764 }
   1765 
   1766 void sub_250D8BA0(void) {
   1767     int _fpu_cmp = 0;
   1768     uint32_t _cf = 0;
   1769     int _df = 1;
   1770     uint32_t _flag_k = FK_NONE;
   1771     uint32_t _flag_a = 0, _flag_b = 0;
   1772     uint32_t _itail_tgt = 0;
   1773     RECOMP_REGS_LOCALS
   1774     RECOMP_ENTER(0x250D8BA0u);
   1775 
   1776 L_250D8BA0:
   1777     PUSH32(esp, ebp); /* 0x250D8BA0: push ebp */
   1778     ebp = esp; /* 0x250D8BA1: mov ebp, esp */
   1779     eax = MEM32(ebp + 0x8); /* 0x250D8BA3: mov eax, dword ptr [ebp + 8] */
   1780     ecx = MEM32(ecx + 0x68); /* 0x250D8BA6: mov ecx, dword ptr [ecx + 0x68] */
   1781     eax = eax + eax * 2; /* 0x250D8BA9: lea eax, [eax + eax*2] */
   1782     eax = ecx + eax * 8; /* 0x250D8BAC: lea eax, [ecx + eax*8] */
   1783     ebp = POP32_VAL(esp); /* 0x250D8BAF: pop ebp */
   1784     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8BB0: ret 4 */
   1785     RECOMP_REGS_OUT();
   1786 }
   1787 
   1788 void sub_250D8BC0(void) {
   1789     int _fpu_cmp = 0;
   1790     uint32_t _cf = 0;
   1791     int _df = 1;
   1792     uint32_t _flag_k = FK_NONE;
   1793     uint32_t _flag_a = 0, _flag_b = 0;
   1794     uint32_t _itail_tgt = 0;
   1795     RECOMP_REGS_LOCALS
   1796     RECOMP_ENTER(0x250D8BC0u);
   1797 
   1798 L_250D8BC0:
   1799     eax = MEM32(ecx + 0x74); /* 0x250D8BC0: mov eax, dword ptr [ecx + 0x74] */
   1800     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8BC3: ret  */
   1801     RECOMP_REGS_OUT();
   1802 }
   1803 
   1804 void sub_250D8BD0(void) {
   1805     int _fpu_cmp = 0;
   1806     uint32_t _cf = 0;
   1807     int _df = 1;
   1808     uint32_t _flag_k = FK_NONE;
   1809     uint32_t _flag_a = 0, _flag_b = 0;
   1810     uint32_t _itail_tgt = 0;
   1811     RECOMP_REGS_LOCALS
   1812     RECOMP_ENTER(0x250D8BD0u);
   1813 
   1814 L_250D8BD0:
   1815     eax = MEM32(ecx + 0x70); /* 0x250D8BD0: mov eax, dword ptr [ecx + 0x70] */
   1816     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8BD3: ret  */
   1817     RECOMP_REGS_OUT();
   1818 }
   1819 
   1820 void sub_250D8BE0(void) {
   1821     int _fpu_cmp = 0;
   1822     uint32_t _cf = 0;
   1823     int _df = 1;
   1824     uint32_t _flag_k = FK_NONE;
   1825     uint32_t _flag_a = 0, _flag_b = 0;
   1826     uint32_t _itail_tgt = 0;
   1827     RECOMP_REGS_LOCALS
   1828     RECOMP_ENTER(0x250D8BE0u);
   1829 
   1830 L_250D8BE0:
   1831     eax = MEM32(ecx + 0x6C); /* 0x250D8BE0: mov eax, dword ptr [ecx + 0x6c] */
   1832     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8BE3: ret  */
   1833     RECOMP_REGS_OUT();
   1834 }
   1835 
   1836 void sub_250D8BF0(void) {
   1837     int _fpu_cmp = 0;
   1838     uint32_t _cf = 0;
   1839     int _df = 1;
   1840     uint32_t _flag_k = FK_NONE;
   1841     uint32_t _flag_a = 0, _flag_b = 0;
   1842     uint32_t _itail_tgt = 0;
   1843     RECOMP_REGS_LOCALS
   1844     RECOMP_ENTER(0x250D8BF0u);
   1845 
   1846 L_250D8BF0:
   1847     eax = ecx + 0x78; /* 0x250D8BF0: lea eax, [ecx + 0x78] */
   1848     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8BF3: ret  */
   1849     RECOMP_REGS_OUT();
   1850 }
   1851 
   1852 void sub_250D8C00(void) {
   1853     int _fpu_cmp = 0;
   1854     uint32_t _cf = 0;
   1855     int _df = 1;
   1856     uint32_t _flag_k = FK_NONE;
   1857     uint32_t _flag_a = 0, _flag_b = 0;
   1858     uint32_t _itail_tgt = 0;
   1859     RECOMP_REGS_LOCALS
   1860     RECOMP_ENTER(0x250D8C00u);
   1861 
   1862 L_250D8C00:
   1863     eax = ecx + 0x84; /* 0x250D8C00: lea eax, [ecx + 0x84] */
   1864     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8C06: ret  */
   1865     RECOMP_REGS_OUT();
   1866 }
   1867 
   1868 void sub_250D8C10(void) {
   1869     int _fpu_cmp = 0;
   1870     uint32_t _cf = 0;
   1871     int _df = 1;
   1872     uint32_t _flag_k = FK_NONE;
   1873     uint32_t _flag_a = 0, _flag_b = 0;
   1874     uint32_t _itail_tgt = 0;
   1875     RECOMP_REGS_LOCALS
   1876     RECOMP_ENTER(0x250D8C10u);
   1877 
   1878 L_250D8C10:
   1879     fp_push(*(float*)&MEM32(ecx + 0x94)); /* 0x250D8C10: fld dword ptr [ecx + 0x94] */
   1880     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8C16: ret  */
   1881     RECOMP_REGS_OUT();
   1882 }
   1883 
   1884 void sub_250D8C20(void) {
   1885     int _fpu_cmp = 0;
   1886     uint32_t _cf = 0;
   1887     int _df = 1;
   1888     uint32_t _flag_k = FK_NONE;
   1889     uint32_t _flag_a = 0, _flag_b = 0;
   1890     uint32_t _itail_tgt = 0;
   1891     RECOMP_REGS_LOCALS
   1892     RECOMP_ENTER(0x250D8C20u);
   1893 
   1894 L_250D8C20:
   1895     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8C20: call 0x250e2ec0 */ /* not lifted */
   1896     RECOMP_FLAGS_IN();
   1897     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u);
   1898     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1899     eax = eax + 0x30u; /* 0x250D8C25: add eax, 0x30 */
   1900     _flag_k = FK_ADD;
   1901     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8C28: ret  */
   1902     RECOMP_REGS_OUT();
   1903 }
   1904 
   1905 void sub_250D8C30(void) {
   1906     int _fpu_cmp = 0;
   1907     uint32_t _cf = 0;
   1908     int _df = 1;
   1909     uint32_t _flag_k = FK_NONE;
   1910     uint32_t _flag_a = 0, _flag_b = 0;
   1911     uint32_t _itail_tgt = 0;
   1912     RECOMP_REGS_LOCALS
   1913     RECOMP_ENTER(0x250D8C30u);
   1914 
   1915 L_250D8C30:
   1916     PUSH32(esp, esi); /* 0x250D8C30: push esi */
   1917     esi = ecx; /* 0x250D8C31: mov esi, ecx */
   1918     SET_LO8(eax, MEM8(esi + 0x132)); /* 0x250D8C33: mov al, byte ptr [esi + 0x132] */
   1919     /* test LO8(eax), LO8(eax) */ /* 0x250D8C39: test al, al */
   1920     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1921     _cf = 0;
   1922     _flag_k = FK_NARROW(FK_TEST, 24);
   1923     if (TEST_Z(_flag_a, _flag_b)) goto L_250D8C42; /* 0x250D8C3B: je 0x250d8c42 */
   1924 L_250D8C3D:
   1925     RECOMP_ICALL(0x250E2EE0u); /* 0x250D8C3D: call 0x250e2ee0 */ /* not lifted */
   1926     RECOMP_FLAGS_IN();
   1927 L_250D8C42:
   1928     fp_push(*(float*)&MEM32(esi + 0x118)); /* 0x250D8C42: fld dword ptr [esi + 0x118] */
   1929     esi = POP32_VAL(esp); /* 0x250D8C48: pop esi */
   1930     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8C49: ret  */
   1931     RECOMP_REGS_OUT();
   1932 }
   1933 
   1934 void sub_250D8C50(void) {
   1935     int _fpu_cmp = 0;
   1936     uint32_t _cf = 0;
   1937     int _df = 1;
   1938     uint32_t _flag_k = FK_NONE;
   1939     uint32_t _flag_a = 0, _flag_b = 0;
   1940     uint32_t _itail_tgt = 0;
   1941     RECOMP_REGS_LOCALS
   1942     RECOMP_ENTER(0x250D8C50u);
   1943 
   1944 L_250D8C50:
   1945     PUSH32(esp, ebp); /* 0x250D8C50: push ebp */
   1946     ebp = esp; /* 0x250D8C51: mov ebp, esp */
   1947     eax = MEM32(ebp + 0x8); /* 0x250D8C53: mov eax, dword ptr [ebp + 8] */
   1948     PUSH32(esp, 0); /* 0x250D8C56: push 0 */
   1949     PUSH32(esp, eax); /* 0x250D8C58: push eax */
   1950     RECOMP_ICALL(0x250E2220u); /* 0x250D8C59: call 0x250e2220 */ /* not lifted */
   1951     RECOMP_FLAGS_IN();
   1952     ebp = POP32_VAL(esp); /* 0x250D8C5E: pop ebp */
   1953     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8C5F: ret 4 */
   1954     RECOMP_REGS_OUT();
   1955 }
   1956 
   1957 void sub_250D8C70(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(0x250D8C70u);
   1966 
   1967 L_250D8C70:
   1968     PUSH32(esp, ebp); /* 0x250D8C70: push ebp */
   1969     ebp = esp; /* 0x250D8C71: mov ebp, esp */
   1970     eax = MEM32(ebp + 0x8); /* 0x250D8C73: mov eax, dword ptr [ebp + 8] */
   1971     PUSH32(esp, 0); /* 0x250D8C76: push 0 */
   1972     PUSH32(esp, eax); /* 0x250D8C78: push eax */
   1973     RECOMP_ICALL(0x250E2340u); /* 0x250D8C79: call 0x250e2340 */ /* not lifted */
   1974     RECOMP_FLAGS_IN();
   1975     ebp = POP32_VAL(esp); /* 0x250D8C7E: pop ebp */
   1976     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8C7F: ret 4 */
   1977     RECOMP_REGS_OUT();
   1978 }
   1979 
   1980 void sub_250D8C90(void) {
   1981     int _fpu_cmp = 0;
   1982     uint32_t _cf = 0;
   1983     int _df = 1;
   1984     uint32_t _flag_k = FK_NONE;
   1985     uint32_t _flag_a = 0, _flag_b = 0;
   1986     uint32_t _itail_tgt = 0;
   1987     RECOMP_REGS_LOCALS
   1988     RECOMP_ENTER(0x250D8C90u);
   1989 
   1990 L_250D8C90:
   1991     eax = ecx + 0x98; /* 0x250D8C90: lea eax, [ecx + 0x98] */
   1992     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8C96: ret  */
   1993     RECOMP_REGS_OUT();
   1994 }
   1995 
   1996 void sub_250D8CA0(void) {
   1997     int _fpu_cmp = 0;
   1998     uint32_t _cf = 0;
   1999     int _df = 1;
   2000     uint32_t _flag_k = FK_NONE;
   2001     uint32_t _flag_a = 0, _flag_b = 0;
   2002     uint32_t _itail_tgt = 0;
   2003     RECOMP_REGS_LOCALS
   2004     RECOMP_ENTER(0x250D8CA0u);
   2005 
   2006 L_250D8CA0:
   2007     PUSH32(esp, ebp); /* 0x250D8CA0: push ebp */
   2008     ebp = esp; /* 0x250D8CA1: mov ebp, esp */
   2009     SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250D8CA3: mov al, byte ptr [ebp + 8] */
   2010     MEM8(ecx + 0x120) = (uint8_t)(LO8(eax)); /* 0x250D8CA6: mov byte ptr [ecx + 0x120], al */
   2011     ebp = POP32_VAL(esp); /* 0x250D8CAC: pop ebp */
   2012     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8CAD: ret 4 */
   2013     RECOMP_REGS_OUT();
   2014 }
   2015 
   2016 void sub_250D8CB0(void) {
   2017     int _fpu_cmp = 0;
   2018     uint32_t _cf = 0;
   2019     int _df = 1;
   2020     uint32_t _flag_k = FK_NONE;
   2021     uint32_t _flag_a = 0, _flag_b = 0;
   2022     uint32_t _itail_tgt = 0;
   2023     RECOMP_REGS_LOCALS
   2024     RECOMP_ENTER(0x250D8CB0u);
   2025 
   2026 L_250D8CB0:
   2027     SET_LO8(eax, MEM8(ecx + 0x120)); /* 0x250D8CB0: mov al, byte ptr [ecx + 0x120] */
   2028     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D8CB6: ret  */
   2029     RECOMP_REGS_OUT();
   2030 }
   2031 
   2032 void sub_250D8CC0(void) {
   2033     int _fpu_cmp = 0;
   2034     uint32_t _cf = 0;
   2035     int _df = 1;
   2036     uint32_t _flag_k = FK_NONE;
   2037     uint32_t _flag_a = 0, _flag_b = 0;
   2038     uint32_t _itail_tgt = 0;
   2039     RECOMP_REGS_LOCALS
   2040     RECOMP_ENTER(0x250D8CC0u);
   2041 
   2042 L_250D8CC0:
   2043     PUSH32(esp, ebp); /* 0x250D8CC0: push ebp */
   2044     ebp = esp; /* 0x250D8CC1: mov ebp, esp */
   2045     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8CC3: call 0x250e2ec0 */ /* not lifted */
   2046     RECOMP_FLAGS_IN();
   2047     fp_push(*(float*)&MEM32(eax + 0x24)); /* 0x250D8CC8: fld dword ptr [eax + 0x24] */
   2048     ecx = MEM32(ebp + 0x8); /* 0x250D8CCB: mov ecx, dword ptr [ebp + 8] */
   2049     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8CCE: fmul dword ptr [ecx + 8] */
   2050     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250D8CD1: fld dword ptr [eax + 4] */
   2051     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8CD4: fmul dword ptr [ecx] */
   2052     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8CD6: faddp st(1) */
   2053     fp_push(*(float*)&MEM32(eax + 0x14)); /* 0x250D8CD8: fld dword ptr [eax + 0x14] */
   2054     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8CDB: fmul dword ptr [ecx + 4] */
   2055     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8CDE: faddp st(1) */
   2056     fp_push(*(float*)&MEM32(eax + 0x28)); /* 0x250D8CE0: fld dword ptr [eax + 0x28] */
   2057     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8CE3: fmul dword ptr [ecx + 8] */
   2058     fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250D8CE6: fld dword ptr [eax + 8] */
   2059     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8CE9: fmul dword ptr [ecx] */
   2060     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8CEB: faddp st(1) */
   2061     fp_push(*(float*)&MEM32(eax + 0x18)); /* 0x250D8CED: fld dword ptr [eax + 0x18] */
   2062     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8CF0: fmul dword ptr [ecx + 4] */
   2063     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8CF3: faddp st(1) */
   2064     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250D8CF5: fstp dword ptr [ebp + 8] */
   2065     fp_push(*(float*)&MEM32(eax + 0x20)); /* 0x250D8CF8: fld dword ptr [eax + 0x20] */
   2066     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8CFB: fmul dword ptr [ecx + 8] */
   2067     fp_push(*(float*)&MEM32(eax + 0x10)); /* 0x250D8CFE: fld dword ptr [eax + 0x10] */
   2068     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8D01: fmul dword ptr [ecx + 4] */
   2069     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D04: faddp st(1) */
   2070     fp_push(*(float*)&MEM32(eax)); /* 0x250D8D06: fld dword ptr [eax] */
   2071     eax = MEM32(ebp + 0x8); /* 0x250D8D08: mov eax, dword ptr [ebp + 8] */
   2072     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8D0B: fmul dword ptr [ecx] */
   2073     MEM32(ecx + 0x8) = eax; /* 0x250D8D0D: mov dword ptr [ecx + 8], eax */
   2074     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D10: faddp st(1) */
   2075     { float _v = (float)fp_pop(); *(float*)ADDR(ecx) = _v; } /* 0x250D8D12: fstp dword ptr [ecx] */
   2076     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250D8D14: fstp dword ptr [ecx + 4] */
   2077     ebp = POP32_VAL(esp); /* 0x250D8D17: pop ebp */
   2078     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8D18: ret 4 */
   2079     RECOMP_REGS_OUT();
   2080 }
   2081 
   2082 void sub_250D8D20(void) {
   2083     int _fpu_cmp = 0;
   2084     uint32_t _cf = 0;
   2085     int _df = 1;
   2086     uint32_t _flag_k = FK_NONE;
   2087     uint32_t _flag_a = 0, _flag_b = 0;
   2088     uint32_t _itail_tgt = 0;
   2089     RECOMP_REGS_LOCALS
   2090     RECOMP_ENTER(0x250D8D20u);
   2091 
   2092 L_250D8D20:
   2093     PUSH32(esp, ebp); /* 0x250D8D20: push ebp */
   2094     ebp = esp; /* 0x250D8D21: mov ebp, esp */
   2095     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8D23: call 0x250e2ec0 */ /* not lifted */
   2096     RECOMP_FLAGS_IN();
   2097     fp_push(*(float*)&MEM32(eax + 0x18)); /* 0x250D8D28: fld dword ptr [eax + 0x18] */
   2098     ecx = MEM32(ebp + 0x8); /* 0x250D8D2B: mov ecx, dword ptr [ebp + 8] */
   2099     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8D2E: fmul dword ptr [ecx + 8] */
   2100     fp_push(*(float*)&MEM32(eax + 0x10)); /* 0x250D8D31: fld dword ptr [eax + 0x10] */
   2101     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8D34: fmul dword ptr [ecx] */
   2102     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D36: faddp st(1) */
   2103     fp_push(*(float*)&MEM32(eax + 0x14)); /* 0x250D8D38: fld dword ptr [eax + 0x14] */
   2104     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8D3B: fmul dword ptr [ecx + 4] */
   2105     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D3E: faddp st(1) */
   2106     fp_push(*(float*)&MEM32(eax + 0x28)); /* 0x250D8D40: fld dword ptr [eax + 0x28] */
   2107     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8D43: fmul dword ptr [ecx + 8] */
   2108     fp_push(*(float*)&MEM32(eax + 0x20)); /* 0x250D8D46: fld dword ptr [eax + 0x20] */
   2109     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8D49: fmul dword ptr [ecx] */
   2110     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D4B: faddp st(1) */
   2111     fp_push(*(float*)&MEM32(eax + 0x24)); /* 0x250D8D4D: fld dword ptr [eax + 0x24] */
   2112     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8D50: fmul dword ptr [ecx + 4] */
   2113     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D53: faddp st(1) */
   2114     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250D8D55: fstp dword ptr [ebp + 8] */
   2115     fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250D8D58: fld dword ptr [eax + 8] */
   2116     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8D5B: fmul dword ptr [ecx + 8] */
   2117     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250D8D5E: fld dword ptr [eax + 4] */
   2118     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8D61: fmul dword ptr [ecx + 4] */
   2119     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D64: faddp st(1) */
   2120     fp_push(*(float*)&MEM32(eax)); /* 0x250D8D66: fld dword ptr [eax] */
   2121     eax = MEM32(ebp + 0x8); /* 0x250D8D68: mov eax, dword ptr [ebp + 8] */
   2122     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8D6B: fmul dword ptr [ecx] */
   2123     MEM32(ecx + 0x8) = eax; /* 0x250D8D6D: mov dword ptr [ecx + 8], eax */
   2124     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D70: faddp st(1) */
   2125     { float _v = (float)fp_pop(); *(float*)ADDR(ecx) = _v; } /* 0x250D8D72: fstp dword ptr [ecx] */
   2126     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250D8D74: fstp dword ptr [ecx + 4] */
   2127     ebp = POP32_VAL(esp); /* 0x250D8D77: pop ebp */
   2128     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8D78: ret 4 */
   2129     RECOMP_REGS_OUT();
   2130 }
   2131 
   2132 void sub_250D8D80(void) {
   2133     int _fpu_cmp = 0;
   2134     uint32_t _cf = 0;
   2135     int _df = 1;
   2136     uint32_t _flag_k = FK_NONE;
   2137     uint32_t _flag_a = 0, _flag_b = 0;
   2138     uint32_t _itail_tgt = 0;
   2139     RECOMP_REGS_LOCALS
   2140     RECOMP_ENTER(0x250D8D80u);
   2141 
   2142 L_250D8D80:
   2143     PUSH32(esp, ebp); /* 0x250D8D80: push ebp */
   2144     ebp = esp; /* 0x250D8D81: mov ebp, esp */
   2145     PUSH32(esp, esi); /* 0x250D8D83: push esi */
   2146     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8D84: call 0x250e2ec0 */ /* not lifted */
   2147     RECOMP_FLAGS_IN();
   2148     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250D8D89: fld dword ptr [eax + 4] */
   2149     esi = MEM32(ebp + 0x8); /* 0x250D8D8C: mov esi, dword ptr [ebp + 8] */
   2150     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8D8F: fmul dword ptr [esi] */
   2151     ecx = MEM32(ebp + 0xC); /* 0x250D8D91: mov ecx, dword ptr [ebp + 0xc] */
   2152     fp_push(*(float*)&MEM32(eax + 0x24)); /* 0x250D8D94: fld dword ptr [eax + 0x24] */
   2153     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8D97: fmul dword ptr [esi + 8] */
   2154     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8D9A: faddp st(1) */
   2155     fp_push(*(float*)&MEM32(eax + 0x14)); /* 0x250D8D9C: fld dword ptr [eax + 0x14] */
   2156     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8D9F: fmul dword ptr [esi + 4] */
   2157     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8DA2: faddp st(1) */
   2158     fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250D8DA4: fld dword ptr [eax + 8] */
   2159     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8DA7: fmul dword ptr [esi] */
   2160     fp_push(*(float*)&MEM32(eax + 0x28)); /* 0x250D8DA9: fld dword ptr [eax + 0x28] */
   2161     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8DAC: fmul dword ptr [esi + 8] */
   2162     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8DAF: faddp st(1) */
   2163     fp_push(*(float*)&MEM32(eax + 0x18)); /* 0x250D8DB1: fld dword ptr [eax + 0x18] */
   2164     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8DB4: fmul dword ptr [esi + 4] */
   2165     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8DB7: faddp st(1) */
   2166     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250D8DB9: fstp dword ptr [ebp + 8] */
   2167     fp_push(*(float*)&MEM32(eax + 0x20)); /* 0x250D8DBC: fld dword ptr [eax + 0x20] */
   2168     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8DBF: fmul dword ptr [esi + 8] */
   2169     fp_push(*(float*)&MEM32(eax + 0x10)); /* 0x250D8DC2: fld dword ptr [eax + 0x10] */
   2170     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8DC5: fmul dword ptr [esi + 4] */
   2171     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8DC8: faddp st(1) */
   2172     fp_push(*(float*)&MEM32(eax)); /* 0x250D8DCA: fld dword ptr [eax] */
   2173     eax = MEM32(ebp + 0x8); /* 0x250D8DCC: mov eax, dword ptr [ebp + 8] */
   2174     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8DCF: fmul dword ptr [esi] */
   2175     MEM32(esi + 0x8) = eax; /* 0x250D8DD1: mov dword ptr [esi + 8], eax */
   2176     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8DD4: faddp st(1) */
   2177     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250D8DD6: fstp dword ptr [esi] */
   2178     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250D8DD8: fstp dword ptr [esi + 4] */
   2179     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8DDB: call 0x250e2ec0 */ /* not lifted */
   2180     RECOMP_FLAGS_IN();
   2181     fp_push(*(float*)&MEM32(eax + 0x10)); /* 0x250D8DE0: fld dword ptr [eax + 0x10] */
   2182     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8DE3: fmul dword ptr [esi] */
   2183     fp_push(*(float*)&MEM32(eax + 0x18)); /* 0x250D8DE5: fld dword ptr [eax + 0x18] */
   2184     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8DE8: fmul dword ptr [esi + 8] */
   2185     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8DEB: faddp st(1) */
   2186     fp_push(*(float*)&MEM32(eax + 0x14)); /* 0x250D8DED: fld dword ptr [eax + 0x14] */
   2187     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8DF0: fmul dword ptr [esi + 4] */
   2188     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8DF3: faddp st(1) */
   2189     fp_push(*(float*)&MEM32(eax + 0x20)); /* 0x250D8DF5: fld dword ptr [eax + 0x20] */
   2190     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8DF8: fmul dword ptr [esi] */
   2191     fp_push(*(float*)&MEM32(eax + 0x28)); /* 0x250D8DFA: fld dword ptr [eax + 0x28] */
   2192     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8DFD: fmul dword ptr [esi + 8] */
   2193     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E00: faddp st(1) */
   2194     fp_push(*(float*)&MEM32(eax + 0x24)); /* 0x250D8E02: fld dword ptr [eax + 0x24] */
   2195     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8E05: fmul dword ptr [esi + 4] */
   2196     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E08: faddp st(1) */
   2197     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250D8E0A: fstp dword ptr [ebp + 8] */
   2198     fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250D8E0D: fld dword ptr [eax + 8] */
   2199     ecx = MEM32(ebp + 0x8); /* 0x250D8E10: mov ecx, dword ptr [ebp + 8] */
   2200     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8E13: fmul dword ptr [esi + 8] */
   2201     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250D8E16: fld dword ptr [eax + 4] */
   2202     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8E19: fmul dword ptr [esi + 4] */
   2203     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E1C: faddp st(1) */
   2204     fp_push(*(float*)&MEM32(eax)); /* 0x250D8E1E: fld dword ptr [eax] */
   2205     MEM32(esi + 0x8) = ecx; /* 0x250D8E20: mov dword ptr [esi + 8], ecx */
   2206     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8E23: fmul dword ptr [esi] */
   2207     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E25: faddp st(1) */
   2208     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250D8E27: fstp dword ptr [esi] */
   2209     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250D8E29: fstp dword ptr [esi + 4] */
   2210     esi = POP32_VAL(esp); /* 0x250D8E2C: pop esi */
   2211     ebp = POP32_VAL(esp); /* 0x250D8E2D: pop ebp */
   2212     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D8E2E: ret 8 */
   2213     RECOMP_REGS_OUT();
   2214 }
   2215 
   2216 void sub_250D8E40(void) {
   2217     int _fpu_cmp = 0;
   2218     uint32_t _cf = 0;
   2219     int _df = 1;
   2220     uint32_t _flag_k = FK_NONE;
   2221     uint32_t _flag_a = 0, _flag_b = 0;
   2222     uint32_t _itail_tgt = 0;
   2223     RECOMP_REGS_LOCALS
   2224     RECOMP_ENTER(0x250D8E40u);
   2225 
   2226 L_250D8E40:
   2227     PUSH32(esp, ebp); /* 0x250D8E40: push ebp */
   2228     ebp = esp; /* 0x250D8E41: mov ebp, esp */
   2229     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8E43: call 0x250e2ec0 */ /* not lifted */
   2230     RECOMP_FLAGS_IN();
   2231     fp_push(*(float*)&MEM32(eax + 0x24)); /* 0x250D8E48: fld dword ptr [eax + 0x24] */
   2232     ecx = MEM32(ebp + 0x8); /* 0x250D8E4B: mov ecx, dword ptr [ebp + 8] */
   2233     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8E4E: fmul dword ptr [ecx + 8] */
   2234     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250D8E51: fld dword ptr [eax + 4] */
   2235     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8E54: fmul dword ptr [ecx] */
   2236     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E56: faddp st(1) */
   2237     fp_push(*(float*)&MEM32(eax + 0x14)); /* 0x250D8E58: fld dword ptr [eax + 0x14] */
   2238     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8E5B: fmul dword ptr [ecx + 4] */
   2239     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E5E: faddp st(1) */
   2240     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x250D8E60: fadd dword ptr [eax + 0x34] */
   2241     fp_push(*(float*)&MEM32(eax + 0x28)); /* 0x250D8E63: fld dword ptr [eax + 0x28] */
   2242     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8E66: fmul dword ptr [ecx + 8] */
   2243     fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250D8E69: fld dword ptr [eax + 8] */
   2244     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8E6C: fmul dword ptr [ecx] */
   2245     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E6E: faddp st(1) */
   2246     fp_push(*(float*)&MEM32(eax + 0x18)); /* 0x250D8E70: fld dword ptr [eax + 0x18] */
   2247     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8E73: fmul dword ptr [ecx + 4] */
   2248     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E76: faddp st(1) */
   2249     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x250D8E78: fadd dword ptr [eax + 0x38] */
   2250     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250D8E7B: fstp dword ptr [ebp + 8] */
   2251     fp_push(*(float*)&MEM32(eax + 0x20)); /* 0x250D8E7E: fld dword ptr [eax + 0x20] */
   2252     _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250D8E81: fmul dword ptr [ecx + 8] */
   2253     fp_push(*(float*)&MEM32(eax + 0x10)); /* 0x250D8E84: fld dword ptr [eax + 0x10] */
   2254     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8E87: fmul dword ptr [ecx + 4] */
   2255     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E8A: faddp st(1) */
   2256     fp_push(*(float*)&MEM32(eax)); /* 0x250D8E8C: fld dword ptr [eax] */
   2257     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8E8E: fmul dword ptr [ecx] */
   2258     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8E90: faddp st(1) */
   2259     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x250D8E92: fadd dword ptr [eax + 0x30] */
   2260     eax = MEM32(ebp + 0x8); /* 0x250D8E95: mov eax, dword ptr [ebp + 8] */
   2261     MEM32(ecx + 0x8) = eax; /* 0x250D8E98: mov dword ptr [ecx + 8], eax */
   2262     { float _v = (float)fp_pop(); *(float*)ADDR(ecx) = _v; } /* 0x250D8E9B: fstp dword ptr [ecx] */
   2263     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250D8E9D: fstp dword ptr [ecx + 4] */
   2264     ebp = POP32_VAL(esp); /* 0x250D8EA0: pop ebp */
   2265     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8EA1: ret 4 */
   2266     RECOMP_REGS_OUT();
   2267 }
   2268 
   2269 void sub_250D8EB0(void) {
   2270     int _fpu_cmp = 0;
   2271     uint32_t _cf = 0;
   2272     int _df = 1;
   2273     uint32_t _flag_k = FK_NONE;
   2274     uint32_t _flag_a = 0, _flag_b = 0;
   2275     uint32_t _itail_tgt = 0;
   2276     RECOMP_REGS_LOCALS
   2277     RECOMP_ENTER(0x250D8EB0u);
   2278 
   2279 L_250D8EB0:
   2280     PUSH32(esp, ebp); /* 0x250D8EB0: push ebp */
   2281     ebp = esp; /* 0x250D8EB1: mov ebp, esp */
   2282     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8EB3: call 0x250e2ec0 */ /* not lifted */
   2283     RECOMP_FLAGS_IN();
   2284     ecx = MEM32(ebp + 0x8); /* 0x250D8EB8: mov ecx, dword ptr [ebp + 8] */
   2285     fp_push(*(float*)&MEM32(ecx)); /* 0x250D8EBB: fld dword ptr [ecx] */
   2286     _st[0] -= (double)*(float*)ADDR(eax + 0x30); /* 0x250D8EBD: fsub dword ptr [eax + 0x30] */
   2287     { float _v = (float)fp_pop(); *(float*)ADDR(ecx) = _v; } /* 0x250D8EC0: fstp dword ptr [ecx] */
   2288     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x250D8EC2: fld dword ptr [ecx + 4] */
   2289     _st[0] -= (double)*(float*)ADDR(eax + 0x34); /* 0x250D8EC5: fsub dword ptr [eax + 0x34] */
   2290     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250D8EC8: fstp dword ptr [ecx + 4] */
   2291     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250D8ECB: fld dword ptr [ecx + 8] */
   2292     _st[0] -= (double)*(float*)ADDR(eax + 0x38); /* 0x250D8ECE: fsub dword ptr [eax + 0x38] */
   2293     { float _v = (float)_st[0]; *(float*)ADDR(ecx + 0x8) = _v; } /* 0x250D8ED1: fst dword ptr [ecx + 8] */
   2294     fp_push(*(float*)&MEM32(eax + 0x10)); /* 0x250D8ED4: fld dword ptr [eax + 0x10] */
   2295     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8ED7: fmul dword ptr [ecx] */
   2296     fp_push(_st[1]); /* 0x250D8ED9: fld st(1) */
   2297     _st[0] *= (double)*(float*)ADDR(eax + 0x18); /* 0x250D8EDB: fmul dword ptr [eax + 0x18] */
   2298     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8EDE: faddp st(1) */
   2299     fp_push(*(float*)&MEM32(eax + 0x14)); /* 0x250D8EE0: fld dword ptr [eax + 0x14] */
   2300     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8EE3: fmul dword ptr [ecx + 4] */
   2301     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8EE6: faddp st(1) */
   2302     fp_push(*(float*)&MEM32(eax + 0x20)); /* 0x250D8EE8: fld dword ptr [eax + 0x20] */
   2303     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8EEB: fmul dword ptr [ecx] */
   2304     fp_push(_st[2]); /* 0x250D8EED: fld st(2) */
   2305     _st[0] *= (double)*(float*)ADDR(eax + 0x28); /* 0x250D8EEF: fmul dword ptr [eax + 0x28] */
   2306     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8EF2: faddp st(1) */
   2307     fp_push(*(float*)&MEM32(eax + 0x24)); /* 0x250D8EF4: fld dword ptr [eax + 0x24] */
   2308     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8EF7: fmul dword ptr [ecx + 4] */
   2309     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8EFA: faddp st(1) */
   2310     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250D8EFC: fstp dword ptr [ebp + 8] */
   2311     fp_xch(1); /* 0x250D8EFF: fxch st(1) */
   2312     _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x250D8F01: fmul dword ptr [eax + 8] */
   2313     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250D8F04: fld dword ptr [eax + 4] */
   2314     _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250D8F07: fmul dword ptr [ecx + 4] */
   2315     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8F0A: faddp st(1) */
   2316     fp_push(*(float*)&MEM32(eax)); /* 0x250D8F0C: fld dword ptr [eax] */
   2317     eax = MEM32(ebp + 0x8); /* 0x250D8F0E: mov eax, dword ptr [ebp + 8] */
   2318     _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250D8F11: fmul dword ptr [ecx] */
   2319     MEM32(ecx + 0x8) = eax; /* 0x250D8F13: mov dword ptr [ecx + 8], eax */
   2320     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8F16: faddp st(1) */
   2321     { float _v = (float)fp_pop(); *(float*)ADDR(ecx) = _v; } /* 0x250D8F18: fstp dword ptr [ecx] */
   2322     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x4) = _v; } /* 0x250D8F1A: fstp dword ptr [ecx + 4] */
   2323     ebp = POP32_VAL(esp); /* 0x250D8F1D: pop ebp */
   2324     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D8F1E: ret 4 */
   2325     RECOMP_REGS_OUT();
   2326 }
   2327 
   2328 void sub_250D8F30(void) {
   2329     int _fpu_cmp = 0;
   2330     uint32_t _cf = 0;
   2331     int _df = 1;
   2332     uint32_t _flag_k = FK_NONE;
   2333     uint32_t _flag_a = 0, _flag_b = 0;
   2334     uint32_t _itail_tgt = 0;
   2335     RECOMP_REGS_LOCALS
   2336     RECOMP_ENTER(0x250D8F30u);
   2337 
   2338 L_250D8F30:
   2339     PUSH32(esp, ebp); /* 0x250D8F30: push ebp */
   2340     ebp = esp; /* 0x250D8F31: mov ebp, esp */
   2341     PUSH32(esp, esi); /* 0x250D8F33: push esi */
   2342     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8F34: call 0x250e2ec0 */ /* not lifted */
   2343     RECOMP_FLAGS_IN();
   2344     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250D8F39: fld dword ptr [eax + 4] */
   2345     esi = MEM32(ebp + 0x8); /* 0x250D8F3C: mov esi, dword ptr [ebp + 8] */
   2346     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8F3F: fmul dword ptr [esi] */
   2347     ecx = MEM32(ebp + 0xC); /* 0x250D8F41: mov ecx, dword ptr [ebp + 0xc] */
   2348     fp_push(*(float*)&MEM32(eax + 0x24)); /* 0x250D8F44: fld dword ptr [eax + 0x24] */
   2349     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8F47: fmul dword ptr [esi + 8] */
   2350     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8F4A: faddp st(1) */
   2351     fp_push(*(float*)&MEM32(eax + 0x14)); /* 0x250D8F4C: fld dword ptr [eax + 0x14] */
   2352     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8F4F: fmul dword ptr [esi + 4] */
   2353     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8F52: faddp st(1) */
   2354     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x250D8F54: fadd dword ptr [eax + 0x34] */
   2355     fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250D8F57: fld dword ptr [eax + 8] */
   2356     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8F5A: fmul dword ptr [esi] */
   2357     fp_push(*(float*)&MEM32(eax + 0x28)); /* 0x250D8F5C: fld dword ptr [eax + 0x28] */
   2358     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8F5F: fmul dword ptr [esi + 8] */
   2359     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8F62: faddp st(1) */
   2360     fp_push(*(float*)&MEM32(eax + 0x18)); /* 0x250D8F64: fld dword ptr [eax + 0x18] */
   2361     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8F67: fmul dword ptr [esi + 4] */
   2362     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8F6A: faddp st(1) */
   2363     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x250D8F6C: fadd dword ptr [eax + 0x38] */
   2364     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250D8F6F: fstp dword ptr [ebp + 8] */
   2365     fp_push(*(float*)&MEM32(eax + 0x20)); /* 0x250D8F72: fld dword ptr [eax + 0x20] */
   2366     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250D8F75: fmul dword ptr [esi + 8] */
   2367     fp_push(*(float*)&MEM32(eax + 0x10)); /* 0x250D8F78: fld dword ptr [eax + 0x10] */
   2368     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8F7B: fmul dword ptr [esi + 4] */
   2369     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8F7E: faddp st(1) */
   2370     fp_push(*(float*)&MEM32(eax)); /* 0x250D8F80: fld dword ptr [eax] */
   2371     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8F82: fmul dword ptr [esi] */
   2372     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8F84: faddp st(1) */
   2373     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x250D8F86: fadd dword ptr [eax + 0x30] */
   2374     eax = MEM32(ebp + 0x8); /* 0x250D8F89: mov eax, dword ptr [ebp + 8] */
   2375     MEM32(esi + 0x8) = eax; /* 0x250D8F8C: mov dword ptr [esi + 8], eax */
   2376     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250D8F8F: fstp dword ptr [esi] */
   2377     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250D8F91: fstp dword ptr [esi + 4] */
   2378     RECOMP_ICALL(0x250E2EC0u); /* 0x250D8F94: call 0x250e2ec0 */ /* not lifted */
   2379     RECOMP_FLAGS_IN();
   2380     fp_push(*(float*)&MEM32(esi)); /* 0x250D8F99: fld dword ptr [esi] */
   2381     _st[0] -= (double)*(float*)ADDR(eax + 0x30); /* 0x250D8F9B: fsub dword ptr [eax + 0x30] */
   2382     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250D8F9E: fstp dword ptr [esi] */
   2383     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250D8FA0: fld dword ptr [esi + 4] */
   2384     _st[0] -= (double)*(float*)ADDR(eax + 0x34); /* 0x250D8FA3: fsub dword ptr [eax + 0x34] */
   2385     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250D8FA6: fstp dword ptr [esi + 4] */
   2386     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x250D8FA9: fld dword ptr [esi + 8] */
   2387     _st[0] -= (double)*(float*)ADDR(eax + 0x38); /* 0x250D8FAC: fsub dword ptr [eax + 0x38] */
   2388     { float _v = (float)_st[0]; *(float*)ADDR(esi + 0x8) = _v; } /* 0x250D8FAF: fst dword ptr [esi + 8] */
   2389     fp_push(*(float*)&MEM32(eax + 0x10)); /* 0x250D8FB2: fld dword ptr [eax + 0x10] */
   2390     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8FB5: fmul dword ptr [esi] */
   2391     fp_push(_st[1]); /* 0x250D8FB7: fld st(1) */
   2392     _st[0] *= (double)*(float*)ADDR(eax + 0x18); /* 0x250D8FB9: fmul dword ptr [eax + 0x18] */
   2393     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8FBC: faddp st(1) */
   2394     fp_push(*(float*)&MEM32(eax + 0x14)); /* 0x250D8FBE: fld dword ptr [eax + 0x14] */
   2395     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8FC1: fmul dword ptr [esi + 4] */
   2396     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8FC4: faddp st(1) */
   2397     fp_push(*(float*)&MEM32(eax + 0x20)); /* 0x250D8FC6: fld dword ptr [eax + 0x20] */
   2398     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8FC9: fmul dword ptr [esi] */
   2399     fp_push(_st[2]); /* 0x250D8FCB: fld st(2) */
   2400     _st[0] *= (double)*(float*)ADDR(eax + 0x28); /* 0x250D8FCD: fmul dword ptr [eax + 0x28] */
   2401     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8FD0: faddp st(1) */
   2402     fp_push(*(float*)&MEM32(eax + 0x24)); /* 0x250D8FD2: fld dword ptr [eax + 0x24] */
   2403     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8FD5: fmul dword ptr [esi + 4] */
   2404     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8FD8: faddp st(1) */
   2405     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250D8FDA: fstp dword ptr [ebp + 8] */
   2406     ecx = MEM32(ebp + 0x8); /* 0x250D8FDD: mov ecx, dword ptr [ebp + 8] */
   2407     fp_xch(1); /* 0x250D8FE0: fxch st(1) */
   2408     _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x250D8FE2: fmul dword ptr [eax + 8] */
   2409     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250D8FE5: fld dword ptr [eax + 4] */
   2410     _st[0] *= (double)*(float*)ADDR(esi + 0x4); /* 0x250D8FE8: fmul dword ptr [esi + 4] */
   2411     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8FEB: faddp st(1) */
   2412     fp_push(*(float*)&MEM32(eax)); /* 0x250D8FED: fld dword ptr [eax] */
   2413     MEM32(esi + 0x8) = ecx; /* 0x250D8FEF: mov dword ptr [esi + 8], ecx */
   2414     _st[0] *= (double)*(float*)ADDR(esi); /* 0x250D8FF2: fmul dword ptr [esi] */
   2415     { double _v = fp_pop(); _st[0] += _v; } /* 0x250D8FF4: faddp st(1) */
   2416     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250D8FF6: fstp dword ptr [esi] */
   2417     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250D8FF8: fstp dword ptr [esi + 4] */
   2418     esi = POP32_VAL(esp); /* 0x250D8FFB: pop esi */
   2419     ebp = POP32_VAL(esp); /* 0x250D8FFC: pop ebp */
   2420     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250D8FFD: ret 8 */
   2421     RECOMP_REGS_OUT();
   2422 }
   2423 
   2424 void sub_250D9000(void) {
   2425     int _fpu_cmp = 0;
   2426     uint32_t _cf = 0;
   2427     int _df = 1;
   2428     uint32_t _flag_k = FK_NONE;
   2429     uint32_t _flag_a = 0, _flag_b = 0;
   2430     uint32_t _itail_tgt = 0;
   2431     RECOMP_REGS_LOCALS
   2432     RECOMP_ENTER(0x250D9000u);
   2433 
   2434 L_250D9000:
   2435     eax = MEM32(ecx + 0x124); /* 0x250D9000: mov eax, dword ptr [ecx + 0x124] */
   2436     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9006: ret  */
   2437     RECOMP_REGS_OUT();
   2438 }
   2439 
   2440 void sub_250D9010(void) {
   2441     int _fpu_cmp = 0;
   2442     uint32_t _cf = 0;
   2443     int _df = 1;
   2444     uint32_t _flag_k = FK_NONE;
   2445     uint32_t _flag_a = 0, _flag_b = 0;
   2446     uint32_t _itail_tgt = 0;
   2447     RECOMP_REGS_LOCALS
   2448     RECOMP_ENTER(0x250D9010u);
   2449 
   2450 L_250D9010:
   2451     fp_push(*(float*)&MEM32(ecx + 0x12C)); /* 0x250D9010: fld dword ptr [ecx + 0x12c] */
   2452     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9016: ret  */
   2453     RECOMP_REGS_OUT();
   2454 }
   2455 
   2456 void sub_250D9020(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(0x250D9020u);
   2465 
   2466 L_250D9020:
   2467     ecx = MEM32(ecx + 0x124); /* 0x250D9020: mov ecx, dword ptr [ecx + 0x124] */
   2468 L_250D9026:
   2469     /* test ecx, ecx */ /* 0x250D9026: test ecx, ecx */
   2470     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2471     _cf = 0;
   2472     _flag_k = FK_TEST;
   2473 L_250D9028:
   2474     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250D9031; /* 0x250D9028: jne 0x250d9031 */
   2475 L_250D902A:
   2476     fp_push(*(float*)&MEM32(0x2515177C)); /* 0x250D902A: fld dword ptr [0x2515177c] */
   2477 L_250D9030:
   2478     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9030: ret  */
   2479 L_250D9031:
   2480     eax = MEM32(ecx); /* 0x250D9031: mov eax, dword ptr [ecx] */
   2481 L_250D9033:
   2482     { _itail_tgt = (uint32_t)(MEM32(eax + 0x10)); goto _ljump; }
   2483     { RECOMP_REGS_OUT(); return; } /* end of function */
   2484   _ljump:
   2485     switch (_itail_tgt) {
   2486       case 0x250D9020u: goto L_250D9020;
   2487       case 0x250D9026u: goto L_250D9026;
   2488       case 0x250D9028u: goto L_250D9028;
   2489       case 0x250D902Au: goto L_250D902A;
   2490       case 0x250D9030u: goto L_250D9030;
   2491       case 0x250D9031u: goto L_250D9031;
   2492       case 0x250D9033u: goto L_250D9033;
   2493       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2494     }
   2495     RECOMP_REGS_OUT();
   2496 }
   2497 
   2498 void sub_250D9040(void) {
   2499     int _fpu_cmp = 0;
   2500     uint32_t _cf = 0;
   2501     int _df = 1;
   2502     uint32_t _flag_k = FK_NONE;
   2503     uint32_t _flag_a = 0, _flag_b = 0;
   2504     uint32_t _itail_tgt = 0;
   2505     RECOMP_REGS_LOCALS
   2506     RECOMP_ENTER(0x250D9040u);
   2507 
   2508 L_250D9040:
   2509     eax = MEM32(ecx + 0x128); /* 0x250D9040: mov eax, dword ptr [ecx + 0x128] */
   2510     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9046: ret  */
   2511     RECOMP_REGS_OUT();
   2512 }
   2513 
   2514 void sub_250D9050(void) {
   2515     int _fpu_cmp = 0;
   2516     uint32_t _cf = 0;
   2517     int _df = 1;
   2518     uint32_t _flag_k = FK_NONE;
   2519     uint32_t _flag_a = 0, _flag_b = 0;
   2520     uint32_t _itail_tgt = 0;
   2521     RECOMP_REGS_LOCALS
   2522     RECOMP_ENTER(0x250D9050u);
   2523 
   2524 L_250D9050:
   2525     eax = MEM32(ecx + 0x134); /* 0x250D9050: mov eax, dword ptr [ecx + 0x134] */
   2526     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9056: ret  */
   2527     RECOMP_REGS_OUT();
   2528 }
   2529 
   2530 void sub_250D9060(void) {
   2531     int _fpu_cmp = 0;
   2532     uint32_t _cf = 0;
   2533     int _df = 1;
   2534     uint32_t _flag_k = FK_NONE;
   2535     uint32_t _flag_a = 0, _flag_b = 0;
   2536     uint32_t _itail_tgt = 0;
   2537     RECOMP_REGS_LOCALS
   2538     RECOMP_ENTER(0x250D9060u);
   2539 
   2540 L_250D9060:
   2541     fp_push(*(float*)&MEM32(ecx + 0x11C)); /* 0x250D9060: fld dword ptr [ecx + 0x11c] */
   2542     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9066: ret  */
   2543     RECOMP_REGS_OUT();
   2544 }
   2545 
   2546 void sub_250D9070(void) {
   2547     int _fpu_cmp = 0;
   2548     uint32_t _cf = 0;
   2549     int _df = 1;
   2550     uint32_t _flag_k = FK_NONE;
   2551     uint32_t _flag_a = 0, _flag_b = 0;
   2552     uint32_t _itail_tgt = 0;
   2553     RECOMP_REGS_LOCALS
   2554     RECOMP_ENTER(0x250D9070u);
   2555 
   2556 L_250D9070:
   2557     PUSH32(esp, ebp); /* 0x250D9070: push ebp */
   2558     ebp = esp; /* 0x250D9071: mov ebp, esp */
   2559     eax = MEM32(ebp + 0x8); /* 0x250D9073: mov eax, dword ptr [ebp + 8] */
   2560     MEM32(ecx + 0x11C) = eax; /* 0x250D9076: mov dword ptr [ecx + 0x11c], eax */
   2561     ebp = POP32_VAL(esp); /* 0x250D907C: pop ebp */
   2562     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D907D: ret 4 */
   2563     RECOMP_REGS_OUT();
   2564 }
   2565 
   2566 void sub_250D9080(void) {
   2567     int _fpu_cmp = 0;
   2568     uint32_t _cf = 0;
   2569     int _df = 1;
   2570     uint32_t _flag_k = FK_NONE;
   2571     uint32_t _flag_a = 0, _flag_b = 0;
   2572     uint32_t _itail_tgt = 0;
   2573     RECOMP_REGS_LOCALS
   2574     RECOMP_ENTER(0x250D9080u);
   2575 
   2576 L_250D9080:
   2577     PUSH32(esp, ebp); /* 0x250D9080: push ebp */
   2578     ebp = esp; /* 0x250D9081: mov ebp, esp */
   2579     PUSH32(esp, esi); /* 0x250D9083: push esi */
   2580     esi = MEM32(ebp + 0x8); /* 0x250D9084: mov esi, dword ptr [ebp + 8] */
   2581     PUSH32(esp, 0); /* 0x250D9087: push 0 */
   2582     PUSH32(esp, 0x251B2598u); /* 0x250D9089: push 0x251b2598 */
   2583     PUSH32(esp, 0x251B2598u); /* 0x250D908E: push 0x251b2598 */
   2584     PUSH32(esp, 0); /* 0x250D9093: push 0 */
   2585     PUSH32(esp, 0); /* 0x250D9095: push 0 */
   2586     MEM32(esi) = 0; /* 0x250D9097: mov dword ptr [esi], 0 */
   2587     MEM32(esi + 0x4) = 0; /* 0x250D909D: mov dword ptr [esi + 4], 0 */
   2588     RECOMP_ICALL(0x251381ACu); /* 0x250D90A4: call 0x251381ac */ /* not lifted */
   2589     RECOMP_FLAGS_IN();
   2590     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2591     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2592     esp = esp + 0x14u; /* 0x250D90A9: add esp, 0x14 */
   2593     _flag_k = FK_ADD;
   2594     /* test eax, eax */ /* 0x250D90AC: test eax, eax */
   2595     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2596     _cf = 0;
   2597     _flag_k = FK_TEST;
   2598     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D90E1; /* 0x250D90AE: jne 0x250d90e1 */
   2599 L_250D90B0:
   2600     /* cmp MEM32(esi), 0 */ /* 0x250D90B0: cmp dword ptr [esi], 0 */
   2601     _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0);
   2602     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2603     _flag_k = FK_CMP;
   2604     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D90E1; /* 0x250D90B3: je 0x250d90e1 */
   2605 L_250D90B5:
   2606     eax = MEM32(esi + 0x4); /* 0x250D90B5: mov eax, dword ptr [esi + 4] */
   2607     PUSH32(esp, eax); /* 0x250D90B8: push eax */
   2608     PUSH32(esp, esi); /* 0x250D90B9: push esi */
   2609     RECOMP_ICALL(0x250E3530u); /* 0x250D90BA: call 0x250e3530 */ /* not lifted */
   2610     RECOMP_FLAGS_IN();
   2611     ecx = MEM32(esi); /* 0x250D90BF: mov ecx, dword ptr [esi] */
   2612     PUSH32(esp, 0); /* 0x250D90C1: push 0 */
   2613     PUSH32(esp, 0x251B2598u); /* 0x250D90C3: push 0x251b2598 */
   2614     PUSH32(esp, 0x251B2598u); /* 0x250D90C8: push 0x251b2598 */
   2615     PUSH32(esp, 0); /* 0x250D90CD: push 0 */
   2616     PUSH32(esp, ecx); /* 0x250D90CF: push ecx */
   2617     RECOMP_ICALL(0x251381ACu); /* 0x250D90D0: call 0x251381ac */ /* not lifted */
   2618     RECOMP_FLAGS_IN();
   2619     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu);
   2620     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2621     esp = esp + 0x1Cu; /* 0x250D90D5: add esp, 0x1c */
   2622     _flag_k = FK_ADD;
   2623     /* test eax, eax */ /* 0x250D90D8: test eax, eax */
   2624     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2625     _cf = 0;
   2626     _flag_k = FK_TEST;
   2627     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D90E1; /* 0x250D90DA: jne 0x250d90e1 */
   2628 L_250D90DC:
   2629     /* cmp MEM32(esi), 0 */ /* 0x250D90DC: cmp dword ptr [esi], 0 */
   2630     _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0);
   2631     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2632     _flag_k = FK_CMP;
   2633     RECOMP_BACKEDGE();
   2634     if (CMP_NE(_flag_a, _flag_b)) goto L_250D90B5; /* 0x250D90DF: jne 0x250d90b5 */
   2635 L_250D90E1:
   2636     eax = esi; /* 0x250D90E1: mov eax, esi */
   2637     esi = POP32_VAL(esp); /* 0x250D90E3: pop esi */
   2638     ebp = POP32_VAL(esp); /* 0x250D90E4: pop ebp */
   2639     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D90E5: ret 4 */
   2640     RECOMP_REGS_OUT();
   2641 }
   2642 
   2643 void sub_250D90F0(void) {
   2644     int _fpu_cmp = 0;
   2645     uint32_t _cf = 0;
   2646     int _df = 1;
   2647     uint32_t _flag_k = FK_NONE;
   2648     uint32_t _flag_a = 0, _flag_b = 0;
   2649     uint32_t _itail_tgt = 0;
   2650     RECOMP_REGS_LOCALS
   2651     RECOMP_ENTER(0x250D90F0u);
   2652 
   2653 L_250D90F0:
   2654     PUSH32(esp, ebp); /* 0x250D90F0: push ebp */
   2655     ebp = esp; /* 0x250D90F1: mov ebp, esp */
   2656     PUSH32(esp, esi); /* 0x250D90F3: push esi */
   2657     esi = MEM32(ebp + 0x8); /* 0x250D90F4: mov esi, dword ptr [ebp + 8] */
   2658     PUSH32(esp, 0); /* 0x250D90F7: push 0 */
   2659     PUSH32(esp, 0x251B2598u); /* 0x250D90F9: push 0x251b2598 */
   2660     PUSH32(esp, 0x251B2598u); /* 0x250D90FE: push 0x251b2598 */
   2661     PUSH32(esp, 0); /* 0x250D9103: push 0 */
   2662     PUSH32(esp, ecx); /* 0x250D9105: push ecx */
   2663     MEM32(esi) = ecx; /* 0x250D9106: mov dword ptr [esi], ecx */
   2664     MEM32(esi + 0x4) = ecx; /* 0x250D9108: mov dword ptr [esi + 4], ecx */
   2665     RECOMP_ICALL(0x251381ACu); /* 0x250D910B: call 0x251381ac */ /* not lifted */
   2666     RECOMP_FLAGS_IN();
   2667     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2668     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2669     esp = esp + 0x14u; /* 0x250D9110: add esp, 0x14 */
   2670     _flag_k = FK_ADD;
   2671     /* test eax, eax */ /* 0x250D9113: test eax, eax */
   2672     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2673     _cf = 0;
   2674     _flag_k = FK_TEST;
   2675     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D9148; /* 0x250D9115: jne 0x250d9148 */
   2676 L_250D9117:
   2677     /* cmp MEM32(esi), 0 */ /* 0x250D9117: cmp dword ptr [esi], 0 */
   2678     _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0);
   2679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2680     _flag_k = FK_CMP;
   2681     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D9148; /* 0x250D911A: je 0x250d9148 */
   2682 L_250D911C:
   2683     eax = MEM32(esi + 0x4); /* 0x250D911C: mov eax, dword ptr [esi + 4] */
   2684     PUSH32(esp, eax); /* 0x250D911F: push eax */
   2685     PUSH32(esp, esi); /* 0x250D9120: push esi */
   2686     RECOMP_ICALL(0x250E3530u); /* 0x250D9121: call 0x250e3530 */ /* not lifted */
   2687     RECOMP_FLAGS_IN();
   2688     ecx = MEM32(esi); /* 0x250D9126: mov ecx, dword ptr [esi] */
   2689     PUSH32(esp, 0); /* 0x250D9128: push 0 */
   2690     PUSH32(esp, 0x251B2598u); /* 0x250D912A: push 0x251b2598 */
   2691     PUSH32(esp, 0x251B2598u); /* 0x250D912F: push 0x251b2598 */
   2692     PUSH32(esp, 0); /* 0x250D9134: push 0 */
   2693     PUSH32(esp, ecx); /* 0x250D9136: push ecx */
   2694     RECOMP_ICALL(0x251381ACu); /* 0x250D9137: call 0x251381ac */ /* not lifted */
   2695     RECOMP_FLAGS_IN();
   2696     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu);
   2697     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2698     esp = esp + 0x1Cu; /* 0x250D913C: add esp, 0x1c */
   2699     _flag_k = FK_ADD;
   2700     /* test eax, eax */ /* 0x250D913F: test eax, eax */
   2701     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2702     _cf = 0;
   2703     _flag_k = FK_TEST;
   2704     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D9148; /* 0x250D9141: jne 0x250d9148 */
   2705 L_250D9143:
   2706     /* cmp MEM32(esi), 0 */ /* 0x250D9143: cmp dword ptr [esi], 0 */
   2707     _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0);
   2708     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2709     _flag_k = FK_CMP;
   2710     RECOMP_BACKEDGE();
   2711     if (CMP_NE(_flag_a, _flag_b)) goto L_250D911C; /* 0x250D9146: jne 0x250d911c */
   2712 L_250D9148:
   2713     eax = esi; /* 0x250D9148: mov eax, esi */
   2714     esi = POP32_VAL(esp); /* 0x250D914A: pop esi */
   2715     ebp = POP32_VAL(esp); /* 0x250D914B: pop ebp */
   2716     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D914C: ret 4 */
   2717     RECOMP_REGS_OUT();
   2718 }
   2719 
   2720 void sub_250D9150(void) {
   2721     int _fpu_cmp = 0;
   2722     uint32_t _cf = 0;
   2723     int _df = 1;
   2724     uint32_t _flag_k = FK_NONE;
   2725     uint32_t _flag_a = 0, _flag_b = 0;
   2726     uint32_t _itail_tgt = 0;
   2727     RECOMP_REGS_LOCALS
   2728     RECOMP_ENTER(0x250D9150u);
   2729 
   2730 L_250D9150:
   2731     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2732     eax = 0; /* 0x250D9150: xor eax, eax */
   2733     _cf = 0;
   2734     _flag_k = FK_TEST;
   2735     SET_LO8(eax, MEM8(ecx + 0x130)); /* 0x250D9152: mov al, byte ptr [ecx + 0x130] */
   2736     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9158: ret  */
   2737     RECOMP_REGS_OUT();
   2738 }
   2739 
   2740 void sub_250D9160(void) {
   2741     int _fpu_cmp = 0;
   2742     uint32_t _cf = 0;
   2743     int _df = 1;
   2744     uint32_t _flag_k = FK_NONE;
   2745     uint32_t _flag_a = 0, _flag_b = 0;
   2746     uint32_t _itail_tgt = 0;
   2747     RECOMP_REGS_LOCALS
   2748     RECOMP_ENTER(0x250D9160u);
   2749 
   2750 L_250D9160:
   2751     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2752     eax = 0; /* 0x250D9160: xor eax, eax */
   2753     _cf = 0;
   2754     _flag_k = FK_TEST;
   2755     SET_LO8(eax, MEM8(ecx + 0x131)); /* 0x250D9162: mov al, byte ptr [ecx + 0x131] */
   2756     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9168: ret  */
   2757     RECOMP_REGS_OUT();
   2758 }
   2759 
   2760 void sub_250D9170(void) {
   2761     int _fpu_cmp = 0;
   2762     uint32_t _cf = 0;
   2763     int _df = 1;
   2764     uint32_t _flag_k = FK_NONE;
   2765     uint32_t _flag_a = 0, _flag_b = 0;
   2766     uint32_t _itail_tgt = 0;
   2767     RECOMP_REGS_LOCALS
   2768     RECOMP_ENTER(0x250D9170u);
   2769 
   2770 L_250D9170:
   2771     PUSH32(esp, 0); /* 0x250D9170: push 0 */
   2772     PUSH32(esp, 0); /* 0x250D9172: push 0 */
   2773     RECOMP_ICALL(0x250E1060u); /* 0x250D9174: call 0x250e1060 */ /* not lifted */
   2774     RECOMP_FLAGS_IN();
   2775     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9179: ret  */
   2776     RECOMP_REGS_OUT();
   2777 }
   2778 
   2779 void sub_250D9180(void) {
   2780     int _fpu_cmp = 0;
   2781     uint32_t _cf = 0;
   2782     int _df = 1;
   2783     uint32_t _flag_k = FK_NONE;
   2784     uint32_t _flag_a = 0, _flag_b = 0;
   2785     uint32_t _itail_tgt = 0;
   2786     RECOMP_REGS_LOCALS
   2787     RECOMP_ENTER(0x250D9180u);
   2788 
   2789 L_250D9180:
   2790     PUSH32(esp, ebp); /* 0x250D9180: push ebp */
   2791     ebp = esp; /* 0x250D9181: mov ebp, esp */
   2792     edx = MEM32(ebp + 0x8); /* 0x250D9183: mov edx, dword ptr [ebp + 8] */
   2793     PUSH32(esp, esi); /* 0x250D9186: push esi */
   2794     esi = MEM32(edx); /* 0x250D9187: mov esi, dword ptr [edx] */
   2795     eax = ecx + 0x78; /* 0x250D9189: lea eax, [ecx + 0x78] */
   2796     MEM32(eax) = esi; /* 0x250D918C: mov dword ptr [eax], esi */
   2797     esi = MEM32(edx + 0x4); /* 0x250D918E: mov esi, dword ptr [edx + 4] */
   2798     MEM32(eax + 0x4) = esi; /* 0x250D9191: mov dword ptr [eax + 4], esi */
   2799     edx = MEM32(edx + 0x8); /* 0x250D9194: mov edx, dword ptr [edx + 8] */
   2800     PUSH32(esp, 1); /* 0x250D9197: push 1 */
   2801     MEM32(eax + 0x8) = edx; /* 0x250D9199: mov dword ptr [eax + 8], edx */
   2802     eax = MEM32(ecx); /* 0x250D919C: mov eax, dword ptr [ecx] */
   2803     PUSH32(esp, 1); /* 0x250D919E: push 1 */
   2804     RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x250D91A0: call dword ptr [eax + 0x2c] */
   2805     RECOMP_FLAGS_IN();
   2806     esi = POP32_VAL(esp); /* 0x250D91A3: pop esi */
   2807     ebp = POP32_VAL(esp); /* 0x250D91A4: pop ebp */
   2808     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D91A5: ret 4 */
   2809     RECOMP_REGS_OUT();
   2810 }
   2811 
   2812 void sub_250D91B0(void) {
   2813     int _fpu_cmp = 0;
   2814     uint32_t _cf = 0;
   2815     int _df = 1;
   2816     uint32_t _flag_k = FK_NONE;
   2817     uint32_t _flag_a = 0, _flag_b = 0;
   2818     uint32_t _itail_tgt = 0;
   2819     RECOMP_REGS_LOCALS
   2820     RECOMP_ENTER(0x250D91B0u);
   2821 
   2822 L_250D91B0:
   2823     PUSH32(esp, ebp); /* 0x250D91B0: push ebp */
   2824     ebp = esp; /* 0x250D91B1: mov ebp, esp */
   2825     edx = MEM32(ebp + 0x8); /* 0x250D91B3: mov edx, dword ptr [ebp + 8] */
   2826     PUSH32(esp, esi); /* 0x250D91B6: push esi */
   2827     esi = MEM32(edx); /* 0x250D91B7: mov esi, dword ptr [edx] */
   2828     eax = ecx + 0x84; /* 0x250D91B9: lea eax, [ecx + 0x84] */
   2829     MEM32(eax) = esi; /* 0x250D91BF: mov dword ptr [eax], esi */
   2830     esi = MEM32(edx + 0x4); /* 0x250D91C1: mov esi, dword ptr [edx + 4] */
   2831     MEM32(eax + 0x4) = esi; /* 0x250D91C4: mov dword ptr [eax + 4], esi */
   2832     esi = MEM32(edx + 0x8); /* 0x250D91C7: mov esi, dword ptr [edx + 8] */
   2833     MEM32(eax + 0x8) = esi; /* 0x250D91CA: mov dword ptr [eax + 8], esi */
   2834     edx = MEM32(edx + 0xC); /* 0x250D91CD: mov edx, dword ptr [edx + 0xc] */
   2835     PUSH32(esp, 1); /* 0x250D91D0: push 1 */
   2836     MEM32(eax + 0xC) = edx; /* 0x250D91D2: mov dword ptr [eax + 0xc], edx */
   2837     eax = MEM32(ecx); /* 0x250D91D5: mov eax, dword ptr [ecx] */
   2838     PUSH32(esp, 2); /* 0x250D91D7: push 2 */
   2839     RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x250D91D9: call dword ptr [eax + 0x2c] */
   2840     RECOMP_FLAGS_IN();
   2841     esi = POP32_VAL(esp); /* 0x250D91DC: pop esi */
   2842     ebp = POP32_VAL(esp); /* 0x250D91DD: pop ebp */
   2843     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D91DE: ret 4 */
   2844     RECOMP_REGS_OUT();
   2845 }
   2846 
   2847 void sub_250D91F0(void) {
   2848     int _fpu_cmp = 0;
   2849     uint32_t _cf = 0;
   2850     int _df = 1;
   2851     uint32_t _flag_k = FK_NONE;
   2852     uint32_t _flag_a = 0, _flag_b = 0;
   2853     uint32_t _itail_tgt = 0;
   2854     RECOMP_REGS_LOCALS
   2855     RECOMP_ENTER(0x250D91F0u);
   2856 
   2857 L_250D91F0:
   2858     PUSH32(esp, ebp); /* 0x250D91F0: push ebp */
   2859     ebp = esp; /* 0x250D91F1: mov ebp, esp */
   2860     PUSH32(esp, esi); /* 0x250D91F3: push esi */
   2861     esi = MEM32(ebp + 0x8); /* 0x250D91F4: mov esi, dword ptr [ebp + 8] */
   2862     eax = ecx; /* 0x250D91F7: mov eax, ecx */
   2863     edx = MEM32(eax); /* 0x250D91F9: mov edx, dword ptr [eax] */
   2864     PUSH32(esp, edi); /* 0x250D91FB: push edi */
   2865     edi = eax + 0x98; /* 0x250D91FC: lea edi, [eax + 0x98] */
   2866     ecx = 0x10u; /* 0x250D9202: mov ecx, 0x10 */
   2867     PUSH32(esp, 1); /* 0x250D9207: push 1 */
   2868     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250D9209: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   2869     PUSH32(esp, 3); /* 0x250D920B: push 3 */
   2870     ecx = eax; /* 0x250D920D: mov ecx, eax */
   2871     RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250D920F: call dword ptr [edx + 0x2c] */
   2872     RECOMP_FLAGS_IN();
   2873     edi = POP32_VAL(esp); /* 0x250D9212: pop edi */
   2874     esi = POP32_VAL(esp); /* 0x250D9213: pop esi */
   2875     ebp = POP32_VAL(esp); /* 0x250D9214: pop ebp */
   2876     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D9215: ret 4 */
   2877     RECOMP_REGS_OUT();
   2878 }
   2879 
   2880 void sub_250D9220(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(0x250D9220u);
   2889 
   2890 L_250D9220:
   2891     eax = 0x2528D760u; /* 0x250D9220: mov eax, 0x2528d760 */
   2892     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9225: ret  */
   2893     RECOMP_REGS_OUT();
   2894 }
   2895 
   2896 void sub_250D9230(void) {
   2897     int _fpu_cmp = 0;
   2898     uint32_t _cf = 0;
   2899     int _df = 1;
   2900     uint32_t _flag_k = FK_NONE;
   2901     uint32_t _flag_a = 0, _flag_b = 0;
   2902     uint32_t _itail_tgt = 0;
   2903     RECOMP_REGS_LOCALS
   2904     RECOMP_ENTER(0x250D9230u);
   2905 
   2906 L_250D9230:
   2907     eax = MEM32(0x2528D770); /* 0x250D9230: mov eax, dword ptr [0x2528d770] */
   2908     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9235: ret  */
   2909     RECOMP_REGS_OUT();
   2910 }
   2911 
   2912 void sub_250D9240(void) {
   2913     int _fpu_cmp = 0;
   2914     uint32_t _cf = 0;
   2915     int _df = 1;
   2916     uint32_t _flag_k = FK_NONE;
   2917     uint32_t _flag_a = 0, _flag_b = 0;
   2918     uint32_t _itail_tgt = 0;
   2919     RECOMP_REGS_LOCALS
   2920     RECOMP_ENTER(0x250D9240u);
   2921 
   2922 L_250D9240:
   2923     SET_LO8(eax, MEM8(0x251BC0B4)); /* 0x250D9240: mov al, byte ptr [0x251bc0b4] */
   2924     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9245: ret  */
   2925     RECOMP_REGS_OUT();
   2926 }
   2927 
   2928 void sub_250D9250(void) {
   2929     int _fpu_cmp = 0;
   2930     uint32_t _cf = 0;
   2931     int _df = 1;
   2932     uint32_t _flag_k = FK_NONE;
   2933     uint32_t _flag_a = 0, _flag_b = 0;
   2934     uint32_t _itail_tgt = 0;
   2935     RECOMP_REGS_LOCALS
   2936     RECOMP_ENTER(0x250D9250u);
   2937 
   2938 L_250D9250:
   2939     PUSH32(esp, ebp); /* 0x250D9250: push ebp */
   2940     ebp = esp; /* 0x250D9251: mov ebp, esp */
   2941     PUSH32(esp, 0xFFFFFFFFu); /* 0x250D9253: push -1 */
   2942     PUSH32(esp, 0x2514AB0Bu); /* 0x250D9255: push 0x2514ab0b */
   2943     eax = MEM32(FS_BASE + (0)); /* 0x250D925A: mov eax, dword ptr fs:[0] */
   2944     PUSH32(esp, eax); /* 0x250D9260: push eax */
   2945     MEM32(FS_BASE + (0)) = esp; /* 0x250D9261: mov dword ptr fs:[0], esp */
   2946     PUSH32(esp, ecx); /* 0x250D9268: push ecx */
   2947     PUSH32(esp, esi); /* 0x250D9269: push esi */
   2948     PUSH32(esp, 0x1ACu); /* 0x250D926A: push 0x1ac */
   2949     esi = ecx; /* 0x250D926F: mov esi, ecx */
   2950     RECOMP_ICALL(0x251380D0u); /* 0x250D9271: call 0x251380d0 */ /* not lifted */
   2951     RECOMP_FLAGS_IN();
   2952     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2953     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2954     esp = esp + 4; /* 0x250D9276: add esp, 4 */
   2955     _flag_k = FK_ADD;
   2956     MEM32(ebp + (-0x10)) = eax; /* 0x250D9279: mov dword ptr [ebp - 0x10], eax */
   2957     /* test eax, eax */ /* 0x250D927C: test eax, eax */
   2958     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2959     _cf = 0;
   2960     _flag_k = FK_TEST;
   2961     MEM32(ebp + (-0x4)) = 0; /* 0x250D927E: mov dword ptr [ebp - 4], 0 */
   2962     if (TEST_Z(_flag_a, _flag_b)) goto L_250D929E; /* 0x250D9285: je 0x250d929e */
   2963 L_250D9287:
   2964     PUSH32(esp, esi); /* 0x250D9287: push esi */
   2965     ecx = eax; /* 0x250D9288: mov ecx, eax */
   2966     RECOMP_ICALL(0x25104E90u); /* 0x250D928A: call 0x25104e90 */ /* not lifted */
   2967     RECOMP_FLAGS_IN();
   2968     esi = POP32_VAL(esp); /* 0x250D928F: pop esi */
   2969     ecx = MEM32(ebp + (-0xC)); /* 0x250D9290: mov ecx, dword ptr [ebp - 0xc] */
   2970     MEM32(FS_BASE + (0)) = ecx; /* 0x250D9293: mov dword ptr fs:[0], ecx */
   2971     esp = ebp; /* 0x250D929A: mov esp, ebp */
   2972     ebp = POP32_VAL(esp); /* 0x250D929C: pop ebp */
   2973     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D929D: ret  */
   2974 L_250D929E:
   2975     ecx = MEM32(ebp + (-0xC)); /* 0x250D929E: mov ecx, dword ptr [ebp - 0xc] */
   2976     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2977     eax = 0; /* 0x250D92A1: xor eax, eax */
   2978     _cf = 0;
   2979     _flag_k = FK_TEST;
   2980     esi = POP32_VAL(esp); /* 0x250D92A3: pop esi */
   2981     MEM32(FS_BASE + (0)) = ecx; /* 0x250D92A4: mov dword ptr fs:[0], ecx */
   2982     esp = ebp; /* 0x250D92AB: mov esp, ebp */
   2983     ebp = POP32_VAL(esp); /* 0x250D92AD: pop ebp */
   2984     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D92AE: ret  */
   2985     RECOMP_REGS_OUT();
   2986 }
   2987 
   2988 void sub_250D92B0(void) {
   2989     int _fpu_cmp = 0;
   2990     uint32_t _cf = 0;
   2991     int _df = 1;
   2992     uint32_t _flag_k = FK_NONE;
   2993     uint32_t _flag_a = 0, _flag_b = 0;
   2994     uint32_t _itail_tgt = 0;
   2995     RECOMP_REGS_LOCALS
   2996     RECOMP_ENTER(0x250D92B0u);
   2997 
   2998 L_250D92B0:
   2999     PUSH32(esp, ebp); /* 0x250D92B0: push ebp */
   3000     ebp = esp; /* 0x250D92B1: mov ebp, esp */
   3001     fp_push(*(float*)&MEM32(ecx + 0x184)); /* 0x250D92B3: fld dword ptr [ecx + 0x184] */
   3002     eax = MEM32(ebp + 0x8); /* 0x250D92B9: mov eax, dword ptr [ebp + 8] */
   3003     fp_push(*(float*)&MEM32(eax + 0x184)); /* 0x250D92BC: fld dword ptr [eax + 0x184] */
   3004     _fpu_cmp = FPU_CMP(_st[0], _st[1]); /* 0x250D92C2: fcompp  */
   3005     fp_pop(); fp_pop();
   3006     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250D92C4: fnstsw ax */
   3007     /* test HI8(eax), 0x41u */ /* 0x250D92C6: test ah, 0x41 */
   3008     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3009     _cf = 0;
   3010     _flag_k = FK_NARROW(FK_TEST, 24);
   3011     if (TEST_NZ(_flag_a, _flag_b)) goto L_250D92D4; /* 0x250D92C9: jne 0x250d92d4 */
   3012 L_250D92CB:
   3013     eax = 1; /* 0x250D92CB: mov eax, 1 */
   3014     ebp = POP32_VAL(esp); /* 0x250D92D0: pop ebp */
   3015     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D92D1: ret 4 */
   3016 L_250D92D4:
   3017     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3018     eax = 0; /* 0x250D92D4: xor eax, eax */
   3019     _cf = 0;
   3020     _flag_k = FK_TEST;
   3021     ebp = POP32_VAL(esp); /* 0x250D92D6: pop ebp */
   3022     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D92D7: ret 4 */
   3023     RECOMP_REGS_OUT();
   3024 }
   3025 
   3026 void sub_250D92E0(void) {
   3027     int _fpu_cmp = 0;
   3028     uint32_t _cf = 0;
   3029     int _df = 1;
   3030     uint32_t _flag_k = FK_NONE;
   3031     uint32_t _flag_a = 0, _flag_b = 0;
   3032     uint32_t _itail_tgt = 0;
   3033     RECOMP_REGS_LOCALS
   3034     RECOMP_ENTER(0x250D92E0u);
   3035 
   3036 L_250D92E0:
   3037     PUSH32(esp, ebp); /* 0x250D92E0: push ebp */
   3038     ebp = esp; /* 0x250D92E1: mov ebp, esp */
   3039     eax = MEM32(ebp + 0x8); /* 0x250D92E3: mov eax, dword ptr [ebp + 8] */
   3040     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3041     ecx = 0; /* 0x250D92E6: xor ecx, ecx */
   3042     _cf = 0;
   3043     _flag_k = FK_TEST;
   3044     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3045     edx = 0; /* 0x250D92E8: xor edx, edx */
   3046     _cf = 0;
   3047     _flag_k = FK_TEST;
   3048     MEM32(eax) = ecx; /* 0x250D92EA: mov dword ptr [eax], ecx */
   3049     MEM32(eax + 0x4) = edx; /* 0x250D92EC: mov dword ptr [eax + 4], edx */
   3050     ebp = POP32_VAL(esp); /* 0x250D92EF: pop ebp */
   3051     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D92F0: ret 4 */
   3052     RECOMP_REGS_OUT();
   3053 }
   3054 
   3055 void sub_250D9300(void) {
   3056     int _fpu_cmp = 0;
   3057     uint32_t _cf = 0;
   3058     int _df = 1;
   3059     uint32_t _flag_k = FK_NONE;
   3060     uint32_t _flag_a = 0, _flag_b = 0;
   3061     uint32_t _itail_tgt = 0;
   3062     RECOMP_REGS_LOCALS
   3063     RECOMP_ENTER(0x250D9300u);
   3064 
   3065 L_250D9300:
   3066     eax = ecx + 0x138; /* 0x250D9300: lea eax, [ecx + 0x138] */
   3067     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9306: ret  */
   3068     RECOMP_REGS_OUT();
   3069 }
   3070 
   3071 void sub_250D9310(void) {
   3072     int _fpu_cmp = 0;
   3073     uint32_t _cf = 0;
   3074     int _df = 1;
   3075     uint32_t _flag_k = FK_NONE;
   3076     uint32_t _flag_a = 0, _flag_b = 0;
   3077     uint32_t _itail_tgt = 0;
   3078     RECOMP_REGS_LOCALS
   3079     RECOMP_ENTER(0x250D9310u);
   3080 
   3081 L_250D9310:
   3082     eax = MEM32(ecx + 0x138); /* 0x250D9310: mov eax, dword ptr [ecx + 0x138] */
   3083     PUSH32(esp, eax); /* 0x250D9316: push eax */
   3084     RECOMP_ICALL(0x25105310u); /* 0x250D9317: call 0x25105310 */ /* not lifted */
   3085     RECOMP_FLAGS_IN();
   3086     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D931C: ret  */
   3087     RECOMP_REGS_OUT();
   3088 }
   3089 
   3090 void sub_250D9320(void) {
   3091     int _fpu_cmp = 0;
   3092     uint32_t _cf = 0;
   3093     int _df = 1;
   3094     uint32_t _flag_k = FK_NONE;
   3095     uint32_t _flag_a = 0, _flag_b = 0;
   3096     uint32_t _itail_tgt = 0;
   3097     RECOMP_REGS_LOCALS
   3098     RECOMP_ENTER(0x250D9320u);
   3099 
   3100 L_250D9320:
   3101     PUSH32(esp, ebp); /* 0x250D9320: push ebp */
   3102     ebp = esp; /* 0x250D9321: mov ebp, esp */
   3103     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3105     esp = esp - 0x10u; /* 0x250D9323: sub esp, 0x10 */
   3106     _flag_k = FK_CMP;
   3107     eax = MEM32(ebp + 0x8); /* 0x250D9326: mov eax, dword ptr [ebp + 8] */
   3108     edx = MEM32(eax); /* 0x250D9329: mov edx, dword ptr [eax] */
   3109     PUSH32(esp, ebx); /* 0x250D932B: push ebx */
   3110     MEM32(ebp + (-0x10)) = edx; /* 0x250D932C: mov dword ptr [ebp - 0x10], edx */
   3111     edx = MEM32(eax + 0x4); /* 0x250D932F: mov edx, dword ptr [eax + 4] */
   3112     eax = MEM32(eax + 0x8); /* 0x250D9332: mov eax, dword ptr [eax + 8] */
   3113     MEM32(ebp + (-0xC)) = edx; /* 0x250D9335: mov dword ptr [ebp - 0xc], edx */
   3114     edx = ecx + 0x14C; /* 0x250D9338: lea edx, [ecx + 0x14c] */
   3115     MEM32(ebp + (-0x8)) = eax; /* 0x250D933E: mov dword ptr [ebp - 8], eax */
   3116     eax = MEM32(ebp + (-0x10)); /* 0x250D9341: mov eax, dword ptr [ebp - 0x10] */
   3117     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x13Cu);
   3118     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3119     ecx = ecx + 0x13Cu; /* 0x250D9344: add ecx, 0x13c */
   3120     _flag_k = FK_ADD;
   3121     PUSH32(esp, esi); /* 0x250D934A: push esi */
   3122     esi = MEM32(ebp + (-0x8)); /* 0x250D934B: mov esi, dword ptr [ebp - 8] */
   3123     ebx = edx; /* 0x250D934E: mov ebx, edx */
   3124     edx = MEM32(ebp + (-0xC)); /* 0x250D9350: mov edx, dword ptr [ebp - 0xc] */
   3125     MEM32(ebx) = eax; /* 0x250D9353: mov dword ptr [ebx], eax */
   3126     MEM32(ecx) = eax; /* 0x250D9355: mov dword ptr [ecx], eax */
   3127     PUSH32(esp, edi); /* 0x250D9357: push edi */
   3128     MEM32(ebx + 0x4) = edx; /* 0x250D9358: mov dword ptr [ebx + 4], edx */
   3129     MEM32(ecx + 0x4) = edx; /* 0x250D935B: mov dword ptr [ecx + 4], edx */
   3130     MEM32(ebx + 0x8) = esi; /* 0x250D935E: mov dword ptr [ebx + 8], esi */
   3131     MEM32(ebp + (-0x4)) = 0x3F800000u; /* 0x250D9361: mov dword ptr [ebp - 4], 0x3f800000 */
   3132     edi = MEM32(ebp + (-0x4)); /* 0x250D9368: mov edi, dword ptr [ebp - 4] */
   3133     MEM32(ecx + 0x8) = esi; /* 0x250D936B: mov dword ptr [ecx + 8], esi */
   3134     MEM32(ebx + 0xC) = edi; /* 0x250D936E: mov dword ptr [ebx + 0xc], edi */
   3135     MEM32(ecx + 0xC) = edi; /* 0x250D9371: mov dword ptr [ecx + 0xc], edi */
   3136     edi = POP32_VAL(esp); /* 0x250D9374: pop edi */
   3137     esi = POP32_VAL(esp); /* 0x250D9375: pop esi */
   3138     ebx = POP32_VAL(esp); /* 0x250D9376: pop ebx */
   3139     esp = ebp; /* 0x250D9377: mov esp, ebp */
   3140     ebp = POP32_VAL(esp); /* 0x250D9379: pop ebp */
   3141     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D937A: ret 4 */
   3142     RECOMP_REGS_OUT();
   3143 }
   3144 
   3145 void sub_250D9380(void) {
   3146     int _fpu_cmp = 0;
   3147     uint32_t _cf = 0;
   3148     int _df = 1;
   3149     uint32_t _flag_k = FK_NONE;
   3150     uint32_t _flag_a = 0, _flag_b = 0;
   3151     uint32_t _itail_tgt = 0;
   3152     RECOMP_REGS_LOCALS
   3153     RECOMP_ENTER(0x250D9380u);
   3154 
   3155 L_250D9380:
   3156     SET_LO8(eax, MEM8(ecx + 0x1A8)); /* 0x250D9380: mov al, byte ptr [ecx + 0x1a8] */
   3157     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D9386: ret 4 */
   3158     RECOMP_REGS_OUT();
   3159 }
   3160 
   3161 void sub_250D9390(void) {
   3162     int _fpu_cmp = 0;
   3163     uint32_t _cf = 0;
   3164     int _df = 1;
   3165     uint32_t _flag_k = FK_NONE;
   3166     uint32_t _flag_a = 0, _flag_b = 0;
   3167     uint32_t _itail_tgt = 0;
   3168     RECOMP_REGS_LOCALS
   3169     RECOMP_ENTER(0x250D9390u);
   3170 
   3171 L_250D9390:
   3172     PUSH32(esp, ebp); /* 0x250D9390: push ebp */
   3173     ebp = esp; /* 0x250D9391: mov ebp, esp */
   3174     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3176     esp = esp - 0x10u; /* 0x250D9393: sub esp, 0x10 */
   3177     _flag_k = FK_CMP;
   3178     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x13Cu);
   3179     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3180     ecx = ecx + 0x13Cu; /* 0x250D9396: add ecx, 0x13c */
   3181     _flag_k = FK_ADD;
   3182     eax = MEM32(ecx); /* 0x250D939C: mov eax, dword ptr [ecx] */
   3183     edx = MEM32(ecx + 0x4); /* 0x250D939E: mov edx, dword ptr [ecx + 4] */
   3184     MEM32(ebp + (-0x10)) = eax; /* 0x250D93A1: mov dword ptr [ebp - 0x10], eax */
   3185     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250D93A4: fld dword ptr [ebp - 0x10] */
   3186     eax = MEM32(ecx + 0x8); /* 0x250D93A7: mov eax, dword ptr [ecx + 8] */
   3187     ecx = MEM32(ecx + 0xC); /* 0x250D93AA: mov ecx, dword ptr [ecx + 0xc] */
   3188     MEM32(ebp + (-0x8)) = eax; /* 0x250D93AD: mov dword ptr [ebp - 8], eax */
   3189     eax = MEM32(ebp + 0x8); /* 0x250D93B0: mov eax, dword ptr [ebp + 8] */
   3190     MEM32(ebp + (-0x4)) = ecx; /* 0x250D93B3: mov dword ptr [ebp - 4], ecx */
   3191     { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x250D93B6: fstp dword ptr [eax] */
   3192     ecx = MEM32(ebp + (-0x8)); /* 0x250D93B8: mov ecx, dword ptr [ebp - 8] */
   3193     MEM32(ebp + (-0xC)) = edx; /* 0x250D93BB: mov dword ptr [ebp - 0xc], edx */
   3194     MEM32(eax + 0x4) = edx; /* 0x250D93BE: mov dword ptr [eax + 4], edx */
   3195     MEM32(eax + 0x8) = ecx; /* 0x250D93C1: mov dword ptr [eax + 8], ecx */
   3196     esp = ebp; /* 0x250D93C4: mov esp, ebp */
   3197     ebp = POP32_VAL(esp); /* 0x250D93C6: pop ebp */
   3198     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D93C7: ret 4 */
   3199     RECOMP_REGS_OUT();
   3200 }
   3201 
   3202 void sub_250D93D0(void) {
   3203     int _fpu_cmp = 0;
   3204     uint32_t _cf = 0;
   3205     int _df = 1;
   3206     uint32_t _flag_k = FK_NONE;
   3207     uint32_t _flag_a = 0, _flag_b = 0;
   3208     uint32_t _itail_tgt = 0;
   3209     RECOMP_REGS_LOCALS
   3210     RECOMP_ENTER(0x250D93D0u);
   3211 
   3212 L_250D93D0:
   3213     PUSH32(esp, ebp); /* 0x250D93D0: push ebp */
   3214     ebp = esp; /* 0x250D93D1: mov ebp, esp */
   3215     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3216     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3217     esp = esp - 0x10u; /* 0x250D93D3: sub esp, 0x10 */
   3218     _flag_k = FK_CMP;
   3219     eax = MEM32(ebp + 0x8); /* 0x250D93D6: mov eax, dword ptr [ebp + 8] */
   3220     edx = MEM32(eax); /* 0x250D93D9: mov edx, dword ptr [eax] */
   3221     MEM32(ebp + (-0x10)) = edx; /* 0x250D93DB: mov dword ptr [ebp - 0x10], edx */
   3222     edx = MEM32(eax + 0x4); /* 0x250D93DE: mov edx, dword ptr [eax + 4] */
   3223     eax = MEM32(eax + 0x8); /* 0x250D93E1: mov eax, dword ptr [eax + 8] */
   3224     MEM32(ebp + (-0xC)) = edx; /* 0x250D93E4: mov dword ptr [ebp - 0xc], edx */
   3225     edx = MEM32(ebp + (-0x10)); /* 0x250D93E7: mov edx, dword ptr [ebp - 0x10] */
   3226     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x13Cu);
   3227     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3228     ecx = ecx + 0x13Cu; /* 0x250D93EA: add ecx, 0x13c */
   3229     _flag_k = FK_ADD;
   3230     MEM32(ebp + (-0x8)) = eax; /* 0x250D93F0: mov dword ptr [ebp - 8], eax */
   3231     eax = MEM32(ebp + (-0xC)); /* 0x250D93F3: mov eax, dword ptr [ebp - 0xc] */
   3232     MEM32(ecx) = edx; /* 0x250D93F6: mov dword ptr [ecx], edx */
   3233     edx = MEM32(ebp + (-0x8)); /* 0x250D93F8: mov edx, dword ptr [ebp - 8] */
   3234     MEM32(ecx + 0x4) = eax; /* 0x250D93FB: mov dword ptr [ecx + 4], eax */
   3235     MEM32(ebp + (-0x4)) = 0x3F800000u; /* 0x250D93FE: mov dword ptr [ebp - 4], 0x3f800000 */
   3236     eax = MEM32(ebp + (-0x4)); /* 0x250D9405: mov eax, dword ptr [ebp - 4] */
   3237     MEM32(ecx + 0x8) = edx; /* 0x250D9408: mov dword ptr [ecx + 8], edx */
   3238     MEM32(ecx + 0xC) = eax; /* 0x250D940B: mov dword ptr [ecx + 0xc], eax */
   3239     esp = ebp; /* 0x250D940E: mov esp, ebp */
   3240     ebp = POP32_VAL(esp); /* 0x250D9410: pop ebp */
   3241     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D9411: ret 4 */
   3242     RECOMP_REGS_OUT();
   3243 }
   3244 
   3245 void sub_250D9420(void) {
   3246     int _fpu_cmp = 0;
   3247     uint32_t _cf = 0;
   3248     int _df = 1;
   3249     uint32_t _flag_k = FK_NONE;
   3250     uint32_t _flag_a = 0, _flag_b = 0;
   3251     uint32_t _itail_tgt = 0;
   3252     RECOMP_REGS_LOCALS
   3253     RECOMP_ENTER(0x250D9420u);
   3254 
   3255 L_250D9420:
   3256     PUSH32(esp, ebp); /* 0x250D9420: push ebp */
   3257     ebp = esp; /* 0x250D9421: mov ebp, esp */
   3258     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3259     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3260     esp = esp - 0x10u; /* 0x250D9423: sub esp, 0x10 */
   3261     _flag_k = FK_CMP;
   3262     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14Cu);
   3263     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3264     ecx = ecx + 0x14Cu; /* 0x250D9426: add ecx, 0x14c */
   3265     _flag_k = FK_ADD;
   3266     eax = MEM32(ecx); /* 0x250D942C: mov eax, dword ptr [ecx] */
   3267     edx = MEM32(ecx + 0x4); /* 0x250D942E: mov edx, dword ptr [ecx + 4] */
   3268     MEM32(ebp + (-0x10)) = eax; /* 0x250D9431: mov dword ptr [ebp - 0x10], eax */
   3269     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250D9434: fld dword ptr [ebp - 0x10] */
   3270     eax = MEM32(ecx + 0x8); /* 0x250D9437: mov eax, dword ptr [ecx + 8] */
   3271     ecx = MEM32(ecx + 0xC); /* 0x250D943A: mov ecx, dword ptr [ecx + 0xc] */
   3272     MEM32(ebp + (-0x8)) = eax; /* 0x250D943D: mov dword ptr [ebp - 8], eax */
   3273     eax = MEM32(ebp + 0x8); /* 0x250D9440: mov eax, dword ptr [ebp + 8] */
   3274     MEM32(ebp + (-0x4)) = ecx; /* 0x250D9443: mov dword ptr [ebp - 4], ecx */
   3275     { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x250D9446: fstp dword ptr [eax] */
   3276     ecx = MEM32(ebp + (-0x8)); /* 0x250D9448: mov ecx, dword ptr [ebp - 8] */
   3277     MEM32(ebp + (-0xC)) = edx; /* 0x250D944B: mov dword ptr [ebp - 0xc], edx */
   3278     MEM32(eax + 0x4) = edx; /* 0x250D944E: mov dword ptr [eax + 4], edx */
   3279     MEM32(eax + 0x8) = ecx; /* 0x250D9451: mov dword ptr [eax + 8], ecx */
   3280     esp = ebp; /* 0x250D9454: mov esp, ebp */
   3281     ebp = POP32_VAL(esp); /* 0x250D9456: pop ebp */
   3282     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D9457: ret 4 */
   3283     RECOMP_REGS_OUT();
   3284 }
   3285 
   3286 void sub_250D9460(void) {
   3287     int _fpu_cmp = 0;
   3288     uint32_t _cf = 0;
   3289     int _df = 1;
   3290     uint32_t _flag_k = FK_NONE;
   3291     uint32_t _flag_a = 0, _flag_b = 0;
   3292     uint32_t _itail_tgt = 0;
   3293     RECOMP_REGS_LOCALS
   3294     RECOMP_ENTER(0x250D9460u);
   3295 
   3296 L_250D9460:
   3297     PUSH32(esp, ebp); /* 0x250D9460: push ebp */
   3298     ebp = esp; /* 0x250D9461: mov ebp, esp */
   3299     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3300     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3301     esp = esp - 0x10u; /* 0x250D9463: sub esp, 0x10 */
   3302     _flag_k = FK_CMP;
   3303     eax = MEM32(ebp + 0x8); /* 0x250D9466: mov eax, dword ptr [ebp + 8] */
   3304     edx = MEM32(eax); /* 0x250D9469: mov edx, dword ptr [eax] */
   3305     MEM32(ebp + (-0x10)) = edx; /* 0x250D946B: mov dword ptr [ebp - 0x10], edx */
   3306     edx = MEM32(eax + 0x4); /* 0x250D946E: mov edx, dword ptr [eax + 4] */
   3307     eax = MEM32(eax + 0x8); /* 0x250D9471: mov eax, dword ptr [eax + 8] */
   3308     MEM32(ebp + (-0xC)) = edx; /* 0x250D9474: mov dword ptr [ebp - 0xc], edx */
   3309     edx = MEM32(ebp + (-0x10)); /* 0x250D9477: mov edx, dword ptr [ebp - 0x10] */
   3310     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14Cu);
   3311     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3312     ecx = ecx + 0x14Cu; /* 0x250D947A: add ecx, 0x14c */
   3313     _flag_k = FK_ADD;
   3314     MEM32(ebp + (-0x8)) = eax; /* 0x250D9480: mov dword ptr [ebp - 8], eax */
   3315     eax = MEM32(ebp + (-0xC)); /* 0x250D9483: mov eax, dword ptr [ebp - 0xc] */
   3316     MEM32(ecx) = edx; /* 0x250D9486: mov dword ptr [ecx], edx */
   3317     edx = MEM32(ebp + (-0x8)); /* 0x250D9488: mov edx, dword ptr [ebp - 8] */
   3318     MEM32(ecx + 0x4) = eax; /* 0x250D948B: mov dword ptr [ecx + 4], eax */
   3319     MEM32(ebp + (-0x4)) = 0x3F800000u; /* 0x250D948E: mov dword ptr [ebp - 4], 0x3f800000 */
   3320     eax = MEM32(ebp + (-0x4)); /* 0x250D9495: mov eax, dword ptr [ebp - 4] */
   3321     MEM32(ecx + 0x8) = edx; /* 0x250D9498: mov dword ptr [ecx + 8], edx */
   3322     MEM32(ecx + 0xC) = eax; /* 0x250D949B: mov dword ptr [ecx + 0xc], eax */
   3323     esp = ebp; /* 0x250D949E: mov esp, ebp */
   3324     ebp = POP32_VAL(esp); /* 0x250D94A0: pop ebp */
   3325     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D94A1: ret 4 */
   3326     RECOMP_REGS_OUT();
   3327 }
   3328 
   3329 void sub_250D94B0(void) {
   3330     int _fpu_cmp = 0;
   3331     uint32_t _cf = 0;
   3332     int _df = 1;
   3333     uint32_t _flag_k = FK_NONE;
   3334     uint32_t _flag_a = 0, _flag_b = 0;
   3335     uint32_t _itail_tgt = 0;
   3336     RECOMP_REGS_LOCALS
   3337     RECOMP_ENTER(0x250D94B0u);
   3338 
   3339 L_250D94B0:
   3340     PUSH32(esp, ebp); /* 0x250D94B0: push ebp */
   3341     ebp = esp; /* 0x250D94B1: mov ebp, esp */
   3342     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3343     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3344     esp = esp - 0x10u; /* 0x250D94B3: sub esp, 0x10 */
   3345     _flag_k = FK_CMP;
   3346     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x15Cu);
   3347     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3348     ecx = ecx + 0x15Cu; /* 0x250D94B6: add ecx, 0x15c */
   3349     _flag_k = FK_ADD;
   3350     eax = MEM32(ecx); /* 0x250D94BC: mov eax, dword ptr [ecx] */
   3351     edx = MEM32(ecx + 0x4); /* 0x250D94BE: mov edx, dword ptr [ecx + 4] */
   3352     MEM32(ebp + (-0x10)) = eax; /* 0x250D94C1: mov dword ptr [ebp - 0x10], eax */
   3353     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250D94C4: fld dword ptr [ebp - 0x10] */
   3354     eax = MEM32(ecx + 0x8); /* 0x250D94C7: mov eax, dword ptr [ecx + 8] */
   3355     ecx = MEM32(ecx + 0xC); /* 0x250D94CA: mov ecx, dword ptr [ecx + 0xc] */
   3356     MEM32(ebp + (-0x8)) = eax; /* 0x250D94CD: mov dword ptr [ebp - 8], eax */
   3357     eax = MEM32(ebp + 0x8); /* 0x250D94D0: mov eax, dword ptr [ebp + 8] */
   3358     MEM32(ebp + (-0x4)) = ecx; /* 0x250D94D3: mov dword ptr [ebp - 4], ecx */
   3359     { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x250D94D6: fstp dword ptr [eax] */
   3360     ecx = MEM32(ebp + (-0x8)); /* 0x250D94D8: mov ecx, dword ptr [ebp - 8] */
   3361     MEM32(ebp + (-0xC)) = edx; /* 0x250D94DB: mov dword ptr [ebp - 0xc], edx */
   3362     MEM32(eax + 0x4) = edx; /* 0x250D94DE: mov dword ptr [eax + 4], edx */
   3363     MEM32(eax + 0x8) = ecx; /* 0x250D94E1: mov dword ptr [eax + 8], ecx */
   3364     esp = ebp; /* 0x250D94E4: mov esp, ebp */
   3365     ebp = POP32_VAL(esp); /* 0x250D94E6: pop ebp */
   3366     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D94E7: ret 4 */
   3367     RECOMP_REGS_OUT();
   3368 }
   3369 
   3370 void sub_250D94F0(void) {
   3371     int _fpu_cmp = 0;
   3372     uint32_t _cf = 0;
   3373     int _df = 1;
   3374     uint32_t _flag_k = FK_NONE;
   3375     uint32_t _flag_a = 0, _flag_b = 0;
   3376     uint32_t _itail_tgt = 0;
   3377     RECOMP_REGS_LOCALS
   3378     RECOMP_ENTER(0x250D94F0u);
   3379 
   3380 L_250D94F0:
   3381     PUSH32(esp, ebp); /* 0x250D94F0: push ebp */
   3382     ebp = esp; /* 0x250D94F1: mov ebp, esp */
   3383     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3384     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3385     esp = esp - 0x10u; /* 0x250D94F3: sub esp, 0x10 */
   3386     _flag_k = FK_CMP;
   3387     eax = MEM32(ebp + 0x8); /* 0x250D94F6: mov eax, dword ptr [ebp + 8] */
   3388     edx = MEM32(eax); /* 0x250D94F9: mov edx, dword ptr [eax] */
   3389     MEM32(ebp + (-0x10)) = edx; /* 0x250D94FB: mov dword ptr [ebp - 0x10], edx */
   3390     edx = MEM32(eax + 0x4); /* 0x250D94FE: mov edx, dword ptr [eax + 4] */
   3391     eax = MEM32(eax + 0x8); /* 0x250D9501: mov eax, dword ptr [eax + 8] */
   3392     MEM32(ebp + (-0xC)) = edx; /* 0x250D9504: mov dword ptr [ebp - 0xc], edx */
   3393     edx = MEM32(ebp + (-0x10)); /* 0x250D9507: mov edx, dword ptr [ebp - 0x10] */
   3394     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x15Cu);
   3395     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3396     ecx = ecx + 0x15Cu; /* 0x250D950A: add ecx, 0x15c */
   3397     _flag_k = FK_ADD;
   3398     MEM32(ebp + (-0x8)) = eax; /* 0x250D9510: mov dword ptr [ebp - 8], eax */
   3399     eax = MEM32(ebp + (-0xC)); /* 0x250D9513: mov eax, dword ptr [ebp - 0xc] */
   3400     MEM32(ecx) = edx; /* 0x250D9516: mov dword ptr [ecx], edx */
   3401     edx = MEM32(ebp + (-0x8)); /* 0x250D9518: mov edx, dword ptr [ebp - 8] */
   3402     MEM32(ecx + 0x4) = eax; /* 0x250D951B: mov dword ptr [ecx + 4], eax */
   3403     MEM32(ebp + (-0x4)) = 0x3F800000u; /* 0x250D951E: mov dword ptr [ebp - 4], 0x3f800000 */
   3404     eax = MEM32(ebp + (-0x4)); /* 0x250D9525: mov eax, dword ptr [ebp - 4] */
   3405     MEM32(ecx + 0x8) = edx; /* 0x250D9528: mov dword ptr [ecx + 8], edx */
   3406     MEM32(ecx + 0xC) = eax; /* 0x250D952B: mov dword ptr [ecx + 0xc], eax */
   3407     esp = ebp; /* 0x250D952E: mov esp, ebp */
   3408     ebp = POP32_VAL(esp); /* 0x250D9530: pop ebp */
   3409     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D9531: ret 4 */
   3410     RECOMP_REGS_OUT();
   3411 }
   3412 
   3413 void sub_250D9540(void) {
   3414     int _fpu_cmp = 0;
   3415     uint32_t _cf = 0;
   3416     int _df = 1;
   3417     uint32_t _flag_k = FK_NONE;
   3418     uint32_t _flag_a = 0, _flag_b = 0;
   3419     uint32_t _itail_tgt = 0;
   3420     RECOMP_REGS_LOCALS
   3421     RECOMP_ENTER(0x250D9540u);
   3422 
   3423 L_250D9540:
   3424     fp_push(*(float*)&MEM32(ecx + 0x184)); /* 0x250D9540: fld dword ptr [ecx + 0x184] */
   3425     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9546: ret  */
   3426     RECOMP_REGS_OUT();
   3427 }
   3428 
   3429 void sub_250D9550(void) {
   3430     int _fpu_cmp = 0;
   3431     uint32_t _cf = 0;
   3432     int _df = 1;
   3433     uint32_t _flag_k = FK_NONE;
   3434     uint32_t _flag_a = 0, _flag_b = 0;
   3435     uint32_t _itail_tgt = 0;
   3436     RECOMP_REGS_LOCALS
   3437     RECOMP_ENTER(0x250D9550u);
   3438 
   3439 L_250D9550:
   3440     PUSH32(esp, ebp); /* 0x250D9550: push ebp */
   3441     ebp = esp; /* 0x250D9551: mov ebp, esp */
   3442     eax = MEM32(ebp + 0x8); /* 0x250D9553: mov eax, dword ptr [ebp + 8] */
   3443     MEM32(ecx + 0x184) = eax; /* 0x250D9556: mov dword ptr [ecx + 0x184], eax */
   3444     ebp = POP32_VAL(esp); /* 0x250D955C: pop ebp */
   3445     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D955D: ret 4 */
   3446     RECOMP_REGS_OUT();
   3447 }
   3448 
   3449 void sub_250D9560(void) {
   3450     int _fpu_cmp = 0;
   3451     uint32_t _cf = 0;
   3452     int _df = 1;
   3453     uint32_t _flag_k = FK_NONE;
   3454     uint32_t _flag_a = 0, _flag_b = 0;
   3455     uint32_t _itail_tgt = 0;
   3456     RECOMP_REGS_LOCALS
   3457     RECOMP_ENTER(0x250D9560u);
   3458 
   3459 L_250D9560:
   3460     fp_push(*(float*)&MEM32(ecx + 0x18C)); /* 0x250D9560: fld dword ptr [ecx + 0x18c] */
   3461     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D9566: ret 4 */
   3462     RECOMP_REGS_OUT();
   3463 }
   3464 
   3465 void sub_250D9570(void) {
   3466     int _fpu_cmp = 0;
   3467     uint32_t _cf = 0;
   3468     int _df = 1;
   3469     uint32_t _flag_k = FK_NONE;
   3470     uint32_t _flag_a = 0, _flag_b = 0;
   3471     uint32_t _itail_tgt = 0;
   3472     RECOMP_REGS_LOCALS
   3473     RECOMP_ENTER(0x250D9570u);
   3474 
   3475 L_250D9570:
   3476     PUSH32(esp, ebp); /* 0x250D9570: push ebp */
   3477     ebp = esp; /* 0x250D9571: mov ebp, esp */
   3478     eax = MEM32(ebp + 0x8); /* 0x250D9573: mov eax, dword ptr [ebp + 8] */
   3479     MEM32(ecx + 0x18C) = eax; /* 0x250D9576: mov dword ptr [ecx + 0x18c], eax */
   3480     ebp = POP32_VAL(esp); /* 0x250D957C: pop ebp */
   3481     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D957D: ret 4 */
   3482     RECOMP_REGS_OUT();
   3483 }
   3484 
   3485 void sub_250D9580(void) {
   3486     int _fpu_cmp = 0;
   3487     uint32_t _cf = 0;
   3488     int _df = 1;
   3489     uint32_t _flag_k = FK_NONE;
   3490     uint32_t _flag_a = 0, _flag_b = 0;
   3491     uint32_t _itail_tgt = 0;
   3492     RECOMP_REGS_LOCALS
   3493     RECOMP_ENTER(0x250D9580u);
   3494 
   3495 L_250D9580:
   3496     fp_push(*(float*)&MEM32(ecx + 0x190)); /* 0x250D9580: fld dword ptr [ecx + 0x190] */
   3497     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D9586: ret 4 */
   3498     RECOMP_REGS_OUT();
   3499 }
   3500 
   3501 void sub_250D9590(void) {
   3502     int _fpu_cmp = 0;
   3503     uint32_t _cf = 0;
   3504     int _df = 1;
   3505     uint32_t _flag_k = FK_NONE;
   3506     uint32_t _flag_a = 0, _flag_b = 0;
   3507     uint32_t _itail_tgt = 0;
   3508     RECOMP_REGS_LOCALS
   3509     RECOMP_ENTER(0x250D9590u);
   3510 
   3511 L_250D9590:
   3512     PUSH32(esp, ebp); /* 0x250D9590: push ebp */
   3513     ebp = esp; /* 0x250D9591: mov ebp, esp */
   3514     eax = MEM32(ebp + 0x8); /* 0x250D9593: mov eax, dword ptr [ebp + 8] */
   3515     MEM32(ecx + 0x190) = eax; /* 0x250D9596: mov dword ptr [ecx + 0x190], eax */
   3516     ebp = POP32_VAL(esp); /* 0x250D959C: pop ebp */
   3517     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D959D: ret 4 */
   3518     RECOMP_REGS_OUT();
   3519 }
   3520 
   3521 void sub_250D95A0(void) {
   3522     int _fpu_cmp = 0;
   3523     uint32_t _cf = 0;
   3524     int _df = 1;
   3525     uint32_t _flag_k = FK_NONE;
   3526     uint32_t _flag_a = 0, _flag_b = 0;
   3527     uint32_t _itail_tgt = 0;
   3528     RECOMP_REGS_LOCALS
   3529     RECOMP_ENTER(0x250D95A0u);
   3530 
   3531 L_250D95A0:
   3532     fp_push(*(float*)&MEM32(ecx + 0x194)); /* 0x250D95A0: fld dword ptr [ecx + 0x194] */
   3533     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D95A6: ret 4 */
   3534     RECOMP_REGS_OUT();
   3535 }
   3536 
   3537 void sub_250D95B0(void) {
   3538     int _fpu_cmp = 0;
   3539     uint32_t _cf = 0;
   3540     int _df = 1;
   3541     uint32_t _flag_k = FK_NONE;
   3542     uint32_t _flag_a = 0, _flag_b = 0;
   3543     uint32_t _itail_tgt = 0;
   3544     RECOMP_REGS_LOCALS
   3545     RECOMP_ENTER(0x250D95B0u);
   3546 
   3547 L_250D95B0:
   3548     PUSH32(esp, ebp); /* 0x250D95B0: push ebp */
   3549     ebp = esp; /* 0x250D95B1: mov ebp, esp */
   3550     eax = MEM32(ebp + 0x8); /* 0x250D95B3: mov eax, dword ptr [ebp + 8] */
   3551     MEM32(ecx + 0x194) = eax; /* 0x250D95B6: mov dword ptr [ecx + 0x194], eax */
   3552     ebp = POP32_VAL(esp); /* 0x250D95BC: pop ebp */
   3553     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D95BD: ret 4 */
   3554     RECOMP_REGS_OUT();
   3555 }
   3556 
   3557 void sub_250D95C0(void) {
   3558     int _fpu_cmp = 0;
   3559     uint32_t _cf = 0;
   3560     int _df = 1;
   3561     uint32_t _flag_k = FK_NONE;
   3562     uint32_t _flag_a = 0, _flag_b = 0;
   3563     uint32_t _itail_tgt = 0;
   3564     RECOMP_REGS_LOCALS
   3565     RECOMP_ENTER(0x250D95C0u);
   3566 
   3567 L_250D95C0:
   3568     fp_push(*(float*)&MEM32(ecx + 0x198)); /* 0x250D95C0: fld dword ptr [ecx + 0x198] */
   3569     _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250D95C6: fmul dword ptr [0x25151788] */
   3570     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D95CC: ret  */
   3571     RECOMP_REGS_OUT();
   3572 }
   3573 
   3574 void sub_250D95D0(void) {
   3575     int _fpu_cmp = 0;
   3576     uint32_t _cf = 0;
   3577     int _df = 1;
   3578     uint32_t _flag_k = FK_NONE;
   3579     uint32_t _flag_a = 0, _flag_b = 0;
   3580     uint32_t _itail_tgt = 0;
   3581     RECOMP_REGS_LOCALS
   3582     RECOMP_ENTER(0x250D95D0u);
   3583 
   3584 L_250D95D0:
   3585     fp_push(*(float*)&MEM32(ecx + 0x19C)); /* 0x250D95D0: fld dword ptr [ecx + 0x19c] */
   3586     _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250D95D6: fmul dword ptr [0x25151788] */
   3587     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D95DC: ret  */
   3588     RECOMP_REGS_OUT();
   3589 }
   3590 
   3591 void sub_250D95E0(void) {
   3592     int _fpu_cmp = 0;
   3593     uint32_t _cf = 0;
   3594     int _df = 1;
   3595     uint32_t _flag_k = FK_NONE;
   3596     uint32_t _flag_a = 0, _flag_b = 0;
   3597     uint32_t _itail_tgt = 0;
   3598     RECOMP_REGS_LOCALS
   3599     RECOMP_ENTER(0x250D95E0u);
   3600 
   3601 L_250D95E0:
   3602     eax = MEM32(ecx + 0x1A4); /* 0x250D95E0: mov eax, dword ptr [ecx + 0x1a4] */
   3603     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00FFF000u);
   3604     eax = eax & 0x00FFF000u; /* 0x250D95E6: and eax, 0xfff000 */
   3605     _cf = 0;
   3606     _flag_k = FK_TEST;
   3607     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3608     _cf = (eax) != 0;
   3609     eax = (uint32_t)(-(int32_t)eax); /* 0x250D95EB: neg eax */
   3610     _flag_k = FK_CMP;
   3611     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250D95ED: sbb eax, eax */
   3612       eax = _sc ? 0xFFFFFFFFu : 0;
   3613       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3614       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3615     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3616     eax = eax + 1; /* 0x250D95EF: inc eax */
   3617     _flag_k = FK_INC;
   3618     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D95F0: ret  */
   3619     RECOMP_REGS_OUT();
   3620 }
   3621 
   3622 void sub_250D9600(void) {
   3623     int _fpu_cmp = 0;
   3624     uint32_t _cf = 0;
   3625     int _df = 1;
   3626     uint32_t _flag_k = FK_NONE;
   3627     uint32_t _flag_a = 0, _flag_b = 0;
   3628     uint32_t _itail_tgt = 0;
   3629     RECOMP_REGS_LOCALS
   3630     RECOMP_ENTER(0x250D9600u);
   3631 
   3632 L_250D9600:
   3633     eax = MEM32(ecx + 0x1A0); /* 0x250D9600: mov eax, dword ptr [ecx + 0x1a0] */
   3634     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9606: ret  */
   3635     RECOMP_REGS_OUT();
   3636 }
   3637 
   3638 void sub_250D9610(void) {
   3639     int _fpu_cmp = 0;
   3640     uint32_t _cf = 0;
   3641     int _df = 1;
   3642     uint32_t _flag_k = FK_NONE;
   3643     uint32_t _flag_a = 0, _flag_b = 0;
   3644     uint32_t _itail_tgt = 0;
   3645     RECOMP_REGS_LOCALS
   3646     RECOMP_ENTER(0x250D9610u);
   3647 
   3648 L_250D9610:
   3649     PUSH32(esp, ebp); /* 0x250D9610: push ebp */
   3650     ebp = esp; /* 0x250D9611: mov ebp, esp */
   3651     eax = MEM32(ebp + 0x8); /* 0x250D9613: mov eax, dword ptr [ebp + 8] */
   3652     MEM32(ecx + 0x1A0) = eax; /* 0x250D9616: mov dword ptr [ecx + 0x1a0], eax */
   3653     ebp = POP32_VAL(esp); /* 0x250D961C: pop ebp */
   3654     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D961D: ret 4 */
   3655     RECOMP_REGS_OUT();
   3656 }
   3657 
   3658 void sub_250D9620(void) {
   3659     int _fpu_cmp = 0;
   3660     uint32_t _cf = 0;
   3661     int _df = 1;
   3662     uint32_t _flag_k = FK_NONE;
   3663     uint32_t _flag_a = 0, _flag_b = 0;
   3664     uint32_t _itail_tgt = 0;
   3665     RECOMP_REGS_LOCALS
   3666     RECOMP_ENTER(0x250D9620u);
   3667 
   3668 L_250D9620:
   3669     eax = ecx + 0x138; /* 0x250D9620: lea eax, [ecx + 0x138] */
   3670     ecx = MEM32(ecx + 0x1A0); /* 0x250D9626: mov ecx, dword ptr [ecx + 0x1a0] */
   3671     PUSH32(esp, eax); /* 0x250D962C: push eax */
   3672     PUSH32(esp, ecx); /* 0x250D962D: push ecx */
   3673     ecx = MEM32(0x25238B58); /* 0x250D962E: mov ecx, dword ptr [0x25238b58] */
   3674     RECOMP_ICALL(0x25105F30u); /* 0x250D9634: call 0x25105f30 */ /* not lifted */
   3675     RECOMP_FLAGS_IN();
   3676     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9639: ret  */
   3677     RECOMP_REGS_OUT();
   3678 }
   3679 
   3680 void sub_250D9640(void) {
   3681     int _fpu_cmp = 0;
   3682     uint32_t _cf = 0;
   3683     int _df = 1;
   3684     uint32_t _flag_k = FK_NONE;
   3685     uint32_t _flag_a = 0, _flag_b = 0;
   3686     uint32_t _itail_tgt = 0;
   3687     RECOMP_REGS_LOCALS
   3688     RECOMP_ENTER(0x250D9640u);
   3689 
   3690 L_250D9640:
   3691     PUSH32(esp, ebp); /* 0x250D9640: push ebp */
   3692     ebp = esp; /* 0x250D9641: mov ebp, esp */
   3693     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3694     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3695     esp = esp - 8; /* 0x250D9643: sub esp, 8 */
   3696     _flag_k = FK_CMP;
   3697     PUSH32(esp, ebx); /* 0x250D9646: push ebx */
   3698     PUSH32(esp, esi); /* 0x250D9647: push esi */
   3699     esi = MEM32(ebp + 0x8); /* 0x250D9648: mov esi, dword ptr [ebp + 8] */
   3700     /* test esi, esi */ /* 0x250D964B: test esi, esi */
   3701     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   3702     _cf = 0;
   3703     _flag_k = FK_TEST;
   3704     eax = MEM32(esi + 0x4); /* 0x250D964D: mov eax, dword ptr [esi + 4] */
   3705     ebx = ecx; /* 0x250D9650: mov ebx, ecx */
   3706     PUSH32(esp, edi); /* 0x250D9652: push edi */
   3707     MEM32(ebx + 0x4) = eax; /* 0x250D9653: mov dword ptr [ebx + 4], eax */
   3708     if (TEST_Z(_flag_a, _flag_b)) goto L_250D965D; /* 0x250D9656: je 0x250d965d */
   3709 L_250D9658:
   3710     eax = esi + 0x8; /* 0x250D9658: lea eax, [esi + 8] */
   3711     goto L_250D965F; /* 0x250D965B: jmp 0x250d965f */
   3712 L_250D965D:
   3713     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3714     eax = 0; /* 0x250D965D: xor eax, eax */
   3715     _cf = 0;
   3716     _flag_k = FK_TEST;
   3717 L_250D965F:
   3718     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3719     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3720     eax = eax + 4; /* 0x250D965F: add eax, 4 */
   3721     _flag_k = FK_ADD;
   3722     edi = ebx + 0xC; /* 0x250D9662: lea edi, [ebx + 0xc] */
   3723     /* cmp edi, eax */ /* 0x250D9665: cmp edi, eax */
   3724     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3725     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3726     _flag_k = FK_CMP;
   3727     MEM32(ebp + (-0x4)) = eax; /* 0x250D9667: mov dword ptr [ebp - 4], eax */
   3728     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D968F; /* 0x250D966A: je 0x250d968f */
   3729 L_250D966C:
   3730     eax = MEM32(edi + 0x4); /* 0x250D966C: mov eax, dword ptr [edi + 4] */
   3731     ecx = MEM32(eax); /* 0x250D966F: mov ecx, dword ptr [eax] */
   3732     PUSH32(esp, eax); /* 0x250D9671: push eax */
   3733     PUSH32(esp, ecx); /* 0x250D9672: push ecx */
   3734     ecx = ebp + (-0x8); /* 0x250D9673: lea ecx, [ebp - 8] */
   3735     PUSH32(esp, ecx); /* 0x250D9676: push ecx */
   3736     ecx = edi; /* 0x250D9677: mov ecx, edi */
   3737     RECOMP_ICALL(0x25006FC0u); /* 0x250D9679: call 0x25006fc0 */ /* not lifted */
   3738     RECOMP_FLAGS_IN();
   3739     eax = MEM32(ebp + (-0x4)); /* 0x250D967E: mov eax, dword ptr [ebp - 4] */
   3740     SET_LO8(edx, MEM8(eax + 0x1)); /* 0x250D9681: mov dl, byte ptr [eax + 1] */
   3741     PUSH32(esp, eax); /* 0x250D9684: push eax */
   3742     ecx = edi; /* 0x250D9685: mov ecx, edi */
   3743     MEM8(edi + 0x1) = (uint8_t)(LO8(edx)); /* 0x250D9687: mov byte ptr [edi + 1], dl */
   3744     RECOMP_ICALL(0x25007070u); /* 0x250D968A: call 0x25007070 */ /* not lifted */
   3745     RECOMP_FLAGS_IN();
   3746 L_250D968F:
   3747     /* test esi, esi */ /* 0x250D968F: test esi, esi */
   3748     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   3749     _cf = 0;
   3750     _flag_k = FK_TEST;
   3751     if (TEST_Z(_flag_a, _flag_b)) goto L_250D9698; /* 0x250D9691: je 0x250d9698 */
   3752 L_250D9693:
   3753     eax = esi + 0x20; /* 0x250D9693: lea eax, [esi + 0x20] */
   3754     goto L_250D969A; /* 0x250D9696: jmp 0x250d969a */
   3755 L_250D9698:
   3756     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3757     eax = 0; /* 0x250D9698: xor eax, eax */
   3758     _cf = 0;
   3759     _flag_k = FK_TEST;
   3760 L_250D969A:
   3761     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3762     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3763     eax = eax + 4; /* 0x250D969A: add eax, 4 */
   3764     _flag_k = FK_ADD;
   3765     edi = ebx + 0x24; /* 0x250D969D: lea edi, [ebx + 0x24] */
   3766     /* cmp edi, eax */ /* 0x250D96A0: cmp edi, eax */
   3767     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3768     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3769     _flag_k = FK_CMP;
   3770     MEM32(ebp + (-0x4)) = eax; /* 0x250D96A2: mov dword ptr [ebp - 4], eax */
   3771     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D96CA; /* 0x250D96A5: je 0x250d96ca */
   3772 L_250D96A7:
   3773     eax = MEM32(edi + 0x4); /* 0x250D96A7: mov eax, dword ptr [edi + 4] */
   3774     ecx = MEM32(eax); /* 0x250D96AA: mov ecx, dword ptr [eax] */
   3775     PUSH32(esp, eax); /* 0x250D96AC: push eax */
   3776     PUSH32(esp, ecx); /* 0x250D96AD: push ecx */
   3777     eax = ebp + (-0x8); /* 0x250D96AE: lea eax, [ebp - 8] */
   3778     PUSH32(esp, eax); /* 0x250D96B1: push eax */
   3779     ecx = edi; /* 0x250D96B2: mov ecx, edi */
   3780     RECOMP_ICALL(0x25007170u); /* 0x250D96B4: call 0x25007170 */ /* not lifted */
   3781     RECOMP_FLAGS_IN();
   3782     eax = MEM32(ebp + (-0x4)); /* 0x250D96B9: mov eax, dword ptr [ebp - 4] */
   3783     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x250D96BC: mov cl, byte ptr [eax + 1] */
   3784     MEM8(edi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x250D96BF: mov byte ptr [edi + 1], cl */
   3785     PUSH32(esp, eax); /* 0x250D96C2: push eax */
   3786     ecx = edi; /* 0x250D96C3: mov ecx, edi */
   3787     RECOMP_ICALL(0x25007220u); /* 0x250D96C5: call 0x25007220 */ /* not lifted */
   3788     RECOMP_FLAGS_IN();
   3789 L_250D96CA:
   3790     /* test esi, esi */ /* 0x250D96CA: test esi, esi */
   3791     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   3792     _cf = 0;
   3793     _flag_k = FK_TEST;
   3794     if (TEST_Z(_flag_a, _flag_b)) goto L_250D96D3; /* 0x250D96CC: je 0x250d96d3 */
   3795 L_250D96CE:
   3796     eax = esi + 0x38; /* 0x250D96CE: lea eax, [esi + 0x38] */
   3797     goto L_250D96D5; /* 0x250D96D1: jmp 0x250d96d5 */
   3798 L_250D96D3:
   3799     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3800     eax = 0; /* 0x250D96D3: xor eax, eax */
   3801     _cf = 0;
   3802     _flag_k = FK_TEST;
   3803 L_250D96D5:
   3804     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3805     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3806     eax = eax + 4; /* 0x250D96D5: add eax, 4 */
   3807     _flag_k = FK_ADD;
   3808     edi = ebx + 0x3C; /* 0x250D96D8: lea edi, [ebx + 0x3c] */
   3809     /* cmp edi, eax */ /* 0x250D96DB: cmp edi, eax */
   3810     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3811     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3812     _flag_k = FK_CMP;
   3813     MEM32(ebp + (-0x4)) = eax; /* 0x250D96DD: mov dword ptr [ebp - 4], eax */
   3814     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D9705; /* 0x250D96E0: je 0x250d9705 */
   3815 L_250D96E2:
   3816     eax = MEM32(edi + 0x4); /* 0x250D96E2: mov eax, dword ptr [edi + 4] */
   3817     ecx = MEM32(eax); /* 0x250D96E5: mov ecx, dword ptr [eax] */
   3818     PUSH32(esp, eax); /* 0x250D96E7: push eax */
   3819     PUSH32(esp, ecx); /* 0x250D96E8: push ecx */
   3820     edx = ebp + (-0x8); /* 0x250D96E9: lea edx, [ebp - 8] */
   3821     PUSH32(esp, edx); /* 0x250D96EC: push edx */
   3822     ecx = edi; /* 0x250D96ED: mov ecx, edi */
   3823     RECOMP_ICALL(0x250DE350u); /* 0x250D96EF: call 0x250de350 */ /* not lifted */
   3824     RECOMP_FLAGS_IN();
   3825     eax = MEM32(ebp + (-0x4)); /* 0x250D96F4: mov eax, dword ptr [ebp - 4] */
   3826     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x250D96F7: mov cl, byte ptr [eax + 1] */
   3827     MEM8(edi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x250D96FA: mov byte ptr [edi + 1], cl */
   3828     PUSH32(esp, eax); /* 0x250D96FD: push eax */
   3829     ecx = edi; /* 0x250D96FE: mov ecx, edi */
   3830     RECOMP_ICALL(0x25007320u); /* 0x250D9700: call 0x25007320 */ /* not lifted */
   3831     RECOMP_FLAGS_IN();
   3832 L_250D9705:
   3833     /* test esi, esi */ /* 0x250D9705: test esi, esi */
   3834     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   3835     _cf = 0;
   3836     _flag_k = FK_TEST;
   3837     if (TEST_Z(_flag_a, _flag_b)) goto L_250D970E; /* 0x250D9707: je 0x250d970e */
   3838 L_250D9709:
   3839     eax = esi + 0x50; /* 0x250D9709: lea eax, [esi + 0x50] */
   3840     goto L_250D9710; /* 0x250D970C: jmp 0x250d9710 */
   3841 L_250D970E:
   3842     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3843     eax = 0; /* 0x250D970E: xor eax, eax */
   3844     _cf = 0;
   3845     _flag_k = FK_TEST;
   3846 L_250D9710:
   3847     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3848     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3849     eax = eax + 4; /* 0x250D9710: add eax, 4 */
   3850     _flag_k = FK_ADD;
   3851     edi = ebx + 0x54; /* 0x250D9713: lea edi, [ebx + 0x54] */
   3852     /* cmp edi, eax */ /* 0x250D9716: cmp edi, eax */
   3853     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3855     _flag_k = FK_CMP;
   3856     MEM32(ebp + (-0x4)) = eax; /* 0x250D9718: mov dword ptr [ebp - 4], eax */
   3857     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D9740; /* 0x250D971B: je 0x250d9740 */
   3858 L_250D971D:
   3859     eax = MEM32(edi + 0x4); /* 0x250D971D: mov eax, dword ptr [edi + 4] */
   3860     ecx = MEM32(eax); /* 0x250D9720: mov ecx, dword ptr [eax] */
   3861     PUSH32(esp, eax); /* 0x250D9722: push eax */
   3862     PUSH32(esp, ecx); /* 0x250D9723: push ecx */
   3863     edx = ebp + (-0x8); /* 0x250D9724: lea edx, [ebp - 8] */
   3864     PUSH32(esp, edx); /* 0x250D9727: push edx */
   3865     ecx = edi; /* 0x250D9728: mov ecx, edi */
   3866     RECOMP_ICALL(0x25029FC0u); /* 0x250D972A: call 0x25029fc0 */ /* not lifted */
   3867     RECOMP_FLAGS_IN();
   3868     eax = MEM32(ebp + (-0x4)); /* 0x250D972F: mov eax, dword ptr [ebp - 4] */
   3869     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x250D9732: mov cl, byte ptr [eax + 1] */
   3870     MEM8(edi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x250D9735: mov byte ptr [edi + 1], cl */
   3871     PUSH32(esp, eax); /* 0x250D9738: push eax */
   3872     ecx = edi; /* 0x250D9739: mov ecx, edi */
   3873     RECOMP_ICALL(0x25007420u); /* 0x250D973B: call 0x25007420 */ /* not lifted */
   3874     RECOMP_FLAGS_IN();
   3875 L_250D9740:
   3876     SET_LO8(edx, MEM8(esi + 0x68)); /* 0x250D9740: mov dl, byte ptr [esi + 0x68] */
   3877     MEM8(ebx + 0x68) = (uint8_t)(LO8(edx)); /* 0x250D9743: mov byte ptr [ebx + 0x68], dl */
   3878     SET_LO8(eax, MEM8(esi + 0x69)); /* 0x250D9746: mov al, byte ptr [esi + 0x69] */
   3879     MEM8(ebx + 0x69) = (uint8_t)(LO8(eax)); /* 0x250D9749: mov byte ptr [ebx + 0x69], al */
   3880     SET_LO8(ecx, MEM8(esi + 0x6A)); /* 0x250D974C: mov cl, byte ptr [esi + 0x6a] */
   3881     MEM8(ebx + 0x6A) = (uint8_t)(LO8(ecx)); /* 0x250D974F: mov byte ptr [ebx + 0x6a], cl */
   3882     SET_LO8(edx, MEM8(esi + 0x6B)); /* 0x250D9752: mov dl, byte ptr [esi + 0x6b] */
   3883     MEM8(ebx + 0x6B) = (uint8_t)(LO8(edx)); /* 0x250D9755: mov byte ptr [ebx + 0x6b], dl */
   3884     eax = MEM32(esi + 0x6C); /* 0x250D9758: mov eax, dword ptr [esi + 0x6c] */
   3885     MEM32(ebx + 0x6C) = eax; /* 0x250D975B: mov dword ptr [ebx + 0x6c], eax */
   3886     ecx = MEM32(esi + 0x70); /* 0x250D975E: mov ecx, dword ptr [esi + 0x70] */
   3887     MEM32(ebx + 0x70) = ecx; /* 0x250D9761: mov dword ptr [ebx + 0x70], ecx */
   3888     edx = MEM32(esi + 0x74); /* 0x250D9764: mov edx, dword ptr [esi + 0x74] */
   3889     MEM32(ebx + 0x74) = edx; /* 0x250D9767: mov dword ptr [ebx + 0x74], edx */
   3890     eax = esi + 0x78; /* 0x250D976A: lea eax, [esi + 0x78] */
   3891     edx = MEM32(eax); /* 0x250D976D: mov edx, dword ptr [eax] */
   3892     ecx = ebx + 0x78; /* 0x250D976F: lea ecx, [ebx + 0x78] */
   3893     MEM32(ecx) = edx; /* 0x250D9772: mov dword ptr [ecx], edx */
   3894     edx = MEM32(eax + 0x4); /* 0x250D9774: mov edx, dword ptr [eax + 4] */
   3895     MEM32(ecx + 0x4) = edx; /* 0x250D9777: mov dword ptr [ecx + 4], edx */
   3896     eax = MEM32(eax + 0x8); /* 0x250D977A: mov eax, dword ptr [eax + 8] */
   3897     MEM32(ecx + 0x8) = eax; /* 0x250D977D: mov dword ptr [ecx + 8], eax */
   3898     ecx = esi + 0x84; /* 0x250D9780: lea ecx, [esi + 0x84] */
   3899     eax = MEM32(ecx); /* 0x250D9786: mov eax, dword ptr [ecx] */
   3900     edx = ebx + 0x84; /* 0x250D9788: lea edx, [ebx + 0x84] */
   3901     MEM32(edx) = eax; /* 0x250D978E: mov dword ptr [edx], eax */
   3902     eax = MEM32(ecx + 0x4); /* 0x250D9790: mov eax, dword ptr [ecx + 4] */
   3903     MEM32(edx + 0x4) = eax; /* 0x250D9793: mov dword ptr [edx + 4], eax */
   3904     eax = MEM32(ecx + 0x8); /* 0x250D9796: mov eax, dword ptr [ecx + 8] */
   3905     MEM32(edx + 0x8) = eax; /* 0x250D9799: mov dword ptr [edx + 8], eax */
   3906     ecx = MEM32(ecx + 0xC); /* 0x250D979C: mov ecx, dword ptr [ecx + 0xc] */
   3907     eax = MEM32(ebp + 0x8); /* 0x250D979F: mov eax, dword ptr [ebp + 8] */
   3908     MEM32(edx + 0xC) = ecx; /* 0x250D97A2: mov dword ptr [edx + 0xc], ecx */
   3909     edx = MEM32(esi + 0x94); /* 0x250D97A5: mov edx, dword ptr [esi + 0x94] */
   3910     MEM32(ebx + 0x94) = edx; /* 0x250D97AB: mov dword ptr [ebx + 0x94], edx */
   3911     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x98u);
   3912     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3913     esi = esi + 0x98u; /* 0x250D97B1: add esi, 0x98 */
   3914     _flag_k = FK_ADD;
   3915     edi = ebx + 0x98; /* 0x250D97B7: lea edi, [ebx + 0x98] */
   3916     ecx = 0x10u; /* 0x250D97BD: mov ecx, 0x10 */
   3917     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250D97C2: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   3918     esi = eax + 0xD8; /* 0x250D97C4: lea esi, [eax + 0xd8] */
   3919     edi = ebx + 0xD8; /* 0x250D97CA: lea edi, [ebx + 0xd8] */
   3920     ecx = 0x10u; /* 0x250D97D0: mov ecx, 0x10 */
   3921     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250D97D5: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   3922     ecx = MEM32(eax + 0x118); /* 0x250D97D7: mov ecx, dword ptr [eax + 0x118] */
   3923     MEM32(ebx + 0x118) = ecx; /* 0x250D97DD: mov dword ptr [ebx + 0x118], ecx */
   3924     edx = MEM32(eax + 0x11C); /* 0x250D97E3: mov edx, dword ptr [eax + 0x11c] */
   3925     MEM32(ebx + 0x11C) = edx; /* 0x250D97E9: mov dword ptr [ebx + 0x11c], edx */
   3926     SET_LO8(ecx, MEM8(eax + 0x120)); /* 0x250D97EF: mov cl, byte ptr [eax + 0x120] */
   3927     MEM8(ebx + 0x120) = (uint8_t)(LO8(ecx)); /* 0x250D97F5: mov byte ptr [ebx + 0x120], cl */
   3928     edx = MEM32(eax + 0x124); /* 0x250D97FB: mov edx, dword ptr [eax + 0x124] */
   3929     MEM32(ebx + 0x124) = edx; /* 0x250D9801: mov dword ptr [ebx + 0x124], edx */
   3930     ecx = MEM32(eax + 0x128); /* 0x250D9807: mov ecx, dword ptr [eax + 0x128] */
   3931     MEM32(ebx + 0x128) = ecx; /* 0x250D980D: mov dword ptr [ebx + 0x128], ecx */
   3932     edx = MEM32(eax + 0x12C); /* 0x250D9813: mov edx, dword ptr [eax + 0x12c] */
   3933     MEM32(ebx + 0x12C) = edx; /* 0x250D9819: mov dword ptr [ebx + 0x12c], edx */
   3934     SET_LO8(ecx, MEM8(eax + 0x130)); /* 0x250D981F: mov cl, byte ptr [eax + 0x130] */
   3935     MEM8(ebx + 0x130) = (uint8_t)(LO8(ecx)); /* 0x250D9825: mov byte ptr [ebx + 0x130], cl */
   3936     SET_LO8(edx, MEM8(eax + 0x131)); /* 0x250D982B: mov dl, byte ptr [eax + 0x131] */
   3937     MEM8(ebx + 0x131) = (uint8_t)(LO8(edx)); /* 0x250D9831: mov byte ptr [ebx + 0x131], dl */
   3938     SET_LO8(ecx, MEM8(eax + 0x132)); /* 0x250D9837: mov cl, byte ptr [eax + 0x132] */
   3939     MEM8(ebx + 0x132) = (uint8_t)(LO8(ecx)); /* 0x250D983D: mov byte ptr [ebx + 0x132], cl */
   3940     edx = MEM32(eax + 0x134); /* 0x250D9843: mov edx, dword ptr [eax + 0x134] */
   3941     MEM32(ebx + 0x134) = edx; /* 0x250D9849: mov dword ptr [ebx + 0x134], edx */
   3942     esi = eax + 0x138; /* 0x250D984F: lea esi, [eax + 0x138] */
   3943     edi = ebx + 0x138; /* 0x250D9855: lea edi, [ebx + 0x138] */
   3944     ecx = 0x1Au; /* 0x250D985B: mov ecx, 0x1a */
   3945     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250D9860: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   3946     ecx = MEM32(eax + 0x1A0); /* 0x250D9862: mov ecx, dword ptr [eax + 0x1a0] */
   3947     MEM32(ebx + 0x1A0) = ecx; /* 0x250D9868: mov dword ptr [ebx + 0x1a0], ecx */
   3948     edx = MEM32(eax + 0x1A4); /* 0x250D986E: mov edx, dword ptr [eax + 0x1a4] */
   3949     MEM32(ebx + 0x1A4) = edx; /* 0x250D9874: mov dword ptr [ebx + 0x1a4], edx */
   3950     SET_LO8(eax, MEM8(eax + 0x1A8)); /* 0x250D987A: mov al, byte ptr [eax + 0x1a8] */
   3951     edi = POP32_VAL(esp); /* 0x250D9880: pop edi */
   3952     MEM8(ebx + 0x1A8) = (uint8_t)(LO8(eax)); /* 0x250D9881: mov byte ptr [ebx + 0x1a8], al */
   3953     esi = POP32_VAL(esp); /* 0x250D9887: pop esi */
   3954     eax = ebx; /* 0x250D9888: mov eax, ebx */
   3955     ebx = POP32_VAL(esp); /* 0x250D988A: pop ebx */
   3956     esp = ebp; /* 0x250D988B: mov esp, ebp */
   3957     ebp = POP32_VAL(esp); /* 0x250D988D: pop ebp */
   3958     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D988E: ret 4 */
   3959     RECOMP_REGS_OUT();
   3960 }
   3961 
   3962 void sub_250D98A0(void) {
   3963     int _fpu_cmp = 0;
   3964     uint32_t _cf = 0;
   3965     int _df = 1;
   3966     uint32_t _flag_k = FK_NONE;
   3967     uint32_t _flag_a = 0, _flag_b = 0;
   3968     uint32_t _itail_tgt = 0;
   3969     RECOMP_REGS_LOCALS
   3970     RECOMP_ENTER(0x250D98A0u);
   3971 
   3972 L_250D98A0:
   3973     eax = MEM32(ecx + 0x1B0); /* 0x250D98A0: mov eax, dword ptr [ecx + 0x1b0] */
   3974     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D98A6: ret  */
   3975     RECOMP_REGS_OUT();
   3976 }
   3977 
   3978 void sub_250D98B0(void) {
   3979     int _fpu_cmp = 0;
   3980     uint32_t _cf = 0;
   3981     int _df = 1;
   3982     uint32_t _flag_k = FK_NONE;
   3983     uint32_t _flag_a = 0, _flag_b = 0;
   3984     uint32_t _itail_tgt = 0;
   3985     RECOMP_REGS_LOCALS
   3986     RECOMP_ENTER(0x250D98B0u);
   3987 
   3988 L_250D98B0:
   3989     SET_LO8(eax, MEM8(ecx + 0x1AD)); /* 0x250D98B0: mov al, byte ptr [ecx + 0x1ad] */
   3990     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D98B6: ret  */
   3991     RECOMP_REGS_OUT();
   3992 }
   3993 
   3994 void sub_250D98C0(void) {
   3995     int _fpu_cmp = 0;
   3996     uint32_t _cf = 0;
   3997     int _df = 1;
   3998     uint32_t _flag_k = FK_NONE;
   3999     uint32_t _flag_a = 0, _flag_b = 0;
   4000     uint32_t _itail_tgt = 0;
   4001     RECOMP_REGS_LOCALS
   4002     RECOMP_ENTER(0x250D98C0u);
   4003 
   4004 L_250D98C0:
   4005     PUSH32(esp, ebp); /* 0x250D98C0: push ebp */
   4006     ebp = esp; /* 0x250D98C1: mov ebp, esp */
   4007     SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250D98C3: mov al, byte ptr [ebp + 8] */
   4008     PUSH32(esp, esi); /* 0x250D98C6: push esi */
   4009     esi = ecx; /* 0x250D98C7: mov esi, ecx */
   4010     MEM8(esi + 0x1AD) = (uint8_t)(LO8(eax)); /* 0x250D98C9: mov byte ptr [esi + 0x1ad], al */
   4011     ecx = MEM32(esi + 0x140); /* 0x250D98CF: mov ecx, dword ptr [esi + 0x140] */
   4012     eax = MEM32(ecx); /* 0x250D98D5: mov eax, dword ptr [ecx] */
   4013     /* cmp eax, ecx */ /* 0x250D98D7: cmp eax, ecx */
   4014     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4015     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4016     _flag_k = FK_CMP;
   4017     MEM32(ebp + 0x8) = eax; /* 0x250D98D9: mov dword ptr [ebp + 8], eax */
   4018     if (CMP_EQ(_flag_a, _flag_b)) goto L_250D98FC; /* 0x250D98DC: je 0x250d98fc */
   4019 L_250D98DE:
   4020     ecx = MEM32(eax + 0xC); /* 0x250D98DE: mov ecx, dword ptr [eax + 0xc] */
   4021     edx = MEM32(ecx); /* 0x250D98E1: mov edx, dword ptr [ecx] */
   4022     PUSH32(esp, esi); /* 0x250D98E3: push esi */
   4023     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x250D98E4: call dword ptr [edx + 4] */
   4024     RECOMP_FLAGS_IN();
   4025     ecx = ebp + 0x8; /* 0x250D98E7: lea ecx, [ebp + 8] */
   4026     RECOMP_ICALL(0x250077F0u); /* 0x250D98EA: call 0x250077f0 */ /* not lifted */
   4027     RECOMP_FLAGS_IN();
   4028     ecx = MEM32(esi + 0x140); /* 0x250D98EF: mov ecx, dword ptr [esi + 0x140] */
   4029     eax = MEM32(ebp + 0x8); /* 0x250D98F5: mov eax, dword ptr [ebp + 8] */
   4030     /* cmp eax, ecx */ /* 0x250D98F8: cmp eax, ecx */
   4031     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4032     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4033     _flag_k = FK_CMP;
   4034     RECOMP_BACKEDGE();
   4035     if (CMP_NE(_flag_a, _flag_b)) goto L_250D98DE; /* 0x250D98FA: jne 0x250d98de */
   4036 L_250D98FC:
   4037     esi = POP32_VAL(esp); /* 0x250D98FC: pop esi */
   4038     ebp = POP32_VAL(esp); /* 0x250D98FD: pop ebp */
   4039     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D98FE: ret 4 */
   4040     RECOMP_REGS_OUT();
   4041 }
   4042 
   4043 void sub_250D9910(void) {
   4044     int _fpu_cmp = 0;
   4045     uint32_t _cf = 0;
   4046     int _df = 1;
   4047     uint32_t _flag_k = FK_NONE;
   4048     uint32_t _flag_a = 0, _flag_b = 0;
   4049     uint32_t _itail_tgt = 0;
   4050     RECOMP_REGS_LOCALS
   4051     RECOMP_ENTER(0x250D9910u);
   4052 
   4053 L_250D9910:
   4054     SET_LO8(eax, MEM8(ecx + 0x1AE)); /* 0x250D9910: mov al, byte ptr [ecx + 0x1ae] */
   4055     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9916: ret  */
   4056     RECOMP_REGS_OUT();
   4057 }
   4058 
   4059 void sub_250D9920(void) {
   4060     int _fpu_cmp = 0;
   4061     uint32_t _cf = 0;
   4062     int _df = 1;
   4063     uint32_t _flag_k = FK_NONE;
   4064     uint32_t _flag_a = 0, _flag_b = 0;
   4065     uint32_t _itail_tgt = 0;
   4066     RECOMP_REGS_LOCALS
   4067     RECOMP_ENTER(0x250D9920u);
   4068 
   4069 L_250D9920:
   4070     PUSH32(esp, ebp); /* 0x250D9920: push ebp */
   4071     ebp = esp; /* 0x250D9921: mov ebp, esp */
   4072     SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250D9923: mov al, byte ptr [ebp + 8] */
   4073     MEM8(ecx + 0x1AE) = (uint8_t)(LO8(eax)); /* 0x250D9926: mov byte ptr [ecx + 0x1ae], al */
   4074     ebp = POP32_VAL(esp); /* 0x250D992C: pop ebp */
   4075     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250D992D: ret 4 */
   4076     RECOMP_REGS_OUT();
   4077 }
   4078 
   4079 void sub_250D9930(void) {
   4080     int _fpu_cmp = 0;
   4081     uint32_t _cf = 0;
   4082     int _df = 1;
   4083     uint32_t _flag_k = FK_NONE;
   4084     uint32_t _flag_a = 0, _flag_b = 0;
   4085     uint32_t _itail_tgt = 0;
   4086     RECOMP_REGS_LOCALS
   4087     RECOMP_ENTER(0x250D9930u);
   4088 
   4089 L_250D9930:
   4090     eax = MEM32(ecx + 0x168); /* 0x250D9930: mov eax, dword ptr [ecx + 0x168] */
   4091     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9936: ret  */
   4092     RECOMP_REGS_OUT();
   4093 }
   4094 
   4095 void sub_250D9940(void) {
   4096     int _fpu_cmp = 0;
   4097     uint32_t _cf = 0;
   4098     int _df = 1;
   4099     uint32_t _flag_k = FK_NONE;
   4100     uint32_t _flag_a = 0, _flag_b = 0;
   4101     uint32_t _itail_tgt = 0;
   4102     RECOMP_REGS_LOCALS
   4103     RECOMP_ENTER(0x250D9940u);
   4104 
   4105 L_250D9940:
   4106     eax = MEM32(ecx + 0x1D0); /* 0x250D9940: mov eax, dword ptr [ecx + 0x1d0] */
   4107     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250D9946: ret  */
   4108     RECOMP_REGS_OUT();
   4109 }