aorecomp

Anarchy Online classic in the browser

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


client/game/bbr.dll/lifted-0093.c (185242B)


      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_25147CC8(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(0x25147CC8u);
     17 
     18     goto L_25147CC8;
     19 L_250DB0B0:
     20     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
     21     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
     22     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
     23     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
     24     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
     25     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
     26     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
     27     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
     28     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     29     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
     30     _flag_k = FK_CMP;
     31     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
     32     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
     33     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
     34     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
     35     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
     36     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
     37     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
     38     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
     39     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
     40     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
     41     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
     42     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
     43     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
     44     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
     45     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     46     ebx = 0; /* 0x250DB111: xor ebx, ebx */
     47     _cf = 0;
     48     _flag_k = FK_TEST;
     49     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
     50     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
     51     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     52     _flag_k = FK_CMP;
     53     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
     54     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
     55 L_250DB11E:
     56     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
     57     RECOMP_FLAGS_IN();
     58 L_250DB123:
     59     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
     60     PUSH32(esp, eax); /* 0x250DB129: push eax */
     61     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
     62     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
     63     RECOMP_FLAGS_IN();
     64     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     65     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     66     esp = esp + 4; /* 0x250DB132: add esp, 4 */
     67     _flag_k = FK_ADD;
     68     eax = edi; /* 0x250DB135: mov eax, edi */
     69     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
     70     _cf = (eax) != 0;
     71     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
     72     _flag_k = FK_CMP;
     73     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
     74       eax = _sc ? 0xFFFFFFFFu : 0;
     75       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
     76       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
     77     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
     78     eax = eax & esi; /* 0x250DB13B: and eax, esi */
     79     _cf = 0;
     80     _flag_k = FK_TEST;
     81     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
     82     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
     83     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
     84     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
     85     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
     86     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
     87     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
     88     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
     89     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     90     _flag_k = FK_CMP;
     91     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
     92     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
     93     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
     94     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
     95     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
     96 L_250DB16C:
     97     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
     98     PUSH32(esp, eax); /* 0x250DB16F: push eax */
     99     ecx = esi; /* 0x250DB170: mov ecx, esi */
    100     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
    101     RECOMP_FLAGS_IN();
    102     ecx = eax; /* 0x250DB177: mov ecx, eax */
    103     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
    104     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
    105     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
    106     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    107     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    108     _flag_k = FK_CMP;
    109     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
    110     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
    111     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    112     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    113     _flag_k = FK_NARROW(FK_CMP, 24);
    114     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
    115 L_250DB187:
    116     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
    117     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
    118     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    119     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    120     _flag_k = FK_CMP;
    121     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
    122 L_250DB18F:
    123     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
    124     PUSH32(esp, edx); /* 0x250DB192: push edx */
    125     ecx = esi; /* 0x250DB193: mov ecx, esi */
    126     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
    127     RECOMP_FLAGS_IN();
    128     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
    129     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
    130     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
    131     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
    132     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
    133     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
    134     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
    135     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
    136     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
    137     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
    138     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
    139     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
    140     RECOMP_FLAGS_IN();
    141     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
    142 L_250DB1BE:
    143     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
    144     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
    145     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    146     _flag_k = FK_CMP;
    147     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
    148 L_250DB1C3:
    149     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
    150     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
    151     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
    152     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
    153     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
    154     RECOMP_FLAGS_IN();
    155     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
    156     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
    157     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
    158     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
    159     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
    160     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
    161     RECOMP_FLAGS_IN();
    162     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
    163     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
    164     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
    165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    166     _flag_k = FK_CMP;
    167     RECOMP_BACKEDGE();
    168     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
    169 L_250DB1E6:
    170     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
    171     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
    172     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
    173     RECOMP_FLAGS_IN();
    174     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
    175     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
    176     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
    177     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
    178     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
    179     RECOMP_FLAGS_IN();
    180     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    181     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    182     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
    183     _flag_k = FK_ADD;
    184     eax = edi; /* 0x250DB201: mov eax, edi */
    185     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    186     _cf = (eax) != 0;
    187     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
    188     _flag_k = FK_CMP;
    189     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
    190       eax = _sc ? 0xFFFFFFFFu : 0;
    191       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    192       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    193     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
    194     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
    195     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    196     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
    197     _cf = 0;
    198     _flag_k = FK_TEST;
    199     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
    200     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
    201     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
    202     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
    203     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    204     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    205     _flag_k = FK_CMP;
    206     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
    207     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
    208     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
    209     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
    210     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
    211 L_250DB22E:
    212     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
    213     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
    214     ecx = esi; /* 0x250DB232: mov ecx, esi */
    215     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
    216     RECOMP_FLAGS_IN();
    217     edx = eax; /* 0x250DB239: mov edx, eax */
    218     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
    219     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
    220     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
    221     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    222     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    223     _flag_k = FK_CMP;
    224     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
    225     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
    226     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    227     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    228     _flag_k = FK_NARROW(FK_CMP, 24);
    229     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
    230 L_250DB249:
    231     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
    232     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
    233     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
    234     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    235     _flag_k = FK_CMP;
    236     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
    237 L_250DB251:
    238     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
    239     PUSH32(esp, eax); /* 0x250DB254: push eax */
    240     ecx = esi; /* 0x250DB255: mov ecx, esi */
    241     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
    242     RECOMP_FLAGS_IN();
    243     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
    244     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
    245     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
    246     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
    247     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
    248     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
    249     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
    250     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
    251     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
    252     PUSH32(esp, eax); /* 0x250DB276: push eax */
    253     ecx = esi; /* 0x250DB277: mov ecx, esi */
    254     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
    255     RECOMP_FLAGS_IN();
    256     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
    257 L_250DB280:
    258     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
    259     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
    260     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    261     _flag_k = FK_CMP;
    262     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
    263 L_250DB285:
    264     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
    265     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
    266     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
    267     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
    268     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
    269     RECOMP_FLAGS_IN();
    270     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
    271     PUSH32(esp, edx); /* 0x250DB294: push edx */
    272     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
    273     PUSH32(esp, eax); /* 0x250DB298: push eax */
    274     ecx = esi; /* 0x250DB299: mov ecx, esi */
    275     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
    276     RECOMP_FLAGS_IN();
    277     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
    278     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
    279     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    280     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    281     _flag_k = FK_CMP;
    282     RECOMP_BACKEDGE();
    283     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
    284 L_250DB2A8:
    285     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
    286     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
    287     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
    288     RECOMP_FLAGS_IN();
    289     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
    290     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
    291     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
    292     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
    293     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
    294     RECOMP_FLAGS_IN();
    295     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    296     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    297     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
    298     _flag_k = FK_ADD;
    299     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
    300     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
    301     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
    302     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
    303     RECOMP_FLAGS_IN();
    304     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
    305     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
    306     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
    307     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
    308     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
    309     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
    310     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
    311     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
    312 L_25147CC8:
    313     ecx = MEM32(ebp + (-0x10)); /* 0x25147CC8: mov ecx, dword ptr [ebp - 0x10] */
    314     RECOMP_BACKEDGE();
    315     goto L_250DB0B0; /* 0x25147CCB: jmp 0x250db0b0 */
    316     { RECOMP_REGS_OUT(); return; } /* end of function */
    317     RECOMP_REGS_OUT();
    318 }
    319 
    320 void sub_25147CD0(void) {
    321     int _fpu_cmp = 0;
    322     uint32_t _cf = 0;
    323     int _df = 1;
    324     uint32_t _flag_k = FK_NONE;
    325     uint32_t _flag_a = 0, _flag_b = 0;
    326     uint32_t _itail_tgt = 0;
    327     RECOMP_REGS_LOCALS
    328     RECOMP_ENTER(0x25147CD0u);
    329 
    330     goto L_25147CD0;
    331 L_251380C4:
    332     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    333 L_25147CD0:
    334     eax = 0x251681A0u; /* 0x25147CD0: mov eax, 0x251681a0 */
    335 L_25147CD5:
    336     RECOMP_BACKEDGE();
    337     goto L_251380C4; /* 0x25147CD5: jmp 0x251380c4 */
    338     { RECOMP_REGS_OUT(); return; } /* end of function */
    339   _ljump:
    340     switch (_itail_tgt) {
    341       case 0x251380C4u: goto L_251380C4;
    342       case 0x25147CD0u: goto L_25147CD0;
    343       case 0x25147CD5u: goto L_25147CD5;
    344       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    345     }
    346     RECOMP_REGS_OUT();
    347 }
    348 
    349 void sub_25147CE0(void) {
    350     int _fpu_cmp = 0;
    351     uint32_t _cf = 0;
    352     int _df = 1;
    353     uint32_t _flag_k = FK_NONE;
    354     uint32_t _flag_a = 0, _flag_b = 0;
    355     uint32_t _itail_tgt = 0;
    356     RECOMP_REGS_LOCALS
    357     RECOMP_ENTER(0x25147CE0u);
    358 
    359     goto L_25147CE0;
    360 L_250DB0B0:
    361     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
    362     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
    363     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
    364     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
    365     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
    366     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
    367     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
    368     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    369     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    370     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
    371     _flag_k = FK_CMP;
    372     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
    373     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
    374     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
    375     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
    376     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
    377     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
    378     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
    379     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
    380     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
    381     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
    382     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
    383     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
    384     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
    385     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
    386     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    387     ebx = 0; /* 0x250DB111: xor ebx, ebx */
    388     _cf = 0;
    389     _flag_k = FK_TEST;
    390     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
    391     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
    392     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    393     _flag_k = FK_CMP;
    394     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
    395     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
    396 L_250DB11E:
    397     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
    398     RECOMP_FLAGS_IN();
    399 L_250DB123:
    400     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
    401     PUSH32(esp, eax); /* 0x250DB129: push eax */
    402     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
    403     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
    404     RECOMP_FLAGS_IN();
    405     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    406     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    407     esp = esp + 4; /* 0x250DB132: add esp, 4 */
    408     _flag_k = FK_ADD;
    409     eax = edi; /* 0x250DB135: mov eax, edi */
    410     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    411     _cf = (eax) != 0;
    412     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
    413     _flag_k = FK_CMP;
    414     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
    415       eax = _sc ? 0xFFFFFFFFu : 0;
    416       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    417       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    418     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
    419     eax = eax & esi; /* 0x250DB13B: and eax, esi */
    420     _cf = 0;
    421     _flag_k = FK_TEST;
    422     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
    423     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
    424     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
    425     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
    426     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
    427     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
    428     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
    429     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    431     _flag_k = FK_CMP;
    432     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
    433     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
    434     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
    435     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
    436     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
    437 L_250DB16C:
    438     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
    439     PUSH32(esp, eax); /* 0x250DB16F: push eax */
    440     ecx = esi; /* 0x250DB170: mov ecx, esi */
    441     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
    442     RECOMP_FLAGS_IN();
    443     ecx = eax; /* 0x250DB177: mov ecx, eax */
    444     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
    445     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
    446     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
    447     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    448     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    449     _flag_k = FK_CMP;
    450     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
    451     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
    452     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    454     _flag_k = FK_NARROW(FK_CMP, 24);
    455     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
    456 L_250DB187:
    457     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
    458     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
    459     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    460     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    461     _flag_k = FK_CMP;
    462     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
    463 L_250DB18F:
    464     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
    465     PUSH32(esp, edx); /* 0x250DB192: push edx */
    466     ecx = esi; /* 0x250DB193: mov ecx, esi */
    467     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
    468     RECOMP_FLAGS_IN();
    469     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
    470     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
    471     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
    472     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
    473     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
    474     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
    475     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
    476     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
    477     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
    478     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
    479     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
    480     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
    481     RECOMP_FLAGS_IN();
    482     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
    483 L_250DB1BE:
    484     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
    485     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
    486     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    487     _flag_k = FK_CMP;
    488     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
    489 L_250DB1C3:
    490     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
    491     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
    492     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
    493     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
    494     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
    495     RECOMP_FLAGS_IN();
    496     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
    497     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
    498     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
    499     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
    500     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
    501     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
    502     RECOMP_FLAGS_IN();
    503     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
    504     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
    505     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
    506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    507     _flag_k = FK_CMP;
    508     RECOMP_BACKEDGE();
    509     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
    510 L_250DB1E6:
    511     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
    512     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
    513     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
    514     RECOMP_FLAGS_IN();
    515     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
    516     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
    517     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
    518     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
    519     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
    520     RECOMP_FLAGS_IN();
    521     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    522     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    523     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
    524     _flag_k = FK_ADD;
    525     eax = edi; /* 0x250DB201: mov eax, edi */
    526     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    527     _cf = (eax) != 0;
    528     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
    529     _flag_k = FK_CMP;
    530     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
    531       eax = _sc ? 0xFFFFFFFFu : 0;
    532       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    533       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    534     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
    535     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
    536     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    537     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
    538     _cf = 0;
    539     _flag_k = FK_TEST;
    540     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
    541     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
    542     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
    543     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
    544     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    545     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    546     _flag_k = FK_CMP;
    547     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
    548     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
    549     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
    550     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
    551     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
    552 L_250DB22E:
    553     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
    554     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
    555     ecx = esi; /* 0x250DB232: mov ecx, esi */
    556     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
    557     RECOMP_FLAGS_IN();
    558     edx = eax; /* 0x250DB239: mov edx, eax */
    559     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
    560     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
    561     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
    562     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    563     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    564     _flag_k = FK_CMP;
    565     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
    566     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
    567     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    568     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    569     _flag_k = FK_NARROW(FK_CMP, 24);
    570     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
    571 L_250DB249:
    572     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
    573     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
    574     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
    575     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    576     _flag_k = FK_CMP;
    577     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
    578 L_250DB251:
    579     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
    580     PUSH32(esp, eax); /* 0x250DB254: push eax */
    581     ecx = esi; /* 0x250DB255: mov ecx, esi */
    582     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
    583     RECOMP_FLAGS_IN();
    584     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
    585     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
    586     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
    587     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
    588     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
    589     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
    590     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
    591     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
    592     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
    593     PUSH32(esp, eax); /* 0x250DB276: push eax */
    594     ecx = esi; /* 0x250DB277: mov ecx, esi */
    595     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
    596     RECOMP_FLAGS_IN();
    597     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
    598 L_250DB280:
    599     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
    600     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
    601     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    602     _flag_k = FK_CMP;
    603     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
    604 L_250DB285:
    605     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
    606     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
    607     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
    608     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
    609     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
    610     RECOMP_FLAGS_IN();
    611     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
    612     PUSH32(esp, edx); /* 0x250DB294: push edx */
    613     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
    614     PUSH32(esp, eax); /* 0x250DB298: push eax */
    615     ecx = esi; /* 0x250DB299: mov ecx, esi */
    616     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
    617     RECOMP_FLAGS_IN();
    618     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
    619     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
    620     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    621     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    622     _flag_k = FK_CMP;
    623     RECOMP_BACKEDGE();
    624     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
    625 L_250DB2A8:
    626     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
    627     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
    628     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
    629     RECOMP_FLAGS_IN();
    630     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
    631     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
    632     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
    633     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
    634     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
    635     RECOMP_FLAGS_IN();
    636     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    637     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    638     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
    639     _flag_k = FK_ADD;
    640     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
    641     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
    642     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
    643     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
    644     RECOMP_FLAGS_IN();
    645     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
    646     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
    647     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
    648     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
    649     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
    650     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
    651     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
    652     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
    653 L_25147CE0:
    654     ecx = MEM32(ebp + (-0x10)); /* 0x25147CE0: mov ecx, dword ptr [ebp - 0x10] */
    655     RECOMP_BACKEDGE();
    656     goto L_250DB0B0; /* 0x25147CE3: jmp 0x250db0b0 */
    657     { RECOMP_REGS_OUT(); return; } /* end of function */
    658     RECOMP_REGS_OUT();
    659 }
    660 
    661 void sub_25147CE8(void) {
    662     int _fpu_cmp = 0;
    663     uint32_t _cf = 0;
    664     int _df = 1;
    665     uint32_t _flag_k = FK_NONE;
    666     uint32_t _flag_a = 0, _flag_b = 0;
    667     uint32_t _itail_tgt = 0;
    668     RECOMP_REGS_LOCALS
    669     RECOMP_ENTER(0x25147CE8u);
    670 
    671 L_25147CE8:
    672     eax = MEM32(ebp + 0x8); /* 0x25147CE8: mov eax, dword ptr [ebp + 8] */
    673     PUSH32(esp, eax); /* 0x25147CEB: push eax */
    674     RECOMP_ICALL(0x25137EECu); /* 0x25147CEC: call 0x25137eec */ /* not lifted */
    675     RECOMP_FLAGS_IN();
    676     ecx = POP32_VAL(esp); /* 0x25147CF1: pop ecx */
    677     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25147CF2: ret  */
    678     RECOMP_REGS_OUT();
    679 }
    680 
    681 void sub_25147CF3(void) {
    682     int _fpu_cmp = 0;
    683     uint32_t _cf = 0;
    684     int _df = 1;
    685     uint32_t _flag_k = FK_NONE;
    686     uint32_t _flag_a = 0, _flag_b = 0;
    687     uint32_t _itail_tgt = 0;
    688     RECOMP_REGS_LOCALS
    689     RECOMP_ENTER(0x25147CF3u);
    690 
    691 L_25147CF3:
    692     ecx = MEM32(ebp + (-0x10)); /* 0x25147CF3: mov ecx, dword ptr [ebp - 0x10] */
    693     goto L_2501C660; /* 0x25147CF6: jmp 0x2501c660 */
    694     { RECOMP_REGS_OUT(); return; } /* end of function */
    695     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
    696     RECOMP_REGS_OUT();
    697 }
    698 
    699 void sub_25147CFB(void) {
    700     int _fpu_cmp = 0;
    701     uint32_t _cf = 0;
    702     int _df = 1;
    703     uint32_t _flag_k = FK_NONE;
    704     uint32_t _flag_a = 0, _flag_b = 0;
    705     uint32_t _itail_tgt = 0;
    706     RECOMP_REGS_LOCALS
    707     RECOMP_ENTER(0x25147CFBu);
    708 
    709     goto L_25147CFB;
    710 L_251380C4:
    711     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    712 L_25147CFB:
    713     eax = 0x251681D0u; /* 0x25147CFB: mov eax, 0x251681d0 */
    714 L_25147D00:
    715     RECOMP_BACKEDGE();
    716     goto L_251380C4; /* 0x25147D00: jmp 0x251380c4 */
    717     { RECOMP_REGS_OUT(); return; } /* end of function */
    718   _ljump:
    719     switch (_itail_tgt) {
    720       case 0x251380C4u: goto L_251380C4;
    721       case 0x25147CFBu: goto L_25147CFB;
    722       case 0x25147D00u: goto L_25147D00;
    723       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    724     }
    725     RECOMP_REGS_OUT();
    726 }
    727 
    728 void sub_25147D10(void) {
    729     int _fpu_cmp = 0;
    730     uint32_t _cf = 0;
    731     int _df = 1;
    732     uint32_t _flag_k = FK_NONE;
    733     uint32_t _flag_a = 0, _flag_b = 0;
    734     uint32_t _itail_tgt = 0;
    735     RECOMP_REGS_LOCALS
    736     RECOMP_ENTER(0x25147D10u);
    737 
    738 L_25147D10:
    739     ecx = MEM32(ebp + (-0x10)); /* 0x25147D10: mov ecx, dword ptr [ebp - 0x10] */
    740     goto L_2501C660; /* 0x25147D13: jmp 0x2501c660 */
    741     { RECOMP_REGS_OUT(); return; } /* end of function */
    742     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
    743     RECOMP_REGS_OUT();
    744 }
    745 
    746 void sub_25147D18(void) {
    747     int _fpu_cmp = 0;
    748     uint32_t _cf = 0;
    749     int _df = 1;
    750     uint32_t _flag_k = FK_NONE;
    751     uint32_t _flag_a = 0, _flag_b = 0;
    752     uint32_t _itail_tgt = 0;
    753     RECOMP_REGS_LOCALS
    754     RECOMP_ENTER(0x25147D18u);
    755 
    756     goto L_25147D18;
    757 L_250DB0B0:
    758     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
    759     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
    760     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
    761     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
    762     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
    763     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
    764     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
    765     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    766     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    767     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
    768     _flag_k = FK_CMP;
    769     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
    770     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
    771     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
    772     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
    773     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
    774     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
    775     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
    776     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
    777     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
    778     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
    779     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
    780     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
    781     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
    782     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
    783     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    784     ebx = 0; /* 0x250DB111: xor ebx, ebx */
    785     _cf = 0;
    786     _flag_k = FK_TEST;
    787     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
    788     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
    789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    790     _flag_k = FK_CMP;
    791     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
    792     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
    793 L_250DB11E:
    794     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
    795     RECOMP_FLAGS_IN();
    796 L_250DB123:
    797     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
    798     PUSH32(esp, eax); /* 0x250DB129: push eax */
    799     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
    800     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
    801     RECOMP_FLAGS_IN();
    802     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    803     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    804     esp = esp + 4; /* 0x250DB132: add esp, 4 */
    805     _flag_k = FK_ADD;
    806     eax = edi; /* 0x250DB135: mov eax, edi */
    807     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    808     _cf = (eax) != 0;
    809     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
    810     _flag_k = FK_CMP;
    811     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
    812       eax = _sc ? 0xFFFFFFFFu : 0;
    813       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    814       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    815     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
    816     eax = eax & esi; /* 0x250DB13B: and eax, esi */
    817     _cf = 0;
    818     _flag_k = FK_TEST;
    819     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
    820     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
    821     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
    822     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
    823     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
    824     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
    825     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
    826     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    828     _flag_k = FK_CMP;
    829     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
    830     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
    831     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
    832     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
    833     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
    834 L_250DB16C:
    835     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
    836     PUSH32(esp, eax); /* 0x250DB16F: push eax */
    837     ecx = esi; /* 0x250DB170: mov ecx, esi */
    838     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
    839     RECOMP_FLAGS_IN();
    840     ecx = eax; /* 0x250DB177: mov ecx, eax */
    841     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
    842     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
    843     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
    844     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    845     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    846     _flag_k = FK_CMP;
    847     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
    848     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
    849     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    850     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    851     _flag_k = FK_NARROW(FK_CMP, 24);
    852     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
    853 L_250DB187:
    854     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
    855     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
    856     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
    857     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    858     _flag_k = FK_CMP;
    859     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
    860 L_250DB18F:
    861     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
    862     PUSH32(esp, edx); /* 0x250DB192: push edx */
    863     ecx = esi; /* 0x250DB193: mov ecx, esi */
    864     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
    865     RECOMP_FLAGS_IN();
    866     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
    867     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
    868     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
    869     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
    870     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
    871     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
    872     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
    873     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
    874     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
    875     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
    876     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
    877     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
    878     RECOMP_FLAGS_IN();
    879     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
    880 L_250DB1BE:
    881     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
    882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
    883     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    884     _flag_k = FK_CMP;
    885     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
    886 L_250DB1C3:
    887     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
    888     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
    889     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
    890     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
    891     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
    892     RECOMP_FLAGS_IN();
    893     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
    894     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
    895     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
    896     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
    897     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
    898     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
    899     RECOMP_FLAGS_IN();
    900     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
    901     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
    902     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
    903     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    904     _flag_k = FK_CMP;
    905     RECOMP_BACKEDGE();
    906     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
    907 L_250DB1E6:
    908     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
    909     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
    910     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
    911     RECOMP_FLAGS_IN();
    912     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
    913     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
    914     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
    915     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
    916     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
    917     RECOMP_FLAGS_IN();
    918     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    919     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    920     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
    921     _flag_k = FK_ADD;
    922     eax = edi; /* 0x250DB201: mov eax, edi */
    923     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    924     _cf = (eax) != 0;
    925     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
    926     _flag_k = FK_CMP;
    927     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
    928       eax = _sc ? 0xFFFFFFFFu : 0;
    929       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    930       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    931     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
    932     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
    933     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    934     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
    935     _cf = 0;
    936     _flag_k = FK_TEST;
    937     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
    938     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
    939     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
    940     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
    941     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    942     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    943     _flag_k = FK_CMP;
    944     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
    945     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
    946     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
    947     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
    948     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
    949 L_250DB22E:
    950     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
    951     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
    952     ecx = esi; /* 0x250DB232: mov ecx, esi */
    953     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
    954     RECOMP_FLAGS_IN();
    955     edx = eax; /* 0x250DB239: mov edx, eax */
    956     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
    957     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
    958     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
    959     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    960     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    961     _flag_k = FK_CMP;
    962     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
    963     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
    964     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    965     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    966     _flag_k = FK_NARROW(FK_CMP, 24);
    967     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
    968 L_250DB249:
    969     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
    970     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
    971     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
    972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    973     _flag_k = FK_CMP;
    974     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
    975 L_250DB251:
    976     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
    977     PUSH32(esp, eax); /* 0x250DB254: push eax */
    978     ecx = esi; /* 0x250DB255: mov ecx, esi */
    979     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
    980     RECOMP_FLAGS_IN();
    981     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
    982     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
    983     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
    984     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
    985     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
    986     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
    987     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
    988     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
    989     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
    990     PUSH32(esp, eax); /* 0x250DB276: push eax */
    991     ecx = esi; /* 0x250DB277: mov ecx, esi */
    992     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
    993     RECOMP_FLAGS_IN();
    994     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
    995 L_250DB280:
    996     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
    997     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
    998     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    999     _flag_k = FK_CMP;
   1000     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   1001 L_250DB285:
   1002     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   1003     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   1004     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   1005     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   1006     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   1007     RECOMP_FLAGS_IN();
   1008     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   1009     PUSH32(esp, edx); /* 0x250DB294: push edx */
   1010     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   1011     PUSH32(esp, eax); /* 0x250DB298: push eax */
   1012     ecx = esi; /* 0x250DB299: mov ecx, esi */
   1013     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   1014     RECOMP_FLAGS_IN();
   1015     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   1016     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   1017     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1018     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1019     _flag_k = FK_CMP;
   1020     RECOMP_BACKEDGE();
   1021     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   1022 L_250DB2A8:
   1023     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   1024     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   1025     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   1026     RECOMP_FLAGS_IN();
   1027     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   1028     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   1029     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   1030     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   1031     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   1032     RECOMP_FLAGS_IN();
   1033     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1034     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1035     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   1036     _flag_k = FK_ADD;
   1037     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   1038     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   1039     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   1040     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   1041     RECOMP_FLAGS_IN();
   1042     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   1043     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   1044     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   1045     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   1046     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   1047     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   1048     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   1049     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   1050 L_25147D18:
   1051     ecx = MEM32(ebp + (-0x10)); /* 0x25147D18: mov ecx, dword ptr [ebp - 0x10] */
   1052     RECOMP_BACKEDGE();
   1053     goto L_250DB0B0; /* 0x25147D1B: jmp 0x250db0b0 */
   1054     { RECOMP_REGS_OUT(); return; } /* end of function */
   1055     RECOMP_REGS_OUT();
   1056 }
   1057 
   1058 void sub_25147D20(void) {
   1059     int _fpu_cmp = 0;
   1060     uint32_t _cf = 0;
   1061     int _df = 1;
   1062     uint32_t _flag_k = FK_NONE;
   1063     uint32_t _flag_a = 0, _flag_b = 0;
   1064     uint32_t _itail_tgt = 0;
   1065     RECOMP_REGS_LOCALS
   1066     RECOMP_ENTER(0x25147D20u);
   1067 
   1068     goto L_25147D20;
   1069 L_251380C4:
   1070     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1071 L_25147D20:
   1072     eax = 0x25168208u; /* 0x25147D20: mov eax, 0x25168208 */
   1073 L_25147D25:
   1074     RECOMP_BACKEDGE();
   1075     goto L_251380C4; /* 0x25147D25: jmp 0x251380c4 */
   1076     { RECOMP_REGS_OUT(); return; } /* end of function */
   1077   _ljump:
   1078     switch (_itail_tgt) {
   1079       case 0x251380C4u: goto L_251380C4;
   1080       case 0x25147D20u: goto L_25147D20;
   1081       case 0x25147D25u: goto L_25147D25;
   1082       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1083     }
   1084     RECOMP_REGS_OUT();
   1085 }
   1086 
   1087 void sub_25147D30(void) {
   1088     int _fpu_cmp = 0;
   1089     uint32_t _cf = 0;
   1090     int _df = 1;
   1091     uint32_t _flag_k = FK_NONE;
   1092     uint32_t _flag_a = 0, _flag_b = 0;
   1093     uint32_t _itail_tgt = 0;
   1094     RECOMP_REGS_LOCALS
   1095     RECOMP_ENTER(0x25147D30u);
   1096 
   1097     goto L_25147D30;
   1098 L_25085240:
   1099     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   1100     ebp = esp; /* 0x25085241: mov ebp, esp */
   1101     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   1102     PUSH32(esp, esi); /* 0x25085244: push esi */
   1103     esi = ecx; /* 0x25085245: mov esi, ecx */
   1104     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   1105     PUSH32(esp, eax); /* 0x2508524A: push eax */
   1106     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   1107     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   1108     RECOMP_FLAGS_IN();
   1109     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1110     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1111     esp = esp + 4; /* 0x25085253: add esp, 4 */
   1112     _flag_k = FK_ADD;
   1113     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1114     eax = 0; /* 0x25085256: xor eax, eax */
   1115     _cf = 0;
   1116     _flag_k = FK_TEST;
   1117     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   1118     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   1119     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   1120     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   1121     esp = ebp; /* 0x25085262: mov esp, ebp */
   1122     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   1123     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   1124 L_25147D30:
   1125     ecx = ebp + (-0x90); /* 0x25147D30: lea ecx, [ebp - 0x90] */
   1126     RECOMP_BACKEDGE();
   1127     goto L_25085240; /* 0x25147D36: jmp 0x25085240 */
   1128     { RECOMP_REGS_OUT(); return; } /* end of function */
   1129     RECOMP_REGS_OUT();
   1130 }
   1131 
   1132 void sub_25147D3B(void) {
   1133     int _fpu_cmp = 0;
   1134     uint32_t _cf = 0;
   1135     int _df = 1;
   1136     uint32_t _flag_k = FK_NONE;
   1137     uint32_t _flag_a = 0, _flag_b = 0;
   1138     uint32_t _itail_tgt = 0;
   1139     RECOMP_REGS_LOCALS
   1140     RECOMP_ENTER(0x25147D3Bu);
   1141 
   1142 L_25147D3B:
   1143     ecx = ebp + (-0x294); /* 0x25147D3B: lea ecx, [ebp - 0x294] */
   1144 L_25147D41:
   1145     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1146     { RECOMP_REGS_OUT(); return; } /* end of function */
   1147   _ljump:
   1148     switch (_itail_tgt) {
   1149       case 0x25147D3Bu: goto L_25147D3B;
   1150       case 0x25147D41u: goto L_25147D41;
   1151       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1152     }
   1153     RECOMP_REGS_OUT();
   1154 }
   1155 
   1156 void sub_25147D47(void) {
   1157     int _fpu_cmp = 0;
   1158     uint32_t _cf = 0;
   1159     int _df = 1;
   1160     uint32_t _flag_k = FK_NONE;
   1161     uint32_t _flag_a = 0, _flag_b = 0;
   1162     uint32_t _itail_tgt = 0;
   1163     RECOMP_REGS_LOCALS
   1164     RECOMP_ENTER(0x25147D47u);
   1165 
   1166 L_25147D47:
   1167     ecx = ebp + (-0x310); /* 0x25147D47: lea ecx, [ebp - 0x310] */
   1168 L_25147D4D:
   1169     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1170     { RECOMP_REGS_OUT(); return; } /* end of function */
   1171   _ljump:
   1172     switch (_itail_tgt) {
   1173       case 0x25147D47u: goto L_25147D47;
   1174       case 0x25147D4Du: goto L_25147D4D;
   1175       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1176     }
   1177     RECOMP_REGS_OUT();
   1178 }
   1179 
   1180 void sub_25147D53(void) {
   1181     int _fpu_cmp = 0;
   1182     uint32_t _cf = 0;
   1183     int _df = 1;
   1184     uint32_t _flag_k = FK_NONE;
   1185     uint32_t _flag_a = 0, _flag_b = 0;
   1186     uint32_t _itail_tgt = 0;
   1187     RECOMP_REGS_LOCALS
   1188     RECOMP_ENTER(0x25147D53u);
   1189 
   1190 L_25147D53:
   1191     ecx = ebp + (-0x254); /* 0x25147D53: lea ecx, [ebp - 0x254] */
   1192 L_25147D59:
   1193     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1194     { RECOMP_REGS_OUT(); return; } /* end of function */
   1195   _ljump:
   1196     switch (_itail_tgt) {
   1197       case 0x25147D53u: goto L_25147D53;
   1198       case 0x25147D59u: goto L_25147D59;
   1199       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1200     }
   1201     RECOMP_REGS_OUT();
   1202 }
   1203 
   1204 void sub_25147D5F(void) {
   1205     int _fpu_cmp = 0;
   1206     uint32_t _cf = 0;
   1207     int _df = 1;
   1208     uint32_t _flag_k = FK_NONE;
   1209     uint32_t _flag_a = 0, _flag_b = 0;
   1210     uint32_t _itail_tgt = 0;
   1211     RECOMP_REGS_LOCALS
   1212     RECOMP_ENTER(0x25147D5Fu);
   1213 
   1214 L_25147D5F:
   1215     ecx = ebp + (-0x350); /* 0x25147D5F: lea ecx, [ebp - 0x350] */
   1216 L_25147D65:
   1217     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1218     { RECOMP_REGS_OUT(); return; } /* end of function */
   1219   _ljump:
   1220     switch (_itail_tgt) {
   1221       case 0x25147D5Fu: goto L_25147D5F;
   1222       case 0x25147D65u: goto L_25147D65;
   1223       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1224     }
   1225     RECOMP_REGS_OUT();
   1226 }
   1227 
   1228 void sub_25147D6B(void) {
   1229     int _fpu_cmp = 0;
   1230     uint32_t _cf = 0;
   1231     int _df = 1;
   1232     uint32_t _flag_k = FK_NONE;
   1233     uint32_t _flag_a = 0, _flag_b = 0;
   1234     uint32_t _itail_tgt = 0;
   1235     RECOMP_REGS_LOCALS
   1236     RECOMP_ENTER(0x25147D6Bu);
   1237 
   1238 L_25147D6B:
   1239     ecx = ebp + (-0x214); /* 0x25147D6B: lea ecx, [ebp - 0x214] */
   1240 L_25147D71:
   1241     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1242     { RECOMP_REGS_OUT(); return; } /* end of function */
   1243   _ljump:
   1244     switch (_itail_tgt) {
   1245       case 0x25147D6Bu: goto L_25147D6B;
   1246       case 0x25147D71u: goto L_25147D71;
   1247       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1248     }
   1249     RECOMP_REGS_OUT();
   1250 }
   1251 
   1252 void sub_25147D77(void) {
   1253     int _fpu_cmp = 0;
   1254     uint32_t _cf = 0;
   1255     int _df = 1;
   1256     uint32_t _flag_k = FK_NONE;
   1257     uint32_t _flag_a = 0, _flag_b = 0;
   1258     uint32_t _itail_tgt = 0;
   1259     RECOMP_REGS_LOCALS
   1260     RECOMP_ENTER(0x25147D77u);
   1261 
   1262 L_25147D77:
   1263     ecx = ebp + (-0x390); /* 0x25147D77: lea ecx, [ebp - 0x390] */
   1264 L_25147D7D:
   1265     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1266     { RECOMP_REGS_OUT(); return; } /* end of function */
   1267   _ljump:
   1268     switch (_itail_tgt) {
   1269       case 0x25147D77u: goto L_25147D77;
   1270       case 0x25147D7Du: goto L_25147D7D;
   1271       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1272     }
   1273     RECOMP_REGS_OUT();
   1274 }
   1275 
   1276 void sub_25147D83(void) {
   1277     int _fpu_cmp = 0;
   1278     uint32_t _cf = 0;
   1279     int _df = 1;
   1280     uint32_t _flag_k = FK_NONE;
   1281     uint32_t _flag_a = 0, _flag_b = 0;
   1282     uint32_t _itail_tgt = 0;
   1283     RECOMP_REGS_LOCALS
   1284     RECOMP_ENTER(0x25147D83u);
   1285 
   1286     goto L_25147D83;
   1287 L_251380C4:
   1288     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1289 L_25147D83:
   1290     eax = 0x25168238u; /* 0x25147D83: mov eax, 0x25168238 */
   1291 L_25147D88:
   1292     RECOMP_BACKEDGE();
   1293     goto L_251380C4; /* 0x25147D88: jmp 0x251380c4 */
   1294     { RECOMP_REGS_OUT(); return; } /* end of function */
   1295   _ljump:
   1296     switch (_itail_tgt) {
   1297       case 0x251380C4u: goto L_251380C4;
   1298       case 0x25147D83u: goto L_25147D83;
   1299       case 0x25147D88u: goto L_25147D88;
   1300       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1301     }
   1302     RECOMP_REGS_OUT();
   1303 }
   1304 
   1305 void sub_25147D90(void) {
   1306     int _fpu_cmp = 0;
   1307     uint32_t _cf = 0;
   1308     int _df = 1;
   1309     uint32_t _flag_k = FK_NONE;
   1310     uint32_t _flag_a = 0, _flag_b = 0;
   1311     uint32_t _itail_tgt = 0;
   1312     RECOMP_REGS_LOCALS
   1313     RECOMP_ENTER(0x25147D90u);
   1314 
   1315     goto L_25147D90;
   1316 L_25085240:
   1317     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   1318     ebp = esp; /* 0x25085241: mov ebp, esp */
   1319     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   1320     PUSH32(esp, esi); /* 0x25085244: push esi */
   1321     esi = ecx; /* 0x25085245: mov esi, ecx */
   1322     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   1323     PUSH32(esp, eax); /* 0x2508524A: push eax */
   1324     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   1325     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   1326     RECOMP_FLAGS_IN();
   1327     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1328     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1329     esp = esp + 4; /* 0x25085253: add esp, 4 */
   1330     _flag_k = FK_ADD;
   1331     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1332     eax = 0; /* 0x25085256: xor eax, eax */
   1333     _cf = 0;
   1334     _flag_k = FK_TEST;
   1335     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   1336     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   1337     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   1338     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   1339     esp = ebp; /* 0x25085262: mov esp, ebp */
   1340     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   1341     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   1342 L_25147D90:
   1343     ecx = ebp + (-0x90); /* 0x25147D90: lea ecx, [ebp - 0x90] */
   1344     RECOMP_BACKEDGE();
   1345     goto L_25085240; /* 0x25147D96: jmp 0x25085240 */
   1346     { RECOMP_REGS_OUT(); return; } /* end of function */
   1347     RECOMP_REGS_OUT();
   1348 }
   1349 
   1350 void sub_25147D9B(void) {
   1351     int _fpu_cmp = 0;
   1352     uint32_t _cf = 0;
   1353     int _df = 1;
   1354     uint32_t _flag_k = FK_NONE;
   1355     uint32_t _flag_a = 0, _flag_b = 0;
   1356     uint32_t _itail_tgt = 0;
   1357     RECOMP_REGS_LOCALS
   1358     RECOMP_ENTER(0x25147D9Bu);
   1359 
   1360 L_25147D9B:
   1361     ecx = ebp + (-0x294); /* 0x25147D9B: lea ecx, [ebp - 0x294] */
   1362 L_25147DA1:
   1363     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1364     { RECOMP_REGS_OUT(); return; } /* end of function */
   1365   _ljump:
   1366     switch (_itail_tgt) {
   1367       case 0x25147D9Bu: goto L_25147D9B;
   1368       case 0x25147DA1u: goto L_25147DA1;
   1369       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1370     }
   1371     RECOMP_REGS_OUT();
   1372 }
   1373 
   1374 void sub_25147DA7(void) {
   1375     int _fpu_cmp = 0;
   1376     uint32_t _cf = 0;
   1377     int _df = 1;
   1378     uint32_t _flag_k = FK_NONE;
   1379     uint32_t _flag_a = 0, _flag_b = 0;
   1380     uint32_t _itail_tgt = 0;
   1381     RECOMP_REGS_LOCALS
   1382     RECOMP_ENTER(0x25147DA7u);
   1383 
   1384 L_25147DA7:
   1385     ecx = ebp + (-0x310); /* 0x25147DA7: lea ecx, [ebp - 0x310] */
   1386 L_25147DAD:
   1387     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1388     { RECOMP_REGS_OUT(); return; } /* end of function */
   1389   _ljump:
   1390     switch (_itail_tgt) {
   1391       case 0x25147DA7u: goto L_25147DA7;
   1392       case 0x25147DADu: goto L_25147DAD;
   1393       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1394     }
   1395     RECOMP_REGS_OUT();
   1396 }
   1397 
   1398 void sub_25147DB3(void) {
   1399     int _fpu_cmp = 0;
   1400     uint32_t _cf = 0;
   1401     int _df = 1;
   1402     uint32_t _flag_k = FK_NONE;
   1403     uint32_t _flag_a = 0, _flag_b = 0;
   1404     uint32_t _itail_tgt = 0;
   1405     RECOMP_REGS_LOCALS
   1406     RECOMP_ENTER(0x25147DB3u);
   1407 
   1408 L_25147DB3:
   1409     ecx = ebp + (-0x254); /* 0x25147DB3: lea ecx, [ebp - 0x254] */
   1410 L_25147DB9:
   1411     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1412     { RECOMP_REGS_OUT(); return; } /* end of function */
   1413   _ljump:
   1414     switch (_itail_tgt) {
   1415       case 0x25147DB3u: goto L_25147DB3;
   1416       case 0x25147DB9u: goto L_25147DB9;
   1417       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1418     }
   1419     RECOMP_REGS_OUT();
   1420 }
   1421 
   1422 void sub_25147DBF(void) {
   1423     int _fpu_cmp = 0;
   1424     uint32_t _cf = 0;
   1425     int _df = 1;
   1426     uint32_t _flag_k = FK_NONE;
   1427     uint32_t _flag_a = 0, _flag_b = 0;
   1428     uint32_t _itail_tgt = 0;
   1429     RECOMP_REGS_LOCALS
   1430     RECOMP_ENTER(0x25147DBFu);
   1431 
   1432 L_25147DBF:
   1433     ecx = ebp + (-0x350); /* 0x25147DBF: lea ecx, [ebp - 0x350] */
   1434 L_25147DC5:
   1435     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1436     { RECOMP_REGS_OUT(); return; } /* end of function */
   1437   _ljump:
   1438     switch (_itail_tgt) {
   1439       case 0x25147DBFu: goto L_25147DBF;
   1440       case 0x25147DC5u: goto L_25147DC5;
   1441       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1442     }
   1443     RECOMP_REGS_OUT();
   1444 }
   1445 
   1446 void sub_25147DCB(void) {
   1447     int _fpu_cmp = 0;
   1448     uint32_t _cf = 0;
   1449     int _df = 1;
   1450     uint32_t _flag_k = FK_NONE;
   1451     uint32_t _flag_a = 0, _flag_b = 0;
   1452     uint32_t _itail_tgt = 0;
   1453     RECOMP_REGS_LOCALS
   1454     RECOMP_ENTER(0x25147DCBu);
   1455 
   1456 L_25147DCB:
   1457     ecx = ebp + (-0x214); /* 0x25147DCB: lea ecx, [ebp - 0x214] */
   1458 L_25147DD1:
   1459     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1460     { RECOMP_REGS_OUT(); return; } /* end of function */
   1461   _ljump:
   1462     switch (_itail_tgt) {
   1463       case 0x25147DCBu: goto L_25147DCB;
   1464       case 0x25147DD1u: goto L_25147DD1;
   1465       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1466     }
   1467     RECOMP_REGS_OUT();
   1468 }
   1469 
   1470 void sub_25147DD7(void) {
   1471     int _fpu_cmp = 0;
   1472     uint32_t _cf = 0;
   1473     int _df = 1;
   1474     uint32_t _flag_k = FK_NONE;
   1475     uint32_t _flag_a = 0, _flag_b = 0;
   1476     uint32_t _itail_tgt = 0;
   1477     RECOMP_REGS_LOCALS
   1478     RECOMP_ENTER(0x25147DD7u);
   1479 
   1480 L_25147DD7:
   1481     ecx = ebp + (-0x390); /* 0x25147DD7: lea ecx, [ebp - 0x390] */
   1482 L_25147DDD:
   1483     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1484     { RECOMP_REGS_OUT(); return; } /* end of function */
   1485   _ljump:
   1486     switch (_itail_tgt) {
   1487       case 0x25147DD7u: goto L_25147DD7;
   1488       case 0x25147DDDu: goto L_25147DDD;
   1489       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1490     }
   1491     RECOMP_REGS_OUT();
   1492 }
   1493 
   1494 void sub_25147DE3(void) {
   1495     int _fpu_cmp = 0;
   1496     uint32_t _cf = 0;
   1497     int _df = 1;
   1498     uint32_t _flag_k = FK_NONE;
   1499     uint32_t _flag_a = 0, _flag_b = 0;
   1500     uint32_t _itail_tgt = 0;
   1501     RECOMP_REGS_LOCALS
   1502     RECOMP_ENTER(0x25147DE3u);
   1503 
   1504     goto L_25147DE3;
   1505 L_251380C4:
   1506     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1507 L_25147DE3:
   1508     eax = 0x25168290u; /* 0x25147DE3: mov eax, 0x25168290 */
   1509 L_25147DE8:
   1510     RECOMP_BACKEDGE();
   1511     goto L_251380C4; /* 0x25147DE8: jmp 0x251380c4 */
   1512     { RECOMP_REGS_OUT(); return; } /* end of function */
   1513   _ljump:
   1514     switch (_itail_tgt) {
   1515       case 0x251380C4u: goto L_251380C4;
   1516       case 0x25147DE3u: goto L_25147DE3;
   1517       case 0x25147DE8u: goto L_25147DE8;
   1518       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1519     }
   1520     RECOMP_REGS_OUT();
   1521 }
   1522 
   1523 void sub_25147DF0(void) {
   1524     int _fpu_cmp = 0;
   1525     uint32_t _cf = 0;
   1526     int _df = 1;
   1527     uint32_t _flag_k = FK_NONE;
   1528     uint32_t _flag_a = 0, _flag_b = 0;
   1529     uint32_t _itail_tgt = 0;
   1530     RECOMP_REGS_LOCALS
   1531     RECOMP_ENTER(0x25147DF0u);
   1532 
   1533     goto L_25147DF0;
   1534 L_25085240:
   1535     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   1536     ebp = esp; /* 0x25085241: mov ebp, esp */
   1537     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   1538     PUSH32(esp, esi); /* 0x25085244: push esi */
   1539     esi = ecx; /* 0x25085245: mov esi, ecx */
   1540     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   1541     PUSH32(esp, eax); /* 0x2508524A: push eax */
   1542     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   1543     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   1544     RECOMP_FLAGS_IN();
   1545     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1546     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1547     esp = esp + 4; /* 0x25085253: add esp, 4 */
   1548     _flag_k = FK_ADD;
   1549     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1550     eax = 0; /* 0x25085256: xor eax, eax */
   1551     _cf = 0;
   1552     _flag_k = FK_TEST;
   1553     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   1554     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   1555     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   1556     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   1557     esp = ebp; /* 0x25085262: mov esp, ebp */
   1558     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   1559     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   1560 L_25147DF0:
   1561     ecx = ebp + (-0x90); /* 0x25147DF0: lea ecx, [ebp - 0x90] */
   1562     RECOMP_BACKEDGE();
   1563     goto L_25085240; /* 0x25147DF6: jmp 0x25085240 */
   1564     { RECOMP_REGS_OUT(); return; } /* end of function */
   1565     RECOMP_REGS_OUT();
   1566 }
   1567 
   1568 void sub_25147DFB(void) {
   1569     int _fpu_cmp = 0;
   1570     uint32_t _cf = 0;
   1571     int _df = 1;
   1572     uint32_t _flag_k = FK_NONE;
   1573     uint32_t _flag_a = 0, _flag_b = 0;
   1574     uint32_t _itail_tgt = 0;
   1575     RECOMP_REGS_LOCALS
   1576     RECOMP_ENTER(0x25147DFBu);
   1577 
   1578 L_25147DFB:
   1579     ecx = ebp + (-0x294); /* 0x25147DFB: lea ecx, [ebp - 0x294] */
   1580 L_25147E01:
   1581     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1582     { RECOMP_REGS_OUT(); return; } /* end of function */
   1583   _ljump:
   1584     switch (_itail_tgt) {
   1585       case 0x25147DFBu: goto L_25147DFB;
   1586       case 0x25147E01u: goto L_25147E01;
   1587       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1588     }
   1589     RECOMP_REGS_OUT();
   1590 }
   1591 
   1592 void sub_25147E07(void) {
   1593     int _fpu_cmp = 0;
   1594     uint32_t _cf = 0;
   1595     int _df = 1;
   1596     uint32_t _flag_k = FK_NONE;
   1597     uint32_t _flag_a = 0, _flag_b = 0;
   1598     uint32_t _itail_tgt = 0;
   1599     RECOMP_REGS_LOCALS
   1600     RECOMP_ENTER(0x25147E07u);
   1601 
   1602 L_25147E07:
   1603     ecx = ebp + (-0x310); /* 0x25147E07: lea ecx, [ebp - 0x310] */
   1604 L_25147E0D:
   1605     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1606     { RECOMP_REGS_OUT(); return; } /* end of function */
   1607   _ljump:
   1608     switch (_itail_tgt) {
   1609       case 0x25147E07u: goto L_25147E07;
   1610       case 0x25147E0Du: goto L_25147E0D;
   1611       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1612     }
   1613     RECOMP_REGS_OUT();
   1614 }
   1615 
   1616 void sub_25147E13(void) {
   1617     int _fpu_cmp = 0;
   1618     uint32_t _cf = 0;
   1619     int _df = 1;
   1620     uint32_t _flag_k = FK_NONE;
   1621     uint32_t _flag_a = 0, _flag_b = 0;
   1622     uint32_t _itail_tgt = 0;
   1623     RECOMP_REGS_LOCALS
   1624     RECOMP_ENTER(0x25147E13u);
   1625 
   1626 L_25147E13:
   1627     ecx = ebp + (-0x254); /* 0x25147E13: lea ecx, [ebp - 0x254] */
   1628 L_25147E19:
   1629     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1630     { RECOMP_REGS_OUT(); return; } /* end of function */
   1631   _ljump:
   1632     switch (_itail_tgt) {
   1633       case 0x25147E13u: goto L_25147E13;
   1634       case 0x25147E19u: goto L_25147E19;
   1635       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1636     }
   1637     RECOMP_REGS_OUT();
   1638 }
   1639 
   1640 void sub_25147E1F(void) {
   1641     int _fpu_cmp = 0;
   1642     uint32_t _cf = 0;
   1643     int _df = 1;
   1644     uint32_t _flag_k = FK_NONE;
   1645     uint32_t _flag_a = 0, _flag_b = 0;
   1646     uint32_t _itail_tgt = 0;
   1647     RECOMP_REGS_LOCALS
   1648     RECOMP_ENTER(0x25147E1Fu);
   1649 
   1650 L_25147E1F:
   1651     ecx = ebp + (-0x350); /* 0x25147E1F: lea ecx, [ebp - 0x350] */
   1652 L_25147E25:
   1653     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1654     { RECOMP_REGS_OUT(); return; } /* end of function */
   1655   _ljump:
   1656     switch (_itail_tgt) {
   1657       case 0x25147E1Fu: goto L_25147E1F;
   1658       case 0x25147E25u: goto L_25147E25;
   1659       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1660     }
   1661     RECOMP_REGS_OUT();
   1662 }
   1663 
   1664 void sub_25147E2B(void) {
   1665     int _fpu_cmp = 0;
   1666     uint32_t _cf = 0;
   1667     int _df = 1;
   1668     uint32_t _flag_k = FK_NONE;
   1669     uint32_t _flag_a = 0, _flag_b = 0;
   1670     uint32_t _itail_tgt = 0;
   1671     RECOMP_REGS_LOCALS
   1672     RECOMP_ENTER(0x25147E2Bu);
   1673 
   1674 L_25147E2B:
   1675     ecx = ebp + (-0x214); /* 0x25147E2B: lea ecx, [ebp - 0x214] */
   1676 L_25147E31:
   1677     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1678     { RECOMP_REGS_OUT(); return; } /* end of function */
   1679   _ljump:
   1680     switch (_itail_tgt) {
   1681       case 0x25147E2Bu: goto L_25147E2B;
   1682       case 0x25147E31u: goto L_25147E31;
   1683       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1684     }
   1685     RECOMP_REGS_OUT();
   1686 }
   1687 
   1688 void sub_25147E37(void) {
   1689     int _fpu_cmp = 0;
   1690     uint32_t _cf = 0;
   1691     int _df = 1;
   1692     uint32_t _flag_k = FK_NONE;
   1693     uint32_t _flag_a = 0, _flag_b = 0;
   1694     uint32_t _itail_tgt = 0;
   1695     RECOMP_REGS_LOCALS
   1696     RECOMP_ENTER(0x25147E37u);
   1697 
   1698 L_25147E37:
   1699     ecx = ebp + (-0x390); /* 0x25147E37: lea ecx, [ebp - 0x390] */
   1700 L_25147E3D:
   1701     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1702     { RECOMP_REGS_OUT(); return; } /* end of function */
   1703   _ljump:
   1704     switch (_itail_tgt) {
   1705       case 0x25147E37u: goto L_25147E37;
   1706       case 0x25147E3Du: goto L_25147E3D;
   1707       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1708     }
   1709     RECOMP_REGS_OUT();
   1710 }
   1711 
   1712 void sub_25147E43(void) {
   1713     int _fpu_cmp = 0;
   1714     uint32_t _cf = 0;
   1715     int _df = 1;
   1716     uint32_t _flag_k = FK_NONE;
   1717     uint32_t _flag_a = 0, _flag_b = 0;
   1718     uint32_t _itail_tgt = 0;
   1719     RECOMP_REGS_LOCALS
   1720     RECOMP_ENTER(0x25147E43u);
   1721 
   1722     goto L_25147E43;
   1723 L_251380C4:
   1724     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1725 L_25147E43:
   1726     eax = 0x251682E8u; /* 0x25147E43: mov eax, 0x251682e8 */
   1727 L_25147E48:
   1728     RECOMP_BACKEDGE();
   1729     goto L_251380C4; /* 0x25147E48: jmp 0x251380c4 */
   1730     { RECOMP_REGS_OUT(); return; } /* end of function */
   1731   _ljump:
   1732     switch (_itail_tgt) {
   1733       case 0x251380C4u: goto L_251380C4;
   1734       case 0x25147E43u: goto L_25147E43;
   1735       case 0x25147E48u: goto L_25147E48;
   1736       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1737     }
   1738     RECOMP_REGS_OUT();
   1739 }
   1740 
   1741 void sub_25147E50(void) {
   1742     int _fpu_cmp = 0;
   1743     uint32_t _cf = 0;
   1744     int _df = 1;
   1745     uint32_t _flag_k = FK_NONE;
   1746     uint32_t _flag_a = 0, _flag_b = 0;
   1747     uint32_t _itail_tgt = 0;
   1748     RECOMP_REGS_LOCALS
   1749     RECOMP_ENTER(0x25147E50u);
   1750 
   1751 L_25147E50:
   1752     ecx = ebp + (-0x78); /* 0x25147E50: lea ecx, [ebp - 0x78] */
   1753 L_25147E53:
   1754     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1755     { RECOMP_REGS_OUT(); return; } /* end of function */
   1756   _ljump:
   1757     switch (_itail_tgt) {
   1758       case 0x25147E50u: goto L_25147E50;
   1759       case 0x25147E53u: goto L_25147E53;
   1760       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1761     }
   1762     RECOMP_REGS_OUT();
   1763 }
   1764 
   1765 void sub_25147E59(void) {
   1766     int _fpu_cmp = 0;
   1767     uint32_t _cf = 0;
   1768     int _df = 1;
   1769     uint32_t _flag_k = FK_NONE;
   1770     uint32_t _flag_a = 0, _flag_b = 0;
   1771     uint32_t _itail_tgt = 0;
   1772     RECOMP_REGS_LOCALS
   1773     RECOMP_ENTER(0x25147E59u);
   1774 
   1775     goto L_25147E59;
   1776 L_251380C4:
   1777     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1778 L_25147E59:
   1779     eax = 0x25168340u; /* 0x25147E59: mov eax, 0x25168340 */
   1780 L_25147E5E:
   1781     RECOMP_BACKEDGE();
   1782     goto L_251380C4; /* 0x25147E5E: jmp 0x251380c4 */
   1783     { RECOMP_REGS_OUT(); return; } /* end of function */
   1784   _ljump:
   1785     switch (_itail_tgt) {
   1786       case 0x251380C4u: goto L_251380C4;
   1787       case 0x25147E59u: goto L_25147E59;
   1788       case 0x25147E5Eu: goto L_25147E5E;
   1789       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1790     }
   1791     RECOMP_REGS_OUT();
   1792 }
   1793 
   1794 void sub_25147E70(void) {
   1795     int _fpu_cmp = 0;
   1796     uint32_t _cf = 0;
   1797     int _df = 1;
   1798     uint32_t _flag_k = FK_NONE;
   1799     uint32_t _flag_a = 0, _flag_b = 0;
   1800     uint32_t _itail_tgt = 0;
   1801     RECOMP_REGS_LOCALS
   1802     RECOMP_ENTER(0x25147E70u);
   1803 
   1804 L_25147E70:
   1805     ecx = ebp + (-0x60); /* 0x25147E70: lea ecx, [ebp - 0x60] */
   1806     goto L_25009BC0; /* 0x25147E73: jmp 0x25009bc0 */
   1807     { RECOMP_REGS_OUT(); return; } /* end of function */
   1808     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   1809     RECOMP_REGS_OUT();
   1810 }
   1811 
   1812 void sub_25147E78(void) {
   1813     int _fpu_cmp = 0;
   1814     uint32_t _cf = 0;
   1815     int _df = 1;
   1816     uint32_t _flag_k = FK_NONE;
   1817     uint32_t _flag_a = 0, _flag_b = 0;
   1818     uint32_t _itail_tgt = 0;
   1819     RECOMP_REGS_LOCALS
   1820     RECOMP_ENTER(0x25147E78u);
   1821 
   1822 L_25147E78:
   1823     ecx = ebp + (-0x18); /* 0x25147E78: lea ecx, [ebp - 0x18] */
   1824     goto L_25009BC0; /* 0x25147E7B: jmp 0x25009bc0 */
   1825     { RECOMP_REGS_OUT(); return; } /* end of function */
   1826     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   1827     RECOMP_REGS_OUT();
   1828 }
   1829 
   1830 void sub_25147E80(void) {
   1831     int _fpu_cmp = 0;
   1832     uint32_t _cf = 0;
   1833     int _df = 1;
   1834     uint32_t _flag_k = FK_NONE;
   1835     uint32_t _flag_a = 0, _flag_b = 0;
   1836     uint32_t _itail_tgt = 0;
   1837     RECOMP_REGS_LOCALS
   1838     RECOMP_ENTER(0x25147E80u);
   1839 
   1840 L_25147E80:
   1841     ecx = ebp + (-0x24); /* 0x25147E80: lea ecx, [ebp - 0x24] */
   1842     goto L_25009BC0; /* 0x25147E83: jmp 0x25009bc0 */
   1843     { RECOMP_REGS_OUT(); return; } /* end of function */
   1844     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   1845     RECOMP_REGS_OUT();
   1846 }
   1847 
   1848 void sub_25147E88(void) {
   1849     int _fpu_cmp = 0;
   1850     uint32_t _cf = 0;
   1851     int _df = 1;
   1852     uint32_t _flag_k = FK_NONE;
   1853     uint32_t _flag_a = 0, _flag_b = 0;
   1854     uint32_t _itail_tgt = 0;
   1855     RECOMP_REGS_LOCALS
   1856     RECOMP_ENTER(0x25147E88u);
   1857 
   1858 L_25147E88:
   1859     ecx = ebp + (-0x3C); /* 0x25147E88: lea ecx, [ebp - 0x3c] */
   1860     goto L_25009BC0; /* 0x25147E8B: jmp 0x25009bc0 */
   1861     { RECOMP_REGS_OUT(); return; } /* end of function */
   1862     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   1863     RECOMP_REGS_OUT();
   1864 }
   1865 
   1866 void sub_25147E90(void) {
   1867     int _fpu_cmp = 0;
   1868     uint32_t _cf = 0;
   1869     int _df = 1;
   1870     uint32_t _flag_k = FK_NONE;
   1871     uint32_t _flag_a = 0, _flag_b = 0;
   1872     uint32_t _itail_tgt = 0;
   1873     RECOMP_REGS_LOCALS
   1874     RECOMP_ENTER(0x25147E90u);
   1875 
   1876 L_25147E90:
   1877     ecx = ebp + (-0x30); /* 0x25147E90: lea ecx, [ebp - 0x30] */
   1878     goto L_25009BC0; /* 0x25147E93: jmp 0x25009bc0 */
   1879     { RECOMP_REGS_OUT(); return; } /* end of function */
   1880     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   1881     RECOMP_REGS_OUT();
   1882 }
   1883 
   1884 void sub_25147E98(void) {
   1885     int _fpu_cmp = 0;
   1886     uint32_t _cf = 0;
   1887     int _df = 1;
   1888     uint32_t _flag_k = FK_NONE;
   1889     uint32_t _flag_a = 0, _flag_b = 0;
   1890     uint32_t _itail_tgt = 0;
   1891     RECOMP_REGS_LOCALS
   1892     RECOMP_ENTER(0x25147E98u);
   1893 
   1894 L_25147E98:
   1895     ecx = ebp + (-0x70); /* 0x25147E98: lea ecx, [ebp - 0x70] */
   1896     goto L_25009BF0; /* 0x25147E9B: jmp 0x25009bf0 */
   1897     { RECOMP_REGS_OUT(); return; } /* end of function */
   1898     L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; }
   1899     RECOMP_REGS_OUT();
   1900 }
   1901 
   1902 void sub_25147EA0(void) {
   1903     int _fpu_cmp = 0;
   1904     uint32_t _cf = 0;
   1905     int _df = 1;
   1906     uint32_t _flag_k = FK_NONE;
   1907     uint32_t _flag_a = 0, _flag_b = 0;
   1908     uint32_t _itail_tgt = 0;
   1909     RECOMP_REGS_LOCALS
   1910     RECOMP_ENTER(0x25147EA0u);
   1911 
   1912 L_25147EA0:
   1913     ecx = ebp + (-0xB0); /* 0x25147EA0: lea ecx, [ebp - 0xb0] */
   1914 L_25147EA6:
   1915     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1916     { RECOMP_REGS_OUT(); return; } /* end of function */
   1917   _ljump:
   1918     switch (_itail_tgt) {
   1919       case 0x25147EA0u: goto L_25147EA0;
   1920       case 0x25147EA6u: goto L_25147EA6;
   1921       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1922     }
   1923     RECOMP_REGS_OUT();
   1924 }
   1925 
   1926 void sub_25147EAC(void) {
   1927     int _fpu_cmp = 0;
   1928     uint32_t _cf = 0;
   1929     int _df = 1;
   1930     uint32_t _flag_k = FK_NONE;
   1931     uint32_t _flag_a = 0, _flag_b = 0;
   1932     uint32_t _itail_tgt = 0;
   1933     RECOMP_REGS_LOCALS
   1934     RECOMP_ENTER(0x25147EACu);
   1935 
   1936 L_25147EAC:
   1937     ecx = ebp + (-0xF0); /* 0x25147EAC: lea ecx, [ebp - 0xf0] */
   1938 L_25147EB2:
   1939     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1940     { RECOMP_REGS_OUT(); return; } /* end of function */
   1941   _ljump:
   1942     switch (_itail_tgt) {
   1943       case 0x25147EACu: goto L_25147EAC;
   1944       case 0x25147EB2u: goto L_25147EB2;
   1945       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1946     }
   1947     RECOMP_REGS_OUT();
   1948 }
   1949 
   1950 void sub_25147EB8(void) {
   1951     int _fpu_cmp = 0;
   1952     uint32_t _cf = 0;
   1953     int _df = 1;
   1954     uint32_t _flag_k = FK_NONE;
   1955     uint32_t _flag_a = 0, _flag_b = 0;
   1956     uint32_t _itail_tgt = 0;
   1957     RECOMP_REGS_LOCALS
   1958     RECOMP_ENTER(0x25147EB8u);
   1959 
   1960     goto L_25147EB8;
   1961 L_251380C4:
   1962     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1963 L_25147EB8:
   1964     eax = 0x25168368u; /* 0x25147EB8: mov eax, 0x25168368 */
   1965 L_25147EBD:
   1966     RECOMP_BACKEDGE();
   1967     goto L_251380C4; /* 0x25147EBD: jmp 0x251380c4 */
   1968     { RECOMP_REGS_OUT(); return; } /* end of function */
   1969   _ljump:
   1970     switch (_itail_tgt) {
   1971       case 0x251380C4u: goto L_251380C4;
   1972       case 0x25147EB8u: goto L_25147EB8;
   1973       case 0x25147EBDu: goto L_25147EBD;
   1974       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1975     }
   1976     RECOMP_REGS_OUT();
   1977 }
   1978 
   1979 void sub_25147ED0(void) {
   1980     int _fpu_cmp = 0;
   1981     uint32_t _cf = 0;
   1982     int _df = 1;
   1983     uint32_t _flag_k = FK_NONE;
   1984     uint32_t _flag_a = 0, _flag_b = 0;
   1985     uint32_t _itail_tgt = 0;
   1986     RECOMP_REGS_LOCALS
   1987     RECOMP_ENTER(0x25147ED0u);
   1988 
   1989 L_25147ED0:
   1990     ecx = ebp + (-0x88); /* 0x25147ED0: lea ecx, [ebp - 0x88] */
   1991 L_25147ED6:
   1992     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1993     { RECOMP_REGS_OUT(); return; } /* end of function */
   1994   _ljump:
   1995     switch (_itail_tgt) {
   1996       case 0x25147ED0u: goto L_25147ED0;
   1997       case 0x25147ED6u: goto L_25147ED6;
   1998       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1999     }
   2000     RECOMP_REGS_OUT();
   2001 }
   2002 
   2003 void sub_25147EDC(void) {
   2004     int _fpu_cmp = 0;
   2005     uint32_t _cf = 0;
   2006     int _df = 1;
   2007     uint32_t _flag_k = FK_NONE;
   2008     uint32_t _flag_a = 0, _flag_b = 0;
   2009     uint32_t _itail_tgt = 0;
   2010     RECOMP_REGS_LOCALS
   2011     RECOMP_ENTER(0x25147EDCu);
   2012 
   2013     goto L_25147EDC;
   2014 L_251380C4:
   2015     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2016 L_25147EDC:
   2017     eax = 0x251683C8u; /* 0x25147EDC: mov eax, 0x251683c8 */
   2018 L_25147EE1:
   2019     RECOMP_BACKEDGE();
   2020     goto L_251380C4; /* 0x25147EE1: jmp 0x251380c4 */
   2021     { RECOMP_REGS_OUT(); return; } /* end of function */
   2022   _ljump:
   2023     switch (_itail_tgt) {
   2024       case 0x251380C4u: goto L_251380C4;
   2025       case 0x25147EDCu: goto L_25147EDC;
   2026       case 0x25147EE1u: goto L_25147EE1;
   2027       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2028     }
   2029     RECOMP_REGS_OUT();
   2030 }
   2031 
   2032 void sub_25147EF0(void) {
   2033     int _fpu_cmp = 0;
   2034     uint32_t _cf = 0;
   2035     int _df = 1;
   2036     uint32_t _flag_k = FK_NONE;
   2037     uint32_t _flag_a = 0, _flag_b = 0;
   2038     uint32_t _itail_tgt = 0;
   2039     RECOMP_REGS_LOCALS
   2040     RECOMP_ENTER(0x25147EF0u);
   2041 
   2042 L_25147EF0:
   2043     ecx = ebp + (-0x60); /* 0x25147EF0: lea ecx, [ebp - 0x60] */
   2044 L_25147EF3:
   2045     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2046     { RECOMP_REGS_OUT(); return; } /* end of function */
   2047   _ljump:
   2048     switch (_itail_tgt) {
   2049       case 0x25147EF0u: goto L_25147EF0;
   2050       case 0x25147EF3u: goto L_25147EF3;
   2051       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2052     }
   2053     RECOMP_REGS_OUT();
   2054 }
   2055 
   2056 void sub_25147EF9(void) {
   2057     int _fpu_cmp = 0;
   2058     uint32_t _cf = 0;
   2059     int _df = 1;
   2060     uint32_t _flag_k = FK_NONE;
   2061     uint32_t _flag_a = 0, _flag_b = 0;
   2062     uint32_t _itail_tgt = 0;
   2063     RECOMP_REGS_LOCALS
   2064     RECOMP_ENTER(0x25147EF9u);
   2065 
   2066 L_25147EF9:
   2067     ecx = ebp + (-0x78); /* 0x25147EF9: lea ecx, [ebp - 0x78] */
   2068     goto L_25009BC0; /* 0x25147EFC: jmp 0x25009bc0 */
   2069     { RECOMP_REGS_OUT(); return; } /* end of function */
   2070     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2071     RECOMP_REGS_OUT();
   2072 }
   2073 
   2074 void sub_25147F01(void) {
   2075     int _fpu_cmp = 0;
   2076     uint32_t _cf = 0;
   2077     int _df = 1;
   2078     uint32_t _flag_k = FK_NONE;
   2079     uint32_t _flag_a = 0, _flag_b = 0;
   2080     uint32_t _itail_tgt = 0;
   2081     RECOMP_REGS_LOCALS
   2082     RECOMP_ENTER(0x25147F01u);
   2083 
   2084 L_25147F01:
   2085     ecx = ebp + (-0x84); /* 0x25147F01: lea ecx, [ebp - 0x84] */
   2086     goto L_25009BC0; /* 0x25147F07: jmp 0x25009bc0 */
   2087     { RECOMP_REGS_OUT(); return; } /* end of function */
   2088     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2089     RECOMP_REGS_OUT();
   2090 }
   2091 
   2092 void sub_25147F0C(void) {
   2093     int _fpu_cmp = 0;
   2094     uint32_t _cf = 0;
   2095     int _df = 1;
   2096     uint32_t _flag_k = FK_NONE;
   2097     uint32_t _flag_a = 0, _flag_b = 0;
   2098     uint32_t _itail_tgt = 0;
   2099     RECOMP_REGS_LOCALS
   2100     RECOMP_ENTER(0x25147F0Cu);
   2101 
   2102 L_25147F0C:
   2103     ecx = ebp + (-0x90); /* 0x25147F0C: lea ecx, [ebp - 0x90] */
   2104     goto L_25009BC0; /* 0x25147F12: jmp 0x25009bc0 */
   2105     { RECOMP_REGS_OUT(); return; } /* end of function */
   2106     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2107     RECOMP_REGS_OUT();
   2108 }
   2109 
   2110 void sub_25147F17(void) {
   2111     int _fpu_cmp = 0;
   2112     uint32_t _cf = 0;
   2113     int _df = 1;
   2114     uint32_t _flag_k = FK_NONE;
   2115     uint32_t _flag_a = 0, _flag_b = 0;
   2116     uint32_t _itail_tgt = 0;
   2117     RECOMP_REGS_LOCALS
   2118     RECOMP_ENTER(0x25147F17u);
   2119 
   2120 L_25147F17:
   2121     ecx = ebp + (-0x6C); /* 0x25147F17: lea ecx, [ebp - 0x6c] */
   2122     goto L_25009BC0; /* 0x25147F1A: jmp 0x25009bc0 */
   2123     { RECOMP_REGS_OUT(); return; } /* end of function */
   2124     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2125     RECOMP_REGS_OUT();
   2126 }
   2127 
   2128 void sub_25147F1F(void) {
   2129     int _fpu_cmp = 0;
   2130     uint32_t _cf = 0;
   2131     int _df = 1;
   2132     uint32_t _flag_k = FK_NONE;
   2133     uint32_t _flag_a = 0, _flag_b = 0;
   2134     uint32_t _itail_tgt = 0;
   2135     RECOMP_REGS_LOCALS
   2136     RECOMP_ENTER(0x25147F1Fu);
   2137 
   2138 L_25147F1F:
   2139     ecx = ebp + (-0x18); /* 0x25147F1F: lea ecx, [ebp - 0x18] */
   2140     goto L_25009BC0; /* 0x25147F22: jmp 0x25009bc0 */
   2141     { RECOMP_REGS_OUT(); return; } /* end of function */
   2142     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2143     RECOMP_REGS_OUT();
   2144 }
   2145 
   2146 void sub_25147F27(void) {
   2147     int _fpu_cmp = 0;
   2148     uint32_t _cf = 0;
   2149     int _df = 1;
   2150     uint32_t _flag_k = FK_NONE;
   2151     uint32_t _flag_a = 0, _flag_b = 0;
   2152     uint32_t _itail_tgt = 0;
   2153     RECOMP_REGS_LOCALS
   2154     RECOMP_ENTER(0x25147F27u);
   2155 
   2156     goto L_25147F27;
   2157 L_251380C4:
   2158     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2159 L_25147F27:
   2160     eax = 0x251683F0u; /* 0x25147F27: mov eax, 0x251683f0 */
   2161 L_25147F2C:
   2162     RECOMP_BACKEDGE();
   2163     goto L_251380C4; /* 0x25147F2C: jmp 0x251380c4 */
   2164     { RECOMP_REGS_OUT(); return; } /* end of function */
   2165   _ljump:
   2166     switch (_itail_tgt) {
   2167       case 0x251380C4u: goto L_251380C4;
   2168       case 0x25147F27u: goto L_25147F27;
   2169       case 0x25147F2Cu: goto L_25147F2C;
   2170       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2171     }
   2172     RECOMP_REGS_OUT();
   2173 }
   2174 
   2175 void sub_25147F40(void) {
   2176     int _fpu_cmp = 0;
   2177     uint32_t _cf = 0;
   2178     int _df = 1;
   2179     uint32_t _flag_k = FK_NONE;
   2180     uint32_t _flag_a = 0, _flag_b = 0;
   2181     uint32_t _itail_tgt = 0;
   2182     RECOMP_REGS_LOCALS
   2183     RECOMP_ENTER(0x25147F40u);
   2184 
   2185 L_25147F40:
   2186     ecx = ebp + (-0x64); /* 0x25147F40: lea ecx, [ebp - 0x64] */
   2187 L_25147F43:
   2188     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2189     { RECOMP_REGS_OUT(); return; } /* end of function */
   2190   _ljump:
   2191     switch (_itail_tgt) {
   2192       case 0x25147F40u: goto L_25147F40;
   2193       case 0x25147F43u: goto L_25147F43;
   2194       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2195     }
   2196     RECOMP_REGS_OUT();
   2197 }
   2198 
   2199 void sub_25147F49(void) {
   2200     int _fpu_cmp = 0;
   2201     uint32_t _cf = 0;
   2202     int _df = 1;
   2203     uint32_t _flag_k = FK_NONE;
   2204     uint32_t _flag_a = 0, _flag_b = 0;
   2205     uint32_t _itail_tgt = 0;
   2206     RECOMP_REGS_LOCALS
   2207     RECOMP_ENTER(0x25147F49u);
   2208 
   2209     goto L_25147F49;
   2210 L_251380C4:
   2211     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2212 L_25147F49:
   2213     eax = 0x25168440u; /* 0x25147F49: mov eax, 0x25168440 */
   2214 L_25147F4E:
   2215     RECOMP_BACKEDGE();
   2216     goto L_251380C4; /* 0x25147F4E: jmp 0x251380c4 */
   2217     { RECOMP_REGS_OUT(); return; } /* end of function */
   2218   _ljump:
   2219     switch (_itail_tgt) {
   2220       case 0x251380C4u: goto L_251380C4;
   2221       case 0x25147F49u: goto L_25147F49;
   2222       case 0x25147F4Eu: goto L_25147F4E;
   2223       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2224     }
   2225     RECOMP_REGS_OUT();
   2226 }
   2227 
   2228 void sub_25147F60(void) {
   2229     int _fpu_cmp = 0;
   2230     uint32_t _cf = 0;
   2231     int _df = 1;
   2232     uint32_t _flag_k = FK_NONE;
   2233     uint32_t _flag_a = 0, _flag_b = 0;
   2234     uint32_t _itail_tgt = 0;
   2235     RECOMP_REGS_LOCALS
   2236     RECOMP_ENTER(0x25147F60u);
   2237 
   2238 L_25147F60:
   2239     ecx = ebp + (-0x118); /* 0x25147F60: lea ecx, [ebp - 0x118] */
   2240 L_25147F66:
   2241     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2242     { RECOMP_REGS_OUT(); return; } /* end of function */
   2243   _ljump:
   2244     switch (_itail_tgt) {
   2245       case 0x25147F60u: goto L_25147F60;
   2246       case 0x25147F66u: goto L_25147F66;
   2247       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2248     }
   2249     RECOMP_REGS_OUT();
   2250 }
   2251 
   2252 void sub_25147F6C(void) {
   2253     int _fpu_cmp = 0;
   2254     uint32_t _cf = 0;
   2255     int _df = 1;
   2256     uint32_t _flag_k = FK_NONE;
   2257     uint32_t _flag_a = 0, _flag_b = 0;
   2258     uint32_t _itail_tgt = 0;
   2259     RECOMP_REGS_LOCALS
   2260     RECOMP_ENTER(0x25147F6Cu);
   2261 
   2262 L_25147F6C:
   2263     ecx = ebp + (-0x18); /* 0x25147F6C: lea ecx, [ebp - 0x18] */
   2264     goto L_25009BC0; /* 0x25147F6F: jmp 0x25009bc0 */
   2265     { RECOMP_REGS_OUT(); return; } /* end of function */
   2266     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2267     RECOMP_REGS_OUT();
   2268 }
   2269 
   2270 void sub_25147F74(void) {
   2271     int _fpu_cmp = 0;
   2272     uint32_t _cf = 0;
   2273     int _df = 1;
   2274     uint32_t _flag_k = FK_NONE;
   2275     uint32_t _flag_a = 0, _flag_b = 0;
   2276     uint32_t _itail_tgt = 0;
   2277     RECOMP_REGS_LOCALS
   2278     RECOMP_ENTER(0x25147F74u);
   2279 
   2280 L_25147F74:
   2281     ecx = ebp + (-0x30); /* 0x25147F74: lea ecx, [ebp - 0x30] */
   2282     goto L_25009BC0; /* 0x25147F77: jmp 0x25009bc0 */
   2283     { RECOMP_REGS_OUT(); return; } /* end of function */
   2284     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2285     RECOMP_REGS_OUT();
   2286 }
   2287 
   2288 void sub_25147F7C(void) {
   2289     int _fpu_cmp = 0;
   2290     uint32_t _cf = 0;
   2291     int _df = 1;
   2292     uint32_t _flag_k = FK_NONE;
   2293     uint32_t _flag_a = 0, _flag_b = 0;
   2294     uint32_t _itail_tgt = 0;
   2295     RECOMP_REGS_LOCALS
   2296     RECOMP_ENTER(0x25147F7Cu);
   2297 
   2298 L_25147F7C:
   2299     ecx = ebp + (-0x3C); /* 0x25147F7C: lea ecx, [ebp - 0x3c] */
   2300     goto L_25009BC0; /* 0x25147F7F: jmp 0x25009bc0 */
   2301     { RECOMP_REGS_OUT(); return; } /* end of function */
   2302     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2303     RECOMP_REGS_OUT();
   2304 }
   2305 
   2306 void sub_25147F84(void) {
   2307     int _fpu_cmp = 0;
   2308     uint32_t _cf = 0;
   2309     int _df = 1;
   2310     uint32_t _flag_k = FK_NONE;
   2311     uint32_t _flag_a = 0, _flag_b = 0;
   2312     uint32_t _itail_tgt = 0;
   2313     RECOMP_REGS_LOCALS
   2314     RECOMP_ENTER(0x25147F84u);
   2315 
   2316 L_25147F84:
   2317     ecx = ebp + (-0x48); /* 0x25147F84: lea ecx, [ebp - 0x48] */
   2318     goto L_25009BC0; /* 0x25147F87: jmp 0x25009bc0 */
   2319     { RECOMP_REGS_OUT(); return; } /* end of function */
   2320     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2321     RECOMP_REGS_OUT();
   2322 }
   2323 
   2324 void sub_25147F8C(void) {
   2325     int _fpu_cmp = 0;
   2326     uint32_t _cf = 0;
   2327     int _df = 1;
   2328     uint32_t _flag_k = FK_NONE;
   2329     uint32_t _flag_a = 0, _flag_b = 0;
   2330     uint32_t _itail_tgt = 0;
   2331     RECOMP_REGS_LOCALS
   2332     RECOMP_ENTER(0x25147F8Cu);
   2333 
   2334 L_25147F8C:
   2335     ecx = ebp + (-0x24); /* 0x25147F8C: lea ecx, [ebp - 0x24] */
   2336     goto L_25009BC0; /* 0x25147F8F: jmp 0x25009bc0 */
   2337     { RECOMP_REGS_OUT(); return; } /* end of function */
   2338     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2339     RECOMP_REGS_OUT();
   2340 }
   2341 
   2342 void sub_25147F94(void) {
   2343     int _fpu_cmp = 0;
   2344     uint32_t _cf = 0;
   2345     int _df = 1;
   2346     uint32_t _flag_k = FK_NONE;
   2347     uint32_t _flag_a = 0, _flag_b = 0;
   2348     uint32_t _itail_tgt = 0;
   2349     RECOMP_REGS_LOCALS
   2350     RECOMP_ENTER(0x25147F94u);
   2351 
   2352 L_25147F94:
   2353     ecx = ebp + (-0x58); /* 0x25147F94: lea ecx, [ebp - 0x58] */
   2354     goto L_25009BF0; /* 0x25147F97: jmp 0x25009bf0 */
   2355     { RECOMP_REGS_OUT(); return; } /* end of function */
   2356     L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; }
   2357     RECOMP_REGS_OUT();
   2358 }
   2359 
   2360 void sub_25147F9C(void) {
   2361     int _fpu_cmp = 0;
   2362     uint32_t _cf = 0;
   2363     int _df = 1;
   2364     uint32_t _flag_k = FK_NONE;
   2365     uint32_t _flag_a = 0, _flag_b = 0;
   2366     uint32_t _itail_tgt = 0;
   2367     RECOMP_REGS_LOCALS
   2368     RECOMP_ENTER(0x25147F9Cu);
   2369 
   2370 L_25147F9C:
   2371     ecx = ebp + (-0xD8); /* 0x25147F9C: lea ecx, [ebp - 0xd8] */
   2372 L_25147FA2:
   2373     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2374     { RECOMP_REGS_OUT(); return; } /* end of function */
   2375   _ljump:
   2376     switch (_itail_tgt) {
   2377       case 0x25147F9Cu: goto L_25147F9C;
   2378       case 0x25147FA2u: goto L_25147FA2;
   2379       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2380     }
   2381     RECOMP_REGS_OUT();
   2382 }
   2383 
   2384 void sub_25147FA8(void) {
   2385     int _fpu_cmp = 0;
   2386     uint32_t _cf = 0;
   2387     int _df = 1;
   2388     uint32_t _flag_k = FK_NONE;
   2389     uint32_t _flag_a = 0, _flag_b = 0;
   2390     uint32_t _itail_tgt = 0;
   2391     RECOMP_REGS_LOCALS
   2392     RECOMP_ENTER(0x25147FA8u);
   2393 
   2394 L_25147FA8:
   2395     ecx = ebp + (-0x98); /* 0x25147FA8: lea ecx, [ebp - 0x98] */
   2396 L_25147FAE:
   2397     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2398     { RECOMP_REGS_OUT(); return; } /* end of function */
   2399   _ljump:
   2400     switch (_itail_tgt) {
   2401       case 0x25147FA8u: goto L_25147FA8;
   2402       case 0x25147FAEu: goto L_25147FAE;
   2403       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2404     }
   2405     RECOMP_REGS_OUT();
   2406 }
   2407 
   2408 void sub_25147FB4(void) {
   2409     int _fpu_cmp = 0;
   2410     uint32_t _cf = 0;
   2411     int _df = 1;
   2412     uint32_t _flag_k = FK_NONE;
   2413     uint32_t _flag_a = 0, _flag_b = 0;
   2414     uint32_t _itail_tgt = 0;
   2415     RECOMP_REGS_LOCALS
   2416     RECOMP_ENTER(0x25147FB4u);
   2417 
   2418     goto L_25147FB4;
   2419 L_251380C4:
   2420     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2421 L_25147FB4:
   2422     eax = 0x25168468u; /* 0x25147FB4: mov eax, 0x25168468 */
   2423 L_25147FB9:
   2424     RECOMP_BACKEDGE();
   2425     goto L_251380C4; /* 0x25147FB9: jmp 0x251380c4 */
   2426     { RECOMP_REGS_OUT(); return; } /* end of function */
   2427   _ljump:
   2428     switch (_itail_tgt) {
   2429       case 0x251380C4u: goto L_251380C4;
   2430       case 0x25147FB4u: goto L_25147FB4;
   2431       case 0x25147FB9u: goto L_25147FB9;
   2432       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2433     }
   2434     RECOMP_REGS_OUT();
   2435 }
   2436 
   2437 void sub_25147FC0(void) {
   2438     int _fpu_cmp = 0;
   2439     uint32_t _cf = 0;
   2440     int _df = 1;
   2441     uint32_t _flag_k = FK_NONE;
   2442     uint32_t _flag_a = 0, _flag_b = 0;
   2443     uint32_t _itail_tgt = 0;
   2444     RECOMP_REGS_LOCALS
   2445     RECOMP_ENTER(0x25147FC0u);
   2446 
   2447 L_25147FC0:
   2448     ecx = ebp + (-0x44); /* 0x25147FC0: lea ecx, [ebp - 0x44] */
   2449     goto L_25009BC0; /* 0x25147FC3: jmp 0x25009bc0 */
   2450     { RECOMP_REGS_OUT(); return; } /* end of function */
   2451     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2452     RECOMP_REGS_OUT();
   2453 }
   2454 
   2455 void sub_25147FC8(void) {
   2456     int _fpu_cmp = 0;
   2457     uint32_t _cf = 0;
   2458     int _df = 1;
   2459     uint32_t _flag_k = FK_NONE;
   2460     uint32_t _flag_a = 0, _flag_b = 0;
   2461     uint32_t _itail_tgt = 0;
   2462     RECOMP_REGS_LOCALS
   2463     RECOMP_ENTER(0x25147FC8u);
   2464 
   2465 L_25147FC8:
   2466     ecx = ebp + (-0x38); /* 0x25147FC8: lea ecx, [ebp - 0x38] */
   2467     goto L_25009BC0; /* 0x25147FCB: jmp 0x25009bc0 */
   2468     { RECOMP_REGS_OUT(); return; } /* end of function */
   2469     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2470     RECOMP_REGS_OUT();
   2471 }
   2472 
   2473 void sub_25147FD0(void) {
   2474     int _fpu_cmp = 0;
   2475     uint32_t _cf = 0;
   2476     int _df = 1;
   2477     uint32_t _flag_k = FK_NONE;
   2478     uint32_t _flag_a = 0, _flag_b = 0;
   2479     uint32_t _itail_tgt = 0;
   2480     RECOMP_REGS_LOCALS
   2481     RECOMP_ENTER(0x25147FD0u);
   2482 
   2483 L_25147FD0:
   2484     ecx = ebp + (-0x50); /* 0x25147FD0: lea ecx, [ebp - 0x50] */
   2485     goto L_25009BC0; /* 0x25147FD3: jmp 0x25009bc0 */
   2486     { RECOMP_REGS_OUT(); return; } /* end of function */
   2487     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2488     RECOMP_REGS_OUT();
   2489 }
   2490 
   2491 void sub_25147FD8(void) {
   2492     int _fpu_cmp = 0;
   2493     uint32_t _cf = 0;
   2494     int _df = 1;
   2495     uint32_t _flag_k = FK_NONE;
   2496     uint32_t _flag_a = 0, _flag_b = 0;
   2497     uint32_t _itail_tgt = 0;
   2498     RECOMP_REGS_LOCALS
   2499     RECOMP_ENTER(0x25147FD8u);
   2500 
   2501 L_25147FD8:
   2502     ecx = ebp + (-0x2C); /* 0x25147FD8: lea ecx, [ebp - 0x2c] */
   2503     goto L_25009BC0; /* 0x25147FDB: jmp 0x25009bc0 */
   2504     { RECOMP_REGS_OUT(); return; } /* end of function */
   2505     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2506     RECOMP_REGS_OUT();
   2507 }
   2508 
   2509 void sub_25147FE0(void) {
   2510     int _fpu_cmp = 0;
   2511     uint32_t _cf = 0;
   2512     int _df = 1;
   2513     uint32_t _flag_k = FK_NONE;
   2514     uint32_t _flag_a = 0, _flag_b = 0;
   2515     uint32_t _itail_tgt = 0;
   2516     RECOMP_REGS_LOCALS
   2517     RECOMP_ENTER(0x25147FE0u);
   2518 
   2519 L_25147FE0:
   2520     ecx = ebp + (-0x90); /* 0x25147FE0: lea ecx, [ebp - 0x90] */
   2521 L_25147FE6:
   2522     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2523     { RECOMP_REGS_OUT(); return; } /* end of function */
   2524   _ljump:
   2525     switch (_itail_tgt) {
   2526       case 0x25147FE0u: goto L_25147FE0;
   2527       case 0x25147FE6u: goto L_25147FE6;
   2528       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2529     }
   2530     RECOMP_REGS_OUT();
   2531 }
   2532 
   2533 void sub_25147FEC(void) {
   2534     int _fpu_cmp = 0;
   2535     uint32_t _cf = 0;
   2536     int _df = 1;
   2537     uint32_t _flag_k = FK_NONE;
   2538     uint32_t _flag_a = 0, _flag_b = 0;
   2539     uint32_t _itail_tgt = 0;
   2540     RECOMP_REGS_LOCALS
   2541     RECOMP_ENTER(0x25147FECu);
   2542 
   2543     goto L_25147FEC;
   2544 L_251380C4:
   2545     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2546 L_25147FEC:
   2547     eax = 0x251684D0u; /* 0x25147FEC: mov eax, 0x251684d0 */
   2548 L_25147FF1:
   2549     RECOMP_BACKEDGE();
   2550     goto L_251380C4; /* 0x25147FF1: jmp 0x251380c4 */
   2551     { RECOMP_REGS_OUT(); return; } /* end of function */
   2552   _ljump:
   2553     switch (_itail_tgt) {
   2554       case 0x251380C4u: goto L_251380C4;
   2555       case 0x25147FECu: goto L_25147FEC;
   2556       case 0x25147FF1u: goto L_25147FF1;
   2557       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2558     }
   2559     RECOMP_REGS_OUT();
   2560 }
   2561 
   2562 void sub_25148000(void) {
   2563     int _fpu_cmp = 0;
   2564     uint32_t _cf = 0;
   2565     int _df = 1;
   2566     uint32_t _flag_k = FK_NONE;
   2567     uint32_t _flag_a = 0, _flag_b = 0;
   2568     uint32_t _itail_tgt = 0;
   2569     RECOMP_REGS_LOCALS
   2570     RECOMP_ENTER(0x25148000u);
   2571 
   2572 L_25148000:
   2573     ecx = ebp + (-0x44); /* 0x25148000: lea ecx, [ebp - 0x44] */
   2574     goto L_25009BC0; /* 0x25148003: jmp 0x25009bc0 */
   2575     { RECOMP_REGS_OUT(); return; } /* end of function */
   2576     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2577     RECOMP_REGS_OUT();
   2578 }
   2579 
   2580 void sub_25148008(void) {
   2581     int _fpu_cmp = 0;
   2582     uint32_t _cf = 0;
   2583     int _df = 1;
   2584     uint32_t _flag_k = FK_NONE;
   2585     uint32_t _flag_a = 0, _flag_b = 0;
   2586     uint32_t _itail_tgt = 0;
   2587     RECOMP_REGS_LOCALS
   2588     RECOMP_ENTER(0x25148008u);
   2589 
   2590 L_25148008:
   2591     ecx = ebp + (-0x20); /* 0x25148008: lea ecx, [ebp - 0x20] */
   2592     goto L_25009BC0; /* 0x2514800B: jmp 0x25009bc0 */
   2593     { RECOMP_REGS_OUT(); return; } /* end of function */
   2594     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2595     RECOMP_REGS_OUT();
   2596 }
   2597 
   2598 void sub_25148010(void) {
   2599     int _fpu_cmp = 0;
   2600     uint32_t _cf = 0;
   2601     int _df = 1;
   2602     uint32_t _flag_k = FK_NONE;
   2603     uint32_t _flag_a = 0, _flag_b = 0;
   2604     uint32_t _itail_tgt = 0;
   2605     RECOMP_REGS_LOCALS
   2606     RECOMP_ENTER(0x25148010u);
   2607 
   2608 L_25148010:
   2609     ecx = ebp + (-0x38); /* 0x25148010: lea ecx, [ebp - 0x38] */
   2610     goto L_25009BC0; /* 0x25148013: jmp 0x25009bc0 */
   2611     { RECOMP_REGS_OUT(); return; } /* end of function */
   2612     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2613     RECOMP_REGS_OUT();
   2614 }
   2615 
   2616 void sub_25148018(void) {
   2617     int _fpu_cmp = 0;
   2618     uint32_t _cf = 0;
   2619     int _df = 1;
   2620     uint32_t _flag_k = FK_NONE;
   2621     uint32_t _flag_a = 0, _flag_b = 0;
   2622     uint32_t _itail_tgt = 0;
   2623     RECOMP_REGS_LOCALS
   2624     RECOMP_ENTER(0x25148018u);
   2625 
   2626 L_25148018:
   2627     ecx = ebp + (-0x2C); /* 0x25148018: lea ecx, [ebp - 0x2c] */
   2628     goto L_25009BC0; /* 0x2514801B: jmp 0x25009bc0 */
   2629     { RECOMP_REGS_OUT(); return; } /* end of function */
   2630     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   2631     RECOMP_REGS_OUT();
   2632 }
   2633 
   2634 void sub_25148020(void) {
   2635     int _fpu_cmp = 0;
   2636     uint32_t _cf = 0;
   2637     int _df = 1;
   2638     uint32_t _flag_k = FK_NONE;
   2639     uint32_t _flag_a = 0, _flag_b = 0;
   2640     uint32_t _itail_tgt = 0;
   2641     RECOMP_REGS_LOCALS
   2642     RECOMP_ENTER(0x25148020u);
   2643 
   2644 L_25148020:
   2645     ecx = ebp + (-0x114); /* 0x25148020: lea ecx, [ebp - 0x114] */
   2646 L_25148026:
   2647     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2648     { RECOMP_REGS_OUT(); return; } /* end of function */
   2649   _ljump:
   2650     switch (_itail_tgt) {
   2651       case 0x25148020u: goto L_25148020;
   2652       case 0x25148026u: goto L_25148026;
   2653       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2654     }
   2655     RECOMP_REGS_OUT();
   2656 }
   2657 
   2658 void sub_2514802C(void) {
   2659     int _fpu_cmp = 0;
   2660     uint32_t _cf = 0;
   2661     int _df = 1;
   2662     uint32_t _flag_k = FK_NONE;
   2663     uint32_t _flag_a = 0, _flag_b = 0;
   2664     uint32_t _itail_tgt = 0;
   2665     RECOMP_REGS_LOCALS
   2666     RECOMP_ENTER(0x2514802Cu);
   2667 
   2668 L_2514802C:
   2669     ecx = ebp + (-0x54); /* 0x2514802C: lea ecx, [ebp - 0x54] */
   2670     goto L_25009BF0; /* 0x2514802F: jmp 0x25009bf0 */
   2671     { RECOMP_REGS_OUT(); return; } /* end of function */
   2672     L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; }
   2673     RECOMP_REGS_OUT();
   2674 }
   2675 
   2676 void sub_25148034(void) {
   2677     int _fpu_cmp = 0;
   2678     uint32_t _cf = 0;
   2679     int _df = 1;
   2680     uint32_t _flag_k = FK_NONE;
   2681     uint32_t _flag_a = 0, _flag_b = 0;
   2682     uint32_t _itail_tgt = 0;
   2683     RECOMP_REGS_LOCALS
   2684     RECOMP_ENTER(0x25148034u);
   2685 
   2686 L_25148034:
   2687     ecx = ebp + (-0xD4); /* 0x25148034: lea ecx, [ebp - 0xd4] */
   2688 L_2514803A:
   2689     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2690     { RECOMP_REGS_OUT(); return; } /* end of function */
   2691   _ljump:
   2692     switch (_itail_tgt) {
   2693       case 0x25148034u: goto L_25148034;
   2694       case 0x2514803Au: goto L_2514803A;
   2695       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2696     }
   2697     RECOMP_REGS_OUT();
   2698 }
   2699 
   2700 void sub_25148040(void) {
   2701     int _fpu_cmp = 0;
   2702     uint32_t _cf = 0;
   2703     int _df = 1;
   2704     uint32_t _flag_k = FK_NONE;
   2705     uint32_t _flag_a = 0, _flag_b = 0;
   2706     uint32_t _itail_tgt = 0;
   2707     RECOMP_REGS_LOCALS
   2708     RECOMP_ENTER(0x25148040u);
   2709 
   2710 L_25148040:
   2711     ecx = ebp + (-0x94); /* 0x25148040: lea ecx, [ebp - 0x94] */
   2712 L_25148046:
   2713     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2714     { RECOMP_REGS_OUT(); return; } /* end of function */
   2715   _ljump:
   2716     switch (_itail_tgt) {
   2717       case 0x25148040u: goto L_25148040;
   2718       case 0x25148046u: goto L_25148046;
   2719       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2720     }
   2721     RECOMP_REGS_OUT();
   2722 }
   2723 
   2724 void sub_2514804C(void) {
   2725     int _fpu_cmp = 0;
   2726     uint32_t _cf = 0;
   2727     int _df = 1;
   2728     uint32_t _flag_k = FK_NONE;
   2729     uint32_t _flag_a = 0, _flag_b = 0;
   2730     uint32_t _itail_tgt = 0;
   2731     RECOMP_REGS_LOCALS
   2732     RECOMP_ENTER(0x2514804Cu);
   2733 
   2734     goto L_2514804C;
   2735 L_251380C4:
   2736     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2737 L_2514804C:
   2738     eax = 0x25168518u; /* 0x2514804C: mov eax, 0x25168518 */
   2739 L_25148051:
   2740     RECOMP_BACKEDGE();
   2741     goto L_251380C4; /* 0x25148051: jmp 0x251380c4 */
   2742     { RECOMP_REGS_OUT(); return; } /* end of function */
   2743   _ljump:
   2744     switch (_itail_tgt) {
   2745       case 0x251380C4u: goto L_251380C4;
   2746       case 0x2514804Cu: goto L_2514804C;
   2747       case 0x25148051u: goto L_25148051;
   2748       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2749     }
   2750     RECOMP_REGS_OUT();
   2751 }
   2752 
   2753 void sub_25148060(void) {
   2754     int _fpu_cmp = 0;
   2755     uint32_t _cf = 0;
   2756     int _df = 1;
   2757     uint32_t _flag_k = FK_NONE;
   2758     uint32_t _flag_a = 0, _flag_b = 0;
   2759     uint32_t _itail_tgt = 0;
   2760     RECOMP_REGS_LOCALS
   2761     RECOMP_ENTER(0x25148060u);
   2762 
   2763     goto L_25148060;
   2764 L_250DB0B0:
   2765     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   2766     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   2767     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   2768     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   2769     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   2770     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   2771     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   2772     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2773     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2774     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   2775     _flag_k = FK_CMP;
   2776     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   2777     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   2778     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   2779     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   2780     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   2781     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   2782     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   2783     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   2784     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   2785     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   2786     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   2787     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   2788     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   2789     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   2790     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2791     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   2792     _cf = 0;
   2793     _flag_k = FK_TEST;
   2794     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   2795     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2797     _flag_k = FK_CMP;
   2798     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   2799     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   2800 L_250DB11E:
   2801     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   2802     RECOMP_FLAGS_IN();
   2803 L_250DB123:
   2804     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   2805     PUSH32(esp, eax); /* 0x250DB129: push eax */
   2806     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   2807     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   2808     RECOMP_FLAGS_IN();
   2809     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2810     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2811     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   2812     _flag_k = FK_ADD;
   2813     eax = edi; /* 0x250DB135: mov eax, edi */
   2814     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2815     _cf = (eax) != 0;
   2816     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   2817     _flag_k = FK_CMP;
   2818     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   2819       eax = _sc ? 0xFFFFFFFFu : 0;
   2820       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2821       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2822     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2823     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   2824     _cf = 0;
   2825     _flag_k = FK_TEST;
   2826     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   2827     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   2828     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   2829     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   2830     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   2831     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   2832     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   2833     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2834     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2835     _flag_k = FK_CMP;
   2836     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   2837     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   2838     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   2839     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   2840     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   2841 L_250DB16C:
   2842     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   2843     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   2844     ecx = esi; /* 0x250DB170: mov ecx, esi */
   2845     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   2846     RECOMP_FLAGS_IN();
   2847     ecx = eax; /* 0x250DB177: mov ecx, eax */
   2848     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   2849     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   2850     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   2851     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2853     _flag_k = FK_CMP;
   2854     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   2855     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   2856     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2857     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2858     _flag_k = FK_NARROW(FK_CMP, 24);
   2859     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   2860 L_250DB187:
   2861     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   2862     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   2863     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2864     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2865     _flag_k = FK_CMP;
   2866     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   2867 L_250DB18F:
   2868     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   2869     PUSH32(esp, edx); /* 0x250DB192: push edx */
   2870     ecx = esi; /* 0x250DB193: mov ecx, esi */
   2871     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   2872     RECOMP_FLAGS_IN();
   2873     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   2874     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   2875     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   2876     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   2877     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   2878     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   2879     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   2880     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   2881     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   2882     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   2883     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   2884     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   2885     RECOMP_FLAGS_IN();
   2886     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   2887 L_250DB1BE:
   2888     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   2889     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   2890     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2891     _flag_k = FK_CMP;
   2892     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   2893 L_250DB1C3:
   2894     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   2895     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   2896     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   2897     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   2898     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   2899     RECOMP_FLAGS_IN();
   2900     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   2901     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   2902     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   2903     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   2904     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   2905     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   2906     RECOMP_FLAGS_IN();
   2907     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   2908     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   2909     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   2910     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2911     _flag_k = FK_CMP;
   2912     RECOMP_BACKEDGE();
   2913     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   2914 L_250DB1E6:
   2915     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   2916     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   2917     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   2918     RECOMP_FLAGS_IN();
   2919     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   2920     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   2921     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   2922     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   2923     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   2924     RECOMP_FLAGS_IN();
   2925     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2926     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2927     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   2928     _flag_k = FK_ADD;
   2929     eax = edi; /* 0x250DB201: mov eax, edi */
   2930     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2931     _cf = (eax) != 0;
   2932     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   2933     _flag_k = FK_CMP;
   2934     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   2935       eax = _sc ? 0xFFFFFFFFu : 0;
   2936       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2937       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2938     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   2939     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   2940     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2941     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   2942     _cf = 0;
   2943     _flag_k = FK_TEST;
   2944     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   2945     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   2946     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   2947     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   2948     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2949     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2950     _flag_k = FK_CMP;
   2951     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   2952     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   2953     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   2954     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   2955     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   2956 L_250DB22E:
   2957     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   2958     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   2959     ecx = esi; /* 0x250DB232: mov ecx, esi */
   2960     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   2961     RECOMP_FLAGS_IN();
   2962     edx = eax; /* 0x250DB239: mov edx, eax */
   2963     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   2964     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   2965     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   2966     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2967     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2968     _flag_k = FK_CMP;
   2969     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   2970     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   2971     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2973     _flag_k = FK_NARROW(FK_CMP, 24);
   2974     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   2975 L_250DB249:
   2976     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   2977     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   2978     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   2979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2980     _flag_k = FK_CMP;
   2981     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   2982 L_250DB251:
   2983     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   2984     PUSH32(esp, eax); /* 0x250DB254: push eax */
   2985     ecx = esi; /* 0x250DB255: mov ecx, esi */
   2986     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   2987     RECOMP_FLAGS_IN();
   2988     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   2989     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   2990     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   2991     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   2992     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   2993     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   2994     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   2995     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   2996     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   2997     PUSH32(esp, eax); /* 0x250DB276: push eax */
   2998     ecx = esi; /* 0x250DB277: mov ecx, esi */
   2999     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3000     RECOMP_FLAGS_IN();
   3001     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3002 L_250DB280:
   3003     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3004     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3005     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3006     _flag_k = FK_CMP;
   3007     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3008 L_250DB285:
   3009     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3010     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3011     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3012     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3013     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3014     RECOMP_FLAGS_IN();
   3015     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3016     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3017     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3018     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3019     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3020     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3021     RECOMP_FLAGS_IN();
   3022     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3023     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3024     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3025     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3026     _flag_k = FK_CMP;
   3027     RECOMP_BACKEDGE();
   3028     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3029 L_250DB2A8:
   3030     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3031     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3032     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3033     RECOMP_FLAGS_IN();
   3034     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3035     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3036     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3037     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3038     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3039     RECOMP_FLAGS_IN();
   3040     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3041     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3042     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3043     _flag_k = FK_ADD;
   3044     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3045     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3046     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3047     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3048     RECOMP_FLAGS_IN();
   3049     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3050     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3051     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3052     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3053     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3054     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3055     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3056     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3057 L_25148060:
   3058     ecx = MEM32(ebp + (-0x10)); /* 0x25148060: mov ecx, dword ptr [ebp - 0x10] */
   3059     RECOMP_BACKEDGE();
   3060     goto L_250DB0B0; /* 0x25148063: jmp 0x250db0b0 */
   3061     { RECOMP_REGS_OUT(); return; } /* end of function */
   3062     RECOMP_REGS_OUT();
   3063 }
   3064 
   3065 void sub_25148068(void) {
   3066     int _fpu_cmp = 0;
   3067     uint32_t _cf = 0;
   3068     int _df = 1;
   3069     uint32_t _flag_k = FK_NONE;
   3070     uint32_t _flag_a = 0, _flag_b = 0;
   3071     uint32_t _itail_tgt = 0;
   3072     RECOMP_REGS_LOCALS
   3073     RECOMP_ENTER(0x25148068u);
   3074 
   3075 L_25148068:
   3076     eax = MEM32(ebp + 0x8); /* 0x25148068: mov eax, dword ptr [ebp + 8] */
   3077     PUSH32(esp, eax); /* 0x2514806B: push eax */
   3078     RECOMP_ICALL(0x25137EECu); /* 0x2514806C: call 0x25137eec */ /* not lifted */
   3079     RECOMP_FLAGS_IN();
   3080     ecx = POP32_VAL(esp); /* 0x25148071: pop ecx */
   3081     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148072: ret  */
   3082     RECOMP_REGS_OUT();
   3083 }
   3084 
   3085 void sub_25148073(void) {
   3086     int _fpu_cmp = 0;
   3087     uint32_t _cf = 0;
   3088     int _df = 1;
   3089     uint32_t _flag_k = FK_NONE;
   3090     uint32_t _flag_a = 0, _flag_b = 0;
   3091     uint32_t _itail_tgt = 0;
   3092     RECOMP_REGS_LOCALS
   3093     RECOMP_ENTER(0x25148073u);
   3094 
   3095 L_25148073:
   3096     ecx = MEM32(ebp + (-0x10)); /* 0x25148073: mov ecx, dword ptr [ebp - 0x10] */
   3097     goto L_2501C660; /* 0x25148076: jmp 0x2501c660 */
   3098     { RECOMP_REGS_OUT(); return; } /* end of function */
   3099     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   3100     RECOMP_REGS_OUT();
   3101 }
   3102 
   3103 void sub_2514807B(void) {
   3104     int _fpu_cmp = 0;
   3105     uint32_t _cf = 0;
   3106     int _df = 1;
   3107     uint32_t _flag_k = FK_NONE;
   3108     uint32_t _flag_a = 0, _flag_b = 0;
   3109     uint32_t _itail_tgt = 0;
   3110     RECOMP_REGS_LOCALS
   3111     RECOMP_ENTER(0x2514807Bu);
   3112 
   3113     goto L_2514807B;
   3114 L_251380C4:
   3115     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3116 L_2514807B:
   3117     eax = 0x25168578u; /* 0x2514807B: mov eax, 0x25168578 */
   3118 L_25148080:
   3119     RECOMP_BACKEDGE();
   3120     goto L_251380C4; /* 0x25148080: jmp 0x251380c4 */
   3121     { RECOMP_REGS_OUT(); return; } /* end of function */
   3122   _ljump:
   3123     switch (_itail_tgt) {
   3124       case 0x251380C4u: goto L_251380C4;
   3125       case 0x2514807Bu: goto L_2514807B;
   3126       case 0x25148080u: goto L_25148080;
   3127       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3128     }
   3129     RECOMP_REGS_OUT();
   3130 }
   3131 
   3132 void sub_25148090(void) {
   3133     int _fpu_cmp = 0;
   3134     uint32_t _cf = 0;
   3135     int _df = 1;
   3136     uint32_t _flag_k = FK_NONE;
   3137     uint32_t _flag_a = 0, _flag_b = 0;
   3138     uint32_t _itail_tgt = 0;
   3139     RECOMP_REGS_LOCALS
   3140     RECOMP_ENTER(0x25148090u);
   3141 
   3142     goto L_25148090;
   3143 L_250DB0B0:
   3144     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3145     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3146     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3147     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3148     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3149     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3150     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3151     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3152     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3153     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3154     _flag_k = FK_CMP;
   3155     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3156     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3157     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3158     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3159     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3160     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3161     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3162     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3163     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3164     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3165     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3166     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3167     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3168     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3169     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3170     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3171     _cf = 0;
   3172     _flag_k = FK_TEST;
   3173     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3174     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3176     _flag_k = FK_CMP;
   3177     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3178     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3179 L_250DB11E:
   3180     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3181     RECOMP_FLAGS_IN();
   3182 L_250DB123:
   3183     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3184     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3185     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3186     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3187     RECOMP_FLAGS_IN();
   3188     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3189     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3190     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3191     _flag_k = FK_ADD;
   3192     eax = edi; /* 0x250DB135: mov eax, edi */
   3193     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3194     _cf = (eax) != 0;
   3195     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3196     _flag_k = FK_CMP;
   3197     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3198       eax = _sc ? 0xFFFFFFFFu : 0;
   3199       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3200       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3201     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3202     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3203     _cf = 0;
   3204     _flag_k = FK_TEST;
   3205     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3206     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3207     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3208     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3209     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3210     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3211     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3212     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3213     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3214     _flag_k = FK_CMP;
   3215     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3216     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3217     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3218     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3219     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3220 L_250DB16C:
   3221     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3222     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3223     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3224     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3225     RECOMP_FLAGS_IN();
   3226     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3227     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3228     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3229     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3232     _flag_k = FK_CMP;
   3233     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3234     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3235     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3236     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3237     _flag_k = FK_NARROW(FK_CMP, 24);
   3238     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3239 L_250DB187:
   3240     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3241     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3242     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3243     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3244     _flag_k = FK_CMP;
   3245     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3246 L_250DB18F:
   3247     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3248     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3249     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3250     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3251     RECOMP_FLAGS_IN();
   3252     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3253     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3254     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3255     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3256     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3257     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3258     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3259     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3260     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3261     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3262     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3263     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3264     RECOMP_FLAGS_IN();
   3265     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3266 L_250DB1BE:
   3267     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3268     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3269     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3270     _flag_k = FK_CMP;
   3271     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3272 L_250DB1C3:
   3273     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3274     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3275     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3276     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3277     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3278     RECOMP_FLAGS_IN();
   3279     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3280     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3281     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3282     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3283     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3284     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3285     RECOMP_FLAGS_IN();
   3286     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3287     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3288     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3289     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3290     _flag_k = FK_CMP;
   3291     RECOMP_BACKEDGE();
   3292     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3293 L_250DB1E6:
   3294     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3295     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3296     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3297     RECOMP_FLAGS_IN();
   3298     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3299     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3300     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3301     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3302     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3303     RECOMP_FLAGS_IN();
   3304     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3305     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3306     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3307     _flag_k = FK_ADD;
   3308     eax = edi; /* 0x250DB201: mov eax, edi */
   3309     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3310     _cf = (eax) != 0;
   3311     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3312     _flag_k = FK_CMP;
   3313     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3314       eax = _sc ? 0xFFFFFFFFu : 0;
   3315       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3316       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3317     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3318     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3319     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3320     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3321     _cf = 0;
   3322     _flag_k = FK_TEST;
   3323     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3324     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3325     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3326     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3327     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3328     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3329     _flag_k = FK_CMP;
   3330     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3331     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3332     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3333     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3334     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3335 L_250DB22E:
   3336     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3337     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3338     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3339     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3340     RECOMP_FLAGS_IN();
   3341     edx = eax; /* 0x250DB239: mov edx, eax */
   3342     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3343     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3344     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3345     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3346     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3347     _flag_k = FK_CMP;
   3348     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3349     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3350     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3352     _flag_k = FK_NARROW(FK_CMP, 24);
   3353     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3354 L_250DB249:
   3355     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3356     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3357     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3358     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3359     _flag_k = FK_CMP;
   3360     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3361 L_250DB251:
   3362     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3363     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3364     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3365     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3366     RECOMP_FLAGS_IN();
   3367     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3368     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3369     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3370     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3371     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3372     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3373     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3374     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3375     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3376     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3377     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3378     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3379     RECOMP_FLAGS_IN();
   3380     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3381 L_250DB280:
   3382     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3383     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3384     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3385     _flag_k = FK_CMP;
   3386     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3387 L_250DB285:
   3388     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3389     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3390     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3391     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3392     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3393     RECOMP_FLAGS_IN();
   3394     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3395     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3396     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3397     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3398     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3399     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3400     RECOMP_FLAGS_IN();
   3401     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3402     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3403     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3405     _flag_k = FK_CMP;
   3406     RECOMP_BACKEDGE();
   3407     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3408 L_250DB2A8:
   3409     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3410     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3411     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3412     RECOMP_FLAGS_IN();
   3413     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3414     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3415     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3416     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3417     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3418     RECOMP_FLAGS_IN();
   3419     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3420     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3421     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3422     _flag_k = FK_ADD;
   3423     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3424     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3425     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3426     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3427     RECOMP_FLAGS_IN();
   3428     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3429     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3430     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3431     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3432     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3433     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3434     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3435     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3436 L_25148090:
   3437     ecx = MEM32(ebp + (-0x10)); /* 0x25148090: mov ecx, dword ptr [ebp - 0x10] */
   3438     RECOMP_BACKEDGE();
   3439     goto L_250DB0B0; /* 0x25148093: jmp 0x250db0b0 */
   3440     { RECOMP_REGS_OUT(); return; } /* end of function */
   3441     RECOMP_REGS_OUT();
   3442 }
   3443 
   3444 void sub_25148098(void) {
   3445     int _fpu_cmp = 0;
   3446     uint32_t _cf = 0;
   3447     int _df = 1;
   3448     uint32_t _flag_k = FK_NONE;
   3449     uint32_t _flag_a = 0, _flag_b = 0;
   3450     uint32_t _itail_tgt = 0;
   3451     RECOMP_REGS_LOCALS
   3452     RECOMP_ENTER(0x25148098u);
   3453 
   3454     goto L_25148098;
   3455 L_251380C4:
   3456     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3457 L_25148098:
   3458     eax = 0x251685B0u; /* 0x25148098: mov eax, 0x251685b0 */
   3459 L_2514809D:
   3460     RECOMP_BACKEDGE();
   3461     goto L_251380C4; /* 0x2514809D: jmp 0x251380c4 */
   3462     { RECOMP_REGS_OUT(); return; } /* end of function */
   3463   _ljump:
   3464     switch (_itail_tgt) {
   3465       case 0x251380C4u: goto L_251380C4;
   3466       case 0x25148098u: goto L_25148098;
   3467       case 0x2514809Du: goto L_2514809D;
   3468       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3469     }
   3470     RECOMP_REGS_OUT();
   3471 }
   3472 
   3473 void sub_251480B0(void) {
   3474     int _fpu_cmp = 0;
   3475     uint32_t _cf = 0;
   3476     int _df = 1;
   3477     uint32_t _flag_k = FK_NONE;
   3478     uint32_t _flag_a = 0, _flag_b = 0;
   3479     uint32_t _itail_tgt = 0;
   3480     RECOMP_REGS_LOCALS
   3481     RECOMP_ENTER(0x251480B0u);
   3482 
   3483 L_251480B0:
   3484     eax = MEM32(ebp + (-0x10)); /* 0x251480B0: mov eax, dword ptr [ebp - 0x10] */
   3485     PUSH32(esp, eax); /* 0x251480B3: push eax */
   3486     RECOMP_ICALL(0x25137EECu); /* 0x251480B4: call 0x25137eec */ /* not lifted */
   3487     RECOMP_FLAGS_IN();
   3488     ecx = POP32_VAL(esp); /* 0x251480B9: pop ecx */
   3489     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251480BA: ret  */
   3490     RECOMP_REGS_OUT();
   3491 }
   3492 
   3493 void sub_251480BB(void) {
   3494     int _fpu_cmp = 0;
   3495     uint32_t _cf = 0;
   3496     int _df = 1;
   3497     uint32_t _flag_k = FK_NONE;
   3498     uint32_t _flag_a = 0, _flag_b = 0;
   3499     uint32_t _itail_tgt = 0;
   3500     RECOMP_REGS_LOCALS
   3501     RECOMP_ENTER(0x251480BBu);
   3502 
   3503     goto L_251480BB;
   3504 L_251380C4:
   3505     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3506 L_251480BB:
   3507     eax = 0x251685D8u; /* 0x251480BB: mov eax, 0x251685d8 */
   3508 L_251480C0:
   3509     RECOMP_BACKEDGE();
   3510     goto L_251380C4; /* 0x251480C0: jmp 0x251380c4 */
   3511     { RECOMP_REGS_OUT(); return; } /* end of function */
   3512   _ljump:
   3513     switch (_itail_tgt) {
   3514       case 0x251380C4u: goto L_251380C4;
   3515       case 0x251480BBu: goto L_251480BB;
   3516       case 0x251480C0u: goto L_251480C0;
   3517       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3518     }
   3519     RECOMP_REGS_OUT();
   3520 }
   3521 
   3522 void sub_251480D0(void) {
   3523     int _fpu_cmp = 0;
   3524     uint32_t _cf = 0;
   3525     int _df = 1;
   3526     uint32_t _flag_k = FK_NONE;
   3527     uint32_t _flag_a = 0, _flag_b = 0;
   3528     uint32_t _itail_tgt = 0;
   3529     RECOMP_REGS_LOCALS
   3530     RECOMP_ENTER(0x251480D0u);
   3531 
   3532 L_251480D0:
   3533     eax = MEM32(ebp + (-0x10)); /* 0x251480D0: mov eax, dword ptr [ebp - 0x10] */
   3534     PUSH32(esp, eax); /* 0x251480D3: push eax */
   3535     RECOMP_ICALL(0x25137EECu); /* 0x251480D4: call 0x25137eec */ /* not lifted */
   3536     RECOMP_FLAGS_IN();
   3537     ecx = POP32_VAL(esp); /* 0x251480D9: pop ecx */
   3538     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251480DA: ret  */
   3539     RECOMP_REGS_OUT();
   3540 }
   3541 
   3542 void sub_251480DB(void) {
   3543     int _fpu_cmp = 0;
   3544     uint32_t _cf = 0;
   3545     int _df = 1;
   3546     uint32_t _flag_k = FK_NONE;
   3547     uint32_t _flag_a = 0, _flag_b = 0;
   3548     uint32_t _itail_tgt = 0;
   3549     RECOMP_REGS_LOCALS
   3550     RECOMP_ENTER(0x251480DBu);
   3551 
   3552     goto L_251480DB;
   3553 L_251380C4:
   3554     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3555 L_251480DB:
   3556     eax = 0x25168600u; /* 0x251480DB: mov eax, 0x25168600 */
   3557 L_251480E0:
   3558     RECOMP_BACKEDGE();
   3559     goto L_251380C4; /* 0x251480E0: jmp 0x251380c4 */
   3560     { RECOMP_REGS_OUT(); return; } /* end of function */
   3561   _ljump:
   3562     switch (_itail_tgt) {
   3563       case 0x251380C4u: goto L_251380C4;
   3564       case 0x251480DBu: goto L_251480DB;
   3565       case 0x251480E0u: goto L_251480E0;
   3566       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3567     }
   3568     RECOMP_REGS_OUT();
   3569 }
   3570 
   3571 void sub_251480F0(void) {
   3572     int _fpu_cmp = 0;
   3573     uint32_t _cf = 0;
   3574     int _df = 1;
   3575     uint32_t _flag_k = FK_NONE;
   3576     uint32_t _flag_a = 0, _flag_b = 0;
   3577     uint32_t _itail_tgt = 0;
   3578     RECOMP_REGS_LOCALS
   3579     RECOMP_ENTER(0x251480F0u);
   3580 
   3581 L_251480F0:
   3582     eax = MEM32(ebp + 0x8); /* 0x251480F0: mov eax, dword ptr [ebp + 8] */
   3583     PUSH32(esp, eax); /* 0x251480F3: push eax */
   3584     RECOMP_ICALL(0x25137EECu); /* 0x251480F4: call 0x25137eec */ /* not lifted */
   3585     RECOMP_FLAGS_IN();
   3586     ecx = POP32_VAL(esp); /* 0x251480F9: pop ecx */
   3587     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251480FA: ret  */
   3588     RECOMP_REGS_OUT();
   3589 }
   3590 
   3591 void sub_251480FB(void) {
   3592     int _fpu_cmp = 0;
   3593     uint32_t _cf = 0;
   3594     int _df = 1;
   3595     uint32_t _flag_k = FK_NONE;
   3596     uint32_t _flag_a = 0, _flag_b = 0;
   3597     uint32_t _itail_tgt = 0;
   3598     RECOMP_REGS_LOCALS
   3599     RECOMP_ENTER(0x251480FBu);
   3600 
   3601     goto L_251480FB;
   3602 L_251380C4:
   3603     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3604 L_251480FB:
   3605     eax = 0x25168628u; /* 0x251480FB: mov eax, 0x25168628 */
   3606 L_25148100:
   3607     RECOMP_BACKEDGE();
   3608     goto L_251380C4; /* 0x25148100: jmp 0x251380c4 */
   3609     { RECOMP_REGS_OUT(); return; } /* end of function */
   3610   _ljump:
   3611     switch (_itail_tgt) {
   3612       case 0x251380C4u: goto L_251380C4;
   3613       case 0x251480FBu: goto L_251480FB;
   3614       case 0x25148100u: goto L_25148100;
   3615       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3616     }
   3617     RECOMP_REGS_OUT();
   3618 }
   3619 
   3620 void sub_25148110(void) {
   3621     int _fpu_cmp = 0;
   3622     uint32_t _cf = 0;
   3623     int _df = 1;
   3624     uint32_t _flag_k = FK_NONE;
   3625     uint32_t _flag_a = 0, _flag_b = 0;
   3626     uint32_t _itail_tgt = 0;
   3627     RECOMP_REGS_LOCALS
   3628     RECOMP_ENTER(0x25148110u);
   3629 
   3630     goto L_25148110;
   3631 L_250DB0B0:
   3632     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3633     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3634     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3635     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3636     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3637     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3638     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3639     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3640     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3641     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3642     _flag_k = FK_CMP;
   3643     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3644     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3645     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3646     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3647     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3648     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3649     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3650     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3651     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3652     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3653     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3654     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3655     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3656     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3657     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3658     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3659     _cf = 0;
   3660     _flag_k = FK_TEST;
   3661     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3662     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3663     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3664     _flag_k = FK_CMP;
   3665     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3666     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3667 L_250DB11E:
   3668     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3669     RECOMP_FLAGS_IN();
   3670 L_250DB123:
   3671     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3672     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3673     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3674     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3675     RECOMP_FLAGS_IN();
   3676     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3677     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3678     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3679     _flag_k = FK_ADD;
   3680     eax = edi; /* 0x250DB135: mov eax, edi */
   3681     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3682     _cf = (eax) != 0;
   3683     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3684     _flag_k = FK_CMP;
   3685     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3686       eax = _sc ? 0xFFFFFFFFu : 0;
   3687       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3688       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3689     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3690     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3691     _cf = 0;
   3692     _flag_k = FK_TEST;
   3693     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3694     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3695     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3696     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3697     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3698     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3699     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3700     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3701     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3702     _flag_k = FK_CMP;
   3703     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3704     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3705     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3706     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3707     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3708 L_250DB16C:
   3709     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3710     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3711     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3712     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3713     RECOMP_FLAGS_IN();
   3714     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3715     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3716     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3717     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3718     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3719     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3720     _flag_k = FK_CMP;
   3721     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3722     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3723     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3724     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3725     _flag_k = FK_NARROW(FK_CMP, 24);
   3726     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3727 L_250DB187:
   3728     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3729     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3730     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3731     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3732     _flag_k = FK_CMP;
   3733     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3734 L_250DB18F:
   3735     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3736     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3737     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3738     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3739     RECOMP_FLAGS_IN();
   3740     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3741     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3742     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3743     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3744     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3745     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3746     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3747     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3748     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3749     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3750     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3751     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3752     RECOMP_FLAGS_IN();
   3753     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3754 L_250DB1BE:
   3755     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3756     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3757     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3758     _flag_k = FK_CMP;
   3759     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3760 L_250DB1C3:
   3761     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3762     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3763     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3764     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3765     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3766     RECOMP_FLAGS_IN();
   3767     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3768     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3769     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3770     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3771     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3772     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3773     RECOMP_FLAGS_IN();
   3774     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3775     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3776     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3777     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3778     _flag_k = FK_CMP;
   3779     RECOMP_BACKEDGE();
   3780     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3781 L_250DB1E6:
   3782     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3783     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3784     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3785     RECOMP_FLAGS_IN();
   3786     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3787     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3788     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3789     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3790     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3791     RECOMP_FLAGS_IN();
   3792     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3793     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3794     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3795     _flag_k = FK_ADD;
   3796     eax = edi; /* 0x250DB201: mov eax, edi */
   3797     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3798     _cf = (eax) != 0;
   3799     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3800     _flag_k = FK_CMP;
   3801     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3802       eax = _sc ? 0xFFFFFFFFu : 0;
   3803       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3804       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3805     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3806     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3807     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3808     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3809     _cf = 0;
   3810     _flag_k = FK_TEST;
   3811     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3812     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3813     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3814     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3815     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3816     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3817     _flag_k = FK_CMP;
   3818     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3819     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3820     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3821     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3822     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3823 L_250DB22E:
   3824     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3825     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3826     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3827     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3828     RECOMP_FLAGS_IN();
   3829     edx = eax; /* 0x250DB239: mov edx, eax */
   3830     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3831     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3832     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3833     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3834     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3835     _flag_k = FK_CMP;
   3836     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3837     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3838     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3839     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3840     _flag_k = FK_NARROW(FK_CMP, 24);
   3841     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3842 L_250DB249:
   3843     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3844     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3845     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3846     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3847     _flag_k = FK_CMP;
   3848     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3849 L_250DB251:
   3850     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3851     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3852     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3853     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3854     RECOMP_FLAGS_IN();
   3855     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3856     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3857     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3858     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3859     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3860     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3861     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3862     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3863     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3864     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3865     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3866     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3867     RECOMP_FLAGS_IN();
   3868     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3869 L_250DB280:
   3870     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3871     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3872     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3873     _flag_k = FK_CMP;
   3874     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3875 L_250DB285:
   3876     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3877     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3878     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3879     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3880     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3881     RECOMP_FLAGS_IN();
   3882     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3883     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3884     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3885     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3886     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3887     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3888     RECOMP_FLAGS_IN();
   3889     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3890     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3891     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3892     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3893     _flag_k = FK_CMP;
   3894     RECOMP_BACKEDGE();
   3895     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3896 L_250DB2A8:
   3897     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3898     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3899     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3900     RECOMP_FLAGS_IN();
   3901     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3902     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3903     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3904     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3905     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3906     RECOMP_FLAGS_IN();
   3907     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3908     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3909     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3910     _flag_k = FK_ADD;
   3911     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3912     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3913     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3914     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3915     RECOMP_FLAGS_IN();
   3916     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3917     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3918     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3919     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3920     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3921     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3922     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3923     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3924 L_25148110:
   3925     ecx = MEM32(ebp + (-0x10)); /* 0x25148110: mov ecx, dword ptr [ebp - 0x10] */
   3926     RECOMP_BACKEDGE();
   3927     goto L_250DB0B0; /* 0x25148113: jmp 0x250db0b0 */
   3928     { RECOMP_REGS_OUT(); return; } /* end of function */
   3929     RECOMP_REGS_OUT();
   3930 }
   3931 
   3932 void sub_25148118(void) {
   3933     int _fpu_cmp = 0;
   3934     uint32_t _cf = 0;
   3935     int _df = 1;
   3936     uint32_t _flag_k = FK_NONE;
   3937     uint32_t _flag_a = 0, _flag_b = 0;
   3938     uint32_t _itail_tgt = 0;
   3939     RECOMP_REGS_LOCALS
   3940     RECOMP_ENTER(0x25148118u);
   3941 
   3942 L_25148118:
   3943     eax = MEM32(ebp + 0x8); /* 0x25148118: mov eax, dword ptr [ebp + 8] */
   3944     PUSH32(esp, eax); /* 0x2514811B: push eax */
   3945     RECOMP_ICALL(0x25137EECu); /* 0x2514811C: call 0x25137eec */ /* not lifted */
   3946     RECOMP_FLAGS_IN();
   3947     ecx = POP32_VAL(esp); /* 0x25148121: pop ecx */
   3948     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148122: ret  */
   3949     RECOMP_REGS_OUT();
   3950 }
   3951 
   3952 void sub_25148123(void) {
   3953     int _fpu_cmp = 0;
   3954     uint32_t _cf = 0;
   3955     int _df = 1;
   3956     uint32_t _flag_k = FK_NONE;
   3957     uint32_t _flag_a = 0, _flag_b = 0;
   3958     uint32_t _itail_tgt = 0;
   3959     RECOMP_REGS_LOCALS
   3960     RECOMP_ENTER(0x25148123u);
   3961 
   3962 L_25148123:
   3963     ecx = MEM32(ebp + (-0x10)); /* 0x25148123: mov ecx, dword ptr [ebp - 0x10] */
   3964     goto L_2501C660; /* 0x25148126: jmp 0x2501c660 */
   3965     { RECOMP_REGS_OUT(); return; } /* end of function */
   3966     L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; }
   3967     RECOMP_REGS_OUT();
   3968 }
   3969 
   3970 void sub_2514812B(void) {
   3971     int _fpu_cmp = 0;
   3972     uint32_t _cf = 0;
   3973     int _df = 1;
   3974     uint32_t _flag_k = FK_NONE;
   3975     uint32_t _flag_a = 0, _flag_b = 0;
   3976     uint32_t _itail_tgt = 0;
   3977     RECOMP_REGS_LOCALS
   3978     RECOMP_ENTER(0x2514812Bu);
   3979 
   3980     goto L_2514812B;
   3981 L_251380C4:
   3982     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3983 L_2514812B:
   3984     eax = 0x25168650u; /* 0x2514812B: mov eax, 0x25168650 */
   3985 L_25148130:
   3986     RECOMP_BACKEDGE();
   3987     goto L_251380C4; /* 0x25148130: jmp 0x251380c4 */
   3988     { RECOMP_REGS_OUT(); return; } /* end of function */
   3989   _ljump:
   3990     switch (_itail_tgt) {
   3991       case 0x251380C4u: goto L_251380C4;
   3992       case 0x2514812Bu: goto L_2514812B;
   3993       case 0x25148130u: goto L_25148130;
   3994       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3995     }
   3996     RECOMP_REGS_OUT();
   3997 }
   3998 
   3999 void sub_25148140(void) {
   4000     int _fpu_cmp = 0;
   4001     uint32_t _cf = 0;
   4002     int _df = 1;
   4003     uint32_t _flag_k = FK_NONE;
   4004     uint32_t _flag_a = 0, _flag_b = 0;
   4005     uint32_t _itail_tgt = 0;
   4006     RECOMP_REGS_LOCALS
   4007     RECOMP_ENTER(0x25148140u);
   4008 
   4009     goto L_25148140;
   4010 L_250DB0B0:
   4011     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   4012     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   4013     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   4014     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   4015     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   4016     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   4017     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   4018     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4019     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4020     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   4021     _flag_k = FK_CMP;
   4022     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   4023     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   4024     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   4025     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   4026     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   4027     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   4028     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   4029     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   4030     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   4031     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   4032     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   4033     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   4034     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   4035     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   4036     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4037     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   4038     _cf = 0;
   4039     _flag_k = FK_TEST;
   4040     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4041     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4042     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4043     _flag_k = FK_CMP;
   4044     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4045     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4046 L_250DB11E:
   4047     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4048     RECOMP_FLAGS_IN();
   4049 L_250DB123:
   4050     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4051     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4052     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4053     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4054     RECOMP_FLAGS_IN();
   4055     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4056     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4057     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4058     _flag_k = FK_ADD;
   4059     eax = edi; /* 0x250DB135: mov eax, edi */
   4060     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4061     _cf = (eax) != 0;
   4062     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4063     _flag_k = FK_CMP;
   4064     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4065       eax = _sc ? 0xFFFFFFFFu : 0;
   4066       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4067       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4068     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4069     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4070     _cf = 0;
   4071     _flag_k = FK_TEST;
   4072     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4073     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4074     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4075     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4076     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4077     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4078     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4079     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4080     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4081     _flag_k = FK_CMP;
   4082     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4083     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4084     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4085     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   4086     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   4087 L_250DB16C:
   4088     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   4089     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   4090     ecx = esi; /* 0x250DB170: mov ecx, esi */
   4091     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   4092     RECOMP_FLAGS_IN();
   4093     ecx = eax; /* 0x250DB177: mov ecx, eax */
   4094     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   4095     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   4096     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   4097     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4098     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4099     _flag_k = FK_CMP;
   4100     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   4101     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   4102     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4103     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4104     _flag_k = FK_NARROW(FK_CMP, 24);
   4105     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   4106 L_250DB187:
   4107     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   4108     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   4109     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4110     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4111     _flag_k = FK_CMP;
   4112     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   4113 L_250DB18F:
   4114     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   4115     PUSH32(esp, edx); /* 0x250DB192: push edx */
   4116     ecx = esi; /* 0x250DB193: mov ecx, esi */
   4117     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   4118     RECOMP_FLAGS_IN();
   4119     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   4120     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   4121     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   4122     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   4123     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   4124     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   4125     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   4126     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   4127     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   4128     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   4129     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   4130     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   4131     RECOMP_FLAGS_IN();
   4132     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   4133 L_250DB1BE:
   4134     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   4135     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   4136     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4137     _flag_k = FK_CMP;
   4138     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   4139 L_250DB1C3:
   4140     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   4141     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   4142     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   4143     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   4144     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   4145     RECOMP_FLAGS_IN();
   4146     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   4147     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   4148     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   4149     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   4150     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   4151     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   4152     RECOMP_FLAGS_IN();
   4153     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   4154     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   4155     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   4156     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4157     _flag_k = FK_CMP;
   4158     RECOMP_BACKEDGE();
   4159     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   4160 L_250DB1E6:
   4161     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   4162     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   4163     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   4164     RECOMP_FLAGS_IN();
   4165     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   4166     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   4167     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   4168     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   4169     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   4170     RECOMP_FLAGS_IN();
   4171     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4172     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4173     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   4174     _flag_k = FK_ADD;
   4175     eax = edi; /* 0x250DB201: mov eax, edi */
   4176     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4177     _cf = (eax) != 0;
   4178     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   4179     _flag_k = FK_CMP;
   4180     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   4181       eax = _sc ? 0xFFFFFFFFu : 0;
   4182       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4183       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4184     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   4185     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   4186     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4187     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   4188     _cf = 0;
   4189     _flag_k = FK_TEST;
   4190     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   4191     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   4192     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   4193     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   4194     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4195     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4196     _flag_k = FK_CMP;
   4197     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   4198     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   4199     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   4200     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   4201     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   4202 L_250DB22E:
   4203     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   4204     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   4205     ecx = esi; /* 0x250DB232: mov ecx, esi */
   4206     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   4207     RECOMP_FLAGS_IN();
   4208     edx = eax; /* 0x250DB239: mov edx, eax */
   4209     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   4210     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   4211     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   4212     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4213     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4214     _flag_k = FK_CMP;
   4215     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   4216     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   4217     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4219     _flag_k = FK_NARROW(FK_CMP, 24);
   4220     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   4221 L_250DB249:
   4222     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   4223     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   4224     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   4225     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4226     _flag_k = FK_CMP;
   4227     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   4228 L_250DB251:
   4229     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   4230     PUSH32(esp, eax); /* 0x250DB254: push eax */
   4231     ecx = esi; /* 0x250DB255: mov ecx, esi */
   4232     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   4233     RECOMP_FLAGS_IN();
   4234     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   4235     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   4236     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   4237     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   4238     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   4239     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   4240     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   4241     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   4242     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   4243     PUSH32(esp, eax); /* 0x250DB276: push eax */
   4244     ecx = esi; /* 0x250DB277: mov ecx, esi */
   4245     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   4246     RECOMP_FLAGS_IN();
   4247     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   4248 L_250DB280:
   4249     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   4250     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   4251     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4252     _flag_k = FK_CMP;
   4253     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   4254 L_250DB285:
   4255     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   4256     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   4257     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   4258     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   4259     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   4260     RECOMP_FLAGS_IN();
   4261     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   4262     PUSH32(esp, edx); /* 0x250DB294: push edx */
   4263     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   4264     PUSH32(esp, eax); /* 0x250DB298: push eax */
   4265     ecx = esi; /* 0x250DB299: mov ecx, esi */
   4266     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   4267     RECOMP_FLAGS_IN();
   4268     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   4269     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   4270     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4271     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4272     _flag_k = FK_CMP;
   4273     RECOMP_BACKEDGE();
   4274     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   4275 L_250DB2A8:
   4276     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   4277     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   4278     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   4279     RECOMP_FLAGS_IN();
   4280     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   4281     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   4282     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   4283     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   4284     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   4285     RECOMP_FLAGS_IN();
   4286     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4287     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4288     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   4289     _flag_k = FK_ADD;
   4290     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   4291     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   4292     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   4293     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   4294     RECOMP_FLAGS_IN();
   4295     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   4296     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   4297     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   4298     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   4299     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   4300     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   4301     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   4302     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   4303 L_25148140:
   4304     ecx = MEM32(ebp + (-0x10)); /* 0x25148140: mov ecx, dword ptr [ebp - 0x10] */
   4305     RECOMP_BACKEDGE();
   4306     goto L_250DB0B0; /* 0x25148143: jmp 0x250db0b0 */
   4307     { RECOMP_REGS_OUT(); return; } /* end of function */
   4308     RECOMP_REGS_OUT();
   4309 }
   4310 
   4311 void sub_25148148(void) {
   4312     int _fpu_cmp = 0;
   4313     uint32_t _cf = 0;
   4314     int _df = 1;
   4315     uint32_t _flag_k = FK_NONE;
   4316     uint32_t _flag_a = 0, _flag_b = 0;
   4317     uint32_t _itail_tgt = 0;
   4318     RECOMP_REGS_LOCALS
   4319     RECOMP_ENTER(0x25148148u);
   4320 
   4321     goto L_25148148;
   4322 L_251380C4:
   4323     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4324 L_25148148:
   4325     eax = 0x25168688u; /* 0x25148148: mov eax, 0x25168688 */
   4326 L_2514814D:
   4327     RECOMP_BACKEDGE();
   4328     goto L_251380C4; /* 0x2514814D: jmp 0x251380c4 */
   4329     { RECOMP_REGS_OUT(); return; } /* end of function */
   4330   _ljump:
   4331     switch (_itail_tgt) {
   4332       case 0x251380C4u: goto L_251380C4;
   4333       case 0x25148148u: goto L_25148148;
   4334       case 0x2514814Du: goto L_2514814D;
   4335       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4336     }
   4337     RECOMP_REGS_OUT();
   4338 }
   4339 
   4340 void sub_25148160(void) {
   4341     int _fpu_cmp = 0;
   4342     uint32_t _cf = 0;
   4343     int _df = 1;
   4344     uint32_t _flag_k = FK_NONE;
   4345     uint32_t _flag_a = 0, _flag_b = 0;
   4346     uint32_t _itail_tgt = 0;
   4347     RECOMP_REGS_LOCALS
   4348     RECOMP_ENTER(0x25148160u);
   4349 
   4350 L_25148160:
   4351     ecx = ebp + (-0x6C); /* 0x25148160: lea ecx, [ebp - 0x6c] */
   4352     goto L_25009BC0; /* 0x25148163: jmp 0x25009bc0 */
   4353     { RECOMP_REGS_OUT(); return; } /* end of function */
   4354     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   4355     RECOMP_REGS_OUT();
   4356 }
   4357 
   4358 void sub_25148168(void) {
   4359     int _fpu_cmp = 0;
   4360     uint32_t _cf = 0;
   4361     int _df = 1;
   4362     uint32_t _flag_k = FK_NONE;
   4363     uint32_t _flag_a = 0, _flag_b = 0;
   4364     uint32_t _itail_tgt = 0;
   4365     RECOMP_REGS_LOCALS
   4366     RECOMP_ENTER(0x25148168u);
   4367 
   4368 L_25148168:
   4369     ecx = ebp + (-0x60); /* 0x25148168: lea ecx, [ebp - 0x60] */
   4370     goto L_25009BC0; /* 0x2514816B: jmp 0x25009bc0 */
   4371     { RECOMP_REGS_OUT(); return; } /* end of function */
   4372     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   4373     RECOMP_REGS_OUT();
   4374 }