aorecomp

Anarchy Online classic in the browser

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


client/game/bbr.dll/lifted-0027.c (371761B)


      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_250843F0(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(0x250843F0u);
     17 
     18 L_250843F0:
     19     PUSH32(esp, ebp); /* 0x250843F0: push ebp */
     20     ebp = esp; /* 0x250843F1: mov ebp, esp */
     21     eax = MEM32(ebp + 0x8); /* 0x250843F3: mov eax, dword ptr [ebp + 8] */
     22     MEM32(ecx + 0x1D0) = eax; /* 0x250843F6: mov dword ptr [ecx + 0x1d0], eax */
     23     ebp = POP32_VAL(esp); /* 0x250843FC: pop ebp */
     24     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250843FD: ret 4 */
     25     RECOMP_REGS_OUT();
     26 }
     27 
     28 void sub_25084400(void) {
     29     int _fpu_cmp = 0;
     30     uint32_t _cf = 0;
     31     int _df = 1;
     32     uint32_t _flag_k = FK_NONE;
     33     uint32_t _flag_a = 0, _flag_b = 0;
     34     uint32_t _itail_tgt = 0;
     35     RECOMP_REGS_LOCALS
     36     RECOMP_ENTER(0x25084400u);
     37 
     38 L_25084400:
     39     PUSH32(esp, ebp); /* 0x25084400: push ebp */
     40     ebp = esp; /* 0x25084401: mov ebp, esp */
     41     PUSH32(esp, ecx); /* 0x25084403: push ecx */
     42     PUSH32(esp, ebx); /* 0x25084404: push ebx */
     43     PUSH32(esp, 0x74u); /* 0x25084405: push 0x74 */
     44     ebx = ecx; /* 0x25084407: mov ebx, ecx */
     45     RECOMP_ICALL(0x251380D0u); /* 0x25084409: call 0x251380d0 */ /* not lifted */
     46     RECOMP_FLAGS_IN();
     47     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     48     ecx = 0; /* 0x2508440E: xor ecx, ecx */
     49     _cf = 0;
     50     _flag_k = FK_TEST;
     51     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     52     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     53     esp = esp + 4; /* 0x25084410: add esp, 4 */
     54     _flag_k = FK_ADD;
     55     /* cmp eax, ecx */ /* 0x25084413: cmp eax, ecx */
     56     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
     57     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     58     _flag_k = FK_CMP;
     59     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084436; /* 0x25084415: je 0x25084436 */
     60 L_25084417:
     61     MEM32(eax) = ecx; /* 0x25084417: mov dword ptr [eax], ecx */
     62     MEM32(eax + 0x4) = ecx; /* 0x25084419: mov dword ptr [eax + 4], ecx */
     63     MEM32(eax + 0x8) = ecx; /* 0x2508441C: mov dword ptr [eax + 8], ecx */
     64     MEM32(eax + 0xC) = ecx; /* 0x2508441F: mov dword ptr [eax + 0xc], ecx */
     65     MEM32(eax + 0x10) = ecx; /* 0x25084422: mov dword ptr [eax + 0x10], ecx */
     66     MEM32(eax + 0x14) = ecx; /* 0x25084425: mov dword ptr [eax + 0x14], ecx */
     67     MEM32(eax + 0x1C) = ecx; /* 0x25084428: mov dword ptr [eax + 0x1c], ecx */
     68     MEM32(eax + 0x20) = ecx; /* 0x2508442B: mov dword ptr [eax + 0x20], ecx */
     69     MEM32(eax + 0x24) = ecx; /* 0x2508442E: mov dword ptr [eax + 0x24], ecx */
     70     MEM32(ebp + (-0x4)) = eax; /* 0x25084431: mov dword ptr [ebp - 4], eax */
     71     goto L_2508443B; /* 0x25084434: jmp 0x2508443b */
     72 L_25084436:
     73     MEM32(ebp + (-0x4)) = ecx; /* 0x25084436: mov dword ptr [ebp - 4], ecx */
     74     eax = ecx; /* 0x25084439: mov eax, ecx */
     75 L_2508443B:
     76     PUSH32(esp, esi); /* 0x2508443B: push esi */
     77     PUSH32(esp, edi); /* 0x2508443C: push edi */
     78     esi = ebx + 0x160; /* 0x2508443D: lea esi, [ebx + 0x160] */
     79     edi = eax; /* 0x25084443: mov edi, eax */
     80     ecx = 0x1Du; /* 0x25084445: mov ecx, 0x1d */
     81     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2508444A: 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; }
     82     ecx = MEM32(ebp + 0x8); /* 0x2508444C: mov ecx, dword ptr [ebp + 8] */
     83     MEM32(eax + 0x2C) = ecx; /* 0x2508444F: mov dword ptr [eax + 0x2c], ecx */
     84     ebx = MEM32(ebx + 0x1D4); /* 0x25084452: mov ebx, dword ptr [ebx + 0x1d4] */
     85     esi = MEM32(ebx + 0x4); /* 0x25084458: mov esi, dword ptr [ebx + 4] */
     86     edi = MEM32(esi + 0x4); /* 0x2508445B: mov edi, dword ptr [esi + 4] */
     87     PUSH32(esp, 0xCu); /* 0x2508445E: push 0xc */
     88     RECOMP_ICALL(0x251380D0u); /* 0x25084460: call 0x251380d0 */ /* not lifted */
     89     RECOMP_FLAGS_IN();
     90     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     91     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     92     esp = esp + 4; /* 0x25084465: add esp, 4 */
     93     _flag_k = FK_ADD;
     94     /* test esi, esi */ /* 0x25084468: test esi, esi */
     95     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
     96     _cf = 0;
     97     _flag_k = FK_TEST;
     98     ecx = esi; /* 0x2508446A: mov ecx, esi */
     99     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084470; /* 0x2508446C: jne 0x25084470 */
    100 L_2508446E:
    101     ecx = eax; /* 0x2508446E: mov ecx, eax */
    102 L_25084470:
    103     /* test edi, edi */ /* 0x25084470: test edi, edi */
    104     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    105     _cf = 0;
    106     _flag_k = FK_TEST;
    107     MEM32(eax) = ecx; /* 0x25084472: mov dword ptr [eax], ecx */
    108     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084478; /* 0x25084474: jne 0x25084478 */
    109 L_25084476:
    110     edi = eax; /* 0x25084476: mov edi, eax */
    111 L_25084478:
    112     MEM32(eax + 0x4) = edi; /* 0x25084478: mov dword ptr [eax + 4], edi */
    113     MEM32(esi + 0x4) = eax; /* 0x2508447B: mov dword ptr [esi + 4], eax */
    114     edx = MEM32(eax + 0x4); /* 0x2508447E: mov edx, dword ptr [eax + 4] */
    115     MEM32(edx) = eax; /* 0x25084481: mov dword ptr [edx], eax */
    116     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
    117     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    118     eax = eax + 8; /* 0x25084483: add eax, 8 */
    119     _flag_k = FK_ADD;
    120     /* test eax, eax */ /* 0x25084486: test eax, eax */
    121     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    122     _cf = 0;
    123     _flag_k = FK_TEST;
    124     edi = POP32_VAL(esp); /* 0x25084488: pop edi */
    125     esi = POP32_VAL(esp); /* 0x25084489: pop esi */
    126     if (TEST_Z(_flag_a, _flag_b)) goto L_25084491; /* 0x2508448A: je 0x25084491 */
    127 L_2508448C:
    128     ecx = MEM32(ebp + (-0x4)); /* 0x2508448C: mov ecx, dword ptr [ebp - 4] */
    129     MEM32(eax) = ecx; /* 0x2508448F: mov dword ptr [eax], ecx */
    130 L_25084491:
    131     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(1);
    132     MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + 1; /* 0x25084491: inc dword ptr [ebx + 8] */
    133     _flag_k = FK_INC;
    134     ebx = POP32_VAL(esp); /* 0x25084494: pop ebx */
    135     esp = ebp; /* 0x25084495: mov esp, ebp */
    136     ebp = POP32_VAL(esp); /* 0x25084497: pop ebp */
    137     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25084498: ret 4 */
    138     RECOMP_REGS_OUT();
    139 }
    140 
    141 void sub_250844A0(void) {
    142     int _fpu_cmp = 0;
    143     uint32_t _cf = 0;
    144     int _df = 1;
    145     uint32_t _flag_k = FK_NONE;
    146     uint32_t _flag_a = 0, _flag_b = 0;
    147     uint32_t _itail_tgt = 0;
    148     RECOMP_REGS_LOCALS
    149     RECOMP_ENTER(0x250844A0u);
    150 
    151 L_250844A0:
    152     PUSH32(esp, ebx); /* 0x250844A0: push ebx */
    153     ebx = ecx; /* 0x250844A1: mov ebx, ecx */
    154     eax = MEM32(ebx + 0x1D4); /* 0x250844A3: mov eax, dword ptr [ebx + 0x1d4] */
    155     ecx = MEM32(eax + 0x4); /* 0x250844A9: mov ecx, dword ptr [eax + 4] */
    156     edx = MEM32(ecx); /* 0x250844AC: mov edx, dword ptr [ecx] */
    157     /* cmp edx, ecx */ /* 0x250844AE: cmp edx, ecx */
    158     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
    159     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    160     _flag_k = FK_CMP;
    161     if (CMP_NE(_flag_a, _flag_b)) goto L_250844B7; /* 0x250844B0: jne 0x250844b7 */
    162 L_250844B2:
    163     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
    164     eax = eax | 0xFFFFFFFFu; /* 0x250844B2: or eax, 0xffffffff */
    165     _cf = 0;
    166     _flag_k = FK_TEST;
    167     ebx = POP32_VAL(esp); /* 0x250844B5: pop ebx */
    168     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250844B6: ret  */
    169 L_250844B7:
    170     PUSH32(esp, esi); /* 0x250844B7: push esi */
    171     esi = MEM32(edx + 0x8); /* 0x250844B8: mov esi, dword ptr [edx + 8] */
    172     PUSH32(esp, edi); /* 0x250844BB: push edi */
    173     edi = ebx + 0x160; /* 0x250844BC: lea edi, [ebx + 0x160] */
    174     ecx = 0x1Du; /* 0x250844C2: mov ecx, 0x1d */
    175     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250844C7: 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; }
    176     eax = MEM32(eax + 0x4); /* 0x250844C9: mov eax, dword ptr [eax + 4] */
    177     eax = MEM32(eax); /* 0x250844CC: mov eax, dword ptr [eax] */
    178     ecx = MEM32(eax + 0x8); /* 0x250844CE: mov ecx, dword ptr [eax + 8] */
    179     edi = MEM32(ecx + 0x2C); /* 0x250844D1: mov edi, dword ptr [ecx + 0x2c] */
    180     edx = ecx; /* 0x250844D4: mov edx, ecx */
    181     PUSH32(esp, edx); /* 0x250844D6: push edx */
    182     RECOMP_ICALL(0x25137EECu); /* 0x250844D7: call 0x25137eec */ /* not lifted */
    183     RECOMP_FLAGS_IN();
    184     esi = MEM32(ebx + 0x1D4); /* 0x250844DC: mov esi, dword ptr [ebx + 0x1d4] */
    185     eax = MEM32(esi + 0x4); /* 0x250844E2: mov eax, dword ptr [esi + 4] */
    186     eax = MEM32(eax); /* 0x250844E5: mov eax, dword ptr [eax] */
    187     ecx = MEM32(eax + 0x4); /* 0x250844E7: mov ecx, dword ptr [eax + 4] */
    188     edx = MEM32(eax); /* 0x250844EA: mov edx, dword ptr [eax] */
    189     MEM32(ecx) = edx; /* 0x250844EC: mov dword ptr [ecx], edx */
    190     ecx = MEM32(eax); /* 0x250844EE: mov ecx, dword ptr [eax] */
    191     edx = MEM32(eax + 0x4); /* 0x250844F0: mov edx, dword ptr [eax + 4] */
    192     PUSH32(esp, eax); /* 0x250844F3: push eax */
    193     MEM32(ecx + 0x4) = edx; /* 0x250844F4: mov dword ptr [ecx + 4], edx */
    194     RECOMP_ICALL(0x25137EECu); /* 0x250844F7: call 0x25137eec */ /* not lifted */
    195     RECOMP_FLAGS_IN();
    196     eax = MEM32(esi + 0x8); /* 0x250844FC: mov eax, dword ptr [esi + 8] */
    197     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    198     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    199     esp = esp + 8; /* 0x250844FF: add esp, 8 */
    200     _flag_k = FK_ADD;
    201     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    202     eax = eax - 1; /* 0x25084502: dec eax */
    203     _flag_k = FK_DEC;
    204     MEM32(esi + 0x8) = eax; /* 0x25084503: mov dword ptr [esi + 8], eax */
    205     eax = edi; /* 0x25084506: mov eax, edi */
    206     edi = POP32_VAL(esp); /* 0x25084508: pop edi */
    207     esi = POP32_VAL(esp); /* 0x25084509: pop esi */
    208     ebx = POP32_VAL(esp); /* 0x2508450A: pop ebx */
    209     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2508450B: ret  */
    210     RECOMP_REGS_OUT();
    211 }
    212 
    213 void sub_25084510(void) {
    214     int _fpu_cmp = 0;
    215     uint32_t _cf = 0;
    216     int _df = 1;
    217     uint32_t _flag_k = FK_NONE;
    218     uint32_t _flag_a = 0, _flag_b = 0;
    219     uint32_t _itail_tgt = 0;
    220     RECOMP_REGS_LOCALS
    221     RECOMP_ENTER(0x25084510u);
    222 
    223 L_25084510:
    224     PUSH32(esp, ebp); /* 0x25084510: push ebp */
    225     ebp = esp; /* 0x25084511: mov ebp, esp */
    226     eax = MEM32(ecx + 0x150); /* 0x25084513: mov eax, dword ptr [ecx + 0x150] */
    227     edx = MEM32(eax + 0x4); /* 0x25084519: mov edx, dword ptr [eax + 4] */
    228     eax = MEM32(edx); /* 0x2508451C: mov eax, dword ptr [edx] */
    229     /* cmp eax, edx */ /* 0x2508451E: cmp eax, edx */
    230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    232     _flag_k = FK_CMP;
    233     PUSH32(esp, esi); /* 0x25084520: push esi */
    234     esi = MEM32(ebp + 0x8); /* 0x25084521: mov esi, dword ptr [ebp + 8] */
    235     PUSH32(esp, edi); /* 0x25084524: push edi */
    236     edi = 0x38D1B717u; /* 0x25084525: mov edi, 0x38d1b717 */
    237     if (CMP_EQ(_flag_a, _flag_b)) goto L_2508454A; /* 0x2508452A: je 0x2508454a */
    238 L_2508452C:
    239     edx = MEM32(eax + 0x8); /* 0x2508452C: mov edx, dword ptr [eax + 8] */
    240     /* cmp MEM32(edx + 0x25C), esi */ /* 0x2508452F: cmp dword ptr [edx + 0x25c], esi */
    241     _flag_a = (uint32_t)(MEM32(edx + 0x25C)); _flag_b = (uint32_t)(esi);
    242     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    243     _flag_k = FK_CMP;
    244     if (CMP_NE(_flag_a, _flag_b)) goto L_2508453D; /* 0x25084535: jne 0x2508453d */
    245 L_25084537:
    246     MEM32(edx + 0x26C) = edi; /* 0x25084537: mov dword ptr [edx + 0x26c], edi */
    247 L_2508453D:
    248     edx = MEM32(ecx + 0x150); /* 0x2508453D: mov edx, dword ptr [ecx + 0x150] */
    249     eax = MEM32(eax); /* 0x25084543: mov eax, dword ptr [eax] */
    250     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25084545: cmp eax, dword ptr [edx + 4] */
    251     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
    252     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    253     _flag_k = FK_CMP;
    254     RECOMP_BACKEDGE();
    255     if (CMP_NE(_flag_a, _flag_b)) goto L_2508452C; /* 0x25084548: jne 0x2508452c */
    256 L_2508454A:
    257     eax = MEM32(ecx + 0x158); /* 0x2508454A: mov eax, dword ptr [ecx + 0x158] */
    258     edx = MEM32(eax + 0x4); /* 0x25084550: mov edx, dword ptr [eax + 4] */
    259     eax = MEM32(edx); /* 0x25084553: mov eax, dword ptr [edx] */
    260     /* cmp eax, edx */ /* 0x25084555: cmp eax, edx */
    261     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    262     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    263     _flag_k = FK_CMP;
    264     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084577; /* 0x25084557: je 0x25084577 */
    265 L_25084559:
    266     edx = MEM32(eax + 0x8); /* 0x25084559: mov edx, dword ptr [eax + 8] */
    267     /* cmp MEM32(edx + 0x200), esi */ /* 0x2508455C: cmp dword ptr [edx + 0x200], esi */
    268     _flag_a = (uint32_t)(MEM32(edx + 0x200)); _flag_b = (uint32_t)(esi);
    269     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    270     _flag_k = FK_CMP;
    271     if (CMP_NE(_flag_a, _flag_b)) goto L_2508456A; /* 0x25084562: jne 0x2508456a */
    272 L_25084564:
    273     MEM32(edx + 0x210) = edi; /* 0x25084564: mov dword ptr [edx + 0x210], edi */
    274 L_2508456A:
    275     edx = MEM32(ecx + 0x158); /* 0x2508456A: mov edx, dword ptr [ecx + 0x158] */
    276     eax = MEM32(eax); /* 0x25084570: mov eax, dword ptr [eax] */
    277     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25084572: cmp eax, dword ptr [edx + 4] */
    278     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
    279     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    280     _flag_k = FK_CMP;
    281     RECOMP_BACKEDGE();
    282     if (CMP_NE(_flag_a, _flag_b)) goto L_25084559; /* 0x25084575: jne 0x25084559 */
    283 L_25084577:
    284     edi = POP32_VAL(esp); /* 0x25084577: pop edi */
    285     esi = POP32_VAL(esp); /* 0x25084578: pop esi */
    286     ebp = POP32_VAL(esp); /* 0x25084579: pop ebp */
    287     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508457A: ret 4 */
    288     RECOMP_REGS_OUT();
    289 }
    290 
    291 void sub_25084580(void) {
    292     int _fpu_cmp = 0;
    293     uint32_t _cf = 0;
    294     int _df = 1;
    295     uint32_t _flag_k = FK_NONE;
    296     uint32_t _flag_a = 0, _flag_b = 0;
    297     uint32_t _itail_tgt = 0;
    298     RECOMP_REGS_LOCALS
    299     RECOMP_ENTER(0x25084580u);
    300 
    301 L_25084580:
    302     PUSH32(esp, ebp); /* 0x25084580: push ebp */
    303     ebp = esp; /* 0x25084581: mov ebp, esp */
    304     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    305     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    306     esp = esp - 8; /* 0x25084583: sub esp, 8 */
    307     _flag_k = FK_CMP;
    308     PUSH32(esp, ebx); /* 0x25084586: push ebx */
    309     ebx = MEM32(ebp + 0x8); /* 0x25084587: mov ebx, dword ptr [ebp + 8] */
    310     eax = MEM32(ebx); /* 0x2508458A: mov eax, dword ptr [ebx] */
    311     PUSH32(esp, esi); /* 0x2508458C: push esi */
    312     esi = ecx; /* 0x2508458D: mov esi, ecx */
    313     ecx = MEM32(esi + eax * 4 + 0x478); /* 0x2508458F: mov ecx, dword ptr [esi + eax*4 + 0x478] */
    314     ecx = MEM32(ecx + 0x4); /* 0x25084596: mov ecx, dword ptr [ecx + 4] */
    315     /* cmp MEM32(ecx), ecx */ /* 0x25084599: cmp dword ptr [ecx], ecx */
    316     _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(ecx);
    317     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    318     _flag_k = FK_CMP;
    319     PUSH32(esp, edi); /* 0x2508459B: push edi */
    320     if (CMP_EQ(_flag_a, _flag_b)) goto L_2508462E; /* 0x2508459C: je 0x2508462e */
    321 L_250845A2:
    322     edx = MEM32(esi + eax * 4 + 0x478); /* 0x250845A2: mov edx, dword ptr [esi + eax*4 + 0x478] */
    323     ecx = MEM32(edx + 0x4); /* 0x250845A9: mov ecx, dword ptr [edx + 4] */
    324     ecx = MEM32(ecx); /* 0x250845AC: mov ecx, dword ptr [ecx] */
    325     edx = MEM32(ecx + 0x8); /* 0x250845AE: mov edx, dword ptr [ecx + 8] */
    326     MEM32(ebp + 0x8) = edx; /* 0x250845B1: mov dword ptr [ebp + 8], edx */
    327     eax = MEM32(esi + eax * 4 + 0x478); /* 0x250845B4: mov eax, dword ptr [esi + eax*4 + 0x478] */
    328     ecx = MEM32(eax + 0x4); /* 0x250845BB: mov ecx, dword ptr [eax + 4] */
    329     ecx = MEM32(ecx); /* 0x250845BE: mov ecx, dword ptr [ecx] */
    330     PUSH32(esp, ecx); /* 0x250845C0: push ecx */
    331     edx = ebp + (-0x8); /* 0x250845C1: lea edx, [ebp - 8] */
    332     PUSH32(esp, edx); /* 0x250845C4: push edx */
    333     ecx = eax; /* 0x250845C5: mov ecx, eax */
    334     RECOMP_ICALL(0x25085320u); /* 0x250845C7: call 0x25085320 */ /* not lifted */
    335     RECOMP_FLAGS_IN();
    336     ecx = MEM32(esi + 0x150); /* 0x250845CC: mov ecx, dword ptr [esi + 0x150] */
    337     eax = MEM32(ecx + 0x4); /* 0x250845D2: mov eax, dword ptr [ecx + 4] */
    338     edx = ebp + 0x8; /* 0x250845D5: lea edx, [ebp + 8] */
    339     PUSH32(esp, edx); /* 0x250845D8: push edx */
    340     PUSH32(esp, eax); /* 0x250845D9: push eax */
    341     eax = ebp + (-0x8); /* 0x250845DA: lea eax, [ebp - 8] */
    342     PUSH32(esp, eax); /* 0x250845DD: push eax */
    343     RECOMP_ICALL(0x25098990u); /* 0x250845DE: call 0x25098990 */ /* not lifted */
    344     RECOMP_FLAGS_IN();
    345     ecx = MEM32(esi + 0x1B8); /* 0x250845E3: mov ecx, dword ptr [esi + 0x1b8] */
    346     edx = MEM32(ebp + 0x8); /* 0x250845E9: mov edx, dword ptr [ebp + 8] */
    347     MEM32(edx + 0x25C) = ecx; /* 0x250845EC: mov dword ptr [edx + 0x25c], ecx */
    348     ecx = MEM32(ebp + 0x8); /* 0x250845F2: mov ecx, dword ptr [ebp + 8] */
    349     MEM32(esi + 0x1B8) = 0; /* 0x250845F5: mov dword ptr [esi + 0x1b8], 0 */
    350     eax = esi + 0x160; /* 0x250845FF: lea eax, [esi + 0x160] */
    351     MEM32(ecx + 0x27C) = eax; /* 0x25084605: mov dword ptr [ecx + 0x27c], eax */
    352     ecx = MEM32(ebp + 0x8); /* 0x2508460B: mov ecx, dword ptr [ebp + 8] */
    353     edx = MEM32(ecx); /* 0x2508460E: mov edx, dword ptr [ecx] */
    354     RECOMP_ICALL(MEM32(edx + 0x50)); /* 0x25084610: call dword ptr [edx + 0x50] */
    355     RECOMP_FLAGS_IN();
    356     eax = MEM32(ebx); /* 0x25084613: mov eax, dword ptr [ebx] */
    357     esi = esi + eax * 4 + 0x1D8; /* 0x25084615: lea esi, [esi + eax*4 + 0x1d8] */
    358     _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(1);
    359     MEM32(esi) = MEM32(esi) + 1; /* 0x2508461C: inc dword ptr [esi] */
    360     _flag_k = FK_INC;
    361     ecx = MEM32(ebp + 0x8); /* 0x2508461E: mov ecx, dword ptr [ebp + 8] */
    362     edi = POP32_VAL(esp); /* 0x25084621: pop edi */
    363     esi = POP32_VAL(esp); /* 0x25084622: pop esi */
    364     MEM32(ebx) = ecx; /* 0x25084623: mov dword ptr [ebx], ecx */
    365     SET_LO8(eax, 1); /* 0x25084625: mov al, 1 */
    366     ebx = POP32_VAL(esp); /* 0x25084627: pop ebx */
    367     esp = ebp; /* 0x25084628: mov esp, ebp */
    368     ebp = POP32_VAL(esp); /* 0x2508462A: pop ebp */
    369     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508462B: ret 4 */
    370 L_2508462E:
    371     edi = MEM32(esi + eax * 4 + 0x5C8); /* 0x2508462E: mov edi, dword ptr [esi + eax*4 + 0x5c8] */
    372     ecx = MEM32(edi + 0x4); /* 0x25084635: mov ecx, dword ptr [edi + 4] */
    373     eax = MEM32(ecx); /* 0x25084638: mov eax, dword ptr [ecx] */
    374     /* cmp eax, ecx */ /* 0x2508463A: cmp eax, ecx */
    375     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    376     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    377     _flag_k = FK_CMP;
    378     if (CMP_EQ(_flag_a, _flag_b)) goto L_250846F1; /* 0x2508463C: je 0x250846f1 */
    379 L_25084642:
    380     ebx = MEM32(eax + 0x8); /* 0x25084642: mov ebx, dword ptr [eax + 8] */
    381     edx = ecx; /* 0x25084645: mov edx, ecx */
    382     eax = MEM32(edx); /* 0x25084647: mov eax, dword ptr [edx] */
    383     ecx = MEM32(eax + 0x4); /* 0x25084649: mov ecx, dword ptr [eax + 4] */
    384     edx = MEM32(eax); /* 0x2508464C: mov edx, dword ptr [eax] */
    385     MEM32(ecx) = edx; /* 0x2508464E: mov dword ptr [ecx], edx */
    386     ecx = MEM32(eax); /* 0x25084650: mov ecx, dword ptr [eax] */
    387     edx = MEM32(eax + 0x4); /* 0x25084652: mov edx, dword ptr [eax + 4] */
    388     PUSH32(esp, eax); /* 0x25084655: push eax */
    389     MEM32(ecx + 0x4) = edx; /* 0x25084656: mov dword ptr [ecx + 4], edx */
    390     RECOMP_ICALL(0x25137EECu); /* 0x25084659: call 0x25137eec */ /* not lifted */
    391     RECOMP_FLAGS_IN();
    392     _flag_a = (uint32_t)(MEM32(edi + 0x8)); _flag_b = (uint32_t)(1);
    393     MEM32(edi + 0x8) = MEM32(edi + 0x8) - 1; /* 0x2508465E: dec dword ptr [edi + 8] */
    394     _flag_k = FK_DEC;
    395     eax = MEM32(esi + 0x158); /* 0x25084661: mov eax, dword ptr [esi + 0x158] */
    396     edi = MEM32(eax + 0x4); /* 0x25084667: mov edi, dword ptr [eax + 4] */
    397     MEM32(ebp + (-0x8)) = eax; /* 0x2508466A: mov dword ptr [ebp - 8], eax */
    398     eax = MEM32(edi + 0x4); /* 0x2508466D: mov eax, dword ptr [edi + 4] */
    399     PUSH32(esp, 0xCu); /* 0x25084670: push 0xc */
    400     MEM32(ebp + (-0x4)) = eax; /* 0x25084672: mov dword ptr [ebp - 4], eax */
    401     RECOMP_ICALL(0x251380D0u); /* 0x25084675: call 0x251380d0 */ /* not lifted */
    402     RECOMP_FLAGS_IN();
    403     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    404     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    405     esp = esp + 8; /* 0x2508467A: add esp, 8 */
    406     _flag_k = FK_ADD;
    407     /* test edi, edi */ /* 0x2508467D: test edi, edi */
    408     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    409     _cf = 0;
    410     _flag_k = FK_TEST;
    411     ecx = edi; /* 0x2508467F: mov ecx, edi */
    412     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084685; /* 0x25084681: jne 0x25084685 */
    413 L_25084683:
    414     ecx = eax; /* 0x25084683: mov ecx, eax */
    415 L_25084685:
    416     MEM32(eax) = ecx; /* 0x25084685: mov dword ptr [eax], ecx */
    417     ecx = MEM32(ebp + (-0x4)); /* 0x25084687: mov ecx, dword ptr [ebp - 4] */
    418     /* test ecx, ecx */ /* 0x2508468A: test ecx, ecx */
    419     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    420     _cf = 0;
    421     _flag_k = FK_TEST;
    422     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084690; /* 0x2508468C: jne 0x25084690 */
    423 L_2508468E:
    424     ecx = eax; /* 0x2508468E: mov ecx, eax */
    425 L_25084690:
    426     MEM32(eax + 0x4) = ecx; /* 0x25084690: mov dword ptr [eax + 4], ecx */
    427     MEM32(edi + 0x4) = eax; /* 0x25084693: mov dword ptr [edi + 4], eax */
    428     ecx = MEM32(eax + 0x4); /* 0x25084696: mov ecx, dword ptr [eax + 4] */
    429     MEM32(ecx) = eax; /* 0x25084699: mov dword ptr [ecx], eax */
    430     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
    431     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    432     eax = eax + 8; /* 0x2508469B: add eax, 8 */
    433     _flag_k = FK_ADD;
    434     /* test eax, eax */ /* 0x2508469E: test eax, eax */
    435     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    436     _cf = 0;
    437     _flag_k = FK_TEST;
    438     if (TEST_Z(_flag_a, _flag_b)) goto L_250846A4; /* 0x250846A0: je 0x250846a4 */
    439 L_250846A2:
    440     MEM32(eax) = ebx; /* 0x250846A2: mov dword ptr [eax], ebx */
    441 L_250846A4:
    442     eax = MEM32(ebp + (-0x8)); /* 0x250846A4: mov eax, dword ptr [ebp - 8] */
    443     _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(1);
    444     MEM32(eax + 0x8) = MEM32(eax + 0x8) + 1; /* 0x250846A7: inc dword ptr [eax + 8] */
    445     _flag_k = FK_INC;
    446     edx = MEM32(esi + 0x1B8); /* 0x250846AA: mov edx, dword ptr [esi + 0x1b8] */
    447     MEM32(ebx + 0x200) = edx; /* 0x250846B0: mov dword ptr [ebx + 0x200], edx */
    448     MEM32(esi + 0x1B8) = 0; /* 0x250846B6: mov dword ptr [esi + 0x1b8], 0 */
    449     edx = MEM32(ebx); /* 0x250846C0: mov edx, dword ptr [ebx] */
    450     eax = esi + 0x160; /* 0x250846C2: lea eax, [esi + 0x160] */
    451     ecx = ebx; /* 0x250846C8: mov ecx, ebx */
    452     MEM32(ebx + 0x220) = eax; /* 0x250846CA: mov dword ptr [ebx + 0x220], eax */
    453     RECOMP_ICALL(MEM32(edx + 0x58)); /* 0x250846D0: call dword ptr [edx + 0x58] */
    454     RECOMP_FLAGS_IN();
    455     eax = MEM32(ebp + 0x8); /* 0x250846D3: mov eax, dword ptr [ebp + 8] */
    456     ecx = MEM32(eax); /* 0x250846D6: mov ecx, dword ptr [eax] */
    457     esi = esi + ecx * 4 + 0x1D8; /* 0x250846D8: lea esi, [esi + ecx*4 + 0x1d8] */
    458     ecx = MEM32(esi); /* 0x250846DF: mov ecx, dword ptr [esi] */
    459     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    460     ecx = ecx + 1; /* 0x250846E1: inc ecx */
    461     _flag_k = FK_INC;
    462     edi = POP32_VAL(esp); /* 0x250846E2: pop edi */
    463     MEM32(esi) = ecx; /* 0x250846E3: mov dword ptr [esi], ecx */
    464     MEM32(eax) = ebx; /* 0x250846E5: mov dword ptr [eax], ebx */
    465     esi = POP32_VAL(esp); /* 0x250846E7: pop esi */
    466     SET_LO8(eax, 1); /* 0x250846E8: mov al, 1 */
    467     ebx = POP32_VAL(esp); /* 0x250846EA: pop ebx */
    468     esp = ebp; /* 0x250846EB: mov esp, ebp */
    469     ebp = POP32_VAL(esp); /* 0x250846ED: pop ebp */
    470     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250846EE: ret 4 */
    471 L_250846F1:
    472     edi = POP32_VAL(esp); /* 0x250846F1: pop edi */
    473     esi = POP32_VAL(esp); /* 0x250846F2: pop esi */
    474     MEM32(ebx) = 0; /* 0x250846F3: mov dword ptr [ebx], 0 */
    475     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
    476     SET_LO8(eax, 0); /* 0x250846F9: xor al, al */
    477     _cf = 0;
    478     _flag_k = FK_NARROW(FK_TEST, 24);
    479     ebx = POP32_VAL(esp); /* 0x250846FB: pop ebx */
    480     esp = ebp; /* 0x250846FC: mov esp, ebp */
    481     ebp = POP32_VAL(esp); /* 0x250846FE: pop ebp */
    482     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250846FF: ret 4 */
    483     RECOMP_REGS_OUT();
    484 }
    485 
    486 void sub_25084710(void) {
    487     int _fpu_cmp = 0;
    488     uint32_t _cf = 0;
    489     int _df = 1;
    490     uint32_t _flag_k = FK_NONE;
    491     uint32_t _flag_a = 0, _flag_b = 0;
    492     uint32_t _itail_tgt = 0;
    493     RECOMP_REGS_LOCALS
    494     RECOMP_ENTER(0x25084710u);
    495 
    496 L_25084710:
    497     PUSH32(esp, ebp); /* 0x25084710: push ebp */
    498     ebp = esp; /* 0x25084711: mov ebp, esp */
    499     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
    500     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    501     esp = esp - 0x18u; /* 0x25084713: sub esp, 0x18 */
    502     _flag_k = FK_CMP;
    503     PUSH32(esp, ebx); /* 0x25084716: push ebx */
    504     PUSH32(esp, esi); /* 0x25084717: push esi */
    505     esi = ecx; /* 0x25084718: mov esi, ecx */
    506     eax = MEM32(esi + 0x71C); /* 0x2508471A: mov eax, dword ptr [esi + 0x71c] */
    507     /* test eax, eax */ /* 0x25084720: test eax, eax */
    508     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    509     _cf = 0;
    510     _flag_k = FK_TEST;
    511     PUSH32(esp, edi); /* 0x25084722: push edi */
    512     if (TEST_Z(_flag_a, _flag_b)) goto L_250848D5; /* 0x25084723: je 0x250848d5 */
    513 L_25084729:
    514     eax = MEM32(0x251BB840); /* 0x25084729: mov eax, dword ptr [0x251bb840] */
    515     /* test HI8(eax), 2 */ /* 0x2508472E: test ah, 2 */
    516     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(2) << 24;
    517     _cf = 0;
    518     _flag_k = FK_NARROW(FK_TEST, 24);
    519     if (TEST_Z(_flag_a, _flag_b)) goto L_250848D5; /* 0x25084731: je 0x250848d5 */
    520 L_25084737:
    521     PUSH32(esp, 0x3F800000u); /* 0x25084737: push 0x3f800000 */
    522     PUSH32(esp, 0x3F800000u); /* 0x2508473C: push 0x3f800000 */
    523     PUSH32(esp, 0x3F800000u); /* 0x25084741: push 0x3f800000 */
    524     edi = esi + 0x720; /* 0x25084746: lea edi, [esi + 0x720] */
    525     PUSH32(esp, 0x3E800000u); /* 0x2508474C: push 0x3e800000 */
    526     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    527     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    528     esp = esp - 0xCu; /* 0x25084751: sub esp, 0xc */
    529     _flag_k = FK_CMP;
    530     eax = edi; /* 0x25084754: mov eax, edi */
    531     edx = MEM32(eax); /* 0x25084756: mov edx, dword ptr [eax] */
    532     ecx = esp; /* 0x25084758: mov ecx, esp */
    533     MEM32(ecx) = edx; /* 0x2508475A: mov dword ptr [ecx], edx */
    534     edx = MEM32(eax + 0x4); /* 0x2508475C: mov edx, dword ptr [eax + 4] */
    535     eax = MEM32(eax + 0x8); /* 0x2508475F: mov eax, dword ptr [eax + 8] */
    536     MEM32(ecx + 0x4) = edx; /* 0x25084762: mov dword ptr [ecx + 4], edx */
    537     MEM32(ecx + 0x8) = eax; /* 0x25084765: mov dword ptr [ecx + 8], eax */
    538     RECOMP_ICALL(0x250FC390u); /* 0x25084768: call 0x250fc390 */ /* not lifted */
    539     RECOMP_FLAGS_IN();
    540     ecx = eax; /* 0x2508476D: mov ecx, eax */
    541     RECOMP_ICALL(0x250FC500u); /* 0x2508476F: call 0x250fc500 */ /* not lifted */
    542     RECOMP_FLAGS_IN();
    543     fp_push(*(float*)&MEM32(edi)); /* 0x25084774: fld dword ptr [edi] */
    544     PUSH32(esp, 0x3F800000u); /* 0x25084776: push 0x3f800000 */
    545     PUSH32(esp, 0x3F800000u); /* 0x2508477B: push 0x3f800000 */
    546     PUSH32(esp, 0x3F800000u); /* 0x25084780: push 0x3f800000 */
    547     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    548     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    549     esp = esp - 0xCu; /* 0x25084785: sub esp, 0xc */
    550     _flag_k = FK_CMP;
    551     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x25084788: fstp dword ptr [ebp - 0x18] */
    552     fp_push(*(float*)&MEM32(esi + 0x728)); /* 0x2508478B: fld dword ptr [esi + 0x728] */
    553     edx = MEM32(ebp + (-0x18)); /* 0x25084791: mov edx, dword ptr [ebp - 0x18] */
    554     ecx = esp; /* 0x25084794: mov ecx, esp */
    555     MEM32(ecx) = edx; /* 0x25084796: mov dword ptr [ecx], edx */
    556     MEM32(ebp + (-0x14)) = 0x40A00000u; /* 0x25084798: mov dword ptr [ebp - 0x14], 0x40a00000 */
    557     eax = MEM32(ebp + (-0x14)); /* 0x2508479F: mov eax, dword ptr [ebp - 0x14] */
    558     MEM32(ecx + 0x4) = eax; /* 0x250847A2: mov dword ptr [ecx + 4], eax */
    559     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250847A5: fstp dword ptr [ebp - 0x10] */
    560     edx = MEM32(ebp + (-0x10)); /* 0x250847A8: mov edx, dword ptr [ebp - 0x10] */
    561     MEM32(ecx + 0x8) = edx; /* 0x250847AB: mov dword ptr [ecx + 8], edx */
    562     ecx = MEM32(edi); /* 0x250847AE: mov ecx, dword ptr [edi] */
    563     edx = MEM32(edi + 0x4); /* 0x250847B0: mov edx, dword ptr [edi + 4] */
    564     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    565     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    566     esp = esp - 0xCu; /* 0x250847B3: sub esp, 0xc */
    567     _flag_k = FK_CMP;
    568     eax = esp; /* 0x250847B6: mov eax, esp */
    569     MEM32(eax) = ecx; /* 0x250847B8: mov dword ptr [eax], ecx */
    570     ecx = MEM32(edi + 0x8); /* 0x250847BA: mov ecx, dword ptr [edi + 8] */
    571     MEM32(eax + 0x4) = edx; /* 0x250847BD: mov dword ptr [eax + 4], edx */
    572     MEM32(eax + 0x8) = ecx; /* 0x250847C0: mov dword ptr [eax + 8], ecx */
    573     RECOMP_ICALL(0x250FC390u); /* 0x250847C3: call 0x250fc390 */ /* not lifted */
    574     RECOMP_FLAGS_IN();
    575     ecx = eax; /* 0x250847C8: mov ecx, eax */
    576     RECOMP_ICALL(0x250FC6B0u); /* 0x250847CA: call 0x250fc6b0 */ /* not lifted */
    577     RECOMP_FLAGS_IN();
    578     eax = MEM32(esi + 0x71C); /* 0x250847CF: mov eax, dword ptr [esi + 0x71c] */
    579     ebx = 1; /* 0x250847D5: mov ebx, 1 */
    580     /* cmp eax, ebx */ /* 0x250847DA: cmp eax, ebx */
    581     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
    582     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    583     _flag_k = FK_CMP;
    584     if (CMP_LE(_flag_a, _flag_b)) goto L_250848D5; /* 0x250847DC: jle 0x250848d5 */
    585 L_250847E2:
    586     MEM32(ebp + (-0x14)) = 0x40A00000u; /* 0x250847E2: mov dword ptr [ebp - 0x14], 0x40a00000 */
    587     edi = esi + 0x72C; /* 0x250847E9: lea edi, [esi + 0x72c] */
    588 L_250847EF:
    589     PUSH32(esp, 0x3F800000u); /* 0x250847EF: push 0x3f800000 */
    590     PUSH32(esp, 0x3F800000u); /* 0x250847F4: push 0x3f800000 */
    591     PUSH32(esp, 0x3F800000u); /* 0x250847F9: push 0x3f800000 */
    592     PUSH32(esp, 0x3E800000u); /* 0x250847FE: push 0x3e800000 */
    593     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    594     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    595     esp = esp - 0xCu; /* 0x25084803: sub esp, 0xc */
    596     _flag_k = FK_CMP;
    597     edx = edi; /* 0x25084806: mov edx, edi */
    598     ecx = MEM32(edx); /* 0x25084808: mov ecx, dword ptr [edx] */
    599     eax = esp; /* 0x2508480A: mov eax, esp */
    600     MEM32(eax) = ecx; /* 0x2508480C: mov dword ptr [eax], ecx */
    601     ecx = MEM32(edx + 0x4); /* 0x2508480E: mov ecx, dword ptr [edx + 4] */
    602     edx = MEM32(edx + 0x8); /* 0x25084811: mov edx, dword ptr [edx + 8] */
    603     MEM32(eax + 0x4) = ecx; /* 0x25084814: mov dword ptr [eax + 4], ecx */
    604     MEM32(eax + 0x8) = edx; /* 0x25084817: mov dword ptr [eax + 8], edx */
    605     RECOMP_ICALL(0x250FC390u); /* 0x2508481A: call 0x250fc390 */ /* not lifted */
    606     RECOMP_FLAGS_IN();
    607     ecx = eax; /* 0x2508481F: mov ecx, eax */
    608     RECOMP_ICALL(0x250FC500u); /* 0x25084821: call 0x250fc500 */ /* not lifted */
    609     RECOMP_FLAGS_IN();
    610     fp_push(*(float*)&MEM32(edi)); /* 0x25084826: fld dword ptr [edi] */
    611     edx = MEM32(ebp + (-0x14)); /* 0x25084828: mov edx, dword ptr [ebp - 0x14] */
    612     PUSH32(esp, 0x3F800000u); /* 0x2508482B: push 0x3f800000 */
    613     PUSH32(esp, 0x3F800000u); /* 0x25084830: push 0x3f800000 */
    614     PUSH32(esp, 0x3F800000u); /* 0x25084835: push 0x3f800000 */
    615     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    616     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    617     esp = esp - 0xCu; /* 0x2508483A: sub esp, 0xc */
    618     _flag_k = FK_CMP;
    619     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2508483D: fstp dword ptr [ebp - 0x18] */
    620     fp_push(*(float*)&MEM32(edi + 0x8)); /* 0x25084840: fld dword ptr [edi + 8] */
    621     ecx = MEM32(ebp + (-0x18)); /* 0x25084843: mov ecx, dword ptr [ebp - 0x18] */
    622     eax = esp; /* 0x25084846: mov eax, esp */
    623     MEM32(eax) = ecx; /* 0x25084848: mov dword ptr [eax], ecx */
    624     MEM32(eax + 0x4) = edx; /* 0x2508484A: mov dword ptr [eax + 4], edx */
    625     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2508484D: fstp dword ptr [ebp - 0x10] */
    626     ecx = MEM32(ebp + (-0x10)); /* 0x25084850: mov ecx, dword ptr [ebp - 0x10] */
    627     MEM32(eax + 0x8) = ecx; /* 0x25084853: mov dword ptr [eax + 8], ecx */
    628     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    629     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    630     esp = esp - 0xCu; /* 0x25084856: sub esp, 0xc */
    631     _flag_k = FK_CMP;
    632     edx = edi; /* 0x25084859: mov edx, edi */
    633     ecx = MEM32(edx); /* 0x2508485B: mov ecx, dword ptr [edx] */
    634     eax = esp; /* 0x2508485D: mov eax, esp */
    635     MEM32(eax) = ecx; /* 0x2508485F: mov dword ptr [eax], ecx */
    636     ecx = MEM32(edx + 0x4); /* 0x25084861: mov ecx, dword ptr [edx + 4] */
    637     edx = MEM32(edx + 0x8); /* 0x25084864: mov edx, dword ptr [edx + 8] */
    638     MEM32(eax + 0x4) = ecx; /* 0x25084867: mov dword ptr [eax + 4], ecx */
    639     MEM32(eax + 0x8) = edx; /* 0x2508486A: mov dword ptr [eax + 8], edx */
    640     RECOMP_ICALL(0x250FC390u); /* 0x2508486D: call 0x250fc390 */ /* not lifted */
    641     RECOMP_FLAGS_IN();
    642     ecx = eax; /* 0x25084872: mov ecx, eax */
    643     RECOMP_ICALL(0x250FC6B0u); /* 0x25084874: call 0x250fc6b0 */ /* not lifted */
    644     RECOMP_FLAGS_IN();
    645     PUSH32(esp, 0x3F800000u); /* 0x25084879: push 0x3f800000 */
    646     PUSH32(esp, 0x3F800000u); /* 0x2508487E: push 0x3f800000 */
    647     PUSH32(esp, 0x3F800000u); /* 0x25084883: push 0x3f800000 */
    648     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    649     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    650     esp = esp - 0xCu; /* 0x25084888: sub esp, 0xc */
    651     _flag_k = FK_CMP;
    652     eax = edi; /* 0x2508488B: mov eax, edi */
    653     edx = MEM32(eax); /* 0x2508488D: mov edx, dword ptr [eax] */
    654     ecx = esp; /* 0x2508488F: mov ecx, esp */
    655     MEM32(ecx) = edx; /* 0x25084891: mov dword ptr [ecx], edx */
    656     edx = MEM32(eax + 0x4); /* 0x25084893: mov edx, dword ptr [eax + 4] */
    657     eax = MEM32(eax + 0x8); /* 0x25084896: mov eax, dword ptr [eax + 8] */
    658     MEM32(ecx + 0x4) = edx; /* 0x25084899: mov dword ptr [ecx + 4], edx */
    659     MEM32(ecx + 0x8) = eax; /* 0x2508489C: mov dword ptr [ecx + 8], eax */
    660     ecx = edi + (-0xC); /* 0x2508489F: lea ecx, [edi - 0xc] */
    661     eax = MEM32(ecx); /* 0x250848A2: mov eax, dword ptr [ecx] */
    662     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    663     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    664     esp = esp - 0xCu; /* 0x250848A4: sub esp, 0xc */
    665     _flag_k = FK_CMP;
    666     edx = esp; /* 0x250848A7: mov edx, esp */
    667     MEM32(edx) = eax; /* 0x250848A9: mov dword ptr [edx], eax */
    668     eax = MEM32(ecx + 0x4); /* 0x250848AB: mov eax, dword ptr [ecx + 4] */
    669     ecx = MEM32(ecx + 0x8); /* 0x250848AE: mov ecx, dword ptr [ecx + 8] */
    670     MEM32(edx + 0x4) = eax; /* 0x250848B1: mov dword ptr [edx + 4], eax */
    671     MEM32(edx + 0x8) = ecx; /* 0x250848B4: mov dword ptr [edx + 8], ecx */
    672     RECOMP_ICALL(0x250FC390u); /* 0x250848B7: call 0x250fc390 */ /* not lifted */
    673     RECOMP_FLAGS_IN();
    674     ecx = eax; /* 0x250848BC: mov ecx, eax */
    675     RECOMP_ICALL(0x250FC6B0u); /* 0x250848BE: call 0x250fc6b0 */ /* not lifted */
    676     RECOMP_FLAGS_IN();
    677     eax = MEM32(esi + 0x71C); /* 0x250848C3: mov eax, dword ptr [esi + 0x71c] */
    678     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
    679     ebx = ebx + 1; /* 0x250848C9: inc ebx */
    680     _flag_k = FK_INC;
    681     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu);
    682     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    683     edi = edi + 0xCu; /* 0x250848CA: add edi, 0xc */
    684     _flag_k = FK_ADD;
    685     /* cmp ebx, eax */ /* 0x250848CD: cmp ebx, eax */
    686     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
    687     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    688     _flag_k = FK_CMP;
    689     RECOMP_BACKEDGE();
    690     if (CMP_L(_flag_a, _flag_b)) goto L_250847EF; /* 0x250848CF: jl 0x250847ef */
    691 L_250848D5:
    692     eax = MEM32(esi + 0x718); /* 0x250848D5: mov eax, dword ptr [esi + 0x718] */
    693     /* test eax, eax */ /* 0x250848DB: test eax, eax */
    694     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    695     _cf = 0;
    696     _flag_k = FK_TEST;
    697     if (TEST_Z(_flag_a, _flag_b)) goto L_250848EB; /* 0x250848DD: je 0x250848eb */
    698 L_250848DF:
    699     SET_LO8(edx, MEM8(eax + 0x133)); /* 0x250848DF: mov dl, byte ptr [eax + 0x133] */
    700     MEM8(0x251B9E14) = (uint8_t)(LO8(edx)); /* 0x250848E5: mov byte ptr [0x251b9e14], dl */
    701 L_250848EB:
    702     eax = MEM32(esi + 0x718); /* 0x250848EB: mov eax, dword ptr [esi + 0x718] */
    703     ecx = MEM32(ebp + 0x8); /* 0x250848F1: mov ecx, dword ptr [ebp + 8] */
    704     MEM32(eax + 0x4) = ecx; /* 0x250848F4: mov dword ptr [eax + 4], ecx */
    705     edx = MEM32(esi + 0x718); /* 0x250848F7: mov edx, dword ptr [esi + 0x718] */
    706     eax = MEM32(ebp + 0xC); /* 0x250848FD: mov eax, dword ptr [ebp + 0xc] */
    707     MEM32(edx + 0x8) = eax; /* 0x25084900: mov dword ptr [edx + 8], eax */
    708     ecx = MEM32(esi + 0x718); /* 0x25084903: mov ecx, dword ptr [esi + 0x718] */
    709     edx = MEM32(ebp + 0x10); /* 0x25084909: mov edx, dword ptr [ebp + 0x10] */
    710     eax = MEM32(edx); /* 0x2508490C: mov eax, dword ptr [edx] */
    711     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
    712     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    713     ecx = ecx + 0xCu; /* 0x2508490E: add ecx, 0xc */
    714     _flag_k = FK_ADD;
    715     MEM32(ecx) = eax; /* 0x25084911: mov dword ptr [ecx], eax */
    716     eax = MEM32(edx + 0x4); /* 0x25084913: mov eax, dword ptr [edx + 4] */
    717     MEM32(ecx + 0x4) = eax; /* 0x25084916: mov dword ptr [ecx + 4], eax */
    718     edx = MEM32(edx + 0x8); /* 0x25084919: mov edx, dword ptr [edx + 8] */
    719     MEM32(ecx + 0x8) = edx; /* 0x2508491C: mov dword ptr [ecx + 8], edx */
    720     eax = MEM32(esi + 0x718); /* 0x2508491F: mov eax, dword ptr [esi + 0x718] */
    721     ecx = MEM32(ebp + 0x14); /* 0x25084925: mov ecx, dword ptr [ebp + 0x14] */
    722     edx = MEM32(ecx); /* 0x25084928: mov edx, dword ptr [ecx] */
    723     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
    724     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    725     eax = eax + 0x18u; /* 0x2508492A: add eax, 0x18 */
    726     _flag_k = FK_ADD;
    727     MEM32(eax) = edx; /* 0x2508492D: mov dword ptr [eax], edx */
    728     edx = MEM32(ecx + 0x4); /* 0x2508492F: mov edx, dword ptr [ecx + 4] */
    729     MEM32(eax + 0x4) = edx; /* 0x25084932: mov dword ptr [eax + 4], edx */
    730     edx = MEM32(ecx + 0x8); /* 0x25084935: mov edx, dword ptr [ecx + 8] */
    731     MEM32(eax + 0x8) = edx; /* 0x25084938: mov dword ptr [eax + 8], edx */
    732     ecx = MEM32(ecx + 0xC); /* 0x2508493B: mov ecx, dword ptr [ecx + 0xc] */
    733     MEM32(eax + 0xC) = ecx; /* 0x2508493E: mov dword ptr [eax + 0xc], ecx */
    734     edx = MEM32(esi + 0x150); /* 0x25084941: mov edx, dword ptr [esi + 0x150] */
    735     eax = MEM32(edx + 0x4); /* 0x25084947: mov eax, dword ptr [edx + 4] */
    736     ebx = MEM32(eax); /* 0x2508494A: mov ebx, dword ptr [eax] */
    737     /* cmp ebx, eax */ /* 0x2508494C: cmp ebx, eax */
    738     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
    739     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    740     _flag_k = FK_CMP;
    741     if (CMP_EQ(_flag_a, _flag_b)) goto L_2508499D; /* 0x2508494E: je 0x2508499d */
    742 L_25084950:
    743     ecx = MEM32(ebx + 0x8); /* 0x25084950: mov ecx, dword ptr [ebx + 8] */
    744     eax = MEM32(ecx); /* 0x25084953: mov eax, dword ptr [ecx] */
    745     edi = ebx + 0x8; /* 0x25084955: lea edi, [ebx + 8] */
    746     RECOMP_ICALL(MEM32(eax + 0x5C)); /* 0x25084958: call dword ptr [eax + 0x5c] */
    747     RECOMP_FLAGS_IN();
    748     /* test LO8(eax), LO8(eax) */ /* 0x2508495B: test al, al */
    749     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    750     _cf = 0;
    751     _flag_k = FK_NARROW(FK_TEST, 24);
    752     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084990; /* 0x2508495D: jne 0x25084990 */
    753 L_2508495F:
    754     ecx = MEM32(edi); /* 0x2508495F: mov ecx, dword ptr [edi] */
    755     edx = MEM32(ecx + 0x240); /* 0x25084961: mov edx, dword ptr [ecx + 0x240] */
    756     ecx = MEM32(esi + edx * 4 + 0x1D8); /* 0x25084967: mov ecx, dword ptr [esi + edx*4 + 0x1d8] */
    757     /* test ecx, ecx */ /* 0x2508496E: test ecx, ecx */
    758     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    759     _cf = 0;
    760     _flag_k = FK_TEST;
    761     eax = esi + edx * 4 + 0x1D8; /* 0x25084970: lea eax, [esi + edx*4 + 0x1d8] */
    762     if (TEST_Z(_flag_a, _flag_b)) goto L_2508497C; /* 0x25084977: je 0x2508497c */
    763 L_25084979:
    764     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    765     ecx = ecx - 1; /* 0x25084979: dec ecx */
    766     _flag_k = FK_DEC;
    767     MEM32(eax) = ecx; /* 0x2508497A: mov dword ptr [eax], ecx */
    768 L_2508497C:
    769     ecx = MEM32(esi + 0x154); /* 0x2508497C: mov ecx, dword ptr [esi + 0x154] */
    770     eax = MEM32(ecx + 0x4); /* 0x25084982: mov eax, dword ptr [ecx + 4] */
    771     PUSH32(esp, edi); /* 0x25084985: push edi */
    772     PUSH32(esp, eax); /* 0x25084986: push eax */
    773     eax = ebp + 0x8; /* 0x25084987: lea eax, [ebp + 8] */
    774     PUSH32(esp, eax); /* 0x2508498A: push eax */
    775     RECOMP_ICALL(0x25098990u); /* 0x2508498B: call 0x25098990 */ /* not lifted */
    776     RECOMP_FLAGS_IN();
    777 L_25084990:
    778     ecx = MEM32(esi + 0x150); /* 0x25084990: mov ecx, dword ptr [esi + 0x150] */
    779     ebx = MEM32(ebx); /* 0x25084996: mov ebx, dword ptr [ebx] */
    780     /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x25084998: cmp ebx, dword ptr [ecx + 4] */
    781     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
    782     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    783     _flag_k = FK_CMP;
    784     RECOMP_BACKEDGE();
    785     if (CMP_NE(_flag_a, _flag_b)) goto L_25084950; /* 0x2508499B: jne 0x25084950 */
    786 L_2508499D:
    787     edx = MEM32(esi + 0x154); /* 0x2508499D: mov edx, dword ptr [esi + 0x154] */
    788     eax = MEM32(edx + 0x4); /* 0x250849A3: mov eax, dword ptr [edx + 4] */
    789     edi = MEM32(eax); /* 0x250849A6: mov edi, dword ptr [eax] */
    790     /* cmp eax, edi */ /* 0x250849A8: cmp eax, edi */
    791     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    792     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    793     _flag_k = FK_CMP;
    794     MEM32(ebp + 0x14) = eax; /* 0x250849AA: mov dword ptr [ebp + 0x14], eax */
    795     MEM32(ebp + 0xC) = edi; /* 0x250849AD: mov dword ptr [ebp + 0xc], edi */
    796     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084A2C; /* 0x250849B0: je 0x25084a2c */
    797 L_250849B2:
    798     goto L_250849B7; /* 0x250849B2: jmp 0x250849b7 */
    799 L_250849B4:
    800     edi = MEM32(ebp + 0xC); /* 0x250849B4: mov edi, dword ptr [ebp + 0xc] */
    801 L_250849B7:
    802     eax = MEM32(edi + 0x8); /* 0x250849B7: mov eax, dword ptr [edi + 8] */
    803     ecx = MEM32(eax + 0x240); /* 0x250849BA: mov ecx, dword ptr [eax + 0x240] */
    804     ecx = MEM32(esi + ecx * 4 + 0x478); /* 0x250849C0: mov ecx, dword ptr [esi + ecx*4 + 0x478] */
    805     eax = MEM32(ecx + 0x4); /* 0x250849C7: mov eax, dword ptr [ecx + 4] */
    806     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8);
    807     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    808     edi = edi + 8; /* 0x250849CA: add edi, 8 */
    809     _flag_k = FK_ADD;
    810     PUSH32(esp, edi); /* 0x250849CD: push edi */
    811     PUSH32(esp, eax); /* 0x250849CE: push eax */
    812     edx = ebp + (-0x4); /* 0x250849CF: lea edx, [ebp - 4] */
    813     PUSH32(esp, edx); /* 0x250849D2: push edx */
    814     RECOMP_ICALL(0x25098990u); /* 0x250849D3: call 0x25098990 */ /* not lifted */
    815     RECOMP_FLAGS_IN();
    816     eax = MEM32(esi + 0x150); /* 0x250849D8: mov eax, dword ptr [esi + 0x150] */
    817     ebx = MEM32(eax + 0x4); /* 0x250849DE: mov ebx, dword ptr [eax + 4] */
    818     MEM32(ebp + 0x10) = eax; /* 0x250849E1: mov dword ptr [ebp + 0x10], eax */
    819     eax = MEM32(ebx); /* 0x250849E4: mov eax, dword ptr [ebx] */
    820     /* cmp eax, ebx */ /* 0x250849E6: cmp eax, ebx */
    821     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
    822     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    823     _flag_k = FK_CMP;
    824     MEM32(ebp + 0x8) = eax; /* 0x250849E8: mov dword ptr [ebp + 8], eax */
    825     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084A1F; /* 0x250849EB: je 0x25084a1f */
    826 L_250849ED:
    827     ecx = MEM32(eax + 0x8); /* 0x250849ED: mov ecx, dword ptr [eax + 8] */
    828     /* cmp ecx, MEM32(edi) */ /* 0x250849F0: cmp ecx, dword ptr [edi] */
    829     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
    830     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    831     _flag_k = FK_CMP;
    832     if (CMP_NE(_flag_a, _flag_b)) goto L_25084A16; /* 0x250849F2: jne 0x25084a16 */
    833 L_250849F4:
    834     PUSH32(esp, 0); /* 0x250849F4: push 0 */
    835     edx = ebp + (-0x8); /* 0x250849F6: lea edx, [ebp - 8] */
    836     PUSH32(esp, edx); /* 0x250849F9: push edx */
    837     ecx = ebp + 0x8; /* 0x250849FA: lea ecx, [ebp + 8] */
    838     RECOMP_ICALL(0x250851C0u); /* 0x250849FD: call 0x250851c0 */ /* not lifted */
    839     RECOMP_FLAGS_IN();
    840     eax = MEM32(eax); /* 0x25084A02: mov eax, dword ptr [eax] */
    841     PUSH32(esp, eax); /* 0x25084A04: push eax */
    842     ecx = ebp + (-0xC); /* 0x25084A05: lea ecx, [ebp - 0xc] */
    843     PUSH32(esp, ecx); /* 0x25084A08: push ecx */
    844     ecx = MEM32(ebp + 0x10); /* 0x25084A09: mov ecx, dword ptr [ebp + 0x10] */
    845     RECOMP_ICALL(0x25085320u); /* 0x25084A0C: call 0x25085320 */ /* not lifted */
    846     RECOMP_FLAGS_IN();
    847     eax = MEM32(ebp + 0x8); /* 0x25084A11: mov eax, dword ptr [ebp + 8] */
    848     goto L_25084A1B; /* 0x25084A14: jmp 0x25084a1b */
    849 L_25084A16:
    850     eax = MEM32(eax); /* 0x25084A16: mov eax, dword ptr [eax] */
    851     MEM32(ebp + 0x8) = eax; /* 0x25084A18: mov dword ptr [ebp + 8], eax */
    852 L_25084A1B:
    853     /* cmp eax, ebx */ /* 0x25084A1B: cmp eax, ebx */
    854     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
    855     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    856     _flag_k = FK_CMP;
    857     RECOMP_BACKEDGE();
    858     if (CMP_NE(_flag_a, _flag_b)) goto L_250849ED; /* 0x25084A1D: jne 0x250849ed */
    859 L_25084A1F:
    860     edx = MEM32(ebp + 0xC); /* 0x25084A1F: mov edx, dword ptr [ebp + 0xc] */
    861     eax = MEM32(edx); /* 0x25084A22: mov eax, dword ptr [edx] */
    862     /* cmp MEM32(ebp + 0x14), eax */ /* 0x25084A24: cmp dword ptr [ebp + 0x14], eax */
    863     _flag_a = (uint32_t)(MEM32(ebp + 0x14)); _flag_b = (uint32_t)(eax);
    864     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    865     _flag_k = FK_CMP;
    866     MEM32(ebp + 0xC) = eax; /* 0x25084A27: mov dword ptr [ebp + 0xc], eax */
    867     RECOMP_BACKEDGE();
    868     if (CMP_NE(_flag_a, _flag_b)) goto L_250849B4; /* 0x25084A2A: jne 0x250849b4 */
    869 L_25084A2C:
    870     ecx = MEM32(esi + 0x154); /* 0x25084A2C: mov ecx, dword ptr [esi + 0x154] */
    871     eax = MEM32(ecx + 0x4); /* 0x25084A32: mov eax, dword ptr [ecx + 4] */
    872     edx = MEM32(eax); /* 0x25084A35: mov edx, dword ptr [eax] */
    873     PUSH32(esp, eax); /* 0x25084A37: push eax */
    874     PUSH32(esp, edx); /* 0x25084A38: push edx */
    875     eax = ebp + 0x8; /* 0x25084A39: lea eax, [ebp + 8] */
    876     PUSH32(esp, eax); /* 0x25084A3C: push eax */
    877     RECOMP_ICALL(0x250852D0u); /* 0x25084A3D: call 0x250852d0 */ /* not lifted */
    878     RECOMP_FLAGS_IN();
    879     ecx = MEM32(esi + 0x158); /* 0x25084A42: mov ecx, dword ptr [esi + 0x158] */
    880     eax = MEM32(ecx + 0x4); /* 0x25084A48: mov eax, dword ptr [ecx + 4] */
    881     ebx = MEM32(eax); /* 0x25084A4B: mov ebx, dword ptr [eax] */
    882     /* cmp ebx, eax */ /* 0x25084A4D: cmp ebx, eax */
    883     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
    884     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    885     _flag_k = FK_CMP;
    886     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084A99; /* 0x25084A4F: je 0x25084a99 */
    887 L_25084A51:
    888     ecx = MEM32(ebx + 0x8); /* 0x25084A51: mov ecx, dword ptr [ebx + 8] */
    889     edx = MEM32(ecx); /* 0x25084A54: mov edx, dword ptr [ecx] */
    890     edi = ebx + 0x8; /* 0x25084A56: lea edi, [ebx + 8] */
    891     RECOMP_ICALL(MEM32(edx + 0x60)); /* 0x25084A59: call dword ptr [edx + 0x60] */
    892     RECOMP_FLAGS_IN();
    893     /* test LO8(eax), LO8(eax) */ /* 0x25084A5C: test al, al */
    894     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    895     _cf = 0;
    896     _flag_k = FK_NARROW(FK_TEST, 24);
    897     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084A8C; /* 0x25084A5E: jne 0x25084a8c */
    898 L_25084A60:
    899     eax = MEM32(edi); /* 0x25084A60: mov eax, dword ptr [edi] */
    900     ecx = MEM32(eax + 0x1D4); /* 0x25084A62: mov ecx, dword ptr [eax + 0x1d4] */
    901     eax = esi + ecx * 4 + 0x1D8; /* 0x25084A68: lea eax, [esi + ecx*4 + 0x1d8] */
    902     ecx = MEM32(eax); /* 0x25084A6F: mov ecx, dword ptr [eax] */
    903     /* test ecx, ecx */ /* 0x25084A71: test ecx, ecx */
    904     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    905     _cf = 0;
    906     _flag_k = FK_TEST;
    907     if (TEST_Z(_flag_a, _flag_b)) goto L_25084A78; /* 0x25084A73: je 0x25084a78 */
    908 L_25084A75:
    909     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    910     ecx = ecx - 1; /* 0x25084A75: dec ecx */
    911     _flag_k = FK_DEC;
    912     MEM32(eax) = ecx; /* 0x25084A76: mov dword ptr [eax], ecx */
    913 L_25084A78:
    914     ecx = MEM32(esi + 0x15C); /* 0x25084A78: mov ecx, dword ptr [esi + 0x15c] */
    915     eax = MEM32(ecx + 0x4); /* 0x25084A7E: mov eax, dword ptr [ecx + 4] */
    916     PUSH32(esp, edi); /* 0x25084A81: push edi */
    917     PUSH32(esp, eax); /* 0x25084A82: push eax */
    918     edx = ebp + 0x8; /* 0x25084A83: lea edx, [ebp + 8] */
    919     PUSH32(esp, edx); /* 0x25084A86: push edx */
    920     RECOMP_ICALL(0x25098990u); /* 0x25084A87: call 0x25098990 */ /* not lifted */
    921     RECOMP_FLAGS_IN();
    922 L_25084A8C:
    923     eax = MEM32(esi + 0x158); /* 0x25084A8C: mov eax, dword ptr [esi + 0x158] */
    924     ebx = MEM32(ebx); /* 0x25084A92: mov ebx, dword ptr [ebx] */
    925     /* cmp ebx, MEM32(eax + 0x4) */ /* 0x25084A94: cmp ebx, dword ptr [eax + 4] */
    926     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(eax + 0x4));
    927     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    928     _flag_k = FK_CMP;
    929     RECOMP_BACKEDGE();
    930     if (CMP_NE(_flag_a, _flag_b)) goto L_25084A51; /* 0x25084A97: jne 0x25084a51 */
    931 L_25084A99:
    932     ecx = MEM32(esi + 0x15C); /* 0x25084A99: mov ecx, dword ptr [esi + 0x15c] */
    933     ecx = MEM32(ecx + 0x4); /* 0x25084A9F: mov ecx, dword ptr [ecx + 4] */
    934     eax = MEM32(ecx); /* 0x25084AA2: mov eax, dword ptr [ecx] */
    935     /* cmp ecx, eax */ /* 0x25084AA4: cmp ecx, eax */
    936     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
    937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    938     _flag_k = FK_CMP;
    939     MEM32(ebp + 0x10) = ecx; /* 0x25084AA6: mov dword ptr [ebp + 0x10], ecx */
    940     MEM32(ebp + 0x8) = eax; /* 0x25084AA9: mov dword ptr [ebp + 8], eax */
    941     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084B73; /* 0x25084AAC: je 0x25084b73 */
    942 L_25084AB2:
    943     goto L_25084AB7; /* 0x25084AB2: jmp 0x25084ab7 */
    944 L_25084AB4:
    945     eax = MEM32(ebp + 0x8); /* 0x25084AB4: mov eax, dword ptr [ebp + 8] */
    946 L_25084AB7:
    947     edx = MEM32(eax + 0x8); /* 0x25084AB7: mov edx, dword ptr [eax + 8] */
    948     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
    949     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    950     eax = eax + 8; /* 0x25084ABA: add eax, 8 */
    951     _flag_k = FK_ADD;
    952     eax = MEM32(edx + 0x1D4); /* 0x25084ABD: mov eax, dword ptr [edx + 0x1d4] */
    953     ebx = MEM32(esi + eax * 4 + 0x5C8); /* 0x25084AC3: mov ebx, dword ptr [esi + eax*4 + 0x5c8] */
    954     edi = MEM32(ebx + 0x4); /* 0x25084ACA: mov edi, dword ptr [ebx + 4] */
    955     ecx = MEM32(edi + 0x4); /* 0x25084ACD: mov ecx, dword ptr [edi + 4] */
    956     PUSH32(esp, 0xCu); /* 0x25084AD0: push 0xc */
    957     MEM32(ebp + 0xC) = ecx; /* 0x25084AD2: mov dword ptr [ebp + 0xc], ecx */
    958     RECOMP_ICALL(0x251380D0u); /* 0x25084AD5: call 0x251380d0 */ /* not lifted */
    959     RECOMP_FLAGS_IN();
    960     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    961     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    962     esp = esp + 4; /* 0x25084ADA: add esp, 4 */
    963     _flag_k = FK_ADD;
    964     /* test edi, edi */ /* 0x25084ADD: test edi, edi */
    965     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    966     _cf = 0;
    967     _flag_k = FK_TEST;
    968     ecx = edi; /* 0x25084ADF: mov ecx, edi */
    969     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084AE5; /* 0x25084AE1: jne 0x25084ae5 */
    970 L_25084AE3:
    971     ecx = eax; /* 0x25084AE3: mov ecx, eax */
    972 L_25084AE5:
    973     MEM32(eax) = ecx; /* 0x25084AE5: mov dword ptr [eax], ecx */
    974     ecx = MEM32(ebp + 0xC); /* 0x25084AE7: mov ecx, dword ptr [ebp + 0xc] */
    975     /* test ecx, ecx */ /* 0x25084AEA: test ecx, ecx */
    976     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    977     _cf = 0;
    978     _flag_k = FK_TEST;
    979     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084AF0; /* 0x25084AEC: jne 0x25084af0 */
    980 L_25084AEE:
    981     ecx = eax; /* 0x25084AEE: mov ecx, eax */
    982 L_25084AF0:
    983     MEM32(eax + 0x4) = ecx; /* 0x25084AF0: mov dword ptr [eax + 4], ecx */
    984     ecx = MEM32(ebp + 0x8); /* 0x25084AF3: mov ecx, dword ptr [ebp + 8] */
    985     MEM32(edi + 0x4) = eax; /* 0x25084AF6: mov dword ptr [edi + 4], eax */
    986     edx = MEM32(eax + 0x4); /* 0x25084AF9: mov edx, dword ptr [eax + 4] */
    987     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
    988     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    989     ecx = ecx + 8; /* 0x25084AFC: add ecx, 8 */
    990     _flag_k = FK_ADD;
    991     MEM32(edx) = eax; /* 0x25084AFF: mov dword ptr [edx], eax */
    992     PUSH32(esp, ecx); /* 0x25084B01: push ecx */
    993     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
    994     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    995     eax = eax + 8; /* 0x25084B02: add eax, 8 */
    996     _flag_k = FK_ADD;
    997     PUSH32(esp, eax); /* 0x25084B05: push eax */
    998     RECOMP_ICALL(0x25085360u); /* 0x25084B06: call 0x25085360 */ /* not lifted */
    999     RECOMP_FLAGS_IN();
   1000     edx = MEM32(ebx + 0x8); /* 0x25084B0B: mov edx, dword ptr [ebx + 8] */
   1001     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1002     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1003     esp = esp + 8; /* 0x25084B0E: add esp, 8 */
   1004     _flag_k = FK_ADD;
   1005     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   1006     edx = edx + 1; /* 0x25084B11: inc edx */
   1007     _flag_k = FK_INC;
   1008     MEM32(ebx + 0x8) = edx; /* 0x25084B12: mov dword ptr [ebx + 8], edx */
   1009     ebx = MEM32(esi + 0x158); /* 0x25084B15: mov ebx, dword ptr [esi + 0x158] */
   1010     eax = MEM32(ebx + 0x4); /* 0x25084B1B: mov eax, dword ptr [ebx + 4] */
   1011     edi = MEM32(eax); /* 0x25084B1E: mov edi, dword ptr [eax] */
   1012     /* cmp edi, eax */ /* 0x25084B20: cmp edi, eax */
   1013     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1014     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1015     _flag_k = FK_CMP;
   1016     MEM32(ebp + 0xC) = eax; /* 0x25084B22: mov dword ptr [ebp + 0xc], eax */
   1017     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084B62; /* 0x25084B25: je 0x25084b62 */
   1018 L_25084B27:
   1019     ecx = MEM32(ebp + 0x8); /* 0x25084B27: mov ecx, dword ptr [ebp + 8] */
   1020     edx = MEM32(edi + 0x8); /* 0x25084B2A: mov edx, dword ptr [edi + 8] */
   1021     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   1022     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1023     ecx = ecx + 8; /* 0x25084B2D: add ecx, 8 */
   1024     _flag_k = FK_ADD;
   1025     /* cmp edx, MEM32(ecx) */ /* 0x25084B30: cmp edx, dword ptr [ecx] */
   1026     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx));
   1027     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1028     _flag_k = FK_CMP;
   1029     if (CMP_NE(_flag_a, _flag_b)) goto L_25084B5C; /* 0x25084B32: jne 0x25084b5c */
   1030 L_25084B34:
   1031     eax = edi; /* 0x25084B34: mov eax, edi */
   1032     edx = MEM32(eax + 0x4); /* 0x25084B36: mov edx, dword ptr [eax + 4] */
   1033     ecx = MEM32(eax); /* 0x25084B39: mov ecx, dword ptr [eax] */
   1034     edi = MEM32(edi); /* 0x25084B3B: mov edi, dword ptr [edi] */
   1035     MEM32(edx) = ecx; /* 0x25084B3D: mov dword ptr [edx], ecx */
   1036     edx = MEM32(eax); /* 0x25084B3F: mov edx, dword ptr [eax] */
   1037     ecx = MEM32(eax + 0x4); /* 0x25084B41: mov ecx, dword ptr [eax + 4] */
   1038     PUSH32(esp, eax); /* 0x25084B44: push eax */
   1039     MEM32(edx + 0x4) = ecx; /* 0x25084B45: mov dword ptr [edx + 4], ecx */
   1040     RECOMP_ICALL(0x25137EECu); /* 0x25084B48: call 0x25137eec */ /* not lifted */
   1041     RECOMP_FLAGS_IN();
   1042     eax = MEM32(ebx + 0x8); /* 0x25084B4D: mov eax, dword ptr [ebx + 8] */
   1043     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1044     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1045     esp = esp + 4; /* 0x25084B50: add esp, 4 */
   1046     _flag_k = FK_ADD;
   1047     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1048     eax = eax - 1; /* 0x25084B53: dec eax */
   1049     _flag_k = FK_DEC;
   1050     MEM32(ebx + 0x8) = eax; /* 0x25084B54: mov dword ptr [ebx + 8], eax */
   1051     eax = MEM32(ebp + 0xC); /* 0x25084B57: mov eax, dword ptr [ebp + 0xc] */
   1052     goto L_25084B5E; /* 0x25084B5A: jmp 0x25084b5e */
   1053 L_25084B5C:
   1054     edi = MEM32(edi); /* 0x25084B5C: mov edi, dword ptr [edi] */
   1055 L_25084B5E:
   1056     /* cmp edi, eax */ /* 0x25084B5E: cmp edi, eax */
   1057     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1058     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1059     _flag_k = FK_CMP;
   1060     RECOMP_BACKEDGE();
   1061     if (CMP_NE(_flag_a, _flag_b)) goto L_25084B27; /* 0x25084B60: jne 0x25084b27 */
   1062 L_25084B62:
   1063     edx = MEM32(ebp + 0x8); /* 0x25084B62: mov edx, dword ptr [ebp + 8] */
   1064     eax = MEM32(edx); /* 0x25084B65: mov eax, dword ptr [edx] */
   1065     /* cmp MEM32(ebp + 0x10), eax */ /* 0x25084B67: cmp dword ptr [ebp + 0x10], eax */
   1066     _flag_a = (uint32_t)(MEM32(ebp + 0x10)); _flag_b = (uint32_t)(eax);
   1067     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1068     _flag_k = FK_CMP;
   1069     MEM32(ebp + 0x8) = eax; /* 0x25084B6A: mov dword ptr [ebp + 8], eax */
   1070     RECOMP_BACKEDGE();
   1071     if (CMP_NE(_flag_a, _flag_b)) goto L_25084AB4; /* 0x25084B6D: jne 0x25084ab4 */
   1072 L_25084B73:
   1073     esi = MEM32(esi + 0x15C); /* 0x25084B73: mov esi, dword ptr [esi + 0x15c] */
   1074     ebx = MEM32(esi + 0x4); /* 0x25084B79: mov ebx, dword ptr [esi + 4] */
   1075     edi = MEM32(ebx); /* 0x25084B7C: mov edi, dword ptr [ebx] */
   1076     /* cmp edi, ebx */ /* 0x25084B7E: cmp edi, ebx */
   1077     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1078     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1079     _flag_k = FK_CMP;
   1080     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084BA9; /* 0x25084B80: je 0x25084ba9 */
   1081 L_25084B82:
   1082     eax = edi; /* 0x25084B82: mov eax, edi */
   1083     ecx = MEM32(eax + 0x4); /* 0x25084B84: mov ecx, dword ptr [eax + 4] */
   1084     edx = MEM32(eax); /* 0x25084B87: mov edx, dword ptr [eax] */
   1085     edi = MEM32(edi); /* 0x25084B89: mov edi, dword ptr [edi] */
   1086     MEM32(ecx) = edx; /* 0x25084B8B: mov dword ptr [ecx], edx */
   1087     ecx = MEM32(eax); /* 0x25084B8D: mov ecx, dword ptr [eax] */
   1088     edx = MEM32(eax + 0x4); /* 0x25084B8F: mov edx, dword ptr [eax + 4] */
   1089     PUSH32(esp, eax); /* 0x25084B92: push eax */
   1090     MEM32(ecx + 0x4) = edx; /* 0x25084B93: mov dword ptr [ecx + 4], edx */
   1091     RECOMP_ICALL(0x25137EECu); /* 0x25084B96: call 0x25137eec */ /* not lifted */
   1092     RECOMP_FLAGS_IN();
   1093     ecx = MEM32(esi + 0x8); /* 0x25084B9B: mov ecx, dword ptr [esi + 8] */
   1094     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1095     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1096     esp = esp + 4; /* 0x25084B9E: add esp, 4 */
   1097     _flag_k = FK_ADD;
   1098     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1099     ecx = ecx - 1; /* 0x25084BA1: dec ecx */
   1100     _flag_k = FK_DEC;
   1101     /* cmp edi, ebx */ /* 0x25084BA2: cmp edi, ebx */
   1102     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1103     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1104     _flag_k = FK_CMP;
   1105     MEM32(esi + 0x8) = ecx; /* 0x25084BA4: mov dword ptr [esi + 8], ecx */
   1106     RECOMP_BACKEDGE();
   1107     if (CMP_NE(_flag_a, _flag_b)) goto L_25084B82; /* 0x25084BA7: jne 0x25084b82 */
   1108 L_25084BA9:
   1109     edi = POP32_VAL(esp); /* 0x25084BA9: pop edi */
   1110     esi = POP32_VAL(esp); /* 0x25084BAA: pop esi */
   1111     ebx = POP32_VAL(esp); /* 0x25084BAB: pop ebx */
   1112     esp = ebp; /* 0x25084BAC: mov esp, ebp */
   1113     ebp = POP32_VAL(esp); /* 0x25084BAE: pop ebp */
   1114     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25084BAF: ret 0x10 */
   1115     RECOMP_REGS_OUT();
   1116 }
   1117 
   1118 void sub_25084BC0(void) {
   1119     int _fpu_cmp = 0;
   1120     uint32_t _cf = 0;
   1121     int _df = 1;
   1122     uint32_t _flag_k = FK_NONE;
   1123     uint32_t _flag_a = 0, _flag_b = 0;
   1124     uint32_t _itail_tgt = 0;
   1125     RECOMP_REGS_LOCALS
   1126     RECOMP_ENTER(0x25084BC0u);
   1127 
   1128 L_25084BC0:
   1129     PUSH32(esp, ebp); /* 0x25084BC0: push ebp */
   1130     ebp = esp; /* 0x25084BC1: mov ebp, esp */
   1131     ecx = MEM32(ebp + 0x8); /* 0x25084BC3: mov ecx, dword ptr [ebp + 8] */
   1132     /* test ecx, ecx */ /* 0x25084BC6: test ecx, ecx */
   1133     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1134     _cf = 0;
   1135     _flag_k = FK_TEST;
   1136     if (TEST_Z(_flag_a, _flag_b)) goto L_25084BEB; /* 0x25084BC8: je 0x25084beb */
   1137 L_25084BCA:
   1138     edx = MEM32(ebp + 0xC); /* 0x25084BCA: mov edx, dword ptr [ebp + 0xc] */
   1139     PUSH32(esp, esi); /* 0x25084BCD: push esi */
   1140     esi = MEM32(edx); /* 0x25084BCE: mov esi, dword ptr [edx] */
   1141     eax = ecx + 0x78; /* 0x25084BD0: lea eax, [ecx + 0x78] */
   1142     MEM32(eax) = esi; /* 0x25084BD3: mov dword ptr [eax], esi */
   1143     esi = MEM32(edx + 0x4); /* 0x25084BD5: mov esi, dword ptr [edx + 4] */
   1144     MEM32(eax + 0x4) = esi; /* 0x25084BD8: mov dword ptr [eax + 4], esi */
   1145     edx = MEM32(edx + 0x8); /* 0x25084BDB: mov edx, dword ptr [edx + 8] */
   1146     PUSH32(esp, 1); /* 0x25084BDE: push 1 */
   1147     MEM32(eax + 0x8) = edx; /* 0x25084BE0: mov dword ptr [eax + 8], edx */
   1148     eax = MEM32(ecx); /* 0x25084BE3: mov eax, dword ptr [ecx] */
   1149     PUSH32(esp, 1); /* 0x25084BE5: push 1 */
   1150     RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x25084BE7: call dword ptr [eax + 0x2c] */
   1151     RECOMP_FLAGS_IN();
   1152     esi = POP32_VAL(esp); /* 0x25084BEA: pop esi */
   1153 L_25084BEB:
   1154     ebp = POP32_VAL(esp); /* 0x25084BEB: pop ebp */
   1155     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25084BEC: ret 8 */
   1156     RECOMP_REGS_OUT();
   1157 }
   1158 
   1159 void sub_25084BF0(void) {
   1160     int _fpu_cmp = 0;
   1161     uint32_t _cf = 0;
   1162     int _df = 1;
   1163     uint32_t _flag_k = FK_NONE;
   1164     uint32_t _flag_a = 0, _flag_b = 0;
   1165     uint32_t _itail_tgt = 0;
   1166     RECOMP_REGS_LOCALS
   1167     RECOMP_ENTER(0x25084BF0u);
   1168 
   1169 L_25084BF0:
   1170     PUSH32(esp, ebp); /* 0x25084BF0: push ebp */
   1171     ebp = esp; /* 0x25084BF1: mov ebp, esp */
   1172     ecx = MEM32(ebp + 0x8); /* 0x25084BF3: mov ecx, dword ptr [ebp + 8] */
   1173     /* test ecx, ecx */ /* 0x25084BF6: test ecx, ecx */
   1174     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1175     _cf = 0;
   1176     _flag_k = FK_TEST;
   1177     if (TEST_Z(_flag_a, _flag_b)) goto L_25084C24; /* 0x25084BF8: je 0x25084c24 */
   1178 L_25084BFA:
   1179     edx = MEM32(ebp + 0xC); /* 0x25084BFA: mov edx, dword ptr [ebp + 0xc] */
   1180     PUSH32(esp, esi); /* 0x25084BFD: push esi */
   1181     esi = MEM32(edx); /* 0x25084BFE: mov esi, dword ptr [edx] */
   1182     eax = ecx + 0x84; /* 0x25084C00: lea eax, [ecx + 0x84] */
   1183     MEM32(eax) = esi; /* 0x25084C06: mov dword ptr [eax], esi */
   1184     esi = MEM32(edx + 0x4); /* 0x25084C08: mov esi, dword ptr [edx + 4] */
   1185     MEM32(eax + 0x4) = esi; /* 0x25084C0B: mov dword ptr [eax + 4], esi */
   1186     esi = MEM32(edx + 0x8); /* 0x25084C0E: mov esi, dword ptr [edx + 8] */
   1187     MEM32(eax + 0x8) = esi; /* 0x25084C11: mov dword ptr [eax + 8], esi */
   1188     edx = MEM32(edx + 0xC); /* 0x25084C14: mov edx, dword ptr [edx + 0xc] */
   1189     PUSH32(esp, 1); /* 0x25084C17: push 1 */
   1190     MEM32(eax + 0xC) = edx; /* 0x25084C19: mov dword ptr [eax + 0xc], edx */
   1191     eax = MEM32(ecx); /* 0x25084C1C: mov eax, dword ptr [ecx] */
   1192     PUSH32(esp, 2); /* 0x25084C1E: push 2 */
   1193     RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x25084C20: call dword ptr [eax + 0x2c] */
   1194     RECOMP_FLAGS_IN();
   1195     esi = POP32_VAL(esp); /* 0x25084C23: pop esi */
   1196 L_25084C24:
   1197     ebp = POP32_VAL(esp); /* 0x25084C24: pop ebp */
   1198     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25084C25: ret 8 */
   1199     RECOMP_REGS_OUT();
   1200 }
   1201 
   1202 void sub_25084C30(void) {
   1203     int _fpu_cmp = 0;
   1204     uint32_t _cf = 0;
   1205     int _df = 1;
   1206     uint32_t _flag_k = FK_NONE;
   1207     uint32_t _flag_a = 0, _flag_b = 0;
   1208     uint32_t _itail_tgt = 0;
   1209     RECOMP_REGS_LOCALS
   1210     RECOMP_ENTER(0x25084C30u);
   1211 
   1212 L_25084C30:
   1213     PUSH32(esp, ebp); /* 0x25084C30: push ebp */
   1214     ebp = esp; /* 0x25084C31: mov ebp, esp */
   1215     eax = MEM32(ebp + 0x8); /* 0x25084C33: mov eax, dword ptr [ebp + 8] */
   1216     /* test eax, eax */ /* 0x25084C36: test eax, eax */
   1217     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1218     _cf = 0;
   1219     _flag_k = FK_TEST;
   1220     if (TEST_Z(_flag_a, _flag_b)) goto L_25084C41; /* 0x25084C38: je 0x25084c41 */
   1221 L_25084C3A:
   1222     MEM8(eax + 0x270) = (uint8_t)(1); /* 0x25084C3A: mov byte ptr [eax + 0x270], 1 */
   1223 L_25084C41:
   1224     ebp = POP32_VAL(esp); /* 0x25084C41: pop ebp */
   1225     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25084C42: ret 4 */
   1226     RECOMP_REGS_OUT();
   1227 }
   1228 
   1229 void sub_25084C50(void) {
   1230     int _fpu_cmp = 0;
   1231     uint32_t _cf = 0;
   1232     int _df = 1;
   1233     uint32_t _flag_k = FK_NONE;
   1234     uint32_t _flag_a = 0, _flag_b = 0;
   1235     uint32_t _itail_tgt = 0;
   1236     RECOMP_REGS_LOCALS
   1237     RECOMP_ENTER(0x25084C50u);
   1238 
   1239 L_25084C50:
   1240     PUSH32(esp, ebp); /* 0x25084C50: push ebp */
   1241     ebp = esp; /* 0x25084C51: mov ebp, esp */
   1242     PUSH32(esp, 0xFFFFFFFFu); /* 0x25084C53: push -1 */
   1243     PUSH32(esp, 0x25148E58u); /* 0x25084C55: push 0x25148e58 */
   1244     eax = MEM32(FS_BASE + (0)); /* 0x25084C5A: mov eax, dword ptr fs:[0] */
   1245     PUSH32(esp, eax); /* 0x25084C60: push eax */
   1246     MEM32(FS_BASE + (0)) = esp; /* 0x25084C61: mov dword ptr fs:[0], esp */
   1247     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x70u);
   1248     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1249     esp = esp - 0x70u; /* 0x25084C68: sub esp, 0x70 */
   1250     _flag_k = FK_CMP;
   1251     PUSH32(esp, ebx); /* 0x25084C6B: push ebx */
   1252     PUSH32(esp, esi); /* 0x25084C6C: push esi */
   1253     esi = ecx; /* 0x25084C6D: mov esi, ecx */
   1254     fp_push(*(float*)&MEM32(esi + 0x11C)); /* 0x25084C6F: fld dword ptr [esi + 0x11c] */
   1255     PUSH32(esp, edi); /* 0x25084C75: push edi */
   1256     _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25155880)); /* 0x25084C76: fcomp qword ptr [0x25155880] */
   1257     fp_pop();
   1258     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25084C7C: fnstsw ax */
   1259     /* test HI8(eax), 0x40u */ /* 0x25084C7E: test ah, 0x40 */
   1260     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
   1261     _cf = 0;
   1262     _flag_k = FK_NARROW(FK_TEST, 24);
   1263     if (TEST_NZ(_flag_a, _flag_b)) goto L_25085103; /* 0x25084C81: jne 0x25085103 */
   1264 L_25084C87:
   1265     eax = MEM32(esi + 0x164); /* 0x25084C87: mov eax, dword ptr [esi + 0x164] */
   1266     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1267     edi = 0; /* 0x25084C8D: xor edi, edi */
   1268     _cf = 0;
   1269     _flag_k = FK_TEST;
   1270     /* cmp eax, edi */ /* 0x25084C8F: cmp eax, edi */
   1271     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1273     _flag_k = FK_CMP;
   1274     if (CMP_NE(_flag_a, _flag_b)) goto L_25084E90; /* 0x25084C91: jne 0x25084e90 */
   1275 L_25084C97:
   1276     ebx = MEM32(ebp + 0x8); /* 0x25084C97: mov ebx, dword ptr [ebp + 8] */
   1277     eax = MEM32(esi); /* 0x25084C9A: mov eax, dword ptr [esi] */
   1278     PUSH32(esp, ebx); /* 0x25084C9C: push ebx */
   1279     RECOMP_ICALL(MEM32(eax + 0x3C)); /* 0x25084C9D: call dword ptr [eax + 0x3c] */
   1280     RECOMP_FLAGS_IN();
   1281     edx = MEM32(esi); /* 0x25084CA0: mov edx, dword ptr [esi] */
   1282     PUSH32(esp, ebx); /* 0x25084CA2: push ebx */
   1283     ecx = esi; /* 0x25084CA3: mov ecx, esi */
   1284     RECOMP_ICALL(MEM32(edx + 0x40)); /* 0x25084CA5: call dword ptr [edx + 0x40] */
   1285     RECOMP_FLAGS_IN();
   1286     eax = MEM32(0x25238B94); /* 0x25084CA8: mov eax, dword ptr [0x25238b94] */
   1287     edx = MEM32(ebp + 0x10); /* 0x25084CAD: mov edx, dword ptr [ebp + 0x10] */
   1288     ecx = MEM32(eax + 0x894); /* 0x25084CB0: mov ecx, dword ptr [eax + 0x894] */
   1289     eax = MEM32(ecx + 0x6EC); /* 0x25084CB6: mov eax, dword ptr [ecx + 0x6ec] */
   1290     PUSH32(esp, 0xAu); /* 0x25084CBC: push 0xa */
   1291     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFu);
   1292     edx = edx & 0xFFu; /* 0x25084CBE: and edx, 0xff */
   1293     _cf = 0;
   1294     _flag_k = FK_TEST;
   1295     PUSH32(esp, edx); /* 0x25084CC4: push edx */
   1296     PUSH32(esp, 0x88u); /* 0x25084CC5: push 0x88 */
   1297     MEM32(ebp + (-0x6C)) = 0x88u; /* 0x25084CCA: mov dword ptr [ebp - 0x6c], 0x88 */
   1298     MEM32(ebp + 0x8) = eax; /* 0x25084CD1: mov dword ptr [ebp + 8], eax */
   1299     MEM32(ebp + (-0x68)) = eax; /* 0x25084CD4: mov dword ptr [ebp - 0x68], eax */
   1300     RECOMP_ICALL(0x250EFE90u); /* 0x25084CD7: call 0x250efe90 */ /* not lifted */
   1301     RECOMP_FLAGS_IN();
   1302     MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x25084CDC: mov byte ptr [ebp - 0x64], al */
   1303     /* cmp MEM8(ebp + 0x14), 1 */ /* 0x25084CDF: cmp byte ptr [ebp + 0x14], 1 */
   1304     _flag_a = (uint32_t)(MEM8(ebp + 0x14)) << 24; _flag_b = (uint32_t)(1) << 24;
   1305     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1306     _flag_k = FK_NARROW(FK_CMP, 24);
   1307     MEM32(ebp + (-0x4)) = edi; /* 0x25084CE3: mov dword ptr [ebp - 4], edi */
   1308     if (CMP_NE(_flag_a, _flag_b)) goto L_25084E49; /* 0x25084CE6: jne 0x25084e49 */
   1309 L_25084CEC:
   1310     ecx = MEM32(ebp + 0xC); /* 0x25084CEC: mov ecx, dword ptr [ebp + 0xc] */
   1311     eax = MEM32(ecx + 0x48); /* 0x25084CEF: mov eax, dword ptr [ecx + 0x48] */
   1312     /* cmp eax, edi */ /* 0x25084CF2: cmp eax, edi */
   1313     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1314     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1315     _flag_k = FK_CMP;
   1316     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084CFE; /* 0x25084CF4: je 0x25084cfe */
   1317 L_25084CF6:
   1318     edi = MEM32(ecx + 0x4C); /* 0x25084CF6: mov edi, dword ptr [ecx + 0x4c] */
   1319     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1320     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1321     edi = edi - eax; /* 0x25084CF9: sub edi, eax */
   1322     _flag_k = FK_CMP;
   1323     if (2u) _cf = (((edi) >> 1) & 1u); /* 0x25084CFB: sar edi, 2 */
   1324     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1325     edi = (uint32_t)((int32_t)edi >> 2u);
   1326 L_25084CFE:
   1327     /* test edi, edi */ /* 0x25084CFE: test edi, edi */
   1328     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1329     _cf = 0;
   1330     _flag_k = FK_TEST;
   1331     SET_LO8(eax, MEM8(ebp + 0x17)); /* 0x25084D00: mov al, byte ptr [ebp + 0x17] */
   1332     MEM8(ebp + (-0x7C)) = (uint8_t)(LO8(eax)); /* 0x25084D03: mov byte ptr [ebp - 0x7c], al */
   1333     eax = edi; /* 0x25084D06: mov eax, edi */
   1334     if (TEST_NS(_flag_a, _flag_b)) goto L_25084D0C; /* 0x25084D08: jge 0x25084d0c */
   1335 L_25084D0A:
   1336     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1337     eax = 0; /* 0x25084D0A: xor eax, eax */
   1338     _cf = 0;
   1339     _flag_k = FK_TEST;
   1340 L_25084D0C:
   1341     ecx = eax * 8; /* 0x25084D0C: lea ecx, [eax*8] */
   1342     PUSH32(esp, ecx); /* 0x25084D13: push ecx */
   1343     RECOMP_ICALL(0x251380D0u); /* 0x25084D14: call 0x251380d0 */ /* not lifted */
   1344     RECOMP_FLAGS_IN();
   1345     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1346     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1347     esp = esp + 4; /* 0x25084D19: add esp, 4 */
   1348     _flag_k = FK_ADD;
   1349     edx = ebp + (-0x30); /* 0x25084D1C: lea edx, [ebp - 0x30] */
   1350     PUSH32(esp, edx); /* 0x25084D1F: push edx */
   1351     PUSH32(esp, edi); /* 0x25084D20: push edi */
   1352     PUSH32(esp, eax); /* 0x25084D21: push eax */
   1353     ecx = ebp + (-0x7C); /* 0x25084D22: lea ecx, [ebp - 0x7c] */
   1354     MEM32(ebp + (-0x78)) = eax; /* 0x25084D25: mov dword ptr [ebp - 0x78], eax */
   1355     RECOMP_ICALL(0x250ACFB0u); /* 0x25084D28: call 0x250acfb0 */ /* not lifted */
   1356     RECOMP_FLAGS_IN();
   1357     eax = MEM32(ebp + (-0x78)); /* 0x25084D2D: mov eax, dword ptr [ebp - 0x78] */
   1358     edi = eax + edi * 8; /* 0x25084D30: lea edi, [eax + edi*8] */
   1359     MEM32(ebp + (-0x74)) = edi; /* 0x25084D33: mov dword ptr [ebp - 0x74], edi */
   1360     MEM32(ebp + (-0x70)) = edi; /* 0x25084D36: mov dword ptr [ebp - 0x70], edi */
   1361     ecx = MEM32(ebx + 0xC); /* 0x25084D39: mov ecx, dword ptr [ebx + 0xc] */
   1362     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25084D3C: mov byte ptr [ebp - 4], 1 */
   1363     RECOMP_ICALL(0x250E2EC0u); /* 0x25084D40: call 0x250e2ec0 */ /* not lifted */
   1364     RECOMP_FLAGS_IN();
   1365     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u);
   1366     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1367     eax = eax + 0x30u; /* 0x25084D45: add eax, 0x30 */
   1368     _flag_k = FK_ADD;
   1369     ecx = MEM32(eax); /* 0x25084D48: mov ecx, dword ptr [eax] */
   1370     MEM32(ebp + (-0x48)) = ecx; /* 0x25084D4A: mov dword ptr [ebp - 0x48], ecx */
   1371     edx = MEM32(eax + 0x4); /* 0x25084D4D: mov edx, dword ptr [eax + 4] */
   1372     MEM32(ebp + (-0x44)) = edx; /* 0x25084D50: mov dword ptr [ebp - 0x44], edx */
   1373     eax = MEM32(eax + 0x8); /* 0x25084D53: mov eax, dword ptr [eax + 8] */
   1374     MEM32(ebp + (-0x40)) = eax; /* 0x25084D56: mov dword ptr [ebp - 0x40], eax */
   1375     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1376     edi = 0; /* 0x25084D59: xor edi, edi */
   1377     _cf = 0;
   1378     _flag_k = FK_TEST;
   1379 L_25084D5B:
   1380     eax = MEM32(ebp + 0xC); /* 0x25084D5B: mov eax, dword ptr [ebp + 0xc] */
   1381     ecx = MEM32(eax + 0x48); /* 0x25084D5E: mov ecx, dword ptr [eax + 0x48] */
   1382     /* test ecx, ecx */ /* 0x25084D61: test ecx, ecx */
   1383     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1384     _cf = 0;
   1385     _flag_k = FK_TEST;
   1386     if (TEST_Z(_flag_a, _flag_b)) goto L_25084DFD; /* 0x25084D63: je 0x25084dfd */
   1387 L_25084D69:
   1388     edx = MEM32(eax + 0x4C); /* 0x25084D69: mov edx, dword ptr [eax + 0x4c] */
   1389     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   1390     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1391     edx = edx - ecx; /* 0x25084D6C: sub edx, ecx */
   1392     _flag_k = FK_CMP;
   1393     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x25084D6E: sar edx, 2 */
   1394     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1395     edx = (uint32_t)((int32_t)edx >> 2u);
   1396     /* cmp edi, edx */ /* 0x25084D71: cmp edi, edx */
   1397     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   1398     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1399     _flag_k = FK_CMP;
   1400     if (CMP_AE(_flag_a, _flag_b)) goto L_25084DFD; /* 0x25084D73: jae 0x25084dfd */
   1401 L_25084D79:
   1402     ecx = MEM32(ebp + (-0x78)); /* 0x25084D79: mov ecx, dword ptr [ebp - 0x78] */
   1403     MEM32(ecx + edi * 8) = edi; /* 0x25084D7C: mov dword ptr [ecx + edi*8], edi */
   1404     edx = MEM32(eax + 0x48); /* 0x25084D7F: mov edx, dword ptr [eax + 0x48] */
   1405     eax = MEM32(edx + edi * 4); /* 0x25084D82: mov eax, dword ptr [edx + edi*4] */
   1406     ecx = MEM32(eax + 0x164); /* 0x25084D85: mov ecx, dword ptr [eax + 0x164] */
   1407     MEM32(ebp + 0x14) = ecx; /* 0x25084D8B: mov dword ptr [ebp + 0x14], ecx */
   1408     ecx = esi; /* 0x25084D8E: mov ecx, esi */
   1409     RECOMP_ICALL(0x250E2EC0u); /* 0x25084D90: call 0x250e2ec0 */ /* not lifted */
   1410     RECOMP_FLAGS_IN();
   1411     edx = MEM32(ebp + 0x14); /* 0x25084D95: mov edx, dword ptr [ebp + 0x14] */
   1412     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8);
   1413     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1414     edx = edx + 8; /* 0x25084D98: add edx, 8 */
   1415     _flag_k = FK_ADD;
   1416     ecx = MEM32(edx); /* 0x25084D9B: mov ecx, dword ptr [edx] */
   1417     MEM32(ebp + (-0x3C)) = ecx; /* 0x25084D9D: mov dword ptr [ebp - 0x3c], ecx */
   1418     ecx = MEM32(edx + 0x4); /* 0x25084DA0: mov ecx, dword ptr [edx + 4] */
   1419     edx = MEM32(edx + 0x8); /* 0x25084DA3: mov edx, dword ptr [edx + 8] */
   1420     MEM32(ebp + (-0x38)) = ecx; /* 0x25084DA6: mov dword ptr [ebp - 0x38], ecx */
   1421     PUSH32(esp, eax); /* 0x25084DA9: push eax */
   1422     ecx = ebp + (-0x3C); /* 0x25084DAA: lea ecx, [ebp - 0x3c] */
   1423     MEM32(ebp + (-0x34)) = edx; /* 0x25084DAD: mov dword ptr [ebp - 0x34], edx */
   1424     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x25084DB0: call dword ptr [0x2515151c] */
   1425     RECOMP_FLAGS_IN();
   1426     ecx = MEM32(eax); /* 0x25084DB6: mov ecx, dword ptr [eax] */
   1427     edx = MEM32(eax + 0x4); /* 0x25084DB8: mov edx, dword ptr [eax + 4] */
   1428     eax = MEM32(eax + 0x8); /* 0x25084DBB: mov eax, dword ptr [eax + 8] */
   1429     MEM32(ebp + (-0x54)) = ecx; /* 0x25084DBE: mov dword ptr [ebp - 0x54], ecx */
   1430     ecx = ebp + (-0x48); /* 0x25084DC1: lea ecx, [ebp - 0x48] */
   1431     PUSH32(esp, ecx); /* 0x25084DC4: push ecx */
   1432     ecx = ebp + (-0x54); /* 0x25084DC5: lea ecx, [ebp - 0x54] */
   1433     MEM32(ebp + (-0x50)) = edx; /* 0x25084DC8: mov dword ptr [ebp - 0x50], edx */
   1434     MEM32(ebp + (-0x4C)) = eax; /* 0x25084DCB: mov dword ptr [ebp - 0x4c], eax */
   1435     RECOMP_ICALL(MEM32(0x25151540)); /* 0x25084DCE: call dword ptr [0x25151540] */
   1436     RECOMP_FLAGS_IN();
   1437     edx = MEM32(eax); /* 0x25084DD4: mov edx, dword ptr [eax] */
   1438     MEM32(ebp + (-0x60)) = edx; /* 0x25084DD6: mov dword ptr [ebp - 0x60], edx */
   1439     ecx = MEM32(eax + 0x4); /* 0x25084DD9: mov ecx, dword ptr [eax + 4] */
   1440     MEM32(ebp + (-0x5C)) = ecx; /* 0x25084DDC: mov dword ptr [ebp - 0x5c], ecx */
   1441     edx = MEM32(eax + 0x8); /* 0x25084DDF: mov edx, dword ptr [eax + 8] */
   1442     ecx = ebp + (-0x60); /* 0x25084DE2: lea ecx, [ebp - 0x60] */
   1443     MEM32(ebp + (-0x58)) = edx; /* 0x25084DE5: mov dword ptr [ebp - 0x58], edx */
   1444     RECOMP_ICALL(MEM32(0x25151560)); /* 0x25084DE8: call dword ptr [0x25151560] */
   1445     RECOMP_FLAGS_IN();
   1446     _st[0] = sqrt(_st[0]); /* 0x25084DEE: fsqrt  */
   1447     eax = MEM32(ebp + (-0x78)); /* 0x25084DF0: mov eax, dword ptr [ebp - 0x78] */
   1448     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1449     edi = edi + 1; /* 0x25084DF3: inc edi */
   1450     _flag_k = FK_INC;
   1451     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edi * 8 + (-0x4)) = _v; } /* 0x25084DF4: fstp dword ptr [eax + edi*8 - 4] */
   1452     RECOMP_BACKEDGE();
   1453     goto L_25084D5B; /* 0x25084DF8: jmp 0x25084d5b */
   1454 L_25084DFD:
   1455     ecx = MEM32(ebp + (-0x74)); /* 0x25084DFD: mov ecx, dword ptr [ebp - 0x74] */
   1456     edx = MEM32(ebp + (-0x78)); /* 0x25084E00: mov edx, dword ptr [ebp - 0x78] */
   1457     PUSH32(esp, 0); /* 0x25084E03: push 0 */
   1458     PUSH32(esp, ecx); /* 0x25084E05: push ecx */
   1459     PUSH32(esp, edx); /* 0x25084E06: push edx */
   1460     RECOMP_ICALL(0x25085380u); /* 0x25084E07: call 0x25085380 */ /* not lifted */
   1461     RECOMP_FLAGS_IN();
   1462     edi = MEM32(ebp + (-0x78)); /* 0x25084E0C: mov edi, dword ptr [ebp - 0x78] */
   1463     eax = MEM32(ebp + (-0x74)); /* 0x25084E0F: mov eax, dword ptr [ebp - 0x74] */
   1464     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1465     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1466     esp = esp + 0xCu; /* 0x25084E12: add esp, 0xc */
   1467     _flag_k = FK_ADD;
   1468     /* cmp edi, eax */ /* 0x25084E15: cmp edi, eax */
   1469     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1470     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1471     _flag_k = FK_CMP;
   1472     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084E3A; /* 0x25084E17: je 0x25084e3a */
   1473 L_25084E19:
   1474     eax = MEM32(ebp + 0xC); /* 0x25084E19: mov eax, dword ptr [ebp + 0xc] */
   1475     ecx = MEM32(edi); /* 0x25084E1C: mov ecx, dword ptr [edi] */
   1476     eax = MEM32(eax + 0x48); /* 0x25084E1E: mov eax, dword ptr [eax + 0x48] */
   1477     eax = MEM32(eax + ecx * 4); /* 0x25084E21: mov eax, dword ptr [eax + ecx*4] */
   1478     PUSH32(esp, eax); /* 0x25084E24: push eax */
   1479     PUSH32(esp, ebx); /* 0x25084E25: push ebx */
   1480     ecx = esi; /* 0x25084E26: mov ecx, esi */
   1481     RECOMP_ICALL(0x250DCC70u); /* 0x25084E28: call 0x250dcc70 */ /* not lifted */
   1482     RECOMP_FLAGS_IN();
   1483     eax = MEM32(ebp + (-0x74)); /* 0x25084E2D: mov eax, dword ptr [ebp - 0x74] */
   1484     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8);
   1485     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1486     edi = edi + 8; /* 0x25084E30: add edi, 8 */
   1487     _flag_k = FK_ADD;
   1488     /* cmp edi, eax */ /* 0x25084E33: cmp edi, eax */
   1489     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1490     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1491     _flag_k = FK_CMP;
   1492     RECOMP_BACKEDGE();
   1493     if (CMP_NE(_flag_a, _flag_b)) goto L_25084E19; /* 0x25084E35: jne 0x25084e19 */
   1494 L_25084E37:
   1495     edi = MEM32(ebp + (-0x78)); /* 0x25084E37: mov edi, dword ptr [ebp - 0x78] */
   1496 L_25084E3A:
   1497     PUSH32(esp, edi); /* 0x25084E3A: push edi */
   1498     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x25084E3B: mov byte ptr [ebp - 4], 0 */
   1499     RECOMP_ICALL(0x25137EECu); /* 0x25084E3F: call 0x25137eec */ /* not lifted */
   1500     RECOMP_FLAGS_IN();
   1501     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1502     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1503     esp = esp + 4; /* 0x25084E44: add esp, 4 */
   1504     _flag_k = FK_ADD;
   1505     goto L_25084E6C; /* 0x25084E47: jmp 0x25084e6c */
   1506 L_25084E49:
   1507     eax = MEM32(ebp + 0xC); /* 0x25084E49: mov eax, dword ptr [ebp + 0xc] */
   1508     edi = MEM32(eax + 0x48); /* 0x25084E4C: mov edi, dword ptr [eax + 0x48] */
   1509     /* cmp edi, MEM32(eax + 0x4C) */ /* 0x25084E4F: cmp edi, dword ptr [eax + 0x4c] */
   1510     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x4C));
   1511     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1512     _flag_k = FK_CMP;
   1513     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084E6C; /* 0x25084E52: je 0x25084e6c */
   1514 L_25084E54:
   1515     edx = MEM32(edi); /* 0x25084E54: mov edx, dword ptr [edi] */
   1516     PUSH32(esp, edx); /* 0x25084E56: push edx */
   1517     PUSH32(esp, ebx); /* 0x25084E57: push ebx */
   1518     ecx = esi; /* 0x25084E58: mov ecx, esi */
   1519     RECOMP_ICALL(0x250DCC70u); /* 0x25084E5A: call 0x250dcc70 */ /* not lifted */
   1520     RECOMP_FLAGS_IN();
   1521     eax = MEM32(ebp + 0xC); /* 0x25084E5F: mov eax, dword ptr [ebp + 0xc] */
   1522     ecx = MEM32(eax + 0x4C); /* 0x25084E62: mov ecx, dword ptr [eax + 0x4c] */
   1523     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   1524     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1525     edi = edi + 4; /* 0x25084E65: add edi, 4 */
   1526     _flag_k = FK_ADD;
   1527     /* cmp edi, ecx */ /* 0x25084E68: cmp edi, ecx */
   1528     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1529     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1530     _flag_k = FK_CMP;
   1531     RECOMP_BACKEDGE();
   1532     if (CMP_NE(_flag_a, _flag_b)) goto L_25084E54; /* 0x25084E6A: jne 0x25084e54 */
   1533 L_25084E6C:
   1534     edx = MEM32(esi); /* 0x25084E6C: mov edx, dword ptr [esi] */
   1535     PUSH32(esp, ebx); /* 0x25084E6E: push ebx */
   1536     ecx = esi; /* 0x25084E6F: mov ecx, esi */
   1537     RECOMP_ICALL(MEM32(edx + 0x44)); /* 0x25084E71: call dword ptr [edx + 0x44] */
   1538     RECOMP_FLAGS_IN();
   1539     SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x25084E74: mov al, byte ptr [ebp - 0x64] */
   1540     /* test LO8(eax), LO8(eax) */ /* 0x25084E77: test al, al */
   1541     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1542     _cf = 0;
   1543     _flag_k = FK_NARROW(FK_TEST, 24);
   1544     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25084E79: mov dword ptr [ebp - 4], 0xffffffff */
   1545     if (TEST_Z(_flag_a, _flag_b)) goto L_25085103; /* 0x25084E80: je 0x25085103 */
   1546 L_25084E86:
   1547     eax = MEM32(ebp + 0x8); /* 0x25084E86: mov eax, dword ptr [ebp + 8] */
   1548     PUSH32(esp, 2); /* 0x25084E89: push 2 */
   1549     goto L_250850EC; /* 0x25084E8B: jmp 0x250850ec */
   1550 L_25084E90:
   1551     edx = ebp + (-0x24); /* 0x25084E90: lea edx, [ebp - 0x24] */
   1552     ebx = esi + 0x154; /* 0x25084E93: lea ebx, [esi + 0x154] */
   1553     PUSH32(esp, edx); /* 0x25084E99: push edx */
   1554     ecx = ebx; /* 0x25084E9A: mov ecx, ebx */
   1555     MEM8(ebp + 0x17) = (uint8_t)(0); /* 0x25084E9C: mov byte ptr [ebp + 0x17], 0 */
   1556     RECOMP_ICALL(0x25085270u); /* 0x25084EA0: call 0x25085270 */ /* not lifted */
   1557     RECOMP_FLAGS_IN();
   1558     eax = MEM32(eax); /* 0x25084EA5: mov eax, dword ptr [eax] */
   1559     MEM32(ebp + (-0x10)) = eax; /* 0x25084EA7: mov dword ptr [ebp - 0x10], eax */
   1560     eax = ebp + (-0x14); /* 0x25084EAA: lea eax, [ebp - 0x14] */
   1561     PUSH32(esp, eax); /* 0x25084EAD: push eax */
   1562     ecx = ebx; /* 0x25084EAE: mov ecx, ebx */
   1563     RECOMP_ICALL(0x250A15F0u); /* 0x25084EB0: call 0x250a15f0 */ /* not lifted */
   1564     RECOMP_FLAGS_IN();
   1565     eax = MEM32(eax); /* 0x25084EB5: mov eax, dword ptr [eax] */
   1566     ecx = MEM32(ebp + (-0x10)); /* 0x25084EB7: mov ecx, dword ptr [ebp - 0x10] */
   1567     /* cmp ecx, eax */ /* 0x25084EBA: cmp ecx, eax */
   1568     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1569     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1570     _flag_k = FK_CMP;
   1571     edi = MEM32(ebp + 0x8); /* 0x25084EBC: mov edi, dword ptr [ebp + 8] */
   1572     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084EF8; /* 0x25084EBF: je 0x25084ef8 */
   1573 L_25084EC1:
   1574     ecx = MEM32(ecx + 0xC); /* 0x25084EC1: mov ecx, dword ptr [ecx + 0xc] */
   1575     edx = MEM32(ecx); /* 0x25084EC4: mov edx, dword ptr [ecx] */
   1576     PUSH32(esp, edi); /* 0x25084EC6: push edi */
   1577     PUSH32(esp, esi); /* 0x25084EC7: push esi */
   1578     RECOMP_ICALL(MEM32(edx)); /* 0x25084EC8: call dword ptr [edx] */
   1579     RECOMP_FLAGS_IN();
   1580     SET_LO8(edx, MEM8(ebp + 0x17)); /* 0x25084ECA: mov dl, byte ptr [ebp + 0x17] */
   1581     _flag_a = (uint32_t)((LO8(edx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(edx) | LO8(eax))) << 24;
   1582     SET_LO8(edx, LO8(edx) | LO8(eax)); /* 0x25084ECD: or dl, al */
   1583     _cf = 0;
   1584     _flag_k = FK_NARROW(FK_TEST, 24);
   1585     ecx = ebp + (-0x10); /* 0x25084ECF: lea ecx, [ebp - 0x10] */
   1586     MEM8(ebp + 0x17) = (uint8_t)(LO8(edx)); /* 0x25084ED2: mov byte ptr [ebp + 0x17], dl */
   1587     RECOMP_ICALL(0x250077F0u); /* 0x25084ED5: call 0x250077f0 */ /* not lifted */
   1588     RECOMP_FLAGS_IN();
   1589     eax = ebp + (-0x14); /* 0x25084EDA: lea eax, [ebp - 0x14] */
   1590     PUSH32(esp, eax); /* 0x25084EDD: push eax */
   1591     ecx = ebx; /* 0x25084EDE: mov ecx, ebx */
   1592     RECOMP_ICALL(0x250A15F0u); /* 0x25084EE0: call 0x250a15f0 */ /* not lifted */
   1593     RECOMP_FLAGS_IN();
   1594     eax = MEM32(eax); /* 0x25084EE5: mov eax, dword ptr [eax] */
   1595     ecx = MEM32(ebp + (-0x10)); /* 0x25084EE7: mov ecx, dword ptr [ebp - 0x10] */
   1596     /* cmp ecx, eax */ /* 0x25084EEA: cmp ecx, eax */
   1597     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1599     _flag_k = FK_CMP;
   1600     RECOMP_BACKEDGE();
   1601     if (CMP_NE(_flag_a, _flag_b)) goto L_25084EC1; /* 0x25084EEC: jne 0x25084ec1 */
   1602 L_25084EEE:
   1603     /* cmp MEM8(ebp + 0x17), 1 */ /* 0x25084EEE: cmp byte ptr [ebp + 0x17], 1 */
   1604     _flag_a = (uint32_t)(MEM8(ebp + 0x17)) << 24; _flag_b = (uint32_t)(1) << 24;
   1605     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1606     _flag_k = FK_NARROW(FK_CMP, 24);
   1607     if (CMP_EQ(_flag_a, _flag_b)) goto L_25085103; /* 0x25084EF2: je 0x25085103 */
   1608 L_25084EF8:
   1609     edx = MEM32(esi); /* 0x25084EF8: mov edx, dword ptr [esi] */
   1610     PUSH32(esp, edi); /* 0x25084EFA: push edi */
   1611     ecx = esi; /* 0x25084EFB: mov ecx, esi */
   1612     RECOMP_ICALL(MEM32(edx + 0x3C)); /* 0x25084EFD: call dword ptr [edx + 0x3c] */
   1613     RECOMP_FLAGS_IN();
   1614     eax = MEM32(esi); /* 0x25084F00: mov eax, dword ptr [esi] */
   1615     PUSH32(esp, edi); /* 0x25084F02: push edi */
   1616     ecx = esi; /* 0x25084F03: mov ecx, esi */
   1617     RECOMP_ICALL(MEM32(eax + 0x40)); /* 0x25084F05: call dword ptr [eax + 0x40] */
   1618     RECOMP_FLAGS_IN();
   1619     ecx = MEM32(0x25238B94); /* 0x25084F08: mov ecx, dword ptr [0x25238b94] */
   1620     edx = MEM32(ebp + 0x10); /* 0x25084F0E: mov edx, dword ptr [ebp + 0x10] */
   1621     ecx = MEM32(ecx + 0x894); /* 0x25084F11: mov ecx, dword ptr [ecx + 0x894] */
   1622     eax = MEM32(ecx + 0x6EC); /* 0x25084F17: mov eax, dword ptr [ecx + 0x6ec] */
   1623     PUSH32(esp, 0xAu); /* 0x25084F1D: push 0xa */
   1624     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFu);
   1625     edx = edx & 0xFFu; /* 0x25084F1F: and edx, 0xff */
   1626     _cf = 0;
   1627     _flag_k = FK_TEST;
   1628     PUSH32(esp, edx); /* 0x25084F25: push edx */
   1629     PUSH32(esp, 0x88u); /* 0x25084F26: push 0x88 */
   1630     MEM32(ebp + (-0x6C)) = 0x88u; /* 0x25084F2B: mov dword ptr [ebp - 0x6c], 0x88 */
   1631     MEM32(ebp + (-0x24)) = eax; /* 0x25084F32: mov dword ptr [ebp - 0x24], eax */
   1632     MEM32(ebp + (-0x68)) = eax; /* 0x25084F35: mov dword ptr [ebp - 0x68], eax */
   1633     RECOMP_ICALL(0x250EFE90u); /* 0x25084F38: call 0x250efe90 */ /* not lifted */
   1634     RECOMP_FLAGS_IN();
   1635     MEM8(ebp + (-0x64)) = (uint8_t)(LO8(eax)); /* 0x25084F3D: mov byte ptr [ebp - 0x64], al */
   1636     ecx = MEM32(ebp + 0xC); /* 0x25084F40: mov ecx, dword ptr [ebp + 0xc] */
   1637     eax = MEM32(ecx + 0x48); /* 0x25084F43: mov eax, dword ptr [ecx + 0x48] */
   1638     /* cmp eax, MEM32(ecx + 0x4C) */ /* 0x25084F46: cmp eax, dword ptr [ecx + 0x4c] */
   1639     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4C));
   1640     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1641     _flag_k = FK_CMP;
   1642     MEM32(ebp + (-0x4)) = 2; /* 0x25084F49: mov dword ptr [ebp - 4], 2 */
   1643     MEM32(ebp + 0x8) = eax; /* 0x25084F50: mov dword ptr [ebp + 8], eax */
   1644     if (CMP_EQ(_flag_a, _flag_b)) goto L_2508509A; /* 0x25084F53: je 0x2508509a */
   1645 L_25084F59:
   1646     goto L_25084F5E; /* 0x25084F59: jmp 0x25084f5e */
   1647 L_25084F5B:
   1648     eax = MEM32(ebp + 0x8); /* 0x25084F5B: mov eax, dword ptr [ebp + 8] */
   1649 L_25084F5E:
   1650     eax = MEM32(eax); /* 0x25084F5E: mov eax, dword ptr [eax] */
   1651     eax = MEM32(eax + 0x160); /* 0x25084F60: mov eax, dword ptr [eax + 0x160] */
   1652     PUSH32(esp, eax); /* 0x25084F66: push eax */
   1653     ecx = edi; /* 0x25084F67: mov ecx, edi */
   1654     RECOMP_ICALL(0x250DFDA0u); /* 0x25084F69: call 0x250dfda0 */ /* not lifted */
   1655     RECOMP_FLAGS_IN();
   1656     ecx = MEM32(ebp + 0x8); /* 0x25084F6E: mov ecx, dword ptr [ebp + 8] */
   1657     edx = MEM32(ecx); /* 0x25084F71: mov edx, dword ptr [ecx] */
   1658     ecx = MEM32(edx + 0x160); /* 0x25084F73: mov ecx, dword ptr [edx + 0x160] */
   1659     PUSH32(esp, 0x252381D8u); /* 0x25084F79: push 0x252381d8 */
   1660     RECOMP_ICALL(0x250E4FF0u); /* 0x25084F7E: call 0x250e4ff0 */ /* not lifted */
   1661     RECOMP_FLAGS_IN();
   1662     eax = MEM32(ebp + 0x8); /* 0x25084F83: mov eax, dword ptr [ebp + 8] */
   1663     ecx = MEM32(eax); /* 0x25084F86: mov ecx, dword ptr [eax] */
   1664     edx = MEM32(ecx + 0x160); /* 0x25084F88: mov edx, dword ptr [ecx + 0x160] */
   1665     eax = ebp + (-0x28); /* 0x25084F8E: lea eax, [ebp - 0x28] */
   1666     PUSH32(esp, eax); /* 0x25084F91: push eax */
   1667     ecx = ebx; /* 0x25084F92: mov ecx, ebx */
   1668     MEM32(ebp + (-0x14)) = edx; /* 0x25084F94: mov dword ptr [ebp - 0x14], edx */
   1669     MEM8(ebp + 0x17) = (uint8_t)(1); /* 0x25084F97: mov byte ptr [ebp + 0x17], 1 */
   1670     RECOMP_ICALL(0x25085270u); /* 0x25084F9B: call 0x25085270 */ /* not lifted */
   1671     RECOMP_FLAGS_IN();
   1672     eax = MEM32(eax); /* 0x25084FA0: mov eax, dword ptr [eax] */
   1673     ecx = ebp + (-0x18); /* 0x25084FA2: lea ecx, [ebp - 0x18] */
   1674     PUSH32(esp, ecx); /* 0x25084FA5: push ecx */
   1675     ecx = ebx; /* 0x25084FA6: mov ecx, ebx */
   1676     MEM32(ebp + 0x10) = eax; /* 0x25084FA8: mov dword ptr [ebp + 0x10], eax */
   1677     RECOMP_ICALL(0x250A15F0u); /* 0x25084FAB: call 0x250a15f0 */ /* not lifted */
   1678     RECOMP_FLAGS_IN();
   1679     eax = MEM32(eax); /* 0x25084FB0: mov eax, dword ptr [eax] */
   1680     ecx = MEM32(ebp + 0x10); /* 0x25084FB2: mov ecx, dword ptr [ebp + 0x10] */
   1681     /* cmp ecx, eax */ /* 0x25084FB5: cmp ecx, eax */
   1682     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1684     _flag_k = FK_CMP;
   1685     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084FFE; /* 0x25084FB7: je 0x25084ffe */
   1686 L_25084FB9:
   1687     eax = MEM32(ebp + (-0x14)); /* 0x25084FB9: mov eax, dword ptr [ebp - 0x14] */
   1688     ecx = MEM32(ecx + 0xC); /* 0x25084FBC: mov ecx, dword ptr [ecx + 0xc] */
   1689     edx = MEM32(ecx); /* 0x25084FBF: mov edx, dword ptr [ecx] */
   1690     PUSH32(esp, 0x252381D8u); /* 0x25084FC1: push 0x252381d8 */
   1691     PUSH32(esp, edi); /* 0x25084FC6: push edi */
   1692     PUSH32(esp, eax); /* 0x25084FC7: push eax */
   1693     PUSH32(esp, esi); /* 0x25084FC8: push esi */
   1694     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x25084FC9: call dword ptr [edx + 4] */
   1695     RECOMP_FLAGS_IN();
   1696     _flag_a = (uint32_t)(MEM8(ebp + 0x17)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1697     MEM8(ebp + 0x17) = (uint8_t)(MEM8(ebp + 0x17) & LO8(eax)); /* 0x25084FCC: and byte ptr [ebp + 0x17], al */
   1698     _cf = 0;
   1699     _flag_k = FK_NARROW(FK_TEST, 24);
   1700     ecx = ebp + 0x10; /* 0x25084FCF: lea ecx, [ebp + 0x10] */
   1701     RECOMP_ICALL(0x250077F0u); /* 0x25084FD2: call 0x250077f0 */ /* not lifted */
   1702     RECOMP_FLAGS_IN();
   1703     ecx = ebp + (-0x18); /* 0x25084FD7: lea ecx, [ebp - 0x18] */
   1704     PUSH32(esp, ecx); /* 0x25084FDA: push ecx */
   1705     ecx = ebx; /* 0x25084FDB: mov ecx, ebx */
   1706     RECOMP_ICALL(0x250A15F0u); /* 0x25084FDD: call 0x250a15f0 */ /* not lifted */
   1707     RECOMP_FLAGS_IN();
   1708     eax = MEM32(eax); /* 0x25084FE2: mov eax, dword ptr [eax] */
   1709     ecx = MEM32(ebp + 0x10); /* 0x25084FE4: mov ecx, dword ptr [ebp + 0x10] */
   1710     /* cmp ecx, eax */ /* 0x25084FE7: cmp ecx, eax */
   1711     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1712     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1713     _flag_k = FK_CMP;
   1714     RECOMP_BACKEDGE();
   1715     if (CMP_NE(_flag_a, _flag_b)) goto L_25084FB9; /* 0x25084FE9: jne 0x25084fb9 */
   1716 L_25084FEB:
   1717     SET_LO8(eax, MEM8(ebp + 0x17)); /* 0x25084FEB: mov al, byte ptr [ebp + 0x17] */
   1718     /* test LO8(eax), LO8(eax) */ /* 0x25084FEE: test al, al */
   1719     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1720     _cf = 0;
   1721     _flag_k = FK_NARROW(FK_TEST, 24);
   1722     if (TEST_NZ(_flag_a, _flag_b)) goto L_25084FFE; /* 0x25084FF0: jne 0x25084ffe */
   1723 L_25084FF2:
   1724     PUSH32(esp, 0x252381D8u); /* 0x25084FF2: push 0x252381d8 */
   1725     ecx = edi; /* 0x25084FF7: mov ecx, edi */
   1726     RECOMP_ICALL(0x250E0010u); /* 0x25084FF9: call 0x250e0010 */ /* not lifted */
   1727     RECOMP_FLAGS_IN();
   1728 L_25084FFE:
   1729     edx = MEM32(ebp + 0x8); /* 0x25084FFE: mov edx, dword ptr [ebp + 8] */
   1730     eax = MEM32(edx); /* 0x25085001: mov eax, dword ptr [edx] */
   1731     ecx = MEM32(eax + 0x160); /* 0x25085003: mov ecx, dword ptr [eax + 0x160] */
   1732     edx = ebp + (-0x2C); /* 0x25085009: lea edx, [ebp - 0x2c] */
   1733     MEM32(ebp + 0x14) = ecx; /* 0x2508500C: mov dword ptr [ebp + 0x14], ecx */
   1734     PUSH32(esp, edx); /* 0x2508500F: push edx */
   1735     ecx = ebx; /* 0x25085010: mov ecx, ebx */
   1736     RECOMP_ICALL(0x25085270u); /* 0x25085012: call 0x25085270 */ /* not lifted */
   1737     RECOMP_FLAGS_IN();
   1738     eax = MEM32(eax); /* 0x25085017: mov eax, dword ptr [eax] */
   1739     MEM32(ebp + (-0x10)) = eax; /* 0x25085019: mov dword ptr [ebp - 0x10], eax */
   1740     eax = ebp + (-0x1C); /* 0x2508501C: lea eax, [ebp - 0x1c] */
   1741     PUSH32(esp, eax); /* 0x2508501F: push eax */
   1742     ecx = ebx; /* 0x25085020: mov ecx, ebx */
   1743     RECOMP_ICALL(0x250A15F0u); /* 0x25085022: call 0x250a15f0 */ /* not lifted */
   1744     RECOMP_FLAGS_IN();
   1745     eax = MEM32(eax); /* 0x25085027: mov eax, dword ptr [eax] */
   1746     ecx = MEM32(ebp + (-0x10)); /* 0x25085029: mov ecx, dword ptr [ebp - 0x10] */
   1747     /* cmp ecx, eax */ /* 0x2508502C: cmp ecx, eax */
   1748     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1749     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1750     _flag_k = FK_CMP;
   1751     if (CMP_EQ(_flag_a, _flag_b)) goto L_2508505E; /* 0x2508502E: je 0x2508505e */
   1752 L_25085030:
   1753     eax = MEM32(edi + 0x8); /* 0x25085030: mov eax, dword ptr [edi + 8] */
   1754     ecx = MEM32(ecx + 0xC); /* 0x25085033: mov ecx, dword ptr [ecx + 0xc] */
   1755     edx = MEM32(ecx); /* 0x25085036: mov edx, dword ptr [ecx] */
   1756     PUSH32(esp, eax); /* 0x25085038: push eax */
   1757     eax = MEM32(ebp + 0x14); /* 0x25085039: mov eax, dword ptr [ebp + 0x14] */
   1758     PUSH32(esp, edi); /* 0x2508503C: push edi */
   1759     PUSH32(esp, eax); /* 0x2508503D: push eax */
   1760     PUSH32(esp, esi); /* 0x2508503E: push esi */
   1761     RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2508503F: call dword ptr [edx + 8] */
   1762     RECOMP_FLAGS_IN();
   1763     ecx = ebp + (-0x10); /* 0x25085042: lea ecx, [ebp - 0x10] */
   1764     RECOMP_ICALL(0x250077F0u); /* 0x25085045: call 0x250077f0 */ /* not lifted */
   1765     RECOMP_FLAGS_IN();
   1766     ecx = ebp + (-0x1C); /* 0x2508504A: lea ecx, [ebp - 0x1c] */
   1767     PUSH32(esp, ecx); /* 0x2508504D: push ecx */
   1768     ecx = ebx; /* 0x2508504E: mov ecx, ebx */
   1769     RECOMP_ICALL(0x250A15F0u); /* 0x25085050: call 0x250a15f0 */ /* not lifted */
   1770     RECOMP_FLAGS_IN();
   1771     eax = MEM32(eax); /* 0x25085055: mov eax, dword ptr [eax] */
   1772     ecx = MEM32(ebp + (-0x10)); /* 0x25085057: mov ecx, dword ptr [ebp - 0x10] */
   1773     /* cmp ecx, eax */ /* 0x2508505A: cmp ecx, eax */
   1774     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1775     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1776     _flag_k = FK_CMP;
   1777     RECOMP_BACKEDGE();
   1778     if (CMP_NE(_flag_a, _flag_b)) goto L_25085030; /* 0x2508505C: jne 0x25085030 */
   1779 L_2508505E:
   1780     ecx = edi; /* 0x2508505E: mov ecx, edi */
   1781     RECOMP_ICALL(0x250E05D0u); /* 0x25085060: call 0x250e05d0 */ /* not lifted */
   1782     RECOMP_FLAGS_IN();
   1783     edx = MEM32(esi + 0x12C); /* 0x25085065: mov edx, dword ptr [esi + 0x12c] */
   1784     ecx = MEM32(ebp + 0x8); /* 0x2508506B: mov ecx, dword ptr [ebp + 8] */
   1785     ecx = MEM32(ecx); /* 0x2508506E: mov ecx, dword ptr [ecx] */
   1786     eax = edx; /* 0x25085070: mov eax, edx */
   1787     PUSH32(esp, eax); /* 0x25085072: push eax */
   1788     PUSH32(esp, edi); /* 0x25085073: push edi */
   1789     MEM32(ebp + (-0x20)) = edx; /* 0x25085074: mov dword ptr [ebp - 0x20], edx */
   1790     RECOMP_ICALL(0x25108C00u); /* 0x25085077: call 0x25108c00 */ /* not lifted */
   1791     RECOMP_FLAGS_IN();
   1792     ecx = edi; /* 0x2508507C: mov ecx, edi */
   1793     RECOMP_ICALL(0x250E0360u); /* 0x2508507E: call 0x250e0360 */ /* not lifted */
   1794     RECOMP_FLAGS_IN();
   1795     eax = MEM32(ebp + 0x8); /* 0x25085083: mov eax, dword ptr [ebp + 8] */
   1796     edx = MEM32(ebp + 0xC); /* 0x25085086: mov edx, dword ptr [ebp + 0xc] */
   1797     ecx = MEM32(edx + 0x4C); /* 0x25085089: mov ecx, dword ptr [edx + 0x4c] */
   1798     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1799     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1800     eax = eax + 4; /* 0x2508508C: add eax, 4 */
   1801     _flag_k = FK_ADD;
   1802     /* cmp eax, ecx */ /* 0x2508508F: cmp eax, ecx */
   1803     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1804     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1805     _flag_k = FK_CMP;
   1806     MEM32(ebp + 0x8) = eax; /* 0x25085091: mov dword ptr [ebp + 8], eax */
   1807     RECOMP_BACKEDGE();
   1808     if (CMP_NE(_flag_a, _flag_b)) goto L_25084F5B; /* 0x25085094: jne 0x25084f5b */
   1809 L_2508509A:
   1810     eax = MEM32(esi); /* 0x2508509A: mov eax, dword ptr [esi] */
   1811     PUSH32(esp, edi); /* 0x2508509C: push edi */
   1812     ecx = esi; /* 0x2508509D: mov ecx, esi */
   1813     RECOMP_ICALL(MEM32(eax + 0x44)); /* 0x2508509F: call dword ptr [eax + 0x44] */
   1814     RECOMP_FLAGS_IN();
   1815     ecx = ebp + 0x10; /* 0x250850A2: lea ecx, [ebp + 0x10] */
   1816     PUSH32(esp, ecx); /* 0x250850A5: push ecx */
   1817     ecx = ebx; /* 0x250850A6: mov ecx, ebx */
   1818     RECOMP_ICALL(0x25085270u); /* 0x250850A8: call 0x25085270 */ /* not lifted */
   1819     RECOMP_FLAGS_IN();
   1820     eax = MEM32(eax); /* 0x250850AD: mov eax, dword ptr [eax] */
   1821     /* cmp eax, MEM32(esi + 0x158) */ /* 0x250850AF: cmp eax, dword ptr [esi + 0x158] */
   1822     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x158));
   1823     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1824     _flag_k = FK_CMP;
   1825     MEM32(ebp + 0xC) = eax; /* 0x250850B5: mov dword ptr [ebp + 0xc], eax */
   1826     if (CMP_EQ(_flag_a, _flag_b)) goto L_250850D9; /* 0x250850B8: je 0x250850d9 */
   1827 L_250850BA:
   1828     ecx = MEM32(eax + 0xC); /* 0x250850BA: mov ecx, dword ptr [eax + 0xc] */
   1829     edx = MEM32(ecx); /* 0x250850BD: mov edx, dword ptr [ecx] */
   1830     PUSH32(esp, edi); /* 0x250850BF: push edi */
   1831     PUSH32(esp, esi); /* 0x250850C0: push esi */
   1832     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x250850C1: call dword ptr [edx + 0xc] */
   1833     RECOMP_FLAGS_IN();
   1834     ecx = ebp + 0xC; /* 0x250850C4: lea ecx, [ebp + 0xc] */
   1835     RECOMP_ICALL(0x250077F0u); /* 0x250850C7: call 0x250077f0 */ /* not lifted */
   1836     RECOMP_FLAGS_IN();
   1837     ecx = MEM32(esi + 0x158); /* 0x250850CC: mov ecx, dword ptr [esi + 0x158] */
   1838     eax = MEM32(ebp + 0xC); /* 0x250850D2: mov eax, dword ptr [ebp + 0xc] */
   1839     /* cmp eax, ecx */ /* 0x250850D5: cmp eax, ecx */
   1840     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1841     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1842     _flag_k = FK_CMP;
   1843     RECOMP_BACKEDGE();
   1844     if (CMP_NE(_flag_a, _flag_b)) goto L_250850BA; /* 0x250850D7: jne 0x250850ba */
   1845 L_250850D9:
   1846     SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x250850D9: mov al, byte ptr [ebp - 0x64] */
   1847     /* test LO8(eax), LO8(eax) */ /* 0x250850DC: test al, al */
   1848     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1849     _cf = 0;
   1850     _flag_k = FK_NARROW(FK_TEST, 24);
   1851     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250850DE: mov dword ptr [ebp - 4], 0xffffffff */
   1852     if (TEST_Z(_flag_a, _flag_b)) goto L_25085103; /* 0x250850E5: je 0x25085103 */
   1853 L_250850E7:
   1854     eax = MEM32(ebp + (-0x24)); /* 0x250850E7: mov eax, dword ptr [ebp - 0x24] */
   1855     PUSH32(esp, 2); /* 0x250850EA: push 2 */
   1856 L_250850EC:
   1857     ecx = MEM32(0x25238B94); /* 0x250850EC: mov ecx, dword ptr [0x25238b94] */
   1858     ecx = MEM32(ecx + 0x894); /* 0x250850F2: mov ecx, dword ptr [ecx + 0x894] */
   1859     PUSH32(esp, eax); /* 0x250850F8: push eax */
   1860     PUSH32(esp, 0x88u); /* 0x250850F9: push 0x88 */
   1861     RECOMP_ICALL(0x250EFE90u); /* 0x250850FE: call 0x250efe90 */ /* not lifted */
   1862     RECOMP_FLAGS_IN();
   1863 L_25085103:
   1864     ecx = MEM32(ebp + (-0xC)); /* 0x25085103: mov ecx, dword ptr [ebp - 0xc] */
   1865     edi = POP32_VAL(esp); /* 0x25085106: pop edi */
   1866     esi = POP32_VAL(esp); /* 0x25085107: pop esi */
   1867     ebx = POP32_VAL(esp); /* 0x25085108: pop ebx */
   1868     MEM32(FS_BASE + (0)) = ecx; /* 0x25085109: mov dword ptr fs:[0], ecx */
   1869     esp = ebp; /* 0x25085110: mov esp, ebp */
   1870     ebp = POP32_VAL(esp); /* 0x25085112: pop ebp */
   1871     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25085113: ret 0x10 */
   1872     RECOMP_REGS_OUT();
   1873 }
   1874 
   1875 void sub_25084D5B(void) {
   1876     int _fpu_cmp = 0;
   1877     uint32_t _cf = 0;
   1878     int _df = 1;
   1879     uint32_t _flag_k = FK_NONE;
   1880     uint32_t _flag_a = 0, _flag_b = 0;
   1881     uint32_t _itail_tgt = 0;
   1882     RECOMP_REGS_LOCALS
   1883     RECOMP_ENTER(0x25084D5Bu);
   1884 
   1885 L_25084D5B:
   1886     eax = MEM32(ebp + 0xC); /* 0x25084D5B: mov eax, dword ptr [ebp + 0xc] */
   1887     ecx = MEM32(eax + 0x48); /* 0x25084D5E: mov ecx, dword ptr [eax + 0x48] */
   1888     /* test ecx, ecx */ /* 0x25084D61: test ecx, ecx */
   1889     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1890     _cf = 0;
   1891     _flag_k = FK_TEST;
   1892     if (TEST_Z(_flag_a, _flag_b)) goto L_25084DFD; /* 0x25084D63: je 0x25084dfd */
   1893 L_25084D69:
   1894     edx = MEM32(eax + 0x4C); /* 0x25084D69: mov edx, dword ptr [eax + 0x4c] */
   1895     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   1896     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1897     edx = edx - ecx; /* 0x25084D6C: sub edx, ecx */
   1898     _flag_k = FK_CMP;
   1899     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x25084D6E: sar edx, 2 */
   1900     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1901     edx = (uint32_t)((int32_t)edx >> 2u);
   1902     /* cmp edi, edx */ /* 0x25084D71: cmp edi, edx */
   1903     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   1904     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1905     _flag_k = FK_CMP;
   1906     if (CMP_AE(_flag_a, _flag_b)) goto L_25084DFD; /* 0x25084D73: jae 0x25084dfd */
   1907 L_25084D79:
   1908     ecx = MEM32(ebp + (-0x78)); /* 0x25084D79: mov ecx, dword ptr [ebp - 0x78] */
   1909     MEM32(ecx + edi * 8) = edi; /* 0x25084D7C: mov dword ptr [ecx + edi*8], edi */
   1910     edx = MEM32(eax + 0x48); /* 0x25084D7F: mov edx, dword ptr [eax + 0x48] */
   1911     eax = MEM32(edx + edi * 4); /* 0x25084D82: mov eax, dword ptr [edx + edi*4] */
   1912     ecx = MEM32(eax + 0x164); /* 0x25084D85: mov ecx, dword ptr [eax + 0x164] */
   1913     MEM32(ebp + 0x14) = ecx; /* 0x25084D8B: mov dword ptr [ebp + 0x14], ecx */
   1914     ecx = esi; /* 0x25084D8E: mov ecx, esi */
   1915     RECOMP_ICALL(0x250E2EC0u); /* 0x25084D90: call 0x250e2ec0 */ /* not lifted */
   1916     RECOMP_FLAGS_IN();
   1917     edx = MEM32(ebp + 0x14); /* 0x25084D95: mov edx, dword ptr [ebp + 0x14] */
   1918     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8);
   1919     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1920     edx = edx + 8; /* 0x25084D98: add edx, 8 */
   1921     _flag_k = FK_ADD;
   1922     ecx = MEM32(edx); /* 0x25084D9B: mov ecx, dword ptr [edx] */
   1923     MEM32(ebp + (-0x3C)) = ecx; /* 0x25084D9D: mov dword ptr [ebp - 0x3c], ecx */
   1924     ecx = MEM32(edx + 0x4); /* 0x25084DA0: mov ecx, dword ptr [edx + 4] */
   1925     edx = MEM32(edx + 0x8); /* 0x25084DA3: mov edx, dword ptr [edx + 8] */
   1926     MEM32(ebp + (-0x38)) = ecx; /* 0x25084DA6: mov dword ptr [ebp - 0x38], ecx */
   1927     PUSH32(esp, eax); /* 0x25084DA9: push eax */
   1928     ecx = ebp + (-0x3C); /* 0x25084DAA: lea ecx, [ebp - 0x3c] */
   1929     MEM32(ebp + (-0x34)) = edx; /* 0x25084DAD: mov dword ptr [ebp - 0x34], edx */
   1930     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x25084DB0: call dword ptr [0x2515151c] */
   1931     RECOMP_FLAGS_IN();
   1932     ecx = MEM32(eax); /* 0x25084DB6: mov ecx, dword ptr [eax] */
   1933     edx = MEM32(eax + 0x4); /* 0x25084DB8: mov edx, dword ptr [eax + 4] */
   1934     eax = MEM32(eax + 0x8); /* 0x25084DBB: mov eax, dword ptr [eax + 8] */
   1935     MEM32(ebp + (-0x54)) = ecx; /* 0x25084DBE: mov dword ptr [ebp - 0x54], ecx */
   1936     ecx = ebp + (-0x48); /* 0x25084DC1: lea ecx, [ebp - 0x48] */
   1937     PUSH32(esp, ecx); /* 0x25084DC4: push ecx */
   1938     ecx = ebp + (-0x54); /* 0x25084DC5: lea ecx, [ebp - 0x54] */
   1939     MEM32(ebp + (-0x50)) = edx; /* 0x25084DC8: mov dword ptr [ebp - 0x50], edx */
   1940     MEM32(ebp + (-0x4C)) = eax; /* 0x25084DCB: mov dword ptr [ebp - 0x4c], eax */
   1941     RECOMP_ICALL(MEM32(0x25151540)); /* 0x25084DCE: call dword ptr [0x25151540] */
   1942     RECOMP_FLAGS_IN();
   1943     edx = MEM32(eax); /* 0x25084DD4: mov edx, dword ptr [eax] */
   1944     MEM32(ebp + (-0x60)) = edx; /* 0x25084DD6: mov dword ptr [ebp - 0x60], edx */
   1945     ecx = MEM32(eax + 0x4); /* 0x25084DD9: mov ecx, dword ptr [eax + 4] */
   1946     MEM32(ebp + (-0x5C)) = ecx; /* 0x25084DDC: mov dword ptr [ebp - 0x5c], ecx */
   1947     edx = MEM32(eax + 0x8); /* 0x25084DDF: mov edx, dword ptr [eax + 8] */
   1948     ecx = ebp + (-0x60); /* 0x25084DE2: lea ecx, [ebp - 0x60] */
   1949     MEM32(ebp + (-0x58)) = edx; /* 0x25084DE5: mov dword ptr [ebp - 0x58], edx */
   1950     RECOMP_ICALL(MEM32(0x25151560)); /* 0x25084DE8: call dword ptr [0x25151560] */
   1951     RECOMP_FLAGS_IN();
   1952     _st[0] = sqrt(_st[0]); /* 0x25084DEE: fsqrt  */
   1953     eax = MEM32(ebp + (-0x78)); /* 0x25084DF0: mov eax, dword ptr [ebp - 0x78] */
   1954     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1955     edi = edi + 1; /* 0x25084DF3: inc edi */
   1956     _flag_k = FK_INC;
   1957     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edi * 8 + (-0x4)) = _v; } /* 0x25084DF4: fstp dword ptr [eax + edi*8 - 4] */
   1958     RECOMP_BACKEDGE();
   1959     goto L_25084D5B; /* 0x25084DF8: jmp 0x25084d5b */
   1960 L_25084DFD:
   1961     ecx = MEM32(ebp + (-0x74)); /* 0x25084DFD: mov ecx, dword ptr [ebp - 0x74] */
   1962     edx = MEM32(ebp + (-0x78)); /* 0x25084E00: mov edx, dword ptr [ebp - 0x78] */
   1963     PUSH32(esp, 0); /* 0x25084E03: push 0 */
   1964     PUSH32(esp, ecx); /* 0x25084E05: push ecx */
   1965     PUSH32(esp, edx); /* 0x25084E06: push edx */
   1966     RECOMP_ICALL(0x25085380u); /* 0x25084E07: call 0x25085380 */ /* not lifted */
   1967     RECOMP_FLAGS_IN();
   1968     edi = MEM32(ebp + (-0x78)); /* 0x25084E0C: mov edi, dword ptr [ebp - 0x78] */
   1969     eax = MEM32(ebp + (-0x74)); /* 0x25084E0F: mov eax, dword ptr [ebp - 0x74] */
   1970     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1971     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1972     esp = esp + 0xCu; /* 0x25084E12: add esp, 0xc */
   1973     _flag_k = FK_ADD;
   1974     /* cmp edi, eax */ /* 0x25084E15: cmp edi, eax */
   1975     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1976     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1977     _flag_k = FK_CMP;
   1978     if (CMP_EQ(_flag_a, _flag_b)) goto L_25084E3A; /* 0x25084E17: je 0x25084e3a */
   1979 L_25084E19:
   1980     eax = MEM32(ebp + 0xC); /* 0x25084E19: mov eax, dword ptr [ebp + 0xc] */
   1981     ecx = MEM32(edi); /* 0x25084E1C: mov ecx, dword ptr [edi] */
   1982     eax = MEM32(eax + 0x48); /* 0x25084E1E: mov eax, dword ptr [eax + 0x48] */
   1983     eax = MEM32(eax + ecx * 4); /* 0x25084E21: mov eax, dword ptr [eax + ecx*4] */
   1984     PUSH32(esp, eax); /* 0x25084E24: push eax */
   1985     PUSH32(esp, ebx); /* 0x25084E25: push ebx */
   1986     ecx = esi; /* 0x25084E26: mov ecx, esi */
   1987     RECOMP_ICALL(0x250DCC70u); /* 0x25084E28: call 0x250dcc70 */ /* not lifted */
   1988     RECOMP_FLAGS_IN();
   1989     eax = MEM32(ebp + (-0x74)); /* 0x25084E2D: mov eax, dword ptr [ebp - 0x74] */
   1990     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8);
   1991     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1992     edi = edi + 8; /* 0x25084E30: add edi, 8 */
   1993     _flag_k = FK_ADD;
   1994     /* cmp edi, eax */ /* 0x25084E33: cmp edi, eax */
   1995     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1997     _flag_k = FK_CMP;
   1998     RECOMP_BACKEDGE();
   1999     if (CMP_NE(_flag_a, _flag_b)) goto L_25084E19; /* 0x25084E35: jne 0x25084e19 */
   2000 L_25084E37:
   2001     edi = MEM32(ebp + (-0x78)); /* 0x25084E37: mov edi, dword ptr [ebp - 0x78] */
   2002 L_25084E3A:
   2003     PUSH32(esp, edi); /* 0x25084E3A: push edi */
   2004     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x25084E3B: mov byte ptr [ebp - 4], 0 */
   2005     RECOMP_ICALL(0x25137EECu); /* 0x25084E3F: call 0x25137eec */ /* not lifted */
   2006     RECOMP_FLAGS_IN();
   2007     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2008     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2009     esp = esp + 4; /* 0x25084E44: add esp, 4 */
   2010     _flag_k = FK_ADD;
   2011     goto L_25084E6C; /* 0x25084E47: jmp 0x25084e6c */
   2012 L_25084E6C:
   2013     edx = MEM32(esi); /* 0x25084E6C: mov edx, dword ptr [esi] */
   2014     PUSH32(esp, ebx); /* 0x25084E6E: push ebx */
   2015     ecx = esi; /* 0x25084E6F: mov ecx, esi */
   2016     RECOMP_ICALL(MEM32(edx + 0x44)); /* 0x25084E71: call dword ptr [edx + 0x44] */
   2017     RECOMP_FLAGS_IN();
   2018     SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x25084E74: mov al, byte ptr [ebp - 0x64] */
   2019     /* test LO8(eax), LO8(eax) */ /* 0x25084E77: test al, al */
   2020     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2021     _cf = 0;
   2022     _flag_k = FK_NARROW(FK_TEST, 24);
   2023     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25084E79: mov dword ptr [ebp - 4], 0xffffffff */
   2024     if (TEST_Z(_flag_a, _flag_b)) goto L_25085103; /* 0x25084E80: je 0x25085103 */
   2025 L_25084E86:
   2026     eax = MEM32(ebp + 0x8); /* 0x25084E86: mov eax, dword ptr [ebp + 8] */
   2027     PUSH32(esp, 2); /* 0x25084E89: push 2 */
   2028     goto L_250850EC; /* 0x25084E8B: jmp 0x250850ec */
   2029 L_250850EC:
   2030     ecx = MEM32(0x25238B94); /* 0x250850EC: mov ecx, dword ptr [0x25238b94] */
   2031     ecx = MEM32(ecx + 0x894); /* 0x250850F2: mov ecx, dword ptr [ecx + 0x894] */
   2032     PUSH32(esp, eax); /* 0x250850F8: push eax */
   2033     PUSH32(esp, 0x88u); /* 0x250850F9: push 0x88 */
   2034     RECOMP_ICALL(0x250EFE90u); /* 0x250850FE: call 0x250efe90 */ /* not lifted */
   2035     RECOMP_FLAGS_IN();
   2036 L_25085103:
   2037     ecx = MEM32(ebp + (-0xC)); /* 0x25085103: mov ecx, dword ptr [ebp - 0xc] */
   2038     edi = POP32_VAL(esp); /* 0x25085106: pop edi */
   2039     esi = POP32_VAL(esp); /* 0x25085107: pop esi */
   2040     ebx = POP32_VAL(esp); /* 0x25085108: pop ebx */
   2041     MEM32(FS_BASE + (0)) = ecx; /* 0x25085109: mov dword ptr fs:[0], ecx */
   2042     esp = ebp; /* 0x25085110: mov esp, ebp */
   2043     ebp = POP32_VAL(esp); /* 0x25085112: pop ebp */
   2044     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25085113: ret 0x10 */
   2045     RECOMP_REGS_OUT();
   2046 }
   2047 
   2048 void sub_25084E6C(void) {
   2049     int _fpu_cmp = 0;
   2050     uint32_t _cf = 0;
   2051     int _df = 1;
   2052     uint32_t _flag_k = FK_NONE;
   2053     uint32_t _flag_a = 0, _flag_b = 0;
   2054     uint32_t _itail_tgt = 0;
   2055     RECOMP_REGS_LOCALS
   2056     RECOMP_ENTER(0x25084E6Cu);
   2057 
   2058 L_25084E6C:
   2059     edx = MEM32(esi); /* 0x25084E6C: mov edx, dword ptr [esi] */
   2060     PUSH32(esp, ebx); /* 0x25084E6E: push ebx */
   2061     ecx = esi; /* 0x25084E6F: mov ecx, esi */
   2062     RECOMP_ICALL(MEM32(edx + 0x44)); /* 0x25084E71: call dword ptr [edx + 0x44] */
   2063     RECOMP_FLAGS_IN();
   2064     SET_LO8(eax, MEM8(ebp + (-0x64))); /* 0x25084E74: mov al, byte ptr [ebp - 0x64] */
   2065     /* test LO8(eax), LO8(eax) */ /* 0x25084E77: test al, al */
   2066     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2067     _cf = 0;
   2068     _flag_k = FK_NARROW(FK_TEST, 24);
   2069     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25084E79: mov dword ptr [ebp - 4], 0xffffffff */
   2070     if (TEST_Z(_flag_a, _flag_b)) goto L_25085103; /* 0x25084E80: je 0x25085103 */
   2071 L_25084E86:
   2072     eax = MEM32(ebp + 0x8); /* 0x25084E86: mov eax, dword ptr [ebp + 8] */
   2073     PUSH32(esp, 2); /* 0x25084E89: push 2 */
   2074     goto L_250850EC; /* 0x25084E8B: jmp 0x250850ec */
   2075 L_250850EC:
   2076     ecx = MEM32(0x25238B94); /* 0x250850EC: mov ecx, dword ptr [0x25238b94] */
   2077     ecx = MEM32(ecx + 0x894); /* 0x250850F2: mov ecx, dword ptr [ecx + 0x894] */
   2078     PUSH32(esp, eax); /* 0x250850F8: push eax */
   2079     PUSH32(esp, 0x88u); /* 0x250850F9: push 0x88 */
   2080     RECOMP_ICALL(0x250EFE90u); /* 0x250850FE: call 0x250efe90 */ /* not lifted */
   2081     RECOMP_FLAGS_IN();
   2082 L_25085103:
   2083     ecx = MEM32(ebp + (-0xC)); /* 0x25085103: mov ecx, dword ptr [ebp - 0xc] */
   2084     edi = POP32_VAL(esp); /* 0x25085106: pop edi */
   2085     esi = POP32_VAL(esp); /* 0x25085107: pop esi */
   2086     ebx = POP32_VAL(esp); /* 0x25085108: pop ebx */
   2087     MEM32(FS_BASE + (0)) = ecx; /* 0x25085109: mov dword ptr fs:[0], ecx */
   2088     esp = ebp; /* 0x25085110: mov esp, ebp */
   2089     ebp = POP32_VAL(esp); /* 0x25085112: pop ebp */
   2090     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25085113: ret 0x10 */
   2091     RECOMP_REGS_OUT();
   2092 }
   2093 
   2094 void sub_250850EC(void) {
   2095     int _fpu_cmp = 0;
   2096     uint32_t _cf = 0;
   2097     int _df = 1;
   2098     uint32_t _flag_k = FK_NONE;
   2099     uint32_t _flag_a = 0, _flag_b = 0;
   2100     uint32_t _itail_tgt = 0;
   2101     RECOMP_REGS_LOCALS
   2102     RECOMP_ENTER(0x250850ECu);
   2103 
   2104 L_250850EC:
   2105     ecx = MEM32(0x25238B94); /* 0x250850EC: mov ecx, dword ptr [0x25238b94] */
   2106     ecx = MEM32(ecx + 0x894); /* 0x250850F2: mov ecx, dword ptr [ecx + 0x894] */
   2107     PUSH32(esp, eax); /* 0x250850F8: push eax */
   2108     PUSH32(esp, 0x88u); /* 0x250850F9: push 0x88 */
   2109     RECOMP_ICALL(0x250EFE90u); /* 0x250850FE: call 0x250efe90 */ /* not lifted */
   2110     RECOMP_FLAGS_IN();
   2111     ecx = MEM32(ebp + (-0xC)); /* 0x25085103: mov ecx, dword ptr [ebp - 0xc] */
   2112     edi = POP32_VAL(esp); /* 0x25085106: pop edi */
   2113     esi = POP32_VAL(esp); /* 0x25085107: pop esi */
   2114     ebx = POP32_VAL(esp); /* 0x25085108: pop ebx */
   2115     MEM32(FS_BASE + (0)) = ecx; /* 0x25085109: mov dword ptr fs:[0], ecx */
   2116     esp = ebp; /* 0x25085110: mov esp, ebp */
   2117     ebp = POP32_VAL(esp); /* 0x25085112: pop ebp */
   2118     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25085113: ret 0x10 */
   2119     RECOMP_REGS_OUT();
   2120 }
   2121 
   2122 void sub_25085120(void) {
   2123     int _fpu_cmp = 0;
   2124     uint32_t _cf = 0;
   2125     int _df = 1;
   2126     uint32_t _flag_k = FK_NONE;
   2127     uint32_t _flag_a = 0, _flag_b = 0;
   2128     uint32_t _itail_tgt = 0;
   2129     RECOMP_REGS_LOCALS
   2130     RECOMP_ENTER(0x25085120u);
   2131 
   2132 L_25085120:
   2133     eax = ecx; /* 0x25085120: mov eax, ecx */
   2134     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2135     ecx = 0; /* 0x25085122: xor ecx, ecx */
   2136     _cf = 0;
   2137     _flag_k = FK_TEST;
   2138     MEM32(eax) = 0xCAFEBABEu; /* 0x25085124: mov dword ptr [eax], 0xcafebabe */
   2139     MEM32(eax + 0x4) = ecx; /* 0x2508512A: mov dword ptr [eax + 4], ecx */
   2140     MEM32(eax + 0x8) = ecx; /* 0x2508512D: mov dword ptr [eax + 8], ecx */
   2141     MEM32(eax + 0xC) = ecx; /* 0x25085130: mov dword ptr [eax + 0xc], ecx */
   2142     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085133: ret  */
   2143     RECOMP_REGS_OUT();
   2144 }
   2145 
   2146 void sub_25085140(void) {
   2147     int _fpu_cmp = 0;
   2148     uint32_t _cf = 0;
   2149     int _df = 1;
   2150     uint32_t _flag_k = FK_NONE;
   2151     uint32_t _flag_a = 0, _flag_b = 0;
   2152     uint32_t _itail_tgt = 0;
   2153     RECOMP_REGS_LOCALS
   2154     RECOMP_ENTER(0x25085140u);
   2155 
   2156 L_25085140:
   2157     PUSH32(esp, ebp); /* 0x25085140: push ebp */
   2158     ebp = esp; /* 0x25085141: mov ebp, esp */
   2159     eax = MEM32(ebp + 0x8); /* 0x25085143: mov eax, dword ptr [ebp + 8] */
   2160     PUSH32(esp, esi); /* 0x25085146: push esi */
   2161     esi = ecx; /* 0x25085147: mov esi, ecx */
   2162     SET_LO8(ecx, MEM8(eax)); /* 0x25085149: mov cl, byte ptr [eax] */
   2163     PUSH32(esp, 0x3Cu); /* 0x2508514B: push 0x3c */
   2164     MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2508514D: mov byte ptr [esi], cl */
   2165     RECOMP_ICALL(0x251380D0u); /* 0x2508514F: call 0x251380d0 */ /* not lifted */
   2166     RECOMP_FLAGS_IN();
   2167     MEM32(eax) = eax; /* 0x25085154: mov dword ptr [eax], eax */
   2168     MEM32(eax + 0x4) = eax; /* 0x25085156: mov dword ptr [eax + 4], eax */
   2169     MEM32(esi + 0x4) = eax; /* 0x25085159: mov dword ptr [esi + 4], eax */
   2170     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2171     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2172     esp = esp + 4; /* 0x2508515C: add esp, 4 */
   2173     _flag_k = FK_ADD;
   2174     MEM32(esi + 0x8) = 0; /* 0x2508515F: mov dword ptr [esi + 8], 0 */
   2175     eax = esi; /* 0x25085166: mov eax, esi */
   2176     esi = POP32_VAL(esp); /* 0x25085168: pop esi */
   2177     ebp = POP32_VAL(esp); /* 0x25085169: pop ebp */
   2178     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508516A: ret 4 */
   2179     RECOMP_REGS_OUT();
   2180 }
   2181 
   2182 void sub_25085170(void) {
   2183     int _fpu_cmp = 0;
   2184     uint32_t _cf = 0;
   2185     int _df = 1;
   2186     uint32_t _flag_k = FK_NONE;
   2187     uint32_t _flag_a = 0, _flag_b = 0;
   2188     uint32_t _itail_tgt = 0;
   2189     RECOMP_REGS_LOCALS
   2190     RECOMP_ENTER(0x25085170u);
   2191 
   2192 L_25085170:
   2193     PUSH32(esp, ebx); /* 0x25085170: push ebx */
   2194     PUSH32(esp, esi); /* 0x25085171: push esi */
   2195     PUSH32(esp, edi); /* 0x25085172: push edi */
   2196     edi = ecx; /* 0x25085173: mov edi, ecx */
   2197     ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */
   2198     esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */
   2199     /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */
   2200     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2201     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2202     _flag_k = FK_CMP;
   2203     if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */
   2204 L_2508517E:
   2205     eax = esi; /* 0x2508517E: mov eax, esi */
   2206     ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */
   2207     edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */
   2208     esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */
   2209     MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */
   2210     ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */
   2211     edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */
   2212     PUSH32(esp, eax); /* 0x2508518E: push eax */
   2213     MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */
   2214     RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */
   2215     RECOMP_FLAGS_IN();
   2216     ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */
   2217     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2218     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2219     esp = esp + 4; /* 0x2508519A: add esp, 4 */
   2220     _flag_k = FK_ADD;
   2221     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2222     ecx = ecx - 1; /* 0x2508519D: dec ecx */
   2223     _flag_k = FK_DEC;
   2224     /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */
   2225     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2227     _flag_k = FK_CMP;
   2228     MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */
   2229     RECOMP_BACKEDGE();
   2230     if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */
   2231 L_250851A5:
   2232     eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */
   2233     PUSH32(esp, eax); /* 0x250851A8: push eax */
   2234     RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */
   2235     RECOMP_FLAGS_IN();
   2236     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2237     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2238     esp = esp + 4; /* 0x250851AE: add esp, 4 */
   2239     _flag_k = FK_ADD;
   2240     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2241     eax = 0; /* 0x250851B1: xor eax, eax */
   2242     _cf = 0;
   2243     _flag_k = FK_TEST;
   2244     MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */
   2245     MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */
   2246     edi = POP32_VAL(esp); /* 0x250851B9: pop edi */
   2247     esi = POP32_VAL(esp); /* 0x250851BA: pop esi */
   2248     ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */
   2249     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret  */
   2250     RECOMP_REGS_OUT();
   2251 }
   2252 
   2253 void sub_250851C0(void) {
   2254     int _fpu_cmp = 0;
   2255     uint32_t _cf = 0;
   2256     int _df = 1;
   2257     uint32_t _flag_k = FK_NONE;
   2258     uint32_t _flag_a = 0, _flag_b = 0;
   2259     uint32_t _itail_tgt = 0;
   2260     RECOMP_REGS_LOCALS
   2261     RECOMP_ENTER(0x250851C0u);
   2262 
   2263 L_250851C0:
   2264     PUSH32(esp, ebp); /* 0x250851C0: push ebp */
   2265     ebp = esp; /* 0x250851C1: mov ebp, esp */
   2266     edx = MEM32(ecx); /* 0x250851C3: mov edx, dword ptr [ecx] */
   2267     eax = MEM32(edx); /* 0x250851C5: mov eax, dword ptr [edx] */
   2268     MEM32(ecx) = eax; /* 0x250851C7: mov dword ptr [ecx], eax */
   2269     eax = MEM32(ebp + 0x8); /* 0x250851C9: mov eax, dword ptr [ebp + 8] */
   2270     MEM32(eax) = edx; /* 0x250851CC: mov dword ptr [eax], edx */
   2271     ebp = POP32_VAL(esp); /* 0x250851CE: pop ebp */
   2272     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250851CF: ret 8 */
   2273     RECOMP_REGS_OUT();
   2274 }
   2275 
   2276 void sub_250851E0(void) {
   2277     int _fpu_cmp = 0;
   2278     uint32_t _cf = 0;
   2279     int _df = 1;
   2280     uint32_t _flag_k = FK_NONE;
   2281     uint32_t _flag_a = 0, _flag_b = 0;
   2282     uint32_t _itail_tgt = 0;
   2283     RECOMP_REGS_LOCALS
   2284     RECOMP_ENTER(0x250851E0u);
   2285 
   2286 L_250851E0:
   2287     PUSH32(esp, ebp); /* 0x250851E0: push ebp */
   2288     ebp = esp; /* 0x250851E1: mov ebp, esp */
   2289     PUSH32(esp, ebx); /* 0x250851E3: push ebx */
   2290     PUSH32(esp, esi); /* 0x250851E4: push esi */
   2291     ebx = ecx; /* 0x250851E5: mov ebx, ecx */
   2292     esi = MEM32(ebx + 0x4); /* 0x250851E7: mov esi, dword ptr [ebx + 4] */
   2293     PUSH32(esp, edi); /* 0x250851EA: push edi */
   2294     edi = MEM32(esi + 0x4); /* 0x250851EB: mov edi, dword ptr [esi + 4] */
   2295     PUSH32(esp, 0xCu); /* 0x250851EE: push 0xc */
   2296     RECOMP_ICALL(0x251380D0u); /* 0x250851F0: call 0x251380d0 */ /* not lifted */
   2297     RECOMP_FLAGS_IN();
   2298     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2299     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2300     esp = esp + 4; /* 0x250851F5: add esp, 4 */
   2301     _flag_k = FK_ADD;
   2302     /* test esi, esi */ /* 0x250851F8: test esi, esi */
   2303     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2304     _cf = 0;
   2305     _flag_k = FK_TEST;
   2306     ecx = esi; /* 0x250851FA: mov ecx, esi */
   2307     if (TEST_NZ(_flag_a, _flag_b)) goto L_25085200; /* 0x250851FC: jne 0x25085200 */
   2308 L_250851FE:
   2309     ecx = eax; /* 0x250851FE: mov ecx, eax */
   2310 L_25085200:
   2311     /* test edi, edi */ /* 0x25085200: test edi, edi */
   2312     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2313     _cf = 0;
   2314     _flag_k = FK_TEST;
   2315     MEM32(eax) = ecx; /* 0x25085202: mov dword ptr [eax], ecx */
   2316     ecx = edi; /* 0x25085204: mov ecx, edi */
   2317     if (TEST_NZ(_flag_a, _flag_b)) goto L_2508520A; /* 0x25085206: jne 0x2508520a */
   2318 L_25085208:
   2319     ecx = eax; /* 0x25085208: mov ecx, eax */
   2320 L_2508520A:
   2321     MEM32(eax + 0x4) = ecx; /* 0x2508520A: mov dword ptr [eax + 4], ecx */
   2322     MEM32(esi + 0x4) = eax; /* 0x2508520D: mov dword ptr [esi + 4], eax */
   2323     ecx = MEM32(eax + 0x4); /* 0x25085210: mov ecx, dword ptr [eax + 4] */
   2324     MEM32(ecx) = eax; /* 0x25085213: mov dword ptr [ecx], eax */
   2325     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
   2326     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2327     eax = eax + 8; /* 0x25085215: add eax, 8 */
   2328     _flag_k = FK_ADD;
   2329     /* test eax, eax */ /* 0x25085218: test eax, eax */
   2330     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2331     _cf = 0;
   2332     _flag_k = FK_TEST;
   2333     if (TEST_Z(_flag_a, _flag_b)) goto L_25085223; /* 0x2508521A: je 0x25085223 */
   2334 L_2508521C:
   2335     edx = MEM32(ebp + 0x8); /* 0x2508521C: mov edx, dword ptr [ebp + 8] */
   2336     ecx = MEM32(edx); /* 0x2508521F: mov ecx, dword ptr [edx] */
   2337     MEM32(eax) = ecx; /* 0x25085221: mov dword ptr [eax], ecx */
   2338 L_25085223:
   2339     eax = MEM32(ebx + 0x8); /* 0x25085223: mov eax, dword ptr [ebx + 8] */
   2340     edi = POP32_VAL(esp); /* 0x25085226: pop edi */
   2341     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2342     eax = eax + 1; /* 0x25085227: inc eax */
   2343     _flag_k = FK_INC;
   2344     esi = POP32_VAL(esp); /* 0x25085228: pop esi */
   2345     MEM32(ebx + 0x8) = eax; /* 0x25085229: mov dword ptr [ebx + 8], eax */
   2346     ebx = POP32_VAL(esp); /* 0x2508522C: pop ebx */
   2347     ebp = POP32_VAL(esp); /* 0x2508522D: pop ebp */
   2348     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508522E: ret 4 */
   2349     RECOMP_REGS_OUT();
   2350 }
   2351 
   2352 void sub_25085240(void) {
   2353     int _fpu_cmp = 0;
   2354     uint32_t _cf = 0;
   2355     int _df = 1;
   2356     uint32_t _flag_k = FK_NONE;
   2357     uint32_t _flag_a = 0, _flag_b = 0;
   2358     uint32_t _itail_tgt = 0;
   2359     RECOMP_REGS_LOCALS
   2360     RECOMP_ENTER(0x25085240u);
   2361 
   2362 L_25085240:
   2363     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   2364     ebp = esp; /* 0x25085241: mov ebp, esp */
   2365     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   2366     PUSH32(esp, esi); /* 0x25085244: push esi */
   2367     esi = ecx; /* 0x25085245: mov esi, ecx */
   2368     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   2369     PUSH32(esp, eax); /* 0x2508524A: push eax */
   2370     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   2371     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   2372     RECOMP_FLAGS_IN();
   2373     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2374     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2375     esp = esp + 4; /* 0x25085253: add esp, 4 */
   2376     _flag_k = FK_ADD;
   2377     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2378     eax = 0; /* 0x25085256: xor eax, eax */
   2379     _cf = 0;
   2380     _flag_k = FK_TEST;
   2381     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   2382     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   2383     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   2384     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   2385     esp = ebp; /* 0x25085262: mov esp, ebp */
   2386     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   2387     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   2388     RECOMP_REGS_OUT();
   2389 }
   2390 
   2391 void sub_25085270(void) {
   2392     int _fpu_cmp = 0;
   2393     uint32_t _cf = 0;
   2394     int _df = 1;
   2395     uint32_t _flag_k = FK_NONE;
   2396     uint32_t _flag_a = 0, _flag_b = 0;
   2397     uint32_t _itail_tgt = 0;
   2398     RECOMP_REGS_LOCALS
   2399     RECOMP_ENTER(0x25085270u);
   2400 
   2401 L_25085270:
   2402     PUSH32(esp, ebp); /* 0x25085270: push ebp */
   2403     ebp = esp; /* 0x25085271: mov ebp, esp */
   2404     eax = MEM32(ecx + 0x4); /* 0x25085273: mov eax, dword ptr [ecx + 4] */
   2405     ecx = MEM32(eax); /* 0x25085276: mov ecx, dword ptr [eax] */
   2406     eax = MEM32(ebp + 0x8); /* 0x25085278: mov eax, dword ptr [ebp + 8] */
   2407     MEM32(eax) = ecx; /* 0x2508527B: mov dword ptr [eax], ecx */
   2408     ebp = POP32_VAL(esp); /* 0x2508527D: pop ebp */
   2409     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508527E: ret 4 */
   2410     RECOMP_REGS_OUT();
   2411 }
   2412 
   2413 void sub_25085290(void) {
   2414     int _fpu_cmp = 0;
   2415     uint32_t _cf = 0;
   2416     int _df = 1;
   2417     uint32_t _flag_k = FK_NONE;
   2418     uint32_t _flag_a = 0, _flag_b = 0;
   2419     uint32_t _itail_tgt = 0;
   2420     RECOMP_REGS_LOCALS
   2421     RECOMP_ENTER(0x25085290u);
   2422 
   2423 L_25085290:
   2424     PUSH32(esp, esi); /* 0x25085290: push esi */
   2425     esi = ecx; /* 0x25085291: mov esi, ecx */
   2426     /* cmp MEM32(esi), 0xCAFEBABEu */ /* 0x25085293: cmp dword ptr [esi], 0xcafebabe */
   2427     _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0xCAFEBABEu);
   2428     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2429     _flag_k = FK_CMP;
   2430     if (CMP_NE(_flag_a, _flag_b)) goto L_250852B9; /* 0x25085299: jne 0x250852b9 */
   2431 L_2508529B:
   2432     eax = MEM32(esi + 0x4); /* 0x2508529B: mov eax, dword ptr [esi + 4] */
   2433     /* test eax, eax */ /* 0x2508529E: test eax, eax */
   2434     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2435     _cf = 0;
   2436     _flag_k = FK_TEST;
   2437     if (TEST_Z(_flag_a, _flag_b)) goto L_250852B2; /* 0x250852A0: je 0x250852b2 */
   2438 L_250852A2:
   2439     PUSH32(esp, eax); /* 0x250852A2: push eax */
   2440     RECOMP_ICALL(0x25137EECu); /* 0x250852A3: call 0x25137eec */ /* not lifted */
   2441     RECOMP_FLAGS_IN();
   2442     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2443     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2444     esp = esp + 4; /* 0x250852A8: add esp, 4 */
   2445     _flag_k = FK_ADD;
   2446     MEM32(esi + 0x4) = 0; /* 0x250852AB: mov dword ptr [esi + 4], 0 */
   2447 L_250852B2:
   2448     MEM32(esi + 0x8) = 0; /* 0x250852B2: mov dword ptr [esi + 8], 0 */
   2449 L_250852B9:
   2450     esi = POP32_VAL(esp); /* 0x250852B9: pop esi */
   2451     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250852BA: ret  */
   2452     RECOMP_REGS_OUT();
   2453 }
   2454 
   2455 void sub_250852C0(void) {
   2456     int _fpu_cmp = 0;
   2457     uint32_t _cf = 0;
   2458     int _df = 1;
   2459     uint32_t _flag_k = FK_NONE;
   2460     uint32_t _flag_a = 0, _flag_b = 0;
   2461     uint32_t _itail_tgt = 0;
   2462     RECOMP_REGS_LOCALS
   2463     RECOMP_ENTER(0x250852C0u);
   2464 
   2465 L_250852C0:
   2466     eax = ecx + 0x10; /* 0x250852C0: lea eax, [ecx + 0x10] */
   2467     MEM32(eax) = 0; /* 0x250852C3: mov dword ptr [eax], 0 */
   2468     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250852C9: ret 4 */
   2469     RECOMP_REGS_OUT();
   2470 }
   2471 
   2472 void sub_250852D0(void) {
   2473     int _fpu_cmp = 0;
   2474     uint32_t _cf = 0;
   2475     int _df = 1;
   2476     uint32_t _flag_k = FK_NONE;
   2477     uint32_t _flag_a = 0, _flag_b = 0;
   2478     uint32_t _itail_tgt = 0;
   2479     RECOMP_REGS_LOCALS
   2480     RECOMP_ENTER(0x250852D0u);
   2481 
   2482 L_250852D0:
   2483     PUSH32(esp, ebp); /* 0x250852D0: push ebp */
   2484     ebp = esp; /* 0x250852D1: mov ebp, esp */
   2485     PUSH32(esp, ebx); /* 0x250852D3: push ebx */
   2486     ebx = MEM32(ebp + 0x10); /* 0x250852D4: mov ebx, dword ptr [ebp + 0x10] */
   2487     PUSH32(esp, esi); /* 0x250852D7: push esi */
   2488     esi = MEM32(ebp + 0xC); /* 0x250852D8: mov esi, dword ptr [ebp + 0xc] */
   2489     /* cmp esi, ebx */ /* 0x250852DB: cmp esi, ebx */
   2490     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2491     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2492     _flag_k = FK_CMP;
   2493     PUSH32(esp, edi); /* 0x250852DD: push edi */
   2494     edi = ecx; /* 0x250852DE: mov edi, ecx */
   2495     if (CMP_EQ(_flag_a, _flag_b)) goto L_25085309; /* 0x250852E0: je 0x25085309 */
   2496 L_250852E2:
   2497     eax = esi; /* 0x250852E2: mov eax, esi */
   2498     ecx = MEM32(eax + 0x4); /* 0x250852E4: mov ecx, dword ptr [eax + 4] */
   2499     edx = MEM32(eax); /* 0x250852E7: mov edx, dword ptr [eax] */
   2500     esi = MEM32(esi); /* 0x250852E9: mov esi, dword ptr [esi] */
   2501     MEM32(ecx) = edx; /* 0x250852EB: mov dword ptr [ecx], edx */
   2502     ecx = MEM32(eax); /* 0x250852ED: mov ecx, dword ptr [eax] */
   2503     edx = MEM32(eax + 0x4); /* 0x250852EF: mov edx, dword ptr [eax + 4] */
   2504     PUSH32(esp, eax); /* 0x250852F2: push eax */
   2505     MEM32(ecx + 0x4) = edx; /* 0x250852F3: mov dword ptr [ecx + 4], edx */
   2506     RECOMP_ICALL(0x25137EECu); /* 0x250852F6: call 0x25137eec */ /* not lifted */
   2507     RECOMP_FLAGS_IN();
   2508     ecx = MEM32(edi + 0x8); /* 0x250852FB: mov ecx, dword ptr [edi + 8] */
   2509     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2510     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2511     esp = esp + 4; /* 0x250852FE: add esp, 4 */
   2512     _flag_k = FK_ADD;
   2513     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2514     ecx = ecx - 1; /* 0x25085301: dec ecx */
   2515     _flag_k = FK_DEC;
   2516     /* cmp esi, ebx */ /* 0x25085302: cmp esi, ebx */
   2517     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2518     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2519     _flag_k = FK_CMP;
   2520     MEM32(edi + 0x8) = ecx; /* 0x25085304: mov dword ptr [edi + 8], ecx */
   2521     RECOMP_BACKEDGE();
   2522     if (CMP_NE(_flag_a, _flag_b)) goto L_250852E2; /* 0x25085307: jne 0x250852e2 */
   2523 L_25085309:
   2524     eax = MEM32(ebp + 0x8); /* 0x25085309: mov eax, dword ptr [ebp + 8] */
   2525     edi = POP32_VAL(esp); /* 0x2508530C: pop edi */
   2526     MEM32(eax) = esi; /* 0x2508530D: mov dword ptr [eax], esi */
   2527     esi = POP32_VAL(esp); /* 0x2508530F: pop esi */
   2528     ebx = POP32_VAL(esp); /* 0x25085310: pop ebx */
   2529     ebp = POP32_VAL(esp); /* 0x25085311: pop ebp */
   2530     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25085312: ret 0xc */
   2531     RECOMP_REGS_OUT();
   2532 }
   2533 
   2534 void sub_25085320(void) {
   2535     int _fpu_cmp = 0;
   2536     uint32_t _cf = 0;
   2537     int _df = 1;
   2538     uint32_t _flag_k = FK_NONE;
   2539     uint32_t _flag_a = 0, _flag_b = 0;
   2540     uint32_t _itail_tgt = 0;
   2541     RECOMP_REGS_LOCALS
   2542     RECOMP_ENTER(0x25085320u);
   2543 
   2544 L_25085320:
   2545     PUSH32(esp, ebp); /* 0x25085320: push ebp */
   2546     ebp = esp; /* 0x25085321: mov ebp, esp */
   2547     eax = MEM32(ebp + 0xC); /* 0x25085323: mov eax, dword ptr [ebp + 0xc] */
   2548     edx = MEM32(eax); /* 0x25085326: mov edx, dword ptr [eax] */
   2549     PUSH32(esp, esi); /* 0x25085328: push esi */
   2550     esi = ecx; /* 0x25085329: mov esi, ecx */
   2551     ecx = MEM32(eax + 0x4); /* 0x2508532B: mov ecx, dword ptr [eax + 4] */
   2552     PUSH32(esp, edi); /* 0x2508532E: push edi */
   2553     edi = MEM32(eax); /* 0x2508532F: mov edi, dword ptr [eax] */
   2554     MEM32(ecx) = edx; /* 0x25085331: mov dword ptr [ecx], edx */
   2555     ecx = MEM32(eax); /* 0x25085333: mov ecx, dword ptr [eax] */
   2556     edx = MEM32(eax + 0x4); /* 0x25085335: mov edx, dword ptr [eax + 4] */
   2557     PUSH32(esp, eax); /* 0x25085338: push eax */
   2558     MEM32(ecx + 0x4) = edx; /* 0x25085339: mov dword ptr [ecx + 4], edx */
   2559     RECOMP_ICALL(0x25137EECu); /* 0x2508533C: call 0x25137eec */ /* not lifted */
   2560     RECOMP_FLAGS_IN();
   2561     eax = MEM32(esi + 0x8); /* 0x25085341: mov eax, dword ptr [esi + 8] */
   2562     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2563     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2564     esp = esp + 4; /* 0x25085344: add esp, 4 */
   2565     _flag_k = FK_ADD;
   2566     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2567     eax = eax - 1; /* 0x25085347: dec eax */
   2568     _flag_k = FK_DEC;
   2569     MEM32(esi + 0x8) = eax; /* 0x25085348: mov dword ptr [esi + 8], eax */
   2570     eax = MEM32(ebp + 0x8); /* 0x2508534B: mov eax, dword ptr [ebp + 8] */
   2571     MEM32(eax) = edi; /* 0x2508534E: mov dword ptr [eax], edi */
   2572     edi = POP32_VAL(esp); /* 0x25085350: pop edi */
   2573     esi = POP32_VAL(esp); /* 0x25085351: pop esi */
   2574     ebp = POP32_VAL(esp); /* 0x25085352: pop ebp */
   2575     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25085353: ret 8 */
   2576     RECOMP_REGS_OUT();
   2577 }
   2578 
   2579 void sub_25085360(void) {
   2580     int _fpu_cmp = 0;
   2581     uint32_t _cf = 0;
   2582     int _df = 1;
   2583     uint32_t _flag_k = FK_NONE;
   2584     uint32_t _flag_a = 0, _flag_b = 0;
   2585     uint32_t _itail_tgt = 0;
   2586     RECOMP_REGS_LOCALS
   2587     RECOMP_ENTER(0x25085360u);
   2588 
   2589 L_25085360:
   2590     PUSH32(esp, ebp); /* 0x25085360: push ebp */
   2591     ebp = esp; /* 0x25085361: mov ebp, esp */
   2592     eax = MEM32(ebp + 0x8); /* 0x25085363: mov eax, dword ptr [ebp + 8] */
   2593     /* test eax, eax */ /* 0x25085366: test eax, eax */
   2594     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2595     _cf = 0;
   2596     _flag_k = FK_TEST;
   2597     if (TEST_Z(_flag_a, _flag_b)) goto L_25085371; /* 0x25085368: je 0x25085371 */
   2598 L_2508536A:
   2599     ecx = MEM32(ebp + 0xC); /* 0x2508536A: mov ecx, dword ptr [ebp + 0xc] */
   2600     edx = MEM32(ecx); /* 0x2508536D: mov edx, dword ptr [ecx] */
   2601     MEM32(eax) = edx; /* 0x2508536F: mov dword ptr [eax], edx */
   2602 L_25085371:
   2603     ebp = POP32_VAL(esp); /* 0x25085371: pop ebp */
   2604     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085372: ret  */
   2605     RECOMP_REGS_OUT();
   2606 }
   2607 
   2608 void sub_25085380(void) {
   2609     int _fpu_cmp = 0;
   2610     uint32_t _cf = 0;
   2611     int _df = 1;
   2612     uint32_t _flag_k = FK_NONE;
   2613     uint32_t _flag_a = 0, _flag_b = 0;
   2614     uint32_t _itail_tgt = 0;
   2615     RECOMP_REGS_LOCALS
   2616     RECOMP_ENTER(0x25085380u);
   2617 
   2618 L_25085380:
   2619     PUSH32(esp, ebp); /* 0x25085380: push ebp */
   2620     ebp = esp; /* 0x25085381: mov ebp, esp */
   2621     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u);
   2622     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2623     esp = esp - 0x24u; /* 0x25085383: sub esp, 0x24 */
   2624     _flag_k = FK_CMP;
   2625     edx = MEM32(ebp + 0xC); /* 0x25085386: mov edx, dword ptr [ebp + 0xc] */
   2626     PUSH32(esp, ebx); /* 0x25085389: push ebx */
   2627     PUSH32(esp, esi); /* 0x2508538A: push esi */
   2628     PUSH32(esp, edi); /* 0x2508538B: push edi */
   2629     edi = MEM32(ebp + 0x8); /* 0x2508538C: mov edi, dword ptr [ebp + 8] */
   2630     eax = edx; /* 0x2508538F: mov eax, edx */
   2631     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2632     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2633     eax = eax - edi; /* 0x25085391: sub eax, edi */
   2634     _flag_k = FK_CMP;
   2635     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF8u);
   2636     eax = eax & 0xFFFFFFF8u; /* 0x25085393: and eax, 0xfffffff8 */
   2637     _cf = 0;
   2638     _flag_k = FK_TEST;
   2639     /* cmp eax, 0x80u */ /* 0x25085396: cmp eax, 0x80 */
   2640     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u);
   2641     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2642     _flag_k = FK_CMP;
   2643     if (CMP_G(_flag_a, _flag_b)) goto L_2508542B; /* 0x2508539B: jg 0x2508542b */
   2644 L_250853A1:
   2645     /* cmp edi, edx */ /* 0x250853A1: cmp edi, edx */
   2646     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2647     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2648     _flag_k = FK_CMP;
   2649     if (CMP_EQ(_flag_a, _flag_b)) goto L_2508563E; /* 0x250853A3: je 0x2508563e */
   2650 L_250853A9:
   2651     ecx = edi + 0x8; /* 0x250853A9: lea ecx, [edi + 8] */
   2652     /* cmp ecx, edx */ /* 0x250853AC: cmp ecx, edx */
   2653     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2654     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2655     _flag_k = FK_CMP;
   2656     if (CMP_EQ(_flag_a, _flag_b)) goto L_2508563E; /* 0x250853AE: je 0x2508563e */
   2657 L_250853B4:
   2658     esi = MEM32(ecx + 0x4); /* 0x250853B4: mov esi, dword ptr [ecx + 4] */
   2659     edx = MEM32(ecx); /* 0x250853B7: mov edx, dword ptr [ecx] */
   2660     MEM32(ebp + (-0x20)) = esi; /* 0x250853B9: mov dword ptr [ebp - 0x20], esi */
   2661     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250853BC: fld dword ptr [ebp - 0x20] */
   2662     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edi + 0x4)); /* 0x250853BF: fcomp dword ptr [edi + 4] */
   2663     fp_pop();
   2664     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250853C2: fnstsw ax */
   2665     /* test HI8(eax), 0x41u */ /* 0x250853C4: test ah, 0x41 */
   2666     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2667     _cf = 0;
   2668     _flag_k = FK_NARROW(FK_TEST, 24);
   2669     if (TEST_Z(_flag_a, _flag_b)) goto L_250853FC; /* 0x250853C7: je 0x250853fc */
   2670 L_250853C9:
   2671     ebx = esi; /* 0x250853C9: mov ebx, esi */
   2672     edi = edx; /* 0x250853CB: mov edi, edx */
   2673     MEM32(ebp + (-0x18)) = ebx; /* 0x250853CD: mov dword ptr [ebp - 0x18], ebx */
   2674     esi = ecx; /* 0x250853D0: mov esi, ecx */
   2675     edx = ecx; /* 0x250853D2: mov edx, ecx */
   2676 L_250853D4:
   2677     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250853D4: fld dword ptr [ebp - 0x18] */
   2678     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8);
   2679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2680     edx = edx - 8; /* 0x250853D7: sub edx, 8 */
   2681     _flag_k = FK_CMP;
   2682     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0x4)); /* 0x250853DA: fcomp dword ptr [edx + 4] */
   2683     fp_pop();
   2684     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250853DD: fnstsw ax */
   2685     /* test HI8(eax), 0x41u */ /* 0x250853DF: test ah, 0x41 */
   2686     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2687     _cf = 0;
   2688     _flag_k = FK_NARROW(FK_TEST, 24);
   2689     if (TEST_NZ(_flag_a, _flag_b)) goto L_250853F2; /* 0x250853E2: jne 0x250853f2 */
   2690 L_250853E4:
   2691     eax = MEM32(edx); /* 0x250853E4: mov eax, dword ptr [edx] */
   2692     MEM32(esi) = eax; /* 0x250853E6: mov dword ptr [esi], eax */
   2693     eax = MEM32(edx + 0x4); /* 0x250853E8: mov eax, dword ptr [edx + 4] */
   2694     MEM32(esi + 0x4) = eax; /* 0x250853EB: mov dword ptr [esi + 4], eax */
   2695     esi = edx; /* 0x250853EE: mov esi, edx */
   2696     RECOMP_BACKEDGE();
   2697     goto L_250853D4; /* 0x250853F0: jmp 0x250853d4 */
   2698 L_250853F2:
   2699     MEM32(esi) = edi; /* 0x250853F2: mov dword ptr [esi], edi */
   2700     edi = MEM32(ebp + 0x8); /* 0x250853F4: mov edi, dword ptr [ebp + 8] */
   2701     MEM32(esi + 0x4) = ebx; /* 0x250853F7: mov dword ptr [esi + 4], ebx */
   2702     goto L_2508541A; /* 0x250853FA: jmp 0x2508541a */
   2703 L_250853FC:
   2704     /* cmp edi, ecx */ /* 0x250853FC: cmp edi, ecx */
   2705     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2706     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2707     _flag_k = FK_CMP;
   2708     eax = ecx; /* 0x250853FE: mov eax, ecx */
   2709     if (CMP_EQ(_flag_a, _flag_b)) goto L_25085415; /* 0x25085400: je 0x25085415 */
   2710 L_25085402:
   2711     ebx = MEM32(eax + (-0x8)); /* 0x25085402: mov ebx, dword ptr [eax - 8] */
   2712     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
   2713     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2714     eax = eax - 8; /* 0x25085405: sub eax, 8 */
   2715     _flag_k = FK_CMP;
   2716     /* cmp eax, edi */ /* 0x25085408: cmp eax, edi */
   2717     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2718     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2719     _flag_k = FK_CMP;
   2720     MEM32(eax + 0x8) = ebx; /* 0x2508540A: mov dword ptr [eax + 8], ebx */
   2721     ebx = MEM32(eax + 0x4); /* 0x2508540D: mov ebx, dword ptr [eax + 4] */
   2722     MEM32(eax + 0xC) = ebx; /* 0x25085410: mov dword ptr [eax + 0xc], ebx */
   2723     RECOMP_BACKEDGE();
   2724     if (CMP_NE(_flag_a, _flag_b)) goto L_25085402; /* 0x25085413: jne 0x25085402 */
   2725 L_25085415:
   2726     MEM32(edi) = edx; /* 0x25085415: mov dword ptr [edi], edx */
   2727     MEM32(edi + 0x4) = esi; /* 0x25085417: mov dword ptr [edi + 4], esi */
   2728 L_2508541A:
   2729     eax = MEM32(ebp + 0xC); /* 0x2508541A: mov eax, dword ptr [ebp + 0xc] */
   2730     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   2731     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2732     ecx = ecx + 8; /* 0x2508541D: add ecx, 8 */
   2733     _flag_k = FK_ADD;
   2734     /* cmp ecx, eax */ /* 0x25085420: cmp ecx, eax */
   2735     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2736     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2737     _flag_k = FK_CMP;
   2738     RECOMP_BACKEDGE();
   2739     if (CMP_NE(_flag_a, _flag_b)) goto L_250853B4; /* 0x25085422: jne 0x250853b4 */
   2740 L_25085424:
   2741     edi = POP32_VAL(esp); /* 0x25085424: pop edi */
   2742     esi = POP32_VAL(esp); /* 0x25085425: pop esi */
   2743     ebx = POP32_VAL(esp); /* 0x25085426: pop ebx */
   2744     esp = ebp; /* 0x25085427: mov esp, ebp */
   2745     ebp = POP32_VAL(esp); /* 0x25085429: pop ebp */
   2746     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2508542A: ret  */
   2747 L_2508542B:
   2748     /* cmp eax, 0x80u */ /* 0x2508542B: cmp eax, 0x80 */
   2749     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u);
   2750     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2751     _flag_k = FK_CMP;
   2752     ebx = edx; /* 0x25085430: mov ebx, edx */
   2753     MEM32(ebp + (-0x4)) = ebx; /* 0x25085432: mov dword ptr [ebp - 4], ebx */
   2754     if (CMP_LE(_flag_a, _flag_b)) goto L_25085575; /* 0x25085435: jle 0x25085575 */
   2755 L_2508543B:
   2756     edx = MEM32(ebx + (-0x4)); /* 0x2508543B: mov edx, dword ptr [ebx - 4] */
   2757     ecx = MEM32(ebx + (-0x8)); /* 0x2508543E: mov ecx, dword ptr [ebx - 8] */
   2758     eax = ebx; /* 0x25085441: mov eax, ebx */
   2759     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2760     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2761     eax = eax - edi; /* 0x25085443: sub eax, edi */
   2762     _flag_k = FK_CMP;
   2763     if (3u) _cf = (((eax) >> 2) & 1u); /* 0x25085445: sar eax, 3 */
   2764     if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2765     eax = (uint32_t)((int32_t)eax >> 3u);
   2766     MEM32(ebp + (-0x8)) = edx; /* 0x25085448: mov dword ptr [ebp - 8], edx */
   2767     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2508544B: cdq  */
   2768     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2770     eax = eax - edx; /* 0x2508544C: sub eax, edx */
   2771     _flag_k = FK_CMP;
   2772     if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2508544E: sar eax, 1 */
   2773     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2774     eax = (uint32_t)((int32_t)eax >> 1u);
   2775     MEM32(ebp + (-0xC)) = ecx; /* 0x25085450: mov dword ptr [ebp - 0xc], ecx */
   2776     ecx = MEM32(edi + eax * 8); /* 0x25085453: mov ecx, dword ptr [edi + eax*8] */
   2777     edx = MEM32(edi + eax * 8 + 0x4); /* 0x25085456: mov edx, dword ptr [edi + eax*8 + 4] */
   2778     eax = MEM32(edi); /* 0x2508545A: mov eax, dword ptr [edi] */
   2779     MEM32(ebp + (-0x1C)) = ecx; /* 0x2508545C: mov dword ptr [ebp - 0x1c], ecx */
   2780     ecx = MEM32(edi + 0x4); /* 0x2508545F: mov ecx, dword ptr [edi + 4] */
   2781     MEM32(ebp + (-0x10)) = ecx; /* 0x25085462: mov dword ptr [ebp - 0x10], ecx */
   2782     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x25085465: fld dword ptr [ebp - 0x10] */
   2783     MEM32(ebp + (-0x18)) = edx; /* 0x25085468: mov dword ptr [ebp - 0x18], edx */
   2784     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x18))); /* 0x2508546B: fcomp dword ptr [ebp - 0x18] */
   2785     fp_pop();
   2786     MEM32(ebp + (-0x14)) = eax; /* 0x2508546E: mov dword ptr [ebp - 0x14], eax */
   2787     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25085471: fnstsw ax */
   2788     /* test HI8(eax), 0x41u */ /* 0x25085473: test ah, 0x41 */
   2789     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2790     _cf = 0;
   2791     _flag_k = FK_NARROW(FK_TEST, 24);
   2792     if (TEST_NZ(_flag_a, _flag_b)) goto L_250854B5; /* 0x25085476: jne 0x250854b5 */
   2793 L_25085478:
   2794     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x25085478: fld dword ptr [ebp - 0x18] */
   2795     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x8))); /* 0x2508547B: fcomp dword ptr [ebp - 8] */
   2796     fp_pop();
   2797     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2508547E: fnstsw ax */
   2798     /* test HI8(eax), 0x41u */ /* 0x25085480: test ah, 0x41 */
   2799     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2800     _cf = 0;
   2801     _flag_k = FK_NARROW(FK_TEST, 24);
   2802     if (TEST_NZ(_flag_a, _flag_b)) goto L_25085495; /* 0x25085483: jne 0x25085495 */
   2803 L_25085485:
   2804     eax = ebp + (-0x1C); /* 0x25085485: lea eax, [ebp - 0x1c] */
   2805     edx = MEM32(eax); /* 0x25085488: mov edx, dword ptr [eax] */
   2806     eax = MEM32(eax + 0x4); /* 0x2508548A: mov eax, dword ptr [eax + 4] */
   2807     MEM32(ebp + (-0x24)) = edx; /* 0x2508548D: mov dword ptr [ebp - 0x24], edx */
   2808     MEM32(ebp + (-0x20)) = eax; /* 0x25085490: mov dword ptr [ebp - 0x20], eax */
   2809     goto L_250854E5; /* 0x25085493: jmp 0x250854e5 */
   2810 L_25085495:
   2811     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x25085495: fld dword ptr [ebp - 0x10] */
   2812     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x8))); /* 0x25085498: fcomp dword ptr [ebp - 8] */
   2813     fp_pop();
   2814     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2508549B: fnstsw ax */
   2815     /* test HI8(eax), 0x41u */ /* 0x2508549D: test ah, 0x41 */
   2816     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2817     _cf = 0;
   2818     _flag_k = FK_NARROW(FK_TEST, 24);
   2819     eax = ebp + (-0xC); /* 0x250854A0: lea eax, [ebp - 0xc] */
   2820     if (TEST_Z(_flag_a, _flag_b)) goto L_250854A8; /* 0x250854A3: je 0x250854a8 */
   2821 L_250854A5:
   2822     eax = ebp + (-0x14); /* 0x250854A5: lea eax, [ebp - 0x14] */
   2823 L_250854A8:
   2824     edx = MEM32(eax); /* 0x250854A8: mov edx, dword ptr [eax] */
   2825     eax = MEM32(eax + 0x4); /* 0x250854AA: mov eax, dword ptr [eax + 4] */
   2826     MEM32(ebp + (-0x24)) = edx; /* 0x250854AD: mov dword ptr [ebp - 0x24], edx */
   2827     MEM32(ebp + (-0x20)) = eax; /* 0x250854B0: mov dword ptr [ebp - 0x20], eax */
   2828     goto L_250854E5; /* 0x250854B3: jmp 0x250854e5 */
   2829 L_250854B5:
   2830     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250854B5: fld dword ptr [ebp - 0x10] */
   2831     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x8))); /* 0x250854B8: fcomp dword ptr [ebp - 8] */
   2832     fp_pop();
   2833     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250854BB: fnstsw ax */
   2834     /* test HI8(eax), 0x41u */ /* 0x250854BD: test ah, 0x41 */
   2835     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2836     _cf = 0;
   2837     _flag_k = FK_NARROW(FK_TEST, 24);
   2838     if (TEST_NZ(_flag_a, _flag_b)) goto L_250854C7; /* 0x250854C0: jne 0x250854c7 */
   2839 L_250854C2:
   2840     eax = ebp + (-0x14); /* 0x250854C2: lea eax, [ebp - 0x14] */
   2841     goto L_250854DA; /* 0x250854C5: jmp 0x250854da */
   2842 L_250854C7:
   2843     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250854C7: fld dword ptr [ebp - 0x18] */
   2844     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x8))); /* 0x250854CA: fcomp dword ptr [ebp - 8] */
   2845     fp_pop();
   2846     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250854CD: fnstsw ax */
   2847     /* test HI8(eax), 0x41u */ /* 0x250854CF: test ah, 0x41 */
   2848     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2849     _cf = 0;
   2850     _flag_k = FK_NARROW(FK_TEST, 24);
   2851     eax = ebp + (-0xC); /* 0x250854D2: lea eax, [ebp - 0xc] */
   2852     if (TEST_Z(_flag_a, _flag_b)) goto L_250854DA; /* 0x250854D5: je 0x250854da */
   2853 L_250854D7:
   2854     eax = ebp + (-0x1C); /* 0x250854D7: lea eax, [ebp - 0x1c] */
   2855 L_250854DA:
   2856     ecx = MEM32(eax); /* 0x250854DA: mov ecx, dword ptr [eax] */
   2857     edx = MEM32(eax + 0x4); /* 0x250854DC: mov edx, dword ptr [eax + 4] */
   2858     MEM32(ebp + (-0x24)) = ecx; /* 0x250854DF: mov dword ptr [ebp - 0x24], ecx */
   2859     MEM32(ebp + (-0x20)) = edx; /* 0x250854E2: mov dword ptr [ebp - 0x20], edx */
   2860 L_250854E5:
   2861     ecx = ebx; /* 0x250854E5: mov ecx, ebx */
   2862     esi = edi; /* 0x250854E7: mov esi, edi */
   2863 L_250854E9:
   2864     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250854E9: fld dword ptr [esi + 4] */
   2865     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x20))); /* 0x250854EC: fcomp dword ptr [ebp - 0x20] */
   2866     fp_pop();
   2867     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250854EF: fnstsw ax */
   2868     /* test HI8(eax), 0x41u */ /* 0x250854F1: test ah, 0x41 */
   2869     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2870     _cf = 0;
   2871     _flag_k = FK_NARROW(FK_TEST, 24);
   2872     if (TEST_NZ(_flag_a, _flag_b)) goto L_250854FB; /* 0x250854F4: jne 0x250854fb */
   2873 L_250854F6:
   2874     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(8);
   2875     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2876     esi = esi + 8; /* 0x250854F6: add esi, 8 */
   2877     _flag_k = FK_ADD;
   2878     RECOMP_BACKEDGE();
   2879     goto L_250854E9; /* 0x250854F9: jmp 0x250854e9 */
   2880 L_250854FB:
   2881     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250854FB: fld dword ptr [ebp - 0x20] */
   2882     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   2883     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2884     ecx = ecx - 8; /* 0x250854FE: sub ecx, 8 */
   2885     _flag_k = FK_CMP;
   2886     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx + 0x4)); /* 0x25085501: fcomp dword ptr [ecx + 4] */
   2887     fp_pop();
   2888     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25085504: fnstsw ax */
   2889     /* test HI8(eax), 0x41u */ /* 0x25085506: test ah, 0x41 */
   2890     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2891     _cf = 0;
   2892     _flag_k = FK_NARROW(FK_TEST, 24);
   2893     RECOMP_BACKEDGE();
   2894     if (TEST_Z(_flag_a, _flag_b)) goto L_250854FB; /* 0x25085509: je 0x250854fb */
   2895 L_2508550B:
   2896     /* cmp ecx, esi */ /* 0x2508550B: cmp ecx, esi */
   2897     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
   2898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2899     _flag_k = FK_CMP;
   2900     if (CMP_BE(_flag_a, _flag_b)) goto L_2508552B; /* 0x2508550D: jbe 0x2508552b */
   2901 L_2508550F:
   2902     ebx = MEM32(ecx); /* 0x2508550F: mov ebx, dword ptr [ecx] */
   2903     eax = MEM32(esi); /* 0x25085511: mov eax, dword ptr [esi] */
   2904     edx = MEM32(esi + 0x4); /* 0x25085513: mov edx, dword ptr [esi + 4] */
   2905     MEM32(esi) = ebx; /* 0x25085516: mov dword ptr [esi], ebx */
   2906     ebx = MEM32(ecx + 0x4); /* 0x25085518: mov ebx, dword ptr [ecx + 4] */
   2907     MEM32(esi + 0x4) = ebx; /* 0x2508551B: mov dword ptr [esi + 4], ebx */
   2908     ebx = MEM32(ebp + (-0x4)); /* 0x2508551E: mov ebx, dword ptr [ebp - 4] */
   2909     MEM32(ecx) = eax; /* 0x25085521: mov dword ptr [ecx], eax */
   2910     MEM32(ecx + 0x4) = edx; /* 0x25085523: mov dword ptr [ecx + 4], edx */
   2911     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(8);
   2912     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2913     esi = esi + 8; /* 0x25085526: add esi, 8 */
   2914     _flag_k = FK_ADD;
   2915     RECOMP_BACKEDGE();
   2916     goto L_250854E9; /* 0x25085529: jmp 0x250854e9 */
   2917 L_2508552B:
   2918     eax = ebx; /* 0x2508552B: mov eax, ebx */
   2919     ecx = esi; /* 0x2508552D: mov ecx, esi */
   2920     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2921     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2922     eax = eax - esi; /* 0x2508552F: sub eax, esi */
   2923     _flag_k = FK_CMP;
   2924     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   2925     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2926     ecx = ecx - edi; /* 0x25085531: sub ecx, edi */
   2927     _flag_k = FK_CMP;
   2928     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF8u);
   2929     eax = eax & 0xFFFFFFF8u; /* 0x25085533: and eax, 0xfffffff8 */
   2930     _cf = 0;
   2931     _flag_k = FK_TEST;
   2932     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF8u);
   2933     ecx = ecx & 0xFFFFFFF8u; /* 0x25085536: and ecx, 0xfffffff8 */
   2934     _cf = 0;
   2935     _flag_k = FK_TEST;
   2936     /* cmp eax, ecx */ /* 0x25085539: cmp eax, ecx */
   2937     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2938     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2939     _flag_k = FK_CMP;
   2940     PUSH32(esp, 0); /* 0x2508553B: push 0 */
   2941     if (CMP_G(_flag_a, _flag_b)) goto L_25085550; /* 0x2508553D: jg 0x25085550 */
   2942 L_2508553F:
   2943     PUSH32(esp, ebx); /* 0x2508553F: push ebx */
   2944     PUSH32(esp, esi); /* 0x25085540: push esi */
   2945     RECOMP_ICALL(0x25085650u); /* 0x25085541: call 0x25085650 */ /* not lifted */
   2946     RECOMP_FLAGS_IN();
   2947     ebx = esi; /* 0x25085546: mov ebx, esi */
   2948     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2949     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2950     esp = esp + 0xCu; /* 0x25085548: add esp, 0xc */
   2951     _flag_k = FK_ADD;
   2952     MEM32(ebp + (-0x4)) = ebx; /* 0x2508554B: mov dword ptr [ebp - 4], ebx */
   2953     goto L_2508555C; /* 0x2508554E: jmp 0x2508555c */
   2954 L_25085550:
   2955     PUSH32(esp, esi); /* 0x25085550: push esi */
   2956     PUSH32(esp, edi); /* 0x25085551: push edi */
   2957     RECOMP_ICALL(0x25085650u); /* 0x25085552: call 0x25085650 */ /* not lifted */
   2958     RECOMP_FLAGS_IN();
   2959     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2960     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2961     esp = esp + 0xCu; /* 0x25085557: add esp, 0xc */
   2962     _flag_k = FK_ADD;
   2963     edi = esi; /* 0x2508555A: mov edi, esi */
   2964 L_2508555C:
   2965     edx = ebx; /* 0x2508555C: mov edx, ebx */
   2966     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   2967     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2968     edx = edx - edi; /* 0x2508555E: sub edx, edi */
   2969     _flag_k = FK_CMP;
   2970     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFFF8u);
   2971     edx = edx & 0xFFFFFFF8u; /* 0x25085560: and edx, 0xfffffff8 */
   2972     _cf = 0;
   2973     _flag_k = FK_TEST;
   2974     /* cmp edx, 0x80u */ /* 0x25085563: cmp edx, 0x80 */
   2975     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x80u);
   2976     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2977     _flag_k = FK_CMP;
   2978     RECOMP_BACKEDGE();
   2979     if (CMP_G(_flag_a, _flag_b)) goto L_2508543B; /* 0x25085569: jg 0x2508543b */
   2980 L_2508556F:
   2981     edi = MEM32(ebp + 0x8); /* 0x2508556F: mov edi, dword ptr [ebp + 8] */
   2982     edx = MEM32(ebp + 0xC); /* 0x25085572: mov edx, dword ptr [ebp + 0xc] */
   2983 L_25085575:
   2984     ebx = edi + 0x80; /* 0x25085575: lea ebx, [edi + 0x80] */
   2985     /* cmp edi, ebx */ /* 0x2508557B: cmp edi, ebx */
   2986     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2987     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2988     _flag_k = FK_CMP;
   2989     MEM32(ebp + (-0x4)) = ebx; /* 0x2508557D: mov dword ptr [ebp - 4], ebx */
   2990     if (CMP_EQ(_flag_a, _flag_b)) goto L_250855FF; /* 0x25085580: je 0x250855ff */
   2991 L_25085582:
   2992     ecx = edi + 0x8; /* 0x25085582: lea ecx, [edi + 8] */
   2993     /* cmp ecx, ebx */ /* 0x25085585: cmp ecx, ebx */
   2994     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2996     _flag_k = FK_CMP;
   2997     if (CMP_EQ(_flag_a, _flag_b)) goto L_250855FF; /* 0x25085587: je 0x250855ff */
   2998 L_25085589:
   2999     esi = MEM32(ecx + 0x4); /* 0x25085589: mov esi, dword ptr [ecx + 4] */
   3000     edx = MEM32(ecx); /* 0x2508558C: mov edx, dword ptr [ecx] */
   3001     MEM32(ebp + (-0x20)) = esi; /* 0x2508558E: mov dword ptr [ebp - 0x20], esi */
   3002     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25085591: fld dword ptr [ebp - 0x20] */
   3003     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edi + 0x4)); /* 0x25085594: fcomp dword ptr [edi + 4] */
   3004     fp_pop();
   3005     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25085597: fnstsw ax */
   3006     /* test HI8(eax), 0x41u */ /* 0x25085599: test ah, 0x41 */
   3007     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3008     _cf = 0;
   3009     _flag_k = FK_NARROW(FK_TEST, 24);
   3010     if (TEST_Z(_flag_a, _flag_b)) goto L_250855D4; /* 0x2508559C: je 0x250855d4 */
   3011 L_2508559E:
   3012     ebx = esi; /* 0x2508559E: mov ebx, esi */
   3013     edi = edx; /* 0x250855A0: mov edi, edx */
   3014     MEM32(ebp + (-0x18)) = ebx; /* 0x250855A2: mov dword ptr [ebp - 0x18], ebx */
   3015     esi = ecx; /* 0x250855A5: mov esi, ecx */
   3016     edx = ecx; /* 0x250855A7: mov edx, ecx */
   3017 L_250855A9:
   3018     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250855A9: fld dword ptr [ebp - 0x18] */
   3019     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8);
   3020     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3021     edx = edx - 8; /* 0x250855AC: sub edx, 8 */
   3022     _flag_k = FK_CMP;
   3023     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0x4)); /* 0x250855AF: fcomp dword ptr [edx + 4] */
   3024     fp_pop();
   3025     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250855B2: fnstsw ax */
   3026     /* test HI8(eax), 0x41u */ /* 0x250855B4: test ah, 0x41 */
   3027     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3028     _cf = 0;
   3029     _flag_k = FK_NARROW(FK_TEST, 24);
   3030     if (TEST_NZ(_flag_a, _flag_b)) goto L_250855C7; /* 0x250855B7: jne 0x250855c7 */
   3031 L_250855B9:
   3032     eax = MEM32(edx); /* 0x250855B9: mov eax, dword ptr [edx] */
   3033     MEM32(esi) = eax; /* 0x250855BB: mov dword ptr [esi], eax */
   3034     eax = MEM32(edx + 0x4); /* 0x250855BD: mov eax, dword ptr [edx + 4] */
   3035     MEM32(esi + 0x4) = eax; /* 0x250855C0: mov dword ptr [esi + 4], eax */
   3036     esi = edx; /* 0x250855C3: mov esi, edx */
   3037     RECOMP_BACKEDGE();
   3038     goto L_250855A9; /* 0x250855C5: jmp 0x250855a9 */
   3039 L_250855C7:
   3040     MEM32(esi) = edi; /* 0x250855C7: mov dword ptr [esi], edi */
   3041     edi = MEM32(ebp + 0x8); /* 0x250855C9: mov edi, dword ptr [ebp + 8] */
   3042     MEM32(esi + 0x4) = ebx; /* 0x250855CC: mov dword ptr [esi + 4], ebx */
   3043     ebx = MEM32(ebp + (-0x4)); /* 0x250855CF: mov ebx, dword ptr [ebp - 4] */
   3044     goto L_250855F5; /* 0x250855D2: jmp 0x250855f5 */
   3045 L_250855D4:
   3046     /* cmp edi, ecx */ /* 0x250855D4: cmp edi, ecx */
   3047     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   3048     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3049     _flag_k = FK_CMP;
   3050     eax = ecx; /* 0x250855D6: mov eax, ecx */
   3051     if (CMP_EQ(_flag_a, _flag_b)) goto L_250855F0; /* 0x250855D8: je 0x250855f0 */
   3052 L_250855DA:
   3053     ebx = MEM32(eax + (-0x8)); /* 0x250855DA: mov ebx, dword ptr [eax - 8] */
   3054     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
   3055     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3056     eax = eax - 8; /* 0x250855DD: sub eax, 8 */
   3057     _flag_k = FK_CMP;
   3058     /* cmp eax, edi */ /* 0x250855E0: cmp eax, edi */
   3059     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   3060     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3061     _flag_k = FK_CMP;
   3062     MEM32(eax + 0x8) = ebx; /* 0x250855E2: mov dword ptr [eax + 8], ebx */
   3063     ebx = MEM32(eax + 0x4); /* 0x250855E5: mov ebx, dword ptr [eax + 4] */
   3064     MEM32(eax + 0xC) = ebx; /* 0x250855E8: mov dword ptr [eax + 0xc], ebx */
   3065     RECOMP_BACKEDGE();
   3066     if (CMP_NE(_flag_a, _flag_b)) goto L_250855DA; /* 0x250855EB: jne 0x250855da */
   3067 L_250855ED:
   3068     ebx = MEM32(ebp + (-0x4)); /* 0x250855ED: mov ebx, dword ptr [ebp - 4] */
   3069 L_250855F0:
   3070     MEM32(edi) = edx; /* 0x250855F0: mov dword ptr [edi], edx */
   3071     MEM32(edi + 0x4) = esi; /* 0x250855F2: mov dword ptr [edi + 4], esi */
   3072 L_250855F5:
   3073     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3074     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3075     ecx = ecx + 8; /* 0x250855F5: add ecx, 8 */
   3076     _flag_k = FK_ADD;
   3077     /* cmp ecx, ebx */ /* 0x250855F8: cmp ecx, ebx */
   3078     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3079     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3080     _flag_k = FK_CMP;
   3081     RECOMP_BACKEDGE();
   3082     if (CMP_NE(_flag_a, _flag_b)) goto L_25085589; /* 0x250855FA: jne 0x25085589 */
   3083 L_250855FC:
   3084     edx = MEM32(ebp + 0xC); /* 0x250855FC: mov edx, dword ptr [ebp + 0xc] */
   3085 L_250855FF:
   3086     ecx = ebx; /* 0x250855FF: mov ecx, ebx */
   3087     /* cmp ecx, edx */ /* 0x25085601: cmp ecx, edx */
   3088     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3089     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3090     _flag_k = FK_CMP;
   3091     if (CMP_EQ(_flag_a, _flag_b)) goto L_2508563E; /* 0x25085603: je 0x2508563e */
   3092 L_25085605:
   3093     ebx = MEM32(ecx + 0x4); /* 0x25085605: mov ebx, dword ptr [ecx + 4] */
   3094     edi = MEM32(ecx); /* 0x25085608: mov edi, dword ptr [ecx] */
   3095     MEM32(ebp + (-0x20)) = ebx; /* 0x2508560A: mov dword ptr [ebp - 0x20], ebx */
   3096     edx = ecx; /* 0x2508560D: mov edx, ecx */
   3097     esi = ecx; /* 0x2508560F: mov esi, ecx */
   3098 L_25085611:
   3099     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x25085611: fld dword ptr [ebp - 0x20] */
   3100     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(8);
   3101     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3102     esi = esi - 8; /* 0x25085614: sub esi, 8 */
   3103     _flag_k = FK_CMP;
   3104     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(esi + 0x4)); /* 0x25085617: fcomp dword ptr [esi + 4] */
   3105     fp_pop();
   3106     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2508561A: fnstsw ax */
   3107     /* test HI8(eax), 0x41u */ /* 0x2508561C: test ah, 0x41 */
   3108     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3109     _cf = 0;
   3110     _flag_k = FK_NARROW(FK_TEST, 24);
   3111     if (TEST_NZ(_flag_a, _flag_b)) goto L_2508562F; /* 0x2508561F: jne 0x2508562f */
   3112 L_25085621:
   3113     eax = MEM32(esi); /* 0x25085621: mov eax, dword ptr [esi] */
   3114     MEM32(edx) = eax; /* 0x25085623: mov dword ptr [edx], eax */
   3115     eax = MEM32(esi + 0x4); /* 0x25085625: mov eax, dword ptr [esi + 4] */
   3116     MEM32(edx + 0x4) = eax; /* 0x25085628: mov dword ptr [edx + 4], eax */
   3117     edx = esi; /* 0x2508562B: mov edx, esi */
   3118     RECOMP_BACKEDGE();
   3119     goto L_25085611; /* 0x2508562D: jmp 0x25085611 */
   3120 L_2508562F:
   3121     eax = MEM32(ebp + 0xC); /* 0x2508562F: mov eax, dword ptr [ebp + 0xc] */
   3122     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3123     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3124     ecx = ecx + 8; /* 0x25085632: add ecx, 8 */
   3125     _flag_k = FK_ADD;
   3126     /* cmp ecx, eax */ /* 0x25085635: cmp ecx, eax */
   3127     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   3128     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3129     _flag_k = FK_CMP;
   3130     MEM32(edx) = edi; /* 0x25085637: mov dword ptr [edx], edi */
   3131     MEM32(edx + 0x4) = ebx; /* 0x25085639: mov dword ptr [edx + 4], ebx */
   3132     RECOMP_BACKEDGE();
   3133     if (CMP_NE(_flag_a, _flag_b)) goto L_25085605; /* 0x2508563C: jne 0x25085605 */
   3134 L_2508563E:
   3135     edi = POP32_VAL(esp); /* 0x2508563E: pop edi */
   3136     esi = POP32_VAL(esp); /* 0x2508563F: pop esi */
   3137     ebx = POP32_VAL(esp); /* 0x25085640: pop ebx */
   3138     esp = ebp; /* 0x25085641: mov esp, ebp */
   3139     ebp = POP32_VAL(esp); /* 0x25085643: pop ebp */
   3140     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085644: ret  */
   3141     RECOMP_REGS_OUT();
   3142 }
   3143 
   3144 void sub_25085650(void) {
   3145     int _fpu_cmp = 0;
   3146     uint32_t _cf = 0;
   3147     int _df = 1;
   3148     uint32_t _flag_k = FK_NONE;
   3149     uint32_t _flag_a = 0, _flag_b = 0;
   3150     uint32_t _itail_tgt = 0;
   3151     RECOMP_REGS_LOCALS
   3152     RECOMP_ENTER(0x25085650u);
   3153 
   3154 L_25085650:
   3155     PUSH32(esp, ebp); /* 0x25085650: push ebp */
   3156     ebp = esp; /* 0x25085651: mov ebp, esp */
   3157     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
   3158     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3159     esp = esp - 0x20u; /* 0x25085653: sub esp, 0x20 */
   3160     _flag_k = FK_CMP;
   3161     PUSH32(esp, ebx); /* 0x25085656: push ebx */
   3162     ebx = MEM32(ebp + 0xC); /* 0x25085657: mov ebx, dword ptr [ebp + 0xc] */
   3163     PUSH32(esp, edi); /* 0x2508565A: push edi */
   3164     edi = MEM32(ebp + 0x8); /* 0x2508565B: mov edi, dword ptr [ebp + 8] */
   3165     eax = ebx; /* 0x2508565E: mov eax, ebx */
   3166     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   3167     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3168     eax = eax - edi; /* 0x25085660: sub eax, edi */
   3169     _flag_k = FK_CMP;
   3170     ecx = eax; /* 0x25085662: mov ecx, eax */
   3171     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF8u);
   3172     ecx = ecx & 0xFFFFFFF8u; /* 0x25085664: and ecx, 0xfffffff8 */
   3173     _cf = 0;
   3174     _flag_k = FK_TEST;
   3175     /* cmp ecx, 0x80u */ /* 0x25085667: cmp ecx, 0x80 */
   3176     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   3177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3178     _flag_k = FK_CMP;
   3179     if (CMP_LE(_flag_a, _flag_b)) goto L_2508578C; /* 0x2508566D: jle 0x2508578c */
   3180 L_25085673:
   3181     PUSH32(esp, esi); /* 0x25085673: push esi */
   3182 L_25085674:
   3183     edx = MEM32(ebx + (-0x8)); /* 0x25085674: mov edx, dword ptr [ebx - 8] */
   3184     ecx = MEM32(ebx + (-0x4)); /* 0x25085677: mov ecx, dword ptr [ebx - 4] */
   3185     if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2508567A: sar eax, 3 */
   3186     if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3187     eax = (uint32_t)((int32_t)eax >> 3u);
   3188     MEM32(ebp + (-0x8)) = edx; /* 0x2508567D: mov dword ptr [ebp - 8], edx */
   3189     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x25085680: cdq  */
   3190     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3191     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3192     eax = eax - edx; /* 0x25085681: sub eax, edx */
   3193     _flag_k = FK_CMP;
   3194     if (1u) _cf = (((eax) >> 0) & 1u); /* 0x25085683: sar eax, 1 */
   3195     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3196     eax = (uint32_t)((int32_t)eax >> 1u);
   3197     edx = MEM32(edi + eax * 8); /* 0x25085685: mov edx, dword ptr [edi + eax*8] */
   3198     eax = MEM32(edi + eax * 8 + 0x4); /* 0x25085688: mov eax, dword ptr [edi + eax*8 + 4] */
   3199     MEM32(ebp + (-0x18)) = edx; /* 0x2508568C: mov dword ptr [ebp - 0x18], edx */
   3200     edx = MEM32(edi + 0x4); /* 0x2508568F: mov edx, dword ptr [edi + 4] */
   3201     MEM32(ebp + (-0xC)) = edx; /* 0x25085692: mov dword ptr [ebp - 0xc], edx */
   3202     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x25085695: fld dword ptr [ebp - 0xc] */
   3203     MEM32(ebp + (-0x14)) = eax; /* 0x25085698: mov dword ptr [ebp - 0x14], eax */
   3204     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x14))); /* 0x2508569B: fcomp dword ptr [ebp - 0x14] */
   3205     fp_pop();
   3206     MEM32(ebp + (-0x4)) = ecx; /* 0x2508569E: mov dword ptr [ebp - 4], ecx */
   3207     ecx = MEM32(edi); /* 0x250856A1: mov ecx, dword ptr [edi] */
   3208     MEM32(ebp + (-0x10)) = ecx; /* 0x250856A3: mov dword ptr [ebp - 0x10], ecx */
   3209     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250856A6: fnstsw ax */
   3210     /* test HI8(eax), 0x41u */ /* 0x250856A8: test ah, 0x41 */
   3211     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3212     _cf = 0;
   3213     _flag_k = FK_NARROW(FK_TEST, 24);
   3214     if (TEST_NZ(_flag_a, _flag_b)) goto L_250856CF; /* 0x250856AB: jne 0x250856cf */
   3215 L_250856AD:
   3216     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250856AD: fld dword ptr [ebp - 0x14] */
   3217     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x4))); /* 0x250856B0: fcomp dword ptr [ebp - 4] */
   3218     fp_pop();
   3219     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250856B3: fnstsw ax */
   3220     /* test HI8(eax), 0x41u */ /* 0x250856B5: test ah, 0x41 */
   3221     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3222     _cf = 0;
   3223     _flag_k = FK_NARROW(FK_TEST, 24);
   3224     if (TEST_Z(_flag_a, _flag_b)) goto L_250856F1; /* 0x250856B8: je 0x250856f1 */
   3225 L_250856BA:
   3226     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250856BA: fld dword ptr [ebp - 0xc] */
   3227     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x4))); /* 0x250856BD: fcomp dword ptr [ebp - 4] */
   3228     fp_pop();
   3229     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250856C0: fnstsw ax */
   3230     /* test HI8(eax), 0x41u */ /* 0x250856C2: test ah, 0x41 */
   3231     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3232     _cf = 0;
   3233     _flag_k = FK_NARROW(FK_TEST, 24);
   3234     eax = ebp + (-0x8); /* 0x250856C5: lea eax, [ebp - 8] */
   3235     if (TEST_Z(_flag_a, _flag_b)) goto L_250856F4; /* 0x250856C8: je 0x250856f4 */
   3236 L_250856CA:
   3237     eax = ebp + (-0x10); /* 0x250856CA: lea eax, [ebp - 0x10] */
   3238     goto L_250856F4; /* 0x250856CD: jmp 0x250856f4 */
   3239 L_250856CF:
   3240     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250856CF: fld dword ptr [ebp - 0xc] */
   3241     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x4))); /* 0x250856D2: fcomp dword ptr [ebp - 4] */
   3242     fp_pop();
   3243     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250856D5: fnstsw ax */
   3244     /* test HI8(eax), 0x41u */ /* 0x250856D7: test ah, 0x41 */
   3245     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3246     _cf = 0;
   3247     _flag_k = FK_NARROW(FK_TEST, 24);
   3248     if (TEST_NZ(_flag_a, _flag_b)) goto L_250856E1; /* 0x250856DA: jne 0x250856e1 */
   3249 L_250856DC:
   3250     eax = ebp + (-0x10); /* 0x250856DC: lea eax, [ebp - 0x10] */
   3251     goto L_250856F4; /* 0x250856DF: jmp 0x250856f4 */
   3252 L_250856E1:
   3253     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250856E1: fld dword ptr [ebp - 0x14] */
   3254     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x4))); /* 0x250856E4: fcomp dword ptr [ebp - 4] */
   3255     fp_pop();
   3256     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250856E7: fnstsw ax */
   3257     /* test HI8(eax), 0x41u */ /* 0x250856E9: test ah, 0x41 */
   3258     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3259     _cf = 0;
   3260     _flag_k = FK_NARROW(FK_TEST, 24);
   3261     eax = ebp + (-0x8); /* 0x250856EC: lea eax, [ebp - 8] */
   3262     if (TEST_Z(_flag_a, _flag_b)) goto L_250856F4; /* 0x250856EF: je 0x250856f4 */
   3263 L_250856F1:
   3264     eax = ebp + (-0x18); /* 0x250856F1: lea eax, [ebp - 0x18] */
   3265 L_250856F4:
   3266     ecx = MEM32(eax); /* 0x250856F4: mov ecx, dword ptr [eax] */
   3267     edx = MEM32(eax + 0x4); /* 0x250856F6: mov edx, dword ptr [eax + 4] */
   3268     MEM32(ebp + (-0x20)) = ecx; /* 0x250856F9: mov dword ptr [ebp - 0x20], ecx */
   3269     MEM32(ebp + (-0x1C)) = edx; /* 0x250856FC: mov dword ptr [ebp - 0x1c], edx */
   3270     ecx = ebx; /* 0x250856FF: mov ecx, ebx */
   3271     esi = edi; /* 0x25085701: mov esi, edi */
   3272 L_25085703:
   3273     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25085703: fld dword ptr [esi + 4] */
   3274     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x1C))); /* 0x25085706: fcomp dword ptr [ebp - 0x1c] */
   3275     fp_pop();
   3276     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x25085709: fnstsw ax */
   3277     /* test HI8(eax), 0x41u */ /* 0x2508570B: test ah, 0x41 */
   3278     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3279     _cf = 0;
   3280     _flag_k = FK_NARROW(FK_TEST, 24);
   3281     if (TEST_NZ(_flag_a, _flag_b)) goto L_25085715; /* 0x2508570E: jne 0x25085715 */
   3282 L_25085710:
   3283     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(8);
   3284     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3285     esi = esi + 8; /* 0x25085710: add esi, 8 */
   3286     _flag_k = FK_ADD;
   3287     RECOMP_BACKEDGE();
   3288     goto L_25085703; /* 0x25085713: jmp 0x25085703 */
   3289 L_25085715:
   3290     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x25085715: fld dword ptr [ebp - 0x1c] */
   3291     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3292     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3293     ecx = ecx - 8; /* 0x25085718: sub ecx, 8 */
   3294     _flag_k = FK_CMP;
   3295     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx + 0x4)); /* 0x2508571B: fcomp dword ptr [ecx + 4] */
   3296     fp_pop();
   3297     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2508571E: fnstsw ax */
   3298     /* test HI8(eax), 0x41u */ /* 0x25085720: test ah, 0x41 */
   3299     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   3300     _cf = 0;
   3301     _flag_k = FK_NARROW(FK_TEST, 24);
   3302     RECOMP_BACKEDGE();
   3303     if (TEST_Z(_flag_a, _flag_b)) goto L_25085715; /* 0x25085723: je 0x25085715 */
   3304 L_25085725:
   3305     /* cmp ecx, esi */ /* 0x25085725: cmp ecx, esi */
   3306     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
   3307     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3308     _flag_k = FK_CMP;
   3309     if (CMP_BE(_flag_a, _flag_b)) goto L_25085745; /* 0x25085727: jbe 0x25085745 */
   3310 L_25085729:
   3311     ebx = MEM32(ecx); /* 0x25085729: mov ebx, dword ptr [ecx] */
   3312     eax = MEM32(esi); /* 0x2508572B: mov eax, dword ptr [esi] */
   3313     edx = MEM32(esi + 0x4); /* 0x2508572D: mov edx, dword ptr [esi + 4] */
   3314     MEM32(esi) = ebx; /* 0x25085730: mov dword ptr [esi], ebx */
   3315     ebx = MEM32(ecx + 0x4); /* 0x25085732: mov ebx, dword ptr [ecx + 4] */
   3316     MEM32(esi + 0x4) = ebx; /* 0x25085735: mov dword ptr [esi + 4], ebx */
   3317     ebx = MEM32(ebp + 0xC); /* 0x25085738: mov ebx, dword ptr [ebp + 0xc] */
   3318     MEM32(ecx) = eax; /* 0x2508573B: mov dword ptr [ecx], eax */
   3319     MEM32(ecx + 0x4) = edx; /* 0x2508573D: mov dword ptr [ecx + 4], edx */
   3320     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(8);
   3321     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3322     esi = esi + 8; /* 0x25085740: add esi, 8 */
   3323     _flag_k = FK_ADD;
   3324     RECOMP_BACKEDGE();
   3325     goto L_25085703; /* 0x25085743: jmp 0x25085703 */
   3326 L_25085745:
   3327     eax = ebx; /* 0x25085745: mov eax, ebx */
   3328     ecx = esi; /* 0x25085747: mov ecx, esi */
   3329     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3331     eax = eax - esi; /* 0x25085749: sub eax, esi */
   3332     _flag_k = FK_CMP;
   3333     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   3334     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3335     ecx = ecx - edi; /* 0x2508574B: sub ecx, edi */
   3336     _flag_k = FK_CMP;
   3337     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF8u);
   3338     eax = eax & 0xFFFFFFF8u; /* 0x2508574D: and eax, 0xfffffff8 */
   3339     _cf = 0;
   3340     _flag_k = FK_TEST;
   3341     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF8u);
   3342     ecx = ecx & 0xFFFFFFF8u; /* 0x25085750: and ecx, 0xfffffff8 */
   3343     _cf = 0;
   3344     _flag_k = FK_TEST;
   3345     /* cmp eax, ecx */ /* 0x25085753: cmp eax, ecx */
   3346     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3347     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3348     _flag_k = FK_CMP;
   3349     PUSH32(esp, 0); /* 0x25085755: push 0 */
   3350     if (CMP_G(_flag_a, _flag_b)) goto L_2508576A; /* 0x25085757: jg 0x2508576a */
   3351 L_25085759:
   3352     PUSH32(esp, ebx); /* 0x25085759: push ebx */
   3353     PUSH32(esp, esi); /* 0x2508575A: push esi */
   3354     RECOMP_ICALL(0x25085650u); /* 0x2508575B: call 0x25085650 */ /* not lifted */
   3355     RECOMP_FLAGS_IN();
   3356     ebx = esi; /* 0x25085760: mov ebx, esi */
   3357     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3358     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3359     esp = esp + 0xCu; /* 0x25085762: add esp, 0xc */
   3360     _flag_k = FK_ADD;
   3361     MEM32(ebp + 0xC) = ebx; /* 0x25085765: mov dword ptr [ebp + 0xc], ebx */
   3362     goto L_25085776; /* 0x25085768: jmp 0x25085776 */
   3363 L_2508576A:
   3364     PUSH32(esp, esi); /* 0x2508576A: push esi */
   3365     PUSH32(esp, edi); /* 0x2508576B: push edi */
   3366     RECOMP_ICALL(0x25085650u); /* 0x2508576C: call 0x25085650 */ /* not lifted */
   3367     RECOMP_FLAGS_IN();
   3368     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3369     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3370     esp = esp + 0xCu; /* 0x25085771: add esp, 0xc */
   3371     _flag_k = FK_ADD;
   3372     edi = esi; /* 0x25085774: mov edi, esi */
   3373 L_25085776:
   3374     eax = ebx; /* 0x25085776: mov eax, ebx */
   3375     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   3376     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3377     eax = eax - edi; /* 0x25085778: sub eax, edi */
   3378     _flag_k = FK_CMP;
   3379     edx = eax; /* 0x2508577A: mov edx, eax */
   3380     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFFF8u);
   3381     edx = edx & 0xFFFFFFF8u; /* 0x2508577C: and edx, 0xfffffff8 */
   3382     _cf = 0;
   3383     _flag_k = FK_TEST;
   3384     /* cmp edx, 0x80u */ /* 0x2508577F: cmp edx, 0x80 */
   3385     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x80u);
   3386     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3387     _flag_k = FK_CMP;
   3388     RECOMP_BACKEDGE();
   3389     if (CMP_G(_flag_a, _flag_b)) goto L_25085674; /* 0x25085785: jg 0x25085674 */
   3390 L_2508578B:
   3391     esi = POP32_VAL(esp); /* 0x2508578B: pop esi */
   3392 L_2508578C:
   3393     edi = POP32_VAL(esp); /* 0x2508578C: pop edi */
   3394     ebx = POP32_VAL(esp); /* 0x2508578D: pop ebx */
   3395     esp = ebp; /* 0x2508578E: mov esp, ebp */
   3396     ebp = POP32_VAL(esp); /* 0x25085790: pop ebp */
   3397     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085791: ret  */
   3398     RECOMP_REGS_OUT();
   3399 }
   3400 
   3401 void sub_250857A0(void) {
   3402     int _fpu_cmp = 0;
   3403     uint32_t _cf = 0;
   3404     int _df = 1;
   3405     uint32_t _flag_k = FK_NONE;
   3406     uint32_t _flag_a = 0, _flag_b = 0;
   3407     uint32_t _itail_tgt = 0;
   3408     RECOMP_REGS_LOCALS
   3409     RECOMP_ENTER(0x250857A0u);
   3410 
   3411     goto L_250857A0;
   3412 L_2507BC50:
   3413     PUSH32(esp, ebp); /* 0x2507BC50: push ebp */
   3414     ebp = esp; /* 0x2507BC51: mov ebp, esp */
   3415     PUSH32(esp, ebx); /* 0x2507BC53: push ebx */
   3416     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507BC54: mov bl, byte ptr [ebp + 8] */
   3417     /* test LO8(ebx), 2 */ /* 0x2507BC57: test bl, 2 */
   3418     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   3419     _cf = 0;
   3420     _flag_k = FK_NARROW(FK_TEST, 24);
   3421     PUSH32(esp, esi); /* 0x2507BC5A: push esi */
   3422     esi = ecx; /* 0x2507BC5B: mov esi, ecx */
   3423     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC8E; /* 0x2507BC5D: je 0x2507bc8e */
   3424 L_2507BC5F:
   3425     eax = MEM32(esi + (-0x4)); /* 0x2507BC5F: mov eax, dword ptr [esi - 4] */
   3426     PUSH32(esp, edi); /* 0x2507BC62: push edi */
   3427     PUSH32(esp, 0x2507BE50u); /* 0x2507BC63: push 0x2507be50 */
   3428     edi = esi + (-0x4); /* 0x2507BC68: lea edi, [esi - 4] */
   3429     PUSH32(esp, eax); /* 0x2507BC6B: push eax */
   3430     PUSH32(esp, 0x224u); /* 0x2507BC6C: push 0x224 */
   3431     PUSH32(esp, esi); /* 0x2507BC71: push esi */
   3432     RECOMP_ICALL(0x25137F92u); /* 0x2507BC72: call 0x25137f92 */ /* not lifted */
   3433     RECOMP_FLAGS_IN();
   3434     /* test LO8(ebx), 1 */ /* 0x2507BC77: test bl, 1 */
   3435     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3436     _cf = 0;
   3437     _flag_k = FK_NARROW(FK_TEST, 24);
   3438     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC85; /* 0x2507BC7A: je 0x2507bc85 */
   3439 L_2507BC7C:
   3440     PUSH32(esp, edi); /* 0x2507BC7C: push edi */
   3441     RECOMP_ICALL(0x25137EECu); /* 0x2507BC7D: call 0x25137eec */ /* not lifted */
   3442     RECOMP_FLAGS_IN();
   3443     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3444     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3445     esp = esp + 4; /* 0x2507BC82: add esp, 4 */
   3446     _flag_k = FK_ADD;
   3447 L_2507BC85:
   3448     eax = edi; /* 0x2507BC85: mov eax, edi */
   3449     edi = POP32_VAL(esp); /* 0x2507BC87: pop edi */
   3450     esi = POP32_VAL(esp); /* 0x2507BC88: pop esi */
   3451     ebx = POP32_VAL(esp); /* 0x2507BC89: pop ebx */
   3452     ebp = POP32_VAL(esp); /* 0x2507BC8A: pop ebp */
   3453     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BC8B: ret 4 */
   3454 L_2507BC8E:
   3455     ecx = esi; /* 0x2507BC8E: mov ecx, esi */
   3456     RECOMP_ICALL(0x2507BE50u); /* 0x2507BC90: call 0x2507be50 */ /* not lifted */
   3457     RECOMP_FLAGS_IN();
   3458     /* test LO8(ebx), 1 */ /* 0x2507BC95: test bl, 1 */
   3459     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3460     _cf = 0;
   3461     _flag_k = FK_NARROW(FK_TEST, 24);
   3462     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BCA3; /* 0x2507BC98: je 0x2507bca3 */
   3463 L_2507BC9A:
   3464     PUSH32(esp, esi); /* 0x2507BC9A: push esi */
   3465     RECOMP_ICALL(0x25137EECu); /* 0x2507BC9B: call 0x25137eec */ /* not lifted */
   3466     RECOMP_FLAGS_IN();
   3467     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3468     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3469     esp = esp + 4; /* 0x2507BCA0: add esp, 4 */
   3470     _flag_k = FK_ADD;
   3471 L_2507BCA3:
   3472     eax = esi; /* 0x2507BCA3: mov eax, esi */
   3473     esi = POP32_VAL(esp); /* 0x2507BCA5: pop esi */
   3474     ebx = POP32_VAL(esp); /* 0x2507BCA6: pop ebx */
   3475     ebp = POP32_VAL(esp); /* 0x2507BCA7: pop ebp */
   3476     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BCA8: ret 4 */
   3477 L_250857A0:
   3478     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3479     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3480     ecx = ecx - 8; /* 0x250857A0: sub ecx, 8 */
   3481     _flag_k = FK_CMP;
   3482     RECOMP_BACKEDGE();
   3483     goto L_2507BC50; /* 0x250857A3: jmp 0x2507bc50 */
   3484     { RECOMP_REGS_OUT(); return; } /* end of function */
   3485     RECOMP_REGS_OUT();
   3486 }
   3487 
   3488 void sub_250857B0(void) {
   3489     int _fpu_cmp = 0;
   3490     uint32_t _cf = 0;
   3491     int _df = 1;
   3492     uint32_t _flag_k = FK_NONE;
   3493     uint32_t _flag_a = 0, _flag_b = 0;
   3494     uint32_t _itail_tgt = 0;
   3495     RECOMP_REGS_LOCALS
   3496     RECOMP_ENTER(0x250857B0u);
   3497 
   3498     goto L_250857B0;
   3499 L_2507BC50:
   3500     PUSH32(esp, ebp); /* 0x2507BC50: push ebp */
   3501     ebp = esp; /* 0x2507BC51: mov ebp, esp */
   3502     PUSH32(esp, ebx); /* 0x2507BC53: push ebx */
   3503     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507BC54: mov bl, byte ptr [ebp + 8] */
   3504     /* test LO8(ebx), 2 */ /* 0x2507BC57: test bl, 2 */
   3505     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   3506     _cf = 0;
   3507     _flag_k = FK_NARROW(FK_TEST, 24);
   3508     PUSH32(esp, esi); /* 0x2507BC5A: push esi */
   3509     esi = ecx; /* 0x2507BC5B: mov esi, ecx */
   3510     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC8E; /* 0x2507BC5D: je 0x2507bc8e */
   3511 L_2507BC5F:
   3512     eax = MEM32(esi + (-0x4)); /* 0x2507BC5F: mov eax, dword ptr [esi - 4] */
   3513     PUSH32(esp, edi); /* 0x2507BC62: push edi */
   3514     PUSH32(esp, 0x2507BE50u); /* 0x2507BC63: push 0x2507be50 */
   3515     edi = esi + (-0x4); /* 0x2507BC68: lea edi, [esi - 4] */
   3516     PUSH32(esp, eax); /* 0x2507BC6B: push eax */
   3517     PUSH32(esp, 0x224u); /* 0x2507BC6C: push 0x224 */
   3518     PUSH32(esp, esi); /* 0x2507BC71: push esi */
   3519     RECOMP_ICALL(0x25137F92u); /* 0x2507BC72: call 0x25137f92 */ /* not lifted */
   3520     RECOMP_FLAGS_IN();
   3521     /* test LO8(ebx), 1 */ /* 0x2507BC77: test bl, 1 */
   3522     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3523     _cf = 0;
   3524     _flag_k = FK_NARROW(FK_TEST, 24);
   3525     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC85; /* 0x2507BC7A: je 0x2507bc85 */
   3526 L_2507BC7C:
   3527     PUSH32(esp, edi); /* 0x2507BC7C: push edi */
   3528     RECOMP_ICALL(0x25137EECu); /* 0x2507BC7D: call 0x25137eec */ /* not lifted */
   3529     RECOMP_FLAGS_IN();
   3530     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3531     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3532     esp = esp + 4; /* 0x2507BC82: add esp, 4 */
   3533     _flag_k = FK_ADD;
   3534 L_2507BC85:
   3535     eax = edi; /* 0x2507BC85: mov eax, edi */
   3536     edi = POP32_VAL(esp); /* 0x2507BC87: pop edi */
   3537     esi = POP32_VAL(esp); /* 0x2507BC88: pop esi */
   3538     ebx = POP32_VAL(esp); /* 0x2507BC89: pop ebx */
   3539     ebp = POP32_VAL(esp); /* 0x2507BC8A: pop ebp */
   3540     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BC8B: ret 4 */
   3541 L_2507BC8E:
   3542     ecx = esi; /* 0x2507BC8E: mov ecx, esi */
   3543     RECOMP_ICALL(0x2507BE50u); /* 0x2507BC90: call 0x2507be50 */ /* not lifted */
   3544     RECOMP_FLAGS_IN();
   3545     /* test LO8(ebx), 1 */ /* 0x2507BC95: test bl, 1 */
   3546     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3547     _cf = 0;
   3548     _flag_k = FK_NARROW(FK_TEST, 24);
   3549     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BCA3; /* 0x2507BC98: je 0x2507bca3 */
   3550 L_2507BC9A:
   3551     PUSH32(esp, esi); /* 0x2507BC9A: push esi */
   3552     RECOMP_ICALL(0x25137EECu); /* 0x2507BC9B: call 0x25137eec */ /* not lifted */
   3553     RECOMP_FLAGS_IN();
   3554     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3555     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3556     esp = esp + 4; /* 0x2507BCA0: add esp, 4 */
   3557     _flag_k = FK_ADD;
   3558 L_2507BCA3:
   3559     eax = esi; /* 0x2507BCA3: mov eax, esi */
   3560     esi = POP32_VAL(esp); /* 0x2507BCA5: pop esi */
   3561     ebx = POP32_VAL(esp); /* 0x2507BCA6: pop ebx */
   3562     ebp = POP32_VAL(esp); /* 0x2507BCA7: pop ebp */
   3563     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BCA8: ret 4 */
   3564 L_250857B0:
   3565     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   3566     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3567     ecx = ecx - 0x20u; /* 0x250857B0: sub ecx, 0x20 */
   3568     _flag_k = FK_CMP;
   3569     RECOMP_BACKEDGE();
   3570     goto L_2507BC50; /* 0x250857B3: jmp 0x2507bc50 */
   3571     { RECOMP_REGS_OUT(); return; } /* end of function */
   3572     RECOMP_REGS_OUT();
   3573 }
   3574 
   3575 void sub_250857C0(void) {
   3576     int _fpu_cmp = 0;
   3577     uint32_t _cf = 0;
   3578     int _df = 1;
   3579     uint32_t _flag_k = FK_NONE;
   3580     uint32_t _flag_a = 0, _flag_b = 0;
   3581     uint32_t _itail_tgt = 0;
   3582     RECOMP_REGS_LOCALS
   3583     RECOMP_ENTER(0x250857C0u);
   3584 
   3585     goto L_250857C0;
   3586 L_2507BC50:
   3587     PUSH32(esp, ebp); /* 0x2507BC50: push ebp */
   3588     ebp = esp; /* 0x2507BC51: mov ebp, esp */
   3589     PUSH32(esp, ebx); /* 0x2507BC53: push ebx */
   3590     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507BC54: mov bl, byte ptr [ebp + 8] */
   3591     /* test LO8(ebx), 2 */ /* 0x2507BC57: test bl, 2 */
   3592     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   3593     _cf = 0;
   3594     _flag_k = FK_NARROW(FK_TEST, 24);
   3595     PUSH32(esp, esi); /* 0x2507BC5A: push esi */
   3596     esi = ecx; /* 0x2507BC5B: mov esi, ecx */
   3597     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC8E; /* 0x2507BC5D: je 0x2507bc8e */
   3598 L_2507BC5F:
   3599     eax = MEM32(esi + (-0x4)); /* 0x2507BC5F: mov eax, dword ptr [esi - 4] */
   3600     PUSH32(esp, edi); /* 0x2507BC62: push edi */
   3601     PUSH32(esp, 0x2507BE50u); /* 0x2507BC63: push 0x2507be50 */
   3602     edi = esi + (-0x4); /* 0x2507BC68: lea edi, [esi - 4] */
   3603     PUSH32(esp, eax); /* 0x2507BC6B: push eax */
   3604     PUSH32(esp, 0x224u); /* 0x2507BC6C: push 0x224 */
   3605     PUSH32(esp, esi); /* 0x2507BC71: push esi */
   3606     RECOMP_ICALL(0x25137F92u); /* 0x2507BC72: call 0x25137f92 */ /* not lifted */
   3607     RECOMP_FLAGS_IN();
   3608     /* test LO8(ebx), 1 */ /* 0x2507BC77: test bl, 1 */
   3609     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3610     _cf = 0;
   3611     _flag_k = FK_NARROW(FK_TEST, 24);
   3612     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC85; /* 0x2507BC7A: je 0x2507bc85 */
   3613 L_2507BC7C:
   3614     PUSH32(esp, edi); /* 0x2507BC7C: push edi */
   3615     RECOMP_ICALL(0x25137EECu); /* 0x2507BC7D: call 0x25137eec */ /* not lifted */
   3616     RECOMP_FLAGS_IN();
   3617     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3618     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3619     esp = esp + 4; /* 0x2507BC82: add esp, 4 */
   3620     _flag_k = FK_ADD;
   3621 L_2507BC85:
   3622     eax = edi; /* 0x2507BC85: mov eax, edi */
   3623     edi = POP32_VAL(esp); /* 0x2507BC87: pop edi */
   3624     esi = POP32_VAL(esp); /* 0x2507BC88: pop esi */
   3625     ebx = POP32_VAL(esp); /* 0x2507BC89: pop ebx */
   3626     ebp = POP32_VAL(esp); /* 0x2507BC8A: pop ebp */
   3627     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BC8B: ret 4 */
   3628 L_2507BC8E:
   3629     ecx = esi; /* 0x2507BC8E: mov ecx, esi */
   3630     RECOMP_ICALL(0x2507BE50u); /* 0x2507BC90: call 0x2507be50 */ /* not lifted */
   3631     RECOMP_FLAGS_IN();
   3632     /* test LO8(ebx), 1 */ /* 0x2507BC95: test bl, 1 */
   3633     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3634     _cf = 0;
   3635     _flag_k = FK_NARROW(FK_TEST, 24);
   3636     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BCA3; /* 0x2507BC98: je 0x2507bca3 */
   3637 L_2507BC9A:
   3638     PUSH32(esp, esi); /* 0x2507BC9A: push esi */
   3639     RECOMP_ICALL(0x25137EECu); /* 0x2507BC9B: call 0x25137eec */ /* not lifted */
   3640     RECOMP_FLAGS_IN();
   3641     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3642     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3643     esp = esp + 4; /* 0x2507BCA0: add esp, 4 */
   3644     _flag_k = FK_ADD;
   3645 L_2507BCA3:
   3646     eax = esi; /* 0x2507BCA3: mov eax, esi */
   3647     esi = POP32_VAL(esp); /* 0x2507BCA5: pop esi */
   3648     ebx = POP32_VAL(esp); /* 0x2507BCA6: pop ebx */
   3649     ebp = POP32_VAL(esp); /* 0x2507BCA7: pop ebp */
   3650     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BCA8: ret 4 */
   3651 L_250857C0:
   3652     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   3653     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3654     ecx = ecx - 0x38u; /* 0x250857C0: sub ecx, 0x38 */
   3655     _flag_k = FK_CMP;
   3656     RECOMP_BACKEDGE();
   3657     goto L_2507BC50; /* 0x250857C3: jmp 0x2507bc50 */
   3658     { RECOMP_REGS_OUT(); return; } /* end of function */
   3659     RECOMP_REGS_OUT();
   3660 }
   3661 
   3662 void sub_250857D0(void) {
   3663     int _fpu_cmp = 0;
   3664     uint32_t _cf = 0;
   3665     int _df = 1;
   3666     uint32_t _flag_k = FK_NONE;
   3667     uint32_t _flag_a = 0, _flag_b = 0;
   3668     uint32_t _itail_tgt = 0;
   3669     RECOMP_REGS_LOCALS
   3670     RECOMP_ENTER(0x250857D0u);
   3671 
   3672     goto L_250857D0;
   3673 L_2507BC50:
   3674     PUSH32(esp, ebp); /* 0x2507BC50: push ebp */
   3675     ebp = esp; /* 0x2507BC51: mov ebp, esp */
   3676     PUSH32(esp, ebx); /* 0x2507BC53: push ebx */
   3677     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507BC54: mov bl, byte ptr [ebp + 8] */
   3678     /* test LO8(ebx), 2 */ /* 0x2507BC57: test bl, 2 */
   3679     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   3680     _cf = 0;
   3681     _flag_k = FK_NARROW(FK_TEST, 24);
   3682     PUSH32(esp, esi); /* 0x2507BC5A: push esi */
   3683     esi = ecx; /* 0x2507BC5B: mov esi, ecx */
   3684     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC8E; /* 0x2507BC5D: je 0x2507bc8e */
   3685 L_2507BC5F:
   3686     eax = MEM32(esi + (-0x4)); /* 0x2507BC5F: mov eax, dword ptr [esi - 4] */
   3687     PUSH32(esp, edi); /* 0x2507BC62: push edi */
   3688     PUSH32(esp, 0x2507BE50u); /* 0x2507BC63: push 0x2507be50 */
   3689     edi = esi + (-0x4); /* 0x2507BC68: lea edi, [esi - 4] */
   3690     PUSH32(esp, eax); /* 0x2507BC6B: push eax */
   3691     PUSH32(esp, 0x224u); /* 0x2507BC6C: push 0x224 */
   3692     PUSH32(esp, esi); /* 0x2507BC71: push esi */
   3693     RECOMP_ICALL(0x25137F92u); /* 0x2507BC72: call 0x25137f92 */ /* not lifted */
   3694     RECOMP_FLAGS_IN();
   3695     /* test LO8(ebx), 1 */ /* 0x2507BC77: test bl, 1 */
   3696     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3697     _cf = 0;
   3698     _flag_k = FK_NARROW(FK_TEST, 24);
   3699     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC85; /* 0x2507BC7A: je 0x2507bc85 */
   3700 L_2507BC7C:
   3701     PUSH32(esp, edi); /* 0x2507BC7C: push edi */
   3702     RECOMP_ICALL(0x25137EECu); /* 0x2507BC7D: call 0x25137eec */ /* not lifted */
   3703     RECOMP_FLAGS_IN();
   3704     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3705     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3706     esp = esp + 4; /* 0x2507BC82: add esp, 4 */
   3707     _flag_k = FK_ADD;
   3708 L_2507BC85:
   3709     eax = edi; /* 0x2507BC85: mov eax, edi */
   3710     edi = POP32_VAL(esp); /* 0x2507BC87: pop edi */
   3711     esi = POP32_VAL(esp); /* 0x2507BC88: pop esi */
   3712     ebx = POP32_VAL(esp); /* 0x2507BC89: pop ebx */
   3713     ebp = POP32_VAL(esp); /* 0x2507BC8A: pop ebp */
   3714     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BC8B: ret 4 */
   3715 L_2507BC8E:
   3716     ecx = esi; /* 0x2507BC8E: mov ecx, esi */
   3717     RECOMP_ICALL(0x2507BE50u); /* 0x2507BC90: call 0x2507be50 */ /* not lifted */
   3718     RECOMP_FLAGS_IN();
   3719     /* test LO8(ebx), 1 */ /* 0x2507BC95: test bl, 1 */
   3720     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3721     _cf = 0;
   3722     _flag_k = FK_NARROW(FK_TEST, 24);
   3723     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BCA3; /* 0x2507BC98: je 0x2507bca3 */
   3724 L_2507BC9A:
   3725     PUSH32(esp, esi); /* 0x2507BC9A: push esi */
   3726     RECOMP_ICALL(0x25137EECu); /* 0x2507BC9B: call 0x25137eec */ /* not lifted */
   3727     RECOMP_FLAGS_IN();
   3728     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3729     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3730     esp = esp + 4; /* 0x2507BCA0: add esp, 4 */
   3731     _flag_k = FK_ADD;
   3732 L_2507BCA3:
   3733     eax = esi; /* 0x2507BCA3: mov eax, esi */
   3734     esi = POP32_VAL(esp); /* 0x2507BCA5: pop esi */
   3735     ebx = POP32_VAL(esp); /* 0x2507BCA6: pop ebx */
   3736     ebp = POP32_VAL(esp); /* 0x2507BCA7: pop ebp */
   3737     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BCA8: ret 4 */
   3738 L_250857D0:
   3739     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   3740     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3741     ecx = ecx - 0x50u; /* 0x250857D0: sub ecx, 0x50 */
   3742     _flag_k = FK_CMP;
   3743     RECOMP_BACKEDGE();
   3744     goto L_2507BC50; /* 0x250857D3: jmp 0x2507bc50 */
   3745     { RECOMP_REGS_OUT(); return; } /* end of function */
   3746     RECOMP_REGS_OUT();
   3747 }
   3748 
   3749 void sub_250857E0(void) {
   3750     int _fpu_cmp = 0;
   3751     uint32_t _cf = 0;
   3752     int _df = 1;
   3753     uint32_t _flag_k = FK_NONE;
   3754     uint32_t _flag_a = 0, _flag_b = 0;
   3755     uint32_t _itail_tgt = 0;
   3756     RECOMP_REGS_LOCALS
   3757     RECOMP_ENTER(0x250857E0u);
   3758 
   3759     goto L_250857E0;
   3760 L_2507BC50:
   3761     PUSH32(esp, ebp); /* 0x2507BC50: push ebp */
   3762     ebp = esp; /* 0x2507BC51: mov ebp, esp */
   3763     PUSH32(esp, ebx); /* 0x2507BC53: push ebx */
   3764     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507BC54: mov bl, byte ptr [ebp + 8] */
   3765     /* test LO8(ebx), 2 */ /* 0x2507BC57: test bl, 2 */
   3766     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   3767     _cf = 0;
   3768     _flag_k = FK_NARROW(FK_TEST, 24);
   3769     PUSH32(esp, esi); /* 0x2507BC5A: push esi */
   3770     esi = ecx; /* 0x2507BC5B: mov esi, ecx */
   3771     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC8E; /* 0x2507BC5D: je 0x2507bc8e */
   3772 L_2507BC5F:
   3773     eax = MEM32(esi + (-0x4)); /* 0x2507BC5F: mov eax, dword ptr [esi - 4] */
   3774     PUSH32(esp, edi); /* 0x2507BC62: push edi */
   3775     PUSH32(esp, 0x2507BE50u); /* 0x2507BC63: push 0x2507be50 */
   3776     edi = esi + (-0x4); /* 0x2507BC68: lea edi, [esi - 4] */
   3777     PUSH32(esp, eax); /* 0x2507BC6B: push eax */
   3778     PUSH32(esp, 0x224u); /* 0x2507BC6C: push 0x224 */
   3779     PUSH32(esp, esi); /* 0x2507BC71: push esi */
   3780     RECOMP_ICALL(0x25137F92u); /* 0x2507BC72: call 0x25137f92 */ /* not lifted */
   3781     RECOMP_FLAGS_IN();
   3782     /* test LO8(ebx), 1 */ /* 0x2507BC77: test bl, 1 */
   3783     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3784     _cf = 0;
   3785     _flag_k = FK_NARROW(FK_TEST, 24);
   3786     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC85; /* 0x2507BC7A: je 0x2507bc85 */
   3787 L_2507BC7C:
   3788     PUSH32(esp, edi); /* 0x2507BC7C: push edi */
   3789     RECOMP_ICALL(0x25137EECu); /* 0x2507BC7D: call 0x25137eec */ /* not lifted */
   3790     RECOMP_FLAGS_IN();
   3791     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3792     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3793     esp = esp + 4; /* 0x2507BC82: add esp, 4 */
   3794     _flag_k = FK_ADD;
   3795 L_2507BC85:
   3796     eax = edi; /* 0x2507BC85: mov eax, edi */
   3797     edi = POP32_VAL(esp); /* 0x2507BC87: pop edi */
   3798     esi = POP32_VAL(esp); /* 0x2507BC88: pop esi */
   3799     ebx = POP32_VAL(esp); /* 0x2507BC89: pop ebx */
   3800     ebp = POP32_VAL(esp); /* 0x2507BC8A: pop ebp */
   3801     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BC8B: ret 4 */
   3802 L_2507BC8E:
   3803     ecx = esi; /* 0x2507BC8E: mov ecx, esi */
   3804     RECOMP_ICALL(0x2507BE50u); /* 0x2507BC90: call 0x2507be50 */ /* not lifted */
   3805     RECOMP_FLAGS_IN();
   3806     /* test LO8(ebx), 1 */ /* 0x2507BC95: test bl, 1 */
   3807     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3808     _cf = 0;
   3809     _flag_k = FK_NARROW(FK_TEST, 24);
   3810     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BCA3; /* 0x2507BC98: je 0x2507bca3 */
   3811 L_2507BC9A:
   3812     PUSH32(esp, esi); /* 0x2507BC9A: push esi */
   3813     RECOMP_ICALL(0x25137EECu); /* 0x2507BC9B: call 0x25137eec */ /* not lifted */
   3814     RECOMP_FLAGS_IN();
   3815     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3816     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3817     esp = esp + 4; /* 0x2507BCA0: add esp, 4 */
   3818     _flag_k = FK_ADD;
   3819 L_2507BCA3:
   3820     eax = esi; /* 0x2507BCA3: mov eax, esi */
   3821     esi = POP32_VAL(esp); /* 0x2507BCA5: pop esi */
   3822     ebx = POP32_VAL(esp); /* 0x2507BCA6: pop ebx */
   3823     ebp = POP32_VAL(esp); /* 0x2507BCA7: pop ebp */
   3824     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BCA8: ret 4 */
   3825 L_250857E0:
   3826     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   3827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3828     ecx = ecx - 0x138u; /* 0x250857E0: sub ecx, 0x138 */
   3829     _flag_k = FK_CMP;
   3830     RECOMP_BACKEDGE();
   3831     goto L_2507BC50; /* 0x250857E6: jmp 0x2507bc50 */
   3832     { RECOMP_REGS_OUT(); return; } /* end of function */
   3833     RECOMP_REGS_OUT();
   3834 }
   3835 
   3836 void sub_250857F0(void) {
   3837     int _fpu_cmp = 0;
   3838     uint32_t _cf = 0;
   3839     int _df = 1;
   3840     uint32_t _flag_k = FK_NONE;
   3841     uint32_t _flag_a = 0, _flag_b = 0;
   3842     uint32_t _itail_tgt = 0;
   3843     RECOMP_REGS_LOCALS
   3844     RECOMP_ENTER(0x250857F0u);
   3845 
   3846     goto L_250857F0;
   3847 L_2507BC50:
   3848     PUSH32(esp, ebp); /* 0x2507BC50: push ebp */
   3849     ebp = esp; /* 0x2507BC51: mov ebp, esp */
   3850     PUSH32(esp, ebx); /* 0x2507BC53: push ebx */
   3851     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507BC54: mov bl, byte ptr [ebp + 8] */
   3852     /* test LO8(ebx), 2 */ /* 0x2507BC57: test bl, 2 */
   3853     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   3854     _cf = 0;
   3855     _flag_k = FK_NARROW(FK_TEST, 24);
   3856     PUSH32(esp, esi); /* 0x2507BC5A: push esi */
   3857     esi = ecx; /* 0x2507BC5B: mov esi, ecx */
   3858     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC8E; /* 0x2507BC5D: je 0x2507bc8e */
   3859 L_2507BC5F:
   3860     eax = MEM32(esi + (-0x4)); /* 0x2507BC5F: mov eax, dword ptr [esi - 4] */
   3861     PUSH32(esp, edi); /* 0x2507BC62: push edi */
   3862     PUSH32(esp, 0x2507BE50u); /* 0x2507BC63: push 0x2507be50 */
   3863     edi = esi + (-0x4); /* 0x2507BC68: lea edi, [esi - 4] */
   3864     PUSH32(esp, eax); /* 0x2507BC6B: push eax */
   3865     PUSH32(esp, 0x224u); /* 0x2507BC6C: push 0x224 */
   3866     PUSH32(esp, esi); /* 0x2507BC71: push esi */
   3867     RECOMP_ICALL(0x25137F92u); /* 0x2507BC72: call 0x25137f92 */ /* not lifted */
   3868     RECOMP_FLAGS_IN();
   3869     /* test LO8(ebx), 1 */ /* 0x2507BC77: test bl, 1 */
   3870     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3871     _cf = 0;
   3872     _flag_k = FK_NARROW(FK_TEST, 24);
   3873     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BC85; /* 0x2507BC7A: je 0x2507bc85 */
   3874 L_2507BC7C:
   3875     PUSH32(esp, edi); /* 0x2507BC7C: push edi */
   3876     RECOMP_ICALL(0x25137EECu); /* 0x2507BC7D: call 0x25137eec */ /* not lifted */
   3877     RECOMP_FLAGS_IN();
   3878     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3879     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3880     esp = esp + 4; /* 0x2507BC82: add esp, 4 */
   3881     _flag_k = FK_ADD;
   3882 L_2507BC85:
   3883     eax = edi; /* 0x2507BC85: mov eax, edi */
   3884     edi = POP32_VAL(esp); /* 0x2507BC87: pop edi */
   3885     esi = POP32_VAL(esp); /* 0x2507BC88: pop esi */
   3886     ebx = POP32_VAL(esp); /* 0x2507BC89: pop ebx */
   3887     ebp = POP32_VAL(esp); /* 0x2507BC8A: pop ebp */
   3888     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BC8B: ret 4 */
   3889 L_2507BC8E:
   3890     ecx = esi; /* 0x2507BC8E: mov ecx, esi */
   3891     RECOMP_ICALL(0x2507BE50u); /* 0x2507BC90: call 0x2507be50 */ /* not lifted */
   3892     RECOMP_FLAGS_IN();
   3893     /* test LO8(ebx), 1 */ /* 0x2507BC95: test bl, 1 */
   3894     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3895     _cf = 0;
   3896     _flag_k = FK_NARROW(FK_TEST, 24);
   3897     if (TEST_Z(_flag_a, _flag_b)) goto L_2507BCA3; /* 0x2507BC98: je 0x2507bca3 */
   3898 L_2507BC9A:
   3899     PUSH32(esp, esi); /* 0x2507BC9A: push esi */
   3900     RECOMP_ICALL(0x25137EECu); /* 0x2507BC9B: call 0x25137eec */ /* not lifted */
   3901     RECOMP_FLAGS_IN();
   3902     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3903     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3904     esp = esp + 4; /* 0x2507BCA0: add esp, 4 */
   3905     _flag_k = FK_ADD;
   3906 L_2507BCA3:
   3907     eax = esi; /* 0x2507BCA3: mov eax, esi */
   3908     esi = POP32_VAL(esp); /* 0x2507BCA5: pop esi */
   3909     ebx = POP32_VAL(esp); /* 0x2507BCA6: pop ebx */
   3910     ebp = POP32_VAL(esp); /* 0x2507BCA7: pop ebp */
   3911     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507BCA8: ret 4 */
   3912 L_250857F0:
   3913     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   3914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3915     ecx = ecx - 0x150u; /* 0x250857F0: sub ecx, 0x150 */
   3916     _flag_k = FK_CMP;
   3917     RECOMP_BACKEDGE();
   3918     goto L_2507BC50; /* 0x250857F6: jmp 0x2507bc50 */
   3919     { RECOMP_REGS_OUT(); return; } /* end of function */
   3920     RECOMP_REGS_OUT();
   3921 }
   3922 
   3923 void sub_25085800(void) {
   3924     int _fpu_cmp = 0;
   3925     uint32_t _cf = 0;
   3926     int _df = 1;
   3927     uint32_t _flag_k = FK_NONE;
   3928     uint32_t _flag_a = 0, _flag_b = 0;
   3929     uint32_t _itail_tgt = 0;
   3930     RECOMP_REGS_LOCALS
   3931     RECOMP_ENTER(0x25085800u);
   3932 
   3933     goto L_25085800;
   3934 L_25082C60:
   3935     PUSH32(esp, ebp); /* 0x25082C60: push ebp */
   3936     ebp = esp; /* 0x25082C61: mov ebp, esp */
   3937     PUSH32(esp, esi); /* 0x25082C63: push esi */
   3938     esi = ecx; /* 0x25082C64: mov esi, ecx */
   3939     RECOMP_ICALL(0x25082C90u); /* 0x25082C66: call 0x25082c90 */ /* not lifted */
   3940     RECOMP_FLAGS_IN();
   3941     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082C6B: test byte ptr [ebp + 8], 1 */
   3942     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   3943     _cf = 0;
   3944     _flag_k = FK_NARROW(FK_TEST, 24);
   3945     if (TEST_Z(_flag_a, _flag_b)) goto L_25082C7A; /* 0x25082C6F: je 0x25082c7a */
   3946 L_25082C71:
   3947     PUSH32(esp, esi); /* 0x25082C71: push esi */
   3948     RECOMP_ICALL(0x25137EECu); /* 0x25082C72: call 0x25137eec */ /* not lifted */
   3949     RECOMP_FLAGS_IN();
   3950     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3951     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3952     esp = esp + 4; /* 0x25082C77: add esp, 4 */
   3953     _flag_k = FK_ADD;
   3954 L_25082C7A:
   3955     eax = esi; /* 0x25082C7A: mov eax, esi */
   3956     esi = POP32_VAL(esp); /* 0x25082C7C: pop esi */
   3957     ebp = POP32_VAL(esp); /* 0x25082C7D: pop ebp */
   3958     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082C7E: ret 4 */
   3959 L_25085800:
   3960     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3961     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3962     ecx = ecx - 8; /* 0x25085800: sub ecx, 8 */
   3963     _flag_k = FK_CMP;
   3964     RECOMP_BACKEDGE();
   3965     goto L_25082C60; /* 0x25085803: jmp 0x25082c60 */
   3966     { RECOMP_REGS_OUT(); return; } /* end of function */
   3967     RECOMP_REGS_OUT();
   3968 }
   3969 
   3970 void sub_25085810(void) {
   3971     int _fpu_cmp = 0;
   3972     uint32_t _cf = 0;
   3973     int _df = 1;
   3974     uint32_t _flag_k = FK_NONE;
   3975     uint32_t _flag_a = 0, _flag_b = 0;
   3976     uint32_t _itail_tgt = 0;
   3977     RECOMP_REGS_LOCALS
   3978     RECOMP_ENTER(0x25085810u);
   3979 
   3980     goto L_25085810;
   3981 L_25082C60:
   3982     PUSH32(esp, ebp); /* 0x25082C60: push ebp */
   3983     ebp = esp; /* 0x25082C61: mov ebp, esp */
   3984     PUSH32(esp, esi); /* 0x25082C63: push esi */
   3985     esi = ecx; /* 0x25082C64: mov esi, ecx */
   3986     RECOMP_ICALL(0x25082C90u); /* 0x25082C66: call 0x25082c90 */ /* not lifted */
   3987     RECOMP_FLAGS_IN();
   3988     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082C6B: test byte ptr [ebp + 8], 1 */
   3989     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   3990     _cf = 0;
   3991     _flag_k = FK_NARROW(FK_TEST, 24);
   3992     if (TEST_Z(_flag_a, _flag_b)) goto L_25082C7A; /* 0x25082C6F: je 0x25082c7a */
   3993 L_25082C71:
   3994     PUSH32(esp, esi); /* 0x25082C71: push esi */
   3995     RECOMP_ICALL(0x25137EECu); /* 0x25082C72: call 0x25137eec */ /* not lifted */
   3996     RECOMP_FLAGS_IN();
   3997     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3998     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3999     esp = esp + 4; /* 0x25082C77: add esp, 4 */
   4000     _flag_k = FK_ADD;
   4001 L_25082C7A:
   4002     eax = esi; /* 0x25082C7A: mov eax, esi */
   4003     esi = POP32_VAL(esp); /* 0x25082C7C: pop esi */
   4004     ebp = POP32_VAL(esp); /* 0x25082C7D: pop ebp */
   4005     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082C7E: ret 4 */
   4006 L_25085810:
   4007     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   4008     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4009     ecx = ecx - 0x20u; /* 0x25085810: sub ecx, 0x20 */
   4010     _flag_k = FK_CMP;
   4011     RECOMP_BACKEDGE();
   4012     goto L_25082C60; /* 0x25085813: jmp 0x25082c60 */
   4013     { RECOMP_REGS_OUT(); return; } /* end of function */
   4014     RECOMP_REGS_OUT();
   4015 }
   4016 
   4017 void sub_25085820(void) {
   4018     int _fpu_cmp = 0;
   4019     uint32_t _cf = 0;
   4020     int _df = 1;
   4021     uint32_t _flag_k = FK_NONE;
   4022     uint32_t _flag_a = 0, _flag_b = 0;
   4023     uint32_t _itail_tgt = 0;
   4024     RECOMP_REGS_LOCALS
   4025     RECOMP_ENTER(0x25085820u);
   4026 
   4027     goto L_25085820;
   4028 L_25082C60:
   4029     PUSH32(esp, ebp); /* 0x25082C60: push ebp */
   4030     ebp = esp; /* 0x25082C61: mov ebp, esp */
   4031     PUSH32(esp, esi); /* 0x25082C63: push esi */
   4032     esi = ecx; /* 0x25082C64: mov esi, ecx */
   4033     RECOMP_ICALL(0x25082C90u); /* 0x25082C66: call 0x25082c90 */ /* not lifted */
   4034     RECOMP_FLAGS_IN();
   4035     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082C6B: test byte ptr [ebp + 8], 1 */
   4036     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4037     _cf = 0;
   4038     _flag_k = FK_NARROW(FK_TEST, 24);
   4039     if (TEST_Z(_flag_a, _flag_b)) goto L_25082C7A; /* 0x25082C6F: je 0x25082c7a */
   4040 L_25082C71:
   4041     PUSH32(esp, esi); /* 0x25082C71: push esi */
   4042     RECOMP_ICALL(0x25137EECu); /* 0x25082C72: call 0x25137eec */ /* not lifted */
   4043     RECOMP_FLAGS_IN();
   4044     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4045     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4046     esp = esp + 4; /* 0x25082C77: add esp, 4 */
   4047     _flag_k = FK_ADD;
   4048 L_25082C7A:
   4049     eax = esi; /* 0x25082C7A: mov eax, esi */
   4050     esi = POP32_VAL(esp); /* 0x25082C7C: pop esi */
   4051     ebp = POP32_VAL(esp); /* 0x25082C7D: pop ebp */
   4052     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082C7E: ret 4 */
   4053 L_25085820:
   4054     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   4055     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4056     ecx = ecx - 0x38u; /* 0x25085820: sub ecx, 0x38 */
   4057     _flag_k = FK_CMP;
   4058     RECOMP_BACKEDGE();
   4059     goto L_25082C60; /* 0x25085823: jmp 0x25082c60 */
   4060     { RECOMP_REGS_OUT(); return; } /* end of function */
   4061     RECOMP_REGS_OUT();
   4062 }
   4063 
   4064 void sub_25085830(void) {
   4065     int _fpu_cmp = 0;
   4066     uint32_t _cf = 0;
   4067     int _df = 1;
   4068     uint32_t _flag_k = FK_NONE;
   4069     uint32_t _flag_a = 0, _flag_b = 0;
   4070     uint32_t _itail_tgt = 0;
   4071     RECOMP_REGS_LOCALS
   4072     RECOMP_ENTER(0x25085830u);
   4073 
   4074     goto L_25085830;
   4075 L_25082C60:
   4076     PUSH32(esp, ebp); /* 0x25082C60: push ebp */
   4077     ebp = esp; /* 0x25082C61: mov ebp, esp */
   4078     PUSH32(esp, esi); /* 0x25082C63: push esi */
   4079     esi = ecx; /* 0x25082C64: mov esi, ecx */
   4080     RECOMP_ICALL(0x25082C90u); /* 0x25082C66: call 0x25082c90 */ /* not lifted */
   4081     RECOMP_FLAGS_IN();
   4082     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082C6B: test byte ptr [ebp + 8], 1 */
   4083     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4084     _cf = 0;
   4085     _flag_k = FK_NARROW(FK_TEST, 24);
   4086     if (TEST_Z(_flag_a, _flag_b)) goto L_25082C7A; /* 0x25082C6F: je 0x25082c7a */
   4087 L_25082C71:
   4088     PUSH32(esp, esi); /* 0x25082C71: push esi */
   4089     RECOMP_ICALL(0x25137EECu); /* 0x25082C72: call 0x25137eec */ /* not lifted */
   4090     RECOMP_FLAGS_IN();
   4091     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4092     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4093     esp = esp + 4; /* 0x25082C77: add esp, 4 */
   4094     _flag_k = FK_ADD;
   4095 L_25082C7A:
   4096     eax = esi; /* 0x25082C7A: mov eax, esi */
   4097     esi = POP32_VAL(esp); /* 0x25082C7C: pop esi */
   4098     ebp = POP32_VAL(esp); /* 0x25082C7D: pop ebp */
   4099     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082C7E: ret 4 */
   4100 L_25085830:
   4101     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   4102     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4103     ecx = ecx - 0x50u; /* 0x25085830: sub ecx, 0x50 */
   4104     _flag_k = FK_CMP;
   4105     RECOMP_BACKEDGE();
   4106     goto L_25082C60; /* 0x25085833: jmp 0x25082c60 */
   4107     { RECOMP_REGS_OUT(); return; } /* end of function */
   4108     RECOMP_REGS_OUT();
   4109 }
   4110 
   4111 void sub_25085840(void) {
   4112     int _fpu_cmp = 0;
   4113     uint32_t _cf = 0;
   4114     int _df = 1;
   4115     uint32_t _flag_k = FK_NONE;
   4116     uint32_t _flag_a = 0, _flag_b = 0;
   4117     uint32_t _itail_tgt = 0;
   4118     RECOMP_REGS_LOCALS
   4119     RECOMP_ENTER(0x25085840u);
   4120 
   4121     goto L_25085840;
   4122 L_25082C60:
   4123     PUSH32(esp, ebp); /* 0x25082C60: push ebp */
   4124     ebp = esp; /* 0x25082C61: mov ebp, esp */
   4125     PUSH32(esp, esi); /* 0x25082C63: push esi */
   4126     esi = ecx; /* 0x25082C64: mov esi, ecx */
   4127     RECOMP_ICALL(0x25082C90u); /* 0x25082C66: call 0x25082c90 */ /* not lifted */
   4128     RECOMP_FLAGS_IN();
   4129     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082C6B: test byte ptr [ebp + 8], 1 */
   4130     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4131     _cf = 0;
   4132     _flag_k = FK_NARROW(FK_TEST, 24);
   4133     if (TEST_Z(_flag_a, _flag_b)) goto L_25082C7A; /* 0x25082C6F: je 0x25082c7a */
   4134 L_25082C71:
   4135     PUSH32(esp, esi); /* 0x25082C71: push esi */
   4136     RECOMP_ICALL(0x25137EECu); /* 0x25082C72: call 0x25137eec */ /* not lifted */
   4137     RECOMP_FLAGS_IN();
   4138     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4139     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4140     esp = esp + 4; /* 0x25082C77: add esp, 4 */
   4141     _flag_k = FK_ADD;
   4142 L_25082C7A:
   4143     eax = esi; /* 0x25082C7A: mov eax, esi */
   4144     esi = POP32_VAL(esp); /* 0x25082C7C: pop esi */
   4145     ebp = POP32_VAL(esp); /* 0x25082C7D: pop ebp */
   4146     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082C7E: ret 4 */
   4147 L_25085840:
   4148     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   4149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4150     ecx = ecx - 0x138u; /* 0x25085840: sub ecx, 0x138 */
   4151     _flag_k = FK_CMP;
   4152     RECOMP_BACKEDGE();
   4153     goto L_25082C60; /* 0x25085846: jmp 0x25082c60 */
   4154     { RECOMP_REGS_OUT(); return; } /* end of function */
   4155     RECOMP_REGS_OUT();
   4156 }
   4157 
   4158 void sub_25085850(void) {
   4159     int _fpu_cmp = 0;
   4160     uint32_t _cf = 0;
   4161     int _df = 1;
   4162     uint32_t _flag_k = FK_NONE;
   4163     uint32_t _flag_a = 0, _flag_b = 0;
   4164     uint32_t _itail_tgt = 0;
   4165     RECOMP_REGS_LOCALS
   4166     RECOMP_ENTER(0x25085850u);
   4167 
   4168     goto L_25085850;
   4169 L_25082C60:
   4170     PUSH32(esp, ebp); /* 0x25082C60: push ebp */
   4171     ebp = esp; /* 0x25082C61: mov ebp, esp */
   4172     PUSH32(esp, esi); /* 0x25082C63: push esi */
   4173     esi = ecx; /* 0x25082C64: mov esi, ecx */
   4174     RECOMP_ICALL(0x25082C90u); /* 0x25082C66: call 0x25082c90 */ /* not lifted */
   4175     RECOMP_FLAGS_IN();
   4176     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082C6B: test byte ptr [ebp + 8], 1 */
   4177     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4178     _cf = 0;
   4179     _flag_k = FK_NARROW(FK_TEST, 24);
   4180     if (TEST_Z(_flag_a, _flag_b)) goto L_25082C7A; /* 0x25082C6F: je 0x25082c7a */
   4181 L_25082C71:
   4182     PUSH32(esp, esi); /* 0x25082C71: push esi */
   4183     RECOMP_ICALL(0x25137EECu); /* 0x25082C72: call 0x25137eec */ /* not lifted */
   4184     RECOMP_FLAGS_IN();
   4185     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4186     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4187     esp = esp + 4; /* 0x25082C77: add esp, 4 */
   4188     _flag_k = FK_ADD;
   4189 L_25082C7A:
   4190     eax = esi; /* 0x25082C7A: mov eax, esi */
   4191     esi = POP32_VAL(esp); /* 0x25082C7C: pop esi */
   4192     ebp = POP32_VAL(esp); /* 0x25082C7D: pop ebp */
   4193     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082C7E: ret 4 */
   4194 L_25085850:
   4195     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   4196     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4197     ecx = ecx - 0x150u; /* 0x25085850: sub ecx, 0x150 */
   4198     _flag_k = FK_CMP;
   4199     RECOMP_BACKEDGE();
   4200     goto L_25082C60; /* 0x25085856: jmp 0x25082c60 */
   4201     { RECOMP_REGS_OUT(); return; } /* end of function */
   4202     RECOMP_REGS_OUT();
   4203 }
   4204 
   4205 void sub_25085860(void) {
   4206     int _fpu_cmp = 0;
   4207     uint32_t _cf = 0;
   4208     int _df = 1;
   4209     uint32_t _flag_k = FK_NONE;
   4210     uint32_t _flag_a = 0, _flag_b = 0;
   4211     uint32_t _itail_tgt = 0;
   4212     RECOMP_REGS_LOCALS
   4213     RECOMP_ENTER(0x25085860u);
   4214 
   4215     goto L_25085860;
   4216 L_25082300:
   4217     PUSH32(esp, ebp); /* 0x25082300: push ebp */
   4218     ebp = esp; /* 0x25082301: mov ebp, esp */
   4219     PUSH32(esp, esi); /* 0x25082303: push esi */
   4220     esi = ecx; /* 0x25082304: mov esi, ecx */
   4221     RECOMP_ICALL(0x25082330u); /* 0x25082306: call 0x25082330 */ /* not lifted */
   4222     RECOMP_FLAGS_IN();
   4223     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508230B: test byte ptr [ebp + 8], 1 */
   4224     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4225     _cf = 0;
   4226     _flag_k = FK_NARROW(FK_TEST, 24);
   4227     if (TEST_Z(_flag_a, _flag_b)) goto L_2508231A; /* 0x2508230F: je 0x2508231a */
   4228 L_25082311:
   4229     PUSH32(esp, esi); /* 0x25082311: push esi */
   4230     RECOMP_ICALL(0x25137EECu); /* 0x25082312: call 0x25137eec */ /* not lifted */
   4231     RECOMP_FLAGS_IN();
   4232     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4233     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4234     esp = esp + 4; /* 0x25082317: add esp, 4 */
   4235     _flag_k = FK_ADD;
   4236 L_2508231A:
   4237     eax = esi; /* 0x2508231A: mov eax, esi */
   4238     esi = POP32_VAL(esp); /* 0x2508231C: pop esi */
   4239     ebp = POP32_VAL(esp); /* 0x2508231D: pop ebp */
   4240     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508231E: ret 4 */
   4241 L_25085860:
   4242     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   4243     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4244     ecx = ecx - 8; /* 0x25085860: sub ecx, 8 */
   4245     _flag_k = FK_CMP;
   4246     RECOMP_BACKEDGE();
   4247     goto L_25082300; /* 0x25085863: jmp 0x25082300 */
   4248     { RECOMP_REGS_OUT(); return; } /* end of function */
   4249     RECOMP_REGS_OUT();
   4250 }
   4251 
   4252 void sub_25085870(void) {
   4253     int _fpu_cmp = 0;
   4254     uint32_t _cf = 0;
   4255     int _df = 1;
   4256     uint32_t _flag_k = FK_NONE;
   4257     uint32_t _flag_a = 0, _flag_b = 0;
   4258     uint32_t _itail_tgt = 0;
   4259     RECOMP_REGS_LOCALS
   4260     RECOMP_ENTER(0x25085870u);
   4261 
   4262     goto L_25085870;
   4263 L_25082300:
   4264     PUSH32(esp, ebp); /* 0x25082300: push ebp */
   4265     ebp = esp; /* 0x25082301: mov ebp, esp */
   4266     PUSH32(esp, esi); /* 0x25082303: push esi */
   4267     esi = ecx; /* 0x25082304: mov esi, ecx */
   4268     RECOMP_ICALL(0x25082330u); /* 0x25082306: call 0x25082330 */ /* not lifted */
   4269     RECOMP_FLAGS_IN();
   4270     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508230B: test byte ptr [ebp + 8], 1 */
   4271     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4272     _cf = 0;
   4273     _flag_k = FK_NARROW(FK_TEST, 24);
   4274     if (TEST_Z(_flag_a, _flag_b)) goto L_2508231A; /* 0x2508230F: je 0x2508231a */
   4275 L_25082311:
   4276     PUSH32(esp, esi); /* 0x25082311: push esi */
   4277     RECOMP_ICALL(0x25137EECu); /* 0x25082312: call 0x25137eec */ /* not lifted */
   4278     RECOMP_FLAGS_IN();
   4279     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4280     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4281     esp = esp + 4; /* 0x25082317: add esp, 4 */
   4282     _flag_k = FK_ADD;
   4283 L_2508231A:
   4284     eax = esi; /* 0x2508231A: mov eax, esi */
   4285     esi = POP32_VAL(esp); /* 0x2508231C: pop esi */
   4286     ebp = POP32_VAL(esp); /* 0x2508231D: pop ebp */
   4287     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508231E: ret 4 */
   4288 L_25085870:
   4289     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   4290     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4291     ecx = ecx - 0x20u; /* 0x25085870: sub ecx, 0x20 */
   4292     _flag_k = FK_CMP;
   4293     RECOMP_BACKEDGE();
   4294     goto L_25082300; /* 0x25085873: jmp 0x25082300 */
   4295     { RECOMP_REGS_OUT(); return; } /* end of function */
   4296     RECOMP_REGS_OUT();
   4297 }
   4298 
   4299 void sub_25085880(void) {
   4300     int _fpu_cmp = 0;
   4301     uint32_t _cf = 0;
   4302     int _df = 1;
   4303     uint32_t _flag_k = FK_NONE;
   4304     uint32_t _flag_a = 0, _flag_b = 0;
   4305     uint32_t _itail_tgt = 0;
   4306     RECOMP_REGS_LOCALS
   4307     RECOMP_ENTER(0x25085880u);
   4308 
   4309     goto L_25085880;
   4310 L_25082300:
   4311     PUSH32(esp, ebp); /* 0x25082300: push ebp */
   4312     ebp = esp; /* 0x25082301: mov ebp, esp */
   4313     PUSH32(esp, esi); /* 0x25082303: push esi */
   4314     esi = ecx; /* 0x25082304: mov esi, ecx */
   4315     RECOMP_ICALL(0x25082330u); /* 0x25082306: call 0x25082330 */ /* not lifted */
   4316     RECOMP_FLAGS_IN();
   4317     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508230B: test byte ptr [ebp + 8], 1 */
   4318     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4319     _cf = 0;
   4320     _flag_k = FK_NARROW(FK_TEST, 24);
   4321     if (TEST_Z(_flag_a, _flag_b)) goto L_2508231A; /* 0x2508230F: je 0x2508231a */
   4322 L_25082311:
   4323     PUSH32(esp, esi); /* 0x25082311: push esi */
   4324     RECOMP_ICALL(0x25137EECu); /* 0x25082312: call 0x25137eec */ /* not lifted */
   4325     RECOMP_FLAGS_IN();
   4326     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4327     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4328     esp = esp + 4; /* 0x25082317: add esp, 4 */
   4329     _flag_k = FK_ADD;
   4330 L_2508231A:
   4331     eax = esi; /* 0x2508231A: mov eax, esi */
   4332     esi = POP32_VAL(esp); /* 0x2508231C: pop esi */
   4333     ebp = POP32_VAL(esp); /* 0x2508231D: pop ebp */
   4334     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508231E: ret 4 */
   4335 L_25085880:
   4336     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   4337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4338     ecx = ecx - 0x38u; /* 0x25085880: sub ecx, 0x38 */
   4339     _flag_k = FK_CMP;
   4340     RECOMP_BACKEDGE();
   4341     goto L_25082300; /* 0x25085883: jmp 0x25082300 */
   4342     { RECOMP_REGS_OUT(); return; } /* end of function */
   4343     RECOMP_REGS_OUT();
   4344 }
   4345 
   4346 void sub_25085890(void) {
   4347     int _fpu_cmp = 0;
   4348     uint32_t _cf = 0;
   4349     int _df = 1;
   4350     uint32_t _flag_k = FK_NONE;
   4351     uint32_t _flag_a = 0, _flag_b = 0;
   4352     uint32_t _itail_tgt = 0;
   4353     RECOMP_REGS_LOCALS
   4354     RECOMP_ENTER(0x25085890u);
   4355 
   4356     goto L_25085890;
   4357 L_25082300:
   4358     PUSH32(esp, ebp); /* 0x25082300: push ebp */
   4359     ebp = esp; /* 0x25082301: mov ebp, esp */
   4360     PUSH32(esp, esi); /* 0x25082303: push esi */
   4361     esi = ecx; /* 0x25082304: mov esi, ecx */
   4362     RECOMP_ICALL(0x25082330u); /* 0x25082306: call 0x25082330 */ /* not lifted */
   4363     RECOMP_FLAGS_IN();
   4364     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508230B: test byte ptr [ebp + 8], 1 */
   4365     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4366     _cf = 0;
   4367     _flag_k = FK_NARROW(FK_TEST, 24);
   4368     if (TEST_Z(_flag_a, _flag_b)) goto L_2508231A; /* 0x2508230F: je 0x2508231a */
   4369 L_25082311:
   4370     PUSH32(esp, esi); /* 0x25082311: push esi */
   4371     RECOMP_ICALL(0x25137EECu); /* 0x25082312: call 0x25137eec */ /* not lifted */
   4372     RECOMP_FLAGS_IN();
   4373     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4374     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4375     esp = esp + 4; /* 0x25082317: add esp, 4 */
   4376     _flag_k = FK_ADD;
   4377 L_2508231A:
   4378     eax = esi; /* 0x2508231A: mov eax, esi */
   4379     esi = POP32_VAL(esp); /* 0x2508231C: pop esi */
   4380     ebp = POP32_VAL(esp); /* 0x2508231D: pop ebp */
   4381     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508231E: ret 4 */
   4382 L_25085890:
   4383     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   4384     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4385     ecx = ecx - 0x50u; /* 0x25085890: sub ecx, 0x50 */
   4386     _flag_k = FK_CMP;
   4387     RECOMP_BACKEDGE();
   4388     goto L_25082300; /* 0x25085893: jmp 0x25082300 */
   4389     { RECOMP_REGS_OUT(); return; } /* end of function */
   4390     RECOMP_REGS_OUT();
   4391 }
   4392 
   4393 void sub_250858A0(void) {
   4394     int _fpu_cmp = 0;
   4395     uint32_t _cf = 0;
   4396     int _df = 1;
   4397     uint32_t _flag_k = FK_NONE;
   4398     uint32_t _flag_a = 0, _flag_b = 0;
   4399     uint32_t _itail_tgt = 0;
   4400     RECOMP_REGS_LOCALS
   4401     RECOMP_ENTER(0x250858A0u);
   4402 
   4403     goto L_250858A0;
   4404 L_25082300:
   4405     PUSH32(esp, ebp); /* 0x25082300: push ebp */
   4406     ebp = esp; /* 0x25082301: mov ebp, esp */
   4407     PUSH32(esp, esi); /* 0x25082303: push esi */
   4408     esi = ecx; /* 0x25082304: mov esi, ecx */
   4409     RECOMP_ICALL(0x25082330u); /* 0x25082306: call 0x25082330 */ /* not lifted */
   4410     RECOMP_FLAGS_IN();
   4411     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508230B: test byte ptr [ebp + 8], 1 */
   4412     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4413     _cf = 0;
   4414     _flag_k = FK_NARROW(FK_TEST, 24);
   4415     if (TEST_Z(_flag_a, _flag_b)) goto L_2508231A; /* 0x2508230F: je 0x2508231a */
   4416 L_25082311:
   4417     PUSH32(esp, esi); /* 0x25082311: push esi */
   4418     RECOMP_ICALL(0x25137EECu); /* 0x25082312: call 0x25137eec */ /* not lifted */
   4419     RECOMP_FLAGS_IN();
   4420     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4421     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4422     esp = esp + 4; /* 0x25082317: add esp, 4 */
   4423     _flag_k = FK_ADD;
   4424 L_2508231A:
   4425     eax = esi; /* 0x2508231A: mov eax, esi */
   4426     esi = POP32_VAL(esp); /* 0x2508231C: pop esi */
   4427     ebp = POP32_VAL(esp); /* 0x2508231D: pop ebp */
   4428     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508231E: ret 4 */
   4429 L_250858A0:
   4430     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   4431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4432     ecx = ecx - 0x138u; /* 0x250858A0: sub ecx, 0x138 */
   4433     _flag_k = FK_CMP;
   4434     RECOMP_BACKEDGE();
   4435     goto L_25082300; /* 0x250858A6: jmp 0x25082300 */
   4436     { RECOMP_REGS_OUT(); return; } /* end of function */
   4437     RECOMP_REGS_OUT();
   4438 }
   4439 
   4440 void sub_250858B0(void) {
   4441     int _fpu_cmp = 0;
   4442     uint32_t _cf = 0;
   4443     int _df = 1;
   4444     uint32_t _flag_k = FK_NONE;
   4445     uint32_t _flag_a = 0, _flag_b = 0;
   4446     uint32_t _itail_tgt = 0;
   4447     RECOMP_REGS_LOCALS
   4448     RECOMP_ENTER(0x250858B0u);
   4449 
   4450     goto L_250858B0;
   4451 L_25082300:
   4452     PUSH32(esp, ebp); /* 0x25082300: push ebp */
   4453     ebp = esp; /* 0x25082301: mov ebp, esp */
   4454     PUSH32(esp, esi); /* 0x25082303: push esi */
   4455     esi = ecx; /* 0x25082304: mov esi, ecx */
   4456     RECOMP_ICALL(0x25082330u); /* 0x25082306: call 0x25082330 */ /* not lifted */
   4457     RECOMP_FLAGS_IN();
   4458     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508230B: test byte ptr [ebp + 8], 1 */
   4459     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4460     _cf = 0;
   4461     _flag_k = FK_NARROW(FK_TEST, 24);
   4462     if (TEST_Z(_flag_a, _flag_b)) goto L_2508231A; /* 0x2508230F: je 0x2508231a */
   4463 L_25082311:
   4464     PUSH32(esp, esi); /* 0x25082311: push esi */
   4465     RECOMP_ICALL(0x25137EECu); /* 0x25082312: call 0x25137eec */ /* not lifted */
   4466     RECOMP_FLAGS_IN();
   4467     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4468     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4469     esp = esp + 4; /* 0x25082317: add esp, 4 */
   4470     _flag_k = FK_ADD;
   4471 L_2508231A:
   4472     eax = esi; /* 0x2508231A: mov eax, esi */
   4473     esi = POP32_VAL(esp); /* 0x2508231C: pop esi */
   4474     ebp = POP32_VAL(esp); /* 0x2508231D: pop ebp */
   4475     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508231E: ret 4 */
   4476 L_250858B0:
   4477     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   4478     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4479     ecx = ecx - 0x150u; /* 0x250858B0: sub ecx, 0x150 */
   4480     _flag_k = FK_CMP;
   4481     RECOMP_BACKEDGE();
   4482     goto L_25082300; /* 0x250858B6: jmp 0x25082300 */
   4483     { RECOMP_REGS_OUT(); return; } /* end of function */
   4484     RECOMP_REGS_OUT();
   4485 }
   4486 
   4487 void sub_250858C0(void) {
   4488     int _fpu_cmp = 0;
   4489     uint32_t _cf = 0;
   4490     int _df = 1;
   4491     uint32_t _flag_k = FK_NONE;
   4492     uint32_t _flag_a = 0, _flag_b = 0;
   4493     uint32_t _itail_tgt = 0;
   4494     RECOMP_REGS_LOCALS
   4495     RECOMP_ENTER(0x250858C0u);
   4496 
   4497     goto L_250858C0;
   4498 L_2507E670:
   4499     PUSH32(esp, ebp); /* 0x2507E670: push ebp */
   4500     ebp = esp; /* 0x2507E671: mov ebp, esp */
   4501     PUSH32(esp, ebx); /* 0x2507E673: push ebx */
   4502     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507E674: mov bl, byte ptr [ebp + 8] */
   4503     /* test LO8(ebx), 2 */ /* 0x2507E677: test bl, 2 */
   4504     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   4505     _cf = 0;
   4506     _flag_k = FK_NARROW(FK_TEST, 24);
   4507     PUSH32(esp, esi); /* 0x2507E67A: push esi */
   4508     esi = ecx; /* 0x2507E67B: mov esi, ecx */
   4509     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6AE; /* 0x2507E67D: je 0x2507e6ae */
   4510 L_2507E67F:
   4511     eax = MEM32(esi + (-0x4)); /* 0x2507E67F: mov eax, dword ptr [esi - 4] */
   4512     PUSH32(esp, edi); /* 0x2507E682: push edi */
   4513     PUSH32(esp, 0x2507E870u); /* 0x2507E683: push 0x2507e870 */
   4514     edi = esi + (-0x4); /* 0x2507E688: lea edi, [esi - 4] */
   4515     PUSH32(esp, eax); /* 0x2507E68B: push eax */
   4516     PUSH32(esp, 0x22Cu); /* 0x2507E68C: push 0x22c */
   4517     PUSH32(esp, esi); /* 0x2507E691: push esi */
   4518     RECOMP_ICALL(0x25137F92u); /* 0x2507E692: call 0x25137f92 */ /* not lifted */
   4519     RECOMP_FLAGS_IN();
   4520     /* test LO8(ebx), 1 */ /* 0x2507E697: test bl, 1 */
   4521     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4522     _cf = 0;
   4523     _flag_k = FK_NARROW(FK_TEST, 24);
   4524     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6A5; /* 0x2507E69A: je 0x2507e6a5 */
   4525 L_2507E69C:
   4526     PUSH32(esp, edi); /* 0x2507E69C: push edi */
   4527     RECOMP_ICALL(0x25137EECu); /* 0x2507E69D: call 0x25137eec */ /* not lifted */
   4528     RECOMP_FLAGS_IN();
   4529     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4530     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4531     esp = esp + 4; /* 0x2507E6A2: add esp, 4 */
   4532     _flag_k = FK_ADD;
   4533 L_2507E6A5:
   4534     eax = edi; /* 0x2507E6A5: mov eax, edi */
   4535     edi = POP32_VAL(esp); /* 0x2507E6A7: pop edi */
   4536     esi = POP32_VAL(esp); /* 0x2507E6A8: pop esi */
   4537     ebx = POP32_VAL(esp); /* 0x2507E6A9: pop ebx */
   4538     ebp = POP32_VAL(esp); /* 0x2507E6AA: pop ebp */
   4539     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6AB: ret 4 */
   4540 L_2507E6AE:
   4541     ecx = esi; /* 0x2507E6AE: mov ecx, esi */
   4542     RECOMP_ICALL(0x2507E870u); /* 0x2507E6B0: call 0x2507e870 */ /* not lifted */
   4543     RECOMP_FLAGS_IN();
   4544     /* test LO8(ebx), 1 */ /* 0x2507E6B5: test bl, 1 */
   4545     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4546     _cf = 0;
   4547     _flag_k = FK_NARROW(FK_TEST, 24);
   4548     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6C3; /* 0x2507E6B8: je 0x2507e6c3 */
   4549 L_2507E6BA:
   4550     PUSH32(esp, esi); /* 0x2507E6BA: push esi */
   4551     RECOMP_ICALL(0x25137EECu); /* 0x2507E6BB: call 0x25137eec */ /* not lifted */
   4552     RECOMP_FLAGS_IN();
   4553     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4554     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4555     esp = esp + 4; /* 0x2507E6C0: add esp, 4 */
   4556     _flag_k = FK_ADD;
   4557 L_2507E6C3:
   4558     eax = esi; /* 0x2507E6C3: mov eax, esi */
   4559     esi = POP32_VAL(esp); /* 0x2507E6C5: pop esi */
   4560     ebx = POP32_VAL(esp); /* 0x2507E6C6: pop ebx */
   4561     ebp = POP32_VAL(esp); /* 0x2507E6C7: pop ebp */
   4562     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6C8: ret 4 */
   4563 L_250858C0:
   4564     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   4565     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4566     ecx = ecx - 8; /* 0x250858C0: sub ecx, 8 */
   4567     _flag_k = FK_CMP;
   4568     RECOMP_BACKEDGE();
   4569     goto L_2507E670; /* 0x250858C3: jmp 0x2507e670 */
   4570     { RECOMP_REGS_OUT(); return; } /* end of function */
   4571     RECOMP_REGS_OUT();
   4572 }
   4573 
   4574 void sub_250858D0(void) {
   4575     int _fpu_cmp = 0;
   4576     uint32_t _cf = 0;
   4577     int _df = 1;
   4578     uint32_t _flag_k = FK_NONE;
   4579     uint32_t _flag_a = 0, _flag_b = 0;
   4580     uint32_t _itail_tgt = 0;
   4581     RECOMP_REGS_LOCALS
   4582     RECOMP_ENTER(0x250858D0u);
   4583 
   4584     goto L_250858D0;
   4585 L_2507E670:
   4586     PUSH32(esp, ebp); /* 0x2507E670: push ebp */
   4587     ebp = esp; /* 0x2507E671: mov ebp, esp */
   4588     PUSH32(esp, ebx); /* 0x2507E673: push ebx */
   4589     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507E674: mov bl, byte ptr [ebp + 8] */
   4590     /* test LO8(ebx), 2 */ /* 0x2507E677: test bl, 2 */
   4591     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   4592     _cf = 0;
   4593     _flag_k = FK_NARROW(FK_TEST, 24);
   4594     PUSH32(esp, esi); /* 0x2507E67A: push esi */
   4595     esi = ecx; /* 0x2507E67B: mov esi, ecx */
   4596     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6AE; /* 0x2507E67D: je 0x2507e6ae */
   4597 L_2507E67F:
   4598     eax = MEM32(esi + (-0x4)); /* 0x2507E67F: mov eax, dword ptr [esi - 4] */
   4599     PUSH32(esp, edi); /* 0x2507E682: push edi */
   4600     PUSH32(esp, 0x2507E870u); /* 0x2507E683: push 0x2507e870 */
   4601     edi = esi + (-0x4); /* 0x2507E688: lea edi, [esi - 4] */
   4602     PUSH32(esp, eax); /* 0x2507E68B: push eax */
   4603     PUSH32(esp, 0x22Cu); /* 0x2507E68C: push 0x22c */
   4604     PUSH32(esp, esi); /* 0x2507E691: push esi */
   4605     RECOMP_ICALL(0x25137F92u); /* 0x2507E692: call 0x25137f92 */ /* not lifted */
   4606     RECOMP_FLAGS_IN();
   4607     /* test LO8(ebx), 1 */ /* 0x2507E697: test bl, 1 */
   4608     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4609     _cf = 0;
   4610     _flag_k = FK_NARROW(FK_TEST, 24);
   4611     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6A5; /* 0x2507E69A: je 0x2507e6a5 */
   4612 L_2507E69C:
   4613     PUSH32(esp, edi); /* 0x2507E69C: push edi */
   4614     RECOMP_ICALL(0x25137EECu); /* 0x2507E69D: call 0x25137eec */ /* not lifted */
   4615     RECOMP_FLAGS_IN();
   4616     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4617     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4618     esp = esp + 4; /* 0x2507E6A2: add esp, 4 */
   4619     _flag_k = FK_ADD;
   4620 L_2507E6A5:
   4621     eax = edi; /* 0x2507E6A5: mov eax, edi */
   4622     edi = POP32_VAL(esp); /* 0x2507E6A7: pop edi */
   4623     esi = POP32_VAL(esp); /* 0x2507E6A8: pop esi */
   4624     ebx = POP32_VAL(esp); /* 0x2507E6A9: pop ebx */
   4625     ebp = POP32_VAL(esp); /* 0x2507E6AA: pop ebp */
   4626     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6AB: ret 4 */
   4627 L_2507E6AE:
   4628     ecx = esi; /* 0x2507E6AE: mov ecx, esi */
   4629     RECOMP_ICALL(0x2507E870u); /* 0x2507E6B0: call 0x2507e870 */ /* not lifted */
   4630     RECOMP_FLAGS_IN();
   4631     /* test LO8(ebx), 1 */ /* 0x2507E6B5: test bl, 1 */
   4632     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4633     _cf = 0;
   4634     _flag_k = FK_NARROW(FK_TEST, 24);
   4635     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6C3; /* 0x2507E6B8: je 0x2507e6c3 */
   4636 L_2507E6BA:
   4637     PUSH32(esp, esi); /* 0x2507E6BA: push esi */
   4638     RECOMP_ICALL(0x25137EECu); /* 0x2507E6BB: call 0x25137eec */ /* not lifted */
   4639     RECOMP_FLAGS_IN();
   4640     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4641     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4642     esp = esp + 4; /* 0x2507E6C0: add esp, 4 */
   4643     _flag_k = FK_ADD;
   4644 L_2507E6C3:
   4645     eax = esi; /* 0x2507E6C3: mov eax, esi */
   4646     esi = POP32_VAL(esp); /* 0x2507E6C5: pop esi */
   4647     ebx = POP32_VAL(esp); /* 0x2507E6C6: pop ebx */
   4648     ebp = POP32_VAL(esp); /* 0x2507E6C7: pop ebp */
   4649     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6C8: ret 4 */
   4650 L_250858D0:
   4651     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   4652     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4653     ecx = ecx - 0x20u; /* 0x250858D0: sub ecx, 0x20 */
   4654     _flag_k = FK_CMP;
   4655     RECOMP_BACKEDGE();
   4656     goto L_2507E670; /* 0x250858D3: jmp 0x2507e670 */
   4657     { RECOMP_REGS_OUT(); return; } /* end of function */
   4658     RECOMP_REGS_OUT();
   4659 }
   4660 
   4661 void sub_250858E0(void) {
   4662     int _fpu_cmp = 0;
   4663     uint32_t _cf = 0;
   4664     int _df = 1;
   4665     uint32_t _flag_k = FK_NONE;
   4666     uint32_t _flag_a = 0, _flag_b = 0;
   4667     uint32_t _itail_tgt = 0;
   4668     RECOMP_REGS_LOCALS
   4669     RECOMP_ENTER(0x250858E0u);
   4670 
   4671     goto L_250858E0;
   4672 L_2507E670:
   4673     PUSH32(esp, ebp); /* 0x2507E670: push ebp */
   4674     ebp = esp; /* 0x2507E671: mov ebp, esp */
   4675     PUSH32(esp, ebx); /* 0x2507E673: push ebx */
   4676     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507E674: mov bl, byte ptr [ebp + 8] */
   4677     /* test LO8(ebx), 2 */ /* 0x2507E677: test bl, 2 */
   4678     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   4679     _cf = 0;
   4680     _flag_k = FK_NARROW(FK_TEST, 24);
   4681     PUSH32(esp, esi); /* 0x2507E67A: push esi */
   4682     esi = ecx; /* 0x2507E67B: mov esi, ecx */
   4683     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6AE; /* 0x2507E67D: je 0x2507e6ae */
   4684 L_2507E67F:
   4685     eax = MEM32(esi + (-0x4)); /* 0x2507E67F: mov eax, dword ptr [esi - 4] */
   4686     PUSH32(esp, edi); /* 0x2507E682: push edi */
   4687     PUSH32(esp, 0x2507E870u); /* 0x2507E683: push 0x2507e870 */
   4688     edi = esi + (-0x4); /* 0x2507E688: lea edi, [esi - 4] */
   4689     PUSH32(esp, eax); /* 0x2507E68B: push eax */
   4690     PUSH32(esp, 0x22Cu); /* 0x2507E68C: push 0x22c */
   4691     PUSH32(esp, esi); /* 0x2507E691: push esi */
   4692     RECOMP_ICALL(0x25137F92u); /* 0x2507E692: call 0x25137f92 */ /* not lifted */
   4693     RECOMP_FLAGS_IN();
   4694     /* test LO8(ebx), 1 */ /* 0x2507E697: test bl, 1 */
   4695     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4696     _cf = 0;
   4697     _flag_k = FK_NARROW(FK_TEST, 24);
   4698     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6A5; /* 0x2507E69A: je 0x2507e6a5 */
   4699 L_2507E69C:
   4700     PUSH32(esp, edi); /* 0x2507E69C: push edi */
   4701     RECOMP_ICALL(0x25137EECu); /* 0x2507E69D: call 0x25137eec */ /* not lifted */
   4702     RECOMP_FLAGS_IN();
   4703     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4704     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4705     esp = esp + 4; /* 0x2507E6A2: add esp, 4 */
   4706     _flag_k = FK_ADD;
   4707 L_2507E6A5:
   4708     eax = edi; /* 0x2507E6A5: mov eax, edi */
   4709     edi = POP32_VAL(esp); /* 0x2507E6A7: pop edi */
   4710     esi = POP32_VAL(esp); /* 0x2507E6A8: pop esi */
   4711     ebx = POP32_VAL(esp); /* 0x2507E6A9: pop ebx */
   4712     ebp = POP32_VAL(esp); /* 0x2507E6AA: pop ebp */
   4713     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6AB: ret 4 */
   4714 L_2507E6AE:
   4715     ecx = esi; /* 0x2507E6AE: mov ecx, esi */
   4716     RECOMP_ICALL(0x2507E870u); /* 0x2507E6B0: call 0x2507e870 */ /* not lifted */
   4717     RECOMP_FLAGS_IN();
   4718     /* test LO8(ebx), 1 */ /* 0x2507E6B5: test bl, 1 */
   4719     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4720     _cf = 0;
   4721     _flag_k = FK_NARROW(FK_TEST, 24);
   4722     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6C3; /* 0x2507E6B8: je 0x2507e6c3 */
   4723 L_2507E6BA:
   4724     PUSH32(esp, esi); /* 0x2507E6BA: push esi */
   4725     RECOMP_ICALL(0x25137EECu); /* 0x2507E6BB: call 0x25137eec */ /* not lifted */
   4726     RECOMP_FLAGS_IN();
   4727     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4728     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4729     esp = esp + 4; /* 0x2507E6C0: add esp, 4 */
   4730     _flag_k = FK_ADD;
   4731 L_2507E6C3:
   4732     eax = esi; /* 0x2507E6C3: mov eax, esi */
   4733     esi = POP32_VAL(esp); /* 0x2507E6C5: pop esi */
   4734     ebx = POP32_VAL(esp); /* 0x2507E6C6: pop ebx */
   4735     ebp = POP32_VAL(esp); /* 0x2507E6C7: pop ebp */
   4736     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6C8: ret 4 */
   4737 L_250858E0:
   4738     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   4739     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4740     ecx = ecx - 0x38u; /* 0x250858E0: sub ecx, 0x38 */
   4741     _flag_k = FK_CMP;
   4742     RECOMP_BACKEDGE();
   4743     goto L_2507E670; /* 0x250858E3: jmp 0x2507e670 */
   4744     { RECOMP_REGS_OUT(); return; } /* end of function */
   4745     RECOMP_REGS_OUT();
   4746 }
   4747 
   4748 void sub_250858F0(void) {
   4749     int _fpu_cmp = 0;
   4750     uint32_t _cf = 0;
   4751     int _df = 1;
   4752     uint32_t _flag_k = FK_NONE;
   4753     uint32_t _flag_a = 0, _flag_b = 0;
   4754     uint32_t _itail_tgt = 0;
   4755     RECOMP_REGS_LOCALS
   4756     RECOMP_ENTER(0x250858F0u);
   4757 
   4758     goto L_250858F0;
   4759 L_2507E670:
   4760     PUSH32(esp, ebp); /* 0x2507E670: push ebp */
   4761     ebp = esp; /* 0x2507E671: mov ebp, esp */
   4762     PUSH32(esp, ebx); /* 0x2507E673: push ebx */
   4763     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507E674: mov bl, byte ptr [ebp + 8] */
   4764     /* test LO8(ebx), 2 */ /* 0x2507E677: test bl, 2 */
   4765     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   4766     _cf = 0;
   4767     _flag_k = FK_NARROW(FK_TEST, 24);
   4768     PUSH32(esp, esi); /* 0x2507E67A: push esi */
   4769     esi = ecx; /* 0x2507E67B: mov esi, ecx */
   4770     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6AE; /* 0x2507E67D: je 0x2507e6ae */
   4771 L_2507E67F:
   4772     eax = MEM32(esi + (-0x4)); /* 0x2507E67F: mov eax, dword ptr [esi - 4] */
   4773     PUSH32(esp, edi); /* 0x2507E682: push edi */
   4774     PUSH32(esp, 0x2507E870u); /* 0x2507E683: push 0x2507e870 */
   4775     edi = esi + (-0x4); /* 0x2507E688: lea edi, [esi - 4] */
   4776     PUSH32(esp, eax); /* 0x2507E68B: push eax */
   4777     PUSH32(esp, 0x22Cu); /* 0x2507E68C: push 0x22c */
   4778     PUSH32(esp, esi); /* 0x2507E691: push esi */
   4779     RECOMP_ICALL(0x25137F92u); /* 0x2507E692: call 0x25137f92 */ /* not lifted */
   4780     RECOMP_FLAGS_IN();
   4781     /* test LO8(ebx), 1 */ /* 0x2507E697: test bl, 1 */
   4782     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4783     _cf = 0;
   4784     _flag_k = FK_NARROW(FK_TEST, 24);
   4785     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6A5; /* 0x2507E69A: je 0x2507e6a5 */
   4786 L_2507E69C:
   4787     PUSH32(esp, edi); /* 0x2507E69C: push edi */
   4788     RECOMP_ICALL(0x25137EECu); /* 0x2507E69D: call 0x25137eec */ /* not lifted */
   4789     RECOMP_FLAGS_IN();
   4790     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4791     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4792     esp = esp + 4; /* 0x2507E6A2: add esp, 4 */
   4793     _flag_k = FK_ADD;
   4794 L_2507E6A5:
   4795     eax = edi; /* 0x2507E6A5: mov eax, edi */
   4796     edi = POP32_VAL(esp); /* 0x2507E6A7: pop edi */
   4797     esi = POP32_VAL(esp); /* 0x2507E6A8: pop esi */
   4798     ebx = POP32_VAL(esp); /* 0x2507E6A9: pop ebx */
   4799     ebp = POP32_VAL(esp); /* 0x2507E6AA: pop ebp */
   4800     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6AB: ret 4 */
   4801 L_2507E6AE:
   4802     ecx = esi; /* 0x2507E6AE: mov ecx, esi */
   4803     RECOMP_ICALL(0x2507E870u); /* 0x2507E6B0: call 0x2507e870 */ /* not lifted */
   4804     RECOMP_FLAGS_IN();
   4805     /* test LO8(ebx), 1 */ /* 0x2507E6B5: test bl, 1 */
   4806     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4807     _cf = 0;
   4808     _flag_k = FK_NARROW(FK_TEST, 24);
   4809     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6C3; /* 0x2507E6B8: je 0x2507e6c3 */
   4810 L_2507E6BA:
   4811     PUSH32(esp, esi); /* 0x2507E6BA: push esi */
   4812     RECOMP_ICALL(0x25137EECu); /* 0x2507E6BB: call 0x25137eec */ /* not lifted */
   4813     RECOMP_FLAGS_IN();
   4814     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4815     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4816     esp = esp + 4; /* 0x2507E6C0: add esp, 4 */
   4817     _flag_k = FK_ADD;
   4818 L_2507E6C3:
   4819     eax = esi; /* 0x2507E6C3: mov eax, esi */
   4820     esi = POP32_VAL(esp); /* 0x2507E6C5: pop esi */
   4821     ebx = POP32_VAL(esp); /* 0x2507E6C6: pop ebx */
   4822     ebp = POP32_VAL(esp); /* 0x2507E6C7: pop ebp */
   4823     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6C8: ret 4 */
   4824 L_250858F0:
   4825     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   4826     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4827     ecx = ecx - 0x50u; /* 0x250858F0: sub ecx, 0x50 */
   4828     _flag_k = FK_CMP;
   4829     RECOMP_BACKEDGE();
   4830     goto L_2507E670; /* 0x250858F3: jmp 0x2507e670 */
   4831     { RECOMP_REGS_OUT(); return; } /* end of function */
   4832     RECOMP_REGS_OUT();
   4833 }
   4834 
   4835 void sub_25085900(void) {
   4836     int _fpu_cmp = 0;
   4837     uint32_t _cf = 0;
   4838     int _df = 1;
   4839     uint32_t _flag_k = FK_NONE;
   4840     uint32_t _flag_a = 0, _flag_b = 0;
   4841     uint32_t _itail_tgt = 0;
   4842     RECOMP_REGS_LOCALS
   4843     RECOMP_ENTER(0x25085900u);
   4844 
   4845     goto L_25085900;
   4846 L_2507E670:
   4847     PUSH32(esp, ebp); /* 0x2507E670: push ebp */
   4848     ebp = esp; /* 0x2507E671: mov ebp, esp */
   4849     PUSH32(esp, ebx); /* 0x2507E673: push ebx */
   4850     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507E674: mov bl, byte ptr [ebp + 8] */
   4851     /* test LO8(ebx), 2 */ /* 0x2507E677: test bl, 2 */
   4852     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   4853     _cf = 0;
   4854     _flag_k = FK_NARROW(FK_TEST, 24);
   4855     PUSH32(esp, esi); /* 0x2507E67A: push esi */
   4856     esi = ecx; /* 0x2507E67B: mov esi, ecx */
   4857     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6AE; /* 0x2507E67D: je 0x2507e6ae */
   4858 L_2507E67F:
   4859     eax = MEM32(esi + (-0x4)); /* 0x2507E67F: mov eax, dword ptr [esi - 4] */
   4860     PUSH32(esp, edi); /* 0x2507E682: push edi */
   4861     PUSH32(esp, 0x2507E870u); /* 0x2507E683: push 0x2507e870 */
   4862     edi = esi + (-0x4); /* 0x2507E688: lea edi, [esi - 4] */
   4863     PUSH32(esp, eax); /* 0x2507E68B: push eax */
   4864     PUSH32(esp, 0x22Cu); /* 0x2507E68C: push 0x22c */
   4865     PUSH32(esp, esi); /* 0x2507E691: push esi */
   4866     RECOMP_ICALL(0x25137F92u); /* 0x2507E692: call 0x25137f92 */ /* not lifted */
   4867     RECOMP_FLAGS_IN();
   4868     /* test LO8(ebx), 1 */ /* 0x2507E697: test bl, 1 */
   4869     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4870     _cf = 0;
   4871     _flag_k = FK_NARROW(FK_TEST, 24);
   4872     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6A5; /* 0x2507E69A: je 0x2507e6a5 */
   4873 L_2507E69C:
   4874     PUSH32(esp, edi); /* 0x2507E69C: push edi */
   4875     RECOMP_ICALL(0x25137EECu); /* 0x2507E69D: call 0x25137eec */ /* not lifted */
   4876     RECOMP_FLAGS_IN();
   4877     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4878     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4879     esp = esp + 4; /* 0x2507E6A2: add esp, 4 */
   4880     _flag_k = FK_ADD;
   4881 L_2507E6A5:
   4882     eax = edi; /* 0x2507E6A5: mov eax, edi */
   4883     edi = POP32_VAL(esp); /* 0x2507E6A7: pop edi */
   4884     esi = POP32_VAL(esp); /* 0x2507E6A8: pop esi */
   4885     ebx = POP32_VAL(esp); /* 0x2507E6A9: pop ebx */
   4886     ebp = POP32_VAL(esp); /* 0x2507E6AA: pop ebp */
   4887     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6AB: ret 4 */
   4888 L_2507E6AE:
   4889     ecx = esi; /* 0x2507E6AE: mov ecx, esi */
   4890     RECOMP_ICALL(0x2507E870u); /* 0x2507E6B0: call 0x2507e870 */ /* not lifted */
   4891     RECOMP_FLAGS_IN();
   4892     /* test LO8(ebx), 1 */ /* 0x2507E6B5: test bl, 1 */
   4893     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4894     _cf = 0;
   4895     _flag_k = FK_NARROW(FK_TEST, 24);
   4896     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6C3; /* 0x2507E6B8: je 0x2507e6c3 */
   4897 L_2507E6BA:
   4898     PUSH32(esp, esi); /* 0x2507E6BA: push esi */
   4899     RECOMP_ICALL(0x25137EECu); /* 0x2507E6BB: call 0x25137eec */ /* not lifted */
   4900     RECOMP_FLAGS_IN();
   4901     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4902     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4903     esp = esp + 4; /* 0x2507E6C0: add esp, 4 */
   4904     _flag_k = FK_ADD;
   4905 L_2507E6C3:
   4906     eax = esi; /* 0x2507E6C3: mov eax, esi */
   4907     esi = POP32_VAL(esp); /* 0x2507E6C5: pop esi */
   4908     ebx = POP32_VAL(esp); /* 0x2507E6C6: pop ebx */
   4909     ebp = POP32_VAL(esp); /* 0x2507E6C7: pop ebp */
   4910     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6C8: ret 4 */
   4911 L_25085900:
   4912     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   4913     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4914     ecx = ecx - 0x138u; /* 0x25085900: sub ecx, 0x138 */
   4915     _flag_k = FK_CMP;
   4916     RECOMP_BACKEDGE();
   4917     goto L_2507E670; /* 0x25085906: jmp 0x2507e670 */
   4918     { RECOMP_REGS_OUT(); return; } /* end of function */
   4919     RECOMP_REGS_OUT();
   4920 }
   4921 
   4922 void sub_25085910(void) {
   4923     int _fpu_cmp = 0;
   4924     uint32_t _cf = 0;
   4925     int _df = 1;
   4926     uint32_t _flag_k = FK_NONE;
   4927     uint32_t _flag_a = 0, _flag_b = 0;
   4928     uint32_t _itail_tgt = 0;
   4929     RECOMP_REGS_LOCALS
   4930     RECOMP_ENTER(0x25085910u);
   4931 
   4932     goto L_25085910;
   4933 L_2507E670:
   4934     PUSH32(esp, ebp); /* 0x2507E670: push ebp */
   4935     ebp = esp; /* 0x2507E671: mov ebp, esp */
   4936     PUSH32(esp, ebx); /* 0x2507E673: push ebx */
   4937     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507E674: mov bl, byte ptr [ebp + 8] */
   4938     /* test LO8(ebx), 2 */ /* 0x2507E677: test bl, 2 */
   4939     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   4940     _cf = 0;
   4941     _flag_k = FK_NARROW(FK_TEST, 24);
   4942     PUSH32(esp, esi); /* 0x2507E67A: push esi */
   4943     esi = ecx; /* 0x2507E67B: mov esi, ecx */
   4944     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6AE; /* 0x2507E67D: je 0x2507e6ae */
   4945 L_2507E67F:
   4946     eax = MEM32(esi + (-0x4)); /* 0x2507E67F: mov eax, dword ptr [esi - 4] */
   4947     PUSH32(esp, edi); /* 0x2507E682: push edi */
   4948     PUSH32(esp, 0x2507E870u); /* 0x2507E683: push 0x2507e870 */
   4949     edi = esi + (-0x4); /* 0x2507E688: lea edi, [esi - 4] */
   4950     PUSH32(esp, eax); /* 0x2507E68B: push eax */
   4951     PUSH32(esp, 0x22Cu); /* 0x2507E68C: push 0x22c */
   4952     PUSH32(esp, esi); /* 0x2507E691: push esi */
   4953     RECOMP_ICALL(0x25137F92u); /* 0x2507E692: call 0x25137f92 */ /* not lifted */
   4954     RECOMP_FLAGS_IN();
   4955     /* test LO8(ebx), 1 */ /* 0x2507E697: test bl, 1 */
   4956     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4957     _cf = 0;
   4958     _flag_k = FK_NARROW(FK_TEST, 24);
   4959     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6A5; /* 0x2507E69A: je 0x2507e6a5 */
   4960 L_2507E69C:
   4961     PUSH32(esp, edi); /* 0x2507E69C: push edi */
   4962     RECOMP_ICALL(0x25137EECu); /* 0x2507E69D: call 0x25137eec */ /* not lifted */
   4963     RECOMP_FLAGS_IN();
   4964     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4965     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4966     esp = esp + 4; /* 0x2507E6A2: add esp, 4 */
   4967     _flag_k = FK_ADD;
   4968 L_2507E6A5:
   4969     eax = edi; /* 0x2507E6A5: mov eax, edi */
   4970     edi = POP32_VAL(esp); /* 0x2507E6A7: pop edi */
   4971     esi = POP32_VAL(esp); /* 0x2507E6A8: pop esi */
   4972     ebx = POP32_VAL(esp); /* 0x2507E6A9: pop ebx */
   4973     ebp = POP32_VAL(esp); /* 0x2507E6AA: pop ebp */
   4974     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6AB: ret 4 */
   4975 L_2507E6AE:
   4976     ecx = esi; /* 0x2507E6AE: mov ecx, esi */
   4977     RECOMP_ICALL(0x2507E870u); /* 0x2507E6B0: call 0x2507e870 */ /* not lifted */
   4978     RECOMP_FLAGS_IN();
   4979     /* test LO8(ebx), 1 */ /* 0x2507E6B5: test bl, 1 */
   4980     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4981     _cf = 0;
   4982     _flag_k = FK_NARROW(FK_TEST, 24);
   4983     if (TEST_Z(_flag_a, _flag_b)) goto L_2507E6C3; /* 0x2507E6B8: je 0x2507e6c3 */
   4984 L_2507E6BA:
   4985     PUSH32(esp, esi); /* 0x2507E6BA: push esi */
   4986     RECOMP_ICALL(0x25137EECu); /* 0x2507E6BB: call 0x25137eec */ /* not lifted */
   4987     RECOMP_FLAGS_IN();
   4988     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4989     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4990     esp = esp + 4; /* 0x2507E6C0: add esp, 4 */
   4991     _flag_k = FK_ADD;
   4992 L_2507E6C3:
   4993     eax = esi; /* 0x2507E6C3: mov eax, esi */
   4994     esi = POP32_VAL(esp); /* 0x2507E6C5: pop esi */
   4995     ebx = POP32_VAL(esp); /* 0x2507E6C6: pop ebx */
   4996     ebp = POP32_VAL(esp); /* 0x2507E6C7: pop ebp */
   4997     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507E6C8: ret 4 */
   4998 L_25085910:
   4999     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   5000     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5001     ecx = ecx - 0x150u; /* 0x25085910: sub ecx, 0x150 */
   5002     _flag_k = FK_CMP;
   5003     RECOMP_BACKEDGE();
   5004     goto L_2507E670; /* 0x25085916: jmp 0x2507e670 */
   5005     { RECOMP_REGS_OUT(); return; } /* end of function */
   5006     RECOMP_REGS_OUT();
   5007 }
   5008 
   5009 void sub_25085920(void) {
   5010     int _fpu_cmp = 0;
   5011     uint32_t _cf = 0;
   5012     int _df = 1;
   5013     uint32_t _flag_k = FK_NONE;
   5014     uint32_t _flag_a = 0, _flag_b = 0;
   5015     uint32_t _itail_tgt = 0;
   5016     RECOMP_REGS_LOCALS
   5017     RECOMP_ENTER(0x25085920u);
   5018 
   5019     goto L_25085920;
   5020 L_25082880:
   5021     PUSH32(esp, ebp); /* 0x25082880: push ebp */
   5022     ebp = esp; /* 0x25082881: mov ebp, esp */
   5023     PUSH32(esp, esi); /* 0x25082883: push esi */
   5024     esi = ecx; /* 0x25082884: mov esi, ecx */
   5025     RECOMP_ICALL(0x250828B0u); /* 0x25082886: call 0x250828b0 */ /* not lifted */
   5026     RECOMP_FLAGS_IN();
   5027     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508288B: test byte ptr [ebp + 8], 1 */
   5028     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5029     _cf = 0;
   5030     _flag_k = FK_NARROW(FK_TEST, 24);
   5031     if (TEST_Z(_flag_a, _flag_b)) goto L_2508289A; /* 0x2508288F: je 0x2508289a */
   5032 L_25082891:
   5033     PUSH32(esp, esi); /* 0x25082891: push esi */
   5034     RECOMP_ICALL(0x25137EECu); /* 0x25082892: call 0x25137eec */ /* not lifted */
   5035     RECOMP_FLAGS_IN();
   5036     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5037     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5038     esp = esp + 4; /* 0x25082897: add esp, 4 */
   5039     _flag_k = FK_ADD;
   5040 L_2508289A:
   5041     eax = esi; /* 0x2508289A: mov eax, esi */
   5042     esi = POP32_VAL(esp); /* 0x2508289C: pop esi */
   5043     ebp = POP32_VAL(esp); /* 0x2508289D: pop ebp */
   5044     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508289E: ret 4 */
   5045 L_25085920:
   5046     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   5047     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5048     ecx = ecx - 8; /* 0x25085920: sub ecx, 8 */
   5049     _flag_k = FK_CMP;
   5050     RECOMP_BACKEDGE();
   5051     goto L_25082880; /* 0x25085923: jmp 0x25082880 */
   5052     { RECOMP_REGS_OUT(); return; } /* end of function */
   5053     RECOMP_REGS_OUT();
   5054 }
   5055 
   5056 void sub_25085930(void) {
   5057     int _fpu_cmp = 0;
   5058     uint32_t _cf = 0;
   5059     int _df = 1;
   5060     uint32_t _flag_k = FK_NONE;
   5061     uint32_t _flag_a = 0, _flag_b = 0;
   5062     uint32_t _itail_tgt = 0;
   5063     RECOMP_REGS_LOCALS
   5064     RECOMP_ENTER(0x25085930u);
   5065 
   5066     goto L_25085930;
   5067 L_25082880:
   5068     PUSH32(esp, ebp); /* 0x25082880: push ebp */
   5069     ebp = esp; /* 0x25082881: mov ebp, esp */
   5070     PUSH32(esp, esi); /* 0x25082883: push esi */
   5071     esi = ecx; /* 0x25082884: mov esi, ecx */
   5072     RECOMP_ICALL(0x250828B0u); /* 0x25082886: call 0x250828b0 */ /* not lifted */
   5073     RECOMP_FLAGS_IN();
   5074     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508288B: test byte ptr [ebp + 8], 1 */
   5075     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5076     _cf = 0;
   5077     _flag_k = FK_NARROW(FK_TEST, 24);
   5078     if (TEST_Z(_flag_a, _flag_b)) goto L_2508289A; /* 0x2508288F: je 0x2508289a */
   5079 L_25082891:
   5080     PUSH32(esp, esi); /* 0x25082891: push esi */
   5081     RECOMP_ICALL(0x25137EECu); /* 0x25082892: call 0x25137eec */ /* not lifted */
   5082     RECOMP_FLAGS_IN();
   5083     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5084     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5085     esp = esp + 4; /* 0x25082897: add esp, 4 */
   5086     _flag_k = FK_ADD;
   5087 L_2508289A:
   5088     eax = esi; /* 0x2508289A: mov eax, esi */
   5089     esi = POP32_VAL(esp); /* 0x2508289C: pop esi */
   5090     ebp = POP32_VAL(esp); /* 0x2508289D: pop ebp */
   5091     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508289E: ret 4 */
   5092 L_25085930:
   5093     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   5094     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5095     ecx = ecx - 0x20u; /* 0x25085930: sub ecx, 0x20 */
   5096     _flag_k = FK_CMP;
   5097     RECOMP_BACKEDGE();
   5098     goto L_25082880; /* 0x25085933: jmp 0x25082880 */
   5099     { RECOMP_REGS_OUT(); return; } /* end of function */
   5100     RECOMP_REGS_OUT();
   5101 }
   5102 
   5103 void sub_25085940(void) {
   5104     int _fpu_cmp = 0;
   5105     uint32_t _cf = 0;
   5106     int _df = 1;
   5107     uint32_t _flag_k = FK_NONE;
   5108     uint32_t _flag_a = 0, _flag_b = 0;
   5109     uint32_t _itail_tgt = 0;
   5110     RECOMP_REGS_LOCALS
   5111     RECOMP_ENTER(0x25085940u);
   5112 
   5113     goto L_25085940;
   5114 L_25082880:
   5115     PUSH32(esp, ebp); /* 0x25082880: push ebp */
   5116     ebp = esp; /* 0x25082881: mov ebp, esp */
   5117     PUSH32(esp, esi); /* 0x25082883: push esi */
   5118     esi = ecx; /* 0x25082884: mov esi, ecx */
   5119     RECOMP_ICALL(0x250828B0u); /* 0x25082886: call 0x250828b0 */ /* not lifted */
   5120     RECOMP_FLAGS_IN();
   5121     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508288B: test byte ptr [ebp + 8], 1 */
   5122     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5123     _cf = 0;
   5124     _flag_k = FK_NARROW(FK_TEST, 24);
   5125     if (TEST_Z(_flag_a, _flag_b)) goto L_2508289A; /* 0x2508288F: je 0x2508289a */
   5126 L_25082891:
   5127     PUSH32(esp, esi); /* 0x25082891: push esi */
   5128     RECOMP_ICALL(0x25137EECu); /* 0x25082892: call 0x25137eec */ /* not lifted */
   5129     RECOMP_FLAGS_IN();
   5130     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5131     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5132     esp = esp + 4; /* 0x25082897: add esp, 4 */
   5133     _flag_k = FK_ADD;
   5134 L_2508289A:
   5135     eax = esi; /* 0x2508289A: mov eax, esi */
   5136     esi = POP32_VAL(esp); /* 0x2508289C: pop esi */
   5137     ebp = POP32_VAL(esp); /* 0x2508289D: pop ebp */
   5138     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508289E: ret 4 */
   5139 L_25085940:
   5140     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   5141     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5142     ecx = ecx - 0x38u; /* 0x25085940: sub ecx, 0x38 */
   5143     _flag_k = FK_CMP;
   5144     RECOMP_BACKEDGE();
   5145     goto L_25082880; /* 0x25085943: jmp 0x25082880 */
   5146     { RECOMP_REGS_OUT(); return; } /* end of function */
   5147     RECOMP_REGS_OUT();
   5148 }
   5149 
   5150 void sub_25085950(void) {
   5151     int _fpu_cmp = 0;
   5152     uint32_t _cf = 0;
   5153     int _df = 1;
   5154     uint32_t _flag_k = FK_NONE;
   5155     uint32_t _flag_a = 0, _flag_b = 0;
   5156     uint32_t _itail_tgt = 0;
   5157     RECOMP_REGS_LOCALS
   5158     RECOMP_ENTER(0x25085950u);
   5159 
   5160     goto L_25085950;
   5161 L_25082880:
   5162     PUSH32(esp, ebp); /* 0x25082880: push ebp */
   5163     ebp = esp; /* 0x25082881: mov ebp, esp */
   5164     PUSH32(esp, esi); /* 0x25082883: push esi */
   5165     esi = ecx; /* 0x25082884: mov esi, ecx */
   5166     RECOMP_ICALL(0x250828B0u); /* 0x25082886: call 0x250828b0 */ /* not lifted */
   5167     RECOMP_FLAGS_IN();
   5168     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508288B: test byte ptr [ebp + 8], 1 */
   5169     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5170     _cf = 0;
   5171     _flag_k = FK_NARROW(FK_TEST, 24);
   5172     if (TEST_Z(_flag_a, _flag_b)) goto L_2508289A; /* 0x2508288F: je 0x2508289a */
   5173 L_25082891:
   5174     PUSH32(esp, esi); /* 0x25082891: push esi */
   5175     RECOMP_ICALL(0x25137EECu); /* 0x25082892: call 0x25137eec */ /* not lifted */
   5176     RECOMP_FLAGS_IN();
   5177     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5178     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5179     esp = esp + 4; /* 0x25082897: add esp, 4 */
   5180     _flag_k = FK_ADD;
   5181 L_2508289A:
   5182     eax = esi; /* 0x2508289A: mov eax, esi */
   5183     esi = POP32_VAL(esp); /* 0x2508289C: pop esi */
   5184     ebp = POP32_VAL(esp); /* 0x2508289D: pop ebp */
   5185     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508289E: ret 4 */
   5186 L_25085950:
   5187     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   5188     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5189     ecx = ecx - 0x50u; /* 0x25085950: sub ecx, 0x50 */
   5190     _flag_k = FK_CMP;
   5191     RECOMP_BACKEDGE();
   5192     goto L_25082880; /* 0x25085953: jmp 0x25082880 */
   5193     { RECOMP_REGS_OUT(); return; } /* end of function */
   5194     RECOMP_REGS_OUT();
   5195 }
   5196 
   5197 void sub_25085960(void) {
   5198     int _fpu_cmp = 0;
   5199     uint32_t _cf = 0;
   5200     int _df = 1;
   5201     uint32_t _flag_k = FK_NONE;
   5202     uint32_t _flag_a = 0, _flag_b = 0;
   5203     uint32_t _itail_tgt = 0;
   5204     RECOMP_REGS_LOCALS
   5205     RECOMP_ENTER(0x25085960u);
   5206 
   5207     goto L_25085960;
   5208 L_25082880:
   5209     PUSH32(esp, ebp); /* 0x25082880: push ebp */
   5210     ebp = esp; /* 0x25082881: mov ebp, esp */
   5211     PUSH32(esp, esi); /* 0x25082883: push esi */
   5212     esi = ecx; /* 0x25082884: mov esi, ecx */
   5213     RECOMP_ICALL(0x250828B0u); /* 0x25082886: call 0x250828b0 */ /* not lifted */
   5214     RECOMP_FLAGS_IN();
   5215     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508288B: test byte ptr [ebp + 8], 1 */
   5216     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5217     _cf = 0;
   5218     _flag_k = FK_NARROW(FK_TEST, 24);
   5219     if (TEST_Z(_flag_a, _flag_b)) goto L_2508289A; /* 0x2508288F: je 0x2508289a */
   5220 L_25082891:
   5221     PUSH32(esp, esi); /* 0x25082891: push esi */
   5222     RECOMP_ICALL(0x25137EECu); /* 0x25082892: call 0x25137eec */ /* not lifted */
   5223     RECOMP_FLAGS_IN();
   5224     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5225     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5226     esp = esp + 4; /* 0x25082897: add esp, 4 */
   5227     _flag_k = FK_ADD;
   5228 L_2508289A:
   5229     eax = esi; /* 0x2508289A: mov eax, esi */
   5230     esi = POP32_VAL(esp); /* 0x2508289C: pop esi */
   5231     ebp = POP32_VAL(esp); /* 0x2508289D: pop ebp */
   5232     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508289E: ret 4 */
   5233 L_25085960:
   5234     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   5235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5236     ecx = ecx - 0x138u; /* 0x25085960: sub ecx, 0x138 */
   5237     _flag_k = FK_CMP;
   5238     RECOMP_BACKEDGE();
   5239     goto L_25082880; /* 0x25085966: jmp 0x25082880 */
   5240     { RECOMP_REGS_OUT(); return; } /* end of function */
   5241     RECOMP_REGS_OUT();
   5242 }
   5243 
   5244 void sub_25085970(void) {
   5245     int _fpu_cmp = 0;
   5246     uint32_t _cf = 0;
   5247     int _df = 1;
   5248     uint32_t _flag_k = FK_NONE;
   5249     uint32_t _flag_a = 0, _flag_b = 0;
   5250     uint32_t _itail_tgt = 0;
   5251     RECOMP_REGS_LOCALS
   5252     RECOMP_ENTER(0x25085970u);
   5253 
   5254     goto L_25085970;
   5255 L_25082880:
   5256     PUSH32(esp, ebp); /* 0x25082880: push ebp */
   5257     ebp = esp; /* 0x25082881: mov ebp, esp */
   5258     PUSH32(esp, esi); /* 0x25082883: push esi */
   5259     esi = ecx; /* 0x25082884: mov esi, ecx */
   5260     RECOMP_ICALL(0x250828B0u); /* 0x25082886: call 0x250828b0 */ /* not lifted */
   5261     RECOMP_FLAGS_IN();
   5262     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508288B: test byte ptr [ebp + 8], 1 */
   5263     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5264     _cf = 0;
   5265     _flag_k = FK_NARROW(FK_TEST, 24);
   5266     if (TEST_Z(_flag_a, _flag_b)) goto L_2508289A; /* 0x2508288F: je 0x2508289a */
   5267 L_25082891:
   5268     PUSH32(esp, esi); /* 0x25082891: push esi */
   5269     RECOMP_ICALL(0x25137EECu); /* 0x25082892: call 0x25137eec */ /* not lifted */
   5270     RECOMP_FLAGS_IN();
   5271     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5272     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5273     esp = esp + 4; /* 0x25082897: add esp, 4 */
   5274     _flag_k = FK_ADD;
   5275 L_2508289A:
   5276     eax = esi; /* 0x2508289A: mov eax, esi */
   5277     esi = POP32_VAL(esp); /* 0x2508289C: pop esi */
   5278     ebp = POP32_VAL(esp); /* 0x2508289D: pop ebp */
   5279     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508289E: ret 4 */
   5280 L_25085970:
   5281     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   5282     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5283     ecx = ecx - 0x150u; /* 0x25085970: sub ecx, 0x150 */
   5284     _flag_k = FK_CMP;
   5285     RECOMP_BACKEDGE();
   5286     goto L_25082880; /* 0x25085976: jmp 0x25082880 */
   5287     { RECOMP_REGS_OUT(); return; } /* end of function */
   5288     RECOMP_REGS_OUT();
   5289 }
   5290 
   5291 void sub_25085980(void) {
   5292     int _fpu_cmp = 0;
   5293     uint32_t _cf = 0;
   5294     int _df = 1;
   5295     uint32_t _flag_k = FK_NONE;
   5296     uint32_t _flag_a = 0, _flag_b = 0;
   5297     uint32_t _itail_tgt = 0;
   5298     RECOMP_REGS_LOCALS
   5299     RECOMP_ENTER(0x25085980u);
   5300 
   5301     goto L_25085980;
   5302 L_2507CE30:
   5303     PUSH32(esp, ebp); /* 0x2507CE30: push ebp */
   5304     ebp = esp; /* 0x2507CE31: mov ebp, esp */
   5305     PUSH32(esp, ebx); /* 0x2507CE33: push ebx */
   5306     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507CE34: mov bl, byte ptr [ebp + 8] */
   5307     /* test LO8(ebx), 2 */ /* 0x2507CE37: test bl, 2 */
   5308     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   5309     _cf = 0;
   5310     _flag_k = FK_NARROW(FK_TEST, 24);
   5311     PUSH32(esp, esi); /* 0x2507CE3A: push esi */
   5312     esi = ecx; /* 0x2507CE3B: mov esi, ecx */
   5313     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE6E; /* 0x2507CE3D: je 0x2507ce6e */
   5314 L_2507CE3F:
   5315     eax = MEM32(esi + (-0x4)); /* 0x2507CE3F: mov eax, dword ptr [esi - 4] */
   5316     PUSH32(esp, edi); /* 0x2507CE42: push edi */
   5317     PUSH32(esp, 0x2507D050u); /* 0x2507CE43: push 0x2507d050 */
   5318     edi = esi + (-0x4); /* 0x2507CE48: lea edi, [esi - 4] */
   5319     PUSH32(esp, eax); /* 0x2507CE4B: push eax */
   5320     PUSH32(esp, 0x238u); /* 0x2507CE4C: push 0x238 */
   5321     PUSH32(esp, esi); /* 0x2507CE51: push esi */
   5322     RECOMP_ICALL(0x25137F92u); /* 0x2507CE52: call 0x25137f92 */ /* not lifted */
   5323     RECOMP_FLAGS_IN();
   5324     /* test LO8(ebx), 1 */ /* 0x2507CE57: test bl, 1 */
   5325     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5326     _cf = 0;
   5327     _flag_k = FK_NARROW(FK_TEST, 24);
   5328     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE65; /* 0x2507CE5A: je 0x2507ce65 */
   5329 L_2507CE5C:
   5330     PUSH32(esp, edi); /* 0x2507CE5C: push edi */
   5331     RECOMP_ICALL(0x25137EECu); /* 0x2507CE5D: call 0x25137eec */ /* not lifted */
   5332     RECOMP_FLAGS_IN();
   5333     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5334     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5335     esp = esp + 4; /* 0x2507CE62: add esp, 4 */
   5336     _flag_k = FK_ADD;
   5337 L_2507CE65:
   5338     eax = edi; /* 0x2507CE65: mov eax, edi */
   5339     edi = POP32_VAL(esp); /* 0x2507CE67: pop edi */
   5340     esi = POP32_VAL(esp); /* 0x2507CE68: pop esi */
   5341     ebx = POP32_VAL(esp); /* 0x2507CE69: pop ebx */
   5342     ebp = POP32_VAL(esp); /* 0x2507CE6A: pop ebp */
   5343     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE6B: ret 4 */
   5344 L_2507CE6E:
   5345     ecx = esi; /* 0x2507CE6E: mov ecx, esi */
   5346     RECOMP_ICALL(0x2507D050u); /* 0x2507CE70: call 0x2507d050 */ /* not lifted */
   5347     RECOMP_FLAGS_IN();
   5348     /* test LO8(ebx), 1 */ /* 0x2507CE75: test bl, 1 */
   5349     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5350     _cf = 0;
   5351     _flag_k = FK_NARROW(FK_TEST, 24);
   5352     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE83; /* 0x2507CE78: je 0x2507ce83 */
   5353 L_2507CE7A:
   5354     PUSH32(esp, esi); /* 0x2507CE7A: push esi */
   5355     RECOMP_ICALL(0x25137EECu); /* 0x2507CE7B: call 0x25137eec */ /* not lifted */
   5356     RECOMP_FLAGS_IN();
   5357     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5358     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5359     esp = esp + 4; /* 0x2507CE80: add esp, 4 */
   5360     _flag_k = FK_ADD;
   5361 L_2507CE83:
   5362     eax = esi; /* 0x2507CE83: mov eax, esi */
   5363     esi = POP32_VAL(esp); /* 0x2507CE85: pop esi */
   5364     ebx = POP32_VAL(esp); /* 0x2507CE86: pop ebx */
   5365     ebp = POP32_VAL(esp); /* 0x2507CE87: pop ebp */
   5366     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE88: ret 4 */
   5367 L_25085980:
   5368     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   5369     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5370     ecx = ecx - 8; /* 0x25085980: sub ecx, 8 */
   5371     _flag_k = FK_CMP;
   5372     RECOMP_BACKEDGE();
   5373     goto L_2507CE30; /* 0x25085983: jmp 0x2507ce30 */
   5374     { RECOMP_REGS_OUT(); return; } /* end of function */
   5375     RECOMP_REGS_OUT();
   5376 }
   5377 
   5378 void sub_25085990(void) {
   5379     int _fpu_cmp = 0;
   5380     uint32_t _cf = 0;
   5381     int _df = 1;
   5382     uint32_t _flag_k = FK_NONE;
   5383     uint32_t _flag_a = 0, _flag_b = 0;
   5384     uint32_t _itail_tgt = 0;
   5385     RECOMP_REGS_LOCALS
   5386     RECOMP_ENTER(0x25085990u);
   5387 
   5388     goto L_25085990;
   5389 L_2507CE30:
   5390     PUSH32(esp, ebp); /* 0x2507CE30: push ebp */
   5391     ebp = esp; /* 0x2507CE31: mov ebp, esp */
   5392     PUSH32(esp, ebx); /* 0x2507CE33: push ebx */
   5393     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507CE34: mov bl, byte ptr [ebp + 8] */
   5394     /* test LO8(ebx), 2 */ /* 0x2507CE37: test bl, 2 */
   5395     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   5396     _cf = 0;
   5397     _flag_k = FK_NARROW(FK_TEST, 24);
   5398     PUSH32(esp, esi); /* 0x2507CE3A: push esi */
   5399     esi = ecx; /* 0x2507CE3B: mov esi, ecx */
   5400     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE6E; /* 0x2507CE3D: je 0x2507ce6e */
   5401 L_2507CE3F:
   5402     eax = MEM32(esi + (-0x4)); /* 0x2507CE3F: mov eax, dword ptr [esi - 4] */
   5403     PUSH32(esp, edi); /* 0x2507CE42: push edi */
   5404     PUSH32(esp, 0x2507D050u); /* 0x2507CE43: push 0x2507d050 */
   5405     edi = esi + (-0x4); /* 0x2507CE48: lea edi, [esi - 4] */
   5406     PUSH32(esp, eax); /* 0x2507CE4B: push eax */
   5407     PUSH32(esp, 0x238u); /* 0x2507CE4C: push 0x238 */
   5408     PUSH32(esp, esi); /* 0x2507CE51: push esi */
   5409     RECOMP_ICALL(0x25137F92u); /* 0x2507CE52: call 0x25137f92 */ /* not lifted */
   5410     RECOMP_FLAGS_IN();
   5411     /* test LO8(ebx), 1 */ /* 0x2507CE57: test bl, 1 */
   5412     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5413     _cf = 0;
   5414     _flag_k = FK_NARROW(FK_TEST, 24);
   5415     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE65; /* 0x2507CE5A: je 0x2507ce65 */
   5416 L_2507CE5C:
   5417     PUSH32(esp, edi); /* 0x2507CE5C: push edi */
   5418     RECOMP_ICALL(0x25137EECu); /* 0x2507CE5D: call 0x25137eec */ /* not lifted */
   5419     RECOMP_FLAGS_IN();
   5420     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5421     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5422     esp = esp + 4; /* 0x2507CE62: add esp, 4 */
   5423     _flag_k = FK_ADD;
   5424 L_2507CE65:
   5425     eax = edi; /* 0x2507CE65: mov eax, edi */
   5426     edi = POP32_VAL(esp); /* 0x2507CE67: pop edi */
   5427     esi = POP32_VAL(esp); /* 0x2507CE68: pop esi */
   5428     ebx = POP32_VAL(esp); /* 0x2507CE69: pop ebx */
   5429     ebp = POP32_VAL(esp); /* 0x2507CE6A: pop ebp */
   5430     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE6B: ret 4 */
   5431 L_2507CE6E:
   5432     ecx = esi; /* 0x2507CE6E: mov ecx, esi */
   5433     RECOMP_ICALL(0x2507D050u); /* 0x2507CE70: call 0x2507d050 */ /* not lifted */
   5434     RECOMP_FLAGS_IN();
   5435     /* test LO8(ebx), 1 */ /* 0x2507CE75: test bl, 1 */
   5436     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5437     _cf = 0;
   5438     _flag_k = FK_NARROW(FK_TEST, 24);
   5439     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE83; /* 0x2507CE78: je 0x2507ce83 */
   5440 L_2507CE7A:
   5441     PUSH32(esp, esi); /* 0x2507CE7A: push esi */
   5442     RECOMP_ICALL(0x25137EECu); /* 0x2507CE7B: call 0x25137eec */ /* not lifted */
   5443     RECOMP_FLAGS_IN();
   5444     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5445     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5446     esp = esp + 4; /* 0x2507CE80: add esp, 4 */
   5447     _flag_k = FK_ADD;
   5448 L_2507CE83:
   5449     eax = esi; /* 0x2507CE83: mov eax, esi */
   5450     esi = POP32_VAL(esp); /* 0x2507CE85: pop esi */
   5451     ebx = POP32_VAL(esp); /* 0x2507CE86: pop ebx */
   5452     ebp = POP32_VAL(esp); /* 0x2507CE87: pop ebp */
   5453     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE88: ret 4 */
   5454 L_25085990:
   5455     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   5456     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5457     ecx = ecx - 0x20u; /* 0x25085990: sub ecx, 0x20 */
   5458     _flag_k = FK_CMP;
   5459     RECOMP_BACKEDGE();
   5460     goto L_2507CE30; /* 0x25085993: jmp 0x2507ce30 */
   5461     { RECOMP_REGS_OUT(); return; } /* end of function */
   5462     RECOMP_REGS_OUT();
   5463 }
   5464 
   5465 void sub_250859A0(void) {
   5466     int _fpu_cmp = 0;
   5467     uint32_t _cf = 0;
   5468     int _df = 1;
   5469     uint32_t _flag_k = FK_NONE;
   5470     uint32_t _flag_a = 0, _flag_b = 0;
   5471     uint32_t _itail_tgt = 0;
   5472     RECOMP_REGS_LOCALS
   5473     RECOMP_ENTER(0x250859A0u);
   5474 
   5475     goto L_250859A0;
   5476 L_2507CE30:
   5477     PUSH32(esp, ebp); /* 0x2507CE30: push ebp */
   5478     ebp = esp; /* 0x2507CE31: mov ebp, esp */
   5479     PUSH32(esp, ebx); /* 0x2507CE33: push ebx */
   5480     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507CE34: mov bl, byte ptr [ebp + 8] */
   5481     /* test LO8(ebx), 2 */ /* 0x2507CE37: test bl, 2 */
   5482     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   5483     _cf = 0;
   5484     _flag_k = FK_NARROW(FK_TEST, 24);
   5485     PUSH32(esp, esi); /* 0x2507CE3A: push esi */
   5486     esi = ecx; /* 0x2507CE3B: mov esi, ecx */
   5487     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE6E; /* 0x2507CE3D: je 0x2507ce6e */
   5488 L_2507CE3F:
   5489     eax = MEM32(esi + (-0x4)); /* 0x2507CE3F: mov eax, dword ptr [esi - 4] */
   5490     PUSH32(esp, edi); /* 0x2507CE42: push edi */
   5491     PUSH32(esp, 0x2507D050u); /* 0x2507CE43: push 0x2507d050 */
   5492     edi = esi + (-0x4); /* 0x2507CE48: lea edi, [esi - 4] */
   5493     PUSH32(esp, eax); /* 0x2507CE4B: push eax */
   5494     PUSH32(esp, 0x238u); /* 0x2507CE4C: push 0x238 */
   5495     PUSH32(esp, esi); /* 0x2507CE51: push esi */
   5496     RECOMP_ICALL(0x25137F92u); /* 0x2507CE52: call 0x25137f92 */ /* not lifted */
   5497     RECOMP_FLAGS_IN();
   5498     /* test LO8(ebx), 1 */ /* 0x2507CE57: test bl, 1 */
   5499     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5500     _cf = 0;
   5501     _flag_k = FK_NARROW(FK_TEST, 24);
   5502     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE65; /* 0x2507CE5A: je 0x2507ce65 */
   5503 L_2507CE5C:
   5504     PUSH32(esp, edi); /* 0x2507CE5C: push edi */
   5505     RECOMP_ICALL(0x25137EECu); /* 0x2507CE5D: call 0x25137eec */ /* not lifted */
   5506     RECOMP_FLAGS_IN();
   5507     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5508     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5509     esp = esp + 4; /* 0x2507CE62: add esp, 4 */
   5510     _flag_k = FK_ADD;
   5511 L_2507CE65:
   5512     eax = edi; /* 0x2507CE65: mov eax, edi */
   5513     edi = POP32_VAL(esp); /* 0x2507CE67: pop edi */
   5514     esi = POP32_VAL(esp); /* 0x2507CE68: pop esi */
   5515     ebx = POP32_VAL(esp); /* 0x2507CE69: pop ebx */
   5516     ebp = POP32_VAL(esp); /* 0x2507CE6A: pop ebp */
   5517     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE6B: ret 4 */
   5518 L_2507CE6E:
   5519     ecx = esi; /* 0x2507CE6E: mov ecx, esi */
   5520     RECOMP_ICALL(0x2507D050u); /* 0x2507CE70: call 0x2507d050 */ /* not lifted */
   5521     RECOMP_FLAGS_IN();
   5522     /* test LO8(ebx), 1 */ /* 0x2507CE75: test bl, 1 */
   5523     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5524     _cf = 0;
   5525     _flag_k = FK_NARROW(FK_TEST, 24);
   5526     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE83; /* 0x2507CE78: je 0x2507ce83 */
   5527 L_2507CE7A:
   5528     PUSH32(esp, esi); /* 0x2507CE7A: push esi */
   5529     RECOMP_ICALL(0x25137EECu); /* 0x2507CE7B: call 0x25137eec */ /* not lifted */
   5530     RECOMP_FLAGS_IN();
   5531     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5532     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5533     esp = esp + 4; /* 0x2507CE80: add esp, 4 */
   5534     _flag_k = FK_ADD;
   5535 L_2507CE83:
   5536     eax = esi; /* 0x2507CE83: mov eax, esi */
   5537     esi = POP32_VAL(esp); /* 0x2507CE85: pop esi */
   5538     ebx = POP32_VAL(esp); /* 0x2507CE86: pop ebx */
   5539     ebp = POP32_VAL(esp); /* 0x2507CE87: pop ebp */
   5540     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE88: ret 4 */
   5541 L_250859A0:
   5542     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   5543     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5544     ecx = ecx - 0x38u; /* 0x250859A0: sub ecx, 0x38 */
   5545     _flag_k = FK_CMP;
   5546     RECOMP_BACKEDGE();
   5547     goto L_2507CE30; /* 0x250859A3: jmp 0x2507ce30 */
   5548     { RECOMP_REGS_OUT(); return; } /* end of function */
   5549     RECOMP_REGS_OUT();
   5550 }
   5551 
   5552 void sub_250859B0(void) {
   5553     int _fpu_cmp = 0;
   5554     uint32_t _cf = 0;
   5555     int _df = 1;
   5556     uint32_t _flag_k = FK_NONE;
   5557     uint32_t _flag_a = 0, _flag_b = 0;
   5558     uint32_t _itail_tgt = 0;
   5559     RECOMP_REGS_LOCALS
   5560     RECOMP_ENTER(0x250859B0u);
   5561 
   5562     goto L_250859B0;
   5563 L_2507CE30:
   5564     PUSH32(esp, ebp); /* 0x2507CE30: push ebp */
   5565     ebp = esp; /* 0x2507CE31: mov ebp, esp */
   5566     PUSH32(esp, ebx); /* 0x2507CE33: push ebx */
   5567     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507CE34: mov bl, byte ptr [ebp + 8] */
   5568     /* test LO8(ebx), 2 */ /* 0x2507CE37: test bl, 2 */
   5569     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   5570     _cf = 0;
   5571     _flag_k = FK_NARROW(FK_TEST, 24);
   5572     PUSH32(esp, esi); /* 0x2507CE3A: push esi */
   5573     esi = ecx; /* 0x2507CE3B: mov esi, ecx */
   5574     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE6E; /* 0x2507CE3D: je 0x2507ce6e */
   5575 L_2507CE3F:
   5576     eax = MEM32(esi + (-0x4)); /* 0x2507CE3F: mov eax, dword ptr [esi - 4] */
   5577     PUSH32(esp, edi); /* 0x2507CE42: push edi */
   5578     PUSH32(esp, 0x2507D050u); /* 0x2507CE43: push 0x2507d050 */
   5579     edi = esi + (-0x4); /* 0x2507CE48: lea edi, [esi - 4] */
   5580     PUSH32(esp, eax); /* 0x2507CE4B: push eax */
   5581     PUSH32(esp, 0x238u); /* 0x2507CE4C: push 0x238 */
   5582     PUSH32(esp, esi); /* 0x2507CE51: push esi */
   5583     RECOMP_ICALL(0x25137F92u); /* 0x2507CE52: call 0x25137f92 */ /* not lifted */
   5584     RECOMP_FLAGS_IN();
   5585     /* test LO8(ebx), 1 */ /* 0x2507CE57: test bl, 1 */
   5586     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5587     _cf = 0;
   5588     _flag_k = FK_NARROW(FK_TEST, 24);
   5589     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE65; /* 0x2507CE5A: je 0x2507ce65 */
   5590 L_2507CE5C:
   5591     PUSH32(esp, edi); /* 0x2507CE5C: push edi */
   5592     RECOMP_ICALL(0x25137EECu); /* 0x2507CE5D: call 0x25137eec */ /* not lifted */
   5593     RECOMP_FLAGS_IN();
   5594     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5595     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5596     esp = esp + 4; /* 0x2507CE62: add esp, 4 */
   5597     _flag_k = FK_ADD;
   5598 L_2507CE65:
   5599     eax = edi; /* 0x2507CE65: mov eax, edi */
   5600     edi = POP32_VAL(esp); /* 0x2507CE67: pop edi */
   5601     esi = POP32_VAL(esp); /* 0x2507CE68: pop esi */
   5602     ebx = POP32_VAL(esp); /* 0x2507CE69: pop ebx */
   5603     ebp = POP32_VAL(esp); /* 0x2507CE6A: pop ebp */
   5604     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE6B: ret 4 */
   5605 L_2507CE6E:
   5606     ecx = esi; /* 0x2507CE6E: mov ecx, esi */
   5607     RECOMP_ICALL(0x2507D050u); /* 0x2507CE70: call 0x2507d050 */ /* not lifted */
   5608     RECOMP_FLAGS_IN();
   5609     /* test LO8(ebx), 1 */ /* 0x2507CE75: test bl, 1 */
   5610     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5611     _cf = 0;
   5612     _flag_k = FK_NARROW(FK_TEST, 24);
   5613     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE83; /* 0x2507CE78: je 0x2507ce83 */
   5614 L_2507CE7A:
   5615     PUSH32(esp, esi); /* 0x2507CE7A: push esi */
   5616     RECOMP_ICALL(0x25137EECu); /* 0x2507CE7B: call 0x25137eec */ /* not lifted */
   5617     RECOMP_FLAGS_IN();
   5618     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5619     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5620     esp = esp + 4; /* 0x2507CE80: add esp, 4 */
   5621     _flag_k = FK_ADD;
   5622 L_2507CE83:
   5623     eax = esi; /* 0x2507CE83: mov eax, esi */
   5624     esi = POP32_VAL(esp); /* 0x2507CE85: pop esi */
   5625     ebx = POP32_VAL(esp); /* 0x2507CE86: pop ebx */
   5626     ebp = POP32_VAL(esp); /* 0x2507CE87: pop ebp */
   5627     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE88: ret 4 */
   5628 L_250859B0:
   5629     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   5630     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5631     ecx = ecx - 0x50u; /* 0x250859B0: sub ecx, 0x50 */
   5632     _flag_k = FK_CMP;
   5633     RECOMP_BACKEDGE();
   5634     goto L_2507CE30; /* 0x250859B3: jmp 0x2507ce30 */
   5635     { RECOMP_REGS_OUT(); return; } /* end of function */
   5636     RECOMP_REGS_OUT();
   5637 }
   5638 
   5639 void sub_250859C0(void) {
   5640     int _fpu_cmp = 0;
   5641     uint32_t _cf = 0;
   5642     int _df = 1;
   5643     uint32_t _flag_k = FK_NONE;
   5644     uint32_t _flag_a = 0, _flag_b = 0;
   5645     uint32_t _itail_tgt = 0;
   5646     RECOMP_REGS_LOCALS
   5647     RECOMP_ENTER(0x250859C0u);
   5648 
   5649     goto L_250859C0;
   5650 L_2507CE30:
   5651     PUSH32(esp, ebp); /* 0x2507CE30: push ebp */
   5652     ebp = esp; /* 0x2507CE31: mov ebp, esp */
   5653     PUSH32(esp, ebx); /* 0x2507CE33: push ebx */
   5654     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507CE34: mov bl, byte ptr [ebp + 8] */
   5655     /* test LO8(ebx), 2 */ /* 0x2507CE37: test bl, 2 */
   5656     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   5657     _cf = 0;
   5658     _flag_k = FK_NARROW(FK_TEST, 24);
   5659     PUSH32(esp, esi); /* 0x2507CE3A: push esi */
   5660     esi = ecx; /* 0x2507CE3B: mov esi, ecx */
   5661     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE6E; /* 0x2507CE3D: je 0x2507ce6e */
   5662 L_2507CE3F:
   5663     eax = MEM32(esi + (-0x4)); /* 0x2507CE3F: mov eax, dword ptr [esi - 4] */
   5664     PUSH32(esp, edi); /* 0x2507CE42: push edi */
   5665     PUSH32(esp, 0x2507D050u); /* 0x2507CE43: push 0x2507d050 */
   5666     edi = esi + (-0x4); /* 0x2507CE48: lea edi, [esi - 4] */
   5667     PUSH32(esp, eax); /* 0x2507CE4B: push eax */
   5668     PUSH32(esp, 0x238u); /* 0x2507CE4C: push 0x238 */
   5669     PUSH32(esp, esi); /* 0x2507CE51: push esi */
   5670     RECOMP_ICALL(0x25137F92u); /* 0x2507CE52: call 0x25137f92 */ /* not lifted */
   5671     RECOMP_FLAGS_IN();
   5672     /* test LO8(ebx), 1 */ /* 0x2507CE57: test bl, 1 */
   5673     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5674     _cf = 0;
   5675     _flag_k = FK_NARROW(FK_TEST, 24);
   5676     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE65; /* 0x2507CE5A: je 0x2507ce65 */
   5677 L_2507CE5C:
   5678     PUSH32(esp, edi); /* 0x2507CE5C: push edi */
   5679     RECOMP_ICALL(0x25137EECu); /* 0x2507CE5D: call 0x25137eec */ /* not lifted */
   5680     RECOMP_FLAGS_IN();
   5681     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5682     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5683     esp = esp + 4; /* 0x2507CE62: add esp, 4 */
   5684     _flag_k = FK_ADD;
   5685 L_2507CE65:
   5686     eax = edi; /* 0x2507CE65: mov eax, edi */
   5687     edi = POP32_VAL(esp); /* 0x2507CE67: pop edi */
   5688     esi = POP32_VAL(esp); /* 0x2507CE68: pop esi */
   5689     ebx = POP32_VAL(esp); /* 0x2507CE69: pop ebx */
   5690     ebp = POP32_VAL(esp); /* 0x2507CE6A: pop ebp */
   5691     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE6B: ret 4 */
   5692 L_2507CE6E:
   5693     ecx = esi; /* 0x2507CE6E: mov ecx, esi */
   5694     RECOMP_ICALL(0x2507D050u); /* 0x2507CE70: call 0x2507d050 */ /* not lifted */
   5695     RECOMP_FLAGS_IN();
   5696     /* test LO8(ebx), 1 */ /* 0x2507CE75: test bl, 1 */
   5697     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5698     _cf = 0;
   5699     _flag_k = FK_NARROW(FK_TEST, 24);
   5700     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE83; /* 0x2507CE78: je 0x2507ce83 */
   5701 L_2507CE7A:
   5702     PUSH32(esp, esi); /* 0x2507CE7A: push esi */
   5703     RECOMP_ICALL(0x25137EECu); /* 0x2507CE7B: call 0x25137eec */ /* not lifted */
   5704     RECOMP_FLAGS_IN();
   5705     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5706     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5707     esp = esp + 4; /* 0x2507CE80: add esp, 4 */
   5708     _flag_k = FK_ADD;
   5709 L_2507CE83:
   5710     eax = esi; /* 0x2507CE83: mov eax, esi */
   5711     esi = POP32_VAL(esp); /* 0x2507CE85: pop esi */
   5712     ebx = POP32_VAL(esp); /* 0x2507CE86: pop ebx */
   5713     ebp = POP32_VAL(esp); /* 0x2507CE87: pop ebp */
   5714     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE88: ret 4 */
   5715 L_250859C0:
   5716     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   5717     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5718     ecx = ecx - 0x138u; /* 0x250859C0: sub ecx, 0x138 */
   5719     _flag_k = FK_CMP;
   5720     RECOMP_BACKEDGE();
   5721     goto L_2507CE30; /* 0x250859C6: jmp 0x2507ce30 */
   5722     { RECOMP_REGS_OUT(); return; } /* end of function */
   5723     RECOMP_REGS_OUT();
   5724 }
   5725 
   5726 void sub_250859D0(void) {
   5727     int _fpu_cmp = 0;
   5728     uint32_t _cf = 0;
   5729     int _df = 1;
   5730     uint32_t _flag_k = FK_NONE;
   5731     uint32_t _flag_a = 0, _flag_b = 0;
   5732     uint32_t _itail_tgt = 0;
   5733     RECOMP_REGS_LOCALS
   5734     RECOMP_ENTER(0x250859D0u);
   5735 
   5736     goto L_250859D0;
   5737 L_2507CE30:
   5738     PUSH32(esp, ebp); /* 0x2507CE30: push ebp */
   5739     ebp = esp; /* 0x2507CE31: mov ebp, esp */
   5740     PUSH32(esp, ebx); /* 0x2507CE33: push ebx */
   5741     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507CE34: mov bl, byte ptr [ebp + 8] */
   5742     /* test LO8(ebx), 2 */ /* 0x2507CE37: test bl, 2 */
   5743     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   5744     _cf = 0;
   5745     _flag_k = FK_NARROW(FK_TEST, 24);
   5746     PUSH32(esp, esi); /* 0x2507CE3A: push esi */
   5747     esi = ecx; /* 0x2507CE3B: mov esi, ecx */
   5748     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE6E; /* 0x2507CE3D: je 0x2507ce6e */
   5749 L_2507CE3F:
   5750     eax = MEM32(esi + (-0x4)); /* 0x2507CE3F: mov eax, dword ptr [esi - 4] */
   5751     PUSH32(esp, edi); /* 0x2507CE42: push edi */
   5752     PUSH32(esp, 0x2507D050u); /* 0x2507CE43: push 0x2507d050 */
   5753     edi = esi + (-0x4); /* 0x2507CE48: lea edi, [esi - 4] */
   5754     PUSH32(esp, eax); /* 0x2507CE4B: push eax */
   5755     PUSH32(esp, 0x238u); /* 0x2507CE4C: push 0x238 */
   5756     PUSH32(esp, esi); /* 0x2507CE51: push esi */
   5757     RECOMP_ICALL(0x25137F92u); /* 0x2507CE52: call 0x25137f92 */ /* not lifted */
   5758     RECOMP_FLAGS_IN();
   5759     /* test LO8(ebx), 1 */ /* 0x2507CE57: test bl, 1 */
   5760     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5761     _cf = 0;
   5762     _flag_k = FK_NARROW(FK_TEST, 24);
   5763     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE65; /* 0x2507CE5A: je 0x2507ce65 */
   5764 L_2507CE5C:
   5765     PUSH32(esp, edi); /* 0x2507CE5C: push edi */
   5766     RECOMP_ICALL(0x25137EECu); /* 0x2507CE5D: call 0x25137eec */ /* not lifted */
   5767     RECOMP_FLAGS_IN();
   5768     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5769     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5770     esp = esp + 4; /* 0x2507CE62: add esp, 4 */
   5771     _flag_k = FK_ADD;
   5772 L_2507CE65:
   5773     eax = edi; /* 0x2507CE65: mov eax, edi */
   5774     edi = POP32_VAL(esp); /* 0x2507CE67: pop edi */
   5775     esi = POP32_VAL(esp); /* 0x2507CE68: pop esi */
   5776     ebx = POP32_VAL(esp); /* 0x2507CE69: pop ebx */
   5777     ebp = POP32_VAL(esp); /* 0x2507CE6A: pop ebp */
   5778     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE6B: ret 4 */
   5779 L_2507CE6E:
   5780     ecx = esi; /* 0x2507CE6E: mov ecx, esi */
   5781     RECOMP_ICALL(0x2507D050u); /* 0x2507CE70: call 0x2507d050 */ /* not lifted */
   5782     RECOMP_FLAGS_IN();
   5783     /* test LO8(ebx), 1 */ /* 0x2507CE75: test bl, 1 */
   5784     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5785     _cf = 0;
   5786     _flag_k = FK_NARROW(FK_TEST, 24);
   5787     if (TEST_Z(_flag_a, _flag_b)) goto L_2507CE83; /* 0x2507CE78: je 0x2507ce83 */
   5788 L_2507CE7A:
   5789     PUSH32(esp, esi); /* 0x2507CE7A: push esi */
   5790     RECOMP_ICALL(0x25137EECu); /* 0x2507CE7B: call 0x25137eec */ /* not lifted */
   5791     RECOMP_FLAGS_IN();
   5792     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5793     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5794     esp = esp + 4; /* 0x2507CE80: add esp, 4 */
   5795     _flag_k = FK_ADD;
   5796 L_2507CE83:
   5797     eax = esi; /* 0x2507CE83: mov eax, esi */
   5798     esi = POP32_VAL(esp); /* 0x2507CE85: pop esi */
   5799     ebx = POP32_VAL(esp); /* 0x2507CE86: pop ebx */
   5800     ebp = POP32_VAL(esp); /* 0x2507CE87: pop ebp */
   5801     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507CE88: ret 4 */
   5802 L_250859D0:
   5803     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   5804     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5805     ecx = ecx - 0x150u; /* 0x250859D0: sub ecx, 0x150 */
   5806     _flag_k = FK_CMP;
   5807     RECOMP_BACKEDGE();
   5808     goto L_2507CE30; /* 0x250859D6: jmp 0x2507ce30 */
   5809     { RECOMP_REGS_OUT(); return; } /* end of function */
   5810     RECOMP_REGS_OUT();
   5811 }
   5812 
   5813 void sub_250859E0(void) {
   5814     int _fpu_cmp = 0;
   5815     uint32_t _cf = 0;
   5816     int _df = 1;
   5817     uint32_t _flag_k = FK_NONE;
   5818     uint32_t _flag_a = 0, _flag_b = 0;
   5819     uint32_t _itail_tgt = 0;
   5820     RECOMP_REGS_LOCALS
   5821     RECOMP_ENTER(0x250859E0u);
   5822 
   5823     goto L_250859E0;
   5824 L_25082460:
   5825     PUSH32(esp, ebp); /* 0x25082460: push ebp */
   5826     ebp = esp; /* 0x25082461: mov ebp, esp */
   5827     PUSH32(esp, esi); /* 0x25082463: push esi */
   5828     esi = ecx; /* 0x25082464: mov esi, ecx */
   5829     RECOMP_ICALL(0x25082490u); /* 0x25082466: call 0x25082490 */ /* not lifted */
   5830     RECOMP_FLAGS_IN();
   5831     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508246B: test byte ptr [ebp + 8], 1 */
   5832     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5833     _cf = 0;
   5834     _flag_k = FK_NARROW(FK_TEST, 24);
   5835     if (TEST_Z(_flag_a, _flag_b)) goto L_2508247A; /* 0x2508246F: je 0x2508247a */
   5836 L_25082471:
   5837     PUSH32(esp, esi); /* 0x25082471: push esi */
   5838     RECOMP_ICALL(0x25137EECu); /* 0x25082472: call 0x25137eec */ /* not lifted */
   5839     RECOMP_FLAGS_IN();
   5840     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5841     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5842     esp = esp + 4; /* 0x25082477: add esp, 4 */
   5843     _flag_k = FK_ADD;
   5844 L_2508247A:
   5845     eax = esi; /* 0x2508247A: mov eax, esi */
   5846     esi = POP32_VAL(esp); /* 0x2508247C: pop esi */
   5847     ebp = POP32_VAL(esp); /* 0x2508247D: pop ebp */
   5848     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508247E: ret 4 */
   5849 L_250859E0:
   5850     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   5851     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5852     ecx = ecx - 8; /* 0x250859E0: sub ecx, 8 */
   5853     _flag_k = FK_CMP;
   5854     RECOMP_BACKEDGE();
   5855     goto L_25082460; /* 0x250859E3: jmp 0x25082460 */
   5856     { RECOMP_REGS_OUT(); return; } /* end of function */
   5857     RECOMP_REGS_OUT();
   5858 }
   5859 
   5860 void sub_250859F0(void) {
   5861     int _fpu_cmp = 0;
   5862     uint32_t _cf = 0;
   5863     int _df = 1;
   5864     uint32_t _flag_k = FK_NONE;
   5865     uint32_t _flag_a = 0, _flag_b = 0;
   5866     uint32_t _itail_tgt = 0;
   5867     RECOMP_REGS_LOCALS
   5868     RECOMP_ENTER(0x250859F0u);
   5869 
   5870     goto L_250859F0;
   5871 L_25082460:
   5872     PUSH32(esp, ebp); /* 0x25082460: push ebp */
   5873     ebp = esp; /* 0x25082461: mov ebp, esp */
   5874     PUSH32(esp, esi); /* 0x25082463: push esi */
   5875     esi = ecx; /* 0x25082464: mov esi, ecx */
   5876     RECOMP_ICALL(0x25082490u); /* 0x25082466: call 0x25082490 */ /* not lifted */
   5877     RECOMP_FLAGS_IN();
   5878     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508246B: test byte ptr [ebp + 8], 1 */
   5879     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5880     _cf = 0;
   5881     _flag_k = FK_NARROW(FK_TEST, 24);
   5882     if (TEST_Z(_flag_a, _flag_b)) goto L_2508247A; /* 0x2508246F: je 0x2508247a */
   5883 L_25082471:
   5884     PUSH32(esp, esi); /* 0x25082471: push esi */
   5885     RECOMP_ICALL(0x25137EECu); /* 0x25082472: call 0x25137eec */ /* not lifted */
   5886     RECOMP_FLAGS_IN();
   5887     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5888     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5889     esp = esp + 4; /* 0x25082477: add esp, 4 */
   5890     _flag_k = FK_ADD;
   5891 L_2508247A:
   5892     eax = esi; /* 0x2508247A: mov eax, esi */
   5893     esi = POP32_VAL(esp); /* 0x2508247C: pop esi */
   5894     ebp = POP32_VAL(esp); /* 0x2508247D: pop ebp */
   5895     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508247E: ret 4 */
   5896 L_250859F0:
   5897     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   5898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5899     ecx = ecx - 0x20u; /* 0x250859F0: sub ecx, 0x20 */
   5900     _flag_k = FK_CMP;
   5901     RECOMP_BACKEDGE();
   5902     goto L_25082460; /* 0x250859F3: jmp 0x25082460 */
   5903     { RECOMP_REGS_OUT(); return; } /* end of function */
   5904     RECOMP_REGS_OUT();
   5905 }
   5906 
   5907 void sub_25085A00(void) {
   5908     int _fpu_cmp = 0;
   5909     uint32_t _cf = 0;
   5910     int _df = 1;
   5911     uint32_t _flag_k = FK_NONE;
   5912     uint32_t _flag_a = 0, _flag_b = 0;
   5913     uint32_t _itail_tgt = 0;
   5914     RECOMP_REGS_LOCALS
   5915     RECOMP_ENTER(0x25085A00u);
   5916 
   5917     goto L_25085A00;
   5918 L_25082460:
   5919     PUSH32(esp, ebp); /* 0x25082460: push ebp */
   5920     ebp = esp; /* 0x25082461: mov ebp, esp */
   5921     PUSH32(esp, esi); /* 0x25082463: push esi */
   5922     esi = ecx; /* 0x25082464: mov esi, ecx */
   5923     RECOMP_ICALL(0x25082490u); /* 0x25082466: call 0x25082490 */ /* not lifted */
   5924     RECOMP_FLAGS_IN();
   5925     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508246B: test byte ptr [ebp + 8], 1 */
   5926     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5927     _cf = 0;
   5928     _flag_k = FK_NARROW(FK_TEST, 24);
   5929     if (TEST_Z(_flag_a, _flag_b)) goto L_2508247A; /* 0x2508246F: je 0x2508247a */
   5930 L_25082471:
   5931     PUSH32(esp, esi); /* 0x25082471: push esi */
   5932     RECOMP_ICALL(0x25137EECu); /* 0x25082472: call 0x25137eec */ /* not lifted */
   5933     RECOMP_FLAGS_IN();
   5934     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5935     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5936     esp = esp + 4; /* 0x25082477: add esp, 4 */
   5937     _flag_k = FK_ADD;
   5938 L_2508247A:
   5939     eax = esi; /* 0x2508247A: mov eax, esi */
   5940     esi = POP32_VAL(esp); /* 0x2508247C: pop esi */
   5941     ebp = POP32_VAL(esp); /* 0x2508247D: pop ebp */
   5942     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508247E: ret 4 */
   5943 L_25085A00:
   5944     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   5945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5946     ecx = ecx - 0x38u; /* 0x25085A00: sub ecx, 0x38 */
   5947     _flag_k = FK_CMP;
   5948     RECOMP_BACKEDGE();
   5949     goto L_25082460; /* 0x25085A03: jmp 0x25082460 */
   5950     { RECOMP_REGS_OUT(); return; } /* end of function */
   5951     RECOMP_REGS_OUT();
   5952 }
   5953 
   5954 void sub_25085A10(void) {
   5955     int _fpu_cmp = 0;
   5956     uint32_t _cf = 0;
   5957     int _df = 1;
   5958     uint32_t _flag_k = FK_NONE;
   5959     uint32_t _flag_a = 0, _flag_b = 0;
   5960     uint32_t _itail_tgt = 0;
   5961     RECOMP_REGS_LOCALS
   5962     RECOMP_ENTER(0x25085A10u);
   5963 
   5964     goto L_25085A10;
   5965 L_25082460:
   5966     PUSH32(esp, ebp); /* 0x25082460: push ebp */
   5967     ebp = esp; /* 0x25082461: mov ebp, esp */
   5968     PUSH32(esp, esi); /* 0x25082463: push esi */
   5969     esi = ecx; /* 0x25082464: mov esi, ecx */
   5970     RECOMP_ICALL(0x25082490u); /* 0x25082466: call 0x25082490 */ /* not lifted */
   5971     RECOMP_FLAGS_IN();
   5972     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508246B: test byte ptr [ebp + 8], 1 */
   5973     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   5974     _cf = 0;
   5975     _flag_k = FK_NARROW(FK_TEST, 24);
   5976     if (TEST_Z(_flag_a, _flag_b)) goto L_2508247A; /* 0x2508246F: je 0x2508247a */
   5977 L_25082471:
   5978     PUSH32(esp, esi); /* 0x25082471: push esi */
   5979     RECOMP_ICALL(0x25137EECu); /* 0x25082472: call 0x25137eec */ /* not lifted */
   5980     RECOMP_FLAGS_IN();
   5981     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5982     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5983     esp = esp + 4; /* 0x25082477: add esp, 4 */
   5984     _flag_k = FK_ADD;
   5985 L_2508247A:
   5986     eax = esi; /* 0x2508247A: mov eax, esi */
   5987     esi = POP32_VAL(esp); /* 0x2508247C: pop esi */
   5988     ebp = POP32_VAL(esp); /* 0x2508247D: pop ebp */
   5989     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508247E: ret 4 */
   5990 L_25085A10:
   5991     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   5992     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5993     ecx = ecx - 0x50u; /* 0x25085A10: sub ecx, 0x50 */
   5994     _flag_k = FK_CMP;
   5995     RECOMP_BACKEDGE();
   5996     goto L_25082460; /* 0x25085A13: jmp 0x25082460 */
   5997     { RECOMP_REGS_OUT(); return; } /* end of function */
   5998     RECOMP_REGS_OUT();
   5999 }
   6000 
   6001 void sub_25085A20(void) {
   6002     int _fpu_cmp = 0;
   6003     uint32_t _cf = 0;
   6004     int _df = 1;
   6005     uint32_t _flag_k = FK_NONE;
   6006     uint32_t _flag_a = 0, _flag_b = 0;
   6007     uint32_t _itail_tgt = 0;
   6008     RECOMP_REGS_LOCALS
   6009     RECOMP_ENTER(0x25085A20u);
   6010 
   6011     goto L_25085A20;
   6012 L_25082460:
   6013     PUSH32(esp, ebp); /* 0x25082460: push ebp */
   6014     ebp = esp; /* 0x25082461: mov ebp, esp */
   6015     PUSH32(esp, esi); /* 0x25082463: push esi */
   6016     esi = ecx; /* 0x25082464: mov esi, ecx */
   6017     RECOMP_ICALL(0x25082490u); /* 0x25082466: call 0x25082490 */ /* not lifted */
   6018     RECOMP_FLAGS_IN();
   6019     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508246B: test byte ptr [ebp + 8], 1 */
   6020     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6021     _cf = 0;
   6022     _flag_k = FK_NARROW(FK_TEST, 24);
   6023     if (TEST_Z(_flag_a, _flag_b)) goto L_2508247A; /* 0x2508246F: je 0x2508247a */
   6024 L_25082471:
   6025     PUSH32(esp, esi); /* 0x25082471: push esi */
   6026     RECOMP_ICALL(0x25137EECu); /* 0x25082472: call 0x25137eec */ /* not lifted */
   6027     RECOMP_FLAGS_IN();
   6028     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6029     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6030     esp = esp + 4; /* 0x25082477: add esp, 4 */
   6031     _flag_k = FK_ADD;
   6032 L_2508247A:
   6033     eax = esi; /* 0x2508247A: mov eax, esi */
   6034     esi = POP32_VAL(esp); /* 0x2508247C: pop esi */
   6035     ebp = POP32_VAL(esp); /* 0x2508247D: pop ebp */
   6036     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508247E: ret 4 */
   6037 L_25085A20:
   6038     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   6039     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6040     ecx = ecx - 0x138u; /* 0x25085A20: sub ecx, 0x138 */
   6041     _flag_k = FK_CMP;
   6042     RECOMP_BACKEDGE();
   6043     goto L_25082460; /* 0x25085A26: jmp 0x25082460 */
   6044     { RECOMP_REGS_OUT(); return; } /* end of function */
   6045     RECOMP_REGS_OUT();
   6046 }
   6047 
   6048 void sub_25085A30(void) {
   6049     int _fpu_cmp = 0;
   6050     uint32_t _cf = 0;
   6051     int _df = 1;
   6052     uint32_t _flag_k = FK_NONE;
   6053     uint32_t _flag_a = 0, _flag_b = 0;
   6054     uint32_t _itail_tgt = 0;
   6055     RECOMP_REGS_LOCALS
   6056     RECOMP_ENTER(0x25085A30u);
   6057 
   6058     goto L_25085A30;
   6059 L_25082460:
   6060     PUSH32(esp, ebp); /* 0x25082460: push ebp */
   6061     ebp = esp; /* 0x25082461: mov ebp, esp */
   6062     PUSH32(esp, esi); /* 0x25082463: push esi */
   6063     esi = ecx; /* 0x25082464: mov esi, ecx */
   6064     RECOMP_ICALL(0x25082490u); /* 0x25082466: call 0x25082490 */ /* not lifted */
   6065     RECOMP_FLAGS_IN();
   6066     /* test MEM8(ebp + 0x8), 1 */ /* 0x2508246B: test byte ptr [ebp + 8], 1 */
   6067     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6068     _cf = 0;
   6069     _flag_k = FK_NARROW(FK_TEST, 24);
   6070     if (TEST_Z(_flag_a, _flag_b)) goto L_2508247A; /* 0x2508246F: je 0x2508247a */
   6071 L_25082471:
   6072     PUSH32(esp, esi); /* 0x25082471: push esi */
   6073     RECOMP_ICALL(0x25137EECu); /* 0x25082472: call 0x25137eec */ /* not lifted */
   6074     RECOMP_FLAGS_IN();
   6075     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6076     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6077     esp = esp + 4; /* 0x25082477: add esp, 4 */
   6078     _flag_k = FK_ADD;
   6079 L_2508247A:
   6080     eax = esi; /* 0x2508247A: mov eax, esi */
   6081     esi = POP32_VAL(esp); /* 0x2508247C: pop esi */
   6082     ebp = POP32_VAL(esp); /* 0x2508247D: pop ebp */
   6083     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2508247E: ret 4 */
   6084 L_25085A30:
   6085     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   6086     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6087     ecx = ecx - 0x150u; /* 0x25085A30: sub ecx, 0x150 */
   6088     _flag_k = FK_CMP;
   6089     RECOMP_BACKEDGE();
   6090     goto L_25082460; /* 0x25085A36: jmp 0x25082460 */
   6091     { RECOMP_REGS_OUT(); return; } /* end of function */
   6092     RECOMP_REGS_OUT();
   6093 }
   6094 
   6095 void sub_25085A40(void) {
   6096     int _fpu_cmp = 0;
   6097     uint32_t _cf = 0;
   6098     int _df = 1;
   6099     uint32_t _flag_k = FK_NONE;
   6100     uint32_t _flag_a = 0, _flag_b = 0;
   6101     uint32_t _itail_tgt = 0;
   6102     RECOMP_REGS_LOCALS
   6103     RECOMP_ENTER(0x25085A40u);
   6104 
   6105     goto L_25085A40;
   6106 L_25082B40:
   6107     PUSH32(esp, ebp); /* 0x25082B40: push ebp */
   6108     ebp = esp; /* 0x25082B41: mov ebp, esp */
   6109     PUSH32(esp, esi); /* 0x25082B43: push esi */
   6110     esi = ecx; /* 0x25082B44: mov esi, ecx */
   6111     RECOMP_ICALL(0x25082B70u); /* 0x25082B46: call 0x25082b70 */ /* not lifted */
   6112     RECOMP_FLAGS_IN();
   6113     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082B4B: test byte ptr [ebp + 8], 1 */
   6114     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6115     _cf = 0;
   6116     _flag_k = FK_NARROW(FK_TEST, 24);
   6117     if (TEST_Z(_flag_a, _flag_b)) goto L_25082B5A; /* 0x25082B4F: je 0x25082b5a */
   6118 L_25082B51:
   6119     PUSH32(esp, esi); /* 0x25082B51: push esi */
   6120     RECOMP_ICALL(0x25137EECu); /* 0x25082B52: call 0x25137eec */ /* not lifted */
   6121     RECOMP_FLAGS_IN();
   6122     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6123     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6124     esp = esp + 4; /* 0x25082B57: add esp, 4 */
   6125     _flag_k = FK_ADD;
   6126 L_25082B5A:
   6127     eax = esi; /* 0x25082B5A: mov eax, esi */
   6128     esi = POP32_VAL(esp); /* 0x25082B5C: pop esi */
   6129     ebp = POP32_VAL(esp); /* 0x25082B5D: pop ebp */
   6130     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082B5E: ret 4 */
   6131 L_25085A40:
   6132     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   6133     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6134     ecx = ecx - 8; /* 0x25085A40: sub ecx, 8 */
   6135     _flag_k = FK_CMP;
   6136     RECOMP_BACKEDGE();
   6137     goto L_25082B40; /* 0x25085A43: jmp 0x25082b40 */
   6138     { RECOMP_REGS_OUT(); return; } /* end of function */
   6139     RECOMP_REGS_OUT();
   6140 }
   6141 
   6142 void sub_25085A50(void) {
   6143     int _fpu_cmp = 0;
   6144     uint32_t _cf = 0;
   6145     int _df = 1;
   6146     uint32_t _flag_k = FK_NONE;
   6147     uint32_t _flag_a = 0, _flag_b = 0;
   6148     uint32_t _itail_tgt = 0;
   6149     RECOMP_REGS_LOCALS
   6150     RECOMP_ENTER(0x25085A50u);
   6151 
   6152     goto L_25085A50;
   6153 L_25082B40:
   6154     PUSH32(esp, ebp); /* 0x25082B40: push ebp */
   6155     ebp = esp; /* 0x25082B41: mov ebp, esp */
   6156     PUSH32(esp, esi); /* 0x25082B43: push esi */
   6157     esi = ecx; /* 0x25082B44: mov esi, ecx */
   6158     RECOMP_ICALL(0x25082B70u); /* 0x25082B46: call 0x25082b70 */ /* not lifted */
   6159     RECOMP_FLAGS_IN();
   6160     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082B4B: test byte ptr [ebp + 8], 1 */
   6161     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6162     _cf = 0;
   6163     _flag_k = FK_NARROW(FK_TEST, 24);
   6164     if (TEST_Z(_flag_a, _flag_b)) goto L_25082B5A; /* 0x25082B4F: je 0x25082b5a */
   6165 L_25082B51:
   6166     PUSH32(esp, esi); /* 0x25082B51: push esi */
   6167     RECOMP_ICALL(0x25137EECu); /* 0x25082B52: call 0x25137eec */ /* not lifted */
   6168     RECOMP_FLAGS_IN();
   6169     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6170     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6171     esp = esp + 4; /* 0x25082B57: add esp, 4 */
   6172     _flag_k = FK_ADD;
   6173 L_25082B5A:
   6174     eax = esi; /* 0x25082B5A: mov eax, esi */
   6175     esi = POP32_VAL(esp); /* 0x25082B5C: pop esi */
   6176     ebp = POP32_VAL(esp); /* 0x25082B5D: pop ebp */
   6177     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082B5E: ret 4 */
   6178 L_25085A50:
   6179     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   6180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6181     ecx = ecx - 0x20u; /* 0x25085A50: sub ecx, 0x20 */
   6182     _flag_k = FK_CMP;
   6183     RECOMP_BACKEDGE();
   6184     goto L_25082B40; /* 0x25085A53: jmp 0x25082b40 */
   6185     { RECOMP_REGS_OUT(); return; } /* end of function */
   6186     RECOMP_REGS_OUT();
   6187 }
   6188 
   6189 void sub_25085A60(void) {
   6190     int _fpu_cmp = 0;
   6191     uint32_t _cf = 0;
   6192     int _df = 1;
   6193     uint32_t _flag_k = FK_NONE;
   6194     uint32_t _flag_a = 0, _flag_b = 0;
   6195     uint32_t _itail_tgt = 0;
   6196     RECOMP_REGS_LOCALS
   6197     RECOMP_ENTER(0x25085A60u);
   6198 
   6199     goto L_25085A60;
   6200 L_25082B40:
   6201     PUSH32(esp, ebp); /* 0x25082B40: push ebp */
   6202     ebp = esp; /* 0x25082B41: mov ebp, esp */
   6203     PUSH32(esp, esi); /* 0x25082B43: push esi */
   6204     esi = ecx; /* 0x25082B44: mov esi, ecx */
   6205     RECOMP_ICALL(0x25082B70u); /* 0x25082B46: call 0x25082b70 */ /* not lifted */
   6206     RECOMP_FLAGS_IN();
   6207     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082B4B: test byte ptr [ebp + 8], 1 */
   6208     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6209     _cf = 0;
   6210     _flag_k = FK_NARROW(FK_TEST, 24);
   6211     if (TEST_Z(_flag_a, _flag_b)) goto L_25082B5A; /* 0x25082B4F: je 0x25082b5a */
   6212 L_25082B51:
   6213     PUSH32(esp, esi); /* 0x25082B51: push esi */
   6214     RECOMP_ICALL(0x25137EECu); /* 0x25082B52: call 0x25137eec */ /* not lifted */
   6215     RECOMP_FLAGS_IN();
   6216     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6217     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6218     esp = esp + 4; /* 0x25082B57: add esp, 4 */
   6219     _flag_k = FK_ADD;
   6220 L_25082B5A:
   6221     eax = esi; /* 0x25082B5A: mov eax, esi */
   6222     esi = POP32_VAL(esp); /* 0x25082B5C: pop esi */
   6223     ebp = POP32_VAL(esp); /* 0x25082B5D: pop ebp */
   6224     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082B5E: ret 4 */
   6225 L_25085A60:
   6226     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   6227     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6228     ecx = ecx - 0x38u; /* 0x25085A60: sub ecx, 0x38 */
   6229     _flag_k = FK_CMP;
   6230     RECOMP_BACKEDGE();
   6231     goto L_25082B40; /* 0x25085A63: jmp 0x25082b40 */
   6232     { RECOMP_REGS_OUT(); return; } /* end of function */
   6233     RECOMP_REGS_OUT();
   6234 }
   6235 
   6236 void sub_25085A70(void) {
   6237     int _fpu_cmp = 0;
   6238     uint32_t _cf = 0;
   6239     int _df = 1;
   6240     uint32_t _flag_k = FK_NONE;
   6241     uint32_t _flag_a = 0, _flag_b = 0;
   6242     uint32_t _itail_tgt = 0;
   6243     RECOMP_REGS_LOCALS
   6244     RECOMP_ENTER(0x25085A70u);
   6245 
   6246     goto L_25085A70;
   6247 L_25082B40:
   6248     PUSH32(esp, ebp); /* 0x25082B40: push ebp */
   6249     ebp = esp; /* 0x25082B41: mov ebp, esp */
   6250     PUSH32(esp, esi); /* 0x25082B43: push esi */
   6251     esi = ecx; /* 0x25082B44: mov esi, ecx */
   6252     RECOMP_ICALL(0x25082B70u); /* 0x25082B46: call 0x25082b70 */ /* not lifted */
   6253     RECOMP_FLAGS_IN();
   6254     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082B4B: test byte ptr [ebp + 8], 1 */
   6255     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6256     _cf = 0;
   6257     _flag_k = FK_NARROW(FK_TEST, 24);
   6258     if (TEST_Z(_flag_a, _flag_b)) goto L_25082B5A; /* 0x25082B4F: je 0x25082b5a */
   6259 L_25082B51:
   6260     PUSH32(esp, esi); /* 0x25082B51: push esi */
   6261     RECOMP_ICALL(0x25137EECu); /* 0x25082B52: call 0x25137eec */ /* not lifted */
   6262     RECOMP_FLAGS_IN();
   6263     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6264     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6265     esp = esp + 4; /* 0x25082B57: add esp, 4 */
   6266     _flag_k = FK_ADD;
   6267 L_25082B5A:
   6268     eax = esi; /* 0x25082B5A: mov eax, esi */
   6269     esi = POP32_VAL(esp); /* 0x25082B5C: pop esi */
   6270     ebp = POP32_VAL(esp); /* 0x25082B5D: pop ebp */
   6271     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082B5E: ret 4 */
   6272 L_25085A70:
   6273     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   6274     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6275     ecx = ecx - 0x50u; /* 0x25085A70: sub ecx, 0x50 */
   6276     _flag_k = FK_CMP;
   6277     RECOMP_BACKEDGE();
   6278     goto L_25082B40; /* 0x25085A73: jmp 0x25082b40 */
   6279     { RECOMP_REGS_OUT(); return; } /* end of function */
   6280     RECOMP_REGS_OUT();
   6281 }
   6282 
   6283 void sub_25085A80(void) {
   6284     int _fpu_cmp = 0;
   6285     uint32_t _cf = 0;
   6286     int _df = 1;
   6287     uint32_t _flag_k = FK_NONE;
   6288     uint32_t _flag_a = 0, _flag_b = 0;
   6289     uint32_t _itail_tgt = 0;
   6290     RECOMP_REGS_LOCALS
   6291     RECOMP_ENTER(0x25085A80u);
   6292 
   6293     goto L_25085A80;
   6294 L_25082B40:
   6295     PUSH32(esp, ebp); /* 0x25082B40: push ebp */
   6296     ebp = esp; /* 0x25082B41: mov ebp, esp */
   6297     PUSH32(esp, esi); /* 0x25082B43: push esi */
   6298     esi = ecx; /* 0x25082B44: mov esi, ecx */
   6299     RECOMP_ICALL(0x25082B70u); /* 0x25082B46: call 0x25082b70 */ /* not lifted */
   6300     RECOMP_FLAGS_IN();
   6301     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082B4B: test byte ptr [ebp + 8], 1 */
   6302     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6303     _cf = 0;
   6304     _flag_k = FK_NARROW(FK_TEST, 24);
   6305     if (TEST_Z(_flag_a, _flag_b)) goto L_25082B5A; /* 0x25082B4F: je 0x25082b5a */
   6306 L_25082B51:
   6307     PUSH32(esp, esi); /* 0x25082B51: push esi */
   6308     RECOMP_ICALL(0x25137EECu); /* 0x25082B52: call 0x25137eec */ /* not lifted */
   6309     RECOMP_FLAGS_IN();
   6310     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6311     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6312     esp = esp + 4; /* 0x25082B57: add esp, 4 */
   6313     _flag_k = FK_ADD;
   6314 L_25082B5A:
   6315     eax = esi; /* 0x25082B5A: mov eax, esi */
   6316     esi = POP32_VAL(esp); /* 0x25082B5C: pop esi */
   6317     ebp = POP32_VAL(esp); /* 0x25082B5D: pop ebp */
   6318     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082B5E: ret 4 */
   6319 L_25085A80:
   6320     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   6321     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6322     ecx = ecx - 0x138u; /* 0x25085A80: sub ecx, 0x138 */
   6323     _flag_k = FK_CMP;
   6324     RECOMP_BACKEDGE();
   6325     goto L_25082B40; /* 0x25085A86: jmp 0x25082b40 */
   6326     { RECOMP_REGS_OUT(); return; } /* end of function */
   6327     RECOMP_REGS_OUT();
   6328 }
   6329 
   6330 void sub_25085A90(void) {
   6331     int _fpu_cmp = 0;
   6332     uint32_t _cf = 0;
   6333     int _df = 1;
   6334     uint32_t _flag_k = FK_NONE;
   6335     uint32_t _flag_a = 0, _flag_b = 0;
   6336     uint32_t _itail_tgt = 0;
   6337     RECOMP_REGS_LOCALS
   6338     RECOMP_ENTER(0x25085A90u);
   6339 
   6340     goto L_25085A90;
   6341 L_25082B40:
   6342     PUSH32(esp, ebp); /* 0x25082B40: push ebp */
   6343     ebp = esp; /* 0x25082B41: mov ebp, esp */
   6344     PUSH32(esp, esi); /* 0x25082B43: push esi */
   6345     esi = ecx; /* 0x25082B44: mov esi, ecx */
   6346     RECOMP_ICALL(0x25082B70u); /* 0x25082B46: call 0x25082b70 */ /* not lifted */
   6347     RECOMP_FLAGS_IN();
   6348     /* test MEM8(ebp + 0x8), 1 */ /* 0x25082B4B: test byte ptr [ebp + 8], 1 */
   6349     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6350     _cf = 0;
   6351     _flag_k = FK_NARROW(FK_TEST, 24);
   6352     if (TEST_Z(_flag_a, _flag_b)) goto L_25082B5A; /* 0x25082B4F: je 0x25082b5a */
   6353 L_25082B51:
   6354     PUSH32(esp, esi); /* 0x25082B51: push esi */
   6355     RECOMP_ICALL(0x25137EECu); /* 0x25082B52: call 0x25137eec */ /* not lifted */
   6356     RECOMP_FLAGS_IN();
   6357     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6358     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6359     esp = esp + 4; /* 0x25082B57: add esp, 4 */
   6360     _flag_k = FK_ADD;
   6361 L_25082B5A:
   6362     eax = esi; /* 0x25082B5A: mov eax, esi */
   6363     esi = POP32_VAL(esp); /* 0x25082B5C: pop esi */
   6364     ebp = POP32_VAL(esp); /* 0x25082B5D: pop ebp */
   6365     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25082B5E: ret 4 */
   6366 L_25085A90:
   6367     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   6368     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6369     ecx = ecx - 0x150u; /* 0x25085A90: sub ecx, 0x150 */
   6370     _flag_k = FK_CMP;
   6371     RECOMP_BACKEDGE();
   6372     goto L_25082B40; /* 0x25085A96: jmp 0x25082b40 */
   6373     { RECOMP_REGS_OUT(); return; } /* end of function */
   6374     RECOMP_REGS_OUT();
   6375 }
   6376 
   6377 void sub_25085AA0(void) {
   6378     int _fpu_cmp = 0;
   6379     uint32_t _cf = 0;
   6380     int _df = 1;
   6381     uint32_t _flag_k = FK_NONE;
   6382     uint32_t _flag_a = 0, _flag_b = 0;
   6383     uint32_t _itail_tgt = 0;
   6384     RECOMP_REGS_LOCALS
   6385     RECOMP_ENTER(0x25085AA0u);
   6386 
   6387     goto L_25085AA0;
   6388 L_250829E0:
   6389     PUSH32(esp, ebp); /* 0x250829E0: push ebp */
   6390     ebp = esp; /* 0x250829E1: mov ebp, esp */
   6391     PUSH32(esp, esi); /* 0x250829E3: push esi */
   6392     esi = ecx; /* 0x250829E4: mov esi, ecx */
   6393     RECOMP_ICALL(0x25082A10u); /* 0x250829E6: call 0x25082a10 */ /* not lifted */
   6394     RECOMP_FLAGS_IN();
   6395     /* test MEM8(ebp + 0x8), 1 */ /* 0x250829EB: test byte ptr [ebp + 8], 1 */
   6396     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6397     _cf = 0;
   6398     _flag_k = FK_NARROW(FK_TEST, 24);
   6399     if (TEST_Z(_flag_a, _flag_b)) goto L_250829FA; /* 0x250829EF: je 0x250829fa */
   6400 L_250829F1:
   6401     PUSH32(esp, esi); /* 0x250829F1: push esi */
   6402     RECOMP_ICALL(0x25137EECu); /* 0x250829F2: call 0x25137eec */ /* not lifted */
   6403     RECOMP_FLAGS_IN();
   6404     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6405     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6406     esp = esp + 4; /* 0x250829F7: add esp, 4 */
   6407     _flag_k = FK_ADD;
   6408 L_250829FA:
   6409     eax = esi; /* 0x250829FA: mov eax, esi */
   6410     esi = POP32_VAL(esp); /* 0x250829FC: pop esi */
   6411     ebp = POP32_VAL(esp); /* 0x250829FD: pop ebp */
   6412     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250829FE: ret 4 */
   6413 L_25085AA0:
   6414     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   6415     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6416     ecx = ecx - 8; /* 0x25085AA0: sub ecx, 8 */
   6417     _flag_k = FK_CMP;
   6418     RECOMP_BACKEDGE();
   6419     goto L_250829E0; /* 0x25085AA3: jmp 0x250829e0 */
   6420     { RECOMP_REGS_OUT(); return; } /* end of function */
   6421     RECOMP_REGS_OUT();
   6422 }
   6423 
   6424 void sub_25085AB0(void) {
   6425     int _fpu_cmp = 0;
   6426     uint32_t _cf = 0;
   6427     int _df = 1;
   6428     uint32_t _flag_k = FK_NONE;
   6429     uint32_t _flag_a = 0, _flag_b = 0;
   6430     uint32_t _itail_tgt = 0;
   6431     RECOMP_REGS_LOCALS
   6432     RECOMP_ENTER(0x25085AB0u);
   6433 
   6434     goto L_25085AB0;
   6435 L_250829E0:
   6436     PUSH32(esp, ebp); /* 0x250829E0: push ebp */
   6437     ebp = esp; /* 0x250829E1: mov ebp, esp */
   6438     PUSH32(esp, esi); /* 0x250829E3: push esi */
   6439     esi = ecx; /* 0x250829E4: mov esi, ecx */
   6440     RECOMP_ICALL(0x25082A10u); /* 0x250829E6: call 0x25082a10 */ /* not lifted */
   6441     RECOMP_FLAGS_IN();
   6442     /* test MEM8(ebp + 0x8), 1 */ /* 0x250829EB: test byte ptr [ebp + 8], 1 */
   6443     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6444     _cf = 0;
   6445     _flag_k = FK_NARROW(FK_TEST, 24);
   6446     if (TEST_Z(_flag_a, _flag_b)) goto L_250829FA; /* 0x250829EF: je 0x250829fa */
   6447 L_250829F1:
   6448     PUSH32(esp, esi); /* 0x250829F1: push esi */
   6449     RECOMP_ICALL(0x25137EECu); /* 0x250829F2: call 0x25137eec */ /* not lifted */
   6450     RECOMP_FLAGS_IN();
   6451     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6452     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6453     esp = esp + 4; /* 0x250829F7: add esp, 4 */
   6454     _flag_k = FK_ADD;
   6455 L_250829FA:
   6456     eax = esi; /* 0x250829FA: mov eax, esi */
   6457     esi = POP32_VAL(esp); /* 0x250829FC: pop esi */
   6458     ebp = POP32_VAL(esp); /* 0x250829FD: pop ebp */
   6459     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250829FE: ret 4 */
   6460 L_25085AB0:
   6461     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   6462     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6463     ecx = ecx - 0x20u; /* 0x25085AB0: sub ecx, 0x20 */
   6464     _flag_k = FK_CMP;
   6465     RECOMP_BACKEDGE();
   6466     goto L_250829E0; /* 0x25085AB3: jmp 0x250829e0 */
   6467     { RECOMP_REGS_OUT(); return; } /* end of function */
   6468     RECOMP_REGS_OUT();
   6469 }
   6470 
   6471 void sub_25085AC0(void) {
   6472     int _fpu_cmp = 0;
   6473     uint32_t _cf = 0;
   6474     int _df = 1;
   6475     uint32_t _flag_k = FK_NONE;
   6476     uint32_t _flag_a = 0, _flag_b = 0;
   6477     uint32_t _itail_tgt = 0;
   6478     RECOMP_REGS_LOCALS
   6479     RECOMP_ENTER(0x25085AC0u);
   6480 
   6481     goto L_25085AC0;
   6482 L_250829E0:
   6483     PUSH32(esp, ebp); /* 0x250829E0: push ebp */
   6484     ebp = esp; /* 0x250829E1: mov ebp, esp */
   6485     PUSH32(esp, esi); /* 0x250829E3: push esi */
   6486     esi = ecx; /* 0x250829E4: mov esi, ecx */
   6487     RECOMP_ICALL(0x25082A10u); /* 0x250829E6: call 0x25082a10 */ /* not lifted */
   6488     RECOMP_FLAGS_IN();
   6489     /* test MEM8(ebp + 0x8), 1 */ /* 0x250829EB: test byte ptr [ebp + 8], 1 */
   6490     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6491     _cf = 0;
   6492     _flag_k = FK_NARROW(FK_TEST, 24);
   6493     if (TEST_Z(_flag_a, _flag_b)) goto L_250829FA; /* 0x250829EF: je 0x250829fa */
   6494 L_250829F1:
   6495     PUSH32(esp, esi); /* 0x250829F1: push esi */
   6496     RECOMP_ICALL(0x25137EECu); /* 0x250829F2: call 0x25137eec */ /* not lifted */
   6497     RECOMP_FLAGS_IN();
   6498     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6499     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6500     esp = esp + 4; /* 0x250829F7: add esp, 4 */
   6501     _flag_k = FK_ADD;
   6502 L_250829FA:
   6503     eax = esi; /* 0x250829FA: mov eax, esi */
   6504     esi = POP32_VAL(esp); /* 0x250829FC: pop esi */
   6505     ebp = POP32_VAL(esp); /* 0x250829FD: pop ebp */
   6506     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250829FE: ret 4 */
   6507 L_25085AC0:
   6508     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   6509     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6510     ecx = ecx - 0x38u; /* 0x25085AC0: sub ecx, 0x38 */
   6511     _flag_k = FK_CMP;
   6512     RECOMP_BACKEDGE();
   6513     goto L_250829E0; /* 0x25085AC3: jmp 0x250829e0 */
   6514     { RECOMP_REGS_OUT(); return; } /* end of function */
   6515     RECOMP_REGS_OUT();
   6516 }
   6517 
   6518 void sub_25085AD0(void) {
   6519     int _fpu_cmp = 0;
   6520     uint32_t _cf = 0;
   6521     int _df = 1;
   6522     uint32_t _flag_k = FK_NONE;
   6523     uint32_t _flag_a = 0, _flag_b = 0;
   6524     uint32_t _itail_tgt = 0;
   6525     RECOMP_REGS_LOCALS
   6526     RECOMP_ENTER(0x25085AD0u);
   6527 
   6528     goto L_25085AD0;
   6529 L_250829E0:
   6530     PUSH32(esp, ebp); /* 0x250829E0: push ebp */
   6531     ebp = esp; /* 0x250829E1: mov ebp, esp */
   6532     PUSH32(esp, esi); /* 0x250829E3: push esi */
   6533     esi = ecx; /* 0x250829E4: mov esi, ecx */
   6534     RECOMP_ICALL(0x25082A10u); /* 0x250829E6: call 0x25082a10 */ /* not lifted */
   6535     RECOMP_FLAGS_IN();
   6536     /* test MEM8(ebp + 0x8), 1 */ /* 0x250829EB: test byte ptr [ebp + 8], 1 */
   6537     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6538     _cf = 0;
   6539     _flag_k = FK_NARROW(FK_TEST, 24);
   6540     if (TEST_Z(_flag_a, _flag_b)) goto L_250829FA; /* 0x250829EF: je 0x250829fa */
   6541 L_250829F1:
   6542     PUSH32(esp, esi); /* 0x250829F1: push esi */
   6543     RECOMP_ICALL(0x25137EECu); /* 0x250829F2: call 0x25137eec */ /* not lifted */
   6544     RECOMP_FLAGS_IN();
   6545     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6546     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6547     esp = esp + 4; /* 0x250829F7: add esp, 4 */
   6548     _flag_k = FK_ADD;
   6549 L_250829FA:
   6550     eax = esi; /* 0x250829FA: mov eax, esi */
   6551     esi = POP32_VAL(esp); /* 0x250829FC: pop esi */
   6552     ebp = POP32_VAL(esp); /* 0x250829FD: pop ebp */
   6553     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250829FE: ret 4 */
   6554 L_25085AD0:
   6555     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   6556     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6557     ecx = ecx - 0x50u; /* 0x25085AD0: sub ecx, 0x50 */
   6558     _flag_k = FK_CMP;
   6559     RECOMP_BACKEDGE();
   6560     goto L_250829E0; /* 0x25085AD3: jmp 0x250829e0 */
   6561     { RECOMP_REGS_OUT(); return; } /* end of function */
   6562     RECOMP_REGS_OUT();
   6563 }
   6564 
   6565 void sub_25085AE0(void) {
   6566     int _fpu_cmp = 0;
   6567     uint32_t _cf = 0;
   6568     int _df = 1;
   6569     uint32_t _flag_k = FK_NONE;
   6570     uint32_t _flag_a = 0, _flag_b = 0;
   6571     uint32_t _itail_tgt = 0;
   6572     RECOMP_REGS_LOCALS
   6573     RECOMP_ENTER(0x25085AE0u);
   6574 
   6575     goto L_25085AE0;
   6576 L_250829E0:
   6577     PUSH32(esp, ebp); /* 0x250829E0: push ebp */
   6578     ebp = esp; /* 0x250829E1: mov ebp, esp */
   6579     PUSH32(esp, esi); /* 0x250829E3: push esi */
   6580     esi = ecx; /* 0x250829E4: mov esi, ecx */
   6581     RECOMP_ICALL(0x25082A10u); /* 0x250829E6: call 0x25082a10 */ /* not lifted */
   6582     RECOMP_FLAGS_IN();
   6583     /* test MEM8(ebp + 0x8), 1 */ /* 0x250829EB: test byte ptr [ebp + 8], 1 */
   6584     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6585     _cf = 0;
   6586     _flag_k = FK_NARROW(FK_TEST, 24);
   6587     if (TEST_Z(_flag_a, _flag_b)) goto L_250829FA; /* 0x250829EF: je 0x250829fa */
   6588 L_250829F1:
   6589     PUSH32(esp, esi); /* 0x250829F1: push esi */
   6590     RECOMP_ICALL(0x25137EECu); /* 0x250829F2: call 0x25137eec */ /* not lifted */
   6591     RECOMP_FLAGS_IN();
   6592     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6593     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6594     esp = esp + 4; /* 0x250829F7: add esp, 4 */
   6595     _flag_k = FK_ADD;
   6596 L_250829FA:
   6597     eax = esi; /* 0x250829FA: mov eax, esi */
   6598     esi = POP32_VAL(esp); /* 0x250829FC: pop esi */
   6599     ebp = POP32_VAL(esp); /* 0x250829FD: pop ebp */
   6600     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250829FE: ret 4 */
   6601 L_25085AE0:
   6602     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   6603     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6604     ecx = ecx - 0x138u; /* 0x25085AE0: sub ecx, 0x138 */
   6605     _flag_k = FK_CMP;
   6606     RECOMP_BACKEDGE();
   6607     goto L_250829E0; /* 0x25085AE6: jmp 0x250829e0 */
   6608     { RECOMP_REGS_OUT(); return; } /* end of function */
   6609     RECOMP_REGS_OUT();
   6610 }
   6611 
   6612 void sub_25085AF0(void) {
   6613     int _fpu_cmp = 0;
   6614     uint32_t _cf = 0;
   6615     int _df = 1;
   6616     uint32_t _flag_k = FK_NONE;
   6617     uint32_t _flag_a = 0, _flag_b = 0;
   6618     uint32_t _itail_tgt = 0;
   6619     RECOMP_REGS_LOCALS
   6620     RECOMP_ENTER(0x25085AF0u);
   6621 
   6622     goto L_25085AF0;
   6623 L_250829E0:
   6624     PUSH32(esp, ebp); /* 0x250829E0: push ebp */
   6625     ebp = esp; /* 0x250829E1: mov ebp, esp */
   6626     PUSH32(esp, esi); /* 0x250829E3: push esi */
   6627     esi = ecx; /* 0x250829E4: mov esi, ecx */
   6628     RECOMP_ICALL(0x25082A10u); /* 0x250829E6: call 0x25082a10 */ /* not lifted */
   6629     RECOMP_FLAGS_IN();
   6630     /* test MEM8(ebp + 0x8), 1 */ /* 0x250829EB: test byte ptr [ebp + 8], 1 */
   6631     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6632     _cf = 0;
   6633     _flag_k = FK_NARROW(FK_TEST, 24);
   6634     if (TEST_Z(_flag_a, _flag_b)) goto L_250829FA; /* 0x250829EF: je 0x250829fa */
   6635 L_250829F1:
   6636     PUSH32(esp, esi); /* 0x250829F1: push esi */
   6637     RECOMP_ICALL(0x25137EECu); /* 0x250829F2: call 0x25137eec */ /* not lifted */
   6638     RECOMP_FLAGS_IN();
   6639     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6640     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6641     esp = esp + 4; /* 0x250829F7: add esp, 4 */
   6642     _flag_k = FK_ADD;
   6643 L_250829FA:
   6644     eax = esi; /* 0x250829FA: mov eax, esi */
   6645     esi = POP32_VAL(esp); /* 0x250829FC: pop esi */
   6646     ebp = POP32_VAL(esp); /* 0x250829FD: pop ebp */
   6647     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250829FE: ret 4 */
   6648 L_25085AF0:
   6649     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   6650     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6651     ecx = ecx - 0x150u; /* 0x25085AF0: sub ecx, 0x150 */
   6652     _flag_k = FK_CMP;
   6653     RECOMP_BACKEDGE();
   6654     goto L_250829E0; /* 0x25085AF6: jmp 0x250829e0 */
   6655     { RECOMP_REGS_OUT(); return; } /* end of function */
   6656     RECOMP_REGS_OUT();
   6657 }
   6658 
   6659 void sub_25085B00(void) {
   6660     int _fpu_cmp = 0;
   6661     uint32_t _cf = 0;
   6662     int _df = 1;
   6663     uint32_t _flag_k = FK_NONE;
   6664     uint32_t _flag_a = 0, _flag_b = 0;
   6665     uint32_t _itail_tgt = 0;
   6666     RECOMP_REGS_LOCALS
   6667     RECOMP_ENTER(0x25085B00u);
   6668 
   6669     goto L_25085B00;
   6670 L_2507B3D0:
   6671     PUSH32(esp, ebp); /* 0x2507B3D0: push ebp */
   6672     ebp = esp; /* 0x2507B3D1: mov ebp, esp */
   6673     PUSH32(esp, ebx); /* 0x2507B3D3: push ebx */
   6674     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507B3D4: mov bl, byte ptr [ebp + 8] */
   6675     /* test LO8(ebx), 2 */ /* 0x2507B3D7: test bl, 2 */
   6676     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6677     _cf = 0;
   6678     _flag_k = FK_NARROW(FK_TEST, 24);
   6679     PUSH32(esp, esi); /* 0x2507B3DA: push esi */
   6680     esi = ecx; /* 0x2507B3DB: mov esi, ecx */
   6681     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B40E; /* 0x2507B3DD: je 0x2507b40e */
   6682 L_2507B3DF:
   6683     eax = MEM32(esi + (-0x4)); /* 0x2507B3DF: mov eax, dword ptr [esi - 4] */
   6684     PUSH32(esp, edi); /* 0x2507B3E2: push edi */
   6685     PUSH32(esp, 0x2507B660u); /* 0x2507B3E3: push 0x2507b660 */
   6686     edi = esi + (-0x4); /* 0x2507B3E8: lea edi, [esi - 4] */
   6687     PUSH32(esp, eax); /* 0x2507B3EB: push eax */
   6688     PUSH32(esp, 0x244u); /* 0x2507B3EC: push 0x244 */
   6689     PUSH32(esp, esi); /* 0x2507B3F1: push esi */
   6690     RECOMP_ICALL(0x25137F92u); /* 0x2507B3F2: call 0x25137f92 */ /* not lifted */
   6691     RECOMP_FLAGS_IN();
   6692     /* test LO8(ebx), 1 */ /* 0x2507B3F7: test bl, 1 */
   6693     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6694     _cf = 0;
   6695     _flag_k = FK_NARROW(FK_TEST, 24);
   6696     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B405; /* 0x2507B3FA: je 0x2507b405 */
   6697 L_2507B3FC:
   6698     PUSH32(esp, edi); /* 0x2507B3FC: push edi */
   6699     RECOMP_ICALL(0x25137EECu); /* 0x2507B3FD: call 0x25137eec */ /* not lifted */
   6700     RECOMP_FLAGS_IN();
   6701     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6702     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6703     esp = esp + 4; /* 0x2507B402: add esp, 4 */
   6704     _flag_k = FK_ADD;
   6705 L_2507B405:
   6706     eax = edi; /* 0x2507B405: mov eax, edi */
   6707     edi = POP32_VAL(esp); /* 0x2507B407: pop edi */
   6708     esi = POP32_VAL(esp); /* 0x2507B408: pop esi */
   6709     ebx = POP32_VAL(esp); /* 0x2507B409: pop ebx */
   6710     ebp = POP32_VAL(esp); /* 0x2507B40A: pop ebp */
   6711     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B40B: ret 4 */
   6712 L_2507B40E:
   6713     ecx = esi; /* 0x2507B40E: mov ecx, esi */
   6714     RECOMP_ICALL(0x2507B660u); /* 0x2507B410: call 0x2507b660 */ /* not lifted */
   6715     RECOMP_FLAGS_IN();
   6716     /* test LO8(ebx), 1 */ /* 0x2507B415: test bl, 1 */
   6717     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6718     _cf = 0;
   6719     _flag_k = FK_NARROW(FK_TEST, 24);
   6720     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B423; /* 0x2507B418: je 0x2507b423 */
   6721 L_2507B41A:
   6722     PUSH32(esp, esi); /* 0x2507B41A: push esi */
   6723     RECOMP_ICALL(0x25137EECu); /* 0x2507B41B: call 0x25137eec */ /* not lifted */
   6724     RECOMP_FLAGS_IN();
   6725     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6726     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6727     esp = esp + 4; /* 0x2507B420: add esp, 4 */
   6728     _flag_k = FK_ADD;
   6729 L_2507B423:
   6730     eax = esi; /* 0x2507B423: mov eax, esi */
   6731     esi = POP32_VAL(esp); /* 0x2507B425: pop esi */
   6732     ebx = POP32_VAL(esp); /* 0x2507B426: pop ebx */
   6733     ebp = POP32_VAL(esp); /* 0x2507B427: pop ebp */
   6734     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B428: ret 4 */
   6735 L_25085B00:
   6736     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   6737     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6738     ecx = ecx - 8; /* 0x25085B00: sub ecx, 8 */
   6739     _flag_k = FK_CMP;
   6740     RECOMP_BACKEDGE();
   6741     goto L_2507B3D0; /* 0x25085B03: jmp 0x2507b3d0 */
   6742     { RECOMP_REGS_OUT(); return; } /* end of function */
   6743     RECOMP_REGS_OUT();
   6744 }
   6745 
   6746 void sub_25085B10(void) {
   6747     int _fpu_cmp = 0;
   6748     uint32_t _cf = 0;
   6749     int _df = 1;
   6750     uint32_t _flag_k = FK_NONE;
   6751     uint32_t _flag_a = 0, _flag_b = 0;
   6752     uint32_t _itail_tgt = 0;
   6753     RECOMP_REGS_LOCALS
   6754     RECOMP_ENTER(0x25085B10u);
   6755 
   6756     goto L_25085B10;
   6757 L_2507B3D0:
   6758     PUSH32(esp, ebp); /* 0x2507B3D0: push ebp */
   6759     ebp = esp; /* 0x2507B3D1: mov ebp, esp */
   6760     PUSH32(esp, ebx); /* 0x2507B3D3: push ebx */
   6761     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507B3D4: mov bl, byte ptr [ebp + 8] */
   6762     /* test LO8(ebx), 2 */ /* 0x2507B3D7: test bl, 2 */
   6763     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6764     _cf = 0;
   6765     _flag_k = FK_NARROW(FK_TEST, 24);
   6766     PUSH32(esp, esi); /* 0x2507B3DA: push esi */
   6767     esi = ecx; /* 0x2507B3DB: mov esi, ecx */
   6768     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B40E; /* 0x2507B3DD: je 0x2507b40e */
   6769 L_2507B3DF:
   6770     eax = MEM32(esi + (-0x4)); /* 0x2507B3DF: mov eax, dword ptr [esi - 4] */
   6771     PUSH32(esp, edi); /* 0x2507B3E2: push edi */
   6772     PUSH32(esp, 0x2507B660u); /* 0x2507B3E3: push 0x2507b660 */
   6773     edi = esi + (-0x4); /* 0x2507B3E8: lea edi, [esi - 4] */
   6774     PUSH32(esp, eax); /* 0x2507B3EB: push eax */
   6775     PUSH32(esp, 0x244u); /* 0x2507B3EC: push 0x244 */
   6776     PUSH32(esp, esi); /* 0x2507B3F1: push esi */
   6777     RECOMP_ICALL(0x25137F92u); /* 0x2507B3F2: call 0x25137f92 */ /* not lifted */
   6778     RECOMP_FLAGS_IN();
   6779     /* test LO8(ebx), 1 */ /* 0x2507B3F7: test bl, 1 */
   6780     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6781     _cf = 0;
   6782     _flag_k = FK_NARROW(FK_TEST, 24);
   6783     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B405; /* 0x2507B3FA: je 0x2507b405 */
   6784 L_2507B3FC:
   6785     PUSH32(esp, edi); /* 0x2507B3FC: push edi */
   6786     RECOMP_ICALL(0x25137EECu); /* 0x2507B3FD: call 0x25137eec */ /* not lifted */
   6787     RECOMP_FLAGS_IN();
   6788     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6789     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6790     esp = esp + 4; /* 0x2507B402: add esp, 4 */
   6791     _flag_k = FK_ADD;
   6792 L_2507B405:
   6793     eax = edi; /* 0x2507B405: mov eax, edi */
   6794     edi = POP32_VAL(esp); /* 0x2507B407: pop edi */
   6795     esi = POP32_VAL(esp); /* 0x2507B408: pop esi */
   6796     ebx = POP32_VAL(esp); /* 0x2507B409: pop ebx */
   6797     ebp = POP32_VAL(esp); /* 0x2507B40A: pop ebp */
   6798     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B40B: ret 4 */
   6799 L_2507B40E:
   6800     ecx = esi; /* 0x2507B40E: mov ecx, esi */
   6801     RECOMP_ICALL(0x2507B660u); /* 0x2507B410: call 0x2507b660 */ /* not lifted */
   6802     RECOMP_FLAGS_IN();
   6803     /* test LO8(ebx), 1 */ /* 0x2507B415: test bl, 1 */
   6804     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6805     _cf = 0;
   6806     _flag_k = FK_NARROW(FK_TEST, 24);
   6807     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B423; /* 0x2507B418: je 0x2507b423 */
   6808 L_2507B41A:
   6809     PUSH32(esp, esi); /* 0x2507B41A: push esi */
   6810     RECOMP_ICALL(0x25137EECu); /* 0x2507B41B: call 0x25137eec */ /* not lifted */
   6811     RECOMP_FLAGS_IN();
   6812     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6813     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6814     esp = esp + 4; /* 0x2507B420: add esp, 4 */
   6815     _flag_k = FK_ADD;
   6816 L_2507B423:
   6817     eax = esi; /* 0x2507B423: mov eax, esi */
   6818     esi = POP32_VAL(esp); /* 0x2507B425: pop esi */
   6819     ebx = POP32_VAL(esp); /* 0x2507B426: pop ebx */
   6820     ebp = POP32_VAL(esp); /* 0x2507B427: pop ebp */
   6821     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B428: ret 4 */
   6822 L_25085B10:
   6823     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   6824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6825     ecx = ecx - 0x20u; /* 0x25085B10: sub ecx, 0x20 */
   6826     _flag_k = FK_CMP;
   6827     RECOMP_BACKEDGE();
   6828     goto L_2507B3D0; /* 0x25085B13: jmp 0x2507b3d0 */
   6829     { RECOMP_REGS_OUT(); return; } /* end of function */
   6830     RECOMP_REGS_OUT();
   6831 }
   6832 
   6833 void sub_25085B20(void) {
   6834     int _fpu_cmp = 0;
   6835     uint32_t _cf = 0;
   6836     int _df = 1;
   6837     uint32_t _flag_k = FK_NONE;
   6838     uint32_t _flag_a = 0, _flag_b = 0;
   6839     uint32_t _itail_tgt = 0;
   6840     RECOMP_REGS_LOCALS
   6841     RECOMP_ENTER(0x25085B20u);
   6842 
   6843     goto L_25085B20;
   6844 L_2507B3D0:
   6845     PUSH32(esp, ebp); /* 0x2507B3D0: push ebp */
   6846     ebp = esp; /* 0x2507B3D1: mov ebp, esp */
   6847     PUSH32(esp, ebx); /* 0x2507B3D3: push ebx */
   6848     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507B3D4: mov bl, byte ptr [ebp + 8] */
   6849     /* test LO8(ebx), 2 */ /* 0x2507B3D7: test bl, 2 */
   6850     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6851     _cf = 0;
   6852     _flag_k = FK_NARROW(FK_TEST, 24);
   6853     PUSH32(esp, esi); /* 0x2507B3DA: push esi */
   6854     esi = ecx; /* 0x2507B3DB: mov esi, ecx */
   6855     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B40E; /* 0x2507B3DD: je 0x2507b40e */
   6856 L_2507B3DF:
   6857     eax = MEM32(esi + (-0x4)); /* 0x2507B3DF: mov eax, dword ptr [esi - 4] */
   6858     PUSH32(esp, edi); /* 0x2507B3E2: push edi */
   6859     PUSH32(esp, 0x2507B660u); /* 0x2507B3E3: push 0x2507b660 */
   6860     edi = esi + (-0x4); /* 0x2507B3E8: lea edi, [esi - 4] */
   6861     PUSH32(esp, eax); /* 0x2507B3EB: push eax */
   6862     PUSH32(esp, 0x244u); /* 0x2507B3EC: push 0x244 */
   6863     PUSH32(esp, esi); /* 0x2507B3F1: push esi */
   6864     RECOMP_ICALL(0x25137F92u); /* 0x2507B3F2: call 0x25137f92 */ /* not lifted */
   6865     RECOMP_FLAGS_IN();
   6866     /* test LO8(ebx), 1 */ /* 0x2507B3F7: test bl, 1 */
   6867     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6868     _cf = 0;
   6869     _flag_k = FK_NARROW(FK_TEST, 24);
   6870     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B405; /* 0x2507B3FA: je 0x2507b405 */
   6871 L_2507B3FC:
   6872     PUSH32(esp, edi); /* 0x2507B3FC: push edi */
   6873     RECOMP_ICALL(0x25137EECu); /* 0x2507B3FD: call 0x25137eec */ /* not lifted */
   6874     RECOMP_FLAGS_IN();
   6875     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6876     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6877     esp = esp + 4; /* 0x2507B402: add esp, 4 */
   6878     _flag_k = FK_ADD;
   6879 L_2507B405:
   6880     eax = edi; /* 0x2507B405: mov eax, edi */
   6881     edi = POP32_VAL(esp); /* 0x2507B407: pop edi */
   6882     esi = POP32_VAL(esp); /* 0x2507B408: pop esi */
   6883     ebx = POP32_VAL(esp); /* 0x2507B409: pop ebx */
   6884     ebp = POP32_VAL(esp); /* 0x2507B40A: pop ebp */
   6885     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B40B: ret 4 */
   6886 L_2507B40E:
   6887     ecx = esi; /* 0x2507B40E: mov ecx, esi */
   6888     RECOMP_ICALL(0x2507B660u); /* 0x2507B410: call 0x2507b660 */ /* not lifted */
   6889     RECOMP_FLAGS_IN();
   6890     /* test LO8(ebx), 1 */ /* 0x2507B415: test bl, 1 */
   6891     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6892     _cf = 0;
   6893     _flag_k = FK_NARROW(FK_TEST, 24);
   6894     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B423; /* 0x2507B418: je 0x2507b423 */
   6895 L_2507B41A:
   6896     PUSH32(esp, esi); /* 0x2507B41A: push esi */
   6897     RECOMP_ICALL(0x25137EECu); /* 0x2507B41B: call 0x25137eec */ /* not lifted */
   6898     RECOMP_FLAGS_IN();
   6899     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6900     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6901     esp = esp + 4; /* 0x2507B420: add esp, 4 */
   6902     _flag_k = FK_ADD;
   6903 L_2507B423:
   6904     eax = esi; /* 0x2507B423: mov eax, esi */
   6905     esi = POP32_VAL(esp); /* 0x2507B425: pop esi */
   6906     ebx = POP32_VAL(esp); /* 0x2507B426: pop ebx */
   6907     ebp = POP32_VAL(esp); /* 0x2507B427: pop ebp */
   6908     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B428: ret 4 */
   6909 L_25085B20:
   6910     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   6911     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6912     ecx = ecx - 0x38u; /* 0x25085B20: sub ecx, 0x38 */
   6913     _flag_k = FK_CMP;
   6914     RECOMP_BACKEDGE();
   6915     goto L_2507B3D0; /* 0x25085B23: jmp 0x2507b3d0 */
   6916     { RECOMP_REGS_OUT(); return; } /* end of function */
   6917     RECOMP_REGS_OUT();
   6918 }
   6919 
   6920 void sub_25085B30(void) {
   6921     int _fpu_cmp = 0;
   6922     uint32_t _cf = 0;
   6923     int _df = 1;
   6924     uint32_t _flag_k = FK_NONE;
   6925     uint32_t _flag_a = 0, _flag_b = 0;
   6926     uint32_t _itail_tgt = 0;
   6927     RECOMP_REGS_LOCALS
   6928     RECOMP_ENTER(0x25085B30u);
   6929 
   6930     goto L_25085B30;
   6931 L_2507B3D0:
   6932     PUSH32(esp, ebp); /* 0x2507B3D0: push ebp */
   6933     ebp = esp; /* 0x2507B3D1: mov ebp, esp */
   6934     PUSH32(esp, ebx); /* 0x2507B3D3: push ebx */
   6935     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507B3D4: mov bl, byte ptr [ebp + 8] */
   6936     /* test LO8(ebx), 2 */ /* 0x2507B3D7: test bl, 2 */
   6937     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6938     _cf = 0;
   6939     _flag_k = FK_NARROW(FK_TEST, 24);
   6940     PUSH32(esp, esi); /* 0x2507B3DA: push esi */
   6941     esi = ecx; /* 0x2507B3DB: mov esi, ecx */
   6942     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B40E; /* 0x2507B3DD: je 0x2507b40e */
   6943 L_2507B3DF:
   6944     eax = MEM32(esi + (-0x4)); /* 0x2507B3DF: mov eax, dword ptr [esi - 4] */
   6945     PUSH32(esp, edi); /* 0x2507B3E2: push edi */
   6946     PUSH32(esp, 0x2507B660u); /* 0x2507B3E3: push 0x2507b660 */
   6947     edi = esi + (-0x4); /* 0x2507B3E8: lea edi, [esi - 4] */
   6948     PUSH32(esp, eax); /* 0x2507B3EB: push eax */
   6949     PUSH32(esp, 0x244u); /* 0x2507B3EC: push 0x244 */
   6950     PUSH32(esp, esi); /* 0x2507B3F1: push esi */
   6951     RECOMP_ICALL(0x25137F92u); /* 0x2507B3F2: call 0x25137f92 */ /* not lifted */
   6952     RECOMP_FLAGS_IN();
   6953     /* test LO8(ebx), 1 */ /* 0x2507B3F7: test bl, 1 */
   6954     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6955     _cf = 0;
   6956     _flag_k = FK_NARROW(FK_TEST, 24);
   6957     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B405; /* 0x2507B3FA: je 0x2507b405 */
   6958 L_2507B3FC:
   6959     PUSH32(esp, edi); /* 0x2507B3FC: push edi */
   6960     RECOMP_ICALL(0x25137EECu); /* 0x2507B3FD: call 0x25137eec */ /* not lifted */
   6961     RECOMP_FLAGS_IN();
   6962     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6963     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6964     esp = esp + 4; /* 0x2507B402: add esp, 4 */
   6965     _flag_k = FK_ADD;
   6966 L_2507B405:
   6967     eax = edi; /* 0x2507B405: mov eax, edi */
   6968     edi = POP32_VAL(esp); /* 0x2507B407: pop edi */
   6969     esi = POP32_VAL(esp); /* 0x2507B408: pop esi */
   6970     ebx = POP32_VAL(esp); /* 0x2507B409: pop ebx */
   6971     ebp = POP32_VAL(esp); /* 0x2507B40A: pop ebp */
   6972     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B40B: ret 4 */
   6973 L_2507B40E:
   6974     ecx = esi; /* 0x2507B40E: mov ecx, esi */
   6975     RECOMP_ICALL(0x2507B660u); /* 0x2507B410: call 0x2507b660 */ /* not lifted */
   6976     RECOMP_FLAGS_IN();
   6977     /* test LO8(ebx), 1 */ /* 0x2507B415: test bl, 1 */
   6978     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6979     _cf = 0;
   6980     _flag_k = FK_NARROW(FK_TEST, 24);
   6981     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B423; /* 0x2507B418: je 0x2507b423 */
   6982 L_2507B41A:
   6983     PUSH32(esp, esi); /* 0x2507B41A: push esi */
   6984     RECOMP_ICALL(0x25137EECu); /* 0x2507B41B: call 0x25137eec */ /* not lifted */
   6985     RECOMP_FLAGS_IN();
   6986     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6987     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6988     esp = esp + 4; /* 0x2507B420: add esp, 4 */
   6989     _flag_k = FK_ADD;
   6990 L_2507B423:
   6991     eax = esi; /* 0x2507B423: mov eax, esi */
   6992     esi = POP32_VAL(esp); /* 0x2507B425: pop esi */
   6993     ebx = POP32_VAL(esp); /* 0x2507B426: pop ebx */
   6994     ebp = POP32_VAL(esp); /* 0x2507B427: pop ebp */
   6995     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B428: ret 4 */
   6996 L_25085B30:
   6997     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   6998     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6999     ecx = ecx - 0x50u; /* 0x25085B30: sub ecx, 0x50 */
   7000     _flag_k = FK_CMP;
   7001     RECOMP_BACKEDGE();
   7002     goto L_2507B3D0; /* 0x25085B33: jmp 0x2507b3d0 */
   7003     { RECOMP_REGS_OUT(); return; } /* end of function */
   7004     RECOMP_REGS_OUT();
   7005 }
   7006 
   7007 void sub_25085B40(void) {
   7008     int _fpu_cmp = 0;
   7009     uint32_t _cf = 0;
   7010     int _df = 1;
   7011     uint32_t _flag_k = FK_NONE;
   7012     uint32_t _flag_a = 0, _flag_b = 0;
   7013     uint32_t _itail_tgt = 0;
   7014     RECOMP_REGS_LOCALS
   7015     RECOMP_ENTER(0x25085B40u);
   7016 
   7017     goto L_25085B40;
   7018 L_2507B3D0:
   7019     PUSH32(esp, ebp); /* 0x2507B3D0: push ebp */
   7020     ebp = esp; /* 0x2507B3D1: mov ebp, esp */
   7021     PUSH32(esp, ebx); /* 0x2507B3D3: push ebx */
   7022     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507B3D4: mov bl, byte ptr [ebp + 8] */
   7023     /* test LO8(ebx), 2 */ /* 0x2507B3D7: test bl, 2 */
   7024     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7025     _cf = 0;
   7026     _flag_k = FK_NARROW(FK_TEST, 24);
   7027     PUSH32(esp, esi); /* 0x2507B3DA: push esi */
   7028     esi = ecx; /* 0x2507B3DB: mov esi, ecx */
   7029     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B40E; /* 0x2507B3DD: je 0x2507b40e */
   7030 L_2507B3DF:
   7031     eax = MEM32(esi + (-0x4)); /* 0x2507B3DF: mov eax, dword ptr [esi - 4] */
   7032     PUSH32(esp, edi); /* 0x2507B3E2: push edi */
   7033     PUSH32(esp, 0x2507B660u); /* 0x2507B3E3: push 0x2507b660 */
   7034     edi = esi + (-0x4); /* 0x2507B3E8: lea edi, [esi - 4] */
   7035     PUSH32(esp, eax); /* 0x2507B3EB: push eax */
   7036     PUSH32(esp, 0x244u); /* 0x2507B3EC: push 0x244 */
   7037     PUSH32(esp, esi); /* 0x2507B3F1: push esi */
   7038     RECOMP_ICALL(0x25137F92u); /* 0x2507B3F2: call 0x25137f92 */ /* not lifted */
   7039     RECOMP_FLAGS_IN();
   7040     /* test LO8(ebx), 1 */ /* 0x2507B3F7: test bl, 1 */
   7041     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7042     _cf = 0;
   7043     _flag_k = FK_NARROW(FK_TEST, 24);
   7044     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B405; /* 0x2507B3FA: je 0x2507b405 */
   7045 L_2507B3FC:
   7046     PUSH32(esp, edi); /* 0x2507B3FC: push edi */
   7047     RECOMP_ICALL(0x25137EECu); /* 0x2507B3FD: call 0x25137eec */ /* not lifted */
   7048     RECOMP_FLAGS_IN();
   7049     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7050     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7051     esp = esp + 4; /* 0x2507B402: add esp, 4 */
   7052     _flag_k = FK_ADD;
   7053 L_2507B405:
   7054     eax = edi; /* 0x2507B405: mov eax, edi */
   7055     edi = POP32_VAL(esp); /* 0x2507B407: pop edi */
   7056     esi = POP32_VAL(esp); /* 0x2507B408: pop esi */
   7057     ebx = POP32_VAL(esp); /* 0x2507B409: pop ebx */
   7058     ebp = POP32_VAL(esp); /* 0x2507B40A: pop ebp */
   7059     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B40B: ret 4 */
   7060 L_2507B40E:
   7061     ecx = esi; /* 0x2507B40E: mov ecx, esi */
   7062     RECOMP_ICALL(0x2507B660u); /* 0x2507B410: call 0x2507b660 */ /* not lifted */
   7063     RECOMP_FLAGS_IN();
   7064     /* test LO8(ebx), 1 */ /* 0x2507B415: test bl, 1 */
   7065     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7066     _cf = 0;
   7067     _flag_k = FK_NARROW(FK_TEST, 24);
   7068     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B423; /* 0x2507B418: je 0x2507b423 */
   7069 L_2507B41A:
   7070     PUSH32(esp, esi); /* 0x2507B41A: push esi */
   7071     RECOMP_ICALL(0x25137EECu); /* 0x2507B41B: call 0x25137eec */ /* not lifted */
   7072     RECOMP_FLAGS_IN();
   7073     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7074     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7075     esp = esp + 4; /* 0x2507B420: add esp, 4 */
   7076     _flag_k = FK_ADD;
   7077 L_2507B423:
   7078     eax = esi; /* 0x2507B423: mov eax, esi */
   7079     esi = POP32_VAL(esp); /* 0x2507B425: pop esi */
   7080     ebx = POP32_VAL(esp); /* 0x2507B426: pop ebx */
   7081     ebp = POP32_VAL(esp); /* 0x2507B427: pop ebp */
   7082     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B428: ret 4 */
   7083 L_25085B40:
   7084     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   7085     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7086     ecx = ecx - 0x138u; /* 0x25085B40: sub ecx, 0x138 */
   7087     _flag_k = FK_CMP;
   7088     RECOMP_BACKEDGE();
   7089     goto L_2507B3D0; /* 0x25085B46: jmp 0x2507b3d0 */
   7090     { RECOMP_REGS_OUT(); return; } /* end of function */
   7091     RECOMP_REGS_OUT();
   7092 }
   7093 
   7094 void sub_25085B50(void) {
   7095     int _fpu_cmp = 0;
   7096     uint32_t _cf = 0;
   7097     int _df = 1;
   7098     uint32_t _flag_k = FK_NONE;
   7099     uint32_t _flag_a = 0, _flag_b = 0;
   7100     uint32_t _itail_tgt = 0;
   7101     RECOMP_REGS_LOCALS
   7102     RECOMP_ENTER(0x25085B50u);
   7103 
   7104     goto L_25085B50;
   7105 L_2507B3D0:
   7106     PUSH32(esp, ebp); /* 0x2507B3D0: push ebp */
   7107     ebp = esp; /* 0x2507B3D1: mov ebp, esp */
   7108     PUSH32(esp, ebx); /* 0x2507B3D3: push ebx */
   7109     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507B3D4: mov bl, byte ptr [ebp + 8] */
   7110     /* test LO8(ebx), 2 */ /* 0x2507B3D7: test bl, 2 */
   7111     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7112     _cf = 0;
   7113     _flag_k = FK_NARROW(FK_TEST, 24);
   7114     PUSH32(esp, esi); /* 0x2507B3DA: push esi */
   7115     esi = ecx; /* 0x2507B3DB: mov esi, ecx */
   7116     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B40E; /* 0x2507B3DD: je 0x2507b40e */
   7117 L_2507B3DF:
   7118     eax = MEM32(esi + (-0x4)); /* 0x2507B3DF: mov eax, dword ptr [esi - 4] */
   7119     PUSH32(esp, edi); /* 0x2507B3E2: push edi */
   7120     PUSH32(esp, 0x2507B660u); /* 0x2507B3E3: push 0x2507b660 */
   7121     edi = esi + (-0x4); /* 0x2507B3E8: lea edi, [esi - 4] */
   7122     PUSH32(esp, eax); /* 0x2507B3EB: push eax */
   7123     PUSH32(esp, 0x244u); /* 0x2507B3EC: push 0x244 */
   7124     PUSH32(esp, esi); /* 0x2507B3F1: push esi */
   7125     RECOMP_ICALL(0x25137F92u); /* 0x2507B3F2: call 0x25137f92 */ /* not lifted */
   7126     RECOMP_FLAGS_IN();
   7127     /* test LO8(ebx), 1 */ /* 0x2507B3F7: test bl, 1 */
   7128     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7129     _cf = 0;
   7130     _flag_k = FK_NARROW(FK_TEST, 24);
   7131     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B405; /* 0x2507B3FA: je 0x2507b405 */
   7132 L_2507B3FC:
   7133     PUSH32(esp, edi); /* 0x2507B3FC: push edi */
   7134     RECOMP_ICALL(0x25137EECu); /* 0x2507B3FD: call 0x25137eec */ /* not lifted */
   7135     RECOMP_FLAGS_IN();
   7136     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7137     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7138     esp = esp + 4; /* 0x2507B402: add esp, 4 */
   7139     _flag_k = FK_ADD;
   7140 L_2507B405:
   7141     eax = edi; /* 0x2507B405: mov eax, edi */
   7142     edi = POP32_VAL(esp); /* 0x2507B407: pop edi */
   7143     esi = POP32_VAL(esp); /* 0x2507B408: pop esi */
   7144     ebx = POP32_VAL(esp); /* 0x2507B409: pop ebx */
   7145     ebp = POP32_VAL(esp); /* 0x2507B40A: pop ebp */
   7146     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B40B: ret 4 */
   7147 L_2507B40E:
   7148     ecx = esi; /* 0x2507B40E: mov ecx, esi */
   7149     RECOMP_ICALL(0x2507B660u); /* 0x2507B410: call 0x2507b660 */ /* not lifted */
   7150     RECOMP_FLAGS_IN();
   7151     /* test LO8(ebx), 1 */ /* 0x2507B415: test bl, 1 */
   7152     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7153     _cf = 0;
   7154     _flag_k = FK_NARROW(FK_TEST, 24);
   7155     if (TEST_Z(_flag_a, _flag_b)) goto L_2507B423; /* 0x2507B418: je 0x2507b423 */
   7156 L_2507B41A:
   7157     PUSH32(esp, esi); /* 0x2507B41A: push esi */
   7158     RECOMP_ICALL(0x25137EECu); /* 0x2507B41B: call 0x25137eec */ /* not lifted */
   7159     RECOMP_FLAGS_IN();
   7160     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7161     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7162     esp = esp + 4; /* 0x2507B420: add esp, 4 */
   7163     _flag_k = FK_ADD;
   7164 L_2507B423:
   7165     eax = esi; /* 0x2507B423: mov eax, esi */
   7166     esi = POP32_VAL(esp); /* 0x2507B425: pop esi */
   7167     ebx = POP32_VAL(esp); /* 0x2507B426: pop ebx */
   7168     ebp = POP32_VAL(esp); /* 0x2507B427: pop ebp */
   7169     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507B428: ret 4 */
   7170 L_25085B50:
   7171     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   7172     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7173     ecx = ecx - 0x150u; /* 0x25085B50: sub ecx, 0x150 */
   7174     _flag_k = FK_CMP;
   7175     RECOMP_BACKEDGE();
   7176     goto L_2507B3D0; /* 0x25085B56: jmp 0x2507b3d0 */
   7177     { RECOMP_REGS_OUT(); return; } /* end of function */
   7178     RECOMP_REGS_OUT();
   7179 }
   7180 
   7181 void sub_25085B60(void) {
   7182     int _fpu_cmp = 0;
   7183     uint32_t _cf = 0;
   7184     int _df = 1;
   7185     uint32_t _flag_k = FK_NONE;
   7186     uint32_t _flag_a = 0, _flag_b = 0;
   7187     uint32_t _itail_tgt = 0;
   7188     RECOMP_REGS_LOCALS
   7189     RECOMP_ENTER(0x25085B60u);
   7190 
   7191     goto L_25085B60;
   7192 L_2507EED0:
   7193     PUSH32(esp, ebp); /* 0x2507EED0: push ebp */
   7194     ebp = esp; /* 0x2507EED1: mov ebp, esp */
   7195     PUSH32(esp, ebx); /* 0x2507EED3: push ebx */
   7196     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507EED4: mov bl, byte ptr [ebp + 8] */
   7197     /* test LO8(ebx), 2 */ /* 0x2507EED7: test bl, 2 */
   7198     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7199     _cf = 0;
   7200     _flag_k = FK_NARROW(FK_TEST, 24);
   7201     PUSH32(esp, esi); /* 0x2507EEDA: push esi */
   7202     esi = ecx; /* 0x2507EEDB: mov esi, ecx */
   7203     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF0E; /* 0x2507EEDD: je 0x2507ef0e */
   7204 L_2507EEDF:
   7205     eax = MEM32(esi + (-0x4)); /* 0x2507EEDF: mov eax, dword ptr [esi - 4] */
   7206     PUSH32(esp, edi); /* 0x2507EEE2: push edi */
   7207     PUSH32(esp, 0x2507F0D0u); /* 0x2507EEE3: push 0x2507f0d0 */
   7208     edi = esi + (-0x4); /* 0x2507EEE8: lea edi, [esi - 4] */
   7209     PUSH32(esp, eax); /* 0x2507EEEB: push eax */
   7210     PUSH32(esp, 0x22Cu); /* 0x2507EEEC: push 0x22c */
   7211     PUSH32(esp, esi); /* 0x2507EEF1: push esi */
   7212     RECOMP_ICALL(0x25137F92u); /* 0x2507EEF2: call 0x25137f92 */ /* not lifted */
   7213     RECOMP_FLAGS_IN();
   7214     /* test LO8(ebx), 1 */ /* 0x2507EEF7: test bl, 1 */
   7215     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7216     _cf = 0;
   7217     _flag_k = FK_NARROW(FK_TEST, 24);
   7218     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF05; /* 0x2507EEFA: je 0x2507ef05 */
   7219 L_2507EEFC:
   7220     PUSH32(esp, edi); /* 0x2507EEFC: push edi */
   7221     RECOMP_ICALL(0x25137EECu); /* 0x2507EEFD: call 0x25137eec */ /* not lifted */
   7222     RECOMP_FLAGS_IN();
   7223     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7225     esp = esp + 4; /* 0x2507EF02: add esp, 4 */
   7226     _flag_k = FK_ADD;
   7227 L_2507EF05:
   7228     eax = edi; /* 0x2507EF05: mov eax, edi */
   7229     edi = POP32_VAL(esp); /* 0x2507EF07: pop edi */
   7230     esi = POP32_VAL(esp); /* 0x2507EF08: pop esi */
   7231     ebx = POP32_VAL(esp); /* 0x2507EF09: pop ebx */
   7232     ebp = POP32_VAL(esp); /* 0x2507EF0A: pop ebp */
   7233     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF0B: ret 4 */
   7234 L_2507EF0E:
   7235     ecx = esi; /* 0x2507EF0E: mov ecx, esi */
   7236     RECOMP_ICALL(0x2507F0D0u); /* 0x2507EF10: call 0x2507f0d0 */ /* not lifted */
   7237     RECOMP_FLAGS_IN();
   7238     /* test LO8(ebx), 1 */ /* 0x2507EF15: test bl, 1 */
   7239     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7240     _cf = 0;
   7241     _flag_k = FK_NARROW(FK_TEST, 24);
   7242     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF23; /* 0x2507EF18: je 0x2507ef23 */
   7243 L_2507EF1A:
   7244     PUSH32(esp, esi); /* 0x2507EF1A: push esi */
   7245     RECOMP_ICALL(0x25137EECu); /* 0x2507EF1B: call 0x25137eec */ /* not lifted */
   7246     RECOMP_FLAGS_IN();
   7247     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7248     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7249     esp = esp + 4; /* 0x2507EF20: add esp, 4 */
   7250     _flag_k = FK_ADD;
   7251 L_2507EF23:
   7252     eax = esi; /* 0x2507EF23: mov eax, esi */
   7253     esi = POP32_VAL(esp); /* 0x2507EF25: pop esi */
   7254     ebx = POP32_VAL(esp); /* 0x2507EF26: pop ebx */
   7255     ebp = POP32_VAL(esp); /* 0x2507EF27: pop ebp */
   7256     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF28: ret 4 */
   7257 L_25085B60:
   7258     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   7259     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7260     ecx = ecx - 8; /* 0x25085B60: sub ecx, 8 */
   7261     _flag_k = FK_CMP;
   7262     RECOMP_BACKEDGE();
   7263     goto L_2507EED0; /* 0x25085B63: jmp 0x2507eed0 */
   7264     { RECOMP_REGS_OUT(); return; } /* end of function */
   7265     RECOMP_REGS_OUT();
   7266 }
   7267 
   7268 void sub_25085B70(void) {
   7269     int _fpu_cmp = 0;
   7270     uint32_t _cf = 0;
   7271     int _df = 1;
   7272     uint32_t _flag_k = FK_NONE;
   7273     uint32_t _flag_a = 0, _flag_b = 0;
   7274     uint32_t _itail_tgt = 0;
   7275     RECOMP_REGS_LOCALS
   7276     RECOMP_ENTER(0x25085B70u);
   7277 
   7278     goto L_25085B70;
   7279 L_2507EED0:
   7280     PUSH32(esp, ebp); /* 0x2507EED0: push ebp */
   7281     ebp = esp; /* 0x2507EED1: mov ebp, esp */
   7282     PUSH32(esp, ebx); /* 0x2507EED3: push ebx */
   7283     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507EED4: mov bl, byte ptr [ebp + 8] */
   7284     /* test LO8(ebx), 2 */ /* 0x2507EED7: test bl, 2 */
   7285     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7286     _cf = 0;
   7287     _flag_k = FK_NARROW(FK_TEST, 24);
   7288     PUSH32(esp, esi); /* 0x2507EEDA: push esi */
   7289     esi = ecx; /* 0x2507EEDB: mov esi, ecx */
   7290     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF0E; /* 0x2507EEDD: je 0x2507ef0e */
   7291 L_2507EEDF:
   7292     eax = MEM32(esi + (-0x4)); /* 0x2507EEDF: mov eax, dword ptr [esi - 4] */
   7293     PUSH32(esp, edi); /* 0x2507EEE2: push edi */
   7294     PUSH32(esp, 0x2507F0D0u); /* 0x2507EEE3: push 0x2507f0d0 */
   7295     edi = esi + (-0x4); /* 0x2507EEE8: lea edi, [esi - 4] */
   7296     PUSH32(esp, eax); /* 0x2507EEEB: push eax */
   7297     PUSH32(esp, 0x22Cu); /* 0x2507EEEC: push 0x22c */
   7298     PUSH32(esp, esi); /* 0x2507EEF1: push esi */
   7299     RECOMP_ICALL(0x25137F92u); /* 0x2507EEF2: call 0x25137f92 */ /* not lifted */
   7300     RECOMP_FLAGS_IN();
   7301     /* test LO8(ebx), 1 */ /* 0x2507EEF7: test bl, 1 */
   7302     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7303     _cf = 0;
   7304     _flag_k = FK_NARROW(FK_TEST, 24);
   7305     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF05; /* 0x2507EEFA: je 0x2507ef05 */
   7306 L_2507EEFC:
   7307     PUSH32(esp, edi); /* 0x2507EEFC: push edi */
   7308     RECOMP_ICALL(0x25137EECu); /* 0x2507EEFD: call 0x25137eec */ /* not lifted */
   7309     RECOMP_FLAGS_IN();
   7310     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7311     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7312     esp = esp + 4; /* 0x2507EF02: add esp, 4 */
   7313     _flag_k = FK_ADD;
   7314 L_2507EF05:
   7315     eax = edi; /* 0x2507EF05: mov eax, edi */
   7316     edi = POP32_VAL(esp); /* 0x2507EF07: pop edi */
   7317     esi = POP32_VAL(esp); /* 0x2507EF08: pop esi */
   7318     ebx = POP32_VAL(esp); /* 0x2507EF09: pop ebx */
   7319     ebp = POP32_VAL(esp); /* 0x2507EF0A: pop ebp */
   7320     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF0B: ret 4 */
   7321 L_2507EF0E:
   7322     ecx = esi; /* 0x2507EF0E: mov ecx, esi */
   7323     RECOMP_ICALL(0x2507F0D0u); /* 0x2507EF10: call 0x2507f0d0 */ /* not lifted */
   7324     RECOMP_FLAGS_IN();
   7325     /* test LO8(ebx), 1 */ /* 0x2507EF15: test bl, 1 */
   7326     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7327     _cf = 0;
   7328     _flag_k = FK_NARROW(FK_TEST, 24);
   7329     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF23; /* 0x2507EF18: je 0x2507ef23 */
   7330 L_2507EF1A:
   7331     PUSH32(esp, esi); /* 0x2507EF1A: push esi */
   7332     RECOMP_ICALL(0x25137EECu); /* 0x2507EF1B: call 0x25137eec */ /* not lifted */
   7333     RECOMP_FLAGS_IN();
   7334     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7335     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7336     esp = esp + 4; /* 0x2507EF20: add esp, 4 */
   7337     _flag_k = FK_ADD;
   7338 L_2507EF23:
   7339     eax = esi; /* 0x2507EF23: mov eax, esi */
   7340     esi = POP32_VAL(esp); /* 0x2507EF25: pop esi */
   7341     ebx = POP32_VAL(esp); /* 0x2507EF26: pop ebx */
   7342     ebp = POP32_VAL(esp); /* 0x2507EF27: pop ebp */
   7343     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF28: ret 4 */
   7344 L_25085B70:
   7345     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   7346     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7347     ecx = ecx - 0x20u; /* 0x25085B70: sub ecx, 0x20 */
   7348     _flag_k = FK_CMP;
   7349     RECOMP_BACKEDGE();
   7350     goto L_2507EED0; /* 0x25085B73: jmp 0x2507eed0 */
   7351     { RECOMP_REGS_OUT(); return; } /* end of function */
   7352     RECOMP_REGS_OUT();
   7353 }
   7354 
   7355 void sub_25085B80(void) {
   7356     int _fpu_cmp = 0;
   7357     uint32_t _cf = 0;
   7358     int _df = 1;
   7359     uint32_t _flag_k = FK_NONE;
   7360     uint32_t _flag_a = 0, _flag_b = 0;
   7361     uint32_t _itail_tgt = 0;
   7362     RECOMP_REGS_LOCALS
   7363     RECOMP_ENTER(0x25085B80u);
   7364 
   7365     goto L_25085B80;
   7366 L_2507EED0:
   7367     PUSH32(esp, ebp); /* 0x2507EED0: push ebp */
   7368     ebp = esp; /* 0x2507EED1: mov ebp, esp */
   7369     PUSH32(esp, ebx); /* 0x2507EED3: push ebx */
   7370     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507EED4: mov bl, byte ptr [ebp + 8] */
   7371     /* test LO8(ebx), 2 */ /* 0x2507EED7: test bl, 2 */
   7372     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7373     _cf = 0;
   7374     _flag_k = FK_NARROW(FK_TEST, 24);
   7375     PUSH32(esp, esi); /* 0x2507EEDA: push esi */
   7376     esi = ecx; /* 0x2507EEDB: mov esi, ecx */
   7377     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF0E; /* 0x2507EEDD: je 0x2507ef0e */
   7378 L_2507EEDF:
   7379     eax = MEM32(esi + (-0x4)); /* 0x2507EEDF: mov eax, dword ptr [esi - 4] */
   7380     PUSH32(esp, edi); /* 0x2507EEE2: push edi */
   7381     PUSH32(esp, 0x2507F0D0u); /* 0x2507EEE3: push 0x2507f0d0 */
   7382     edi = esi + (-0x4); /* 0x2507EEE8: lea edi, [esi - 4] */
   7383     PUSH32(esp, eax); /* 0x2507EEEB: push eax */
   7384     PUSH32(esp, 0x22Cu); /* 0x2507EEEC: push 0x22c */
   7385     PUSH32(esp, esi); /* 0x2507EEF1: push esi */
   7386     RECOMP_ICALL(0x25137F92u); /* 0x2507EEF2: call 0x25137f92 */ /* not lifted */
   7387     RECOMP_FLAGS_IN();
   7388     /* test LO8(ebx), 1 */ /* 0x2507EEF7: test bl, 1 */
   7389     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7390     _cf = 0;
   7391     _flag_k = FK_NARROW(FK_TEST, 24);
   7392     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF05; /* 0x2507EEFA: je 0x2507ef05 */
   7393 L_2507EEFC:
   7394     PUSH32(esp, edi); /* 0x2507EEFC: push edi */
   7395     RECOMP_ICALL(0x25137EECu); /* 0x2507EEFD: call 0x25137eec */ /* not lifted */
   7396     RECOMP_FLAGS_IN();
   7397     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7398     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7399     esp = esp + 4; /* 0x2507EF02: add esp, 4 */
   7400     _flag_k = FK_ADD;
   7401 L_2507EF05:
   7402     eax = edi; /* 0x2507EF05: mov eax, edi */
   7403     edi = POP32_VAL(esp); /* 0x2507EF07: pop edi */
   7404     esi = POP32_VAL(esp); /* 0x2507EF08: pop esi */
   7405     ebx = POP32_VAL(esp); /* 0x2507EF09: pop ebx */
   7406     ebp = POP32_VAL(esp); /* 0x2507EF0A: pop ebp */
   7407     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF0B: ret 4 */
   7408 L_2507EF0E:
   7409     ecx = esi; /* 0x2507EF0E: mov ecx, esi */
   7410     RECOMP_ICALL(0x2507F0D0u); /* 0x2507EF10: call 0x2507f0d0 */ /* not lifted */
   7411     RECOMP_FLAGS_IN();
   7412     /* test LO8(ebx), 1 */ /* 0x2507EF15: test bl, 1 */
   7413     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7414     _cf = 0;
   7415     _flag_k = FK_NARROW(FK_TEST, 24);
   7416     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF23; /* 0x2507EF18: je 0x2507ef23 */
   7417 L_2507EF1A:
   7418     PUSH32(esp, esi); /* 0x2507EF1A: push esi */
   7419     RECOMP_ICALL(0x25137EECu); /* 0x2507EF1B: call 0x25137eec */ /* not lifted */
   7420     RECOMP_FLAGS_IN();
   7421     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7422     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7423     esp = esp + 4; /* 0x2507EF20: add esp, 4 */
   7424     _flag_k = FK_ADD;
   7425 L_2507EF23:
   7426     eax = esi; /* 0x2507EF23: mov eax, esi */
   7427     esi = POP32_VAL(esp); /* 0x2507EF25: pop esi */
   7428     ebx = POP32_VAL(esp); /* 0x2507EF26: pop ebx */
   7429     ebp = POP32_VAL(esp); /* 0x2507EF27: pop ebp */
   7430     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF28: ret 4 */
   7431 L_25085B80:
   7432     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   7433     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7434     ecx = ecx - 0x38u; /* 0x25085B80: sub ecx, 0x38 */
   7435     _flag_k = FK_CMP;
   7436     RECOMP_BACKEDGE();
   7437     goto L_2507EED0; /* 0x25085B83: jmp 0x2507eed0 */
   7438     { RECOMP_REGS_OUT(); return; } /* end of function */
   7439     RECOMP_REGS_OUT();
   7440 }
   7441 
   7442 void sub_25085B90(void) {
   7443     int _fpu_cmp = 0;
   7444     uint32_t _cf = 0;
   7445     int _df = 1;
   7446     uint32_t _flag_k = FK_NONE;
   7447     uint32_t _flag_a = 0, _flag_b = 0;
   7448     uint32_t _itail_tgt = 0;
   7449     RECOMP_REGS_LOCALS
   7450     RECOMP_ENTER(0x25085B90u);
   7451 
   7452     goto L_25085B90;
   7453 L_2507EED0:
   7454     PUSH32(esp, ebp); /* 0x2507EED0: push ebp */
   7455     ebp = esp; /* 0x2507EED1: mov ebp, esp */
   7456     PUSH32(esp, ebx); /* 0x2507EED3: push ebx */
   7457     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507EED4: mov bl, byte ptr [ebp + 8] */
   7458     /* test LO8(ebx), 2 */ /* 0x2507EED7: test bl, 2 */
   7459     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7460     _cf = 0;
   7461     _flag_k = FK_NARROW(FK_TEST, 24);
   7462     PUSH32(esp, esi); /* 0x2507EEDA: push esi */
   7463     esi = ecx; /* 0x2507EEDB: mov esi, ecx */
   7464     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF0E; /* 0x2507EEDD: je 0x2507ef0e */
   7465 L_2507EEDF:
   7466     eax = MEM32(esi + (-0x4)); /* 0x2507EEDF: mov eax, dword ptr [esi - 4] */
   7467     PUSH32(esp, edi); /* 0x2507EEE2: push edi */
   7468     PUSH32(esp, 0x2507F0D0u); /* 0x2507EEE3: push 0x2507f0d0 */
   7469     edi = esi + (-0x4); /* 0x2507EEE8: lea edi, [esi - 4] */
   7470     PUSH32(esp, eax); /* 0x2507EEEB: push eax */
   7471     PUSH32(esp, 0x22Cu); /* 0x2507EEEC: push 0x22c */
   7472     PUSH32(esp, esi); /* 0x2507EEF1: push esi */
   7473     RECOMP_ICALL(0x25137F92u); /* 0x2507EEF2: call 0x25137f92 */ /* not lifted */
   7474     RECOMP_FLAGS_IN();
   7475     /* test LO8(ebx), 1 */ /* 0x2507EEF7: test bl, 1 */
   7476     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7477     _cf = 0;
   7478     _flag_k = FK_NARROW(FK_TEST, 24);
   7479     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF05; /* 0x2507EEFA: je 0x2507ef05 */
   7480 L_2507EEFC:
   7481     PUSH32(esp, edi); /* 0x2507EEFC: push edi */
   7482     RECOMP_ICALL(0x25137EECu); /* 0x2507EEFD: call 0x25137eec */ /* not lifted */
   7483     RECOMP_FLAGS_IN();
   7484     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7485     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7486     esp = esp + 4; /* 0x2507EF02: add esp, 4 */
   7487     _flag_k = FK_ADD;
   7488 L_2507EF05:
   7489     eax = edi; /* 0x2507EF05: mov eax, edi */
   7490     edi = POP32_VAL(esp); /* 0x2507EF07: pop edi */
   7491     esi = POP32_VAL(esp); /* 0x2507EF08: pop esi */
   7492     ebx = POP32_VAL(esp); /* 0x2507EF09: pop ebx */
   7493     ebp = POP32_VAL(esp); /* 0x2507EF0A: pop ebp */
   7494     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF0B: ret 4 */
   7495 L_2507EF0E:
   7496     ecx = esi; /* 0x2507EF0E: mov ecx, esi */
   7497     RECOMP_ICALL(0x2507F0D0u); /* 0x2507EF10: call 0x2507f0d0 */ /* not lifted */
   7498     RECOMP_FLAGS_IN();
   7499     /* test LO8(ebx), 1 */ /* 0x2507EF15: test bl, 1 */
   7500     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7501     _cf = 0;
   7502     _flag_k = FK_NARROW(FK_TEST, 24);
   7503     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF23; /* 0x2507EF18: je 0x2507ef23 */
   7504 L_2507EF1A:
   7505     PUSH32(esp, esi); /* 0x2507EF1A: push esi */
   7506     RECOMP_ICALL(0x25137EECu); /* 0x2507EF1B: call 0x25137eec */ /* not lifted */
   7507     RECOMP_FLAGS_IN();
   7508     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7509     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7510     esp = esp + 4; /* 0x2507EF20: add esp, 4 */
   7511     _flag_k = FK_ADD;
   7512 L_2507EF23:
   7513     eax = esi; /* 0x2507EF23: mov eax, esi */
   7514     esi = POP32_VAL(esp); /* 0x2507EF25: pop esi */
   7515     ebx = POP32_VAL(esp); /* 0x2507EF26: pop ebx */
   7516     ebp = POP32_VAL(esp); /* 0x2507EF27: pop ebp */
   7517     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF28: ret 4 */
   7518 L_25085B90:
   7519     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   7520     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7521     ecx = ecx - 0x50u; /* 0x25085B90: sub ecx, 0x50 */
   7522     _flag_k = FK_CMP;
   7523     RECOMP_BACKEDGE();
   7524     goto L_2507EED0; /* 0x25085B93: jmp 0x2507eed0 */
   7525     { RECOMP_REGS_OUT(); return; } /* end of function */
   7526     RECOMP_REGS_OUT();
   7527 }
   7528 
   7529 void sub_25085BA0(void) {
   7530     int _fpu_cmp = 0;
   7531     uint32_t _cf = 0;
   7532     int _df = 1;
   7533     uint32_t _flag_k = FK_NONE;
   7534     uint32_t _flag_a = 0, _flag_b = 0;
   7535     uint32_t _itail_tgt = 0;
   7536     RECOMP_REGS_LOCALS
   7537     RECOMP_ENTER(0x25085BA0u);
   7538 
   7539     goto L_25085BA0;
   7540 L_2507EED0:
   7541     PUSH32(esp, ebp); /* 0x2507EED0: push ebp */
   7542     ebp = esp; /* 0x2507EED1: mov ebp, esp */
   7543     PUSH32(esp, ebx); /* 0x2507EED3: push ebx */
   7544     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507EED4: mov bl, byte ptr [ebp + 8] */
   7545     /* test LO8(ebx), 2 */ /* 0x2507EED7: test bl, 2 */
   7546     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7547     _cf = 0;
   7548     _flag_k = FK_NARROW(FK_TEST, 24);
   7549     PUSH32(esp, esi); /* 0x2507EEDA: push esi */
   7550     esi = ecx; /* 0x2507EEDB: mov esi, ecx */
   7551     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF0E; /* 0x2507EEDD: je 0x2507ef0e */
   7552 L_2507EEDF:
   7553     eax = MEM32(esi + (-0x4)); /* 0x2507EEDF: mov eax, dword ptr [esi - 4] */
   7554     PUSH32(esp, edi); /* 0x2507EEE2: push edi */
   7555     PUSH32(esp, 0x2507F0D0u); /* 0x2507EEE3: push 0x2507f0d0 */
   7556     edi = esi + (-0x4); /* 0x2507EEE8: lea edi, [esi - 4] */
   7557     PUSH32(esp, eax); /* 0x2507EEEB: push eax */
   7558     PUSH32(esp, 0x22Cu); /* 0x2507EEEC: push 0x22c */
   7559     PUSH32(esp, esi); /* 0x2507EEF1: push esi */
   7560     RECOMP_ICALL(0x25137F92u); /* 0x2507EEF2: call 0x25137f92 */ /* not lifted */
   7561     RECOMP_FLAGS_IN();
   7562     /* test LO8(ebx), 1 */ /* 0x2507EEF7: test bl, 1 */
   7563     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7564     _cf = 0;
   7565     _flag_k = FK_NARROW(FK_TEST, 24);
   7566     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF05; /* 0x2507EEFA: je 0x2507ef05 */
   7567 L_2507EEFC:
   7568     PUSH32(esp, edi); /* 0x2507EEFC: push edi */
   7569     RECOMP_ICALL(0x25137EECu); /* 0x2507EEFD: call 0x25137eec */ /* not lifted */
   7570     RECOMP_FLAGS_IN();
   7571     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7572     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7573     esp = esp + 4; /* 0x2507EF02: add esp, 4 */
   7574     _flag_k = FK_ADD;
   7575 L_2507EF05:
   7576     eax = edi; /* 0x2507EF05: mov eax, edi */
   7577     edi = POP32_VAL(esp); /* 0x2507EF07: pop edi */
   7578     esi = POP32_VAL(esp); /* 0x2507EF08: pop esi */
   7579     ebx = POP32_VAL(esp); /* 0x2507EF09: pop ebx */
   7580     ebp = POP32_VAL(esp); /* 0x2507EF0A: pop ebp */
   7581     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF0B: ret 4 */
   7582 L_2507EF0E:
   7583     ecx = esi; /* 0x2507EF0E: mov ecx, esi */
   7584     RECOMP_ICALL(0x2507F0D0u); /* 0x2507EF10: call 0x2507f0d0 */ /* not lifted */
   7585     RECOMP_FLAGS_IN();
   7586     /* test LO8(ebx), 1 */ /* 0x2507EF15: test bl, 1 */
   7587     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7588     _cf = 0;
   7589     _flag_k = FK_NARROW(FK_TEST, 24);
   7590     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF23; /* 0x2507EF18: je 0x2507ef23 */
   7591 L_2507EF1A:
   7592     PUSH32(esp, esi); /* 0x2507EF1A: push esi */
   7593     RECOMP_ICALL(0x25137EECu); /* 0x2507EF1B: call 0x25137eec */ /* not lifted */
   7594     RECOMP_FLAGS_IN();
   7595     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7596     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7597     esp = esp + 4; /* 0x2507EF20: add esp, 4 */
   7598     _flag_k = FK_ADD;
   7599 L_2507EF23:
   7600     eax = esi; /* 0x2507EF23: mov eax, esi */
   7601     esi = POP32_VAL(esp); /* 0x2507EF25: pop esi */
   7602     ebx = POP32_VAL(esp); /* 0x2507EF26: pop ebx */
   7603     ebp = POP32_VAL(esp); /* 0x2507EF27: pop ebp */
   7604     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF28: ret 4 */
   7605 L_25085BA0:
   7606     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   7607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7608     ecx = ecx - 0x138u; /* 0x25085BA0: sub ecx, 0x138 */
   7609     _flag_k = FK_CMP;
   7610     RECOMP_BACKEDGE();
   7611     goto L_2507EED0; /* 0x25085BA6: jmp 0x2507eed0 */
   7612     { RECOMP_REGS_OUT(); return; } /* end of function */
   7613     RECOMP_REGS_OUT();
   7614 }
   7615 
   7616 void sub_25085BB0(void) {
   7617     int _fpu_cmp = 0;
   7618     uint32_t _cf = 0;
   7619     int _df = 1;
   7620     uint32_t _flag_k = FK_NONE;
   7621     uint32_t _flag_a = 0, _flag_b = 0;
   7622     uint32_t _itail_tgt = 0;
   7623     RECOMP_REGS_LOCALS
   7624     RECOMP_ENTER(0x25085BB0u);
   7625 
   7626     goto L_25085BB0;
   7627 L_2507EED0:
   7628     PUSH32(esp, ebp); /* 0x2507EED0: push ebp */
   7629     ebp = esp; /* 0x2507EED1: mov ebp, esp */
   7630     PUSH32(esp, ebx); /* 0x2507EED3: push ebx */
   7631     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507EED4: mov bl, byte ptr [ebp + 8] */
   7632     /* test LO8(ebx), 2 */ /* 0x2507EED7: test bl, 2 */
   7633     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7634     _cf = 0;
   7635     _flag_k = FK_NARROW(FK_TEST, 24);
   7636     PUSH32(esp, esi); /* 0x2507EEDA: push esi */
   7637     esi = ecx; /* 0x2507EEDB: mov esi, ecx */
   7638     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF0E; /* 0x2507EEDD: je 0x2507ef0e */
   7639 L_2507EEDF:
   7640     eax = MEM32(esi + (-0x4)); /* 0x2507EEDF: mov eax, dword ptr [esi - 4] */
   7641     PUSH32(esp, edi); /* 0x2507EEE2: push edi */
   7642     PUSH32(esp, 0x2507F0D0u); /* 0x2507EEE3: push 0x2507f0d0 */
   7643     edi = esi + (-0x4); /* 0x2507EEE8: lea edi, [esi - 4] */
   7644     PUSH32(esp, eax); /* 0x2507EEEB: push eax */
   7645     PUSH32(esp, 0x22Cu); /* 0x2507EEEC: push 0x22c */
   7646     PUSH32(esp, esi); /* 0x2507EEF1: push esi */
   7647     RECOMP_ICALL(0x25137F92u); /* 0x2507EEF2: call 0x25137f92 */ /* not lifted */
   7648     RECOMP_FLAGS_IN();
   7649     /* test LO8(ebx), 1 */ /* 0x2507EEF7: test bl, 1 */
   7650     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7651     _cf = 0;
   7652     _flag_k = FK_NARROW(FK_TEST, 24);
   7653     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF05; /* 0x2507EEFA: je 0x2507ef05 */
   7654 L_2507EEFC:
   7655     PUSH32(esp, edi); /* 0x2507EEFC: push edi */
   7656     RECOMP_ICALL(0x25137EECu); /* 0x2507EEFD: call 0x25137eec */ /* not lifted */
   7657     RECOMP_FLAGS_IN();
   7658     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7659     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7660     esp = esp + 4; /* 0x2507EF02: add esp, 4 */
   7661     _flag_k = FK_ADD;
   7662 L_2507EF05:
   7663     eax = edi; /* 0x2507EF05: mov eax, edi */
   7664     edi = POP32_VAL(esp); /* 0x2507EF07: pop edi */
   7665     esi = POP32_VAL(esp); /* 0x2507EF08: pop esi */
   7666     ebx = POP32_VAL(esp); /* 0x2507EF09: pop ebx */
   7667     ebp = POP32_VAL(esp); /* 0x2507EF0A: pop ebp */
   7668     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF0B: ret 4 */
   7669 L_2507EF0E:
   7670     ecx = esi; /* 0x2507EF0E: mov ecx, esi */
   7671     RECOMP_ICALL(0x2507F0D0u); /* 0x2507EF10: call 0x2507f0d0 */ /* not lifted */
   7672     RECOMP_FLAGS_IN();
   7673     /* test LO8(ebx), 1 */ /* 0x2507EF15: test bl, 1 */
   7674     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7675     _cf = 0;
   7676     _flag_k = FK_NARROW(FK_TEST, 24);
   7677     if (TEST_Z(_flag_a, _flag_b)) goto L_2507EF23; /* 0x2507EF18: je 0x2507ef23 */
   7678 L_2507EF1A:
   7679     PUSH32(esp, esi); /* 0x2507EF1A: push esi */
   7680     RECOMP_ICALL(0x25137EECu); /* 0x2507EF1B: call 0x25137eec */ /* not lifted */
   7681     RECOMP_FLAGS_IN();
   7682     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7683     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7684     esp = esp + 4; /* 0x2507EF20: add esp, 4 */
   7685     _flag_k = FK_ADD;
   7686 L_2507EF23:
   7687     eax = esi; /* 0x2507EF23: mov eax, esi */
   7688     esi = POP32_VAL(esp); /* 0x2507EF25: pop esi */
   7689     ebx = POP32_VAL(esp); /* 0x2507EF26: pop ebx */
   7690     ebp = POP32_VAL(esp); /* 0x2507EF27: pop ebp */
   7691     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507EF28: ret 4 */
   7692 L_25085BB0:
   7693     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   7694     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7695     ecx = ecx - 0x150u; /* 0x25085BB0: sub ecx, 0x150 */
   7696     _flag_k = FK_CMP;
   7697     RECOMP_BACKEDGE();
   7698     goto L_2507EED0; /* 0x25085BB6: jmp 0x2507eed0 */
   7699     { RECOMP_REGS_OUT(); return; } /* end of function */
   7700     RECOMP_REGS_OUT();
   7701 }
   7702 
   7703 void sub_25085BC0(void) {
   7704     int _fpu_cmp = 0;
   7705     uint32_t _cf = 0;
   7706     int _df = 1;
   7707     uint32_t _flag_k = FK_NONE;
   7708     uint32_t _flag_a = 0, _flag_b = 0;
   7709     uint32_t _itail_tgt = 0;
   7710     RECOMP_REGS_LOCALS
   7711     RECOMP_ENTER(0x25085BC0u);
   7712 
   7713     goto L_25085BC0;
   7714 L_250825C0:
   7715     PUSH32(esp, ebp); /* 0x250825C0: push ebp */
   7716     ebp = esp; /* 0x250825C1: mov ebp, esp */
   7717     PUSH32(esp, esi); /* 0x250825C3: push esi */
   7718     esi = ecx; /* 0x250825C4: mov esi, ecx */
   7719     RECOMP_ICALL(0x250825F0u); /* 0x250825C6: call 0x250825f0 */ /* not lifted */
   7720     RECOMP_FLAGS_IN();
   7721     /* test MEM8(ebp + 0x8), 1 */ /* 0x250825CB: test byte ptr [ebp + 8], 1 */
   7722     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   7723     _cf = 0;
   7724     _flag_k = FK_NARROW(FK_TEST, 24);
   7725     if (TEST_Z(_flag_a, _flag_b)) goto L_250825DA; /* 0x250825CF: je 0x250825da */
   7726 L_250825D1:
   7727     PUSH32(esp, esi); /* 0x250825D1: push esi */
   7728     RECOMP_ICALL(0x25137EECu); /* 0x250825D2: call 0x25137eec */ /* not lifted */
   7729     RECOMP_FLAGS_IN();
   7730     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7731     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7732     esp = esp + 4; /* 0x250825D7: add esp, 4 */
   7733     _flag_k = FK_ADD;
   7734 L_250825DA:
   7735     eax = esi; /* 0x250825DA: mov eax, esi */
   7736     esi = POP32_VAL(esp); /* 0x250825DC: pop esi */
   7737     ebp = POP32_VAL(esp); /* 0x250825DD: pop ebp */
   7738     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250825DE: ret 4 */
   7739 L_25085BC0:
   7740     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   7741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7742     ecx = ecx - 8; /* 0x25085BC0: sub ecx, 8 */
   7743     _flag_k = FK_CMP;
   7744     RECOMP_BACKEDGE();
   7745     goto L_250825C0; /* 0x25085BC3: jmp 0x250825c0 */
   7746     { RECOMP_REGS_OUT(); return; } /* end of function */
   7747     RECOMP_REGS_OUT();
   7748 }
   7749 
   7750 void sub_25085BD0(void) {
   7751     int _fpu_cmp = 0;
   7752     uint32_t _cf = 0;
   7753     int _df = 1;
   7754     uint32_t _flag_k = FK_NONE;
   7755     uint32_t _flag_a = 0, _flag_b = 0;
   7756     uint32_t _itail_tgt = 0;
   7757     RECOMP_REGS_LOCALS
   7758     RECOMP_ENTER(0x25085BD0u);
   7759 
   7760     goto L_25085BD0;
   7761 L_250825C0:
   7762     PUSH32(esp, ebp); /* 0x250825C0: push ebp */
   7763     ebp = esp; /* 0x250825C1: mov ebp, esp */
   7764     PUSH32(esp, esi); /* 0x250825C3: push esi */
   7765     esi = ecx; /* 0x250825C4: mov esi, ecx */
   7766     RECOMP_ICALL(0x250825F0u); /* 0x250825C6: call 0x250825f0 */ /* not lifted */
   7767     RECOMP_FLAGS_IN();
   7768     /* test MEM8(ebp + 0x8), 1 */ /* 0x250825CB: test byte ptr [ebp + 8], 1 */
   7769     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   7770     _cf = 0;
   7771     _flag_k = FK_NARROW(FK_TEST, 24);
   7772     if (TEST_Z(_flag_a, _flag_b)) goto L_250825DA; /* 0x250825CF: je 0x250825da */
   7773 L_250825D1:
   7774     PUSH32(esp, esi); /* 0x250825D1: push esi */
   7775     RECOMP_ICALL(0x25137EECu); /* 0x250825D2: call 0x25137eec */ /* not lifted */
   7776     RECOMP_FLAGS_IN();
   7777     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7778     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7779     esp = esp + 4; /* 0x250825D7: add esp, 4 */
   7780     _flag_k = FK_ADD;
   7781 L_250825DA:
   7782     eax = esi; /* 0x250825DA: mov eax, esi */
   7783     esi = POP32_VAL(esp); /* 0x250825DC: pop esi */
   7784     ebp = POP32_VAL(esp); /* 0x250825DD: pop ebp */
   7785     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250825DE: ret 4 */
   7786 L_25085BD0:
   7787     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   7788     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7789     ecx = ecx - 0x20u; /* 0x25085BD0: sub ecx, 0x20 */
   7790     _flag_k = FK_CMP;
   7791     RECOMP_BACKEDGE();
   7792     goto L_250825C0; /* 0x25085BD3: jmp 0x250825c0 */
   7793     { RECOMP_REGS_OUT(); return; } /* end of function */
   7794     RECOMP_REGS_OUT();
   7795 }
   7796 
   7797 void sub_25085BE0(void) {
   7798     int _fpu_cmp = 0;
   7799     uint32_t _cf = 0;
   7800     int _df = 1;
   7801     uint32_t _flag_k = FK_NONE;
   7802     uint32_t _flag_a = 0, _flag_b = 0;
   7803     uint32_t _itail_tgt = 0;
   7804     RECOMP_REGS_LOCALS
   7805     RECOMP_ENTER(0x25085BE0u);
   7806 
   7807     goto L_25085BE0;
   7808 L_250825C0:
   7809     PUSH32(esp, ebp); /* 0x250825C0: push ebp */
   7810     ebp = esp; /* 0x250825C1: mov ebp, esp */
   7811     PUSH32(esp, esi); /* 0x250825C3: push esi */
   7812     esi = ecx; /* 0x250825C4: mov esi, ecx */
   7813     RECOMP_ICALL(0x250825F0u); /* 0x250825C6: call 0x250825f0 */ /* not lifted */
   7814     RECOMP_FLAGS_IN();
   7815     /* test MEM8(ebp + 0x8), 1 */ /* 0x250825CB: test byte ptr [ebp + 8], 1 */
   7816     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   7817     _cf = 0;
   7818     _flag_k = FK_NARROW(FK_TEST, 24);
   7819     if (TEST_Z(_flag_a, _flag_b)) goto L_250825DA; /* 0x250825CF: je 0x250825da */
   7820 L_250825D1:
   7821     PUSH32(esp, esi); /* 0x250825D1: push esi */
   7822     RECOMP_ICALL(0x25137EECu); /* 0x250825D2: call 0x25137eec */ /* not lifted */
   7823     RECOMP_FLAGS_IN();
   7824     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7825     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7826     esp = esp + 4; /* 0x250825D7: add esp, 4 */
   7827     _flag_k = FK_ADD;
   7828 L_250825DA:
   7829     eax = esi; /* 0x250825DA: mov eax, esi */
   7830     esi = POP32_VAL(esp); /* 0x250825DC: pop esi */
   7831     ebp = POP32_VAL(esp); /* 0x250825DD: pop ebp */
   7832     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250825DE: ret 4 */
   7833 L_25085BE0:
   7834     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   7835     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7836     ecx = ecx - 0x38u; /* 0x25085BE0: sub ecx, 0x38 */
   7837     _flag_k = FK_CMP;
   7838     RECOMP_BACKEDGE();
   7839     goto L_250825C0; /* 0x25085BE3: jmp 0x250825c0 */
   7840     { RECOMP_REGS_OUT(); return; } /* end of function */
   7841     RECOMP_REGS_OUT();
   7842 }
   7843 
   7844 void sub_25085BF0(void) {
   7845     int _fpu_cmp = 0;
   7846     uint32_t _cf = 0;
   7847     int _df = 1;
   7848     uint32_t _flag_k = FK_NONE;
   7849     uint32_t _flag_a = 0, _flag_b = 0;
   7850     uint32_t _itail_tgt = 0;
   7851     RECOMP_REGS_LOCALS
   7852     RECOMP_ENTER(0x25085BF0u);
   7853 
   7854     goto L_25085BF0;
   7855 L_250825C0:
   7856     PUSH32(esp, ebp); /* 0x250825C0: push ebp */
   7857     ebp = esp; /* 0x250825C1: mov ebp, esp */
   7858     PUSH32(esp, esi); /* 0x250825C3: push esi */
   7859     esi = ecx; /* 0x250825C4: mov esi, ecx */
   7860     RECOMP_ICALL(0x250825F0u); /* 0x250825C6: call 0x250825f0 */ /* not lifted */
   7861     RECOMP_FLAGS_IN();
   7862     /* test MEM8(ebp + 0x8), 1 */ /* 0x250825CB: test byte ptr [ebp + 8], 1 */
   7863     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   7864     _cf = 0;
   7865     _flag_k = FK_NARROW(FK_TEST, 24);
   7866     if (TEST_Z(_flag_a, _flag_b)) goto L_250825DA; /* 0x250825CF: je 0x250825da */
   7867 L_250825D1:
   7868     PUSH32(esp, esi); /* 0x250825D1: push esi */
   7869     RECOMP_ICALL(0x25137EECu); /* 0x250825D2: call 0x25137eec */ /* not lifted */
   7870     RECOMP_FLAGS_IN();
   7871     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7872     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7873     esp = esp + 4; /* 0x250825D7: add esp, 4 */
   7874     _flag_k = FK_ADD;
   7875 L_250825DA:
   7876     eax = esi; /* 0x250825DA: mov eax, esi */
   7877     esi = POP32_VAL(esp); /* 0x250825DC: pop esi */
   7878     ebp = POP32_VAL(esp); /* 0x250825DD: pop ebp */
   7879     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250825DE: ret 4 */
   7880 L_25085BF0:
   7881     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   7882     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7883     ecx = ecx - 0x50u; /* 0x25085BF0: sub ecx, 0x50 */
   7884     _flag_k = FK_CMP;
   7885     RECOMP_BACKEDGE();
   7886     goto L_250825C0; /* 0x25085BF3: jmp 0x250825c0 */
   7887     { RECOMP_REGS_OUT(); return; } /* end of function */
   7888     RECOMP_REGS_OUT();
   7889 }
   7890 
   7891 void sub_25085C00(void) {
   7892     int _fpu_cmp = 0;
   7893     uint32_t _cf = 0;
   7894     int _df = 1;
   7895     uint32_t _flag_k = FK_NONE;
   7896     uint32_t _flag_a = 0, _flag_b = 0;
   7897     uint32_t _itail_tgt = 0;
   7898     RECOMP_REGS_LOCALS
   7899     RECOMP_ENTER(0x25085C00u);
   7900 
   7901     goto L_25085C00;
   7902 L_250825C0:
   7903     PUSH32(esp, ebp); /* 0x250825C0: push ebp */
   7904     ebp = esp; /* 0x250825C1: mov ebp, esp */
   7905     PUSH32(esp, esi); /* 0x250825C3: push esi */
   7906     esi = ecx; /* 0x250825C4: mov esi, ecx */
   7907     RECOMP_ICALL(0x250825F0u); /* 0x250825C6: call 0x250825f0 */ /* not lifted */
   7908     RECOMP_FLAGS_IN();
   7909     /* test MEM8(ebp + 0x8), 1 */ /* 0x250825CB: test byte ptr [ebp + 8], 1 */
   7910     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   7911     _cf = 0;
   7912     _flag_k = FK_NARROW(FK_TEST, 24);
   7913     if (TEST_Z(_flag_a, _flag_b)) goto L_250825DA; /* 0x250825CF: je 0x250825da */
   7914 L_250825D1:
   7915     PUSH32(esp, esi); /* 0x250825D1: push esi */
   7916     RECOMP_ICALL(0x25137EECu); /* 0x250825D2: call 0x25137eec */ /* not lifted */
   7917     RECOMP_FLAGS_IN();
   7918     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7919     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7920     esp = esp + 4; /* 0x250825D7: add esp, 4 */
   7921     _flag_k = FK_ADD;
   7922 L_250825DA:
   7923     eax = esi; /* 0x250825DA: mov eax, esi */
   7924     esi = POP32_VAL(esp); /* 0x250825DC: pop esi */
   7925     ebp = POP32_VAL(esp); /* 0x250825DD: pop ebp */
   7926     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250825DE: ret 4 */
   7927 L_25085C00:
   7928     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   7929     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7930     ecx = ecx - 0x138u; /* 0x25085C00: sub ecx, 0x138 */
   7931     _flag_k = FK_CMP;
   7932     RECOMP_BACKEDGE();
   7933     goto L_250825C0; /* 0x25085C06: jmp 0x250825c0 */
   7934     { RECOMP_REGS_OUT(); return; } /* end of function */
   7935     RECOMP_REGS_OUT();
   7936 }
   7937 
   7938 void sub_25085C10(void) {
   7939     int _fpu_cmp = 0;
   7940     uint32_t _cf = 0;
   7941     int _df = 1;
   7942     uint32_t _flag_k = FK_NONE;
   7943     uint32_t _flag_a = 0, _flag_b = 0;
   7944     uint32_t _itail_tgt = 0;
   7945     RECOMP_REGS_LOCALS
   7946     RECOMP_ENTER(0x25085C10u);
   7947 
   7948     goto L_25085C10;
   7949 L_250825C0:
   7950     PUSH32(esp, ebp); /* 0x250825C0: push ebp */
   7951     ebp = esp; /* 0x250825C1: mov ebp, esp */
   7952     PUSH32(esp, esi); /* 0x250825C3: push esi */
   7953     esi = ecx; /* 0x250825C4: mov esi, ecx */
   7954     RECOMP_ICALL(0x250825F0u); /* 0x250825C6: call 0x250825f0 */ /* not lifted */
   7955     RECOMP_FLAGS_IN();
   7956     /* test MEM8(ebp + 0x8), 1 */ /* 0x250825CB: test byte ptr [ebp + 8], 1 */
   7957     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   7958     _cf = 0;
   7959     _flag_k = FK_NARROW(FK_TEST, 24);
   7960     if (TEST_Z(_flag_a, _flag_b)) goto L_250825DA; /* 0x250825CF: je 0x250825da */
   7961 L_250825D1:
   7962     PUSH32(esp, esi); /* 0x250825D1: push esi */
   7963     RECOMP_ICALL(0x25137EECu); /* 0x250825D2: call 0x25137eec */ /* not lifted */
   7964     RECOMP_FLAGS_IN();
   7965     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7966     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7967     esp = esp + 4; /* 0x250825D7: add esp, 4 */
   7968     _flag_k = FK_ADD;
   7969 L_250825DA:
   7970     eax = esi; /* 0x250825DA: mov eax, esi */
   7971     esi = POP32_VAL(esp); /* 0x250825DC: pop esi */
   7972     ebp = POP32_VAL(esp); /* 0x250825DD: pop ebp */
   7973     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250825DE: ret 4 */
   7974 L_25085C10:
   7975     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   7976     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7977     ecx = ecx - 0x150u; /* 0x25085C10: sub ecx, 0x150 */
   7978     _flag_k = FK_CMP;
   7979     RECOMP_BACKEDGE();
   7980     goto L_250825C0; /* 0x25085C16: jmp 0x250825c0 */
   7981     { RECOMP_REGS_OUT(); return; } /* end of function */
   7982     RECOMP_REGS_OUT();
   7983 }
   7984 
   7985 void sub_25085C20(void) {
   7986     int _fpu_cmp = 0;
   7987     uint32_t _cf = 0;
   7988     int _df = 1;
   7989     uint32_t _flag_k = FK_NONE;
   7990     uint32_t _flag_a = 0, _flag_b = 0;
   7991     uint32_t _itail_tgt = 0;
   7992     RECOMP_REGS_LOCALS
   7993     RECOMP_ENTER(0x25085C20u);
   7994 
   7995     goto L_25085C20;
   7996 L_2507C500:
   7997     PUSH32(esp, ebp); /* 0x2507C500: push ebp */
   7998     ebp = esp; /* 0x2507C501: mov ebp, esp */
   7999     PUSH32(esp, ebx); /* 0x2507C503: push ebx */
   8000     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2507C504: mov bl, byte ptr [ebp + 8] */
   8001     /* test LO8(ebx), 2 */ /* 0x2507C507: test bl, 2 */
   8002     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   8003     _cf = 0;
   8004     _flag_k = FK_NARROW(FK_TEST, 24);
   8005     PUSH32(esp, esi); /* 0x2507C50A: push esi */
   8006     esi = ecx; /* 0x2507C50B: mov esi, ecx */
   8007     if (TEST_Z(_flag_a, _flag_b)) goto L_2507C53E; /* 0x2507C50D: je 0x2507c53e */
   8008 L_2507C50F:
   8009     eax = MEM32(esi + (-0x4)); /* 0x2507C50F: mov eax, dword ptr [esi - 4] */
   8010     PUSH32(esp, edi); /* 0x2507C512: push edi */
   8011     PUSH32(esp, 0x2507C720u); /* 0x2507C513: push 0x2507c720 */
   8012     edi = esi + (-0x4); /* 0x2507C518: lea edi, [esi - 4] */
   8013     PUSH32(esp, eax); /* 0x2507C51B: push eax */
   8014     PUSH32(esp, 0x230u); /* 0x2507C51C: push 0x230 */
   8015     PUSH32(esp, esi); /* 0x2507C521: push esi */
   8016     RECOMP_ICALL(0x25137F92u); /* 0x2507C522: call 0x25137f92 */ /* not lifted */
   8017     RECOMP_FLAGS_IN();
   8018     /* test LO8(ebx), 1 */ /* 0x2507C527: test bl, 1 */
   8019     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   8020     _cf = 0;
   8021     _flag_k = FK_NARROW(FK_TEST, 24);
   8022     if (TEST_Z(_flag_a, _flag_b)) goto L_2507C535; /* 0x2507C52A: je 0x2507c535 */
   8023 L_2507C52C:
   8024     PUSH32(esp, edi); /* 0x2507C52C: push edi */
   8025     RECOMP_ICALL(0x25137EECu); /* 0x2507C52D: call 0x25137eec */ /* not lifted */
   8026     RECOMP_FLAGS_IN();
   8027     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8028     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8029     esp = esp + 4; /* 0x2507C532: add esp, 4 */
   8030     _flag_k = FK_ADD;
   8031 L_2507C535:
   8032     eax = edi; /* 0x2507C535: mov eax, edi */
   8033     edi = POP32_VAL(esp); /* 0x2507C537: pop edi */
   8034     esi = POP32_VAL(esp); /* 0x2507C538: pop esi */
   8035     ebx = POP32_VAL(esp); /* 0x2507C539: pop ebx */
   8036     ebp = POP32_VAL(esp); /* 0x2507C53A: pop ebp */
   8037     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507C53B: ret 4 */
   8038 L_2507C53E:
   8039     ecx = esi; /* 0x2507C53E: mov ecx, esi */
   8040     RECOMP_ICALL(0x2507C720u); /* 0x2507C540: call 0x2507c720 */ /* not lifted */
   8041     RECOMP_FLAGS_IN();
   8042     /* test LO8(ebx), 1 */ /* 0x2507C545: test bl, 1 */
   8043     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   8044     _cf = 0;
   8045     _flag_k = FK_NARROW(FK_TEST, 24);
   8046     if (TEST_Z(_flag_a, _flag_b)) goto L_2507C553; /* 0x2507C548: je 0x2507c553 */
   8047 L_2507C54A:
   8048     PUSH32(esp, esi); /* 0x2507C54A: push esi */
   8049     RECOMP_ICALL(0x25137EECu); /* 0x2507C54B: call 0x25137eec */ /* not lifted */
   8050     RECOMP_FLAGS_IN();
   8051     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8052     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8053     esp = esp + 4; /* 0x2507C550: add esp, 4 */
   8054     _flag_k = FK_ADD;
   8055 L_2507C553:
   8056     eax = esi; /* 0x2507C553: mov eax, esi */
   8057     esi = POP32_VAL(esp); /* 0x2507C555: pop esi */
   8058     ebx = POP32_VAL(esp); /* 0x2507C556: pop ebx */
   8059     ebp = POP32_VAL(esp); /* 0x2507C557: pop ebp */
   8060     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2507C558: ret 4 */
   8061 L_25085C20:
   8062     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   8063     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8064     ecx = ecx - 8; /* 0x25085C20: sub ecx, 8 */
   8065     _flag_k = FK_CMP;
   8066     RECOMP_BACKEDGE();
   8067     goto L_2507C500; /* 0x25085C23: jmp 0x2507c500 */
   8068     { RECOMP_REGS_OUT(); return; } /* end of function */
   8069     RECOMP_REGS_OUT();
   8070 }