aorecomp

Anarchy Online classic in the browser

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


client/game/bbr.dll/lifted-0094.c (389457B)


      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_25148170(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(0x25148170u);
     17 
     18 L_25148170:
     19     ecx = ebp + (-0x54); /* 0x25148170: lea ecx, [ebp - 0x54] */
     20     goto L_25009BC0; /* 0x25148173: jmp 0x25009bc0 */
     21     { RECOMP_REGS_OUT(); return; } /* end of function */
     22     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
     23     RECOMP_REGS_OUT();
     24 }
     25 
     26 void sub_25148178(void) {
     27     int _fpu_cmp = 0;
     28     uint32_t _cf = 0;
     29     int _df = 1;
     30     uint32_t _flag_k = FK_NONE;
     31     uint32_t _flag_a = 0, _flag_b = 0;
     32     uint32_t _itail_tgt = 0;
     33     RECOMP_REGS_LOCALS
     34     RECOMP_ENTER(0x25148178u);
     35 
     36 L_25148178:
     37     ecx = ebp + (-0x48); /* 0x25148178: lea ecx, [ebp - 0x48] */
     38     goto L_25009BC0; /* 0x2514817B: jmp 0x25009bc0 */
     39     { RECOMP_REGS_OUT(); return; } /* end of function */
     40     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
     41     RECOMP_REGS_OUT();
     42 }
     43 
     44 void sub_25148180(void) {
     45     int _fpu_cmp = 0;
     46     uint32_t _cf = 0;
     47     int _df = 1;
     48     uint32_t _flag_k = FK_NONE;
     49     uint32_t _flag_a = 0, _flag_b = 0;
     50     uint32_t _itail_tgt = 0;
     51     RECOMP_REGS_LOCALS
     52     RECOMP_ENTER(0x25148180u);
     53 
     54 L_25148180:
     55     ecx = ebp + (-0x3C); /* 0x25148180: lea ecx, [ebp - 0x3c] */
     56     goto L_25009BC0; /* 0x25148183: jmp 0x25009bc0 */
     57     { RECOMP_REGS_OUT(); return; } /* end of function */
     58     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
     59     RECOMP_REGS_OUT();
     60 }
     61 
     62 void sub_25148188(void) {
     63     int _fpu_cmp = 0;
     64     uint32_t _cf = 0;
     65     int _df = 1;
     66     uint32_t _flag_k = FK_NONE;
     67     uint32_t _flag_a = 0, _flag_b = 0;
     68     uint32_t _itail_tgt = 0;
     69     RECOMP_REGS_LOCALS
     70     RECOMP_ENTER(0x25148188u);
     71 
     72 L_25148188:
     73     ecx = ebp + (-0x30); /* 0x25148188: lea ecx, [ebp - 0x30] */
     74     goto L_25009BC0; /* 0x2514818B: jmp 0x25009bc0 */
     75     { RECOMP_REGS_OUT(); return; } /* end of function */
     76     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
     77     RECOMP_REGS_OUT();
     78 }
     79 
     80 void sub_25148190(void) {
     81     int _fpu_cmp = 0;
     82     uint32_t _cf = 0;
     83     int _df = 1;
     84     uint32_t _flag_k = FK_NONE;
     85     uint32_t _flag_a = 0, _flag_b = 0;
     86     uint32_t _itail_tgt = 0;
     87     RECOMP_REGS_LOCALS
     88     RECOMP_ENTER(0x25148190u);
     89 
     90 L_25148190:
     91     ecx = ebp + (-0x24); /* 0x25148190: lea ecx, [ebp - 0x24] */
     92     goto L_25009BC0; /* 0x25148193: jmp 0x25009bc0 */
     93     { RECOMP_REGS_OUT(); return; } /* end of function */
     94     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
     95     RECOMP_REGS_OUT();
     96 }
     97 
     98 void sub_25148198(void) {
     99     int _fpu_cmp = 0;
    100     uint32_t _cf = 0;
    101     int _df = 1;
    102     uint32_t _flag_k = FK_NONE;
    103     uint32_t _flag_a = 0, _flag_b = 0;
    104     uint32_t _itail_tgt = 0;
    105     RECOMP_REGS_LOCALS
    106     RECOMP_ENTER(0x25148198u);
    107 
    108     goto L_25148198;
    109 L_251380C4:
    110     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    111 L_25148198:
    112     eax = 0x251686B0u; /* 0x25148198: mov eax, 0x251686b0 */
    113 L_2514819D:
    114     RECOMP_BACKEDGE();
    115     goto L_251380C4; /* 0x2514819D: jmp 0x251380c4 */
    116     { RECOMP_REGS_OUT(); return; } /* end of function */
    117   _ljump:
    118     switch (_itail_tgt) {
    119       case 0x251380C4u: goto L_251380C4;
    120       case 0x25148198u: goto L_25148198;
    121       case 0x2514819Du: goto L_2514819D;
    122       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    123     }
    124     RECOMP_REGS_OUT();
    125 }
    126 
    127 void sub_251481B0(void) {
    128     int _fpu_cmp = 0;
    129     uint32_t _cf = 0;
    130     int _df = 1;
    131     uint32_t _flag_k = FK_NONE;
    132     uint32_t _flag_a = 0, _flag_b = 0;
    133     uint32_t _itail_tgt = 0;
    134     RECOMP_REGS_LOCALS
    135     RECOMP_ENTER(0x251481B0u);
    136 
    137     goto L_251481B0;
    138 L_250DB0B0:
    139     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
    140     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
    141     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
    142     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
    143     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
    144     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
    145     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
    146     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    147     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    148     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
    149     _flag_k = FK_CMP;
    150     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
    151     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
    152     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
    153     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
    154     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
    155     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
    156     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
    157     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
    158     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
    159     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
    160     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
    161     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
    162     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
    163     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
    164     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    165     ebx = 0; /* 0x250DB111: xor ebx, ebx */
    166     _cf = 0;
    167     _flag_k = FK_TEST;
    168     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
    169     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
    170     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    171     _flag_k = FK_CMP;
    172     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
    173     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
    174 L_250DB11E:
    175     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
    176     RECOMP_FLAGS_IN();
    177 L_250DB123:
    178     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
    179     PUSH32(esp, eax); /* 0x250DB129: push eax */
    180     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
    181     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
    182     RECOMP_FLAGS_IN();
    183     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    184     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    185     esp = esp + 4; /* 0x250DB132: add esp, 4 */
    186     _flag_k = FK_ADD;
    187     eax = edi; /* 0x250DB135: mov eax, edi */
    188     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    189     _cf = (eax) != 0;
    190     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
    191     _flag_k = FK_CMP;
    192     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
    193       eax = _sc ? 0xFFFFFFFFu : 0;
    194       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    195       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    196     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
    197     eax = eax & esi; /* 0x250DB13B: and eax, esi */
    198     _cf = 0;
    199     _flag_k = FK_TEST;
    200     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
    201     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
    202     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
    203     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
    204     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
    205     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
    206     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
    207     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    208     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    209     _flag_k = FK_CMP;
    210     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
    211     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
    212     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
    213     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
    214     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
    215 L_250DB16C:
    216     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
    217     PUSH32(esp, eax); /* 0x250DB16F: push eax */
    218     ecx = esi; /* 0x250DB170: mov ecx, esi */
    219     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
    220     RECOMP_FLAGS_IN();
    221     ecx = eax; /* 0x250DB177: mov ecx, eax */
    222     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
    223     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
    224     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
    225     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    227     _flag_k = FK_CMP;
    228     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
    229     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
    230     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    232     _flag_k = FK_NARROW(FK_CMP, 24);
    233     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
    234 L_250DB187:
    235     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
    236     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
    237     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    238     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    239     _flag_k = FK_CMP;
    240     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
    241 L_250DB18F:
    242     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
    243     PUSH32(esp, edx); /* 0x250DB192: push edx */
    244     ecx = esi; /* 0x250DB193: mov ecx, esi */
    245     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
    246     RECOMP_FLAGS_IN();
    247     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
    248     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
    249     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
    250     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
    251     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
    252     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
    253     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
    254     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
    255     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
    256     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
    257     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
    258     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
    259     RECOMP_FLAGS_IN();
    260     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
    261 L_250DB1BE:
    262     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
    263     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
    264     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    265     _flag_k = FK_CMP;
    266     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
    267 L_250DB1C3:
    268     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
    269     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
    270     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
    271     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
    272     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
    273     RECOMP_FLAGS_IN();
    274     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
    275     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
    276     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
    277     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
    278     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
    279     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
    280     RECOMP_FLAGS_IN();
    281     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
    282     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
    283     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
    284     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    285     _flag_k = FK_CMP;
    286     RECOMP_BACKEDGE();
    287     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
    288 L_250DB1E6:
    289     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
    290     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
    291     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
    292     RECOMP_FLAGS_IN();
    293     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
    294     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
    295     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
    296     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
    297     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
    298     RECOMP_FLAGS_IN();
    299     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    300     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    301     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
    302     _flag_k = FK_ADD;
    303     eax = edi; /* 0x250DB201: mov eax, edi */
    304     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    305     _cf = (eax) != 0;
    306     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
    307     _flag_k = FK_CMP;
    308     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
    309       eax = _sc ? 0xFFFFFFFFu : 0;
    310       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    311       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    312     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
    313     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
    314     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    315     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
    316     _cf = 0;
    317     _flag_k = FK_TEST;
    318     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
    319     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
    320     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
    321     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
    322     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    323     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    324     _flag_k = FK_CMP;
    325     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
    326     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
    327     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
    328     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
    329     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
    330 L_250DB22E:
    331     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
    332     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
    333     ecx = esi; /* 0x250DB232: mov ecx, esi */
    334     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
    335     RECOMP_FLAGS_IN();
    336     edx = eax; /* 0x250DB239: mov edx, eax */
    337     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
    338     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
    339     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
    340     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    341     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    342     _flag_k = FK_CMP;
    343     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
    344     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
    345     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    346     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    347     _flag_k = FK_NARROW(FK_CMP, 24);
    348     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
    349 L_250DB249:
    350     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
    351     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
    352     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
    353     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    354     _flag_k = FK_CMP;
    355     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
    356 L_250DB251:
    357     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
    358     PUSH32(esp, eax); /* 0x250DB254: push eax */
    359     ecx = esi; /* 0x250DB255: mov ecx, esi */
    360     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
    361     RECOMP_FLAGS_IN();
    362     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
    363     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
    364     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
    365     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
    366     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
    367     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
    368     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
    369     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
    370     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
    371     PUSH32(esp, eax); /* 0x250DB276: push eax */
    372     ecx = esi; /* 0x250DB277: mov ecx, esi */
    373     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
    374     RECOMP_FLAGS_IN();
    375     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
    376 L_250DB280:
    377     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
    378     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
    379     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    380     _flag_k = FK_CMP;
    381     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
    382 L_250DB285:
    383     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
    384     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
    385     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
    386     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
    387     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
    388     RECOMP_FLAGS_IN();
    389     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
    390     PUSH32(esp, edx); /* 0x250DB294: push edx */
    391     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
    392     PUSH32(esp, eax); /* 0x250DB298: push eax */
    393     ecx = esi; /* 0x250DB299: mov ecx, esi */
    394     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
    395     RECOMP_FLAGS_IN();
    396     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
    397     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
    398     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    399     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    400     _flag_k = FK_CMP;
    401     RECOMP_BACKEDGE();
    402     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
    403 L_250DB2A8:
    404     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
    405     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
    406     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
    407     RECOMP_FLAGS_IN();
    408     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
    409     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
    410     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
    411     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
    412     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
    413     RECOMP_FLAGS_IN();
    414     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    415     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    416     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
    417     _flag_k = FK_ADD;
    418     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
    419     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
    420     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
    421     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
    422     RECOMP_FLAGS_IN();
    423     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
    424     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
    425     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
    426     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
    427     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
    428     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
    429     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
    430     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
    431 L_251481B0:
    432     ecx = MEM32(ebp + (-0x10)); /* 0x251481B0: mov ecx, dword ptr [ebp - 0x10] */
    433     RECOMP_BACKEDGE();
    434     goto L_250DB0B0; /* 0x251481B3: jmp 0x250db0b0 */
    435     { RECOMP_REGS_OUT(); return; } /* end of function */
    436     RECOMP_REGS_OUT();
    437 }
    438 
    439 void sub_251481B8(void) {
    440     int _fpu_cmp = 0;
    441     uint32_t _cf = 0;
    442     int _df = 1;
    443     uint32_t _flag_k = FK_NONE;
    444     uint32_t _flag_a = 0, _flag_b = 0;
    445     uint32_t _itail_tgt = 0;
    446     RECOMP_REGS_LOCALS
    447     RECOMP_ENTER(0x251481B8u);
    448 
    449 L_251481B8:
    450     eax = MEM32(ebp + 0x8); /* 0x251481B8: mov eax, dword ptr [ebp + 8] */
    451     PUSH32(esp, eax); /* 0x251481BB: push eax */
    452     RECOMP_ICALL(0x25137EECu); /* 0x251481BC: call 0x25137eec */ /* not lifted */
    453     RECOMP_FLAGS_IN();
    454     ecx = POP32_VAL(esp); /* 0x251481C1: pop ecx */
    455     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251481C2: ret  */
    456     RECOMP_REGS_OUT();
    457 }
    458 
    459 void sub_251481C3(void) {
    460     int _fpu_cmp = 0;
    461     uint32_t _cf = 0;
    462     int _df = 1;
    463     uint32_t _flag_k = FK_NONE;
    464     uint32_t _flag_a = 0, _flag_b = 0;
    465     uint32_t _itail_tgt = 0;
    466     RECOMP_REGS_LOCALS
    467     RECOMP_ENTER(0x251481C3u);
    468 
    469 L_251481C3:
    470     ecx = MEM32(ebp + (-0x10)); /* 0x251481C3: mov ecx, dword ptr [ebp - 0x10] */
    471     goto L_2501C660; /* 0x251481C6: jmp 0x2501c660 */
    472     { RECOMP_REGS_OUT(); return; } /* end of function */
    473     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
    474     RECOMP_REGS_OUT();
    475 }
    476 
    477 void sub_251481CB(void) {
    478     int _fpu_cmp = 0;
    479     uint32_t _cf = 0;
    480     int _df = 1;
    481     uint32_t _flag_k = FK_NONE;
    482     uint32_t _flag_a = 0, _flag_b = 0;
    483     uint32_t _itail_tgt = 0;
    484     RECOMP_REGS_LOCALS
    485     RECOMP_ENTER(0x251481CBu);
    486 
    487     goto L_251481CB;
    488 L_251380C4:
    489     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    490 L_251481CB:
    491     eax = 0x25168708u; /* 0x251481CB: mov eax, 0x25168708 */
    492 L_251481D0:
    493     RECOMP_BACKEDGE();
    494     goto L_251380C4; /* 0x251481D0: jmp 0x251380c4 */
    495     { RECOMP_REGS_OUT(); return; } /* end of function */
    496   _ljump:
    497     switch (_itail_tgt) {
    498       case 0x251380C4u: goto L_251380C4;
    499       case 0x251481CBu: goto L_251481CB;
    500       case 0x251481D0u: goto L_251481D0;
    501       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    502     }
    503     RECOMP_REGS_OUT();
    504 }
    505 
    506 void sub_251481E0(void) {
    507     int _fpu_cmp = 0;
    508     uint32_t _cf = 0;
    509     int _df = 1;
    510     uint32_t _flag_k = FK_NONE;
    511     uint32_t _flag_a = 0, _flag_b = 0;
    512     uint32_t _itail_tgt = 0;
    513     RECOMP_REGS_LOCALS
    514     RECOMP_ENTER(0x251481E0u);
    515 
    516     goto L_251481E0;
    517 L_250DB0B0:
    518     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
    519     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
    520     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
    521     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
    522     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
    523     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
    524     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
    525     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    526     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    527     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
    528     _flag_k = FK_CMP;
    529     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
    530     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
    531     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
    532     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
    533     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
    534     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
    535     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
    536     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
    537     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
    538     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
    539     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
    540     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
    541     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
    542     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
    543     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    544     ebx = 0; /* 0x250DB111: xor ebx, ebx */
    545     _cf = 0;
    546     _flag_k = FK_TEST;
    547     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
    548     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
    549     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    550     _flag_k = FK_CMP;
    551     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
    552     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
    553 L_250DB11E:
    554     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
    555     RECOMP_FLAGS_IN();
    556 L_250DB123:
    557     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
    558     PUSH32(esp, eax); /* 0x250DB129: push eax */
    559     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
    560     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
    561     RECOMP_FLAGS_IN();
    562     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    563     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    564     esp = esp + 4; /* 0x250DB132: add esp, 4 */
    565     _flag_k = FK_ADD;
    566     eax = edi; /* 0x250DB135: mov eax, edi */
    567     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    568     _cf = (eax) != 0;
    569     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
    570     _flag_k = FK_CMP;
    571     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
    572       eax = _sc ? 0xFFFFFFFFu : 0;
    573       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    574       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    575     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
    576     eax = eax & esi; /* 0x250DB13B: and eax, esi */
    577     _cf = 0;
    578     _flag_k = FK_TEST;
    579     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
    580     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
    581     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
    582     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
    583     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
    584     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
    585     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
    586     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    588     _flag_k = FK_CMP;
    589     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
    590     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
    591     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
    592     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
    593     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
    594 L_250DB16C:
    595     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
    596     PUSH32(esp, eax); /* 0x250DB16F: push eax */
    597     ecx = esi; /* 0x250DB170: mov ecx, esi */
    598     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
    599     RECOMP_FLAGS_IN();
    600     ecx = eax; /* 0x250DB177: mov ecx, eax */
    601     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
    602     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
    603     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
    604     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    605     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    606     _flag_k = FK_CMP;
    607     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
    608     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
    609     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    610     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    611     _flag_k = FK_NARROW(FK_CMP, 24);
    612     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
    613 L_250DB187:
    614     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
    615     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
    616     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    617     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    618     _flag_k = FK_CMP;
    619     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
    620 L_250DB18F:
    621     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
    622     PUSH32(esp, edx); /* 0x250DB192: push edx */
    623     ecx = esi; /* 0x250DB193: mov ecx, esi */
    624     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
    625     RECOMP_FLAGS_IN();
    626     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
    627     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
    628     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
    629     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
    630     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
    631     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
    632     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
    633     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
    634     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
    635     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
    636     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
    637     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
    638     RECOMP_FLAGS_IN();
    639     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
    640 L_250DB1BE:
    641     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
    642     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
    643     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    644     _flag_k = FK_CMP;
    645     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
    646 L_250DB1C3:
    647     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
    648     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
    649     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
    650     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
    651     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
    652     RECOMP_FLAGS_IN();
    653     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
    654     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
    655     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
    656     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
    657     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
    658     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
    659     RECOMP_FLAGS_IN();
    660     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
    661     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
    662     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
    663     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    664     _flag_k = FK_CMP;
    665     RECOMP_BACKEDGE();
    666     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
    667 L_250DB1E6:
    668     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
    669     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
    670     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
    671     RECOMP_FLAGS_IN();
    672     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
    673     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
    674     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
    675     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
    676     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
    677     RECOMP_FLAGS_IN();
    678     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    679     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    680     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
    681     _flag_k = FK_ADD;
    682     eax = edi; /* 0x250DB201: mov eax, edi */
    683     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    684     _cf = (eax) != 0;
    685     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
    686     _flag_k = FK_CMP;
    687     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
    688       eax = _sc ? 0xFFFFFFFFu : 0;
    689       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    690       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    691     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
    692     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
    693     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    694     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
    695     _cf = 0;
    696     _flag_k = FK_TEST;
    697     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
    698     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
    699     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
    700     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
    701     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    702     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    703     _flag_k = FK_CMP;
    704     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
    705     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
    706     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
    707     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
    708     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
    709 L_250DB22E:
    710     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
    711     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
    712     ecx = esi; /* 0x250DB232: mov ecx, esi */
    713     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
    714     RECOMP_FLAGS_IN();
    715     edx = eax; /* 0x250DB239: mov edx, eax */
    716     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
    717     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
    718     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
    719     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    720     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    721     _flag_k = FK_CMP;
    722     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
    723     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
    724     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    725     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    726     _flag_k = FK_NARROW(FK_CMP, 24);
    727     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
    728 L_250DB249:
    729     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
    730     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
    731     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
    732     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    733     _flag_k = FK_CMP;
    734     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
    735 L_250DB251:
    736     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
    737     PUSH32(esp, eax); /* 0x250DB254: push eax */
    738     ecx = esi; /* 0x250DB255: mov ecx, esi */
    739     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
    740     RECOMP_FLAGS_IN();
    741     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
    742     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
    743     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
    744     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
    745     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
    746     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
    747     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
    748     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
    749     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
    750     PUSH32(esp, eax); /* 0x250DB276: push eax */
    751     ecx = esi; /* 0x250DB277: mov ecx, esi */
    752     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
    753     RECOMP_FLAGS_IN();
    754     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
    755 L_250DB280:
    756     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
    757     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
    758     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    759     _flag_k = FK_CMP;
    760     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
    761 L_250DB285:
    762     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
    763     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
    764     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
    765     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
    766     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
    767     RECOMP_FLAGS_IN();
    768     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
    769     PUSH32(esp, edx); /* 0x250DB294: push edx */
    770     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
    771     PUSH32(esp, eax); /* 0x250DB298: push eax */
    772     ecx = esi; /* 0x250DB299: mov ecx, esi */
    773     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
    774     RECOMP_FLAGS_IN();
    775     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
    776     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
    777     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    778     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    779     _flag_k = FK_CMP;
    780     RECOMP_BACKEDGE();
    781     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
    782 L_250DB2A8:
    783     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
    784     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
    785     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
    786     RECOMP_FLAGS_IN();
    787     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
    788     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
    789     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
    790     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
    791     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
    792     RECOMP_FLAGS_IN();
    793     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    794     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    795     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
    796     _flag_k = FK_ADD;
    797     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
    798     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
    799     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
    800     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
    801     RECOMP_FLAGS_IN();
    802     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
    803     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
    804     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
    805     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
    806     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
    807     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
    808     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
    809     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
    810 L_251481E0:
    811     ecx = MEM32(ebp + (-0x10)); /* 0x251481E0: mov ecx, dword ptr [ebp - 0x10] */
    812     RECOMP_BACKEDGE();
    813     goto L_250DB0B0; /* 0x251481E3: jmp 0x250db0b0 */
    814     { RECOMP_REGS_OUT(); return; } /* end of function */
    815     RECOMP_REGS_OUT();
    816 }
    817 
    818 void sub_251481E8(void) {
    819     int _fpu_cmp = 0;
    820     uint32_t _cf = 0;
    821     int _df = 1;
    822     uint32_t _flag_k = FK_NONE;
    823     uint32_t _flag_a = 0, _flag_b = 0;
    824     uint32_t _itail_tgt = 0;
    825     RECOMP_REGS_LOCALS
    826     RECOMP_ENTER(0x251481E8u);
    827 
    828     goto L_251481E8;
    829 L_251380C4:
    830     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    831 L_251481E8:
    832     eax = 0x25168740u; /* 0x251481E8: mov eax, 0x25168740 */
    833 L_251481ED:
    834     RECOMP_BACKEDGE();
    835     goto L_251380C4; /* 0x251481ED: jmp 0x251380c4 */
    836     { RECOMP_REGS_OUT(); return; } /* end of function */
    837   _ljump:
    838     switch (_itail_tgt) {
    839       case 0x251380C4u: goto L_251380C4;
    840       case 0x251481E8u: goto L_251481E8;
    841       case 0x251481EDu: goto L_251481ED;
    842       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    843     }
    844     RECOMP_REGS_OUT();
    845 }
    846 
    847 void sub_25148200(void) {
    848     int _fpu_cmp = 0;
    849     uint32_t _cf = 0;
    850     int _df = 1;
    851     uint32_t _flag_k = FK_NONE;
    852     uint32_t _flag_a = 0, _flag_b = 0;
    853     uint32_t _itail_tgt = 0;
    854     RECOMP_REGS_LOCALS
    855     RECOMP_ENTER(0x25148200u);
    856 
    857     goto L_25148200;
    858 L_250DB0B0:
    859     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
    860     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
    861     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
    862     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
    863     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
    864     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
    865     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
    866     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    867     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    868     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
    869     _flag_k = FK_CMP;
    870     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
    871     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
    872     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
    873     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
    874     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
    875     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
    876     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
    877     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
    878     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
    879     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
    880     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
    881     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
    882     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
    883     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
    884     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    885     ebx = 0; /* 0x250DB111: xor ebx, ebx */
    886     _cf = 0;
    887     _flag_k = FK_TEST;
    888     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
    889     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
    890     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    891     _flag_k = FK_CMP;
    892     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
    893     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
    894 L_250DB11E:
    895     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
    896     RECOMP_FLAGS_IN();
    897 L_250DB123:
    898     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
    899     PUSH32(esp, eax); /* 0x250DB129: push eax */
    900     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
    901     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
    902     RECOMP_FLAGS_IN();
    903     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    904     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    905     esp = esp + 4; /* 0x250DB132: add esp, 4 */
    906     _flag_k = FK_ADD;
    907     eax = edi; /* 0x250DB135: mov eax, edi */
    908     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    909     _cf = (eax) != 0;
    910     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
    911     _flag_k = FK_CMP;
    912     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
    913       eax = _sc ? 0xFFFFFFFFu : 0;
    914       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    915       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    916     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
    917     eax = eax & esi; /* 0x250DB13B: and eax, esi */
    918     _cf = 0;
    919     _flag_k = FK_TEST;
    920     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
    921     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
    922     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
    923     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
    924     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
    925     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
    926     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
    927     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    928     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    929     _flag_k = FK_CMP;
    930     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
    931     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
    932     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
    933     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
    934     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
    935 L_250DB16C:
    936     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
    937     PUSH32(esp, eax); /* 0x250DB16F: push eax */
    938     ecx = esi; /* 0x250DB170: mov ecx, esi */
    939     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
    940     RECOMP_FLAGS_IN();
    941     ecx = eax; /* 0x250DB177: mov ecx, eax */
    942     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
    943     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
    944     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
    945     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    946     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    947     _flag_k = FK_CMP;
    948     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
    949     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
    950     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    951     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    952     _flag_k = FK_NARROW(FK_CMP, 24);
    953     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
    954 L_250DB187:
    955     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
    956     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
    957     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    958     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    959     _flag_k = FK_CMP;
    960     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
    961 L_250DB18F:
    962     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
    963     PUSH32(esp, edx); /* 0x250DB192: push edx */
    964     ecx = esi; /* 0x250DB193: mov ecx, esi */
    965     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
    966     RECOMP_FLAGS_IN();
    967     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
    968     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
    969     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
    970     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
    971     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
    972     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
    973     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
    974     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
    975     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
    976     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
    977     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
    978     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
    979     RECOMP_FLAGS_IN();
    980     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
    981 L_250DB1BE:
    982     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
    983     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
    984     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    985     _flag_k = FK_CMP;
    986     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
    987 L_250DB1C3:
    988     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
    989     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
    990     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
    991     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
    992     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
    993     RECOMP_FLAGS_IN();
    994     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
    995     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
    996     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
    997     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
    998     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
    999     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   1000     RECOMP_FLAGS_IN();
   1001     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   1002     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   1003     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   1004     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1005     _flag_k = FK_CMP;
   1006     RECOMP_BACKEDGE();
   1007     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   1008 L_250DB1E6:
   1009     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   1010     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   1011     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   1012     RECOMP_FLAGS_IN();
   1013     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   1014     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   1015     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   1016     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   1017     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   1018     RECOMP_FLAGS_IN();
   1019     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1020     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1021     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   1022     _flag_k = FK_ADD;
   1023     eax = edi; /* 0x250DB201: mov eax, edi */
   1024     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1025     _cf = (eax) != 0;
   1026     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   1027     _flag_k = FK_CMP;
   1028     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   1029       eax = _sc ? 0xFFFFFFFFu : 0;
   1030       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1031       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1032     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   1033     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   1034     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1035     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   1036     _cf = 0;
   1037     _flag_k = FK_TEST;
   1038     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   1039     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   1040     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   1041     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   1042     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1043     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1044     _flag_k = FK_CMP;
   1045     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   1046     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   1047     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   1048     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   1049     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   1050 L_250DB22E:
   1051     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   1052     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   1053     ecx = esi; /* 0x250DB232: mov ecx, esi */
   1054     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   1055     RECOMP_FLAGS_IN();
   1056     edx = eax; /* 0x250DB239: mov edx, eax */
   1057     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   1058     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   1059     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   1060     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1061     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1062     _flag_k = FK_CMP;
   1063     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   1064     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   1065     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1066     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1067     _flag_k = FK_NARROW(FK_CMP, 24);
   1068     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   1069 L_250DB249:
   1070     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   1071     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   1072     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   1073     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1074     _flag_k = FK_CMP;
   1075     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   1076 L_250DB251:
   1077     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   1078     PUSH32(esp, eax); /* 0x250DB254: push eax */
   1079     ecx = esi; /* 0x250DB255: mov ecx, esi */
   1080     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   1081     RECOMP_FLAGS_IN();
   1082     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   1083     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   1084     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   1085     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   1086     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   1087     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   1088     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   1089     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   1090     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   1091     PUSH32(esp, eax); /* 0x250DB276: push eax */
   1092     ecx = esi; /* 0x250DB277: mov ecx, esi */
   1093     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   1094     RECOMP_FLAGS_IN();
   1095     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   1096 L_250DB280:
   1097     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   1098     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   1099     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1100     _flag_k = FK_CMP;
   1101     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   1102 L_250DB285:
   1103     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   1104     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   1105     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   1106     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   1107     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   1108     RECOMP_FLAGS_IN();
   1109     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   1110     PUSH32(esp, edx); /* 0x250DB294: push edx */
   1111     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   1112     PUSH32(esp, eax); /* 0x250DB298: push eax */
   1113     ecx = esi; /* 0x250DB299: mov ecx, esi */
   1114     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   1115     RECOMP_FLAGS_IN();
   1116     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   1117     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   1118     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1119     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1120     _flag_k = FK_CMP;
   1121     RECOMP_BACKEDGE();
   1122     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   1123 L_250DB2A8:
   1124     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   1125     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   1126     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   1127     RECOMP_FLAGS_IN();
   1128     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   1129     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   1130     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   1131     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   1132     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   1133     RECOMP_FLAGS_IN();
   1134     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1135     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1136     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   1137     _flag_k = FK_ADD;
   1138     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   1139     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   1140     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   1141     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   1142     RECOMP_FLAGS_IN();
   1143     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   1144     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   1145     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   1146     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   1147     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   1148     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   1149     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   1150     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   1151 L_25148200:
   1152     ecx = MEM32(ebp + (-0x10)); /* 0x25148200: mov ecx, dword ptr [ebp - 0x10] */
   1153     RECOMP_BACKEDGE();
   1154     goto L_250DB0B0; /* 0x25148203: jmp 0x250db0b0 */
   1155     { RECOMP_REGS_OUT(); return; } /* end of function */
   1156     RECOMP_REGS_OUT();
   1157 }
   1158 
   1159 void sub_25148208(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(0x25148208u);
   1168 
   1169 L_25148208:
   1170     eax = MEM32(ebp + 0x8); /* 0x25148208: mov eax, dword ptr [ebp + 8] */
   1171     PUSH32(esp, eax); /* 0x2514820B: push eax */
   1172     RECOMP_ICALL(0x25137EECu); /* 0x2514820C: call 0x25137eec */ /* not lifted */
   1173     RECOMP_FLAGS_IN();
   1174     ecx = POP32_VAL(esp); /* 0x25148211: pop ecx */
   1175     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148212: ret  */
   1176     RECOMP_REGS_OUT();
   1177 }
   1178 
   1179 void sub_25148213(void) {
   1180     int _fpu_cmp = 0;
   1181     uint32_t _cf = 0;
   1182     int _df = 1;
   1183     uint32_t _flag_k = FK_NONE;
   1184     uint32_t _flag_a = 0, _flag_b = 0;
   1185     uint32_t _itail_tgt = 0;
   1186     RECOMP_REGS_LOCALS
   1187     RECOMP_ENTER(0x25148213u);
   1188 
   1189 L_25148213:
   1190     ecx = MEM32(ebp + (-0x10)); /* 0x25148213: mov ecx, dword ptr [ebp - 0x10] */
   1191     goto L_2501C660; /* 0x25148216: jmp 0x2501c660 */
   1192     { RECOMP_REGS_OUT(); return; } /* end of function */
   1193     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   1194     RECOMP_REGS_OUT();
   1195 }
   1196 
   1197 void sub_2514821B(void) {
   1198     int _fpu_cmp = 0;
   1199     uint32_t _cf = 0;
   1200     int _df = 1;
   1201     uint32_t _flag_k = FK_NONE;
   1202     uint32_t _flag_a = 0, _flag_b = 0;
   1203     uint32_t _itail_tgt = 0;
   1204     RECOMP_REGS_LOCALS
   1205     RECOMP_ENTER(0x2514821Bu);
   1206 
   1207     goto L_2514821B;
   1208 L_251380C4:
   1209     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1210 L_2514821B:
   1211     eax = 0x25168768u; /* 0x2514821B: mov eax, 0x25168768 */
   1212 L_25148220:
   1213     RECOMP_BACKEDGE();
   1214     goto L_251380C4; /* 0x25148220: jmp 0x251380c4 */
   1215     { RECOMP_REGS_OUT(); return; } /* end of function */
   1216   _ljump:
   1217     switch (_itail_tgt) {
   1218       case 0x251380C4u: goto L_251380C4;
   1219       case 0x2514821Bu: goto L_2514821B;
   1220       case 0x25148220u: goto L_25148220;
   1221       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1222     }
   1223     RECOMP_REGS_OUT();
   1224 }
   1225 
   1226 void sub_25148230(void) {
   1227     int _fpu_cmp = 0;
   1228     uint32_t _cf = 0;
   1229     int _df = 1;
   1230     uint32_t _flag_k = FK_NONE;
   1231     uint32_t _flag_a = 0, _flag_b = 0;
   1232     uint32_t _itail_tgt = 0;
   1233     RECOMP_REGS_LOCALS
   1234     RECOMP_ENTER(0x25148230u);
   1235 
   1236     goto L_25148230;
   1237 L_250DB0B0:
   1238     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   1239     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   1240     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   1241     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   1242     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   1243     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   1244     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   1245     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   1246     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1247     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   1248     _flag_k = FK_CMP;
   1249     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   1250     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   1251     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   1252     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   1253     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   1254     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   1255     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   1256     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   1257     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   1258     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   1259     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   1260     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   1261     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   1262     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   1263     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1264     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   1265     _cf = 0;
   1266     _flag_k = FK_TEST;
   1267     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   1268     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1269     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1270     _flag_k = FK_CMP;
   1271     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   1272     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   1273 L_250DB11E:
   1274     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   1275     RECOMP_FLAGS_IN();
   1276 L_250DB123:
   1277     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   1278     PUSH32(esp, eax); /* 0x250DB129: push eax */
   1279     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   1280     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   1281     RECOMP_FLAGS_IN();
   1282     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1283     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1284     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   1285     _flag_k = FK_ADD;
   1286     eax = edi; /* 0x250DB135: mov eax, edi */
   1287     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1288     _cf = (eax) != 0;
   1289     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   1290     _flag_k = FK_CMP;
   1291     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   1292       eax = _sc ? 0xFFFFFFFFu : 0;
   1293       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1294       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1295     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   1296     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   1297     _cf = 0;
   1298     _flag_k = FK_TEST;
   1299     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   1300     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   1301     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   1302     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   1303     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   1304     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   1305     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   1306     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1307     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1308     _flag_k = FK_CMP;
   1309     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   1310     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   1311     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   1312     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   1313     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   1314 L_250DB16C:
   1315     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   1316     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   1317     ecx = esi; /* 0x250DB170: mov ecx, esi */
   1318     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   1319     RECOMP_FLAGS_IN();
   1320     ecx = eax; /* 0x250DB177: mov ecx, eax */
   1321     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   1322     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   1323     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   1324     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1325     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1326     _flag_k = FK_CMP;
   1327     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   1328     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   1329     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1331     _flag_k = FK_NARROW(FK_CMP, 24);
   1332     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   1333 L_250DB187:
   1334     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   1335     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   1336     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1338     _flag_k = FK_CMP;
   1339     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   1340 L_250DB18F:
   1341     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   1342     PUSH32(esp, edx); /* 0x250DB192: push edx */
   1343     ecx = esi; /* 0x250DB193: mov ecx, esi */
   1344     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   1345     RECOMP_FLAGS_IN();
   1346     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   1347     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   1348     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   1349     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   1350     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   1351     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   1352     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   1353     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   1354     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   1355     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   1356     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   1357     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   1358     RECOMP_FLAGS_IN();
   1359     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   1360 L_250DB1BE:
   1361     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   1362     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   1363     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1364     _flag_k = FK_CMP;
   1365     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   1366 L_250DB1C3:
   1367     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   1368     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   1369     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   1370     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   1371     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   1372     RECOMP_FLAGS_IN();
   1373     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   1374     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   1375     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   1376     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   1377     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   1378     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   1379     RECOMP_FLAGS_IN();
   1380     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   1381     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   1382     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   1383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1384     _flag_k = FK_CMP;
   1385     RECOMP_BACKEDGE();
   1386     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   1387 L_250DB1E6:
   1388     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   1389     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   1390     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   1391     RECOMP_FLAGS_IN();
   1392     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   1393     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   1394     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   1395     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   1396     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   1397     RECOMP_FLAGS_IN();
   1398     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1399     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1400     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   1401     _flag_k = FK_ADD;
   1402     eax = edi; /* 0x250DB201: mov eax, edi */
   1403     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1404     _cf = (eax) != 0;
   1405     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   1406     _flag_k = FK_CMP;
   1407     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   1408       eax = _sc ? 0xFFFFFFFFu : 0;
   1409       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1410       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1411     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   1412     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   1413     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1414     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   1415     _cf = 0;
   1416     _flag_k = FK_TEST;
   1417     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   1418     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   1419     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   1420     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   1421     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1423     _flag_k = FK_CMP;
   1424     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   1425     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   1426     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   1427     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   1428     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   1429 L_250DB22E:
   1430     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   1431     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   1432     ecx = esi; /* 0x250DB232: mov ecx, esi */
   1433     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   1434     RECOMP_FLAGS_IN();
   1435     edx = eax; /* 0x250DB239: mov edx, eax */
   1436     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   1437     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   1438     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   1439     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1440     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1441     _flag_k = FK_CMP;
   1442     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   1443     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   1444     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1445     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1446     _flag_k = FK_NARROW(FK_CMP, 24);
   1447     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   1448 L_250DB249:
   1449     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   1450     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   1451     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   1452     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1453     _flag_k = FK_CMP;
   1454     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   1455 L_250DB251:
   1456     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   1457     PUSH32(esp, eax); /* 0x250DB254: push eax */
   1458     ecx = esi; /* 0x250DB255: mov ecx, esi */
   1459     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   1460     RECOMP_FLAGS_IN();
   1461     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   1462     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   1463     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   1464     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   1465     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   1466     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   1467     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   1468     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   1469     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   1470     PUSH32(esp, eax); /* 0x250DB276: push eax */
   1471     ecx = esi; /* 0x250DB277: mov ecx, esi */
   1472     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   1473     RECOMP_FLAGS_IN();
   1474     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   1475 L_250DB280:
   1476     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   1477     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   1478     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1479     _flag_k = FK_CMP;
   1480     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   1481 L_250DB285:
   1482     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   1483     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   1484     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   1485     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   1486     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   1487     RECOMP_FLAGS_IN();
   1488     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   1489     PUSH32(esp, edx); /* 0x250DB294: push edx */
   1490     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   1491     PUSH32(esp, eax); /* 0x250DB298: push eax */
   1492     ecx = esi; /* 0x250DB299: mov ecx, esi */
   1493     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   1494     RECOMP_FLAGS_IN();
   1495     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   1496     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   1497     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1498     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1499     _flag_k = FK_CMP;
   1500     RECOMP_BACKEDGE();
   1501     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   1502 L_250DB2A8:
   1503     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   1504     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   1505     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   1506     RECOMP_FLAGS_IN();
   1507     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   1508     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   1509     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   1510     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   1511     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   1512     RECOMP_FLAGS_IN();
   1513     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1514     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1515     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   1516     _flag_k = FK_ADD;
   1517     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   1518     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   1519     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   1520     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   1521     RECOMP_FLAGS_IN();
   1522     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   1523     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   1524     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   1525     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   1526     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   1527     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   1528     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   1529     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   1530 L_25148230:
   1531     ecx = MEM32(ebp + (-0x10)); /* 0x25148230: mov ecx, dword ptr [ebp - 0x10] */
   1532     RECOMP_BACKEDGE();
   1533     goto L_250DB0B0; /* 0x25148233: jmp 0x250db0b0 */
   1534     { RECOMP_REGS_OUT(); return; } /* end of function */
   1535     RECOMP_REGS_OUT();
   1536 }
   1537 
   1538 void sub_25148238(void) {
   1539     int _fpu_cmp = 0;
   1540     uint32_t _cf = 0;
   1541     int _df = 1;
   1542     uint32_t _flag_k = FK_NONE;
   1543     uint32_t _flag_a = 0, _flag_b = 0;
   1544     uint32_t _itail_tgt = 0;
   1545     RECOMP_REGS_LOCALS
   1546     RECOMP_ENTER(0x25148238u);
   1547 
   1548     goto L_25148238;
   1549 L_251380C4:
   1550     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1551 L_25148238:
   1552     eax = 0x251687A0u; /* 0x25148238: mov eax, 0x251687a0 */
   1553 L_2514823D:
   1554     RECOMP_BACKEDGE();
   1555     goto L_251380C4; /* 0x2514823D: jmp 0x251380c4 */
   1556     { RECOMP_REGS_OUT(); return; } /* end of function */
   1557   _ljump:
   1558     switch (_itail_tgt) {
   1559       case 0x251380C4u: goto L_251380C4;
   1560       case 0x25148238u: goto L_25148238;
   1561       case 0x2514823Du: goto L_2514823D;
   1562       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1563     }
   1564     RECOMP_REGS_OUT();
   1565 }
   1566 
   1567 void sub_25148250(void) {
   1568     int _fpu_cmp = 0;
   1569     uint32_t _cf = 0;
   1570     int _df = 1;
   1571     uint32_t _flag_k = FK_NONE;
   1572     uint32_t _flag_a = 0, _flag_b = 0;
   1573     uint32_t _itail_tgt = 0;
   1574     RECOMP_REGS_LOCALS
   1575     RECOMP_ENTER(0x25148250u);
   1576 
   1577     goto L_25148250;
   1578 L_250DB0B0:
   1579     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   1580     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   1581     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   1582     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   1583     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   1584     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   1585     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   1586     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   1587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1588     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   1589     _flag_k = FK_CMP;
   1590     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   1591     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   1592     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   1593     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   1594     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   1595     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   1596     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   1597     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   1598     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   1599     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   1600     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   1601     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   1602     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   1603     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   1604     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1605     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   1606     _cf = 0;
   1607     _flag_k = FK_TEST;
   1608     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   1609     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1610     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1611     _flag_k = FK_CMP;
   1612     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   1613     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   1614 L_250DB11E:
   1615     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   1616     RECOMP_FLAGS_IN();
   1617 L_250DB123:
   1618     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   1619     PUSH32(esp, eax); /* 0x250DB129: push eax */
   1620     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   1621     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   1622     RECOMP_FLAGS_IN();
   1623     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1624     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1625     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   1626     _flag_k = FK_ADD;
   1627     eax = edi; /* 0x250DB135: mov eax, edi */
   1628     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1629     _cf = (eax) != 0;
   1630     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   1631     _flag_k = FK_CMP;
   1632     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   1633       eax = _sc ? 0xFFFFFFFFu : 0;
   1634       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1635       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1636     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   1637     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   1638     _cf = 0;
   1639     _flag_k = FK_TEST;
   1640     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   1641     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   1642     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   1643     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   1644     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   1645     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   1646     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   1647     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1648     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1649     _flag_k = FK_CMP;
   1650     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   1651     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   1652     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   1653     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   1654     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   1655 L_250DB16C:
   1656     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   1657     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   1658     ecx = esi; /* 0x250DB170: mov ecx, esi */
   1659     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   1660     RECOMP_FLAGS_IN();
   1661     ecx = eax; /* 0x250DB177: mov ecx, eax */
   1662     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   1663     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   1664     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   1665     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1666     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1667     _flag_k = FK_CMP;
   1668     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   1669     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   1670     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1671     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1672     _flag_k = FK_NARROW(FK_CMP, 24);
   1673     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   1674 L_250DB187:
   1675     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   1676     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   1677     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1678     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1679     _flag_k = FK_CMP;
   1680     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   1681 L_250DB18F:
   1682     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   1683     PUSH32(esp, edx); /* 0x250DB192: push edx */
   1684     ecx = esi; /* 0x250DB193: mov ecx, esi */
   1685     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   1686     RECOMP_FLAGS_IN();
   1687     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   1688     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   1689     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   1690     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   1691     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   1692     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   1693     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   1694     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   1695     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   1696     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   1697     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   1698     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   1699     RECOMP_FLAGS_IN();
   1700     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   1701 L_250DB1BE:
   1702     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   1703     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   1704     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1705     _flag_k = FK_CMP;
   1706     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   1707 L_250DB1C3:
   1708     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   1709     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   1710     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   1711     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   1712     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   1713     RECOMP_FLAGS_IN();
   1714     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   1715     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   1716     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   1717     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   1718     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   1719     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   1720     RECOMP_FLAGS_IN();
   1721     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   1722     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   1723     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   1724     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1725     _flag_k = FK_CMP;
   1726     RECOMP_BACKEDGE();
   1727     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   1728 L_250DB1E6:
   1729     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   1730     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   1731     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   1732     RECOMP_FLAGS_IN();
   1733     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   1734     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   1735     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   1736     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   1737     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   1738     RECOMP_FLAGS_IN();
   1739     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1740     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1741     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   1742     _flag_k = FK_ADD;
   1743     eax = edi; /* 0x250DB201: mov eax, edi */
   1744     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1745     _cf = (eax) != 0;
   1746     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   1747     _flag_k = FK_CMP;
   1748     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   1749       eax = _sc ? 0xFFFFFFFFu : 0;
   1750       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1751       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1752     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   1753     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   1754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1755     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   1756     _cf = 0;
   1757     _flag_k = FK_TEST;
   1758     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   1759     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   1760     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   1761     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   1762     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1764     _flag_k = FK_CMP;
   1765     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   1766     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   1767     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   1768     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   1769     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   1770 L_250DB22E:
   1771     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   1772     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   1773     ecx = esi; /* 0x250DB232: mov ecx, esi */
   1774     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   1775     RECOMP_FLAGS_IN();
   1776     edx = eax; /* 0x250DB239: mov edx, eax */
   1777     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   1778     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   1779     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   1780     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1781     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1782     _flag_k = FK_CMP;
   1783     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   1784     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   1785     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1786     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1787     _flag_k = FK_NARROW(FK_CMP, 24);
   1788     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   1789 L_250DB249:
   1790     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   1791     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   1792     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   1793     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1794     _flag_k = FK_CMP;
   1795     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   1796 L_250DB251:
   1797     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   1798     PUSH32(esp, eax); /* 0x250DB254: push eax */
   1799     ecx = esi; /* 0x250DB255: mov ecx, esi */
   1800     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   1801     RECOMP_FLAGS_IN();
   1802     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   1803     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   1804     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   1805     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   1806     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   1807     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   1808     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   1809     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   1810     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   1811     PUSH32(esp, eax); /* 0x250DB276: push eax */
   1812     ecx = esi; /* 0x250DB277: mov ecx, esi */
   1813     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   1814     RECOMP_FLAGS_IN();
   1815     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   1816 L_250DB280:
   1817     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   1818     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   1819     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1820     _flag_k = FK_CMP;
   1821     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   1822 L_250DB285:
   1823     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   1824     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   1825     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   1826     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   1827     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   1828     RECOMP_FLAGS_IN();
   1829     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   1830     PUSH32(esp, edx); /* 0x250DB294: push edx */
   1831     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   1832     PUSH32(esp, eax); /* 0x250DB298: push eax */
   1833     ecx = esi; /* 0x250DB299: mov ecx, esi */
   1834     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   1835     RECOMP_FLAGS_IN();
   1836     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   1837     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   1838     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1839     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1840     _flag_k = FK_CMP;
   1841     RECOMP_BACKEDGE();
   1842     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   1843 L_250DB2A8:
   1844     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   1845     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   1846     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   1847     RECOMP_FLAGS_IN();
   1848     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   1849     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   1850     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   1851     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   1852     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   1853     RECOMP_FLAGS_IN();
   1854     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1855     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1856     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   1857     _flag_k = FK_ADD;
   1858     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   1859     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   1860     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   1861     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   1862     RECOMP_FLAGS_IN();
   1863     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   1864     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   1865     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   1866     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   1867     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   1868     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   1869     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   1870     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   1871 L_25148250:
   1872     ecx = MEM32(ebp + (-0x10)); /* 0x25148250: mov ecx, dword ptr [ebp - 0x10] */
   1873     RECOMP_BACKEDGE();
   1874     goto L_250DB0B0; /* 0x25148253: jmp 0x250db0b0 */
   1875     { RECOMP_REGS_OUT(); return; } /* end of function */
   1876     RECOMP_REGS_OUT();
   1877 }
   1878 
   1879 void sub_25148258(void) {
   1880     int _fpu_cmp = 0;
   1881     uint32_t _cf = 0;
   1882     int _df = 1;
   1883     uint32_t _flag_k = FK_NONE;
   1884     uint32_t _flag_a = 0, _flag_b = 0;
   1885     uint32_t _itail_tgt = 0;
   1886     RECOMP_REGS_LOCALS
   1887     RECOMP_ENTER(0x25148258u);
   1888 
   1889 L_25148258:
   1890     eax = MEM32(ebp + 0x8); /* 0x25148258: mov eax, dword ptr [ebp + 8] */
   1891     PUSH32(esp, eax); /* 0x2514825B: push eax */
   1892     RECOMP_ICALL(0x25137EECu); /* 0x2514825C: call 0x25137eec */ /* not lifted */
   1893     RECOMP_FLAGS_IN();
   1894     ecx = POP32_VAL(esp); /* 0x25148261: pop ecx */
   1895     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148262: ret  */
   1896     RECOMP_REGS_OUT();
   1897 }
   1898 
   1899 void sub_25148263(void) {
   1900     int _fpu_cmp = 0;
   1901     uint32_t _cf = 0;
   1902     int _df = 1;
   1903     uint32_t _flag_k = FK_NONE;
   1904     uint32_t _flag_a = 0, _flag_b = 0;
   1905     uint32_t _itail_tgt = 0;
   1906     RECOMP_REGS_LOCALS
   1907     RECOMP_ENTER(0x25148263u);
   1908 
   1909 L_25148263:
   1910     ecx = MEM32(ebp + (-0x10)); /* 0x25148263: mov ecx, dword ptr [ebp - 0x10] */
   1911     goto L_2501C660; /* 0x25148266: jmp 0x2501c660 */
   1912     { RECOMP_REGS_OUT(); return; } /* end of function */
   1913     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   1914     RECOMP_REGS_OUT();
   1915 }
   1916 
   1917 void sub_2514826B(void) {
   1918     int _fpu_cmp = 0;
   1919     uint32_t _cf = 0;
   1920     int _df = 1;
   1921     uint32_t _flag_k = FK_NONE;
   1922     uint32_t _flag_a = 0, _flag_b = 0;
   1923     uint32_t _itail_tgt = 0;
   1924     RECOMP_REGS_LOCALS
   1925     RECOMP_ENTER(0x2514826Bu);
   1926 
   1927     goto L_2514826B;
   1928 L_251380C4:
   1929     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1930 L_2514826B:
   1931     eax = 0x251687C8u; /* 0x2514826B: mov eax, 0x251687c8 */
   1932 L_25148270:
   1933     RECOMP_BACKEDGE();
   1934     goto L_251380C4; /* 0x25148270: jmp 0x251380c4 */
   1935     { RECOMP_REGS_OUT(); return; } /* end of function */
   1936   _ljump:
   1937     switch (_itail_tgt) {
   1938       case 0x251380C4u: goto L_251380C4;
   1939       case 0x2514826Bu: goto L_2514826B;
   1940       case 0x25148270u: goto L_25148270;
   1941       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1942     }
   1943     RECOMP_REGS_OUT();
   1944 }
   1945 
   1946 void sub_25148280(void) {
   1947     int _fpu_cmp = 0;
   1948     uint32_t _cf = 0;
   1949     int _df = 1;
   1950     uint32_t _flag_k = FK_NONE;
   1951     uint32_t _flag_a = 0, _flag_b = 0;
   1952     uint32_t _itail_tgt = 0;
   1953     RECOMP_REGS_LOCALS
   1954     RECOMP_ENTER(0x25148280u);
   1955 
   1956     goto L_25148280;
   1957 L_250DB0B0:
   1958     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   1959     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   1960     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   1961     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   1962     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   1963     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   1964     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   1965     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   1966     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1967     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   1968     _flag_k = FK_CMP;
   1969     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   1970     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   1971     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   1972     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   1973     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   1974     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   1975     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   1976     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   1977     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   1978     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   1979     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   1980     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   1981     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   1982     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   1983     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1984     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   1985     _cf = 0;
   1986     _flag_k = FK_TEST;
   1987     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   1988     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1989     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1990     _flag_k = FK_CMP;
   1991     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   1992     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   1993 L_250DB11E:
   1994     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   1995     RECOMP_FLAGS_IN();
   1996 L_250DB123:
   1997     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   1998     PUSH32(esp, eax); /* 0x250DB129: push eax */
   1999     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   2000     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   2001     RECOMP_FLAGS_IN();
   2002     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2003     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2004     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   2005     _flag_k = FK_ADD;
   2006     eax = edi; /* 0x250DB135: mov eax, edi */
   2007     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2008     _cf = (eax) != 0;
   2009     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   2010     _flag_k = FK_CMP;
   2011     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   2012       eax = _sc ? 0xFFFFFFFFu : 0;
   2013       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2014       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2015     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2016     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   2017     _cf = 0;
   2018     _flag_k = FK_TEST;
   2019     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   2020     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   2021     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   2022     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   2023     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   2024     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   2025     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   2026     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2027     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2028     _flag_k = FK_CMP;
   2029     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   2030     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   2031     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   2032     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   2033     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   2034 L_250DB16C:
   2035     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   2036     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   2037     ecx = esi; /* 0x250DB170: mov ecx, esi */
   2038     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   2039     RECOMP_FLAGS_IN();
   2040     ecx = eax; /* 0x250DB177: mov ecx, eax */
   2041     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   2042     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   2043     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   2044     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2045     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2046     _flag_k = FK_CMP;
   2047     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   2048     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   2049     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2050     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2051     _flag_k = FK_NARROW(FK_CMP, 24);
   2052     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   2053 L_250DB187:
   2054     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   2055     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   2056     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2057     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2058     _flag_k = FK_CMP;
   2059     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   2060 L_250DB18F:
   2061     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   2062     PUSH32(esp, edx); /* 0x250DB192: push edx */
   2063     ecx = esi; /* 0x250DB193: mov ecx, esi */
   2064     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   2065     RECOMP_FLAGS_IN();
   2066     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   2067     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   2068     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   2069     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   2070     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   2071     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   2072     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   2073     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   2074     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   2075     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   2076     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   2077     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   2078     RECOMP_FLAGS_IN();
   2079     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   2080 L_250DB1BE:
   2081     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   2082     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   2083     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2084     _flag_k = FK_CMP;
   2085     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   2086 L_250DB1C3:
   2087     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   2088     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   2089     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   2090     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   2091     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   2092     RECOMP_FLAGS_IN();
   2093     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   2094     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   2095     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   2096     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   2097     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   2098     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   2099     RECOMP_FLAGS_IN();
   2100     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   2101     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   2102     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   2103     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2104     _flag_k = FK_CMP;
   2105     RECOMP_BACKEDGE();
   2106     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   2107 L_250DB1E6:
   2108     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   2109     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   2110     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   2111     RECOMP_FLAGS_IN();
   2112     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   2113     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   2114     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   2115     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   2116     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   2117     RECOMP_FLAGS_IN();
   2118     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2119     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2120     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   2121     _flag_k = FK_ADD;
   2122     eax = edi; /* 0x250DB201: mov eax, edi */
   2123     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2124     _cf = (eax) != 0;
   2125     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   2126     _flag_k = FK_CMP;
   2127     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   2128       eax = _sc ? 0xFFFFFFFFu : 0;
   2129       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2130       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2131     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   2132     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   2133     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2134     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   2135     _cf = 0;
   2136     _flag_k = FK_TEST;
   2137     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   2138     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   2139     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   2140     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   2141     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2142     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2143     _flag_k = FK_CMP;
   2144     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   2145     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   2146     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   2147     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   2148     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   2149 L_250DB22E:
   2150     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   2151     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   2152     ecx = esi; /* 0x250DB232: mov ecx, esi */
   2153     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   2154     RECOMP_FLAGS_IN();
   2155     edx = eax; /* 0x250DB239: mov edx, eax */
   2156     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   2157     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   2158     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   2159     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2160     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2161     _flag_k = FK_CMP;
   2162     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   2163     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   2164     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2166     _flag_k = FK_NARROW(FK_CMP, 24);
   2167     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   2168 L_250DB249:
   2169     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   2170     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   2171     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   2172     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2173     _flag_k = FK_CMP;
   2174     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   2175 L_250DB251:
   2176     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   2177     PUSH32(esp, eax); /* 0x250DB254: push eax */
   2178     ecx = esi; /* 0x250DB255: mov ecx, esi */
   2179     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   2180     RECOMP_FLAGS_IN();
   2181     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   2182     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   2183     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   2184     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   2185     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   2186     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   2187     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   2188     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   2189     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   2190     PUSH32(esp, eax); /* 0x250DB276: push eax */
   2191     ecx = esi; /* 0x250DB277: mov ecx, esi */
   2192     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   2193     RECOMP_FLAGS_IN();
   2194     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   2195 L_250DB280:
   2196     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   2197     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   2198     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2199     _flag_k = FK_CMP;
   2200     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   2201 L_250DB285:
   2202     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   2203     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   2204     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   2205     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   2206     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   2207     RECOMP_FLAGS_IN();
   2208     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   2209     PUSH32(esp, edx); /* 0x250DB294: push edx */
   2210     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   2211     PUSH32(esp, eax); /* 0x250DB298: push eax */
   2212     ecx = esi; /* 0x250DB299: mov ecx, esi */
   2213     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   2214     RECOMP_FLAGS_IN();
   2215     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   2216     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   2217     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2219     _flag_k = FK_CMP;
   2220     RECOMP_BACKEDGE();
   2221     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   2222 L_250DB2A8:
   2223     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   2224     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   2225     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   2226     RECOMP_FLAGS_IN();
   2227     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   2228     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   2229     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   2230     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   2231     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   2232     RECOMP_FLAGS_IN();
   2233     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2234     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2235     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   2236     _flag_k = FK_ADD;
   2237     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   2238     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   2239     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   2240     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   2241     RECOMP_FLAGS_IN();
   2242     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   2243     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   2244     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   2245     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   2246     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   2247     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   2248     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   2249     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   2250 L_25148280:
   2251     ecx = MEM32(ebp + (-0x10)); /* 0x25148280: mov ecx, dword ptr [ebp - 0x10] */
   2252     RECOMP_BACKEDGE();
   2253     goto L_250DB0B0; /* 0x25148283: jmp 0x250db0b0 */
   2254     { RECOMP_REGS_OUT(); return; } /* end of function */
   2255     RECOMP_REGS_OUT();
   2256 }
   2257 
   2258 void sub_25148288(void) {
   2259     int _fpu_cmp = 0;
   2260     uint32_t _cf = 0;
   2261     int _df = 1;
   2262     uint32_t _flag_k = FK_NONE;
   2263     uint32_t _flag_a = 0, _flag_b = 0;
   2264     uint32_t _itail_tgt = 0;
   2265     RECOMP_REGS_LOCALS
   2266     RECOMP_ENTER(0x25148288u);
   2267 
   2268     goto L_25148288;
   2269 L_251380C4:
   2270     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2271 L_25148288:
   2272     eax = 0x25168800u; /* 0x25148288: mov eax, 0x25168800 */
   2273 L_2514828D:
   2274     RECOMP_BACKEDGE();
   2275     goto L_251380C4; /* 0x2514828D: jmp 0x251380c4 */
   2276     { RECOMP_REGS_OUT(); return; } /* end of function */
   2277   _ljump:
   2278     switch (_itail_tgt) {
   2279       case 0x251380C4u: goto L_251380C4;
   2280       case 0x25148288u: goto L_25148288;
   2281       case 0x2514828Du: goto L_2514828D;
   2282       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2283     }
   2284     RECOMP_REGS_OUT();
   2285 }
   2286 
   2287 void sub_251482A0(void) {
   2288     int _fpu_cmp = 0;
   2289     uint32_t _cf = 0;
   2290     int _df = 1;
   2291     uint32_t _flag_k = FK_NONE;
   2292     uint32_t _flag_a = 0, _flag_b = 0;
   2293     uint32_t _itail_tgt = 0;
   2294     RECOMP_REGS_LOCALS
   2295     RECOMP_ENTER(0x251482A0u);
   2296 
   2297 L_251482A0:
   2298     ecx = ebp + (-0x54); /* 0x251482A0: lea ecx, [ebp - 0x54] */
   2299     goto L_25009BC0; /* 0x251482A3: jmp 0x25009bc0 */
   2300     { RECOMP_REGS_OUT(); return; } /* end of function */
   2301     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2302     RECOMP_REGS_OUT();
   2303 }
   2304 
   2305 void sub_251482A8(void) {
   2306     int _fpu_cmp = 0;
   2307     uint32_t _cf = 0;
   2308     int _df = 1;
   2309     uint32_t _flag_k = FK_NONE;
   2310     uint32_t _flag_a = 0, _flag_b = 0;
   2311     uint32_t _itail_tgt = 0;
   2312     RECOMP_REGS_LOCALS
   2313     RECOMP_ENTER(0x251482A8u);
   2314 
   2315 L_251482A8:
   2316     ecx = ebp + (-0x48); /* 0x251482A8: lea ecx, [ebp - 0x48] */
   2317     goto L_25009BC0; /* 0x251482AB: jmp 0x25009bc0 */
   2318     { RECOMP_REGS_OUT(); return; } /* end of function */
   2319     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2320     RECOMP_REGS_OUT();
   2321 }
   2322 
   2323 void sub_251482B0(void) {
   2324     int _fpu_cmp = 0;
   2325     uint32_t _cf = 0;
   2326     int _df = 1;
   2327     uint32_t _flag_k = FK_NONE;
   2328     uint32_t _flag_a = 0, _flag_b = 0;
   2329     uint32_t _itail_tgt = 0;
   2330     RECOMP_REGS_LOCALS
   2331     RECOMP_ENTER(0x251482B0u);
   2332 
   2333 L_251482B0:
   2334     ecx = ebp + (-0x3C); /* 0x251482B0: lea ecx, [ebp - 0x3c] */
   2335     goto L_25009BC0; /* 0x251482B3: jmp 0x25009bc0 */
   2336     { RECOMP_REGS_OUT(); return; } /* end of function */
   2337     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2338     RECOMP_REGS_OUT();
   2339 }
   2340 
   2341 void sub_251482B8(void) {
   2342     int _fpu_cmp = 0;
   2343     uint32_t _cf = 0;
   2344     int _df = 1;
   2345     uint32_t _flag_k = FK_NONE;
   2346     uint32_t _flag_a = 0, _flag_b = 0;
   2347     uint32_t _itail_tgt = 0;
   2348     RECOMP_REGS_LOCALS
   2349     RECOMP_ENTER(0x251482B8u);
   2350 
   2351 L_251482B8:
   2352     ecx = ebp + (-0x30); /* 0x251482B8: lea ecx, [ebp - 0x30] */
   2353     goto L_25009BC0; /* 0x251482BB: jmp 0x25009bc0 */
   2354     { RECOMP_REGS_OUT(); return; } /* end of function */
   2355     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2356     RECOMP_REGS_OUT();
   2357 }
   2358 
   2359 void sub_251482C0(void) {
   2360     int _fpu_cmp = 0;
   2361     uint32_t _cf = 0;
   2362     int _df = 1;
   2363     uint32_t _flag_k = FK_NONE;
   2364     uint32_t _flag_a = 0, _flag_b = 0;
   2365     uint32_t _itail_tgt = 0;
   2366     RECOMP_REGS_LOCALS
   2367     RECOMP_ENTER(0x251482C0u);
   2368 
   2369 L_251482C0:
   2370     ecx = ebp + (-0x24); /* 0x251482C0: lea ecx, [ebp - 0x24] */
   2371     goto L_25009BC0; /* 0x251482C3: jmp 0x25009bc0 */
   2372     { RECOMP_REGS_OUT(); return; } /* end of function */
   2373     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2374     RECOMP_REGS_OUT();
   2375 }
   2376 
   2377 void sub_251482C8(void) {
   2378     int _fpu_cmp = 0;
   2379     uint32_t _cf = 0;
   2380     int _df = 1;
   2381     uint32_t _flag_k = FK_NONE;
   2382     uint32_t _flag_a = 0, _flag_b = 0;
   2383     uint32_t _itail_tgt = 0;
   2384     RECOMP_REGS_LOCALS
   2385     RECOMP_ENTER(0x251482C8u);
   2386 
   2387     goto L_251482C8;
   2388 L_251380C4:
   2389     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2390 L_251482C8:
   2391     eax = 0x25168828u; /* 0x251482C8: mov eax, 0x25168828 */
   2392 L_251482CD:
   2393     RECOMP_BACKEDGE();
   2394     goto L_251380C4; /* 0x251482CD: jmp 0x251380c4 */
   2395     { RECOMP_REGS_OUT(); return; } /* end of function */
   2396   _ljump:
   2397     switch (_itail_tgt) {
   2398       case 0x251380C4u: goto L_251380C4;
   2399       case 0x251482C8u: goto L_251482C8;
   2400       case 0x251482CDu: goto L_251482CD;
   2401       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2402     }
   2403     RECOMP_REGS_OUT();
   2404 }
   2405 
   2406 void sub_251482E0(void) {
   2407     int _fpu_cmp = 0;
   2408     uint32_t _cf = 0;
   2409     int _df = 1;
   2410     uint32_t _flag_k = FK_NONE;
   2411     uint32_t _flag_a = 0, _flag_b = 0;
   2412     uint32_t _itail_tgt = 0;
   2413     RECOMP_REGS_LOCALS
   2414     RECOMP_ENTER(0x251482E0u);
   2415 
   2416 L_251482E0:
   2417     ecx = ebp + (-0x54); /* 0x251482E0: lea ecx, [ebp - 0x54] */
   2418     goto L_25009BC0; /* 0x251482E3: jmp 0x25009bc0 */
   2419     { RECOMP_REGS_OUT(); return; } /* end of function */
   2420     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2421     RECOMP_REGS_OUT();
   2422 }
   2423 
   2424 void sub_251482E8(void) {
   2425     int _fpu_cmp = 0;
   2426     uint32_t _cf = 0;
   2427     int _df = 1;
   2428     uint32_t _flag_k = FK_NONE;
   2429     uint32_t _flag_a = 0, _flag_b = 0;
   2430     uint32_t _itail_tgt = 0;
   2431     RECOMP_REGS_LOCALS
   2432     RECOMP_ENTER(0x251482E8u);
   2433 
   2434 L_251482E8:
   2435     ecx = ebp + (-0x48); /* 0x251482E8: lea ecx, [ebp - 0x48] */
   2436     goto L_25009BC0; /* 0x251482EB: jmp 0x25009bc0 */
   2437     { RECOMP_REGS_OUT(); return; } /* end of function */
   2438     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2439     RECOMP_REGS_OUT();
   2440 }
   2441 
   2442 void sub_251482F0(void) {
   2443     int _fpu_cmp = 0;
   2444     uint32_t _cf = 0;
   2445     int _df = 1;
   2446     uint32_t _flag_k = FK_NONE;
   2447     uint32_t _flag_a = 0, _flag_b = 0;
   2448     uint32_t _itail_tgt = 0;
   2449     RECOMP_REGS_LOCALS
   2450     RECOMP_ENTER(0x251482F0u);
   2451 
   2452 L_251482F0:
   2453     ecx = ebp + (-0x3C); /* 0x251482F0: lea ecx, [ebp - 0x3c] */
   2454     goto L_25009BC0; /* 0x251482F3: jmp 0x25009bc0 */
   2455     { RECOMP_REGS_OUT(); return; } /* end of function */
   2456     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2457     RECOMP_REGS_OUT();
   2458 }
   2459 
   2460 void sub_251482F8(void) {
   2461     int _fpu_cmp = 0;
   2462     uint32_t _cf = 0;
   2463     int _df = 1;
   2464     uint32_t _flag_k = FK_NONE;
   2465     uint32_t _flag_a = 0, _flag_b = 0;
   2466     uint32_t _itail_tgt = 0;
   2467     RECOMP_REGS_LOCALS
   2468     RECOMP_ENTER(0x251482F8u);
   2469 
   2470 L_251482F8:
   2471     ecx = ebp + (-0x30); /* 0x251482F8: lea ecx, [ebp - 0x30] */
   2472     goto L_25009BC0; /* 0x251482FB: jmp 0x25009bc0 */
   2473     { RECOMP_REGS_OUT(); return; } /* end of function */
   2474     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2475     RECOMP_REGS_OUT();
   2476 }
   2477 
   2478 void sub_25148300(void) {
   2479     int _fpu_cmp = 0;
   2480     uint32_t _cf = 0;
   2481     int _df = 1;
   2482     uint32_t _flag_k = FK_NONE;
   2483     uint32_t _flag_a = 0, _flag_b = 0;
   2484     uint32_t _itail_tgt = 0;
   2485     RECOMP_REGS_LOCALS
   2486     RECOMP_ENTER(0x25148300u);
   2487 
   2488 L_25148300:
   2489     ecx = ebp + (-0x24); /* 0x25148300: lea ecx, [ebp - 0x24] */
   2490     goto L_25009BC0; /* 0x25148303: jmp 0x25009bc0 */
   2491     { RECOMP_REGS_OUT(); return; } /* end of function */
   2492     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2493     RECOMP_REGS_OUT();
   2494 }
   2495 
   2496 void sub_25148308(void) {
   2497     int _fpu_cmp = 0;
   2498     uint32_t _cf = 0;
   2499     int _df = 1;
   2500     uint32_t _flag_k = FK_NONE;
   2501     uint32_t _flag_a = 0, _flag_b = 0;
   2502     uint32_t _itail_tgt = 0;
   2503     RECOMP_REGS_LOCALS
   2504     RECOMP_ENTER(0x25148308u);
   2505 
   2506     goto L_25148308;
   2507 L_251380C4:
   2508     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2509 L_25148308:
   2510     eax = 0x25168870u; /* 0x25148308: mov eax, 0x25168870 */
   2511 L_2514830D:
   2512     RECOMP_BACKEDGE();
   2513     goto L_251380C4; /* 0x2514830D: jmp 0x251380c4 */
   2514     { RECOMP_REGS_OUT(); return; } /* end of function */
   2515   _ljump:
   2516     switch (_itail_tgt) {
   2517       case 0x251380C4u: goto L_251380C4;
   2518       case 0x25148308u: goto L_25148308;
   2519       case 0x2514830Du: goto L_2514830D;
   2520       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2521     }
   2522     RECOMP_REGS_OUT();
   2523 }
   2524 
   2525 void sub_25148320(void) {
   2526     int _fpu_cmp = 0;
   2527     uint32_t _cf = 0;
   2528     int _df = 1;
   2529     uint32_t _flag_k = FK_NONE;
   2530     uint32_t _flag_a = 0, _flag_b = 0;
   2531     uint32_t _itail_tgt = 0;
   2532     RECOMP_REGS_LOCALS
   2533     RECOMP_ENTER(0x25148320u);
   2534 
   2535 L_25148320:
   2536     ecx = ebp + (-0x68); /* 0x25148320: lea ecx, [ebp - 0x68] */
   2537     goto L_25009BC0; /* 0x25148323: jmp 0x25009bc0 */
   2538     { RECOMP_REGS_OUT(); return; } /* end of function */
   2539     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2540     RECOMP_REGS_OUT();
   2541 }
   2542 
   2543 void sub_25148328(void) {
   2544     int _fpu_cmp = 0;
   2545     uint32_t _cf = 0;
   2546     int _df = 1;
   2547     uint32_t _flag_k = FK_NONE;
   2548     uint32_t _flag_a = 0, _flag_b = 0;
   2549     uint32_t _itail_tgt = 0;
   2550     RECOMP_REGS_LOCALS
   2551     RECOMP_ENTER(0x25148328u);
   2552 
   2553 L_25148328:
   2554     ecx = ebp + (-0x5C); /* 0x25148328: lea ecx, [ebp - 0x5c] */
   2555     goto L_25009BC0; /* 0x2514832B: jmp 0x25009bc0 */
   2556     { RECOMP_REGS_OUT(); return; } /* end of function */
   2557     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2558     RECOMP_REGS_OUT();
   2559 }
   2560 
   2561 void sub_25148330(void) {
   2562     int _fpu_cmp = 0;
   2563     uint32_t _cf = 0;
   2564     int _df = 1;
   2565     uint32_t _flag_k = FK_NONE;
   2566     uint32_t _flag_a = 0, _flag_b = 0;
   2567     uint32_t _itail_tgt = 0;
   2568     RECOMP_REGS_LOCALS
   2569     RECOMP_ENTER(0x25148330u);
   2570 
   2571 L_25148330:
   2572     ecx = ebp + (-0x50); /* 0x25148330: lea ecx, [ebp - 0x50] */
   2573     goto L_25009BC0; /* 0x25148333: jmp 0x25009bc0 */
   2574     { RECOMP_REGS_OUT(); return; } /* end of function */
   2575     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2576     RECOMP_REGS_OUT();
   2577 }
   2578 
   2579 void sub_25148338(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(0x25148338u);
   2588 
   2589 L_25148338:
   2590     ecx = ebp + (-0x44); /* 0x25148338: lea ecx, [ebp - 0x44] */
   2591     goto L_25009BC0; /* 0x2514833B: jmp 0x25009bc0 */
   2592     { RECOMP_REGS_OUT(); return; } /* end of function */
   2593     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2594     RECOMP_REGS_OUT();
   2595 }
   2596 
   2597 void sub_25148340(void) {
   2598     int _fpu_cmp = 0;
   2599     uint32_t _cf = 0;
   2600     int _df = 1;
   2601     uint32_t _flag_k = FK_NONE;
   2602     uint32_t _flag_a = 0, _flag_b = 0;
   2603     uint32_t _itail_tgt = 0;
   2604     RECOMP_REGS_LOCALS
   2605     RECOMP_ENTER(0x25148340u);
   2606 
   2607 L_25148340:
   2608     ecx = ebp + (-0x38); /* 0x25148340: lea ecx, [ebp - 0x38] */
   2609     goto L_25009BC0; /* 0x25148343: jmp 0x25009bc0 */
   2610     { RECOMP_REGS_OUT(); return; } /* end of function */
   2611     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2612     RECOMP_REGS_OUT();
   2613 }
   2614 
   2615 void sub_25148348(void) {
   2616     int _fpu_cmp = 0;
   2617     uint32_t _cf = 0;
   2618     int _df = 1;
   2619     uint32_t _flag_k = FK_NONE;
   2620     uint32_t _flag_a = 0, _flag_b = 0;
   2621     uint32_t _itail_tgt = 0;
   2622     RECOMP_REGS_LOCALS
   2623     RECOMP_ENTER(0x25148348u);
   2624 
   2625     goto L_25148348;
   2626 L_251380C4:
   2627     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2628 L_25148348:
   2629     eax = 0x251688B8u; /* 0x25148348: mov eax, 0x251688b8 */
   2630 L_2514834D:
   2631     RECOMP_BACKEDGE();
   2632     goto L_251380C4; /* 0x2514834D: jmp 0x251380c4 */
   2633     { RECOMP_REGS_OUT(); return; } /* end of function */
   2634   _ljump:
   2635     switch (_itail_tgt) {
   2636       case 0x251380C4u: goto L_251380C4;
   2637       case 0x25148348u: goto L_25148348;
   2638       case 0x2514834Du: goto L_2514834D;
   2639       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2640     }
   2641     RECOMP_REGS_OUT();
   2642 }
   2643 
   2644 void sub_25148360(void) {
   2645     int _fpu_cmp = 0;
   2646     uint32_t _cf = 0;
   2647     int _df = 1;
   2648     uint32_t _flag_k = FK_NONE;
   2649     uint32_t _flag_a = 0, _flag_b = 0;
   2650     uint32_t _itail_tgt = 0;
   2651     RECOMP_REGS_LOCALS
   2652     RECOMP_ENTER(0x25148360u);
   2653 
   2654     goto L_25148360;
   2655 L_250F2480:
   2656     PUSH32(esp, ebp); /* 0x250F2480: push ebp */
   2657     ebp = esp; /* 0x250F2481: mov ebp, esp */
   2658     PUSH32(esp, 0xFFFFFFFFu); /* 0x250F2483: push -1 */
   2659     PUSH32(esp, 0x2514C486u); /* 0x250F2485: push 0x2514c486 */
   2660     eax = MEM32(FS_BASE + (0)); /* 0x250F248A: mov eax, dword ptr fs:[0] */
   2661     PUSH32(esp, eax); /* 0x250F2490: push eax */
   2662     MEM32(FS_BASE + (0)) = esp; /* 0x250F2491: mov dword ptr fs:[0], esp */
   2663     PUSH32(esp, ecx); /* 0x250F2498: push ecx */
   2664     PUSH32(esp, ebx); /* 0x250F2499: push ebx */
   2665     PUSH32(esp, esi); /* 0x250F249A: push esi */
   2666     esi = ecx; /* 0x250F249B: mov esi, ecx */
   2667     PUSH32(esp, edi); /* 0x250F249D: push edi */
   2668     MEM32(ebp + (-0x10)) = esi; /* 0x250F249E: mov dword ptr [ebp - 0x10], esi */
   2669     MEM32(esi) = 0x251583E8u; /* 0x250F24A1: mov dword ptr [esi], 0x251583e8 */
   2670     MEM32(esi + 0x8) = 0x251583D8u; /* 0x250F24A7: mov dword ptr [esi + 8], 0x251583d8 */
   2671     MEM32(esi + 0x20) = 0x251583C8u; /* 0x250F24AE: mov dword ptr [esi + 0x20], 0x251583c8 */
   2672     MEM32(esi + 0x38) = 0x251583B8u; /* 0x250F24B5: mov dword ptr [esi + 0x38], 0x251583b8 */
   2673     MEM32(esi + 0x50) = 0x251583A8u; /* 0x250F24BC: mov dword ptr [esi + 0x50], 0x251583a8 */
   2674     MEM32(esi + 0x138) = 0x25158398u; /* 0x250F24C3: mov dword ptr [esi + 0x138], 0x25158398 */
   2675     MEM32(esi + 0x150) = 0x25158388u; /* 0x250F24CD: mov dword ptr [esi + 0x150], 0x25158388 */
   2676     ecx = MEM32(esi + 0x1F0); /* 0x250F24D7: mov ecx, dword ptr [esi + 0x1f0] */
   2677     /* test ecx, ecx */ /* 0x250F24DD: test ecx, ecx */
   2678     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2679     _cf = 0;
   2680     _flag_k = FK_TEST;
   2681     MEM32(ebp + (-0x4)) = 1; /* 0x250F24DF: mov dword ptr [ebp - 4], 1 */
   2682     if (TEST_Z(_flag_a, _flag_b)) goto L_250F24ED; /* 0x250F24E6: je 0x250f24ed */
   2683 L_250F24E8:
   2684     RECOMP_ICALL(0x250E6370u); /* 0x250F24E8: call 0x250e6370 */ /* not lifted */
   2685     RECOMP_FLAGS_IN();
   2686 L_250F24ED:
   2687     ebx = MEM32(esi + 0x1E4); /* 0x250F24ED: mov ebx, dword ptr [esi + 0x1e4] */
   2688     edi = MEM32(esi + 0x1E0); /* 0x250F24F3: mov edi, dword ptr [esi + 0x1e0] */
   2689     /* cmp edi, ebx */ /* 0x250F24F9: cmp edi, ebx */
   2690     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2692     _flag_k = FK_CMP;
   2693     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250F24FB: mov byte ptr [ebp - 4], 0 */
   2694     if (CMP_EQ(_flag_a, _flag_b)) goto L_250F250F; /* 0x250F24FF: je 0x250f250f */
   2695 L_250F2501:
   2696     ecx = edi; /* 0x250F2501: mov ecx, edi */
   2697     RECOMP_ICALL(0x25105C10u); /* 0x250F2503: call 0x25105c10 */ /* not lifted */
   2698     RECOMP_FLAGS_IN();
   2699     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu);
   2700     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2701     edi = edi + 0xCu; /* 0x250F2508: add edi, 0xc */
   2702     _flag_k = FK_ADD;
   2703     /* cmp edi, ebx */ /* 0x250F250B: cmp edi, ebx */
   2704     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2705     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2706     _flag_k = FK_CMP;
   2707     RECOMP_BACKEDGE();
   2708     if (CMP_NE(_flag_a, _flag_b)) goto L_250F2501; /* 0x250F250D: jne 0x250f2501 */
   2709 L_250F250F:
   2710     eax = MEM32(esi + 0x1E0); /* 0x250F250F: mov eax, dword ptr [esi + 0x1e0] */
   2711     PUSH32(esp, eax); /* 0x250F2515: push eax */
   2712     RECOMP_ICALL(0x25137EECu); /* 0x250F2516: call 0x25137eec */ /* not lifted */
   2713     RECOMP_FLAGS_IN();
   2714     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2715     eax = 0; /* 0x250F251B: xor eax, eax */
   2716     _cf = 0;
   2717     _flag_k = FK_TEST;
   2718     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2719     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2720     esp = esp + 4; /* 0x250F251D: add esp, 4 */
   2721     _flag_k = FK_ADD;
   2722     ecx = esi; /* 0x250F2520: mov ecx, esi */
   2723     MEM32(esi + 0x1E0) = eax; /* 0x250F2522: mov dword ptr [esi + 0x1e0], eax */
   2724     MEM32(esi + 0x1E4) = eax; /* 0x250F2528: mov dword ptr [esi + 0x1e4], eax */
   2725     MEM32(esi + 0x1E8) = eax; /* 0x250F252E: mov dword ptr [esi + 0x1e8], eax */
   2726     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F2534: mov dword ptr [ebp - 4], 0xffffffff */
   2727     RECOMP_ICALL(0x250DB0B0u); /* 0x250F253B: call 0x250db0b0 */ /* not lifted */
   2728     RECOMP_FLAGS_IN();
   2729     ecx = MEM32(ebp + (-0xC)); /* 0x250F2540: mov ecx, dword ptr [ebp - 0xc] */
   2730     edi = POP32_VAL(esp); /* 0x250F2543: pop edi */
   2731     esi = POP32_VAL(esp); /* 0x250F2544: pop esi */
   2732     ebx = POP32_VAL(esp); /* 0x250F2545: pop ebx */
   2733     MEM32(FS_BASE + (0)) = ecx; /* 0x250F2546: mov dword ptr fs:[0], ecx */
   2734     esp = ebp; /* 0x250F254D: mov esp, ebp */
   2735     ebp = POP32_VAL(esp); /* 0x250F254F: pop ebp */
   2736     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F2550: ret  */
   2737 L_25148360:
   2738     ecx = MEM32(ebp + (-0x10)); /* 0x25148360: mov ecx, dword ptr [ebp - 0x10] */
   2739     RECOMP_BACKEDGE();
   2740     goto L_250F2480; /* 0x25148363: jmp 0x250f2480 */
   2741     { RECOMP_REGS_OUT(); return; } /* end of function */
   2742     RECOMP_REGS_OUT();
   2743 }
   2744 
   2745 void sub_25148368(void) {
   2746     int _fpu_cmp = 0;
   2747     uint32_t _cf = 0;
   2748     int _df = 1;
   2749     uint32_t _flag_k = FK_NONE;
   2750     uint32_t _flag_a = 0, _flag_b = 0;
   2751     uint32_t _itail_tgt = 0;
   2752     RECOMP_REGS_LOCALS
   2753     RECOMP_ENTER(0x25148368u);
   2754 
   2755     goto L_25148368;
   2756 L_251380C4:
   2757     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2758 L_25148368:
   2759     eax = 0x25168900u; /* 0x25148368: mov eax, 0x25168900 */
   2760 L_2514836D:
   2761     RECOMP_BACKEDGE();
   2762     goto L_251380C4; /* 0x2514836D: jmp 0x251380c4 */
   2763     { RECOMP_REGS_OUT(); return; } /* end of function */
   2764   _ljump:
   2765     switch (_itail_tgt) {
   2766       case 0x251380C4u: goto L_251380C4;
   2767       case 0x25148368u: goto L_25148368;
   2768       case 0x2514836Du: goto L_2514836D;
   2769       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2770     }
   2771     RECOMP_REGS_OUT();
   2772 }
   2773 
   2774 void sub_25148380(void) {
   2775     int _fpu_cmp = 0;
   2776     uint32_t _cf = 0;
   2777     int _df = 1;
   2778     uint32_t _flag_k = FK_NONE;
   2779     uint32_t _flag_a = 0, _flag_b = 0;
   2780     uint32_t _itail_tgt = 0;
   2781     RECOMP_REGS_LOCALS
   2782     RECOMP_ENTER(0x25148380u);
   2783 
   2784     goto L_25148380;
   2785 L_250F2480:
   2786     PUSH32(esp, ebp); /* 0x250F2480: push ebp */
   2787     ebp = esp; /* 0x250F2481: mov ebp, esp */
   2788     PUSH32(esp, 0xFFFFFFFFu); /* 0x250F2483: push -1 */
   2789     PUSH32(esp, 0x2514C486u); /* 0x250F2485: push 0x2514c486 */
   2790     eax = MEM32(FS_BASE + (0)); /* 0x250F248A: mov eax, dword ptr fs:[0] */
   2791     PUSH32(esp, eax); /* 0x250F2490: push eax */
   2792     MEM32(FS_BASE + (0)) = esp; /* 0x250F2491: mov dword ptr fs:[0], esp */
   2793     PUSH32(esp, ecx); /* 0x250F2498: push ecx */
   2794     PUSH32(esp, ebx); /* 0x250F2499: push ebx */
   2795     PUSH32(esp, esi); /* 0x250F249A: push esi */
   2796     esi = ecx; /* 0x250F249B: mov esi, ecx */
   2797     PUSH32(esp, edi); /* 0x250F249D: push edi */
   2798     MEM32(ebp + (-0x10)) = esi; /* 0x250F249E: mov dword ptr [ebp - 0x10], esi */
   2799     MEM32(esi) = 0x251583E8u; /* 0x250F24A1: mov dword ptr [esi], 0x251583e8 */
   2800     MEM32(esi + 0x8) = 0x251583D8u; /* 0x250F24A7: mov dword ptr [esi + 8], 0x251583d8 */
   2801     MEM32(esi + 0x20) = 0x251583C8u; /* 0x250F24AE: mov dword ptr [esi + 0x20], 0x251583c8 */
   2802     MEM32(esi + 0x38) = 0x251583B8u; /* 0x250F24B5: mov dword ptr [esi + 0x38], 0x251583b8 */
   2803     MEM32(esi + 0x50) = 0x251583A8u; /* 0x250F24BC: mov dword ptr [esi + 0x50], 0x251583a8 */
   2804     MEM32(esi + 0x138) = 0x25158398u; /* 0x250F24C3: mov dword ptr [esi + 0x138], 0x25158398 */
   2805     MEM32(esi + 0x150) = 0x25158388u; /* 0x250F24CD: mov dword ptr [esi + 0x150], 0x25158388 */
   2806     ecx = MEM32(esi + 0x1F0); /* 0x250F24D7: mov ecx, dword ptr [esi + 0x1f0] */
   2807     /* test ecx, ecx */ /* 0x250F24DD: test ecx, ecx */
   2808     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2809     _cf = 0;
   2810     _flag_k = FK_TEST;
   2811     MEM32(ebp + (-0x4)) = 1; /* 0x250F24DF: mov dword ptr [ebp - 4], 1 */
   2812     if (TEST_Z(_flag_a, _flag_b)) goto L_250F24ED; /* 0x250F24E6: je 0x250f24ed */
   2813 L_250F24E8:
   2814     RECOMP_ICALL(0x250E6370u); /* 0x250F24E8: call 0x250e6370 */ /* not lifted */
   2815     RECOMP_FLAGS_IN();
   2816 L_250F24ED:
   2817     ebx = MEM32(esi + 0x1E4); /* 0x250F24ED: mov ebx, dword ptr [esi + 0x1e4] */
   2818     edi = MEM32(esi + 0x1E0); /* 0x250F24F3: mov edi, dword ptr [esi + 0x1e0] */
   2819     /* cmp edi, ebx */ /* 0x250F24F9: cmp edi, ebx */
   2820     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2821     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2822     _flag_k = FK_CMP;
   2823     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250F24FB: mov byte ptr [ebp - 4], 0 */
   2824     if (CMP_EQ(_flag_a, _flag_b)) goto L_250F250F; /* 0x250F24FF: je 0x250f250f */
   2825 L_250F2501:
   2826     ecx = edi; /* 0x250F2501: mov ecx, edi */
   2827     RECOMP_ICALL(0x25105C10u); /* 0x250F2503: call 0x25105c10 */ /* not lifted */
   2828     RECOMP_FLAGS_IN();
   2829     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu);
   2830     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2831     edi = edi + 0xCu; /* 0x250F2508: add edi, 0xc */
   2832     _flag_k = FK_ADD;
   2833     /* cmp edi, ebx */ /* 0x250F250B: cmp edi, ebx */
   2834     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2835     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2836     _flag_k = FK_CMP;
   2837     RECOMP_BACKEDGE();
   2838     if (CMP_NE(_flag_a, _flag_b)) goto L_250F2501; /* 0x250F250D: jne 0x250f2501 */
   2839 L_250F250F:
   2840     eax = MEM32(esi + 0x1E0); /* 0x250F250F: mov eax, dword ptr [esi + 0x1e0] */
   2841     PUSH32(esp, eax); /* 0x250F2515: push eax */
   2842     RECOMP_ICALL(0x25137EECu); /* 0x250F2516: call 0x25137eec */ /* not lifted */
   2843     RECOMP_FLAGS_IN();
   2844     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2845     eax = 0; /* 0x250F251B: xor eax, eax */
   2846     _cf = 0;
   2847     _flag_k = FK_TEST;
   2848     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2849     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2850     esp = esp + 4; /* 0x250F251D: add esp, 4 */
   2851     _flag_k = FK_ADD;
   2852     ecx = esi; /* 0x250F2520: mov ecx, esi */
   2853     MEM32(esi + 0x1E0) = eax; /* 0x250F2522: mov dword ptr [esi + 0x1e0], eax */
   2854     MEM32(esi + 0x1E4) = eax; /* 0x250F2528: mov dword ptr [esi + 0x1e4], eax */
   2855     MEM32(esi + 0x1E8) = eax; /* 0x250F252E: mov dword ptr [esi + 0x1e8], eax */
   2856     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F2534: mov dword ptr [ebp - 4], 0xffffffff */
   2857     RECOMP_ICALL(0x250DB0B0u); /* 0x250F253B: call 0x250db0b0 */ /* not lifted */
   2858     RECOMP_FLAGS_IN();
   2859     ecx = MEM32(ebp + (-0xC)); /* 0x250F2540: mov ecx, dword ptr [ebp - 0xc] */
   2860     edi = POP32_VAL(esp); /* 0x250F2543: pop edi */
   2861     esi = POP32_VAL(esp); /* 0x250F2544: pop esi */
   2862     ebx = POP32_VAL(esp); /* 0x250F2545: pop ebx */
   2863     MEM32(FS_BASE + (0)) = ecx; /* 0x250F2546: mov dword ptr fs:[0], ecx */
   2864     esp = ebp; /* 0x250F254D: mov esp, ebp */
   2865     ebp = POP32_VAL(esp); /* 0x250F254F: pop ebp */
   2866     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F2550: ret  */
   2867 L_25148380:
   2868     ecx = MEM32(ebp + (-0x10)); /* 0x25148380: mov ecx, dword ptr [ebp - 0x10] */
   2869     RECOMP_BACKEDGE();
   2870     goto L_250F2480; /* 0x25148383: jmp 0x250f2480 */
   2871     { RECOMP_REGS_OUT(); return; } /* end of function */
   2872     RECOMP_REGS_OUT();
   2873 }
   2874 
   2875 void sub_25148388(void) {
   2876     int _fpu_cmp = 0;
   2877     uint32_t _cf = 0;
   2878     int _df = 1;
   2879     uint32_t _flag_k = FK_NONE;
   2880     uint32_t _flag_a = 0, _flag_b = 0;
   2881     uint32_t _itail_tgt = 0;
   2882     RECOMP_REGS_LOCALS
   2883     RECOMP_ENTER(0x25148388u);
   2884 
   2885     goto L_25148388;
   2886 L_251380C4:
   2887     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2888 L_25148388:
   2889     eax = 0x25168928u; /* 0x25148388: mov eax, 0x25168928 */
   2890 L_2514838D:
   2891     RECOMP_BACKEDGE();
   2892     goto L_251380C4; /* 0x2514838D: jmp 0x251380c4 */
   2893     { RECOMP_REGS_OUT(); return; } /* end of function */
   2894   _ljump:
   2895     switch (_itail_tgt) {
   2896       case 0x251380C4u: goto L_251380C4;
   2897       case 0x25148388u: goto L_25148388;
   2898       case 0x2514838Du: goto L_2514838D;
   2899       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2900     }
   2901     RECOMP_REGS_OUT();
   2902 }
   2903 
   2904 void sub_251483A0(void) {
   2905     int _fpu_cmp = 0;
   2906     uint32_t _cf = 0;
   2907     int _df = 1;
   2908     uint32_t _flag_k = FK_NONE;
   2909     uint32_t _flag_a = 0, _flag_b = 0;
   2910     uint32_t _itail_tgt = 0;
   2911     RECOMP_REGS_LOCALS
   2912     RECOMP_ENTER(0x251483A0u);
   2913 
   2914 L_251483A0:
   2915     ecx = ebp + (-0x54); /* 0x251483A0: lea ecx, [ebp - 0x54] */
   2916     goto L_25009BC0; /* 0x251483A3: jmp 0x25009bc0 */
   2917     { RECOMP_REGS_OUT(); return; } /* end of function */
   2918     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2919     RECOMP_REGS_OUT();
   2920 }
   2921 
   2922 void sub_251483A8(void) {
   2923     int _fpu_cmp = 0;
   2924     uint32_t _cf = 0;
   2925     int _df = 1;
   2926     uint32_t _flag_k = FK_NONE;
   2927     uint32_t _flag_a = 0, _flag_b = 0;
   2928     uint32_t _itail_tgt = 0;
   2929     RECOMP_REGS_LOCALS
   2930     RECOMP_ENTER(0x251483A8u);
   2931 
   2932 L_251483A8:
   2933     ecx = ebp + (-0x3C); /* 0x251483A8: lea ecx, [ebp - 0x3c] */
   2934     goto L_25009BC0; /* 0x251483AB: jmp 0x25009bc0 */
   2935     { RECOMP_REGS_OUT(); return; } /* end of function */
   2936     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2937     RECOMP_REGS_OUT();
   2938 }
   2939 
   2940 void sub_251483B0(void) {
   2941     int _fpu_cmp = 0;
   2942     uint32_t _cf = 0;
   2943     int _df = 1;
   2944     uint32_t _flag_k = FK_NONE;
   2945     uint32_t _flag_a = 0, _flag_b = 0;
   2946     uint32_t _itail_tgt = 0;
   2947     RECOMP_REGS_LOCALS
   2948     RECOMP_ENTER(0x251483B0u);
   2949 
   2950 L_251483B0:
   2951     ecx = ebp + (-0x30); /* 0x251483B0: lea ecx, [ebp - 0x30] */
   2952     goto L_25009BC0; /* 0x251483B3: jmp 0x25009bc0 */
   2953     { RECOMP_REGS_OUT(); return; } /* end of function */
   2954     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2955     RECOMP_REGS_OUT();
   2956 }
   2957 
   2958 void sub_251483B8(void) {
   2959     int _fpu_cmp = 0;
   2960     uint32_t _cf = 0;
   2961     int _df = 1;
   2962     uint32_t _flag_k = FK_NONE;
   2963     uint32_t _flag_a = 0, _flag_b = 0;
   2964     uint32_t _itail_tgt = 0;
   2965     RECOMP_REGS_LOCALS
   2966     RECOMP_ENTER(0x251483B8u);
   2967 
   2968 L_251483B8:
   2969     ecx = ebp + (-0x60); /* 0x251483B8: lea ecx, [ebp - 0x60] */
   2970     goto L_25009BC0; /* 0x251483BB: jmp 0x25009bc0 */
   2971     { RECOMP_REGS_OUT(); return; } /* end of function */
   2972     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2973     RECOMP_REGS_OUT();
   2974 }
   2975 
   2976 void sub_251483C0(void) {
   2977     int _fpu_cmp = 0;
   2978     uint32_t _cf = 0;
   2979     int _df = 1;
   2980     uint32_t _flag_k = FK_NONE;
   2981     uint32_t _flag_a = 0, _flag_b = 0;
   2982     uint32_t _itail_tgt = 0;
   2983     RECOMP_REGS_LOCALS
   2984     RECOMP_ENTER(0x251483C0u);
   2985 
   2986 L_251483C0:
   2987     ecx = ebp + (-0x24); /* 0x251483C0: lea ecx, [ebp - 0x24] */
   2988     goto L_25009BC0; /* 0x251483C3: jmp 0x25009bc0 */
   2989     { RECOMP_REGS_OUT(); return; } /* end of function */
   2990     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2991     RECOMP_REGS_OUT();
   2992 }
   2993 
   2994 void sub_251483C8(void) {
   2995     int _fpu_cmp = 0;
   2996     uint32_t _cf = 0;
   2997     int _df = 1;
   2998     uint32_t _flag_k = FK_NONE;
   2999     uint32_t _flag_a = 0, _flag_b = 0;
   3000     uint32_t _itail_tgt = 0;
   3001     RECOMP_REGS_LOCALS
   3002     RECOMP_ENTER(0x251483C8u);
   3003 
   3004 L_251483C8:
   3005     ecx = ebp + (-0x48); /* 0x251483C8: lea ecx, [ebp - 0x48] */
   3006     goto L_25009BC0; /* 0x251483CB: jmp 0x25009bc0 */
   3007     { RECOMP_REGS_OUT(); return; } /* end of function */
   3008     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   3009     RECOMP_REGS_OUT();
   3010 }
   3011 
   3012 void sub_251483D0(void) {
   3013     int _fpu_cmp = 0;
   3014     uint32_t _cf = 0;
   3015     int _df = 1;
   3016     uint32_t _flag_k = FK_NONE;
   3017     uint32_t _flag_a = 0, _flag_b = 0;
   3018     uint32_t _itail_tgt = 0;
   3019     RECOMP_REGS_LOCALS
   3020     RECOMP_ENTER(0x251483D0u);
   3021 
   3022 L_251483D0:
   3023     ecx = ebp + (-0x88); /* 0x251483D0: lea ecx, [ebp - 0x88] */
   3024     goto L_25009BF0; /* 0x251483D6: jmp 0x25009bf0 */
   3025     { RECOMP_REGS_OUT(); return; } /* end of function */
   3026     L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; }
   3027     RECOMP_REGS_OUT();
   3028 }
   3029 
   3030 void sub_251483DB(void) {
   3031     int _fpu_cmp = 0;
   3032     uint32_t _cf = 0;
   3033     int _df = 1;
   3034     uint32_t _flag_k = FK_NONE;
   3035     uint32_t _flag_a = 0, _flag_b = 0;
   3036     uint32_t _itail_tgt = 0;
   3037     RECOMP_REGS_LOCALS
   3038     RECOMP_ENTER(0x251483DBu);
   3039 
   3040 L_251483DB:
   3041     ecx = ebp + (-0xC8); /* 0x251483DB: lea ecx, [ebp - 0xc8] */
   3042 L_251483E1:
   3043     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3044     { RECOMP_REGS_OUT(); return; } /* end of function */
   3045   _ljump:
   3046     switch (_itail_tgt) {
   3047       case 0x251483DBu: goto L_251483DB;
   3048       case 0x251483E1u: goto L_251483E1;
   3049       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3050     }
   3051     RECOMP_REGS_OUT();
   3052 }
   3053 
   3054 void sub_251483E7(void) {
   3055     int _fpu_cmp = 0;
   3056     uint32_t _cf = 0;
   3057     int _df = 1;
   3058     uint32_t _flag_k = FK_NONE;
   3059     uint32_t _flag_a = 0, _flag_b = 0;
   3060     uint32_t _itail_tgt = 0;
   3061     RECOMP_REGS_LOCALS
   3062     RECOMP_ENTER(0x251483E7u);
   3063 
   3064 L_251483E7:
   3065     ecx = ebp + (-0x108); /* 0x251483E7: lea ecx, [ebp - 0x108] */
   3066 L_251483ED:
   3067     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3068     { RECOMP_REGS_OUT(); return; } /* end of function */
   3069   _ljump:
   3070     switch (_itail_tgt) {
   3071       case 0x251483E7u: goto L_251483E7;
   3072       case 0x251483EDu: goto L_251483ED;
   3073       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3074     }
   3075     RECOMP_REGS_OUT();
   3076 }
   3077 
   3078 void sub_251483F3(void) {
   3079     int _fpu_cmp = 0;
   3080     uint32_t _cf = 0;
   3081     int _df = 1;
   3082     uint32_t _flag_k = FK_NONE;
   3083     uint32_t _flag_a = 0, _flag_b = 0;
   3084     uint32_t _itail_tgt = 0;
   3085     RECOMP_REGS_LOCALS
   3086     RECOMP_ENTER(0x251483F3u);
   3087 
   3088     goto L_251483F3;
   3089 L_251380C4:
   3090     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3091 L_251483F3:
   3092     eax = 0x25168950u; /* 0x251483F3: mov eax, 0x25168950 */
   3093 L_251483F8:
   3094     RECOMP_BACKEDGE();
   3095     goto L_251380C4; /* 0x251483F8: jmp 0x251380c4 */
   3096     { RECOMP_REGS_OUT(); return; } /* end of function */
   3097   _ljump:
   3098     switch (_itail_tgt) {
   3099       case 0x251380C4u: goto L_251380C4;
   3100       case 0x251483F3u: goto L_251483F3;
   3101       case 0x251483F8u: goto L_251483F8;
   3102       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3103     }
   3104     RECOMP_REGS_OUT();
   3105 }
   3106 
   3107 void sub_25148400(void) {
   3108     int _fpu_cmp = 0;
   3109     uint32_t _cf = 0;
   3110     int _df = 1;
   3111     uint32_t _flag_k = FK_NONE;
   3112     uint32_t _flag_a = 0, _flag_b = 0;
   3113     uint32_t _itail_tgt = 0;
   3114     RECOMP_REGS_LOCALS
   3115     RECOMP_ENTER(0x25148400u);
   3116 
   3117     goto L_25148400;
   3118 L_2507AC80:
   3119     ecx = MEM32(ecx); /* 0x2507AC80: mov ecx, dword ptr [ecx] */
   3120     /* test ecx, ecx */ /* 0x2507AC82: test ecx, ecx */
   3121     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3122     _cf = 0;
   3123     _flag_k = FK_TEST;
   3124     if (TEST_Z(_flag_a, _flag_b)) goto L_2507AC8D; /* 0x2507AC84: je 0x2507ac8d */
   3125 L_2507AC86:
   3126     eax = MEM32(ecx); /* 0x2507AC86: mov eax, dword ptr [ecx] */
   3127     PUSH32(esp, 0); /* 0x2507AC88: push 0 */
   3128     RECOMP_ICALL(MEM32(eax + 0x28)); /* 0x2507AC8A: call dword ptr [eax + 0x28] */
   3129     RECOMP_FLAGS_IN();
   3130 L_2507AC8D:
   3131     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2507AC8D: ret  */
   3132 L_25148400:
   3133     ecx = ebp + (-0x10); /* 0x25148400: lea ecx, [ebp - 0x10] */
   3134     RECOMP_BACKEDGE();
   3135     goto L_2507AC80; /* 0x25148403: jmp 0x2507ac80 */
   3136     { RECOMP_REGS_OUT(); return; } /* end of function */
   3137     RECOMP_REGS_OUT();
   3138 }
   3139 
   3140 void sub_25148408(void) {
   3141     int _fpu_cmp = 0;
   3142     uint32_t _cf = 0;
   3143     int _df = 1;
   3144     uint32_t _flag_k = FK_NONE;
   3145     uint32_t _flag_a = 0, _flag_b = 0;
   3146     uint32_t _itail_tgt = 0;
   3147     RECOMP_REGS_LOCALS
   3148     RECOMP_ENTER(0x25148408u);
   3149 
   3150 L_25148408:
   3151     eax = MEM32(ebp + (-0x14)); /* 0x25148408: mov eax, dword ptr [ebp - 0x14] */
   3152     PUSH32(esp, eax); /* 0x2514840B: push eax */
   3153     RECOMP_ICALL(0x25137EECu); /* 0x2514840C: call 0x25137eec */ /* not lifted */
   3154     RECOMP_FLAGS_IN();
   3155     ecx = POP32_VAL(esp); /* 0x25148411: pop ecx */
   3156     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148412: ret  */
   3157     RECOMP_REGS_OUT();
   3158 }
   3159 
   3160 void sub_25148413(void) {
   3161     int _fpu_cmp = 0;
   3162     uint32_t _cf = 0;
   3163     int _df = 1;
   3164     uint32_t _flag_k = FK_NONE;
   3165     uint32_t _flag_a = 0, _flag_b = 0;
   3166     uint32_t _itail_tgt = 0;
   3167     RECOMP_REGS_LOCALS
   3168     RECOMP_ENTER(0x25148413u);
   3169 
   3170     goto L_25148413;
   3171 L_251380C4:
   3172     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3173 L_25148413:
   3174     eax = 0x251689B8u; /* 0x25148413: mov eax, 0x251689b8 */
   3175 L_25148418:
   3176     RECOMP_BACKEDGE();
   3177     goto L_251380C4; /* 0x25148418: jmp 0x251380c4 */
   3178     { RECOMP_REGS_OUT(); return; } /* end of function */
   3179   _ljump:
   3180     switch (_itail_tgt) {
   3181       case 0x251380C4u: goto L_251380C4;
   3182       case 0x25148413u: goto L_25148413;
   3183       case 0x25148418u: goto L_25148418;
   3184       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3185     }
   3186     RECOMP_REGS_OUT();
   3187 }
   3188 
   3189 void sub_25148420(void) {
   3190     int _fpu_cmp = 0;
   3191     uint32_t _cf = 0;
   3192     int _df = 1;
   3193     uint32_t _flag_k = FK_NONE;
   3194     uint32_t _flag_a = 0, _flag_b = 0;
   3195     uint32_t _itail_tgt = 0;
   3196     RECOMP_REGS_LOCALS
   3197     RECOMP_ENTER(0x25148420u);
   3198 
   3199 L_25148420:
   3200     eax = MEM32(ebp + (-0x10)); /* 0x25148420: mov eax, dword ptr [ebp - 0x10] */
   3201     PUSH32(esp, eax); /* 0x25148423: push eax */
   3202     RECOMP_ICALL(0x25137EECu); /* 0x25148424: call 0x25137eec */ /* not lifted */
   3203     RECOMP_FLAGS_IN();
   3204     ecx = POP32_VAL(esp); /* 0x25148429: pop ecx */
   3205     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514842A: ret  */
   3206     RECOMP_REGS_OUT();
   3207 }
   3208 
   3209 void sub_2514842B(void) {
   3210     int _fpu_cmp = 0;
   3211     uint32_t _cf = 0;
   3212     int _df = 1;
   3213     uint32_t _flag_k = FK_NONE;
   3214     uint32_t _flag_a = 0, _flag_b = 0;
   3215     uint32_t _itail_tgt = 0;
   3216     RECOMP_REGS_LOCALS
   3217     RECOMP_ENTER(0x2514842Bu);
   3218 
   3219     goto L_2514842B;
   3220 L_251380C4:
   3221     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3222 L_2514842B:
   3223     eax = 0x251689E8u; /* 0x2514842B: mov eax, 0x251689e8 */
   3224 L_25148430:
   3225     RECOMP_BACKEDGE();
   3226     goto L_251380C4; /* 0x25148430: jmp 0x251380c4 */
   3227     { RECOMP_REGS_OUT(); return; } /* end of function */
   3228   _ljump:
   3229     switch (_itail_tgt) {
   3230       case 0x251380C4u: goto L_251380C4;
   3231       case 0x2514842Bu: goto L_2514842B;
   3232       case 0x25148430u: goto L_25148430;
   3233       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3234     }
   3235     RECOMP_REGS_OUT();
   3236 }
   3237 
   3238 void sub_25148440(void) {
   3239     int _fpu_cmp = 0;
   3240     uint32_t _cf = 0;
   3241     int _df = 1;
   3242     uint32_t _flag_k = FK_NONE;
   3243     uint32_t _flag_a = 0, _flag_b = 0;
   3244     uint32_t _itail_tgt = 0;
   3245     RECOMP_REGS_LOCALS
   3246     RECOMP_ENTER(0x25148440u);
   3247 
   3248     goto L_25148440;
   3249 L_250DB0B0:
   3250     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3251     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3252     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3253     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3254     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3255     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3256     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3257     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3258     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3259     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3260     _flag_k = FK_CMP;
   3261     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3262     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3263     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3264     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3265     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3266     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3267     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3268     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3269     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3270     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3271     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3272     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3273     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3274     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3275     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3276     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3277     _cf = 0;
   3278     _flag_k = FK_TEST;
   3279     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3280     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3281     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3282     _flag_k = FK_CMP;
   3283     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3284     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3285 L_250DB11E:
   3286     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3287     RECOMP_FLAGS_IN();
   3288 L_250DB123:
   3289     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3290     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3291     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3292     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3293     RECOMP_FLAGS_IN();
   3294     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3295     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3296     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3297     _flag_k = FK_ADD;
   3298     eax = edi; /* 0x250DB135: mov eax, edi */
   3299     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3300     _cf = (eax) != 0;
   3301     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3302     _flag_k = FK_CMP;
   3303     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3304       eax = _sc ? 0xFFFFFFFFu : 0;
   3305       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3306       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3307     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3308     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3309     _cf = 0;
   3310     _flag_k = FK_TEST;
   3311     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3312     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3313     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3314     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3315     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3316     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3317     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3318     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3319     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3320     _flag_k = FK_CMP;
   3321     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3322     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3323     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3324     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3325     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3326 L_250DB16C:
   3327     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3328     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3329     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3330     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3331     RECOMP_FLAGS_IN();
   3332     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3333     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3334     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3335     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3336     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3338     _flag_k = FK_CMP;
   3339     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3340     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3341     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3342     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3343     _flag_k = FK_NARROW(FK_CMP, 24);
   3344     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3345 L_250DB187:
   3346     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3347     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3348     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3349     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3350     _flag_k = FK_CMP;
   3351     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3352 L_250DB18F:
   3353     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3354     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3355     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3356     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3357     RECOMP_FLAGS_IN();
   3358     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3359     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3360     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3361     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3362     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3363     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3364     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3365     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3366     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3367     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3368     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3369     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3370     RECOMP_FLAGS_IN();
   3371     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3372 L_250DB1BE:
   3373     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3374     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3375     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3376     _flag_k = FK_CMP;
   3377     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3378 L_250DB1C3:
   3379     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3380     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3381     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3382     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3383     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3384     RECOMP_FLAGS_IN();
   3385     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3386     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3387     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3388     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3389     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3390     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3391     RECOMP_FLAGS_IN();
   3392     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3393     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3394     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3396     _flag_k = FK_CMP;
   3397     RECOMP_BACKEDGE();
   3398     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3399 L_250DB1E6:
   3400     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3401     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3402     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3403     RECOMP_FLAGS_IN();
   3404     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3405     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3406     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3407     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3408     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3409     RECOMP_FLAGS_IN();
   3410     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3411     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3412     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3413     _flag_k = FK_ADD;
   3414     eax = edi; /* 0x250DB201: mov eax, edi */
   3415     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3416     _cf = (eax) != 0;
   3417     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3418     _flag_k = FK_CMP;
   3419     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3420       eax = _sc ? 0xFFFFFFFFu : 0;
   3421       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3422       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3423     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3424     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3425     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3426     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3427     _cf = 0;
   3428     _flag_k = FK_TEST;
   3429     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3430     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3431     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3432     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3433     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3434     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3435     _flag_k = FK_CMP;
   3436     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3437     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3438     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3439     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3440     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3441 L_250DB22E:
   3442     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3443     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3444     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3445     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3446     RECOMP_FLAGS_IN();
   3447     edx = eax; /* 0x250DB239: mov edx, eax */
   3448     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3449     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3450     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3451     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3452     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3453     _flag_k = FK_CMP;
   3454     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3455     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3456     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3457     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3458     _flag_k = FK_NARROW(FK_CMP, 24);
   3459     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3460 L_250DB249:
   3461     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3462     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3463     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3464     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3465     _flag_k = FK_CMP;
   3466     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3467 L_250DB251:
   3468     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3469     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3470     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3471     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3472     RECOMP_FLAGS_IN();
   3473     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3474     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3475     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3476     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3477     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3478     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3479     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3480     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3481     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3482     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3483     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3484     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3485     RECOMP_FLAGS_IN();
   3486     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3487 L_250DB280:
   3488     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3489     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3490     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3491     _flag_k = FK_CMP;
   3492     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3493 L_250DB285:
   3494     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3495     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3496     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3497     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3498     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3499     RECOMP_FLAGS_IN();
   3500     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3501     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3502     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3503     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3504     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3505     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3506     RECOMP_FLAGS_IN();
   3507     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3508     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3509     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3510     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3511     _flag_k = FK_CMP;
   3512     RECOMP_BACKEDGE();
   3513     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3514 L_250DB2A8:
   3515     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3516     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3517     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3518     RECOMP_FLAGS_IN();
   3519     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3520     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3521     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3522     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3523     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3524     RECOMP_FLAGS_IN();
   3525     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3526     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3527     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3528     _flag_k = FK_ADD;
   3529     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3530     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3531     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3532     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3533     RECOMP_FLAGS_IN();
   3534     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3535     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3536     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3537     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3538     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3539     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3540     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3541     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3542 L_25148440:
   3543     ecx = MEM32(ebp + (-0x10)); /* 0x25148440: mov ecx, dword ptr [ebp - 0x10] */
   3544     RECOMP_BACKEDGE();
   3545     goto L_250DB0B0; /* 0x25148443: jmp 0x250db0b0 */
   3546     { RECOMP_REGS_OUT(); return; } /* end of function */
   3547     RECOMP_REGS_OUT();
   3548 }
   3549 
   3550 void sub_25148448(void) {
   3551     int _fpu_cmp = 0;
   3552     uint32_t _cf = 0;
   3553     int _df = 1;
   3554     uint32_t _flag_k = FK_NONE;
   3555     uint32_t _flag_a = 0, _flag_b = 0;
   3556     uint32_t _itail_tgt = 0;
   3557     RECOMP_REGS_LOCALS
   3558     RECOMP_ENTER(0x25148448u);
   3559 
   3560 L_25148448:
   3561     eax = MEM32(ebp + 0x8); /* 0x25148448: mov eax, dword ptr [ebp + 8] */
   3562     PUSH32(esp, eax); /* 0x2514844B: push eax */
   3563     RECOMP_ICALL(0x25137EECu); /* 0x2514844C: call 0x25137eec */ /* not lifted */
   3564     RECOMP_FLAGS_IN();
   3565     ecx = POP32_VAL(esp); /* 0x25148451: pop ecx */
   3566     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148452: ret  */
   3567     RECOMP_REGS_OUT();
   3568 }
   3569 
   3570 void sub_25148453(void) {
   3571     int _fpu_cmp = 0;
   3572     uint32_t _cf = 0;
   3573     int _df = 1;
   3574     uint32_t _flag_k = FK_NONE;
   3575     uint32_t _flag_a = 0, _flag_b = 0;
   3576     uint32_t _itail_tgt = 0;
   3577     RECOMP_REGS_LOCALS
   3578     RECOMP_ENTER(0x25148453u);
   3579 
   3580 L_25148453:
   3581     ecx = MEM32(ebp + (-0x10)); /* 0x25148453: mov ecx, dword ptr [ebp - 0x10] */
   3582     goto L_2501C660; /* 0x25148456: jmp 0x2501c660 */
   3583     { RECOMP_REGS_OUT(); return; } /* end of function */
   3584     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   3585     RECOMP_REGS_OUT();
   3586 }
   3587 
   3588 void sub_2514845B(void) {
   3589     int _fpu_cmp = 0;
   3590     uint32_t _cf = 0;
   3591     int _df = 1;
   3592     uint32_t _flag_k = FK_NONE;
   3593     uint32_t _flag_a = 0, _flag_b = 0;
   3594     uint32_t _itail_tgt = 0;
   3595     RECOMP_REGS_LOCALS
   3596     RECOMP_ENTER(0x2514845Bu);
   3597 
   3598     goto L_2514845B;
   3599 L_251380C4:
   3600     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3601 L_2514845B:
   3602     eax = 0x25168A10u; /* 0x2514845B: mov eax, 0x25168a10 */
   3603 L_25148460:
   3604     RECOMP_BACKEDGE();
   3605     goto L_251380C4; /* 0x25148460: jmp 0x251380c4 */
   3606     { RECOMP_REGS_OUT(); return; } /* end of function */
   3607   _ljump:
   3608     switch (_itail_tgt) {
   3609       case 0x251380C4u: goto L_251380C4;
   3610       case 0x2514845Bu: goto L_2514845B;
   3611       case 0x25148460u: goto L_25148460;
   3612       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3613     }
   3614     RECOMP_REGS_OUT();
   3615 }
   3616 
   3617 void sub_25148470(void) {
   3618     int _fpu_cmp = 0;
   3619     uint32_t _cf = 0;
   3620     int _df = 1;
   3621     uint32_t _flag_k = FK_NONE;
   3622     uint32_t _flag_a = 0, _flag_b = 0;
   3623     uint32_t _itail_tgt = 0;
   3624     RECOMP_REGS_LOCALS
   3625     RECOMP_ENTER(0x25148470u);
   3626 
   3627     goto L_25148470;
   3628 L_250DB0B0:
   3629     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3630     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3631     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3632     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3633     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3634     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3635     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3636     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3638     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3639     _flag_k = FK_CMP;
   3640     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3641     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3642     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3643     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3644     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3645     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3646     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3647     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3648     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3649     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3650     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3651     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3652     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3653     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3654     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3655     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3656     _cf = 0;
   3657     _flag_k = FK_TEST;
   3658     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3659     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3660     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3661     _flag_k = FK_CMP;
   3662     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3663     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3664 L_250DB11E:
   3665     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3666     RECOMP_FLAGS_IN();
   3667 L_250DB123:
   3668     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3669     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3670     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3671     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3672     RECOMP_FLAGS_IN();
   3673     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3674     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3675     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3676     _flag_k = FK_ADD;
   3677     eax = edi; /* 0x250DB135: mov eax, edi */
   3678     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3679     _cf = (eax) != 0;
   3680     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3681     _flag_k = FK_CMP;
   3682     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3683       eax = _sc ? 0xFFFFFFFFu : 0;
   3684       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3685       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3686     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3687     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3688     _cf = 0;
   3689     _flag_k = FK_TEST;
   3690     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3691     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3692     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3693     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3694     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3695     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3696     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3697     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3699     _flag_k = FK_CMP;
   3700     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3701     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3702     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3703     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3704     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3705 L_250DB16C:
   3706     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3707     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3708     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3709     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3710     RECOMP_FLAGS_IN();
   3711     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3712     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3713     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3714     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3715     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3716     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3717     _flag_k = FK_CMP;
   3718     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3719     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3720     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3721     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3722     _flag_k = FK_NARROW(FK_CMP, 24);
   3723     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3724 L_250DB187:
   3725     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3726     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3727     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3728     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3729     _flag_k = FK_CMP;
   3730     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3731 L_250DB18F:
   3732     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3733     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3734     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3735     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3736     RECOMP_FLAGS_IN();
   3737     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3738     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3739     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3740     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3741     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3742     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3743     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3744     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3745     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3746     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3747     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3748     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3749     RECOMP_FLAGS_IN();
   3750     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3751 L_250DB1BE:
   3752     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3753     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3754     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3755     _flag_k = FK_CMP;
   3756     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3757 L_250DB1C3:
   3758     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3759     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3760     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3761     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3762     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3763     RECOMP_FLAGS_IN();
   3764     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3765     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3766     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3767     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3768     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3769     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3770     RECOMP_FLAGS_IN();
   3771     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3772     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3773     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3774     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3775     _flag_k = FK_CMP;
   3776     RECOMP_BACKEDGE();
   3777     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3778 L_250DB1E6:
   3779     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3780     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3781     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3782     RECOMP_FLAGS_IN();
   3783     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3784     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3785     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3786     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3787     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3788     RECOMP_FLAGS_IN();
   3789     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3790     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3791     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3792     _flag_k = FK_ADD;
   3793     eax = edi; /* 0x250DB201: mov eax, edi */
   3794     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3795     _cf = (eax) != 0;
   3796     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3797     _flag_k = FK_CMP;
   3798     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3799       eax = _sc ? 0xFFFFFFFFu : 0;
   3800       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3801       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3802     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3803     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3804     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3805     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3806     _cf = 0;
   3807     _flag_k = FK_TEST;
   3808     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3809     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3810     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3811     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3812     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3813     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3814     _flag_k = FK_CMP;
   3815     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3816     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3817     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3818     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3819     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3820 L_250DB22E:
   3821     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3822     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3823     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3824     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3825     RECOMP_FLAGS_IN();
   3826     edx = eax; /* 0x250DB239: mov edx, eax */
   3827     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3828     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3829     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3830     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3831     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3832     _flag_k = FK_CMP;
   3833     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3834     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3835     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3836     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3837     _flag_k = FK_NARROW(FK_CMP, 24);
   3838     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3839 L_250DB249:
   3840     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3841     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3842     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3843     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3844     _flag_k = FK_CMP;
   3845     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3846 L_250DB251:
   3847     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3848     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3849     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3850     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3851     RECOMP_FLAGS_IN();
   3852     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3853     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3854     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3855     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3856     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3857     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3858     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3859     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3860     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3861     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3862     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3863     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3864     RECOMP_FLAGS_IN();
   3865     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3866 L_250DB280:
   3867     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3868     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3869     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3870     _flag_k = FK_CMP;
   3871     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3872 L_250DB285:
   3873     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3874     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3875     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3876     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3877     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3878     RECOMP_FLAGS_IN();
   3879     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3880     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3881     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3882     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3883     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3884     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3885     RECOMP_FLAGS_IN();
   3886     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3887     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3888     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3889     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3890     _flag_k = FK_CMP;
   3891     RECOMP_BACKEDGE();
   3892     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3893 L_250DB2A8:
   3894     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3895     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3896     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3897     RECOMP_FLAGS_IN();
   3898     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3899     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3900     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3901     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3902     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3903     RECOMP_FLAGS_IN();
   3904     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3905     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3906     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3907     _flag_k = FK_ADD;
   3908     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3909     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3910     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3911     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3912     RECOMP_FLAGS_IN();
   3913     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3914     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3915     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3916     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3917     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3918     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3919     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3920     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3921 L_25148470:
   3922     ecx = MEM32(ebp + (-0x10)); /* 0x25148470: mov ecx, dword ptr [ebp - 0x10] */
   3923     RECOMP_BACKEDGE();
   3924     goto L_250DB0B0; /* 0x25148473: jmp 0x250db0b0 */
   3925     { RECOMP_REGS_OUT(); return; } /* end of function */
   3926     RECOMP_REGS_OUT();
   3927 }
   3928 
   3929 void sub_25148478(void) {
   3930     int _fpu_cmp = 0;
   3931     uint32_t _cf = 0;
   3932     int _df = 1;
   3933     uint32_t _flag_k = FK_NONE;
   3934     uint32_t _flag_a = 0, _flag_b = 0;
   3935     uint32_t _itail_tgt = 0;
   3936     RECOMP_REGS_LOCALS
   3937     RECOMP_ENTER(0x25148478u);
   3938 
   3939     goto L_25148478;
   3940 L_251380C4:
   3941     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3942 L_25148478:
   3943     eax = 0x25168A48u; /* 0x25148478: mov eax, 0x25168a48 */
   3944 L_2514847D:
   3945     RECOMP_BACKEDGE();
   3946     goto L_251380C4; /* 0x2514847D: jmp 0x251380c4 */
   3947     { RECOMP_REGS_OUT(); return; } /* end of function */
   3948   _ljump:
   3949     switch (_itail_tgt) {
   3950       case 0x251380C4u: goto L_251380C4;
   3951       case 0x25148478u: goto L_25148478;
   3952       case 0x2514847Du: goto L_2514847D;
   3953       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3954     }
   3955     RECOMP_REGS_OUT();
   3956 }
   3957 
   3958 void sub_25148490(void) {
   3959     int _fpu_cmp = 0;
   3960     uint32_t _cf = 0;
   3961     int _df = 1;
   3962     uint32_t _flag_k = FK_NONE;
   3963     uint32_t _flag_a = 0, _flag_b = 0;
   3964     uint32_t _itail_tgt = 0;
   3965     RECOMP_REGS_LOCALS
   3966     RECOMP_ENTER(0x25148490u);
   3967 
   3968     goto L_25148490;
   3969 L_250DB0B0:
   3970     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3971     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3972     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3973     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3974     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3975     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3976     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3977     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3978     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3979     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3980     _flag_k = FK_CMP;
   3981     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3982     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3983     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3984     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3985     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3986     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3987     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3988     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3989     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3990     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3991     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3992     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3993     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3994     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3995     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3996     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3997     _cf = 0;
   3998     _flag_k = FK_TEST;
   3999     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4000     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4002     _flag_k = FK_CMP;
   4003     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4004     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4005 L_250DB11E:
   4006     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4007     RECOMP_FLAGS_IN();
   4008 L_250DB123:
   4009     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4010     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4011     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4012     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4013     RECOMP_FLAGS_IN();
   4014     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4015     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4016     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4017     _flag_k = FK_ADD;
   4018     eax = edi; /* 0x250DB135: mov eax, edi */
   4019     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4020     _cf = (eax) != 0;
   4021     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4022     _flag_k = FK_CMP;
   4023     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4024       eax = _sc ? 0xFFFFFFFFu : 0;
   4025       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4026       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4027     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4028     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4029     _cf = 0;
   4030     _flag_k = FK_TEST;
   4031     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4032     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4033     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4034     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4035     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4036     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4037     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4038     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4039     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4040     _flag_k = FK_CMP;
   4041     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4042     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4043     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4044     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   4045     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   4046 L_250DB16C:
   4047     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   4048     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   4049     ecx = esi; /* 0x250DB170: mov ecx, esi */
   4050     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   4051     RECOMP_FLAGS_IN();
   4052     ecx = eax; /* 0x250DB177: mov ecx, eax */
   4053     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   4054     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   4055     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   4056     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4057     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4058     _flag_k = FK_CMP;
   4059     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   4060     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   4061     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4062     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4063     _flag_k = FK_NARROW(FK_CMP, 24);
   4064     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   4065 L_250DB187:
   4066     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   4067     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   4068     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4070     _flag_k = FK_CMP;
   4071     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   4072 L_250DB18F:
   4073     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   4074     PUSH32(esp, edx); /* 0x250DB192: push edx */
   4075     ecx = esi; /* 0x250DB193: mov ecx, esi */
   4076     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   4077     RECOMP_FLAGS_IN();
   4078     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   4079     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   4080     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   4081     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   4082     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   4083     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   4084     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   4085     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   4086     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   4087     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   4088     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   4089     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   4090     RECOMP_FLAGS_IN();
   4091     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   4092 L_250DB1BE:
   4093     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   4094     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   4095     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4096     _flag_k = FK_CMP;
   4097     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   4098 L_250DB1C3:
   4099     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   4100     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   4101     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   4102     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   4103     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   4104     RECOMP_FLAGS_IN();
   4105     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   4106     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   4107     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   4108     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   4109     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   4110     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   4111     RECOMP_FLAGS_IN();
   4112     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   4113     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   4114     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   4115     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4116     _flag_k = FK_CMP;
   4117     RECOMP_BACKEDGE();
   4118     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   4119 L_250DB1E6:
   4120     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   4121     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   4122     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   4123     RECOMP_FLAGS_IN();
   4124     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   4125     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   4126     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   4127     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   4128     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   4129     RECOMP_FLAGS_IN();
   4130     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4131     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4132     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   4133     _flag_k = FK_ADD;
   4134     eax = edi; /* 0x250DB201: mov eax, edi */
   4135     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4136     _cf = (eax) != 0;
   4137     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   4138     _flag_k = FK_CMP;
   4139     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   4140       eax = _sc ? 0xFFFFFFFFu : 0;
   4141       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4142       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4143     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   4144     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   4145     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4146     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   4147     _cf = 0;
   4148     _flag_k = FK_TEST;
   4149     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   4150     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   4151     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   4152     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   4153     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4154     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4155     _flag_k = FK_CMP;
   4156     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   4157     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   4158     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   4159     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   4160     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   4161 L_250DB22E:
   4162     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   4163     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   4164     ecx = esi; /* 0x250DB232: mov ecx, esi */
   4165     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   4166     RECOMP_FLAGS_IN();
   4167     edx = eax; /* 0x250DB239: mov edx, eax */
   4168     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   4169     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   4170     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   4171     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4172     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4173     _flag_k = FK_CMP;
   4174     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   4175     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   4176     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4178     _flag_k = FK_NARROW(FK_CMP, 24);
   4179     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   4180 L_250DB249:
   4181     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   4182     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   4183     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   4184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4185     _flag_k = FK_CMP;
   4186     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   4187 L_250DB251:
   4188     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   4189     PUSH32(esp, eax); /* 0x250DB254: push eax */
   4190     ecx = esi; /* 0x250DB255: mov ecx, esi */
   4191     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   4192     RECOMP_FLAGS_IN();
   4193     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   4194     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   4195     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   4196     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   4197     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   4198     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   4199     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   4200     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   4201     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   4202     PUSH32(esp, eax); /* 0x250DB276: push eax */
   4203     ecx = esi; /* 0x250DB277: mov ecx, esi */
   4204     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   4205     RECOMP_FLAGS_IN();
   4206     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   4207 L_250DB280:
   4208     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   4209     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   4210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4211     _flag_k = FK_CMP;
   4212     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   4213 L_250DB285:
   4214     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   4215     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   4216     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   4217     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   4218     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   4219     RECOMP_FLAGS_IN();
   4220     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   4221     PUSH32(esp, edx); /* 0x250DB294: push edx */
   4222     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   4223     PUSH32(esp, eax); /* 0x250DB298: push eax */
   4224     ecx = esi; /* 0x250DB299: mov ecx, esi */
   4225     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   4226     RECOMP_FLAGS_IN();
   4227     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   4228     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   4229     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4230     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4231     _flag_k = FK_CMP;
   4232     RECOMP_BACKEDGE();
   4233     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   4234 L_250DB2A8:
   4235     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   4236     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   4237     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   4238     RECOMP_FLAGS_IN();
   4239     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   4240     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   4241     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   4242     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   4243     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   4244     RECOMP_FLAGS_IN();
   4245     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4246     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4247     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   4248     _flag_k = FK_ADD;
   4249     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   4250     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   4251     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   4252     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   4253     RECOMP_FLAGS_IN();
   4254     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   4255     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   4256     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   4257     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   4258     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   4259     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   4260     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   4261     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   4262 L_25148490:
   4263     ecx = MEM32(ebp + (-0x10)); /* 0x25148490: mov ecx, dword ptr [ebp - 0x10] */
   4264     RECOMP_BACKEDGE();
   4265     goto L_250DB0B0; /* 0x25148493: jmp 0x250db0b0 */
   4266     { RECOMP_REGS_OUT(); return; } /* end of function */
   4267     RECOMP_REGS_OUT();
   4268 }
   4269 
   4270 void sub_25148498(void) {
   4271     int _fpu_cmp = 0;
   4272     uint32_t _cf = 0;
   4273     int _df = 1;
   4274     uint32_t _flag_k = FK_NONE;
   4275     uint32_t _flag_a = 0, _flag_b = 0;
   4276     uint32_t _itail_tgt = 0;
   4277     RECOMP_REGS_LOCALS
   4278     RECOMP_ENTER(0x25148498u);
   4279 
   4280 L_25148498:
   4281     eax = MEM32(ebp + 0x8); /* 0x25148498: mov eax, dword ptr [ebp + 8] */
   4282     PUSH32(esp, eax); /* 0x2514849B: push eax */
   4283     RECOMP_ICALL(0x25137EECu); /* 0x2514849C: call 0x25137eec */ /* not lifted */
   4284     RECOMP_FLAGS_IN();
   4285     ecx = POP32_VAL(esp); /* 0x251484A1: pop ecx */
   4286     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251484A2: ret  */
   4287     RECOMP_REGS_OUT();
   4288 }
   4289 
   4290 void sub_251484A3(void) {
   4291     int _fpu_cmp = 0;
   4292     uint32_t _cf = 0;
   4293     int _df = 1;
   4294     uint32_t _flag_k = FK_NONE;
   4295     uint32_t _flag_a = 0, _flag_b = 0;
   4296     uint32_t _itail_tgt = 0;
   4297     RECOMP_REGS_LOCALS
   4298     RECOMP_ENTER(0x251484A3u);
   4299 
   4300 L_251484A3:
   4301     ecx = MEM32(ebp + (-0x10)); /* 0x251484A3: mov ecx, dword ptr [ebp - 0x10] */
   4302     goto L_2501C660; /* 0x251484A6: jmp 0x2501c660 */
   4303     { RECOMP_REGS_OUT(); return; } /* end of function */
   4304     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   4305     RECOMP_REGS_OUT();
   4306 }
   4307 
   4308 void sub_251484AB(void) {
   4309     int _fpu_cmp = 0;
   4310     uint32_t _cf = 0;
   4311     int _df = 1;
   4312     uint32_t _flag_k = FK_NONE;
   4313     uint32_t _flag_a = 0, _flag_b = 0;
   4314     uint32_t _itail_tgt = 0;
   4315     RECOMP_REGS_LOCALS
   4316     RECOMP_ENTER(0x251484ABu);
   4317 
   4318     goto L_251484AB;
   4319 L_251380C4:
   4320     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4321 L_251484AB:
   4322     eax = 0x25168A70u; /* 0x251484AB: mov eax, 0x25168a70 */
   4323 L_251484B0:
   4324     RECOMP_BACKEDGE();
   4325     goto L_251380C4; /* 0x251484B0: jmp 0x251380c4 */
   4326     { RECOMP_REGS_OUT(); return; } /* end of function */
   4327   _ljump:
   4328     switch (_itail_tgt) {
   4329       case 0x251380C4u: goto L_251380C4;
   4330       case 0x251484ABu: goto L_251484AB;
   4331       case 0x251484B0u: goto L_251484B0;
   4332       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4333     }
   4334     RECOMP_REGS_OUT();
   4335 }
   4336 
   4337 void sub_251484C0(void) {
   4338     int _fpu_cmp = 0;
   4339     uint32_t _cf = 0;
   4340     int _df = 1;
   4341     uint32_t _flag_k = FK_NONE;
   4342     uint32_t _flag_a = 0, _flag_b = 0;
   4343     uint32_t _itail_tgt = 0;
   4344     RECOMP_REGS_LOCALS
   4345     RECOMP_ENTER(0x251484C0u);
   4346 
   4347     goto L_251484C0;
   4348 L_250DB0B0:
   4349     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   4350     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   4351     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   4352     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   4353     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   4354     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   4355     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   4356     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4357     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4358     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   4359     _flag_k = FK_CMP;
   4360     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   4361     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   4362     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   4363     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   4364     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   4365     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   4366     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   4367     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   4368     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   4369     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   4370     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   4371     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   4372     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   4373     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   4374     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4375     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   4376     _cf = 0;
   4377     _flag_k = FK_TEST;
   4378     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4379     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4380     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4381     _flag_k = FK_CMP;
   4382     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4383     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4384 L_250DB11E:
   4385     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4386     RECOMP_FLAGS_IN();
   4387 L_250DB123:
   4388     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4389     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4390     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4391     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4392     RECOMP_FLAGS_IN();
   4393     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4394     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4395     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4396     _flag_k = FK_ADD;
   4397     eax = edi; /* 0x250DB135: mov eax, edi */
   4398     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4399     _cf = (eax) != 0;
   4400     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4401     _flag_k = FK_CMP;
   4402     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4403       eax = _sc ? 0xFFFFFFFFu : 0;
   4404       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4405       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4406     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4407     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4408     _cf = 0;
   4409     _flag_k = FK_TEST;
   4410     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4411     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4412     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4413     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4414     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4415     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4416     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4417     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4418     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4419     _flag_k = FK_CMP;
   4420     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4421     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4422     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4423     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   4424     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   4425 L_250DB16C:
   4426     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   4427     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   4428     ecx = esi; /* 0x250DB170: mov ecx, esi */
   4429     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   4430     RECOMP_FLAGS_IN();
   4431     ecx = eax; /* 0x250DB177: mov ecx, eax */
   4432     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   4433     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   4434     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   4435     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4436     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4437     _flag_k = FK_CMP;
   4438     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   4439     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   4440     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4442     _flag_k = FK_NARROW(FK_CMP, 24);
   4443     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   4444 L_250DB187:
   4445     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   4446     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   4447     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4448     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4449     _flag_k = FK_CMP;
   4450     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   4451 L_250DB18F:
   4452     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   4453     PUSH32(esp, edx); /* 0x250DB192: push edx */
   4454     ecx = esi; /* 0x250DB193: mov ecx, esi */
   4455     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   4456     RECOMP_FLAGS_IN();
   4457     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   4458     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   4459     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   4460     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   4461     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   4462     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   4463     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   4464     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   4465     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   4466     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   4467     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   4468     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   4469     RECOMP_FLAGS_IN();
   4470     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   4471 L_250DB1BE:
   4472     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   4473     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   4474     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4475     _flag_k = FK_CMP;
   4476     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   4477 L_250DB1C3:
   4478     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   4479     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   4480     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   4481     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   4482     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   4483     RECOMP_FLAGS_IN();
   4484     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   4485     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   4486     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   4487     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   4488     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   4489     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   4490     RECOMP_FLAGS_IN();
   4491     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   4492     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   4493     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   4494     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4495     _flag_k = FK_CMP;
   4496     RECOMP_BACKEDGE();
   4497     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   4498 L_250DB1E6:
   4499     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   4500     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   4501     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   4502     RECOMP_FLAGS_IN();
   4503     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   4504     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   4505     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   4506     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   4507     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   4508     RECOMP_FLAGS_IN();
   4509     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4510     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4511     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   4512     _flag_k = FK_ADD;
   4513     eax = edi; /* 0x250DB201: mov eax, edi */
   4514     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4515     _cf = (eax) != 0;
   4516     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   4517     _flag_k = FK_CMP;
   4518     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   4519       eax = _sc ? 0xFFFFFFFFu : 0;
   4520       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4521       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4522     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   4523     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   4524     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4525     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   4526     _cf = 0;
   4527     _flag_k = FK_TEST;
   4528     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   4529     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   4530     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   4531     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   4532     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4533     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4534     _flag_k = FK_CMP;
   4535     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   4536     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   4537     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   4538     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   4539     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   4540 L_250DB22E:
   4541     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   4542     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   4543     ecx = esi; /* 0x250DB232: mov ecx, esi */
   4544     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   4545     RECOMP_FLAGS_IN();
   4546     edx = eax; /* 0x250DB239: mov edx, eax */
   4547     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   4548     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   4549     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   4550     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4551     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4552     _flag_k = FK_CMP;
   4553     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   4554     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   4555     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4556     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4557     _flag_k = FK_NARROW(FK_CMP, 24);
   4558     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   4559 L_250DB249:
   4560     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   4561     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   4562     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   4563     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4564     _flag_k = FK_CMP;
   4565     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   4566 L_250DB251:
   4567     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   4568     PUSH32(esp, eax); /* 0x250DB254: push eax */
   4569     ecx = esi; /* 0x250DB255: mov ecx, esi */
   4570     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   4571     RECOMP_FLAGS_IN();
   4572     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   4573     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   4574     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   4575     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   4576     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   4577     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   4578     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   4579     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   4580     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   4581     PUSH32(esp, eax); /* 0x250DB276: push eax */
   4582     ecx = esi; /* 0x250DB277: mov ecx, esi */
   4583     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   4584     RECOMP_FLAGS_IN();
   4585     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   4586 L_250DB280:
   4587     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   4588     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   4589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4590     _flag_k = FK_CMP;
   4591     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   4592 L_250DB285:
   4593     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   4594     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   4595     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   4596     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   4597     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   4598     RECOMP_FLAGS_IN();
   4599     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   4600     PUSH32(esp, edx); /* 0x250DB294: push edx */
   4601     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   4602     PUSH32(esp, eax); /* 0x250DB298: push eax */
   4603     ecx = esi; /* 0x250DB299: mov ecx, esi */
   4604     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   4605     RECOMP_FLAGS_IN();
   4606     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   4607     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   4608     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4609     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4610     _flag_k = FK_CMP;
   4611     RECOMP_BACKEDGE();
   4612     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   4613 L_250DB2A8:
   4614     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   4615     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   4616     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   4617     RECOMP_FLAGS_IN();
   4618     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   4619     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   4620     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   4621     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   4622     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   4623     RECOMP_FLAGS_IN();
   4624     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4625     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4626     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   4627     _flag_k = FK_ADD;
   4628     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   4629     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   4630     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   4631     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   4632     RECOMP_FLAGS_IN();
   4633     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   4634     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   4635     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   4636     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   4637     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   4638     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   4639     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   4640     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   4641 L_251484C0:
   4642     ecx = MEM32(ebp + (-0x10)); /* 0x251484C0: mov ecx, dword ptr [ebp - 0x10] */
   4643     RECOMP_BACKEDGE();
   4644     goto L_250DB0B0; /* 0x251484C3: jmp 0x250db0b0 */
   4645     { RECOMP_REGS_OUT(); return; } /* end of function */
   4646     RECOMP_REGS_OUT();
   4647 }
   4648 
   4649 void sub_251484C8(void) {
   4650     int _fpu_cmp = 0;
   4651     uint32_t _cf = 0;
   4652     int _df = 1;
   4653     uint32_t _flag_k = FK_NONE;
   4654     uint32_t _flag_a = 0, _flag_b = 0;
   4655     uint32_t _itail_tgt = 0;
   4656     RECOMP_REGS_LOCALS
   4657     RECOMP_ENTER(0x251484C8u);
   4658 
   4659     goto L_251484C8;
   4660 L_251380C4:
   4661     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4662 L_251484C8:
   4663     eax = 0x25168AA8u; /* 0x251484C8: mov eax, 0x25168aa8 */
   4664 L_251484CD:
   4665     RECOMP_BACKEDGE();
   4666     goto L_251380C4; /* 0x251484CD: jmp 0x251380c4 */
   4667     { RECOMP_REGS_OUT(); return; } /* end of function */
   4668   _ljump:
   4669     switch (_itail_tgt) {
   4670       case 0x251380C4u: goto L_251380C4;
   4671       case 0x251484C8u: goto L_251484C8;
   4672       case 0x251484CDu: goto L_251484CD;
   4673       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4674     }
   4675     RECOMP_REGS_OUT();
   4676 }
   4677 
   4678 void sub_251484E0(void) {
   4679     int _fpu_cmp = 0;
   4680     uint32_t _cf = 0;
   4681     int _df = 1;
   4682     uint32_t _flag_k = FK_NONE;
   4683     uint32_t _flag_a = 0, _flag_b = 0;
   4684     uint32_t _itail_tgt = 0;
   4685     RECOMP_REGS_LOCALS
   4686     RECOMP_ENTER(0x251484E0u);
   4687 
   4688     goto L_251484E0;
   4689 L_250DB0B0:
   4690     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   4691     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   4692     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   4693     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   4694     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   4695     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   4696     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   4697     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4699     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   4700     _flag_k = FK_CMP;
   4701     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   4702     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   4703     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   4704     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   4705     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   4706     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   4707     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   4708     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   4709     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   4710     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   4711     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   4712     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   4713     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   4714     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   4715     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4716     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   4717     _cf = 0;
   4718     _flag_k = FK_TEST;
   4719     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4720     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4721     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4722     _flag_k = FK_CMP;
   4723     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4724     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4725 L_250DB11E:
   4726     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4727     RECOMP_FLAGS_IN();
   4728 L_250DB123:
   4729     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4730     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4731     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4732     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4733     RECOMP_FLAGS_IN();
   4734     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4735     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4736     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4737     _flag_k = FK_ADD;
   4738     eax = edi; /* 0x250DB135: mov eax, edi */
   4739     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4740     _cf = (eax) != 0;
   4741     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4742     _flag_k = FK_CMP;
   4743     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4744       eax = _sc ? 0xFFFFFFFFu : 0;
   4745       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4746       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4747     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4748     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4749     _cf = 0;
   4750     _flag_k = FK_TEST;
   4751     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4752     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4753     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4754     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4755     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4756     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4757     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4758     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4759     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4760     _flag_k = FK_CMP;
   4761     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4762     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4763     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4764     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   4765     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   4766 L_250DB16C:
   4767     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   4768     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   4769     ecx = esi; /* 0x250DB170: mov ecx, esi */
   4770     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   4771     RECOMP_FLAGS_IN();
   4772     ecx = eax; /* 0x250DB177: mov ecx, eax */
   4773     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   4774     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   4775     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   4776     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4777     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4778     _flag_k = FK_CMP;
   4779     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   4780     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   4781     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4782     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4783     _flag_k = FK_NARROW(FK_CMP, 24);
   4784     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   4785 L_250DB187:
   4786     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   4787     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   4788     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4790     _flag_k = FK_CMP;
   4791     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   4792 L_250DB18F:
   4793     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   4794     PUSH32(esp, edx); /* 0x250DB192: push edx */
   4795     ecx = esi; /* 0x250DB193: mov ecx, esi */
   4796     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   4797     RECOMP_FLAGS_IN();
   4798     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   4799     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   4800     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   4801     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   4802     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   4803     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   4804     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   4805     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   4806     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   4807     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   4808     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   4809     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   4810     RECOMP_FLAGS_IN();
   4811     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   4812 L_250DB1BE:
   4813     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   4814     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   4815     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4816     _flag_k = FK_CMP;
   4817     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   4818 L_250DB1C3:
   4819     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   4820     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   4821     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   4822     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   4823     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   4824     RECOMP_FLAGS_IN();
   4825     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   4826     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   4827     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   4828     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   4829     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   4830     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   4831     RECOMP_FLAGS_IN();
   4832     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   4833     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   4834     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   4835     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4836     _flag_k = FK_CMP;
   4837     RECOMP_BACKEDGE();
   4838     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   4839 L_250DB1E6:
   4840     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   4841     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   4842     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   4843     RECOMP_FLAGS_IN();
   4844     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   4845     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   4846     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   4847     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   4848     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   4849     RECOMP_FLAGS_IN();
   4850     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4851     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4852     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   4853     _flag_k = FK_ADD;
   4854     eax = edi; /* 0x250DB201: mov eax, edi */
   4855     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4856     _cf = (eax) != 0;
   4857     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   4858     _flag_k = FK_CMP;
   4859     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   4860       eax = _sc ? 0xFFFFFFFFu : 0;
   4861       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4862       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4863     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   4864     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   4865     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4866     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   4867     _cf = 0;
   4868     _flag_k = FK_TEST;
   4869     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   4870     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   4871     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   4872     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   4873     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4874     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4875     _flag_k = FK_CMP;
   4876     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   4877     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   4878     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   4879     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   4880     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   4881 L_250DB22E:
   4882     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   4883     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   4884     ecx = esi; /* 0x250DB232: mov ecx, esi */
   4885     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   4886     RECOMP_FLAGS_IN();
   4887     edx = eax; /* 0x250DB239: mov edx, eax */
   4888     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   4889     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   4890     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   4891     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4892     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4893     _flag_k = FK_CMP;
   4894     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   4895     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   4896     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4897     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4898     _flag_k = FK_NARROW(FK_CMP, 24);
   4899     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   4900 L_250DB249:
   4901     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   4902     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   4903     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   4904     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4905     _flag_k = FK_CMP;
   4906     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   4907 L_250DB251:
   4908     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   4909     PUSH32(esp, eax); /* 0x250DB254: push eax */
   4910     ecx = esi; /* 0x250DB255: mov ecx, esi */
   4911     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   4912     RECOMP_FLAGS_IN();
   4913     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   4914     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   4915     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   4916     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   4917     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   4918     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   4919     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   4920     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   4921     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   4922     PUSH32(esp, eax); /* 0x250DB276: push eax */
   4923     ecx = esi; /* 0x250DB277: mov ecx, esi */
   4924     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   4925     RECOMP_FLAGS_IN();
   4926     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   4927 L_250DB280:
   4928     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   4929     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   4930     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4931     _flag_k = FK_CMP;
   4932     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   4933 L_250DB285:
   4934     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   4935     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   4936     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   4937     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   4938     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   4939     RECOMP_FLAGS_IN();
   4940     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   4941     PUSH32(esp, edx); /* 0x250DB294: push edx */
   4942     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   4943     PUSH32(esp, eax); /* 0x250DB298: push eax */
   4944     ecx = esi; /* 0x250DB299: mov ecx, esi */
   4945     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   4946     RECOMP_FLAGS_IN();
   4947     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   4948     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   4949     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4950     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4951     _flag_k = FK_CMP;
   4952     RECOMP_BACKEDGE();
   4953     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   4954 L_250DB2A8:
   4955     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   4956     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   4957     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   4958     RECOMP_FLAGS_IN();
   4959     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   4960     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   4961     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   4962     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   4963     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   4964     RECOMP_FLAGS_IN();
   4965     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4966     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4967     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   4968     _flag_k = FK_ADD;
   4969     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   4970     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   4971     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   4972     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   4973     RECOMP_FLAGS_IN();
   4974     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   4975     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   4976     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   4977     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   4978     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   4979     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   4980     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   4981     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   4982 L_251484E0:
   4983     ecx = MEM32(ebp + (-0x10)); /* 0x251484E0: mov ecx, dword ptr [ebp - 0x10] */
   4984     RECOMP_BACKEDGE();
   4985     goto L_250DB0B0; /* 0x251484E3: jmp 0x250db0b0 */
   4986     { RECOMP_REGS_OUT(); return; } /* end of function */
   4987     RECOMP_REGS_OUT();
   4988 }
   4989 
   4990 void sub_251484E8(void) {
   4991     int _fpu_cmp = 0;
   4992     uint32_t _cf = 0;
   4993     int _df = 1;
   4994     uint32_t _flag_k = FK_NONE;
   4995     uint32_t _flag_a = 0, _flag_b = 0;
   4996     uint32_t _itail_tgt = 0;
   4997     RECOMP_REGS_LOCALS
   4998     RECOMP_ENTER(0x251484E8u);
   4999 
   5000 L_251484E8:
   5001     eax = MEM32(ebp + 0x8); /* 0x251484E8: mov eax, dword ptr [ebp + 8] */
   5002     PUSH32(esp, eax); /* 0x251484EB: push eax */
   5003     RECOMP_ICALL(0x25137EECu); /* 0x251484EC: call 0x25137eec */ /* not lifted */
   5004     RECOMP_FLAGS_IN();
   5005     ecx = POP32_VAL(esp); /* 0x251484F1: pop ecx */
   5006     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251484F2: ret  */
   5007     RECOMP_REGS_OUT();
   5008 }
   5009 
   5010 void sub_251484F3(void) {
   5011     int _fpu_cmp = 0;
   5012     uint32_t _cf = 0;
   5013     int _df = 1;
   5014     uint32_t _flag_k = FK_NONE;
   5015     uint32_t _flag_a = 0, _flag_b = 0;
   5016     uint32_t _itail_tgt = 0;
   5017     RECOMP_REGS_LOCALS
   5018     RECOMP_ENTER(0x251484F3u);
   5019 
   5020 L_251484F3:
   5021     ecx = MEM32(ebp + (-0x10)); /* 0x251484F3: mov ecx, dword ptr [ebp - 0x10] */
   5022     goto L_2501C660; /* 0x251484F6: jmp 0x2501c660 */
   5023     { RECOMP_REGS_OUT(); return; } /* end of function */
   5024     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   5025     RECOMP_REGS_OUT();
   5026 }
   5027 
   5028 void sub_251484FB(void) {
   5029     int _fpu_cmp = 0;
   5030     uint32_t _cf = 0;
   5031     int _df = 1;
   5032     uint32_t _flag_k = FK_NONE;
   5033     uint32_t _flag_a = 0, _flag_b = 0;
   5034     uint32_t _itail_tgt = 0;
   5035     RECOMP_REGS_LOCALS
   5036     RECOMP_ENTER(0x251484FBu);
   5037 
   5038     goto L_251484FB;
   5039 L_251380C4:
   5040     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5041 L_251484FB:
   5042     eax = 0x25168AD0u; /* 0x251484FB: mov eax, 0x25168ad0 */
   5043 L_25148500:
   5044     RECOMP_BACKEDGE();
   5045     goto L_251380C4; /* 0x25148500: jmp 0x251380c4 */
   5046     { RECOMP_REGS_OUT(); return; } /* end of function */
   5047   _ljump:
   5048     switch (_itail_tgt) {
   5049       case 0x251380C4u: goto L_251380C4;
   5050       case 0x251484FBu: goto L_251484FB;
   5051       case 0x25148500u: goto L_25148500;
   5052       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5053     }
   5054     RECOMP_REGS_OUT();
   5055 }
   5056 
   5057 void sub_25148510(void) {
   5058     int _fpu_cmp = 0;
   5059     uint32_t _cf = 0;
   5060     int _df = 1;
   5061     uint32_t _flag_k = FK_NONE;
   5062     uint32_t _flag_a = 0, _flag_b = 0;
   5063     uint32_t _itail_tgt = 0;
   5064     RECOMP_REGS_LOCALS
   5065     RECOMP_ENTER(0x25148510u);
   5066 
   5067     goto L_25148510;
   5068 L_250DB0B0:
   5069     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   5070     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   5071     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   5072     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   5073     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   5074     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   5075     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   5076     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   5077     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5078     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   5079     _flag_k = FK_CMP;
   5080     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   5081     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   5082     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   5083     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   5084     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   5085     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   5086     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   5087     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   5088     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   5089     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   5090     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   5091     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   5092     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   5093     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   5094     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5095     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   5096     _cf = 0;
   5097     _flag_k = FK_TEST;
   5098     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   5099     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5100     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5101     _flag_k = FK_CMP;
   5102     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   5103     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   5104 L_250DB11E:
   5105     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   5106     RECOMP_FLAGS_IN();
   5107 L_250DB123:
   5108     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   5109     PUSH32(esp, eax); /* 0x250DB129: push eax */
   5110     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   5111     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   5112     RECOMP_FLAGS_IN();
   5113     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5114     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5115     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   5116     _flag_k = FK_ADD;
   5117     eax = edi; /* 0x250DB135: mov eax, edi */
   5118     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5119     _cf = (eax) != 0;
   5120     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   5121     _flag_k = FK_CMP;
   5122     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   5123       eax = _sc ? 0xFFFFFFFFu : 0;
   5124       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5125       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5126     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5127     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   5128     _cf = 0;
   5129     _flag_k = FK_TEST;
   5130     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   5131     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   5132     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   5133     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   5134     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   5135     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   5136     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   5137     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5139     _flag_k = FK_CMP;
   5140     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   5141     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   5142     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   5143     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   5144     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   5145 L_250DB16C:
   5146     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   5147     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   5148     ecx = esi; /* 0x250DB170: mov ecx, esi */
   5149     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   5150     RECOMP_FLAGS_IN();
   5151     ecx = eax; /* 0x250DB177: mov ecx, eax */
   5152     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   5153     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   5154     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   5155     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5156     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5157     _flag_k = FK_CMP;
   5158     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   5159     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   5160     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5161     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5162     _flag_k = FK_NARROW(FK_CMP, 24);
   5163     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   5164 L_250DB187:
   5165     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   5166     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   5167     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5168     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5169     _flag_k = FK_CMP;
   5170     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   5171 L_250DB18F:
   5172     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   5173     PUSH32(esp, edx); /* 0x250DB192: push edx */
   5174     ecx = esi; /* 0x250DB193: mov ecx, esi */
   5175     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   5176     RECOMP_FLAGS_IN();
   5177     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   5178     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   5179     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   5180     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   5181     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   5182     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   5183     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   5184     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   5185     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   5186     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   5187     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   5188     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   5189     RECOMP_FLAGS_IN();
   5190     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   5191 L_250DB1BE:
   5192     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   5193     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   5194     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5195     _flag_k = FK_CMP;
   5196     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   5197 L_250DB1C3:
   5198     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   5199     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   5200     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   5201     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   5202     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   5203     RECOMP_FLAGS_IN();
   5204     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   5205     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   5206     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   5207     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   5208     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   5209     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   5210     RECOMP_FLAGS_IN();
   5211     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   5212     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   5213     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   5214     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5215     _flag_k = FK_CMP;
   5216     RECOMP_BACKEDGE();
   5217     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   5218 L_250DB1E6:
   5219     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   5220     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   5221     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   5222     RECOMP_FLAGS_IN();
   5223     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   5224     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   5225     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   5226     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   5227     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   5228     RECOMP_FLAGS_IN();
   5229     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5230     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5231     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   5232     _flag_k = FK_ADD;
   5233     eax = edi; /* 0x250DB201: mov eax, edi */
   5234     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5235     _cf = (eax) != 0;
   5236     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   5237     _flag_k = FK_CMP;
   5238     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   5239       eax = _sc ? 0xFFFFFFFFu : 0;
   5240       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5241       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5242     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   5243     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   5244     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5245     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   5246     _cf = 0;
   5247     _flag_k = FK_TEST;
   5248     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   5249     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   5250     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   5251     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   5252     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5253     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5254     _flag_k = FK_CMP;
   5255     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   5256     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   5257     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   5258     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   5259     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   5260 L_250DB22E:
   5261     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   5262     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   5263     ecx = esi; /* 0x250DB232: mov ecx, esi */
   5264     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   5265     RECOMP_FLAGS_IN();
   5266     edx = eax; /* 0x250DB239: mov edx, eax */
   5267     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   5268     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   5269     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   5270     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5271     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5272     _flag_k = FK_CMP;
   5273     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   5274     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   5275     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5276     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5277     _flag_k = FK_NARROW(FK_CMP, 24);
   5278     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   5279 L_250DB249:
   5280     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   5281     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   5282     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   5283     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5284     _flag_k = FK_CMP;
   5285     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   5286 L_250DB251:
   5287     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   5288     PUSH32(esp, eax); /* 0x250DB254: push eax */
   5289     ecx = esi; /* 0x250DB255: mov ecx, esi */
   5290     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   5291     RECOMP_FLAGS_IN();
   5292     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   5293     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   5294     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   5295     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   5296     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   5297     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   5298     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   5299     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   5300     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   5301     PUSH32(esp, eax); /* 0x250DB276: push eax */
   5302     ecx = esi; /* 0x250DB277: mov ecx, esi */
   5303     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   5304     RECOMP_FLAGS_IN();
   5305     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   5306 L_250DB280:
   5307     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   5308     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   5309     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5310     _flag_k = FK_CMP;
   5311     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   5312 L_250DB285:
   5313     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   5314     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   5315     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   5316     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   5317     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   5318     RECOMP_FLAGS_IN();
   5319     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   5320     PUSH32(esp, edx); /* 0x250DB294: push edx */
   5321     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   5322     PUSH32(esp, eax); /* 0x250DB298: push eax */
   5323     ecx = esi; /* 0x250DB299: mov ecx, esi */
   5324     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   5325     RECOMP_FLAGS_IN();
   5326     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   5327     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   5328     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5329     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5330     _flag_k = FK_CMP;
   5331     RECOMP_BACKEDGE();
   5332     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   5333 L_250DB2A8:
   5334     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   5335     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   5336     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   5337     RECOMP_FLAGS_IN();
   5338     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   5339     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   5340     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   5341     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   5342     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   5343     RECOMP_FLAGS_IN();
   5344     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5345     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5346     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   5347     _flag_k = FK_ADD;
   5348     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   5349     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   5350     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   5351     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   5352     RECOMP_FLAGS_IN();
   5353     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   5354     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   5355     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   5356     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   5357     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   5358     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   5359     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   5360     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   5361 L_25148510:
   5362     ecx = MEM32(ebp + (-0x10)); /* 0x25148510: mov ecx, dword ptr [ebp - 0x10] */
   5363     RECOMP_BACKEDGE();
   5364     goto L_250DB0B0; /* 0x25148513: jmp 0x250db0b0 */
   5365     { RECOMP_REGS_OUT(); return; } /* end of function */
   5366     RECOMP_REGS_OUT();
   5367 }
   5368 
   5369 void sub_25148518(void) {
   5370     int _fpu_cmp = 0;
   5371     uint32_t _cf = 0;
   5372     int _df = 1;
   5373     uint32_t _flag_k = FK_NONE;
   5374     uint32_t _flag_a = 0, _flag_b = 0;
   5375     uint32_t _itail_tgt = 0;
   5376     RECOMP_REGS_LOCALS
   5377     RECOMP_ENTER(0x25148518u);
   5378 
   5379     goto L_25148518;
   5380 L_251380C4:
   5381     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5382 L_25148518:
   5383     eax = 0x25168B08u; /* 0x25148518: mov eax, 0x25168b08 */
   5384 L_2514851D:
   5385     RECOMP_BACKEDGE();
   5386     goto L_251380C4; /* 0x2514851D: jmp 0x251380c4 */
   5387     { RECOMP_REGS_OUT(); return; } /* end of function */
   5388   _ljump:
   5389     switch (_itail_tgt) {
   5390       case 0x251380C4u: goto L_251380C4;
   5391       case 0x25148518u: goto L_25148518;
   5392       case 0x2514851Du: goto L_2514851D;
   5393       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5394     }
   5395     RECOMP_REGS_OUT();
   5396 }
   5397 
   5398 void sub_25148530(void) {
   5399     int _fpu_cmp = 0;
   5400     uint32_t _cf = 0;
   5401     int _df = 1;
   5402     uint32_t _flag_k = FK_NONE;
   5403     uint32_t _flag_a = 0, _flag_b = 0;
   5404     uint32_t _itail_tgt = 0;
   5405     RECOMP_REGS_LOCALS
   5406     RECOMP_ENTER(0x25148530u);
   5407 
   5408     goto L_25148530;
   5409 L_250DB0B0:
   5410     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   5411     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   5412     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   5413     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   5414     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   5415     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   5416     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   5417     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   5418     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5419     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   5420     _flag_k = FK_CMP;
   5421     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   5422     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   5423     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   5424     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   5425     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   5426     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   5427     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   5428     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   5429     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   5430     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   5431     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   5432     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   5433     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   5434     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   5435     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5436     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   5437     _cf = 0;
   5438     _flag_k = FK_TEST;
   5439     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   5440     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5442     _flag_k = FK_CMP;
   5443     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   5444     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   5445 L_250DB11E:
   5446     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   5447     RECOMP_FLAGS_IN();
   5448 L_250DB123:
   5449     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   5450     PUSH32(esp, eax); /* 0x250DB129: push eax */
   5451     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   5452     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   5453     RECOMP_FLAGS_IN();
   5454     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5455     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5456     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   5457     _flag_k = FK_ADD;
   5458     eax = edi; /* 0x250DB135: mov eax, edi */
   5459     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5460     _cf = (eax) != 0;
   5461     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   5462     _flag_k = FK_CMP;
   5463     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   5464       eax = _sc ? 0xFFFFFFFFu : 0;
   5465       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5466       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5467     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5468     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   5469     _cf = 0;
   5470     _flag_k = FK_TEST;
   5471     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   5472     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   5473     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   5474     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   5475     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   5476     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   5477     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   5478     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5479     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5480     _flag_k = FK_CMP;
   5481     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   5482     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   5483     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   5484     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   5485     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   5486 L_250DB16C:
   5487     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   5488     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   5489     ecx = esi; /* 0x250DB170: mov ecx, esi */
   5490     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   5491     RECOMP_FLAGS_IN();
   5492     ecx = eax; /* 0x250DB177: mov ecx, eax */
   5493     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   5494     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   5495     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   5496     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5497     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5498     _flag_k = FK_CMP;
   5499     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   5500     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   5501     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5503     _flag_k = FK_NARROW(FK_CMP, 24);
   5504     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   5505 L_250DB187:
   5506     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   5507     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   5508     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5509     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5510     _flag_k = FK_CMP;
   5511     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   5512 L_250DB18F:
   5513     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   5514     PUSH32(esp, edx); /* 0x250DB192: push edx */
   5515     ecx = esi; /* 0x250DB193: mov ecx, esi */
   5516     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   5517     RECOMP_FLAGS_IN();
   5518     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   5519     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   5520     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   5521     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   5522     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   5523     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   5524     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   5525     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   5526     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   5527     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   5528     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   5529     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   5530     RECOMP_FLAGS_IN();
   5531     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   5532 L_250DB1BE:
   5533     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   5534     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   5535     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5536     _flag_k = FK_CMP;
   5537     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   5538 L_250DB1C3:
   5539     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   5540     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   5541     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   5542     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   5543     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   5544     RECOMP_FLAGS_IN();
   5545     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   5546     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   5547     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   5548     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   5549     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   5550     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   5551     RECOMP_FLAGS_IN();
   5552     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   5553     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   5554     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   5555     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5556     _flag_k = FK_CMP;
   5557     RECOMP_BACKEDGE();
   5558     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   5559 L_250DB1E6:
   5560     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   5561     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   5562     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   5563     RECOMP_FLAGS_IN();
   5564     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   5565     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   5566     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   5567     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   5568     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   5569     RECOMP_FLAGS_IN();
   5570     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5571     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5572     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   5573     _flag_k = FK_ADD;
   5574     eax = edi; /* 0x250DB201: mov eax, edi */
   5575     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5576     _cf = (eax) != 0;
   5577     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   5578     _flag_k = FK_CMP;
   5579     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   5580       eax = _sc ? 0xFFFFFFFFu : 0;
   5581       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5582       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5583     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   5584     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   5585     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5586     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   5587     _cf = 0;
   5588     _flag_k = FK_TEST;
   5589     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   5590     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   5591     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   5592     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   5593     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5594     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5595     _flag_k = FK_CMP;
   5596     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   5597     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   5598     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   5599     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   5600     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   5601 L_250DB22E:
   5602     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   5603     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   5604     ecx = esi; /* 0x250DB232: mov ecx, esi */
   5605     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   5606     RECOMP_FLAGS_IN();
   5607     edx = eax; /* 0x250DB239: mov edx, eax */
   5608     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   5609     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   5610     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   5611     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5612     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5613     _flag_k = FK_CMP;
   5614     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   5615     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   5616     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5617     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5618     _flag_k = FK_NARROW(FK_CMP, 24);
   5619     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   5620 L_250DB249:
   5621     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   5622     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   5623     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   5624     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5625     _flag_k = FK_CMP;
   5626     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   5627 L_250DB251:
   5628     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   5629     PUSH32(esp, eax); /* 0x250DB254: push eax */
   5630     ecx = esi; /* 0x250DB255: mov ecx, esi */
   5631     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   5632     RECOMP_FLAGS_IN();
   5633     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   5634     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   5635     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   5636     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   5637     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   5638     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   5639     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   5640     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   5641     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   5642     PUSH32(esp, eax); /* 0x250DB276: push eax */
   5643     ecx = esi; /* 0x250DB277: mov ecx, esi */
   5644     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   5645     RECOMP_FLAGS_IN();
   5646     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   5647 L_250DB280:
   5648     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   5649     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   5650     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5651     _flag_k = FK_CMP;
   5652     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   5653 L_250DB285:
   5654     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   5655     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   5656     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   5657     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   5658     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   5659     RECOMP_FLAGS_IN();
   5660     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   5661     PUSH32(esp, edx); /* 0x250DB294: push edx */
   5662     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   5663     PUSH32(esp, eax); /* 0x250DB298: push eax */
   5664     ecx = esi; /* 0x250DB299: mov ecx, esi */
   5665     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   5666     RECOMP_FLAGS_IN();
   5667     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   5668     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   5669     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5670     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5671     _flag_k = FK_CMP;
   5672     RECOMP_BACKEDGE();
   5673     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   5674 L_250DB2A8:
   5675     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   5676     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   5677     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   5678     RECOMP_FLAGS_IN();
   5679     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   5680     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   5681     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   5682     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   5683     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   5684     RECOMP_FLAGS_IN();
   5685     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5686     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5687     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   5688     _flag_k = FK_ADD;
   5689     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   5690     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   5691     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   5692     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   5693     RECOMP_FLAGS_IN();
   5694     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   5695     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   5696     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   5697     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   5698     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   5699     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   5700     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   5701     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   5702 L_25148530:
   5703     ecx = MEM32(ebp + (-0x10)); /* 0x25148530: mov ecx, dword ptr [ebp - 0x10] */
   5704     RECOMP_BACKEDGE();
   5705     goto L_250DB0B0; /* 0x25148533: jmp 0x250db0b0 */
   5706     { RECOMP_REGS_OUT(); return; } /* end of function */
   5707     RECOMP_REGS_OUT();
   5708 }
   5709 
   5710 void sub_25148538(void) {
   5711     int _fpu_cmp = 0;
   5712     uint32_t _cf = 0;
   5713     int _df = 1;
   5714     uint32_t _flag_k = FK_NONE;
   5715     uint32_t _flag_a = 0, _flag_b = 0;
   5716     uint32_t _itail_tgt = 0;
   5717     RECOMP_REGS_LOCALS
   5718     RECOMP_ENTER(0x25148538u);
   5719 
   5720 L_25148538:
   5721     eax = MEM32(ebp + 0x8); /* 0x25148538: mov eax, dword ptr [ebp + 8] */
   5722     PUSH32(esp, eax); /* 0x2514853B: push eax */
   5723     RECOMP_ICALL(0x25137EECu); /* 0x2514853C: call 0x25137eec */ /* not lifted */
   5724     RECOMP_FLAGS_IN();
   5725     ecx = POP32_VAL(esp); /* 0x25148541: pop ecx */
   5726     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148542: ret  */
   5727     RECOMP_REGS_OUT();
   5728 }
   5729 
   5730 void sub_25148543(void) {
   5731     int _fpu_cmp = 0;
   5732     uint32_t _cf = 0;
   5733     int _df = 1;
   5734     uint32_t _flag_k = FK_NONE;
   5735     uint32_t _flag_a = 0, _flag_b = 0;
   5736     uint32_t _itail_tgt = 0;
   5737     RECOMP_REGS_LOCALS
   5738     RECOMP_ENTER(0x25148543u);
   5739 
   5740 L_25148543:
   5741     ecx = MEM32(ebp + (-0x10)); /* 0x25148543: mov ecx, dword ptr [ebp - 0x10] */
   5742     goto L_2501C660; /* 0x25148546: jmp 0x2501c660 */
   5743     { RECOMP_REGS_OUT(); return; } /* end of function */
   5744     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   5745     RECOMP_REGS_OUT();
   5746 }
   5747 
   5748 void sub_2514854B(void) {
   5749     int _fpu_cmp = 0;
   5750     uint32_t _cf = 0;
   5751     int _df = 1;
   5752     uint32_t _flag_k = FK_NONE;
   5753     uint32_t _flag_a = 0, _flag_b = 0;
   5754     uint32_t _itail_tgt = 0;
   5755     RECOMP_REGS_LOCALS
   5756     RECOMP_ENTER(0x2514854Bu);
   5757 
   5758     goto L_2514854B;
   5759 L_251380C4:
   5760     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5761 L_2514854B:
   5762     eax = 0x25168B30u; /* 0x2514854B: mov eax, 0x25168b30 */
   5763 L_25148550:
   5764     RECOMP_BACKEDGE();
   5765     goto L_251380C4; /* 0x25148550: jmp 0x251380c4 */
   5766     { RECOMP_REGS_OUT(); return; } /* end of function */
   5767   _ljump:
   5768     switch (_itail_tgt) {
   5769       case 0x251380C4u: goto L_251380C4;
   5770       case 0x2514854Bu: goto L_2514854B;
   5771       case 0x25148550u: goto L_25148550;
   5772       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5773     }
   5774     RECOMP_REGS_OUT();
   5775 }
   5776 
   5777 void sub_25148560(void) {
   5778     int _fpu_cmp = 0;
   5779     uint32_t _cf = 0;
   5780     int _df = 1;
   5781     uint32_t _flag_k = FK_NONE;
   5782     uint32_t _flag_a = 0, _flag_b = 0;
   5783     uint32_t _itail_tgt = 0;
   5784     RECOMP_REGS_LOCALS
   5785     RECOMP_ENTER(0x25148560u);
   5786 
   5787     goto L_25148560;
   5788 L_250DB0B0:
   5789     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   5790     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   5791     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   5792     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   5793     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   5794     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   5795     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   5796     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   5797     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5798     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   5799     _flag_k = FK_CMP;
   5800     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   5801     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   5802     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   5803     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   5804     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   5805     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   5806     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   5807     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   5808     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   5809     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   5810     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   5811     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   5812     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   5813     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   5814     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5815     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   5816     _cf = 0;
   5817     _flag_k = FK_TEST;
   5818     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   5819     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5820     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5821     _flag_k = FK_CMP;
   5822     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   5823     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   5824 L_250DB11E:
   5825     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   5826     RECOMP_FLAGS_IN();
   5827 L_250DB123:
   5828     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   5829     PUSH32(esp, eax); /* 0x250DB129: push eax */
   5830     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   5831     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   5832     RECOMP_FLAGS_IN();
   5833     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5834     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5835     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   5836     _flag_k = FK_ADD;
   5837     eax = edi; /* 0x250DB135: mov eax, edi */
   5838     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5839     _cf = (eax) != 0;
   5840     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   5841     _flag_k = FK_CMP;
   5842     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   5843       eax = _sc ? 0xFFFFFFFFu : 0;
   5844       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5845       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5846     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5847     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   5848     _cf = 0;
   5849     _flag_k = FK_TEST;
   5850     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   5851     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   5852     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   5853     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   5854     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   5855     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   5856     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   5857     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5859     _flag_k = FK_CMP;
   5860     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   5861     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   5862     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   5863     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   5864     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   5865 L_250DB16C:
   5866     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   5867     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   5868     ecx = esi; /* 0x250DB170: mov ecx, esi */
   5869     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   5870     RECOMP_FLAGS_IN();
   5871     ecx = eax; /* 0x250DB177: mov ecx, eax */
   5872     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   5873     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   5874     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   5875     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5877     _flag_k = FK_CMP;
   5878     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   5879     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   5880     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5881     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5882     _flag_k = FK_NARROW(FK_CMP, 24);
   5883     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   5884 L_250DB187:
   5885     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   5886     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   5887     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5888     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5889     _flag_k = FK_CMP;
   5890     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   5891 L_250DB18F:
   5892     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   5893     PUSH32(esp, edx); /* 0x250DB192: push edx */
   5894     ecx = esi; /* 0x250DB193: mov ecx, esi */
   5895     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   5896     RECOMP_FLAGS_IN();
   5897     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   5898     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   5899     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   5900     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   5901     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   5902     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   5903     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   5904     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   5905     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   5906     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   5907     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   5908     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   5909     RECOMP_FLAGS_IN();
   5910     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   5911 L_250DB1BE:
   5912     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   5913     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   5914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5915     _flag_k = FK_CMP;
   5916     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   5917 L_250DB1C3:
   5918     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   5919     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   5920     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   5921     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   5922     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   5923     RECOMP_FLAGS_IN();
   5924     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   5925     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   5926     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   5927     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   5928     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   5929     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   5930     RECOMP_FLAGS_IN();
   5931     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   5932     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   5933     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   5934     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5935     _flag_k = FK_CMP;
   5936     RECOMP_BACKEDGE();
   5937     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   5938 L_250DB1E6:
   5939     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   5940     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   5941     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   5942     RECOMP_FLAGS_IN();
   5943     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   5944     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   5945     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   5946     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   5947     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   5948     RECOMP_FLAGS_IN();
   5949     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5950     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5951     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   5952     _flag_k = FK_ADD;
   5953     eax = edi; /* 0x250DB201: mov eax, edi */
   5954     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5955     _cf = (eax) != 0;
   5956     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   5957     _flag_k = FK_CMP;
   5958     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   5959       eax = _sc ? 0xFFFFFFFFu : 0;
   5960       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5961       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5962     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   5963     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   5964     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5965     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   5966     _cf = 0;
   5967     _flag_k = FK_TEST;
   5968     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   5969     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   5970     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   5971     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   5972     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5973     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5974     _flag_k = FK_CMP;
   5975     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   5976     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   5977     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   5978     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   5979     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   5980 L_250DB22E:
   5981     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   5982     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   5983     ecx = esi; /* 0x250DB232: mov ecx, esi */
   5984     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   5985     RECOMP_FLAGS_IN();
   5986     edx = eax; /* 0x250DB239: mov edx, eax */
   5987     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   5988     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   5989     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   5990     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5991     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5992     _flag_k = FK_CMP;
   5993     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   5994     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   5995     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5997     _flag_k = FK_NARROW(FK_CMP, 24);
   5998     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   5999 L_250DB249:
   6000     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   6001     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   6002     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   6003     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6004     _flag_k = FK_CMP;
   6005     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   6006 L_250DB251:
   6007     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   6008     PUSH32(esp, eax); /* 0x250DB254: push eax */
   6009     ecx = esi; /* 0x250DB255: mov ecx, esi */
   6010     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   6011     RECOMP_FLAGS_IN();
   6012     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   6013     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   6014     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   6015     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   6016     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   6017     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   6018     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   6019     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   6020     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   6021     PUSH32(esp, eax); /* 0x250DB276: push eax */
   6022     ecx = esi; /* 0x250DB277: mov ecx, esi */
   6023     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   6024     RECOMP_FLAGS_IN();
   6025     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   6026 L_250DB280:
   6027     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   6028     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   6029     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6030     _flag_k = FK_CMP;
   6031     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   6032 L_250DB285:
   6033     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   6034     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   6035     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   6036     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   6037     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   6038     RECOMP_FLAGS_IN();
   6039     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   6040     PUSH32(esp, edx); /* 0x250DB294: push edx */
   6041     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   6042     PUSH32(esp, eax); /* 0x250DB298: push eax */
   6043     ecx = esi; /* 0x250DB299: mov ecx, esi */
   6044     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   6045     RECOMP_FLAGS_IN();
   6046     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   6047     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   6048     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6050     _flag_k = FK_CMP;
   6051     RECOMP_BACKEDGE();
   6052     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   6053 L_250DB2A8:
   6054     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   6055     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   6056     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   6057     RECOMP_FLAGS_IN();
   6058     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   6059     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   6060     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   6061     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   6062     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   6063     RECOMP_FLAGS_IN();
   6064     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6065     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6066     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   6067     _flag_k = FK_ADD;
   6068     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   6069     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   6070     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   6071     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   6072     RECOMP_FLAGS_IN();
   6073     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   6074     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   6075     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   6076     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   6077     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   6078     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   6079     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   6080     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   6081 L_25148560:
   6082     ecx = MEM32(ebp + (-0x10)); /* 0x25148560: mov ecx, dword ptr [ebp - 0x10] */
   6083     RECOMP_BACKEDGE();
   6084     goto L_250DB0B0; /* 0x25148563: jmp 0x250db0b0 */
   6085     { RECOMP_REGS_OUT(); return; } /* end of function */
   6086     RECOMP_REGS_OUT();
   6087 }
   6088 
   6089 void sub_25148568(void) {
   6090     int _fpu_cmp = 0;
   6091     uint32_t _cf = 0;
   6092     int _df = 1;
   6093     uint32_t _flag_k = FK_NONE;
   6094     uint32_t _flag_a = 0, _flag_b = 0;
   6095     uint32_t _itail_tgt = 0;
   6096     RECOMP_REGS_LOCALS
   6097     RECOMP_ENTER(0x25148568u);
   6098 
   6099     goto L_25148568;
   6100 L_251380C4:
   6101     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6102 L_25148568:
   6103     eax = 0x25168B68u; /* 0x25148568: mov eax, 0x25168b68 */
   6104 L_2514856D:
   6105     RECOMP_BACKEDGE();
   6106     goto L_251380C4; /* 0x2514856D: jmp 0x251380c4 */
   6107     { RECOMP_REGS_OUT(); return; } /* end of function */
   6108   _ljump:
   6109     switch (_itail_tgt) {
   6110       case 0x251380C4u: goto L_251380C4;
   6111       case 0x25148568u: goto L_25148568;
   6112       case 0x2514856Du: goto L_2514856D;
   6113       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6114     }
   6115     RECOMP_REGS_OUT();
   6116 }
   6117 
   6118 void sub_25148580(void) {
   6119     int _fpu_cmp = 0;
   6120     uint32_t _cf = 0;
   6121     int _df = 1;
   6122     uint32_t _flag_k = FK_NONE;
   6123     uint32_t _flag_a = 0, _flag_b = 0;
   6124     uint32_t _itail_tgt = 0;
   6125     RECOMP_REGS_LOCALS
   6126     RECOMP_ENTER(0x25148580u);
   6127 
   6128     goto L_25148580;
   6129 L_250DB0B0:
   6130     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   6131     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   6132     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   6133     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   6134     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   6135     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   6136     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   6137     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   6138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6139     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   6140     _flag_k = FK_CMP;
   6141     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   6142     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   6143     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   6144     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   6145     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   6146     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   6147     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   6148     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   6149     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   6150     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   6151     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   6152     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   6153     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   6154     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   6155     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6156     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   6157     _cf = 0;
   6158     _flag_k = FK_TEST;
   6159     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   6160     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   6161     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6162     _flag_k = FK_CMP;
   6163     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   6164     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   6165 L_250DB11E:
   6166     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   6167     RECOMP_FLAGS_IN();
   6168 L_250DB123:
   6169     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   6170     PUSH32(esp, eax); /* 0x250DB129: push eax */
   6171     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   6172     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   6173     RECOMP_FLAGS_IN();
   6174     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6175     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6176     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   6177     _flag_k = FK_ADD;
   6178     eax = edi; /* 0x250DB135: mov eax, edi */
   6179     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   6180     _cf = (eax) != 0;
   6181     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   6182     _flag_k = FK_CMP;
   6183     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   6184       eax = _sc ? 0xFFFFFFFFu : 0;
   6185       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   6186       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   6187     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   6188     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   6189     _cf = 0;
   6190     _flag_k = FK_TEST;
   6191     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   6192     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   6193     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   6194     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   6195     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   6196     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   6197     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   6198     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   6199     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6200     _flag_k = FK_CMP;
   6201     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   6202     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   6203     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   6204     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   6205     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   6206 L_250DB16C:
   6207     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   6208     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   6209     ecx = esi; /* 0x250DB170: mov ecx, esi */
   6210     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   6211     RECOMP_FLAGS_IN();
   6212     ecx = eax; /* 0x250DB177: mov ecx, eax */
   6213     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   6214     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   6215     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   6216     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   6217     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6218     _flag_k = FK_CMP;
   6219     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   6220     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   6221     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6222     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6223     _flag_k = FK_NARROW(FK_CMP, 24);
   6224     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   6225 L_250DB187:
   6226     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   6227     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   6228     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6229     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6230     _flag_k = FK_CMP;
   6231     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   6232 L_250DB18F:
   6233     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   6234     PUSH32(esp, edx); /* 0x250DB192: push edx */
   6235     ecx = esi; /* 0x250DB193: mov ecx, esi */
   6236     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   6237     RECOMP_FLAGS_IN();
   6238     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   6239     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   6240     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   6241     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   6242     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   6243     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   6244     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   6245     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   6246     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   6247     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   6248     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   6249     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   6250     RECOMP_FLAGS_IN();
   6251     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   6252 L_250DB1BE:
   6253     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   6254     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   6255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6256     _flag_k = FK_CMP;
   6257     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   6258 L_250DB1C3:
   6259     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   6260     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   6261     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   6262     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   6263     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   6264     RECOMP_FLAGS_IN();
   6265     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   6266     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   6267     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   6268     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   6269     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   6270     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   6271     RECOMP_FLAGS_IN();
   6272     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   6273     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   6274     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   6275     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6276     _flag_k = FK_CMP;
   6277     RECOMP_BACKEDGE();
   6278     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   6279 L_250DB1E6:
   6280     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   6281     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   6282     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   6283     RECOMP_FLAGS_IN();
   6284     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   6285     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   6286     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   6287     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   6288     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   6289     RECOMP_FLAGS_IN();
   6290     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6291     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6292     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   6293     _flag_k = FK_ADD;
   6294     eax = edi; /* 0x250DB201: mov eax, edi */
   6295     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   6296     _cf = (eax) != 0;
   6297     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   6298     _flag_k = FK_CMP;
   6299     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   6300       eax = _sc ? 0xFFFFFFFFu : 0;
   6301       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   6302       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   6303     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   6304     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   6305     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6306     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   6307     _cf = 0;
   6308     _flag_k = FK_TEST;
   6309     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   6310     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   6311     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   6312     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   6313     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   6314     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6315     _flag_k = FK_CMP;
   6316     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   6317     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   6318     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   6319     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   6320     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   6321 L_250DB22E:
   6322     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   6323     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   6324     ecx = esi; /* 0x250DB232: mov ecx, esi */
   6325     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   6326     RECOMP_FLAGS_IN();
   6327     edx = eax; /* 0x250DB239: mov edx, eax */
   6328     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   6329     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   6330     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   6331     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6332     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6333     _flag_k = FK_CMP;
   6334     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   6335     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   6336     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6338     _flag_k = FK_NARROW(FK_CMP, 24);
   6339     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   6340 L_250DB249:
   6341     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   6342     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   6343     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   6344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6345     _flag_k = FK_CMP;
   6346     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   6347 L_250DB251:
   6348     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   6349     PUSH32(esp, eax); /* 0x250DB254: push eax */
   6350     ecx = esi; /* 0x250DB255: mov ecx, esi */
   6351     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   6352     RECOMP_FLAGS_IN();
   6353     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   6354     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   6355     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   6356     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   6357     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   6358     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   6359     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   6360     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   6361     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   6362     PUSH32(esp, eax); /* 0x250DB276: push eax */
   6363     ecx = esi; /* 0x250DB277: mov ecx, esi */
   6364     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   6365     RECOMP_FLAGS_IN();
   6366     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   6367 L_250DB280:
   6368     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   6369     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   6370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6371     _flag_k = FK_CMP;
   6372     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   6373 L_250DB285:
   6374     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   6375     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   6376     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   6377     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   6378     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   6379     RECOMP_FLAGS_IN();
   6380     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   6381     PUSH32(esp, edx); /* 0x250DB294: push edx */
   6382     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   6383     PUSH32(esp, eax); /* 0x250DB298: push eax */
   6384     ecx = esi; /* 0x250DB299: mov ecx, esi */
   6385     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   6386     RECOMP_FLAGS_IN();
   6387     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   6388     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   6389     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6390     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6391     _flag_k = FK_CMP;
   6392     RECOMP_BACKEDGE();
   6393     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   6394 L_250DB2A8:
   6395     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   6396     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   6397     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   6398     RECOMP_FLAGS_IN();
   6399     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   6400     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   6401     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   6402     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   6403     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   6404     RECOMP_FLAGS_IN();
   6405     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6406     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6407     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   6408     _flag_k = FK_ADD;
   6409     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   6410     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   6411     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   6412     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   6413     RECOMP_FLAGS_IN();
   6414     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   6415     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   6416     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   6417     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   6418     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   6419     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   6420     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   6421     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   6422 L_25148580:
   6423     ecx = MEM32(ebp + (-0x10)); /* 0x25148580: mov ecx, dword ptr [ebp - 0x10] */
   6424     RECOMP_BACKEDGE();
   6425     goto L_250DB0B0; /* 0x25148583: jmp 0x250db0b0 */
   6426     { RECOMP_REGS_OUT(); return; } /* end of function */
   6427     RECOMP_REGS_OUT();
   6428 }
   6429 
   6430 void sub_25148588(void) {
   6431     int _fpu_cmp = 0;
   6432     uint32_t _cf = 0;
   6433     int _df = 1;
   6434     uint32_t _flag_k = FK_NONE;
   6435     uint32_t _flag_a = 0, _flag_b = 0;
   6436     uint32_t _itail_tgt = 0;
   6437     RECOMP_REGS_LOCALS
   6438     RECOMP_ENTER(0x25148588u);
   6439 
   6440 L_25148588:
   6441     eax = MEM32(ebp + 0x8); /* 0x25148588: mov eax, dword ptr [ebp + 8] */
   6442     PUSH32(esp, eax); /* 0x2514858B: push eax */
   6443     RECOMP_ICALL(0x25137EECu); /* 0x2514858C: call 0x25137eec */ /* not lifted */
   6444     RECOMP_FLAGS_IN();
   6445     ecx = POP32_VAL(esp); /* 0x25148591: pop ecx */
   6446     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148592: ret  */
   6447     RECOMP_REGS_OUT();
   6448 }
   6449 
   6450 void sub_25148593(void) {
   6451     int _fpu_cmp = 0;
   6452     uint32_t _cf = 0;
   6453     int _df = 1;
   6454     uint32_t _flag_k = FK_NONE;
   6455     uint32_t _flag_a = 0, _flag_b = 0;
   6456     uint32_t _itail_tgt = 0;
   6457     RECOMP_REGS_LOCALS
   6458     RECOMP_ENTER(0x25148593u);
   6459 
   6460 L_25148593:
   6461     ecx = MEM32(ebp + (-0x10)); /* 0x25148593: mov ecx, dword ptr [ebp - 0x10] */
   6462     goto L_2501C660; /* 0x25148596: jmp 0x2501c660 */
   6463     { RECOMP_REGS_OUT(); return; } /* end of function */
   6464     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   6465     RECOMP_REGS_OUT();
   6466 }
   6467 
   6468 void sub_2514859B(void) {
   6469     int _fpu_cmp = 0;
   6470     uint32_t _cf = 0;
   6471     int _df = 1;
   6472     uint32_t _flag_k = FK_NONE;
   6473     uint32_t _flag_a = 0, _flag_b = 0;
   6474     uint32_t _itail_tgt = 0;
   6475     RECOMP_REGS_LOCALS
   6476     RECOMP_ENTER(0x2514859Bu);
   6477 
   6478     goto L_2514859B;
   6479 L_251380C4:
   6480     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6481 L_2514859B:
   6482     eax = 0x25168B90u; /* 0x2514859B: mov eax, 0x25168b90 */
   6483 L_251485A0:
   6484     RECOMP_BACKEDGE();
   6485     goto L_251380C4; /* 0x251485A0: jmp 0x251380c4 */
   6486     { RECOMP_REGS_OUT(); return; } /* end of function */
   6487   _ljump:
   6488     switch (_itail_tgt) {
   6489       case 0x251380C4u: goto L_251380C4;
   6490       case 0x2514859Bu: goto L_2514859B;
   6491       case 0x251485A0u: goto L_251485A0;
   6492       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6493     }
   6494     RECOMP_REGS_OUT();
   6495 }
   6496 
   6497 void sub_251485B0(void) {
   6498     int _fpu_cmp = 0;
   6499     uint32_t _cf = 0;
   6500     int _df = 1;
   6501     uint32_t _flag_k = FK_NONE;
   6502     uint32_t _flag_a = 0, _flag_b = 0;
   6503     uint32_t _itail_tgt = 0;
   6504     RECOMP_REGS_LOCALS
   6505     RECOMP_ENTER(0x251485B0u);
   6506 
   6507 L_251485B0:
   6508     ecx = MEM32(ebp + (-0x10)); /* 0x251485B0: mov ecx, dword ptr [ebp - 0x10] */
   6509     goto L_2501C660; /* 0x251485B3: jmp 0x2501c660 */
   6510     { RECOMP_REGS_OUT(); return; } /* end of function */
   6511     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   6512     RECOMP_REGS_OUT();
   6513 }
   6514 
   6515 void sub_251485B8(void) {
   6516     int _fpu_cmp = 0;
   6517     uint32_t _cf = 0;
   6518     int _df = 1;
   6519     uint32_t _flag_k = FK_NONE;
   6520     uint32_t _flag_a = 0, _flag_b = 0;
   6521     uint32_t _itail_tgt = 0;
   6522     RECOMP_REGS_LOCALS
   6523     RECOMP_ENTER(0x251485B8u);
   6524 
   6525     goto L_251485B8;
   6526 L_250DB0B0:
   6527     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   6528     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   6529     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   6530     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   6531     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   6532     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   6533     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   6534     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   6535     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6536     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   6537     _flag_k = FK_CMP;
   6538     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   6539     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   6540     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   6541     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   6542     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   6543     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   6544     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   6545     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   6546     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   6547     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   6548     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   6549     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   6550     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   6551     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   6552     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6553     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   6554     _cf = 0;
   6555     _flag_k = FK_TEST;
   6556     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   6557     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   6558     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6559     _flag_k = FK_CMP;
   6560     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   6561     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   6562 L_250DB11E:
   6563     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   6564     RECOMP_FLAGS_IN();
   6565 L_250DB123:
   6566     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   6567     PUSH32(esp, eax); /* 0x250DB129: push eax */
   6568     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   6569     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   6570     RECOMP_FLAGS_IN();
   6571     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6572     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6573     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   6574     _flag_k = FK_ADD;
   6575     eax = edi; /* 0x250DB135: mov eax, edi */
   6576     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   6577     _cf = (eax) != 0;
   6578     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   6579     _flag_k = FK_CMP;
   6580     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   6581       eax = _sc ? 0xFFFFFFFFu : 0;
   6582       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   6583       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   6584     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   6585     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   6586     _cf = 0;
   6587     _flag_k = FK_TEST;
   6588     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   6589     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   6590     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   6591     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   6592     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   6593     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   6594     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   6595     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   6596     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6597     _flag_k = FK_CMP;
   6598     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   6599     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   6600     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   6601     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   6602     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   6603 L_250DB16C:
   6604     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   6605     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   6606     ecx = esi; /* 0x250DB170: mov ecx, esi */
   6607     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   6608     RECOMP_FLAGS_IN();
   6609     ecx = eax; /* 0x250DB177: mov ecx, eax */
   6610     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   6611     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   6612     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   6613     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   6614     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6615     _flag_k = FK_CMP;
   6616     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   6617     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   6618     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6620     _flag_k = FK_NARROW(FK_CMP, 24);
   6621     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   6622 L_250DB187:
   6623     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   6624     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   6625     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6626     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6627     _flag_k = FK_CMP;
   6628     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   6629 L_250DB18F:
   6630     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   6631     PUSH32(esp, edx); /* 0x250DB192: push edx */
   6632     ecx = esi; /* 0x250DB193: mov ecx, esi */
   6633     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   6634     RECOMP_FLAGS_IN();
   6635     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   6636     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   6637     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   6638     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   6639     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   6640     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   6641     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   6642     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   6643     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   6644     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   6645     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   6646     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   6647     RECOMP_FLAGS_IN();
   6648     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   6649 L_250DB1BE:
   6650     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   6651     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   6652     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6653     _flag_k = FK_CMP;
   6654     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   6655 L_250DB1C3:
   6656     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   6657     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   6658     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   6659     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   6660     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   6661     RECOMP_FLAGS_IN();
   6662     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   6663     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   6664     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   6665     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   6666     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   6667     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   6668     RECOMP_FLAGS_IN();
   6669     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   6670     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   6671     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   6672     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6673     _flag_k = FK_CMP;
   6674     RECOMP_BACKEDGE();
   6675     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   6676 L_250DB1E6:
   6677     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   6678     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   6679     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   6680     RECOMP_FLAGS_IN();
   6681     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   6682     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   6683     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   6684     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   6685     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   6686     RECOMP_FLAGS_IN();
   6687     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6688     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6689     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   6690     _flag_k = FK_ADD;
   6691     eax = edi; /* 0x250DB201: mov eax, edi */
   6692     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   6693     _cf = (eax) != 0;
   6694     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   6695     _flag_k = FK_CMP;
   6696     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   6697       eax = _sc ? 0xFFFFFFFFu : 0;
   6698       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   6699       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   6700     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   6701     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   6702     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6703     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   6704     _cf = 0;
   6705     _flag_k = FK_TEST;
   6706     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   6707     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   6708     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   6709     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   6710     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   6711     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6712     _flag_k = FK_CMP;
   6713     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   6714     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   6715     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   6716     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   6717     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   6718 L_250DB22E:
   6719     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   6720     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   6721     ecx = esi; /* 0x250DB232: mov ecx, esi */
   6722     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   6723     RECOMP_FLAGS_IN();
   6724     edx = eax; /* 0x250DB239: mov edx, eax */
   6725     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   6726     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   6727     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   6728     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6729     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6730     _flag_k = FK_CMP;
   6731     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   6732     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   6733     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6734     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6735     _flag_k = FK_NARROW(FK_CMP, 24);
   6736     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   6737 L_250DB249:
   6738     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   6739     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   6740     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   6741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6742     _flag_k = FK_CMP;
   6743     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   6744 L_250DB251:
   6745     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   6746     PUSH32(esp, eax); /* 0x250DB254: push eax */
   6747     ecx = esi; /* 0x250DB255: mov ecx, esi */
   6748     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   6749     RECOMP_FLAGS_IN();
   6750     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   6751     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   6752     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   6753     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   6754     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   6755     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   6756     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   6757     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   6758     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   6759     PUSH32(esp, eax); /* 0x250DB276: push eax */
   6760     ecx = esi; /* 0x250DB277: mov ecx, esi */
   6761     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   6762     RECOMP_FLAGS_IN();
   6763     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   6764 L_250DB280:
   6765     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   6766     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   6767     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6768     _flag_k = FK_CMP;
   6769     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   6770 L_250DB285:
   6771     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   6772     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   6773     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   6774     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   6775     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   6776     RECOMP_FLAGS_IN();
   6777     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   6778     PUSH32(esp, edx); /* 0x250DB294: push edx */
   6779     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   6780     PUSH32(esp, eax); /* 0x250DB298: push eax */
   6781     ecx = esi; /* 0x250DB299: mov ecx, esi */
   6782     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   6783     RECOMP_FLAGS_IN();
   6784     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   6785     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   6786     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6787     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6788     _flag_k = FK_CMP;
   6789     RECOMP_BACKEDGE();
   6790     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   6791 L_250DB2A8:
   6792     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   6793     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   6794     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   6795     RECOMP_FLAGS_IN();
   6796     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   6797     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   6798     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   6799     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   6800     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   6801     RECOMP_FLAGS_IN();
   6802     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6803     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6804     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   6805     _flag_k = FK_ADD;
   6806     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   6807     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   6808     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   6809     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   6810     RECOMP_FLAGS_IN();
   6811     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   6812     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   6813     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   6814     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   6815     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   6816     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   6817     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   6818     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   6819 L_251485B8:
   6820     ecx = MEM32(ebp + (-0x10)); /* 0x251485B8: mov ecx, dword ptr [ebp - 0x10] */
   6821     RECOMP_BACKEDGE();
   6822     goto L_250DB0B0; /* 0x251485BB: jmp 0x250db0b0 */
   6823     { RECOMP_REGS_OUT(); return; } /* end of function */
   6824     RECOMP_REGS_OUT();
   6825 }
   6826 
   6827 void sub_251485C0(void) {
   6828     int _fpu_cmp = 0;
   6829     uint32_t _cf = 0;
   6830     int _df = 1;
   6831     uint32_t _flag_k = FK_NONE;
   6832     uint32_t _flag_a = 0, _flag_b = 0;
   6833     uint32_t _itail_tgt = 0;
   6834     RECOMP_REGS_LOCALS
   6835     RECOMP_ENTER(0x251485C0u);
   6836 
   6837     goto L_251485C0;
   6838 L_251380C4:
   6839     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6840 L_251485C0:
   6841     eax = 0x25168BC8u; /* 0x251485C0: mov eax, 0x25168bc8 */
   6842 L_251485C5:
   6843     RECOMP_BACKEDGE();
   6844     goto L_251380C4; /* 0x251485C5: jmp 0x251380c4 */
   6845     { RECOMP_REGS_OUT(); return; } /* end of function */
   6846   _ljump:
   6847     switch (_itail_tgt) {
   6848       case 0x251380C4u: goto L_251380C4;
   6849       case 0x251485C0u: goto L_251485C0;
   6850       case 0x251485C5u: goto L_251485C5;
   6851       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6852     }
   6853     RECOMP_REGS_OUT();
   6854 }
   6855 
   6856 void sub_251485D0(void) {
   6857     int _fpu_cmp = 0;
   6858     uint32_t _cf = 0;
   6859     int _df = 1;
   6860     uint32_t _flag_k = FK_NONE;
   6861     uint32_t _flag_a = 0, _flag_b = 0;
   6862     uint32_t _itail_tgt = 0;
   6863     RECOMP_REGS_LOCALS
   6864     RECOMP_ENTER(0x251485D0u);
   6865 
   6866     goto L_251485D0;
   6867 L_250DB0B0:
   6868     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   6869     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   6870     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   6871     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   6872     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   6873     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   6874     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   6875     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   6876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6877     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   6878     _flag_k = FK_CMP;
   6879     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   6880     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   6881     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   6882     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   6883     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   6884     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   6885     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   6886     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   6887     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   6888     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   6889     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   6890     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   6891     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   6892     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   6893     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6894     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   6895     _cf = 0;
   6896     _flag_k = FK_TEST;
   6897     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   6898     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   6899     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6900     _flag_k = FK_CMP;
   6901     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   6902     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   6903 L_250DB11E:
   6904     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   6905     RECOMP_FLAGS_IN();
   6906 L_250DB123:
   6907     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   6908     PUSH32(esp, eax); /* 0x250DB129: push eax */
   6909     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   6910     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   6911     RECOMP_FLAGS_IN();
   6912     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6913     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6914     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   6915     _flag_k = FK_ADD;
   6916     eax = edi; /* 0x250DB135: mov eax, edi */
   6917     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   6918     _cf = (eax) != 0;
   6919     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   6920     _flag_k = FK_CMP;
   6921     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   6922       eax = _sc ? 0xFFFFFFFFu : 0;
   6923       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   6924       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   6925     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   6926     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   6927     _cf = 0;
   6928     _flag_k = FK_TEST;
   6929     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   6930     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   6931     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   6932     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   6933     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   6934     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   6935     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   6936     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   6937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6938     _flag_k = FK_CMP;
   6939     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   6940     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   6941     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   6942     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   6943     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   6944 L_250DB16C:
   6945     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   6946     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   6947     ecx = esi; /* 0x250DB170: mov ecx, esi */
   6948     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   6949     RECOMP_FLAGS_IN();
   6950     ecx = eax; /* 0x250DB177: mov ecx, eax */
   6951     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   6952     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   6953     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   6954     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   6955     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6956     _flag_k = FK_CMP;
   6957     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   6958     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   6959     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6960     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6961     _flag_k = FK_NARROW(FK_CMP, 24);
   6962     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   6963 L_250DB187:
   6964     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   6965     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   6966     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6967     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6968     _flag_k = FK_CMP;
   6969     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   6970 L_250DB18F:
   6971     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   6972     PUSH32(esp, edx); /* 0x250DB192: push edx */
   6973     ecx = esi; /* 0x250DB193: mov ecx, esi */
   6974     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   6975     RECOMP_FLAGS_IN();
   6976     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   6977     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   6978     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   6979     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   6980     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   6981     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   6982     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   6983     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   6984     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   6985     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   6986     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   6987     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   6988     RECOMP_FLAGS_IN();
   6989     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   6990 L_250DB1BE:
   6991     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   6992     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   6993     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6994     _flag_k = FK_CMP;
   6995     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   6996 L_250DB1C3:
   6997     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   6998     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   6999     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   7000     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   7001     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   7002     RECOMP_FLAGS_IN();
   7003     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   7004     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   7005     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   7006     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   7007     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   7008     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   7009     RECOMP_FLAGS_IN();
   7010     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   7011     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   7012     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   7013     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7014     _flag_k = FK_CMP;
   7015     RECOMP_BACKEDGE();
   7016     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   7017 L_250DB1E6:
   7018     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   7019     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   7020     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   7021     RECOMP_FLAGS_IN();
   7022     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   7023     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   7024     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   7025     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   7026     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   7027     RECOMP_FLAGS_IN();
   7028     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7029     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7030     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   7031     _flag_k = FK_ADD;
   7032     eax = edi; /* 0x250DB201: mov eax, edi */
   7033     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   7034     _cf = (eax) != 0;
   7035     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   7036     _flag_k = FK_CMP;
   7037     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   7038       eax = _sc ? 0xFFFFFFFFu : 0;
   7039       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   7040       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   7041     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   7042     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   7043     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7044     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   7045     _cf = 0;
   7046     _flag_k = FK_TEST;
   7047     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   7048     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   7049     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   7050     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   7051     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   7052     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7053     _flag_k = FK_CMP;
   7054     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   7055     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   7056     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   7057     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   7058     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   7059 L_250DB22E:
   7060     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   7061     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   7062     ecx = esi; /* 0x250DB232: mov ecx, esi */
   7063     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   7064     RECOMP_FLAGS_IN();
   7065     edx = eax; /* 0x250DB239: mov edx, eax */
   7066     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   7067     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   7068     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   7069     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7070     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7071     _flag_k = FK_CMP;
   7072     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   7073     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   7074     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7075     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7076     _flag_k = FK_NARROW(FK_CMP, 24);
   7077     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   7078 L_250DB249:
   7079     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   7080     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   7081     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   7082     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7083     _flag_k = FK_CMP;
   7084     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   7085 L_250DB251:
   7086     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   7087     PUSH32(esp, eax); /* 0x250DB254: push eax */
   7088     ecx = esi; /* 0x250DB255: mov ecx, esi */
   7089     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   7090     RECOMP_FLAGS_IN();
   7091     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   7092     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   7093     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   7094     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   7095     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   7096     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   7097     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   7098     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   7099     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   7100     PUSH32(esp, eax); /* 0x250DB276: push eax */
   7101     ecx = esi; /* 0x250DB277: mov ecx, esi */
   7102     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   7103     RECOMP_FLAGS_IN();
   7104     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   7105 L_250DB280:
   7106     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   7107     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   7108     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7109     _flag_k = FK_CMP;
   7110     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   7111 L_250DB285:
   7112     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   7113     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   7114     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   7115     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   7116     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   7117     RECOMP_FLAGS_IN();
   7118     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   7119     PUSH32(esp, edx); /* 0x250DB294: push edx */
   7120     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   7121     PUSH32(esp, eax); /* 0x250DB298: push eax */
   7122     ecx = esi; /* 0x250DB299: mov ecx, esi */
   7123     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   7124     RECOMP_FLAGS_IN();
   7125     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   7126     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   7127     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   7128     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7129     _flag_k = FK_CMP;
   7130     RECOMP_BACKEDGE();
   7131     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   7132 L_250DB2A8:
   7133     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   7134     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   7135     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   7136     RECOMP_FLAGS_IN();
   7137     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   7138     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   7139     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   7140     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   7141     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   7142     RECOMP_FLAGS_IN();
   7143     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7144     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7145     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   7146     _flag_k = FK_ADD;
   7147     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   7148     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   7149     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   7150     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   7151     RECOMP_FLAGS_IN();
   7152     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   7153     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   7154     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   7155     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   7156     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   7157     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   7158     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   7159     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   7160 L_251485D0:
   7161     ecx = MEM32(ebp + (-0x10)); /* 0x251485D0: mov ecx, dword ptr [ebp - 0x10] */
   7162     RECOMP_BACKEDGE();
   7163     goto L_250DB0B0; /* 0x251485D3: jmp 0x250db0b0 */
   7164     { RECOMP_REGS_OUT(); return; } /* end of function */
   7165     RECOMP_REGS_OUT();
   7166 }
   7167 
   7168 void sub_251485D8(void) {
   7169     int _fpu_cmp = 0;
   7170     uint32_t _cf = 0;
   7171     int _df = 1;
   7172     uint32_t _flag_k = FK_NONE;
   7173     uint32_t _flag_a = 0, _flag_b = 0;
   7174     uint32_t _itail_tgt = 0;
   7175     RECOMP_REGS_LOCALS
   7176     RECOMP_ENTER(0x251485D8u);
   7177 
   7178 L_251485D8:
   7179     eax = MEM32(ebp + 0x8); /* 0x251485D8: mov eax, dword ptr [ebp + 8] */
   7180     PUSH32(esp, eax); /* 0x251485DB: push eax */
   7181     RECOMP_ICALL(0x25137EECu); /* 0x251485DC: call 0x25137eec */ /* not lifted */
   7182     RECOMP_FLAGS_IN();
   7183     ecx = POP32_VAL(esp); /* 0x251485E1: pop ecx */
   7184     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251485E2: ret  */
   7185     RECOMP_REGS_OUT();
   7186 }
   7187 
   7188 void sub_251485E3(void) {
   7189     int _fpu_cmp = 0;
   7190     uint32_t _cf = 0;
   7191     int _df = 1;
   7192     uint32_t _flag_k = FK_NONE;
   7193     uint32_t _flag_a = 0, _flag_b = 0;
   7194     uint32_t _itail_tgt = 0;
   7195     RECOMP_REGS_LOCALS
   7196     RECOMP_ENTER(0x251485E3u);
   7197 
   7198 L_251485E3:
   7199     ecx = MEM32(ebp + (-0x10)); /* 0x251485E3: mov ecx, dword ptr [ebp - 0x10] */
   7200     goto L_2501C660; /* 0x251485E6: jmp 0x2501c660 */
   7201     { RECOMP_REGS_OUT(); return; } /* end of function */
   7202     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   7203     RECOMP_REGS_OUT();
   7204 }
   7205 
   7206 void sub_251485EB(void) {
   7207     int _fpu_cmp = 0;
   7208     uint32_t _cf = 0;
   7209     int _df = 1;
   7210     uint32_t _flag_k = FK_NONE;
   7211     uint32_t _flag_a = 0, _flag_b = 0;
   7212     uint32_t _itail_tgt = 0;
   7213     RECOMP_REGS_LOCALS
   7214     RECOMP_ENTER(0x251485EBu);
   7215 
   7216     goto L_251485EB;
   7217 L_251380C4:
   7218     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   7219 L_251485EB:
   7220     eax = 0x25168BF8u; /* 0x251485EB: mov eax, 0x25168bf8 */
   7221 L_251485F0:
   7222     RECOMP_BACKEDGE();
   7223     goto L_251380C4; /* 0x251485F0: jmp 0x251380c4 */
   7224     { RECOMP_REGS_OUT(); return; } /* end of function */
   7225   _ljump:
   7226     switch (_itail_tgt) {
   7227       case 0x251380C4u: goto L_251380C4;
   7228       case 0x251485EBu: goto L_251485EB;
   7229       case 0x251485F0u: goto L_251485F0;
   7230       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7231     }
   7232     RECOMP_REGS_OUT();
   7233 }
   7234 
   7235 void sub_25148600(void) {
   7236     int _fpu_cmp = 0;
   7237     uint32_t _cf = 0;
   7238     int _df = 1;
   7239     uint32_t _flag_k = FK_NONE;
   7240     uint32_t _flag_a = 0, _flag_b = 0;
   7241     uint32_t _itail_tgt = 0;
   7242     RECOMP_REGS_LOCALS
   7243     RECOMP_ENTER(0x25148600u);
   7244 
   7245     goto L_25148600;
   7246 L_250DB0B0:
   7247     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   7248     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   7249     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   7250     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   7251     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   7252     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   7253     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   7254     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   7255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7256     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   7257     _flag_k = FK_CMP;
   7258     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   7259     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   7260     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   7261     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   7262     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   7263     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   7264     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   7265     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   7266     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   7267     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   7268     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   7269     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   7270     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   7271     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   7272     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7273     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   7274     _cf = 0;
   7275     _flag_k = FK_TEST;
   7276     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   7277     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   7278     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7279     _flag_k = FK_CMP;
   7280     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   7281     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   7282 L_250DB11E:
   7283     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   7284     RECOMP_FLAGS_IN();
   7285 L_250DB123:
   7286     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   7287     PUSH32(esp, eax); /* 0x250DB129: push eax */
   7288     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   7289     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   7290     RECOMP_FLAGS_IN();
   7291     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7292     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7293     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   7294     _flag_k = FK_ADD;
   7295     eax = edi; /* 0x250DB135: mov eax, edi */
   7296     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   7297     _cf = (eax) != 0;
   7298     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   7299     _flag_k = FK_CMP;
   7300     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   7301       eax = _sc ? 0xFFFFFFFFu : 0;
   7302       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   7303       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   7304     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   7305     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   7306     _cf = 0;
   7307     _flag_k = FK_TEST;
   7308     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   7309     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   7310     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   7311     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   7312     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   7313     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   7314     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   7315     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   7316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7317     _flag_k = FK_CMP;
   7318     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   7319     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   7320     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   7321     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   7322     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   7323 L_250DB16C:
   7324     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   7325     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   7326     ecx = esi; /* 0x250DB170: mov ecx, esi */
   7327     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   7328     RECOMP_FLAGS_IN();
   7329     ecx = eax; /* 0x250DB177: mov ecx, eax */
   7330     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   7331     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   7332     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   7333     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   7334     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7335     _flag_k = FK_CMP;
   7336     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   7337     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   7338     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7339     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7340     _flag_k = FK_NARROW(FK_CMP, 24);
   7341     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   7342 L_250DB187:
   7343     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   7344     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   7345     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   7346     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7347     _flag_k = FK_CMP;
   7348     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   7349 L_250DB18F:
   7350     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   7351     PUSH32(esp, edx); /* 0x250DB192: push edx */
   7352     ecx = esi; /* 0x250DB193: mov ecx, esi */
   7353     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   7354     RECOMP_FLAGS_IN();
   7355     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   7356     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   7357     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   7358     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   7359     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   7360     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   7361     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   7362     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   7363     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   7364     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   7365     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   7366     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   7367     RECOMP_FLAGS_IN();
   7368     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   7369 L_250DB1BE:
   7370     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   7371     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   7372     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7373     _flag_k = FK_CMP;
   7374     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   7375 L_250DB1C3:
   7376     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   7377     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   7378     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   7379     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   7380     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   7381     RECOMP_FLAGS_IN();
   7382     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   7383     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   7384     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   7385     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   7386     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   7387     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   7388     RECOMP_FLAGS_IN();
   7389     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   7390     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   7391     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   7392     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7393     _flag_k = FK_CMP;
   7394     RECOMP_BACKEDGE();
   7395     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   7396 L_250DB1E6:
   7397     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   7398     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   7399     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   7400     RECOMP_FLAGS_IN();
   7401     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   7402     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   7403     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   7404     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   7405     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   7406     RECOMP_FLAGS_IN();
   7407     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7408     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7409     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   7410     _flag_k = FK_ADD;
   7411     eax = edi; /* 0x250DB201: mov eax, edi */
   7412     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   7413     _cf = (eax) != 0;
   7414     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   7415     _flag_k = FK_CMP;
   7416     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   7417       eax = _sc ? 0xFFFFFFFFu : 0;
   7418       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   7419       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   7420     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   7421     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   7422     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7423     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   7424     _cf = 0;
   7425     _flag_k = FK_TEST;
   7426     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   7427     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   7428     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   7429     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   7430     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   7431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7432     _flag_k = FK_CMP;
   7433     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   7434     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   7435     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   7436     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   7437     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   7438 L_250DB22E:
   7439     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   7440     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   7441     ecx = esi; /* 0x250DB232: mov ecx, esi */
   7442     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   7443     RECOMP_FLAGS_IN();
   7444     edx = eax; /* 0x250DB239: mov edx, eax */
   7445     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   7446     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   7447     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   7448     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7449     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7450     _flag_k = FK_CMP;
   7451     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   7452     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   7453     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7454     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7455     _flag_k = FK_NARROW(FK_CMP, 24);
   7456     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   7457 L_250DB249:
   7458     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   7459     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   7460     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   7461     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7462     _flag_k = FK_CMP;
   7463     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   7464 L_250DB251:
   7465     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   7466     PUSH32(esp, eax); /* 0x250DB254: push eax */
   7467     ecx = esi; /* 0x250DB255: mov ecx, esi */
   7468     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   7469     RECOMP_FLAGS_IN();
   7470     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   7471     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   7472     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   7473     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   7474     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   7475     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   7476     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   7477     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   7478     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   7479     PUSH32(esp, eax); /* 0x250DB276: push eax */
   7480     ecx = esi; /* 0x250DB277: mov ecx, esi */
   7481     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   7482     RECOMP_FLAGS_IN();
   7483     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   7484 L_250DB280:
   7485     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   7486     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   7487     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7488     _flag_k = FK_CMP;
   7489     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   7490 L_250DB285:
   7491     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   7492     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   7493     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   7494     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   7495     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   7496     RECOMP_FLAGS_IN();
   7497     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   7498     PUSH32(esp, edx); /* 0x250DB294: push edx */
   7499     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   7500     PUSH32(esp, eax); /* 0x250DB298: push eax */
   7501     ecx = esi; /* 0x250DB299: mov ecx, esi */
   7502     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   7503     RECOMP_FLAGS_IN();
   7504     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   7505     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   7506     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   7507     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7508     _flag_k = FK_CMP;
   7509     RECOMP_BACKEDGE();
   7510     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   7511 L_250DB2A8:
   7512     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   7513     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   7514     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   7515     RECOMP_FLAGS_IN();
   7516     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   7517     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   7518     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   7519     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   7520     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   7521     RECOMP_FLAGS_IN();
   7522     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7523     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7524     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   7525     _flag_k = FK_ADD;
   7526     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   7527     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   7528     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   7529     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   7530     RECOMP_FLAGS_IN();
   7531     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   7532     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   7533     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   7534     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   7535     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   7536     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   7537     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   7538     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   7539 L_25148600:
   7540     ecx = MEM32(ebp + (-0x10)); /* 0x25148600: mov ecx, dword ptr [ebp - 0x10] */
   7541     RECOMP_BACKEDGE();
   7542     goto L_250DB0B0; /* 0x25148603: jmp 0x250db0b0 */
   7543     { RECOMP_REGS_OUT(); return; } /* end of function */
   7544     RECOMP_REGS_OUT();
   7545 }
   7546 
   7547 void sub_25148608(void) {
   7548     int _fpu_cmp = 0;
   7549     uint32_t _cf = 0;
   7550     int _df = 1;
   7551     uint32_t _flag_k = FK_NONE;
   7552     uint32_t _flag_a = 0, _flag_b = 0;
   7553     uint32_t _itail_tgt = 0;
   7554     RECOMP_REGS_LOCALS
   7555     RECOMP_ENTER(0x25148608u);
   7556 
   7557     goto L_25148608;
   7558 L_251380C4:
   7559     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   7560 L_25148608:
   7561     eax = 0x25168C30u; /* 0x25148608: mov eax, 0x25168c30 */
   7562 L_2514860D:
   7563     RECOMP_BACKEDGE();
   7564     goto L_251380C4; /* 0x2514860D: jmp 0x251380c4 */
   7565     { RECOMP_REGS_OUT(); return; } /* end of function */
   7566   _ljump:
   7567     switch (_itail_tgt) {
   7568       case 0x251380C4u: goto L_251380C4;
   7569       case 0x25148608u: goto L_25148608;
   7570       case 0x2514860Du: goto L_2514860D;
   7571       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7572     }
   7573     RECOMP_REGS_OUT();
   7574 }
   7575 
   7576 void sub_25148620(void) {
   7577     int _fpu_cmp = 0;
   7578     uint32_t _cf = 0;
   7579     int _df = 1;
   7580     uint32_t _flag_k = FK_NONE;
   7581     uint32_t _flag_a = 0, _flag_b = 0;
   7582     uint32_t _itail_tgt = 0;
   7583     RECOMP_REGS_LOCALS
   7584     RECOMP_ENTER(0x25148620u);
   7585 
   7586     goto L_25148620;
   7587 L_250DB0B0:
   7588     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   7589     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   7590     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   7591     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   7592     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   7593     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   7594     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   7595     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   7596     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7597     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   7598     _flag_k = FK_CMP;
   7599     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   7600     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   7601     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   7602     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   7603     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   7604     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   7605     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   7606     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   7607     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   7608     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   7609     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   7610     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   7611     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   7612     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   7613     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7614     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   7615     _cf = 0;
   7616     _flag_k = FK_TEST;
   7617     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   7618     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   7619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7620     _flag_k = FK_CMP;
   7621     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   7622     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   7623 L_250DB11E:
   7624     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   7625     RECOMP_FLAGS_IN();
   7626 L_250DB123:
   7627     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   7628     PUSH32(esp, eax); /* 0x250DB129: push eax */
   7629     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   7630     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   7631     RECOMP_FLAGS_IN();
   7632     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7633     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7634     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   7635     _flag_k = FK_ADD;
   7636     eax = edi; /* 0x250DB135: mov eax, edi */
   7637     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   7638     _cf = (eax) != 0;
   7639     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   7640     _flag_k = FK_CMP;
   7641     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   7642       eax = _sc ? 0xFFFFFFFFu : 0;
   7643       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   7644       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   7645     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   7646     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   7647     _cf = 0;
   7648     _flag_k = FK_TEST;
   7649     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   7650     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   7651     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   7652     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   7653     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   7654     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   7655     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   7656     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   7657     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7658     _flag_k = FK_CMP;
   7659     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   7660     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   7661     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   7662     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   7663     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   7664 L_250DB16C:
   7665     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   7666     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   7667     ecx = esi; /* 0x250DB170: mov ecx, esi */
   7668     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   7669     RECOMP_FLAGS_IN();
   7670     ecx = eax; /* 0x250DB177: mov ecx, eax */
   7671     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   7672     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   7673     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   7674     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   7675     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7676     _flag_k = FK_CMP;
   7677     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   7678     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   7679     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7680     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7681     _flag_k = FK_NARROW(FK_CMP, 24);
   7682     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   7683 L_250DB187:
   7684     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   7685     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   7686     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   7687     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7688     _flag_k = FK_CMP;
   7689     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   7690 L_250DB18F:
   7691     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   7692     PUSH32(esp, edx); /* 0x250DB192: push edx */
   7693     ecx = esi; /* 0x250DB193: mov ecx, esi */
   7694     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   7695     RECOMP_FLAGS_IN();
   7696     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   7697     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   7698     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   7699     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   7700     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   7701     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   7702     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   7703     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   7704     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   7705     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   7706     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   7707     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   7708     RECOMP_FLAGS_IN();
   7709     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   7710 L_250DB1BE:
   7711     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   7712     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   7713     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7714     _flag_k = FK_CMP;
   7715     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   7716 L_250DB1C3:
   7717     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   7718     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   7719     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   7720     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   7721     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   7722     RECOMP_FLAGS_IN();
   7723     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   7724     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   7725     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   7726     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   7727     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   7728     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   7729     RECOMP_FLAGS_IN();
   7730     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   7731     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   7732     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   7733     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7734     _flag_k = FK_CMP;
   7735     RECOMP_BACKEDGE();
   7736     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   7737 L_250DB1E6:
   7738     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   7739     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   7740     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   7741     RECOMP_FLAGS_IN();
   7742     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   7743     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   7744     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   7745     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   7746     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   7747     RECOMP_FLAGS_IN();
   7748     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7749     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7750     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   7751     _flag_k = FK_ADD;
   7752     eax = edi; /* 0x250DB201: mov eax, edi */
   7753     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   7754     _cf = (eax) != 0;
   7755     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   7756     _flag_k = FK_CMP;
   7757     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   7758       eax = _sc ? 0xFFFFFFFFu : 0;
   7759       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   7760       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   7761     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   7762     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   7763     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7764     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   7765     _cf = 0;
   7766     _flag_k = FK_TEST;
   7767     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   7768     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   7769     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   7770     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   7771     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   7772     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7773     _flag_k = FK_CMP;
   7774     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   7775     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   7776     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   7777     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   7778     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   7779 L_250DB22E:
   7780     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   7781     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   7782     ecx = esi; /* 0x250DB232: mov ecx, esi */
   7783     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   7784     RECOMP_FLAGS_IN();
   7785     edx = eax; /* 0x250DB239: mov edx, eax */
   7786     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   7787     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   7788     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   7789     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7790     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7791     _flag_k = FK_CMP;
   7792     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   7793     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   7794     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7795     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7796     _flag_k = FK_NARROW(FK_CMP, 24);
   7797     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   7798 L_250DB249:
   7799     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   7800     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   7801     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   7802     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7803     _flag_k = FK_CMP;
   7804     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   7805 L_250DB251:
   7806     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   7807     PUSH32(esp, eax); /* 0x250DB254: push eax */
   7808     ecx = esi; /* 0x250DB255: mov ecx, esi */
   7809     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   7810     RECOMP_FLAGS_IN();
   7811     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   7812     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   7813     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   7814     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   7815     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   7816     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   7817     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   7818     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   7819     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   7820     PUSH32(esp, eax); /* 0x250DB276: push eax */
   7821     ecx = esi; /* 0x250DB277: mov ecx, esi */
   7822     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   7823     RECOMP_FLAGS_IN();
   7824     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   7825 L_250DB280:
   7826     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   7827     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   7828     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7829     _flag_k = FK_CMP;
   7830     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   7831 L_250DB285:
   7832     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   7833     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   7834     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   7835     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   7836     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   7837     RECOMP_FLAGS_IN();
   7838     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   7839     PUSH32(esp, edx); /* 0x250DB294: push edx */
   7840     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   7841     PUSH32(esp, eax); /* 0x250DB298: push eax */
   7842     ecx = esi; /* 0x250DB299: mov ecx, esi */
   7843     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   7844     RECOMP_FLAGS_IN();
   7845     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   7846     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   7847     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   7848     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7849     _flag_k = FK_CMP;
   7850     RECOMP_BACKEDGE();
   7851     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   7852 L_250DB2A8:
   7853     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   7854     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   7855     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   7856     RECOMP_FLAGS_IN();
   7857     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   7858     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   7859     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   7860     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   7861     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   7862     RECOMP_FLAGS_IN();
   7863     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7864     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7865     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   7866     _flag_k = FK_ADD;
   7867     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   7868     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   7869     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   7870     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   7871     RECOMP_FLAGS_IN();
   7872     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   7873     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   7874     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   7875     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   7876     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   7877     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   7878     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   7879     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   7880 L_25148620:
   7881     ecx = MEM32(ebp + (-0x10)); /* 0x25148620: mov ecx, dword ptr [ebp - 0x10] */
   7882     RECOMP_BACKEDGE();
   7883     goto L_250DB0B0; /* 0x25148623: jmp 0x250db0b0 */
   7884     { RECOMP_REGS_OUT(); return; } /* end of function */
   7885     RECOMP_REGS_OUT();
   7886 }
   7887 
   7888 void sub_25148628(void) {
   7889     int _fpu_cmp = 0;
   7890     uint32_t _cf = 0;
   7891     int _df = 1;
   7892     uint32_t _flag_k = FK_NONE;
   7893     uint32_t _flag_a = 0, _flag_b = 0;
   7894     uint32_t _itail_tgt = 0;
   7895     RECOMP_REGS_LOCALS
   7896     RECOMP_ENTER(0x25148628u);
   7897 
   7898 L_25148628:
   7899     eax = MEM32(ebp + 0x8); /* 0x25148628: mov eax, dword ptr [ebp + 8] */
   7900     PUSH32(esp, eax); /* 0x2514862B: push eax */
   7901     RECOMP_ICALL(0x25137EECu); /* 0x2514862C: call 0x25137eec */ /* not lifted */
   7902     RECOMP_FLAGS_IN();
   7903     ecx = POP32_VAL(esp); /* 0x25148631: pop ecx */
   7904     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148632: ret  */
   7905     RECOMP_REGS_OUT();
   7906 }