aorecomp

Anarchy Online classic in the browser

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


client/game/bbr.dll/lifted-0084.c (316571B)


      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_25144DFA(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(0x25144DFAu);
     17 
     18 L_25144DFA:
     19     RECOMP_ICALL(0x2513F338u); /* 0x25144DFA: call 0x2513f338 */ /* not lifted */
     20     RECOMP_FLAGS_IN();
     21     eax = 0x80004005u; /* 0x25144DFF: mov eax, 0x80004005 */
     22     goto L_25144E08; /* 0x25144E04: jmp 0x25144e08 */
     23 L_25144E08:
     24     edi = POP32_VAL(esp); /* 0x25144E08: pop edi */
     25     esi = POP32_VAL(esp); /* 0x25144E09: pop esi */
     26     ebx = POP32_VAL(esp); /* 0x25144E0A: pop ebx */
     27     esp = ebp; ebp = POP32_VAL(esp); /* 0x25144E0B: leave  */
     28     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25144E0C: ret 0x10 */
     29     RECOMP_REGS_OUT();
     30 }
     31 
     32 void sub_25144E08(void) {
     33     int _fpu_cmp = 0;
     34     uint32_t _cf = 0;
     35     int _df = 1;
     36     uint32_t _flag_k = FK_NONE;
     37     uint32_t _flag_a = 0, _flag_b = 0;
     38     uint32_t _itail_tgt = 0;
     39     RECOMP_REGS_LOCALS
     40     RECOMP_ENTER(0x25144E08u);
     41 
     42 L_25144E08:
     43     edi = POP32_VAL(esp); /* 0x25144E08: pop edi */
     44     esi = POP32_VAL(esp); /* 0x25144E09: pop esi */
     45     ebx = POP32_VAL(esp); /* 0x25144E0A: pop ebx */
     46     esp = ebp; ebp = POP32_VAL(esp); /* 0x25144E0B: leave  */
     47     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25144E0C: ret 0x10 */
     48     RECOMP_REGS_OUT();
     49 }
     50 
     51 void sub_25144E0F(void) {
     52     int _fpu_cmp = 0;
     53     uint32_t _cf = 0;
     54     int _df = 1;
     55     uint32_t _flag_k = FK_NONE;
     56     uint32_t _flag_a = 0, _flag_b = 0;
     57     uint32_t _itail_tgt = 0;
     58     RECOMP_REGS_LOCALS
     59     RECOMP_ENTER(0x25144E0Fu);
     60 
     61 L_25144E0F:
     62     PUSH32(esp, ebp); /* 0x25144E0F: push ebp */
     63     ebp = esp; /* 0x25144E10: mov ebp, esp */
     64     PUSH32(esp, ecx); /* 0x25144E12: push ecx */
     65     PUSH32(esp, ebx); /* 0x25144E13: push ebx */
     66     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     67     ebx = 0; /* 0x25144E14: xor ebx, ebx */
     68     _cf = 0;
     69     _flag_k = FK_TEST;
     70     /* cmp MEM32(ebp + 0x10), ebx */ /* 0x25144E16: cmp dword ptr [ebp + 0x10], ebx */
     71     _flag_a = (uint32_t)(MEM32(ebp + 0x10)); _flag_b = (uint32_t)(ebx);
     72     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     73     _flag_k = FK_CMP;
     74     PUSH32(esp, esi); /* 0x25144E19: push esi */
     75     PUSH32(esp, edi); /* 0x25144E1A: push edi */
     76     edi = ecx; /* 0x25144E1B: mov edi, ecx */
     77     MEM32(ebp + (-0x4)) = ebx; /* 0x25144E1D: mov dword ptr [ebp - 4], ebx */
     78     if (CMP_EQ(_flag_a, _flag_b)) goto L_25144E31; /* 0x25144E20: je 0x25144e31 */
     79 L_25144E22:
     80     PUSH32(esp, MEM32(ebp + 0x10)); /* 0x25144E22: push dword ptr [ebp + 0x10] */
     81     RECOMP_ICALL(0x25144F8Bu); /* 0x25144E25: call 0x25144f8b */ /* not lifted */
     82     RECOMP_FLAGS_IN();
     83     /* cmp eax, ebx */ /* 0x25144E2A: cmp eax, ebx */
     84     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
     85     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     86     _flag_k = FK_CMP;
     87     MEM32(ebp + (-0x4)) = eax; /* 0x25144E2C: mov dword ptr [ebp - 4], eax */
     88     if (CMP_EQ(_flag_a, _flag_b)) goto L_25144E70; /* 0x25144E2F: je 0x25144e70 */
     89 L_25144E31:
     90     esi = 0x17Cu; /* 0x25144E31: mov esi, 0x17c */
     91     eax = ebp + 0x10; /* 0x25144E36: lea eax, [ebp + 0x10] */
     92     PUSH32(esp, esi); /* 0x25144E39: push esi */
     93     PUSH32(esp, MEM32(ebp + 0xC)); /* 0x25144E3A: push dword ptr [ebp + 0xc] */
     94     PUSH32(esp, eax); /* 0x25144E3D: push eax */
     95     PUSH32(esp, 0xFFFFFFFFu); /* 0x25144E3E: push -1 */
     96     PUSH32(esp, ebx); /* 0x25144E40: push ebx */
     97     RECOMP_ICALL(0x2513F68Bu); /* 0x25144E41: call 0x2513f68b */ /* not lifted */
     98     RECOMP_FLAGS_IN();
     99     eax = MEM32(ebp + 0x10); /* 0x25144E46: mov eax, dword ptr [ebp + 0x10] */
    100     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    101     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    102     esp = esp + 0x14u; /* 0x25144E49: add esp, 0x14 */
    103     _flag_k = FK_ADD;
    104     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    105     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    106     eax = eax + 4; /* 0x25144E4C: add eax, 4 */
    107     _flag_k = FK_ADD;
    108     ecx = edi; /* 0x25144E4F: mov ecx, edi */
    109     PUSH32(esp, eax); /* 0x25144E51: push eax */
    110     PUSH32(esp, MEM32(ebp + 0x8)); /* 0x25144E52: push dword ptr [ebp + 8] */
    111     RECOMP_ICALL(0x2513F362u); /* 0x25144E55: call 0x2513f362 */ /* not lifted */
    112     RECOMP_FLAGS_IN();
    113     ebx = eax; /* 0x25144E5A: mov ebx, eax */
    114     /* test ebx, ebx */ /* 0x25144E5C: test ebx, ebx */
    115     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
    116     _cf = 0;
    117     _flag_k = FK_TEST;
    118     if (TEST_Z(_flag_a, _flag_b)) goto L_25144E70; /* 0x25144E5E: je 0x25144e70 */
    119 L_25144E60:
    120     PUSH32(esp, 0); /* 0x25144E60: push 0 */
    121     PUSH32(esp, ebx); /* 0x25144E62: push ebx */
    122     ecx = edi; /* 0x25144E63: mov ecx, edi */
    123     RECOMP_ICALL(0x2513F49Bu); /* 0x25144E65: call 0x2513f49b */ /* not lifted */
    124     RECOMP_FLAGS_IN();
    125     edi = eax; /* 0x25144E6A: mov edi, eax */
    126     /* test edi, edi */ /* 0x25144E6C: test edi, edi */
    127     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    128     _cf = 0;
    129     _flag_k = FK_TEST;
    130     if (TEST_NZ(_flag_a, _flag_b)) goto L_25144E74; /* 0x25144E6E: jne 0x25144e74 */
    131 L_25144E70:
    132     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    133     eax = 0; /* 0x25144E70: xor eax, eax */
    134     _cf = 0;
    135     _flag_k = FK_TEST;
    136     goto L_25144E90; /* 0x25144E72: jmp 0x25144e90 */
    137 L_25144E74:
    138     PUSH32(esp, esi); /* 0x25144E74: push esi */
    139     PUSH32(esp, MEM32(ebp + 0xC)); /* 0x25144E75: push dword ptr [ebp + 0xc] */
    140     PUSH32(esp, 0); /* 0x25144E78: push 0 */
    141     PUSH32(esp, 0xFFFFFFFFu); /* 0x25144E7A: push -1 */
    142     PUSH32(esp, edi); /* 0x25144E7C: push edi */
    143     RECOMP_ICALL(0x2513F68Bu); /* 0x25144E7D: call 0x2513f68b */ /* not lifted */
    144     RECOMP_FLAGS_IN();
    145     eax = MEM32(ebp + 0x10); /* 0x25144E82: mov eax, dword ptr [ebp + 0x10] */
    146     ecx = MEM32(ebp + (-0x4)); /* 0x25144E85: mov ecx, dword ptr [ebp - 4] */
    147     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    148     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    149     esp = esp + 0x14u; /* 0x25144E88: add esp, 0x14 */
    150     _flag_k = FK_ADD;
    151     MEM32(edi + eax) = ecx; /* 0x25144E8B: mov dword ptr [edi + eax], ecx */
    152     eax = ebx; /* 0x25144E8E: mov eax, ebx */
    153 L_25144E90:
    154     edi = POP32_VAL(esp); /* 0x25144E90: pop edi */
    155     esi = POP32_VAL(esp); /* 0x25144E91: pop esi */
    156     ebx = POP32_VAL(esp); /* 0x25144E92: pop ebx */
    157     esp = ebp; ebp = POP32_VAL(esp); /* 0x25144E93: leave  */
    158     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25144E94: ret 0xc */
    159     RECOMP_REGS_OUT();
    160 }
    161 
    162 void sub_25144E97(void) {
    163     int _fpu_cmp = 0;
    164     uint32_t _cf = 0;
    165     int _df = 1;
    166     uint32_t _flag_k = FK_NONE;
    167     uint32_t _flag_a = 0, _flag_b = 0;
    168     uint32_t _itail_tgt = 0;
    169     RECOMP_REGS_LOCALS
    170     RECOMP_ENTER(0x25144E97u);
    171 
    172 L_25144E97:
    173     PUSH32(esp, ebp); /* 0x25144E97: push ebp */
    174     ebp = esp; /* 0x25144E98: mov ebp, esp */
    175     PUSH32(esp, ecx); /* 0x25144E9A: push ecx */
    176     PUSH32(esp, ebx); /* 0x25144E9B: push ebx */
    177     PUSH32(esp, esi); /* 0x25144E9C: push esi */
    178     PUSH32(esp, edi); /* 0x25144E9D: push edi */
    179     edi = MEM32(ebp + 0x14); /* 0x25144E9E: mov edi, dword ptr [ebp + 0x14] */
    180     MEM32(ebp + (-0x4)) = ecx; /* 0x25144EA1: mov dword ptr [ebp - 4], ecx */
    181     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    182     ecx = 0; /* 0x25144EA4: xor ecx, ecx */
    183     _cf = 0;
    184     _flag_k = FK_TEST;
    185     /* test edi, edi */ /* 0x25144EA6: test edi, edi */
    186     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    187     _cf = 0;
    188     _flag_k = FK_TEST;
    189     if (TEST_Z(_flag_a, _flag_b)) goto L_25144EB6; /* 0x25144EA8: je 0x25144eb6 */
    190 L_25144EAA:
    191     eax = MEM32(edi + 0xC); /* 0x25144EAA: mov eax, dword ptr [edi + 0xc] */
    192 L_25144EAD:
    193     /* test eax, eax */ /* 0x25144EAD: test eax, eax */
    194     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    195     _cf = 0;
    196     _flag_k = FK_TEST;
    197     if (TEST_Z(_flag_a, _flag_b)) goto L_25144EB6; /* 0x25144EAF: je 0x25144eb6 */
    198 L_25144EB1:
    199     eax = MEM32(eax); /* 0x25144EB1: mov eax, dword ptr [eax] */
    200     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    201     ecx = ecx + 1; /* 0x25144EB3: inc ecx */
    202     _flag_k = FK_INC;
    203     RECOMP_BACKEDGE();
    204     goto L_25144EAD; /* 0x25144EB4: jmp 0x25144ead */
    205 L_25144EB6:
    206     esi = ecx * 4 + 0x4; /* 0x25144EB6: lea esi, [ecx*4 + 4] */
    207     eax = esi; /* 0x25144EBD: mov eax, esi */
    208     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3);
    209     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    210     eax = eax + 3; /* 0x25144EBF: add eax, 3 */
    211     _flag_k = FK_ADD;
    212     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFCu) << 24;
    213     SET_LO8(eax, LO8(eax) & 0xFCu); /* 0x25144EC2: and al, 0xfc */
    214     _cf = 0;
    215     _flag_k = FK_NARROW(FK_TEST, 24);
    216     RECOMP_ICALL(0x25138170u); /* 0x25144EC4: call 0x25138170 */ /* not lifted */
    217     RECOMP_FLAGS_IN();
    218     /* cmp MEM32(ebp + 0x10), 0 */ /* 0x25144EC9: cmp dword ptr [ebp + 0x10], 0 */
    219     _flag_a = (uint32_t)(MEM32(ebp + 0x10)); _flag_b = (uint32_t)(0);
    220     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    221     _flag_k = FK_CMP;
    222     ebx = esp; /* 0x25144ECD: mov ebx, esp */
    223     MEM32(ebp + 0x14) = ebx; /* 0x25144ECF: mov dword ptr [ebp + 0x14], ebx */
    224     if (CMP_EQ(_flag_a, _flag_b)) goto L_25144EE7; /* 0x25144ED2: je 0x25144ee7 */
    225 L_25144ED4:
    226     PUSH32(esp, MEM32(ebp + 0x10)); /* 0x25144ED4: push dword ptr [ebp + 0x10] */
    227     ecx = MEM32(ebp + (-0x4)); /* 0x25144ED7: mov ecx, dword ptr [ebp - 4] */
    228     RECOMP_ICALL(0x25144F8Bu); /* 0x25144EDA: call 0x25144f8b */ /* not lifted */
    229     RECOMP_FLAGS_IN();
    230     /* test eax, eax */ /* 0x25144EDF: test eax, eax */
    231     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    232     _cf = 0;
    233     _flag_k = FK_TEST;
    234     MEM32(ebx) = eax; /* 0x25144EE1: mov dword ptr [ebx], eax */
    235     if (TEST_NZ(_flag_a, _flag_b)) goto L_25144EEA; /* 0x25144EE3: jne 0x25144eea */
    236 L_25144EE5:
    237     goto L_25144F50; /* 0x25144EE5: jmp 0x25144f50 */
    238 L_25144EE7:
    239     _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(0);
    240     MEM32(ebx) = MEM32(ebx) & 0; /* 0x25144EE7: and dword ptr [ebx], 0 */
    241     _cf = 0;
    242     _flag_k = FK_TEST;
    243 L_25144EEA:
    244     /* test edi, edi */ /* 0x25144EEA: test edi, edi */
    245     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    246     _cf = 0;
    247     _flag_k = FK_TEST;
    248     if (TEST_Z(_flag_a, _flag_b)) goto L_25144F0E; /* 0x25144EEC: je 0x25144f0e */
    249 L_25144EEE:
    250     edi = MEM32(edi + 0xC); /* 0x25144EEE: mov edi, dword ptr [edi + 0xc] */
    251     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4);
    252     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    253     ebx = ebx + 4; /* 0x25144EF1: add ebx, 4 */
    254     _flag_k = FK_ADD;
    255 L_25144EF4:
    256     /* test edi, edi */ /* 0x25144EF4: test edi, edi */
    257     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    258     _cf = 0;
    259     _flag_k = FK_TEST;
    260     if (TEST_Z(_flag_a, _flag_b)) goto L_25144F0E; /* 0x25144EF6: je 0x25144f0e */
    261 L_25144EF8:
    262     ecx = MEM32(ebp + (-0x4)); /* 0x25144EF8: mov ecx, dword ptr [ebp - 4] */
    263     PUSH32(esp, edi); /* 0x25144EFB: push edi */
    264     RECOMP_ICALL(0x2514507Du); /* 0x25144EFC: call 0x2514507d */ /* not lifted */
    265     RECOMP_FLAGS_IN();
    266     MEM32(ebx) = eax; /* 0x25144F01: mov dword ptr [ebx], eax */
    267     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4);
    268     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    269     ebx = ebx + 4; /* 0x25144F03: add ebx, 4 */
    270     _flag_k = FK_ADD;
    271     /* test eax, eax */ /* 0x25144F06: test eax, eax */
    272     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    273     _cf = 0;
    274     _flag_k = FK_TEST;
    275     if (TEST_Z(_flag_a, _flag_b)) goto L_25144F50; /* 0x25144F08: je 0x25144f50 */
    276 L_25144F0A:
    277     edi = MEM32(edi); /* 0x25144F0A: mov edi, dword ptr [edi] */
    278     RECOMP_BACKEDGE();
    279     goto L_25144EF4; /* 0x25144F0C: jmp 0x25144ef4 */
    280 L_25144F0E:
    281     edi = 0xECu; /* 0x25144F0E: mov edi, 0xec */
    282     eax = ebp + 0x10; /* 0x25144F13: lea eax, [ebp + 0x10] */
    283     PUSH32(esp, edi); /* 0x25144F16: push edi */
    284     PUSH32(esp, MEM32(ebp + 0xC)); /* 0x25144F17: push dword ptr [ebp + 0xc] */
    285     PUSH32(esp, eax); /* 0x25144F1A: push eax */
    286     PUSH32(esp, 0xFFFFFFFFu); /* 0x25144F1B: push -1 */
    287     PUSH32(esp, 0); /* 0x25144F1D: push 0 */
    288     RECOMP_ICALL(0x2513F68Bu); /* 0x25144F1F: call 0x2513f68b */ /* not lifted */
    289     RECOMP_FLAGS_IN();
    290     eax = MEM32(ebp + 0x10); /* 0x25144F24: mov eax, dword ptr [ebp + 0x10] */
    291     ecx = MEM32(ebp + (-0x4)); /* 0x25144F27: mov ecx, dword ptr [ebp - 4] */
    292     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    293     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    294     esp = esp + 0x14u; /* 0x25144F2A: add esp, 0x14 */
    295     _flag_k = FK_ADD;
    296     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
    297     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    298     eax = eax + esi; /* 0x25144F2D: add eax, esi */
    299     _flag_k = FK_ADD;
    300     PUSH32(esp, eax); /* 0x25144F2F: push eax */
    301     PUSH32(esp, MEM32(ebp + 0x8)); /* 0x25144F30: push dword ptr [ebp + 8] */
    302     RECOMP_ICALL(0x2513F362u); /* 0x25144F33: call 0x2513f362 */ /* not lifted */
    303     RECOMP_FLAGS_IN();
    304     /* test eax, eax */ /* 0x25144F38: test eax, eax */
    305     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    306     _cf = 0;
    307     _flag_k = FK_TEST;
    308     MEM32(ebp + 0x8) = eax; /* 0x25144F3A: mov dword ptr [ebp + 8], eax */
    309     if (TEST_Z(_flag_a, _flag_b)) goto L_25144F50; /* 0x25144F3D: je 0x25144f50 */
    310 L_25144F3F:
    311     ecx = MEM32(ebp + (-0x4)); /* 0x25144F3F: mov ecx, dword ptr [ebp - 4] */
    312     PUSH32(esp, 0); /* 0x25144F42: push 0 */
    313     PUSH32(esp, eax); /* 0x25144F44: push eax */
    314     RECOMP_ICALL(0x2513F49Bu); /* 0x25144F45: call 0x2513f49b */ /* not lifted */
    315     RECOMP_FLAGS_IN();
    316     ebx = eax; /* 0x25144F4A: mov ebx, eax */
    317     /* test ebx, ebx */ /* 0x25144F4C: test ebx, ebx */
    318     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
    319     _cf = 0;
    320     _flag_k = FK_TEST;
    321     if (TEST_NZ(_flag_a, _flag_b)) goto L_25144F54; /* 0x25144F4E: jne 0x25144f54 */
    322 L_25144F50:
    323     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    324     eax = 0; /* 0x25144F50: xor eax, eax */
    325     _cf = 0;
    326     _flag_k = FK_TEST;
    327     goto L_25144F81; /* 0x25144F52: jmp 0x25144f81 */
    328 L_25144F54:
    329     PUSH32(esp, edi); /* 0x25144F54: push edi */
    330     PUSH32(esp, MEM32(ebp + 0xC)); /* 0x25144F55: push dword ptr [ebp + 0xc] */
    331     PUSH32(esp, 0); /* 0x25144F58: push 0 */
    332     PUSH32(esp, 0xFFFFFFFFu); /* 0x25144F5A: push -1 */
    333     PUSH32(esp, ebx); /* 0x25144F5C: push ebx */
    334     RECOMP_ICALL(0x2513F68Bu); /* 0x25144F5D: call 0x2513f68b */ /* not lifted */
    335     RECOMP_FLAGS_IN();
    336     eax = MEM32(ebp + 0x10); /* 0x25144F62: mov eax, dword ptr [ebp + 0x10] */
    337     ecx = esi; /* 0x25144F65: mov ecx, esi */
    338     esi = MEM32(ebp + 0x14); /* 0x25144F67: mov esi, dword ptr [ebp + 0x14] */
    339     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    340     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    341     esp = esp + 0x14u; /* 0x25144F6A: add esp, 0x14 */
    342     _flag_k = FK_ADD;
    343     edi = ebx + eax; /* 0x25144F6D: lea edi, [ebx + eax] */
    344     eax = ecx; /* 0x25144F70: mov eax, ecx */
    345     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25144F72: shr ecx, 2 */
    346     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    347     ecx = ecx >> 2u; /* 0x25144F72: shr ecx, 2 */
    348     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25144F75: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    349     ecx = eax; /* 0x25144F77: mov ecx, eax */
    350     eax = MEM32(ebp + 0x8); /* 0x25144F79: mov eax, dword ptr [ebp + 8] */
    351     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    352     ecx = ecx & 3; /* 0x25144F7C: and ecx, 3 */
    353     _cf = 0;
    354     _flag_k = FK_TEST;
    355     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x25144F7F: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    356 L_25144F81:
    357     esp = ebp + (-0x10); /* 0x25144F81: lea esp, [ebp - 0x10] */
    358     edi = POP32_VAL(esp); /* 0x25144F84: pop edi */
    359     esi = POP32_VAL(esp); /* 0x25144F85: pop esi */
    360     ebx = POP32_VAL(esp); /* 0x25144F86: pop ebx */
    361     esp = ebp; ebp = POP32_VAL(esp); /* 0x25144F87: leave  */
    362     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25144F88: ret 0x10 */
    363     RECOMP_REGS_OUT();
    364 }
    365 
    366 void sub_25144F8B(void) {
    367     int _fpu_cmp = 0;
    368     uint32_t _cf = 0;
    369     int _df = 1;
    370     uint32_t _flag_k = FK_NONE;
    371     uint32_t _flag_a = 0, _flag_b = 0;
    372     uint32_t _itail_tgt = 0;
    373     RECOMP_REGS_LOCALS
    374     RECOMP_ENTER(0x25144F8Bu);
    375 
    376 L_25144F8B:
    377     PUSH32(esp, ebp); /* 0x25144F8B: push ebp */
    378     ebp = esp; /* 0x25144F8C: mov ebp, esp */
    379     PUSH32(esp, ecx); /* 0x25144F8E: push ecx */
    380     PUSH32(esp, ecx); /* 0x25144F8F: push ecx */
    381     /* cmp MEM32(ebp + 0x8), 0 */ /* 0x25144F90: cmp dword ptr [ebp + 8], 0 */
    382     _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(0);
    383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    384     _flag_k = FK_CMP;
    385     PUSH32(esp, ebx); /* 0x25144F94: push ebx */
    386     PUSH32(esp, esi); /* 0x25144F95: push esi */
    387     PUSH32(esp, edi); /* 0x25144F96: push edi */
    388     esi = ecx; /* 0x25144F97: mov esi, ecx */
    389     if (CMP_EQ(_flag_a, _flag_b)) goto L_2514505A; /* 0x25144F99: je 0x2514505a */
    390 L_25144F9F:
    391     RECOMP_ICALL(0x25144B5Du); /* 0x25144F9F: call 0x25144b5d */ /* not lifted */
    392     RECOMP_FLAGS_IN();
    393     ebx = eax; /* 0x25144FA4: mov ebx, eax */
    394     /* test ebx, ebx */ /* 0x25144FA6: test ebx, ebx */
    395     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
    396     _cf = 0;
    397     _flag_k = FK_TEST;
    398     if (TEST_Z(_flag_a, _flag_b)) goto L_2514505A; /* 0x25144FA8: je 0x2514505a */
    399 L_25144FAE:
    400     edi = 0x53525453u; /* 0x25144FAE: mov edi, 0x53525453 */
    401     ecx = esi; /* 0x25144FB3: mov ecx, esi */
    402     PUSH32(esp, edi); /* 0x25144FB5: push edi */
    403     PUSH32(esp, ebx); /* 0x25144FB6: push ebx */
    404     RECOMP_ICALL(0x2513F5FBu); /* 0x25144FB7: call 0x2513f5fb */ /* not lifted */
    405     RECOMP_FLAGS_IN();
    406     /* test eax, eax */ /* 0x25144FBC: test eax, eax */
    407     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    408     _cf = 0;
    409     _flag_k = FK_TEST;
    410     MEM32(ebp + (-0x4)) = eax; /* 0x25144FBE: mov dword ptr [ebp - 4], eax */
    411     if (TEST_NZ(_flag_a, _flag_b)) goto L_25144FF3; /* 0x25144FC1: jne 0x25144ff3 */
    412 L_25144FC3:
    413     PUSH32(esp, eax); /* 0x25144FC3: push eax */
    414     PUSH32(esp, edi); /* 0x25144FC4: push edi */
    415     ecx = esi; /* 0x25144FC5: mov ecx, esi */
    416     RECOMP_ICALL(0x2513F362u); /* 0x25144FC7: call 0x2513f362 */ /* not lifted */
    417     RECOMP_FLAGS_IN();
    418     edi = eax; /* 0x25144FCC: mov edi, eax */
    419     /* test edi, edi */ /* 0x25144FCE: test edi, edi */
    420     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    421     _cf = 0;
    422     _flag_k = FK_TEST;
    423     MEM32(ebp + (-0x4)) = edi; /* 0x25144FD0: mov dword ptr [ebp - 4], edi */
    424     if (TEST_Z(_flag_a, _flag_b)) goto L_2514505A; /* 0x25144FD3: je 0x2514505a */
    425 L_25144FD9:
    426     PUSH32(esp, ebx); /* 0x25144FD9: push ebx */
    427     ecx = esi; /* 0x25144FDA: mov ecx, esi */
    428     RECOMP_ICALL(0x2513F4FFu); /* 0x25144FDC: call 0x2513f4ff */ /* not lifted */
    429     RECOMP_FLAGS_IN();
    430     PUSH32(esp, eax); /* 0x25144FE1: push eax */
    431     PUSH32(esp, edi); /* 0x25144FE2: push edi */
    432     ecx = esi; /* 0x25144FE3: mov ecx, esi */
    433     RECOMP_ICALL(0x2513F5B2u); /* 0x25144FE5: call 0x2513f5b2 */ /* not lifted */
    434     RECOMP_FLAGS_IN();
    435     PUSH32(esp, edi); /* 0x25144FEA: push edi */
    436     PUSH32(esp, ebx); /* 0x25144FEB: push ebx */
    437     ecx = esi; /* 0x25144FEC: mov ecx, esi */
    438     RECOMP_ICALL(0x2513F534u); /* 0x25144FEE: call 0x2513f534 */ /* not lifted */
    439     RECOMP_FLAGS_IN();
    440 L_25144FF3:
    441     edi = MEM32(ebp + 0x8); /* 0x25144FF3: mov edi, dword ptr [ebp + 8] */
    442     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    443     ecx = ecx | 0xFFFFFFFFu; /* 0x25144FF6: or ecx, 0xffffffff */
    444     _cf = 0;
    445     _flag_k = FK_TEST;
    446     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    447     eax = 0; /* 0x25144FF9: xor eax, eax */
    448     _cf = 0;
    449     _flag_k = FK_TEST;
    450     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x25144FFB: repne scasb al, byte ptr es:[edi] */
    451     ecx = ~ecx; /* 0x25144FFD: not ecx */
    452     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    453     ecx = ecx - 1; /* 0x25144FFF: dec ecx */
    454     _flag_k = FK_DEC;
    455     edi = 0x00525453u; /* 0x25145000: mov edi, 0x525453 */
    456     PUSH32(esp, ecx); /* 0x25145005: push ecx */
    457     MEM32(ebp + (-0x8)) = ecx; /* 0x25145006: mov dword ptr [ebp - 8], ecx */
    458     PUSH32(esp, MEM32(ebp + 0x8)); /* 0x25145009: push dword ptr [ebp + 8] */
    459     ecx = esi; /* 0x2514500C: mov ecx, esi */
    460     PUSH32(esp, edi); /* 0x2514500E: push edi */
    461     PUSH32(esp, MEM32(ebp + (-0x4))); /* 0x2514500F: push dword ptr [ebp - 4] */
    462     RECOMP_ICALL(0x2513F62Du); /* 0x25145012: call 0x2513f62d */ /* not lifted */
    463     RECOMP_FLAGS_IN();
    464     ebx = eax; /* 0x25145017: mov ebx, eax */
    465     /* test ebx, ebx */ /* 0x25145019: test ebx, ebx */
    466     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
    467     _cf = 0;
    468     _flag_k = FK_TEST;
    469     if (TEST_NZ(_flag_a, _flag_b)) goto L_25145074; /* 0x2514501B: jne 0x25145074 */
    470 L_2514501D:
    471     PUSH32(esp, MEM32(ebp + (-0x8))); /* 0x2514501D: push dword ptr [ebp - 8] */
    472     ecx = esi; /* 0x25145020: mov ecx, esi */
    473     PUSH32(esp, edi); /* 0x25145022: push edi */
    474     RECOMP_ICALL(0x2513F362u); /* 0x25145023: call 0x2513f362 */ /* not lifted */
    475     RECOMP_FLAGS_IN();
    476     ebx = eax; /* 0x25145028: mov ebx, eax */
    477     /* test ebx, ebx */ /* 0x2514502A: test ebx, ebx */
    478     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
    479     _cf = 0;
    480     _flag_k = FK_TEST;
    481     if (TEST_Z(_flag_a, _flag_b)) goto L_2514505A; /* 0x2514502C: je 0x2514505a */
    482 L_2514502E:
    483     PUSH32(esp, MEM32(ebp + (-0x4))); /* 0x2514502E: push dword ptr [ebp - 4] */
    484     ecx = esi; /* 0x25145031: mov ecx, esi */
    485     RECOMP_ICALL(0x2513F4FFu); /* 0x25145033: call 0x2513f4ff */ /* not lifted */
    486     RECOMP_FLAGS_IN();
    487     PUSH32(esp, eax); /* 0x25145038: push eax */
    488     PUSH32(esp, ebx); /* 0x25145039: push ebx */
    489     ecx = esi; /* 0x2514503A: mov ecx, esi */
    490     RECOMP_ICALL(0x2513F5B2u); /* 0x2514503C: call 0x2513f5b2 */ /* not lifted */
    491     RECOMP_FLAGS_IN();
    492     PUSH32(esp, ebx); /* 0x25145041: push ebx */
    493     ecx = esi; /* 0x25145042: mov ecx, esi */
    494     PUSH32(esp, MEM32(ebp + (-0x4))); /* 0x25145044: push dword ptr [ebp - 4] */
    495     RECOMP_ICALL(0x2513F534u); /* 0x25145047: call 0x2513f534 */ /* not lifted */
    496     RECOMP_FLAGS_IN();
    497     PUSH32(esp, 0); /* 0x2514504C: push 0 */
    498     PUSH32(esp, ebx); /* 0x2514504E: push ebx */
    499     ecx = esi; /* 0x2514504F: mov ecx, esi */
    500     RECOMP_ICALL(0x2513F49Bu); /* 0x25145051: call 0x2513f49b */ /* not lifted */
    501     RECOMP_FLAGS_IN();
    502     /* test eax, eax */ /* 0x25145056: test eax, eax */
    503     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    504     _cf = 0;
    505     _flag_k = FK_TEST;
    506     if (TEST_NZ(_flag_a, _flag_b)) goto L_2514505E; /* 0x25145058: jne 0x2514505e */
    507 L_2514505A:
    508     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    509     eax = 0; /* 0x2514505A: xor eax, eax */
    510     _cf = 0;
    511     _flag_k = FK_TEST;
    512     goto L_25145076; /* 0x2514505C: jmp 0x25145076 */
    513 L_2514505E:
    514     ecx = MEM32(ebp + (-0x8)); /* 0x2514505E: mov ecx, dword ptr [ebp - 8] */
    515     esi = MEM32(ebp + 0x8); /* 0x25145061: mov esi, dword ptr [ebp + 8] */
    516     edi = eax; /* 0x25145064: mov edi, eax */
    517     eax = ecx; /* 0x25145066: mov eax, ecx */
    518     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25145068: shr ecx, 2 */
    519     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    520     ecx = ecx >> 2u; /* 0x25145068: shr ecx, 2 */
    521     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2514506B: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    522     ecx = eax; /* 0x2514506D: mov ecx, eax */
    523     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    524     ecx = ecx & 3; /* 0x2514506F: and ecx, 3 */
    525     _cf = 0;
    526     _flag_k = FK_TEST;
    527     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x25145072: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    528 L_25145074:
    529     eax = ebx; /* 0x25145074: mov eax, ebx */
    530 L_25145076:
    531     edi = POP32_VAL(esp); /* 0x25145076: pop edi */
    532     esi = POP32_VAL(esp); /* 0x25145077: pop esi */
    533     ebx = POP32_VAL(esp); /* 0x25145078: pop ebx */
    534     esp = ebp; ebp = POP32_VAL(esp); /* 0x25145079: leave  */
    535     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2514507A: ret 4 */
    536     RECOMP_REGS_OUT();
    537 }
    538 
    539 void sub_2514507D(void) {
    540     int _fpu_cmp = 0;
    541     uint32_t _cf = 0;
    542     int _df = 1;
    543     uint32_t _flag_k = FK_NONE;
    544     uint32_t _flag_a = 0, _flag_b = 0;
    545     uint32_t _itail_tgt = 0;
    546     RECOMP_REGS_LOCALS
    547     RECOMP_ENTER(0x2514507Du);
    548 
    549 L_2514507D:
    550     PUSH32(esp, ebp); /* 0x2514507D: push ebp */
    551     ebp = esp; /* 0x2514507E: mov ebp, esp */
    552     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    553     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    554     esp = esp - 0xCu; /* 0x25145080: sub esp, 0xc */
    555     _flag_k = FK_CMP;
    556     PUSH32(esp, ebx); /* 0x25145083: push ebx */
    557     PUSH32(esp, esi); /* 0x25145084: push esi */
    558     PUSH32(esp, edi); /* 0x25145085: push edi */
    559     edi = MEM32(ebp + 0x8); /* 0x25145086: mov edi, dword ptr [ebp + 8] */
    560     ebx = ecx; /* 0x25145089: mov ebx, ecx */
    561     /* test edi, edi */ /* 0x2514508B: test edi, edi */
    562     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    563     _cf = 0;
    564     _flag_k = FK_TEST;
    565     MEM32(ebp + (-0x4)) = ebx; /* 0x2514508D: mov dword ptr [ebp - 4], ebx */
    566     if (TEST_Z(_flag_a, _flag_b)) goto L_25145174; /* 0x25145090: je 0x25145174 */
    567 L_25145096:
    568     RECOMP_ICALL(0x25144B5Du); /* 0x25145096: call 0x25144b5d */ /* not lifted */
    569     RECOMP_FLAGS_IN();
    570     /* test eax, eax */ /* 0x2514509B: test eax, eax */
    571     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    572     _cf = 0;
    573     _flag_k = FK_TEST;
    574     MEM32(ebp + (-0xC)) = eax; /* 0x2514509D: mov dword ptr [ebp - 0xc], eax */
    575     if (TEST_Z(_flag_a, _flag_b)) goto L_25145174; /* 0x251450A0: je 0x25145174 */
    576 L_251450A6:
    577     esi = 0x53544D46u; /* 0x251450A6: mov esi, 0x53544d46 */
    578     ecx = ebx; /* 0x251450AB: mov ecx, ebx */
    579     PUSH32(esp, esi); /* 0x251450AD: push esi */
    580     PUSH32(esp, eax); /* 0x251450AE: push eax */
    581     RECOMP_ICALL(0x2513F5FBu); /* 0x251450AF: call 0x2513f5fb */ /* not lifted */
    582     RECOMP_FLAGS_IN();
    583     /* test eax, eax */ /* 0x251450B4: test eax, eax */
    584     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    585     _cf = 0;
    586     _flag_k = FK_TEST;
    587     MEM32(ebp + (-0x8)) = eax; /* 0x251450B6: mov dword ptr [ebp - 8], eax */
    588     if (TEST_NZ(_flag_a, _flag_b)) goto L_251450EF; /* 0x251450B9: jne 0x251450ef */
    589 L_251450BB:
    590     PUSH32(esp, eax); /* 0x251450BB: push eax */
    591     PUSH32(esp, esi); /* 0x251450BC: push esi */
    592     ecx = ebx; /* 0x251450BD: mov ecx, ebx */
    593     RECOMP_ICALL(0x2513F362u); /* 0x251450BF: call 0x2513f362 */ /* not lifted */
    594     RECOMP_FLAGS_IN();
    595     esi = eax; /* 0x251450C4: mov esi, eax */
    596     /* test esi, esi */ /* 0x251450C6: test esi, esi */
    597     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
    598     _cf = 0;
    599     _flag_k = FK_TEST;
    600     MEM32(ebp + (-0x8)) = esi; /* 0x251450C8: mov dword ptr [ebp - 8], esi */
    601     if (TEST_Z(_flag_a, _flag_b)) goto L_25145174; /* 0x251450CB: je 0x25145174 */
    602 L_251450D1:
    603     PUSH32(esp, MEM32(ebp + (-0xC))); /* 0x251450D1: push dword ptr [ebp - 0xc] */
    604     ecx = ebx; /* 0x251450D4: mov ecx, ebx */
    605     RECOMP_ICALL(0x2513F4FFu); /* 0x251450D6: call 0x2513f4ff */ /* not lifted */
    606     RECOMP_FLAGS_IN();
    607     PUSH32(esp, eax); /* 0x251450DB: push eax */
    608     PUSH32(esp, esi); /* 0x251450DC: push esi */
    609     ecx = ebx; /* 0x251450DD: mov ecx, ebx */
    610     RECOMP_ICALL(0x2513F5B2u); /* 0x251450DF: call 0x2513f5b2 */ /* not lifted */
    611     RECOMP_FLAGS_IN();
    612     PUSH32(esp, esi); /* 0x251450E4: push esi */
    613     ecx = ebx; /* 0x251450E5: mov ecx, ebx */
    614     PUSH32(esp, MEM32(ebp + (-0xC))); /* 0x251450E7: push dword ptr [ebp - 0xc] */
    615     RECOMP_ICALL(0x2513F534u); /* 0x251450EA: call 0x2513f534 */ /* not lifted */
    616     RECOMP_FLAGS_IN();
    617 L_251450EF:
    618     ebx = edi + 0x8; /* 0x251450EF: lea ebx, [edi + 8] */
    619     PUSH32(esp, 0x20u); /* 0x251450F2: push 0x20 */
    620     eax = ebp + 0x8; /* 0x251450F4: lea eax, [ebp + 8] */
    621     PUSH32(esp, ebx); /* 0x251450F7: push ebx */
    622     PUSH32(esp, eax); /* 0x251450F8: push eax */
    623     PUSH32(esp, 0xFFFFFFFFu); /* 0x251450F9: push -1 */
    624     PUSH32(esp, 0); /* 0x251450FB: push 0 */
    625     RECOMP_ICALL(0x2513F68Bu); /* 0x251450FD: call 0x2513f68b */ /* not lifted */
    626     RECOMP_FLAGS_IN();
    627     _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(8);
    628     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    629     MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 8; /* 0x25145102: add dword ptr [ebp + 8], 8 */
    630     _flag_k = FK_ADD;
    631     eax = MEM32(ebp + 0x8); /* 0x25145106: mov eax, dword ptr [ebp + 8] */
    632     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3);
    633     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    634     eax = eax + 3; /* 0x25145109: add eax, 3 */
    635     _flag_k = FK_ADD;
    636     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    637     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    638     esp = esp + 0x14u; /* 0x2514510C: add esp, 0x14 */
    639     _flag_k = FK_ADD;
    640     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFCu) << 24;
    641     SET_LO8(eax, LO8(eax) & 0xFCu); /* 0x2514510F: and al, 0xfc */
    642     _cf = 0;
    643     _flag_k = FK_NARROW(FK_TEST, 24);
    644     RECOMP_ICALL(0x25138170u); /* 0x25145111: call 0x25138170 */ /* not lifted */
    645     RECOMP_FLAGS_IN();
    646     eax = MEM32(edi + 0x4); /* 0x25145116: mov eax, dword ptr [edi + 4] */
    647     esi = esp; /* 0x25145119: mov esi, esp */
    648     PUSH32(esp, 0x20u); /* 0x2514511B: push 0x20 */
    649     PUSH32(esp, ebx); /* 0x2514511D: push ebx */
    650     MEM32(esi) = eax; /* 0x2514511E: mov dword ptr [esi], eax */
    651     ecx = MEM32(edi + 0x28); /* 0x25145120: mov ecx, dword ptr [edi + 0x28] */
    652     eax = esi + 0x4; /* 0x25145123: lea eax, [esi + 4] */
    653     PUSH32(esp, 0); /* 0x25145126: push 0 */
    654     PUSH32(esp, 0xFFFFFFFFu); /* 0x25145128: push -1 */
    655     MEM32(eax) = ecx; /* 0x2514512A: mov dword ptr [eax], ecx */
    656     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    657     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    658     eax = eax + 4; /* 0x2514512C: add eax, 4 */
    659     _flag_k = FK_ADD;
    660     PUSH32(esp, eax); /* 0x2514512F: push eax */
    661     RECOMP_ICALL(0x2513F68Bu); /* 0x25145130: call 0x2513f68b */ /* not lifted */
    662     RECOMP_FLAGS_IN();
    663     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    664     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    665     esp = esp + 0x14u; /* 0x25145135: add esp, 0x14 */
    666     _flag_k = FK_ADD;
    667     ecx = MEM32(ebp + (-0x4)); /* 0x25145138: mov ecx, dword ptr [ebp - 4] */
    668     edi = 0x00544D46u; /* 0x2514513B: mov edi, 0x544d46 */
    669     PUSH32(esp, MEM32(ebp + 0x8)); /* 0x25145140: push dword ptr [ebp + 8] */
    670     PUSH32(esp, esi); /* 0x25145143: push esi */
    671     PUSH32(esp, edi); /* 0x25145144: push edi */
    672     PUSH32(esp, MEM32(ebp + (-0x8))); /* 0x25145145: push dword ptr [ebp - 8] */
    673     RECOMP_ICALL(0x2513F62Du); /* 0x25145148: call 0x2513f62d */ /* not lifted */
    674     RECOMP_FLAGS_IN();
    675     ebx = eax; /* 0x2514514D: mov ebx, eax */
    676     /* test ebx, ebx */ /* 0x2514514F: test ebx, ebx */
    677     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
    678     _cf = 0;
    679     _flag_k = FK_TEST;
    680     if (TEST_NZ(_flag_a, _flag_b)) goto L_251451AC; /* 0x25145151: jne 0x251451ac */
    681 L_25145153:
    682     PUSH32(esp, MEM32(ebp + 0x8)); /* 0x25145153: push dword ptr [ebp + 8] */
    683     ecx = MEM32(ebp + (-0x4)); /* 0x25145156: mov ecx, dword ptr [ebp - 4] */
    684     PUSH32(esp, edi); /* 0x25145159: push edi */
    685     RECOMP_ICALL(0x2513F362u); /* 0x2514515A: call 0x2513f362 */ /* not lifted */
    686     RECOMP_FLAGS_IN();
    687     ebx = eax; /* 0x2514515F: mov ebx, eax */
    688     /* test ebx, ebx */ /* 0x25145161: test ebx, ebx */
    689     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
    690     _cf = 0;
    691     _flag_k = FK_TEST;
    692     if (TEST_Z(_flag_a, _flag_b)) goto L_25145174; /* 0x25145163: je 0x25145174 */
    693 L_25145165:
    694     ecx = MEM32(ebp + (-0x4)); /* 0x25145165: mov ecx, dword ptr [ebp - 4] */
    695     PUSH32(esp, 0); /* 0x25145168: push 0 */
    696     PUSH32(esp, ebx); /* 0x2514516A: push ebx */
    697     RECOMP_ICALL(0x2513F49Bu); /* 0x2514516B: call 0x2513f49b */ /* not lifted */
    698     RECOMP_FLAGS_IN();
    699     /* test eax, eax */ /* 0x25145170: test eax, eax */
    700     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    701     _cf = 0;
    702     _flag_k = FK_TEST;
    703     if (TEST_NZ(_flag_a, _flag_b)) goto L_25145178; /* 0x25145172: jne 0x25145178 */
    704 L_25145174:
    705     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    706     eax = 0; /* 0x25145174: xor eax, eax */
    707     _cf = 0;
    708     _flag_k = FK_TEST;
    709     goto L_251451AE; /* 0x25145176: jmp 0x251451ae */
    710 L_25145178:
    711     ecx = MEM32(ebp + 0x8); /* 0x25145178: mov ecx, dword ptr [ebp + 8] */
    712     edi = eax; /* 0x2514517B: mov edi, eax */
    713     eax = ecx; /* 0x2514517D: mov eax, ecx */
    714     PUSH32(esp, MEM32(ebp + (-0x8))); /* 0x2514517F: push dword ptr [ebp - 8] */
    715     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x25145182: shr ecx, 2 */
    716     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    717     ecx = ecx >> 2u; /* 0x25145182: shr ecx, 2 */
    718     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25145185: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    719     ecx = eax; /* 0x25145187: mov ecx, eax */
    720     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    721     ecx = ecx & 3; /* 0x25145189: and ecx, 3 */
    722     _cf = 0;
    723     _flag_k = FK_TEST;
    724     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2514518C: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    725     ecx = MEM32(ebp + (-0x4)); /* 0x2514518E: mov ecx, dword ptr [ebp - 4] */
    726     RECOMP_ICALL(0x2513F4FFu); /* 0x25145191: call 0x2513f4ff */ /* not lifted */
    727     RECOMP_FLAGS_IN();
    728     ecx = MEM32(ebp + (-0x4)); /* 0x25145196: mov ecx, dword ptr [ebp - 4] */
    729     PUSH32(esp, eax); /* 0x25145199: push eax */
    730     PUSH32(esp, ebx); /* 0x2514519A: push ebx */
    731     RECOMP_ICALL(0x2513F5B2u); /* 0x2514519B: call 0x2513f5b2 */ /* not lifted */
    732     RECOMP_FLAGS_IN();
    733     ecx = MEM32(ebp + (-0x4)); /* 0x251451A0: mov ecx, dword ptr [ebp - 4] */
    734     PUSH32(esp, ebx); /* 0x251451A3: push ebx */
    735     PUSH32(esp, MEM32(ebp + (-0x8))); /* 0x251451A4: push dword ptr [ebp - 8] */
    736     RECOMP_ICALL(0x2513F534u); /* 0x251451A7: call 0x2513f534 */ /* not lifted */
    737     RECOMP_FLAGS_IN();
    738 L_251451AC:
    739     eax = ebx; /* 0x251451AC: mov eax, ebx */
    740 L_251451AE:
    741     esp = ebp + (-0x18); /* 0x251451AE: lea esp, [ebp - 0x18] */
    742     edi = POP32_VAL(esp); /* 0x251451B1: pop edi */
    743     esi = POP32_VAL(esp); /* 0x251451B2: pop esi */
    744     ebx = POP32_VAL(esp); /* 0x251451B3: pop ebx */
    745     esp = ebp; ebp = POP32_VAL(esp); /* 0x251451B4: leave  */
    746     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x251451B5: ret 4 */
    747     RECOMP_REGS_OUT();
    748 }
    749 
    750 void sub_251451B8(void) {
    751     int _fpu_cmp = 0;
    752     uint32_t _cf = 0;
    753     int _df = 1;
    754     uint32_t _flag_k = FK_NONE;
    755     uint32_t _flag_a = 0, _flag_b = 0;
    756     uint32_t _itail_tgt = 0;
    757     RECOMP_REGS_LOCALS
    758     RECOMP_ENTER(0x251451B8u);
    759 
    760 L_251451B8:
    761     { _itail_tgt = (uint32_t)(MEM32(0x25151228)); goto _ljump; }
    762     { RECOMP_REGS_OUT(); return; } /* end of function */
    763   _ljump:
    764     switch (_itail_tgt) {
    765       case 0x251451B8u: goto L_251451B8;
    766       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    767     }
    768     RECOMP_REGS_OUT();
    769 }
    770 
    771 void sub_251451BE(void) {
    772     int _fpu_cmp = 0;
    773     uint32_t _cf = 0;
    774     int _df = 1;
    775     uint32_t _flag_k = FK_NONE;
    776     uint32_t _flag_a = 0, _flag_b = 0;
    777     uint32_t _itail_tgt = 0;
    778     RECOMP_REGS_LOCALS
    779     RECOMP_ENTER(0x251451BEu);
    780 
    781 L_251451BE:
    782     { _itail_tgt = (uint32_t)(MEM32(0x2515122C)); goto _ljump; }
    783     { RECOMP_REGS_OUT(); return; } /* end of function */
    784   _ljump:
    785     switch (_itail_tgt) {
    786       case 0x251451BEu: goto L_251451BE;
    787       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    788     }
    789     RECOMP_REGS_OUT();
    790 }
    791 
    792 void sub_251451D0(void) {
    793     int _fpu_cmp = 0;
    794     uint32_t _cf = 0;
    795     int _df = 1;
    796     uint32_t _flag_k = FK_NONE;
    797     uint32_t _flag_a = 0, _flag_b = 0;
    798     uint32_t _itail_tgt = 0;
    799     RECOMP_REGS_LOCALS
    800     RECOMP_ENTER(0x251451D0u);
    801 
    802     goto L_251451D0;
    803 L_250CF120:
    804     PUSH32(esp, esi); /* 0x250CF120: push esi */
    805     esi = ecx; /* 0x250CF121: mov esi, ecx */
    806     eax = MEM32(esi + 0x118); /* 0x250CF123: mov eax, dword ptr [esi + 0x118] */
    807     PUSH32(esp, eax); /* 0x250CF129: push eax */
    808     MEM32(esi) = 0x251515E4u; /* 0x250CF12A: mov dword ptr [esi], 0x251515e4 */
    809     RECOMP_ICALL(0x25137EECu); /* 0x250CF130: call 0x25137eec */ /* not lifted */
    810     RECOMP_FLAGS_IN();
    811     ecx = MEM32(esi + 0x11C); /* 0x250CF135: mov ecx, dword ptr [esi + 0x11c] */
    812     PUSH32(esp, ecx); /* 0x250CF13B: push ecx */
    813     RECOMP_ICALL(0x25137EECu); /* 0x250CF13C: call 0x25137eec */ /* not lifted */
    814     RECOMP_FLAGS_IN();
    815     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    816     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    817     esp = esp + 8; /* 0x250CF141: add esp, 8 */
    818     _flag_k = FK_ADD;
    819     esi = POP32_VAL(esp); /* 0x250CF144: pop esi */
    820     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250CF145: ret  */
    821 L_251451D0:
    822     ecx = MEM32(ebp + (-0x10)); /* 0x251451D0: mov ecx, dword ptr [ebp - 0x10] */
    823     RECOMP_BACKEDGE();
    824     goto L_250CF120; /* 0x251451D3: jmp 0x250cf120 */
    825     { RECOMP_REGS_OUT(); return; } /* end of function */
    826     RECOMP_REGS_OUT();
    827 }
    828 
    829 void sub_251451D8(void) {
    830     int _fpu_cmp = 0;
    831     uint32_t _cf = 0;
    832     int _df = 1;
    833     uint32_t _flag_k = FK_NONE;
    834     uint32_t _flag_a = 0, _flag_b = 0;
    835     uint32_t _itail_tgt = 0;
    836     RECOMP_REGS_LOCALS
    837     RECOMP_ENTER(0x251451D8u);
    838 
    839     goto L_251451D8;
    840 L_251380C4:
    841     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    842 L_251451D8:
    843     eax = 0x251652C8u; /* 0x251451D8: mov eax, 0x251652c8 */
    844 L_251451DD:
    845     RECOMP_BACKEDGE();
    846     goto L_251380C4; /* 0x251451DD: jmp 0x251380c4 */
    847     { RECOMP_REGS_OUT(); return; } /* end of function */
    848   _ljump:
    849     switch (_itail_tgt) {
    850       case 0x251380C4u: goto L_251380C4;
    851       case 0x251451D8u: goto L_251451D8;
    852       case 0x251451DDu: goto L_251451DD;
    853       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    854     }
    855     RECOMP_REGS_OUT();
    856 }
    857 
    858 void sub_251451F0(void) {
    859     int _fpu_cmp = 0;
    860     uint32_t _cf = 0;
    861     int _df = 1;
    862     uint32_t _flag_k = FK_NONE;
    863     uint32_t _flag_a = 0, _flag_b = 0;
    864     uint32_t _itail_tgt = 0;
    865     RECOMP_REGS_LOCALS
    866     RECOMP_ENTER(0x251451F0u);
    867 
    868 L_251451F0:
    869     eax = MEM32(ebp + (-0x10)); /* 0x251451F0: mov eax, dword ptr [ebp - 0x10] */
    870     PUSH32(esp, eax); /* 0x251451F3: push eax */
    871     RECOMP_ICALL(0x25137EECu); /* 0x251451F4: call 0x25137eec */ /* not lifted */
    872     RECOMP_FLAGS_IN();
    873     ecx = POP32_VAL(esp); /* 0x251451F9: pop ecx */
    874     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251451FA: ret  */
    875     RECOMP_REGS_OUT();
    876 }
    877 
    878 void sub_251451FB(void) {
    879     int _fpu_cmp = 0;
    880     uint32_t _cf = 0;
    881     int _df = 1;
    882     uint32_t _flag_k = FK_NONE;
    883     uint32_t _flag_a = 0, _flag_b = 0;
    884     uint32_t _itail_tgt = 0;
    885     RECOMP_REGS_LOCALS
    886     RECOMP_ENTER(0x251451FBu);
    887 
    888     goto L_251451FB;
    889 L_251380C4:
    890     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    891 L_251451FB:
    892     eax = 0x251652F0u; /* 0x251451FB: mov eax, 0x251652f0 */
    893 L_25145200:
    894     RECOMP_BACKEDGE();
    895     goto L_251380C4; /* 0x25145200: jmp 0x251380c4 */
    896     { RECOMP_REGS_OUT(); return; } /* end of function */
    897   _ljump:
    898     switch (_itail_tgt) {
    899       case 0x251380C4u: goto L_251380C4;
    900       case 0x251451FBu: goto L_251451FB;
    901       case 0x25145200u: goto L_25145200;
    902       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    903     }
    904     RECOMP_REGS_OUT();
    905 }
    906 
    907 void sub_25145210(void) {
    908     int _fpu_cmp = 0;
    909     uint32_t _cf = 0;
    910     int _df = 1;
    911     uint32_t _flag_k = FK_NONE;
    912     uint32_t _flag_a = 0, _flag_b = 0;
    913     uint32_t _itail_tgt = 0;
    914     RECOMP_REGS_LOCALS
    915     RECOMP_ENTER(0x25145210u);
    916 
    917     goto L_25145210;
    918 L_250CF120:
    919     PUSH32(esp, esi); /* 0x250CF120: push esi */
    920     esi = ecx; /* 0x250CF121: mov esi, ecx */
    921     eax = MEM32(esi + 0x118); /* 0x250CF123: mov eax, dword ptr [esi + 0x118] */
    922     PUSH32(esp, eax); /* 0x250CF129: push eax */
    923     MEM32(esi) = 0x251515E4u; /* 0x250CF12A: mov dword ptr [esi], 0x251515e4 */
    924     RECOMP_ICALL(0x25137EECu); /* 0x250CF130: call 0x25137eec */ /* not lifted */
    925     RECOMP_FLAGS_IN();
    926     ecx = MEM32(esi + 0x11C); /* 0x250CF135: mov ecx, dword ptr [esi + 0x11c] */
    927     PUSH32(esp, ecx); /* 0x250CF13B: push ecx */
    928     RECOMP_ICALL(0x25137EECu); /* 0x250CF13C: call 0x25137eec */ /* not lifted */
    929     RECOMP_FLAGS_IN();
    930     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    931     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    932     esp = esp + 8; /* 0x250CF141: add esp, 8 */
    933     _flag_k = FK_ADD;
    934     esi = POP32_VAL(esp); /* 0x250CF144: pop esi */
    935     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250CF145: ret  */
    936 L_25145210:
    937     ecx = MEM32(ebp + (-0x10)); /* 0x25145210: mov ecx, dword ptr [ebp - 0x10] */
    938     RECOMP_BACKEDGE();
    939     goto L_250CF120; /* 0x25145213: jmp 0x250cf120 */
    940     { RECOMP_REGS_OUT(); return; } /* end of function */
    941     RECOMP_REGS_OUT();
    942 }
    943 
    944 void sub_25145218(void) {
    945     int _fpu_cmp = 0;
    946     uint32_t _cf = 0;
    947     int _df = 1;
    948     uint32_t _flag_k = FK_NONE;
    949     uint32_t _flag_a = 0, _flag_b = 0;
    950     uint32_t _itail_tgt = 0;
    951     RECOMP_REGS_LOCALS
    952     RECOMP_ENTER(0x25145218u);
    953 
    954     goto L_25145218;
    955 L_251380C4:
    956     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    957 L_25145218:
    958     eax = 0x25165318u; /* 0x25145218: mov eax, 0x25165318 */
    959 L_2514521D:
    960     RECOMP_BACKEDGE();
    961     goto L_251380C4; /* 0x2514521D: jmp 0x251380c4 */
    962     { RECOMP_REGS_OUT(); return; } /* end of function */
    963   _ljump:
    964     switch (_itail_tgt) {
    965       case 0x251380C4u: goto L_251380C4;
    966       case 0x25145218u: goto L_25145218;
    967       case 0x2514521Du: goto L_2514521D;
    968       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    969     }
    970     RECOMP_REGS_OUT();
    971 }
    972 
    973 void sub_25145230(void) {
    974     int _fpu_cmp = 0;
    975     uint32_t _cf = 0;
    976     int _df = 1;
    977     uint32_t _flag_k = FK_NONE;
    978     uint32_t _flag_a = 0, _flag_b = 0;
    979     uint32_t _itail_tgt = 0;
    980     RECOMP_REGS_LOCALS
    981     RECOMP_ENTER(0x25145230u);
    982 
    983 L_25145230:
    984     eax = MEM32(ebp + (-0x10)); /* 0x25145230: mov eax, dword ptr [ebp - 0x10] */
    985     PUSH32(esp, eax); /* 0x25145233: push eax */
    986     RECOMP_ICALL(0x25137EECu); /* 0x25145234: call 0x25137eec */ /* not lifted */
    987     RECOMP_FLAGS_IN();
    988     ecx = POP32_VAL(esp); /* 0x25145239: pop ecx */
    989     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514523A: ret  */
    990     RECOMP_REGS_OUT();
    991 }
    992 
    993 void sub_2514523B(void) {
    994     int _fpu_cmp = 0;
    995     uint32_t _cf = 0;
    996     int _df = 1;
    997     uint32_t _flag_k = FK_NONE;
    998     uint32_t _flag_a = 0, _flag_b = 0;
    999     uint32_t _itail_tgt = 0;
   1000     RECOMP_REGS_LOCALS
   1001     RECOMP_ENTER(0x2514523Bu);
   1002 
   1003     goto L_2514523B;
   1004 L_251380C4:
   1005     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1006 L_2514523B:
   1007     eax = 0x25165340u; /* 0x2514523B: mov eax, 0x25165340 */
   1008 L_25145240:
   1009     RECOMP_BACKEDGE();
   1010     goto L_251380C4; /* 0x25145240: jmp 0x251380c4 */
   1011     { RECOMP_REGS_OUT(); return; } /* end of function */
   1012   _ljump:
   1013     switch (_itail_tgt) {
   1014       case 0x251380C4u: goto L_251380C4;
   1015       case 0x2514523Bu: goto L_2514523B;
   1016       case 0x25145240u: goto L_25145240;
   1017       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1018     }
   1019     RECOMP_REGS_OUT();
   1020 }
   1021 
   1022 void sub_25145250(void) {
   1023     int _fpu_cmp = 0;
   1024     uint32_t _cf = 0;
   1025     int _df = 1;
   1026     uint32_t _flag_k = FK_NONE;
   1027     uint32_t _flag_a = 0, _flag_b = 0;
   1028     uint32_t _itail_tgt = 0;
   1029     RECOMP_REGS_LOCALS
   1030     RECOMP_ENTER(0x25145250u);
   1031 
   1032     goto L_25145250;
   1033 L_250A4DF0:
   1034     PUSH32(esp, esi); /* 0x250A4DF0: push esi */
   1035     esi = ecx; /* 0x250A4DF1: mov esi, ecx */
   1036     eax = MEM32(esi + 0x28); /* 0x250A4DF3: mov eax, dword ptr [esi + 0x28] */
   1037     /* test eax, eax */ /* 0x250A4DF6: test eax, eax */
   1038     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1039     _cf = 0;
   1040     _flag_k = FK_TEST;
   1041     MEM32(esi) = 0x2515162Cu; /* 0x250A4DF8: mov dword ptr [esi], 0x2515162c */
   1042     if (TEST_Z(_flag_a, _flag_b)) goto L_250A4E09; /* 0x250A4DFE: je 0x250a4e09 */
   1043 L_250A4E00:
   1044     PUSH32(esp, eax); /* 0x250A4E00: push eax */
   1045     RECOMP_ICALL(0x25137EECu); /* 0x250A4E01: call 0x25137eec */ /* not lifted */
   1046     RECOMP_FLAGS_IN();
   1047     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1048     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1049     esp = esp + 4; /* 0x250A4E06: add esp, 4 */
   1050     _flag_k = FK_ADD;
   1051 L_250A4E09:
   1052     PUSH32(esp, edi); /* 0x250A4E09: push edi */
   1053     RECOMP_ICALL(0x250A6140u); /* 0x250A4E0A: call 0x250a6140 */ /* not lifted */
   1054     RECOMP_FLAGS_IN();
   1055     edi = eax; /* 0x250A4E0F: mov edi, eax */
   1056     /* test edi, edi */ /* 0x250A4E11: test edi, edi */
   1057     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1058     _cf = 0;
   1059     _flag_k = FK_TEST;
   1060     if (TEST_Z(_flag_a, _flag_b)) goto L_250A4E25; /* 0x250A4E13: je 0x250a4e25 */
   1061 L_250A4E15:
   1062     ecx = edi; /* 0x250A4E15: mov ecx, edi */
   1063     RECOMP_ICALL(0x250A66E0u); /* 0x250A4E17: call 0x250a66e0 */ /* not lifted */
   1064     RECOMP_FLAGS_IN();
   1065     PUSH32(esp, edi); /* 0x250A4E1C: push edi */
   1066     RECOMP_ICALL(0x25137EECu); /* 0x250A4E1D: call 0x25137eec */ /* not lifted */
   1067     RECOMP_FLAGS_IN();
   1068     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1069     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1070     esp = esp + 4; /* 0x250A4E22: add esp, 4 */
   1071     _flag_k = FK_ADD;
   1072 L_250A4E25:
   1073     eax = MEM32(esi + 0x8); /* 0x250A4E25: mov eax, dword ptr [esi + 8] */
   1074     PUSH32(esp, eax); /* 0x250A4E28: push eax */
   1075     RECOMP_ICALL(0x25137EECu); /* 0x250A4E29: call 0x25137eec */ /* not lifted */
   1076     RECOMP_FLAGS_IN();
   1077     esi = MEM32(esi + 0x2C); /* 0x250A4E2E: mov esi, dword ptr [esi + 0x2c] */
   1078     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1079     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1080     esp = esp + 4; /* 0x250A4E31: add esp, 4 */
   1081     _flag_k = FK_ADD;
   1082     /* test esi, esi */ /* 0x250A4E34: test esi, esi */
   1083     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   1084     _cf = 0;
   1085     _flag_k = FK_TEST;
   1086     edi = POP32_VAL(esp); /* 0x250A4E36: pop edi */
   1087     if (TEST_Z(_flag_a, _flag_b)) goto L_250A4E42; /* 0x250A4E37: je 0x250a4e42 */
   1088 L_250A4E39:
   1089     PUSH32(esp, esi); /* 0x250A4E39: push esi */
   1090     RECOMP_ICALL(0x25137EECu); /* 0x250A4E3A: call 0x25137eec */ /* not lifted */
   1091     RECOMP_FLAGS_IN();
   1092     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1093     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1094     esp = esp + 4; /* 0x250A4E3F: add esp, 4 */
   1095     _flag_k = FK_ADD;
   1096 L_250A4E42:
   1097     MEM32(0x25238568) = 0; /* 0x250A4E42: mov dword ptr [0x25238568], 0 */
   1098     esi = POP32_VAL(esp); /* 0x250A4E4C: pop esi */
   1099     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250A4E4D: ret  */
   1100 L_25145250:
   1101     ecx = MEM32(ebp + (-0x10)); /* 0x25145250: mov ecx, dword ptr [ebp - 0x10] */
   1102     RECOMP_BACKEDGE();
   1103     goto L_250A4DF0; /* 0x25145253: jmp 0x250a4df0 */
   1104     { RECOMP_REGS_OUT(); return; } /* end of function */
   1105     RECOMP_REGS_OUT();
   1106 }
   1107 
   1108 void sub_25145258(void) {
   1109     int _fpu_cmp = 0;
   1110     uint32_t _cf = 0;
   1111     int _df = 1;
   1112     uint32_t _flag_k = FK_NONE;
   1113     uint32_t _flag_a = 0, _flag_b = 0;
   1114     uint32_t _itail_tgt = 0;
   1115     RECOMP_REGS_LOCALS
   1116     RECOMP_ENTER(0x25145258u);
   1117 
   1118     goto L_25145258;
   1119 L_251380C4:
   1120     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1121 L_25145258:
   1122     eax = 0x25165368u; /* 0x25145258: mov eax, 0x25165368 */
   1123 L_2514525D:
   1124     RECOMP_BACKEDGE();
   1125     goto L_251380C4; /* 0x2514525D: jmp 0x251380c4 */
   1126     { RECOMP_REGS_OUT(); return; } /* end of function */
   1127   _ljump:
   1128     switch (_itail_tgt) {
   1129       case 0x251380C4u: goto L_251380C4;
   1130       case 0x25145258u: goto L_25145258;
   1131       case 0x2514525Du: goto L_2514525D;
   1132       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1133     }
   1134     RECOMP_REGS_OUT();
   1135 }
   1136 
   1137 void sub_25145270(void) {
   1138     int _fpu_cmp = 0;
   1139     uint32_t _cf = 0;
   1140     int _df = 1;
   1141     uint32_t _flag_k = FK_NONE;
   1142     uint32_t _flag_a = 0, _flag_b = 0;
   1143     uint32_t _itail_tgt = 0;
   1144     RECOMP_REGS_LOCALS
   1145     RECOMP_ENTER(0x25145270u);
   1146 
   1147 L_25145270:
   1148     eax = MEM32(ebp + 0x18); /* 0x25145270: mov eax, dword ptr [ebp + 0x18] */
   1149     PUSH32(esp, eax); /* 0x25145273: push eax */
   1150     RECOMP_ICALL(0x25137EECu); /* 0x25145274: call 0x25137eec */ /* not lifted */
   1151     RECOMP_FLAGS_IN();
   1152     ecx = POP32_VAL(esp); /* 0x25145279: pop ecx */
   1153     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514527A: ret  */
   1154     RECOMP_REGS_OUT();
   1155 }
   1156 
   1157 void sub_2514527B(void) {
   1158     int _fpu_cmp = 0;
   1159     uint32_t _cf = 0;
   1160     int _df = 1;
   1161     uint32_t _flag_k = FK_NONE;
   1162     uint32_t _flag_a = 0, _flag_b = 0;
   1163     uint32_t _itail_tgt = 0;
   1164     RECOMP_REGS_LOCALS
   1165     RECOMP_ENTER(0x2514527Bu);
   1166 
   1167 L_2514527B:
   1168     eax = MEM32(ebp + 0x18); /* 0x2514527B: mov eax, dword ptr [ebp + 0x18] */
   1169     PUSH32(esp, eax); /* 0x2514527E: push eax */
   1170     RECOMP_ICALL(0x25137EECu); /* 0x2514527F: call 0x25137eec */ /* not lifted */
   1171     RECOMP_FLAGS_IN();
   1172     ecx = POP32_VAL(esp); /* 0x25145284: pop ecx */
   1173     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25145285: ret  */
   1174     RECOMP_REGS_OUT();
   1175 }
   1176 
   1177 void sub_25145286(void) {
   1178     int _fpu_cmp = 0;
   1179     uint32_t _cf = 0;
   1180     int _df = 1;
   1181     uint32_t _flag_k = FK_NONE;
   1182     uint32_t _flag_a = 0, _flag_b = 0;
   1183     uint32_t _itail_tgt = 0;
   1184     RECOMP_REGS_LOCALS
   1185     RECOMP_ENTER(0x25145286u);
   1186 
   1187 L_25145286:
   1188     eax = MEM32(ebp + 0x18); /* 0x25145286: mov eax, dword ptr [ebp + 0x18] */
   1189     PUSH32(esp, eax); /* 0x25145289: push eax */
   1190     RECOMP_ICALL(0x25137EECu); /* 0x2514528A: call 0x25137eec */ /* not lifted */
   1191     RECOMP_FLAGS_IN();
   1192     ecx = POP32_VAL(esp); /* 0x2514528F: pop ecx */
   1193     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25145290: ret  */
   1194     RECOMP_REGS_OUT();
   1195 }
   1196 
   1197 void sub_25145291(void) {
   1198     int _fpu_cmp = 0;
   1199     uint32_t _cf = 0;
   1200     int _df = 1;
   1201     uint32_t _flag_k = FK_NONE;
   1202     uint32_t _flag_a = 0, _flag_b = 0;
   1203     uint32_t _itail_tgt = 0;
   1204     RECOMP_REGS_LOCALS
   1205     RECOMP_ENTER(0x25145291u);
   1206 
   1207     goto L_25145291;
   1208 L_251380C4:
   1209     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1210 L_25145291:
   1211     eax = 0x25165390u; /* 0x25145291: mov eax, 0x25165390 */
   1212 L_25145296:
   1213     RECOMP_BACKEDGE();
   1214     goto L_251380C4; /* 0x25145296: jmp 0x251380c4 */
   1215     { RECOMP_REGS_OUT(); return; } /* end of function */
   1216   _ljump:
   1217     switch (_itail_tgt) {
   1218       case 0x251380C4u: goto L_251380C4;
   1219       case 0x25145291u: goto L_25145291;
   1220       case 0x25145296u: goto L_25145296;
   1221       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1222     }
   1223     RECOMP_REGS_OUT();
   1224 }
   1225 
   1226 void sub_251452A0(void) {
   1227     int _fpu_cmp = 0;
   1228     uint32_t _cf = 0;
   1229     int _df = 1;
   1230     uint32_t _flag_k = FK_NONE;
   1231     uint32_t _flag_a = 0, _flag_b = 0;
   1232     uint32_t _itail_tgt = 0;
   1233     RECOMP_REGS_LOCALS
   1234     RECOMP_ENTER(0x251452A0u);
   1235 
   1236 L_251452A0:
   1237     eax = MEM32(ebp + 0x8); /* 0x251452A0: mov eax, dword ptr [ebp + 8] */
   1238     PUSH32(esp, eax); /* 0x251452A3: push eax */
   1239     RECOMP_ICALL(0x25137EECu); /* 0x251452A4: call 0x25137eec */ /* not lifted */
   1240     RECOMP_FLAGS_IN();
   1241     ecx = POP32_VAL(esp); /* 0x251452A9: pop ecx */
   1242     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251452AA: ret  */
   1243     RECOMP_REGS_OUT();
   1244 }
   1245 
   1246 void sub_251452AB(void) {
   1247     int _fpu_cmp = 0;
   1248     uint32_t _cf = 0;
   1249     int _df = 1;
   1250     uint32_t _flag_k = FK_NONE;
   1251     uint32_t _flag_a = 0, _flag_b = 0;
   1252     uint32_t _itail_tgt = 0;
   1253     RECOMP_REGS_LOCALS
   1254     RECOMP_ENTER(0x251452ABu);
   1255 
   1256 L_251452AB:
   1257     eax = MEM32(ebp + 0x8); /* 0x251452AB: mov eax, dword ptr [ebp + 8] */
   1258     PUSH32(esp, eax); /* 0x251452AE: push eax */
   1259     RECOMP_ICALL(0x25137EECu); /* 0x251452AF: call 0x25137eec */ /* not lifted */
   1260     RECOMP_FLAGS_IN();
   1261     ecx = POP32_VAL(esp); /* 0x251452B4: pop ecx */
   1262     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251452B5: ret  */
   1263     RECOMP_REGS_OUT();
   1264 }
   1265 
   1266 void sub_251452B6(void) {
   1267     int _fpu_cmp = 0;
   1268     uint32_t _cf = 0;
   1269     int _df = 1;
   1270     uint32_t _flag_k = FK_NONE;
   1271     uint32_t _flag_a = 0, _flag_b = 0;
   1272     uint32_t _itail_tgt = 0;
   1273     RECOMP_REGS_LOCALS
   1274     RECOMP_ENTER(0x251452B6u);
   1275 
   1276     goto L_251452B6;
   1277 L_251380C4:
   1278     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1279 L_251452B6:
   1280     eax = 0x251653C8u; /* 0x251452B6: mov eax, 0x251653c8 */
   1281 L_251452BB:
   1282     RECOMP_BACKEDGE();
   1283     goto L_251380C4; /* 0x251452BB: jmp 0x251380c4 */
   1284     { RECOMP_REGS_OUT(); return; } /* end of function */
   1285   _ljump:
   1286     switch (_itail_tgt) {
   1287       case 0x251380C4u: goto L_251380C4;
   1288       case 0x251452B6u: goto L_251452B6;
   1289       case 0x251452BBu: goto L_251452BB;
   1290       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1291     }
   1292     RECOMP_REGS_OUT();
   1293 }
   1294 
   1295 void sub_251452C0(void) {
   1296     int _fpu_cmp = 0;
   1297     uint32_t _cf = 0;
   1298     int _df = 1;
   1299     uint32_t _flag_k = FK_NONE;
   1300     uint32_t _flag_a = 0, _flag_b = 0;
   1301     uint32_t _itail_tgt = 0;
   1302     RECOMP_REGS_LOCALS
   1303     RECOMP_ENTER(0x251452C0u);
   1304 
   1305 L_251452C0:
   1306     ecx = ebp + (-0x74); /* 0x251452C0: lea ecx, [ebp - 0x74] */
   1307 L_251452C3:
   1308     { _itail_tgt = (uint32_t)(MEM32(0x251514C0)); goto _ljump; }
   1309     { RECOMP_REGS_OUT(); return; } /* end of function */
   1310   _ljump:
   1311     switch (_itail_tgt) {
   1312       case 0x251452C0u: goto L_251452C0;
   1313       case 0x251452C3u: goto L_251452C3;
   1314       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1315     }
   1316     RECOMP_REGS_OUT();
   1317 }
   1318 
   1319 void sub_251452C9(void) {
   1320     int _fpu_cmp = 0;
   1321     uint32_t _cf = 0;
   1322     int _df = 1;
   1323     uint32_t _flag_k = FK_NONE;
   1324     uint32_t _flag_a = 0, _flag_b = 0;
   1325     uint32_t _itail_tgt = 0;
   1326     RECOMP_REGS_LOCALS
   1327     RECOMP_ENTER(0x251452C9u);
   1328 
   1329 L_251452C9:
   1330     ecx = ebp + (-0x8C); /* 0x251452C9: lea ecx, [ebp - 0x8c] */
   1331 L_251452CF:
   1332     { _itail_tgt = (uint32_t)(MEM32(0x25151468)); goto _ljump; }
   1333     { RECOMP_REGS_OUT(); return; } /* end of function */
   1334   _ljump:
   1335     switch (_itail_tgt) {
   1336       case 0x251452C9u: goto L_251452C9;
   1337       case 0x251452CFu: goto L_251452CF;
   1338       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1339     }
   1340     RECOMP_REGS_OUT();
   1341 }
   1342 
   1343 void sub_251452D5(void) {
   1344     int _fpu_cmp = 0;
   1345     uint32_t _cf = 0;
   1346     int _df = 1;
   1347     uint32_t _flag_k = FK_NONE;
   1348     uint32_t _flag_a = 0, _flag_b = 0;
   1349     uint32_t _itail_tgt = 0;
   1350     RECOMP_REGS_LOCALS
   1351     RECOMP_ENTER(0x251452D5u);
   1352 
   1353     goto L_251452D5;
   1354 L_251380C4:
   1355     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1356 L_251452D5:
   1357     eax = 0x251653F8u; /* 0x251452D5: mov eax, 0x251653f8 */
   1358 L_251452DA:
   1359     RECOMP_BACKEDGE();
   1360     goto L_251380C4; /* 0x251452DA: jmp 0x251380c4 */
   1361     { RECOMP_REGS_OUT(); return; } /* end of function */
   1362   _ljump:
   1363     switch (_itail_tgt) {
   1364       case 0x251380C4u: goto L_251380C4;
   1365       case 0x251452D5u: goto L_251452D5;
   1366       case 0x251452DAu: goto L_251452DA;
   1367       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1368     }
   1369     RECOMP_REGS_OUT();
   1370 }
   1371 
   1372 void sub_251452E0(void) {
   1373     int _fpu_cmp = 0;
   1374     uint32_t _cf = 0;
   1375     int _df = 1;
   1376     uint32_t _flag_k = FK_NONE;
   1377     uint32_t _flag_a = 0, _flag_b = 0;
   1378     uint32_t _itail_tgt = 0;
   1379     RECOMP_REGS_LOCALS
   1380     RECOMP_ENTER(0x251452E0u);
   1381 
   1382     goto L_251452E0;
   1383 L_250DB0B0:
   1384     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   1385     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   1386     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   1387     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   1388     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   1389     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   1390     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   1391     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   1392     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1393     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   1394     _flag_k = FK_CMP;
   1395     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   1396     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   1397     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   1398     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   1399     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   1400     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   1401     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   1402     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   1403     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   1404     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   1405     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   1406     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   1407     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   1408     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   1409     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1410     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   1411     _cf = 0;
   1412     _flag_k = FK_TEST;
   1413     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   1414     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1415     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1416     _flag_k = FK_CMP;
   1417     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   1418     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   1419 L_250DB11E:
   1420     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   1421     RECOMP_FLAGS_IN();
   1422 L_250DB123:
   1423     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   1424     PUSH32(esp, eax); /* 0x250DB129: push eax */
   1425     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   1426     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   1427     RECOMP_FLAGS_IN();
   1428     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1429     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1430     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   1431     _flag_k = FK_ADD;
   1432     eax = edi; /* 0x250DB135: mov eax, edi */
   1433     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1434     _cf = (eax) != 0;
   1435     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   1436     _flag_k = FK_CMP;
   1437     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   1438       eax = _sc ? 0xFFFFFFFFu : 0;
   1439       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1440       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1441     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   1442     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   1443     _cf = 0;
   1444     _flag_k = FK_TEST;
   1445     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   1446     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   1447     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   1448     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   1449     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   1450     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   1451     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   1452     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1454     _flag_k = FK_CMP;
   1455     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   1456     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   1457     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   1458     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   1459     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   1460 L_250DB16C:
   1461     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   1462     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   1463     ecx = esi; /* 0x250DB170: mov ecx, esi */
   1464     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   1465     RECOMP_FLAGS_IN();
   1466     ecx = eax; /* 0x250DB177: mov ecx, eax */
   1467     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   1468     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   1469     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   1470     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1471     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1472     _flag_k = FK_CMP;
   1473     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   1474     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   1475     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1476     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1477     _flag_k = FK_NARROW(FK_CMP, 24);
   1478     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   1479 L_250DB187:
   1480     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   1481     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   1482     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1483     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1484     _flag_k = FK_CMP;
   1485     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   1486 L_250DB18F:
   1487     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   1488     PUSH32(esp, edx); /* 0x250DB192: push edx */
   1489     ecx = esi; /* 0x250DB193: mov ecx, esi */
   1490     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   1491     RECOMP_FLAGS_IN();
   1492     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   1493     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   1494     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   1495     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   1496     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   1497     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   1498     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   1499     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   1500     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   1501     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   1502     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   1503     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   1504     RECOMP_FLAGS_IN();
   1505     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   1506 L_250DB1BE:
   1507     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   1508     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   1509     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1510     _flag_k = FK_CMP;
   1511     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   1512 L_250DB1C3:
   1513     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   1514     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   1515     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   1516     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   1517     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   1518     RECOMP_FLAGS_IN();
   1519     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   1520     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   1521     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   1522     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   1523     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   1524     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   1525     RECOMP_FLAGS_IN();
   1526     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   1527     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   1528     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   1529     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1530     _flag_k = FK_CMP;
   1531     RECOMP_BACKEDGE();
   1532     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   1533 L_250DB1E6:
   1534     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   1535     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   1536     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   1537     RECOMP_FLAGS_IN();
   1538     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   1539     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   1540     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   1541     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   1542     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   1543     RECOMP_FLAGS_IN();
   1544     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1545     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1546     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   1547     _flag_k = FK_ADD;
   1548     eax = edi; /* 0x250DB201: mov eax, edi */
   1549     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1550     _cf = (eax) != 0;
   1551     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   1552     _flag_k = FK_CMP;
   1553     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   1554       eax = _sc ? 0xFFFFFFFFu : 0;
   1555       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1556       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1557     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   1558     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   1559     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1560     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   1561     _cf = 0;
   1562     _flag_k = FK_TEST;
   1563     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   1564     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   1565     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   1566     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   1567     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1568     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1569     _flag_k = FK_CMP;
   1570     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   1571     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   1572     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   1573     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   1574     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   1575 L_250DB22E:
   1576     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   1577     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   1578     ecx = esi; /* 0x250DB232: mov ecx, esi */
   1579     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   1580     RECOMP_FLAGS_IN();
   1581     edx = eax; /* 0x250DB239: mov edx, eax */
   1582     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   1583     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   1584     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   1585     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1586     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1587     _flag_k = FK_CMP;
   1588     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   1589     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   1590     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1591     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1592     _flag_k = FK_NARROW(FK_CMP, 24);
   1593     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   1594 L_250DB249:
   1595     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   1596     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   1597     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   1598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1599     _flag_k = FK_CMP;
   1600     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   1601 L_250DB251:
   1602     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   1603     PUSH32(esp, eax); /* 0x250DB254: push eax */
   1604     ecx = esi; /* 0x250DB255: mov ecx, esi */
   1605     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   1606     RECOMP_FLAGS_IN();
   1607     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   1608     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   1609     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   1610     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   1611     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   1612     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   1613     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   1614     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   1615     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   1616     PUSH32(esp, eax); /* 0x250DB276: push eax */
   1617     ecx = esi; /* 0x250DB277: mov ecx, esi */
   1618     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   1619     RECOMP_FLAGS_IN();
   1620     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   1621 L_250DB280:
   1622     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   1623     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   1624     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1625     _flag_k = FK_CMP;
   1626     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   1627 L_250DB285:
   1628     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   1629     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   1630     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   1631     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   1632     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   1633     RECOMP_FLAGS_IN();
   1634     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   1635     PUSH32(esp, edx); /* 0x250DB294: push edx */
   1636     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   1637     PUSH32(esp, eax); /* 0x250DB298: push eax */
   1638     ecx = esi; /* 0x250DB299: mov ecx, esi */
   1639     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   1640     RECOMP_FLAGS_IN();
   1641     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   1642     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   1643     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1644     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1645     _flag_k = FK_CMP;
   1646     RECOMP_BACKEDGE();
   1647     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   1648 L_250DB2A8:
   1649     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   1650     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   1651     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   1652     RECOMP_FLAGS_IN();
   1653     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   1654     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   1655     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   1656     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   1657     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   1658     RECOMP_FLAGS_IN();
   1659     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1660     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1661     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   1662     _flag_k = FK_ADD;
   1663     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   1664     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   1665     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   1666     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   1667     RECOMP_FLAGS_IN();
   1668     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   1669     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   1670     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   1671     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   1672     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   1673     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   1674     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   1675     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   1676 L_251452E0:
   1677     ecx = MEM32(ebp + (-0x20)); /* 0x251452E0: mov ecx, dword ptr [ebp - 0x20] */
   1678     RECOMP_BACKEDGE();
   1679     goto L_250DB0B0; /* 0x251452E3: jmp 0x250db0b0 */
   1680     { RECOMP_REGS_OUT(); return; } /* end of function */
   1681     RECOMP_REGS_OUT();
   1682 }
   1683 
   1684 void sub_251452E8(void) {
   1685     int _fpu_cmp = 0;
   1686     uint32_t _cf = 0;
   1687     int _df = 1;
   1688     uint32_t _flag_k = FK_NONE;
   1689     uint32_t _flag_a = 0, _flag_b = 0;
   1690     uint32_t _itail_tgt = 0;
   1691     RECOMP_REGS_LOCALS
   1692     RECOMP_ENTER(0x251452E8u);
   1693 
   1694     goto L_251452E8;
   1695 L_251380C4:
   1696     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1697 L_251452E8:
   1698     eax = 0x25165428u; /* 0x251452E8: mov eax, 0x25165428 */
   1699 L_251452ED:
   1700     RECOMP_BACKEDGE();
   1701     goto L_251380C4; /* 0x251452ED: jmp 0x251380c4 */
   1702     { RECOMP_REGS_OUT(); return; } /* end of function */
   1703   _ljump:
   1704     switch (_itail_tgt) {
   1705       case 0x251380C4u: goto L_251380C4;
   1706       case 0x251452E8u: goto L_251452E8;
   1707       case 0x251452EDu: goto L_251452ED;
   1708       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1709     }
   1710     RECOMP_REGS_OUT();
   1711 }
   1712 
   1713 void sub_25145300(void) {
   1714     int _fpu_cmp = 0;
   1715     uint32_t _cf = 0;
   1716     int _df = 1;
   1717     uint32_t _flag_k = FK_NONE;
   1718     uint32_t _flag_a = 0, _flag_b = 0;
   1719     uint32_t _itail_tgt = 0;
   1720     RECOMP_REGS_LOCALS
   1721     RECOMP_ENTER(0x25145300u);
   1722 
   1723     goto L_25145300;
   1724 L_250DB0B0:
   1725     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   1726     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   1727     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   1728     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   1729     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   1730     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   1731     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   1732     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   1733     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1734     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   1735     _flag_k = FK_CMP;
   1736     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   1737     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   1738     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   1739     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   1740     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   1741     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   1742     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   1743     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   1744     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   1745     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   1746     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   1747     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   1748     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   1749     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   1750     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1751     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   1752     _cf = 0;
   1753     _flag_k = FK_TEST;
   1754     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   1755     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1756     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1757     _flag_k = FK_CMP;
   1758     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   1759     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   1760 L_250DB11E:
   1761     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   1762     RECOMP_FLAGS_IN();
   1763 L_250DB123:
   1764     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   1765     PUSH32(esp, eax); /* 0x250DB129: push eax */
   1766     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   1767     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   1768     RECOMP_FLAGS_IN();
   1769     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1770     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1771     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   1772     _flag_k = FK_ADD;
   1773     eax = edi; /* 0x250DB135: mov eax, edi */
   1774     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1775     _cf = (eax) != 0;
   1776     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   1777     _flag_k = FK_CMP;
   1778     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   1779       eax = _sc ? 0xFFFFFFFFu : 0;
   1780       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1781       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1782     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   1783     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   1784     _cf = 0;
   1785     _flag_k = FK_TEST;
   1786     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   1787     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   1788     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   1789     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   1790     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   1791     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   1792     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   1793     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1795     _flag_k = FK_CMP;
   1796     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   1797     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   1798     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   1799     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   1800     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   1801 L_250DB16C:
   1802     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   1803     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   1804     ecx = esi; /* 0x250DB170: mov ecx, esi */
   1805     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   1806     RECOMP_FLAGS_IN();
   1807     ecx = eax; /* 0x250DB177: mov ecx, eax */
   1808     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   1809     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   1810     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   1811     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1812     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1813     _flag_k = FK_CMP;
   1814     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   1815     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   1816     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1817     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1818     _flag_k = FK_NARROW(FK_CMP, 24);
   1819     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   1820 L_250DB187:
   1821     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   1822     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   1823     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1825     _flag_k = FK_CMP;
   1826     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   1827 L_250DB18F:
   1828     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   1829     PUSH32(esp, edx); /* 0x250DB192: push edx */
   1830     ecx = esi; /* 0x250DB193: mov ecx, esi */
   1831     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   1832     RECOMP_FLAGS_IN();
   1833     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   1834     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   1835     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   1836     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   1837     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   1838     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   1839     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   1840     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   1841     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   1842     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   1843     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   1844     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   1845     RECOMP_FLAGS_IN();
   1846     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   1847 L_250DB1BE:
   1848     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   1849     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   1850     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1851     _flag_k = FK_CMP;
   1852     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   1853 L_250DB1C3:
   1854     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   1855     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   1856     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   1857     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   1858     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   1859     RECOMP_FLAGS_IN();
   1860     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   1861     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   1862     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   1863     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   1864     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   1865     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   1866     RECOMP_FLAGS_IN();
   1867     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   1868     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   1869     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   1870     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1871     _flag_k = FK_CMP;
   1872     RECOMP_BACKEDGE();
   1873     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   1874 L_250DB1E6:
   1875     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   1876     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   1877     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   1878     RECOMP_FLAGS_IN();
   1879     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   1880     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   1881     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   1882     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   1883     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   1884     RECOMP_FLAGS_IN();
   1885     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1886     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1887     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   1888     _flag_k = FK_ADD;
   1889     eax = edi; /* 0x250DB201: mov eax, edi */
   1890     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1891     _cf = (eax) != 0;
   1892     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   1893     _flag_k = FK_CMP;
   1894     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   1895       eax = _sc ? 0xFFFFFFFFu : 0;
   1896       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1897       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1898     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   1899     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   1900     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1901     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   1902     _cf = 0;
   1903     _flag_k = FK_TEST;
   1904     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   1905     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   1906     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   1907     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   1908     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   1909     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1910     _flag_k = FK_CMP;
   1911     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   1912     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   1913     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   1914     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   1915     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   1916 L_250DB22E:
   1917     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   1918     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   1919     ecx = esi; /* 0x250DB232: mov ecx, esi */
   1920     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   1921     RECOMP_FLAGS_IN();
   1922     edx = eax; /* 0x250DB239: mov edx, eax */
   1923     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   1924     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   1925     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   1926     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1927     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1928     _flag_k = FK_CMP;
   1929     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   1930     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   1931     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1933     _flag_k = FK_NARROW(FK_CMP, 24);
   1934     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   1935 L_250DB249:
   1936     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   1937     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   1938     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   1939     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1940     _flag_k = FK_CMP;
   1941     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   1942 L_250DB251:
   1943     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   1944     PUSH32(esp, eax); /* 0x250DB254: push eax */
   1945     ecx = esi; /* 0x250DB255: mov ecx, esi */
   1946     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   1947     RECOMP_FLAGS_IN();
   1948     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   1949     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   1950     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   1951     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   1952     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   1953     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   1954     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   1955     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   1956     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   1957     PUSH32(esp, eax); /* 0x250DB276: push eax */
   1958     ecx = esi; /* 0x250DB277: mov ecx, esi */
   1959     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   1960     RECOMP_FLAGS_IN();
   1961     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   1962 L_250DB280:
   1963     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   1964     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   1965     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1966     _flag_k = FK_CMP;
   1967     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   1968 L_250DB285:
   1969     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   1970     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   1971     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   1972     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   1973     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   1974     RECOMP_FLAGS_IN();
   1975     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   1976     PUSH32(esp, edx); /* 0x250DB294: push edx */
   1977     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   1978     PUSH32(esp, eax); /* 0x250DB298: push eax */
   1979     ecx = esi; /* 0x250DB299: mov ecx, esi */
   1980     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   1981     RECOMP_FLAGS_IN();
   1982     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   1983     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   1984     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   1985     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1986     _flag_k = FK_CMP;
   1987     RECOMP_BACKEDGE();
   1988     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   1989 L_250DB2A8:
   1990     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   1991     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   1992     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   1993     RECOMP_FLAGS_IN();
   1994     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   1995     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   1996     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   1997     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   1998     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   1999     RECOMP_FLAGS_IN();
   2000     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2001     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2002     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   2003     _flag_k = FK_ADD;
   2004     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   2005     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   2006     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   2007     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   2008     RECOMP_FLAGS_IN();
   2009     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   2010     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   2011     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   2012     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   2013     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   2014     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   2015     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   2016     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   2017 L_25145300:
   2018     ecx = MEM32(ebp + (-0x14)); /* 0x25145300: mov ecx, dword ptr [ebp - 0x14] */
   2019     RECOMP_BACKEDGE();
   2020     goto L_250DB0B0; /* 0x25145303: jmp 0x250db0b0 */
   2021     { RECOMP_REGS_OUT(); return; } /* end of function */
   2022     RECOMP_REGS_OUT();
   2023 }
   2024 
   2025 void sub_25145308(void) {
   2026     int _fpu_cmp = 0;
   2027     uint32_t _cf = 0;
   2028     int _df = 1;
   2029     uint32_t _flag_k = FK_NONE;
   2030     uint32_t _flag_a = 0, _flag_b = 0;
   2031     uint32_t _itail_tgt = 0;
   2032     RECOMP_REGS_LOCALS
   2033     RECOMP_ENTER(0x25145308u);
   2034 
   2035     goto L_25145308;
   2036 L_25085170:
   2037     PUSH32(esp, ebx); /* 0x25085170: push ebx */
   2038     PUSH32(esp, esi); /* 0x25085171: push esi */
   2039     PUSH32(esp, edi); /* 0x25085172: push edi */
   2040     edi = ecx; /* 0x25085173: mov edi, ecx */
   2041     ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */
   2042     esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */
   2043     /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */
   2044     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2045     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2046     _flag_k = FK_CMP;
   2047     if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */
   2048 L_2508517E:
   2049     eax = esi; /* 0x2508517E: mov eax, esi */
   2050     ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */
   2051     edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */
   2052     esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */
   2053     MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */
   2054     ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */
   2055     edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */
   2056     PUSH32(esp, eax); /* 0x2508518E: push eax */
   2057     MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */
   2058     RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */
   2059     RECOMP_FLAGS_IN();
   2060     ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */
   2061     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2062     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2063     esp = esp + 4; /* 0x2508519A: add esp, 4 */
   2064     _flag_k = FK_ADD;
   2065     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2066     ecx = ecx - 1; /* 0x2508519D: dec ecx */
   2067     _flag_k = FK_DEC;
   2068     /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */
   2069     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2070     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2071     _flag_k = FK_CMP;
   2072     MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */
   2073     RECOMP_BACKEDGE();
   2074     if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */
   2075 L_250851A5:
   2076     eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */
   2077     PUSH32(esp, eax); /* 0x250851A8: push eax */
   2078     RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */
   2079     RECOMP_FLAGS_IN();
   2080     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2081     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2082     esp = esp + 4; /* 0x250851AE: add esp, 4 */
   2083     _flag_k = FK_ADD;
   2084     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2085     eax = 0; /* 0x250851B1: xor eax, eax */
   2086     _cf = 0;
   2087     _flag_k = FK_TEST;
   2088     MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */
   2089     MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */
   2090     edi = POP32_VAL(esp); /* 0x250851B9: pop edi */
   2091     esi = POP32_VAL(esp); /* 0x250851BA: pop esi */
   2092     ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */
   2093     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret  */
   2094 L_25145308:
   2095     ecx = MEM32(ebp + (-0x14)); /* 0x25145308: mov ecx, dword ptr [ebp - 0x14] */
   2096     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x304u);
   2097     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2098     ecx = ecx + 0x304u; /* 0x2514530B: add ecx, 0x304 */
   2099     _flag_k = FK_ADD;
   2100     RECOMP_BACKEDGE();
   2101     goto L_25085170; /* 0x25145311: jmp 0x25085170 */
   2102     { RECOMP_REGS_OUT(); return; } /* end of function */
   2103     RECOMP_REGS_OUT();
   2104 }
   2105 
   2106 void sub_25145316(void) {
   2107     int _fpu_cmp = 0;
   2108     uint32_t _cf = 0;
   2109     int _df = 1;
   2110     uint32_t _flag_k = FK_NONE;
   2111     uint32_t _flag_a = 0, _flag_b = 0;
   2112     uint32_t _itail_tgt = 0;
   2113     RECOMP_REGS_LOCALS
   2114     RECOMP_ENTER(0x25145316u);
   2115 
   2116 L_25145316:
   2117     eax = MEM32(ebp + 0xC); /* 0x25145316: mov eax, dword ptr [ebp + 0xc] */
   2118     PUSH32(esp, eax); /* 0x25145319: push eax */
   2119     RECOMP_ICALL(0x25137EECu); /* 0x2514531A: call 0x25137eec */ /* not lifted */
   2120     RECOMP_FLAGS_IN();
   2121     ecx = POP32_VAL(esp); /* 0x2514531F: pop ecx */
   2122     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25145320: ret  */
   2123     RECOMP_REGS_OUT();
   2124 }
   2125 
   2126 void sub_25145321(void) {
   2127     int _fpu_cmp = 0;
   2128     uint32_t _cf = 0;
   2129     int _df = 1;
   2130     uint32_t _flag_k = FK_NONE;
   2131     uint32_t _flag_a = 0, _flag_b = 0;
   2132     uint32_t _itail_tgt = 0;
   2133     RECOMP_REGS_LOCALS
   2134     RECOMP_ENTER(0x25145321u);
   2135 
   2136     goto L_25145321;
   2137 L_251380C4:
   2138     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2139 L_25145321:
   2140     eax = 0x25165450u; /* 0x25145321: mov eax, 0x25165450 */
   2141 L_25145326:
   2142     RECOMP_BACKEDGE();
   2143     goto L_251380C4; /* 0x25145326: jmp 0x251380c4 */
   2144     { RECOMP_REGS_OUT(); return; } /* end of function */
   2145   _ljump:
   2146     switch (_itail_tgt) {
   2147       case 0x251380C4u: goto L_251380C4;
   2148       case 0x25145321u: goto L_25145321;
   2149       case 0x25145326u: goto L_25145326;
   2150       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2151     }
   2152     RECOMP_REGS_OUT();
   2153 }
   2154 
   2155 void sub_25145330(void) {
   2156     int _fpu_cmp = 0;
   2157     uint32_t _cf = 0;
   2158     int _df = 1;
   2159     uint32_t _flag_k = FK_NONE;
   2160     uint32_t _flag_a = 0, _flag_b = 0;
   2161     uint32_t _itail_tgt = 0;
   2162     RECOMP_REGS_LOCALS
   2163     RECOMP_ENTER(0x25145330u);
   2164 
   2165     goto L_25145330;
   2166 L_250DB0B0:
   2167     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   2168     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   2169     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   2170     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   2171     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   2172     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   2173     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   2174     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2176     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   2177     _flag_k = FK_CMP;
   2178     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   2179     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   2180     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   2181     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   2182     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   2183     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   2184     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   2185     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   2186     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   2187     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   2188     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   2189     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   2190     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   2191     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   2192     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2193     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   2194     _cf = 0;
   2195     _flag_k = FK_TEST;
   2196     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   2197     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2198     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2199     _flag_k = FK_CMP;
   2200     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   2201     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   2202 L_250DB11E:
   2203     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   2204     RECOMP_FLAGS_IN();
   2205 L_250DB123:
   2206     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   2207     PUSH32(esp, eax); /* 0x250DB129: push eax */
   2208     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   2209     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   2210     RECOMP_FLAGS_IN();
   2211     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2212     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2213     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   2214     _flag_k = FK_ADD;
   2215     eax = edi; /* 0x250DB135: mov eax, edi */
   2216     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2217     _cf = (eax) != 0;
   2218     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   2219     _flag_k = FK_CMP;
   2220     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   2221       eax = _sc ? 0xFFFFFFFFu : 0;
   2222       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2223       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2224     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2225     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   2226     _cf = 0;
   2227     _flag_k = FK_TEST;
   2228     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   2229     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   2230     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   2231     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   2232     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   2233     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   2234     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   2235     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2236     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2237     _flag_k = FK_CMP;
   2238     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   2239     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   2240     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   2241     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   2242     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   2243 L_250DB16C:
   2244     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   2245     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   2246     ecx = esi; /* 0x250DB170: mov ecx, esi */
   2247     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   2248     RECOMP_FLAGS_IN();
   2249     ecx = eax; /* 0x250DB177: mov ecx, eax */
   2250     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   2251     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   2252     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   2253     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2254     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2255     _flag_k = FK_CMP;
   2256     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   2257     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   2258     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2259     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2260     _flag_k = FK_NARROW(FK_CMP, 24);
   2261     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   2262 L_250DB187:
   2263     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   2264     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   2265     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2266     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2267     _flag_k = FK_CMP;
   2268     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   2269 L_250DB18F:
   2270     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   2271     PUSH32(esp, edx); /* 0x250DB192: push edx */
   2272     ecx = esi; /* 0x250DB193: mov ecx, esi */
   2273     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   2274     RECOMP_FLAGS_IN();
   2275     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   2276     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   2277     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   2278     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   2279     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   2280     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   2281     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   2282     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   2283     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   2284     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   2285     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   2286     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   2287     RECOMP_FLAGS_IN();
   2288     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   2289 L_250DB1BE:
   2290     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   2291     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   2292     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2293     _flag_k = FK_CMP;
   2294     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   2295 L_250DB1C3:
   2296     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   2297     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   2298     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   2299     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   2300     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   2301     RECOMP_FLAGS_IN();
   2302     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   2303     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   2304     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   2305     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   2306     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   2307     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   2308     RECOMP_FLAGS_IN();
   2309     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   2310     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   2311     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   2312     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2313     _flag_k = FK_CMP;
   2314     RECOMP_BACKEDGE();
   2315     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   2316 L_250DB1E6:
   2317     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   2318     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   2319     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   2320     RECOMP_FLAGS_IN();
   2321     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   2322     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   2323     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   2324     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   2325     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   2326     RECOMP_FLAGS_IN();
   2327     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2328     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2329     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   2330     _flag_k = FK_ADD;
   2331     eax = edi; /* 0x250DB201: mov eax, edi */
   2332     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2333     _cf = (eax) != 0;
   2334     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   2335     _flag_k = FK_CMP;
   2336     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   2337       eax = _sc ? 0xFFFFFFFFu : 0;
   2338       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2339       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2340     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   2341     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   2342     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2343     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   2344     _cf = 0;
   2345     _flag_k = FK_TEST;
   2346     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   2347     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   2348     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   2349     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   2350     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2352     _flag_k = FK_CMP;
   2353     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   2354     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   2355     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   2356     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   2357     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   2358 L_250DB22E:
   2359     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   2360     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   2361     ecx = esi; /* 0x250DB232: mov ecx, esi */
   2362     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   2363     RECOMP_FLAGS_IN();
   2364     edx = eax; /* 0x250DB239: mov edx, eax */
   2365     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   2366     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   2367     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   2368     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2369     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2370     _flag_k = FK_CMP;
   2371     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   2372     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   2373     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2375     _flag_k = FK_NARROW(FK_CMP, 24);
   2376     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   2377 L_250DB249:
   2378     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   2379     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   2380     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   2381     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2382     _flag_k = FK_CMP;
   2383     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   2384 L_250DB251:
   2385     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   2386     PUSH32(esp, eax); /* 0x250DB254: push eax */
   2387     ecx = esi; /* 0x250DB255: mov ecx, esi */
   2388     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   2389     RECOMP_FLAGS_IN();
   2390     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   2391     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   2392     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   2393     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   2394     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   2395     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   2396     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   2397     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   2398     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   2399     PUSH32(esp, eax); /* 0x250DB276: push eax */
   2400     ecx = esi; /* 0x250DB277: mov ecx, esi */
   2401     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   2402     RECOMP_FLAGS_IN();
   2403     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   2404 L_250DB280:
   2405     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   2406     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   2407     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2408     _flag_k = FK_CMP;
   2409     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   2410 L_250DB285:
   2411     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   2412     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   2413     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   2414     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   2415     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   2416     RECOMP_FLAGS_IN();
   2417     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   2418     PUSH32(esp, edx); /* 0x250DB294: push edx */
   2419     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   2420     PUSH32(esp, eax); /* 0x250DB298: push eax */
   2421     ecx = esi; /* 0x250DB299: mov ecx, esi */
   2422     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   2423     RECOMP_FLAGS_IN();
   2424     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   2425     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   2426     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2428     _flag_k = FK_CMP;
   2429     RECOMP_BACKEDGE();
   2430     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   2431 L_250DB2A8:
   2432     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   2433     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   2434     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   2435     RECOMP_FLAGS_IN();
   2436     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   2437     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   2438     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   2439     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   2440     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   2441     RECOMP_FLAGS_IN();
   2442     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2443     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2444     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   2445     _flag_k = FK_ADD;
   2446     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   2447     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   2448     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   2449     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   2450     RECOMP_FLAGS_IN();
   2451     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   2452     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   2453     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   2454     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   2455     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   2456     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   2457     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   2458     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   2459 L_25145330:
   2460     ecx = MEM32(ebp + (-0x10)); /* 0x25145330: mov ecx, dword ptr [ebp - 0x10] */
   2461     RECOMP_BACKEDGE();
   2462     goto L_250DB0B0; /* 0x25145333: jmp 0x250db0b0 */
   2463     { RECOMP_REGS_OUT(); return; } /* end of function */
   2464     RECOMP_REGS_OUT();
   2465 }
   2466 
   2467 void sub_25145338(void) {
   2468     int _fpu_cmp = 0;
   2469     uint32_t _cf = 0;
   2470     int _df = 1;
   2471     uint32_t _flag_k = FK_NONE;
   2472     uint32_t _flag_a = 0, _flag_b = 0;
   2473     uint32_t _itail_tgt = 0;
   2474     RECOMP_REGS_LOCALS
   2475     RECOMP_ENTER(0x25145338u);
   2476 
   2477     goto L_25145338;
   2478 L_25085170:
   2479     PUSH32(esp, ebx); /* 0x25085170: push ebx */
   2480     PUSH32(esp, esi); /* 0x25085171: push esi */
   2481     PUSH32(esp, edi); /* 0x25085172: push edi */
   2482     edi = ecx; /* 0x25085173: mov edi, ecx */
   2483     ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */
   2484     esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */
   2485     /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */
   2486     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2487     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2488     _flag_k = FK_CMP;
   2489     if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */
   2490 L_2508517E:
   2491     eax = esi; /* 0x2508517E: mov eax, esi */
   2492     ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */
   2493     edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */
   2494     esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */
   2495     MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */
   2496     ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */
   2497     edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */
   2498     PUSH32(esp, eax); /* 0x2508518E: push eax */
   2499     MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */
   2500     RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */
   2501     RECOMP_FLAGS_IN();
   2502     ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */
   2503     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2504     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2505     esp = esp + 4; /* 0x2508519A: add esp, 4 */
   2506     _flag_k = FK_ADD;
   2507     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2508     ecx = ecx - 1; /* 0x2508519D: dec ecx */
   2509     _flag_k = FK_DEC;
   2510     /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */
   2511     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2512     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2513     _flag_k = FK_CMP;
   2514     MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */
   2515     RECOMP_BACKEDGE();
   2516     if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */
   2517 L_250851A5:
   2518     eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */
   2519     PUSH32(esp, eax); /* 0x250851A8: push eax */
   2520     RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */
   2521     RECOMP_FLAGS_IN();
   2522     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2523     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2524     esp = esp + 4; /* 0x250851AE: add esp, 4 */
   2525     _flag_k = FK_ADD;
   2526     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2527     eax = 0; /* 0x250851B1: xor eax, eax */
   2528     _cf = 0;
   2529     _flag_k = FK_TEST;
   2530     MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */
   2531     MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */
   2532     edi = POP32_VAL(esp); /* 0x250851B9: pop edi */
   2533     esi = POP32_VAL(esp); /* 0x250851BA: pop esi */
   2534     ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */
   2535     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret  */
   2536 L_25145338:
   2537     ecx = MEM32(ebp + (-0x10)); /* 0x25145338: mov ecx, dword ptr [ebp - 0x10] */
   2538     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x304u);
   2539     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2540     ecx = ecx + 0x304u; /* 0x2514533B: add ecx, 0x304 */
   2541     _flag_k = FK_ADD;
   2542     RECOMP_BACKEDGE();
   2543     goto L_25085170; /* 0x25145341: jmp 0x25085170 */
   2544     { RECOMP_REGS_OUT(); return; } /* end of function */
   2545     RECOMP_REGS_OUT();
   2546 }
   2547 
   2548 void sub_25145346(void) {
   2549     int _fpu_cmp = 0;
   2550     uint32_t _cf = 0;
   2551     int _df = 1;
   2552     uint32_t _flag_k = FK_NONE;
   2553     uint32_t _flag_a = 0, _flag_b = 0;
   2554     uint32_t _itail_tgt = 0;
   2555     RECOMP_REGS_LOCALS
   2556     RECOMP_ENTER(0x25145346u);
   2557 
   2558     goto L_25145346;
   2559 L_251380C4:
   2560     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2561 L_25145346:
   2562     eax = 0x25165488u; /* 0x25145346: mov eax, 0x25165488 */
   2563 L_2514534B:
   2564     RECOMP_BACKEDGE();
   2565     goto L_251380C4; /* 0x2514534B: jmp 0x251380c4 */
   2566     { RECOMP_REGS_OUT(); return; } /* end of function */
   2567   _ljump:
   2568     switch (_itail_tgt) {
   2569       case 0x251380C4u: goto L_251380C4;
   2570       case 0x25145346u: goto L_25145346;
   2571       case 0x2514534Bu: goto L_2514534B;
   2572       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2573     }
   2574     RECOMP_REGS_OUT();
   2575 }
   2576 
   2577 void sub_25145350(void) {
   2578     int _fpu_cmp = 0;
   2579     uint32_t _cf = 0;
   2580     int _df = 1;
   2581     uint32_t _flag_k = FK_NONE;
   2582     uint32_t _flag_a = 0, _flag_b = 0;
   2583     uint32_t _itail_tgt = 0;
   2584     RECOMP_REGS_LOCALS
   2585     RECOMP_ENTER(0x25145350u);
   2586 
   2587 L_25145350:
   2588     ecx = ebp + (-0xD8); /* 0x25145350: lea ecx, [ebp - 0xd8] */
   2589 L_25145356:
   2590     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2591     { RECOMP_REGS_OUT(); return; } /* end of function */
   2592   _ljump:
   2593     switch (_itail_tgt) {
   2594       case 0x25145350u: goto L_25145350;
   2595       case 0x25145356u: goto L_25145356;
   2596       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2597     }
   2598     RECOMP_REGS_OUT();
   2599 }
   2600 
   2601 void sub_2514535C(void) {
   2602     int _fpu_cmp = 0;
   2603     uint32_t _cf = 0;
   2604     int _df = 1;
   2605     uint32_t _flag_k = FK_NONE;
   2606     uint32_t _flag_a = 0, _flag_b = 0;
   2607     uint32_t _itail_tgt = 0;
   2608     RECOMP_REGS_LOCALS
   2609     RECOMP_ENTER(0x2514535Cu);
   2610 
   2611     goto L_2514535C;
   2612 L_251380C4:
   2613     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2614 L_2514535C:
   2615     eax = 0x251654B8u; /* 0x2514535C: mov eax, 0x251654b8 */
   2616 L_25145361:
   2617     RECOMP_BACKEDGE();
   2618     goto L_251380C4; /* 0x25145361: jmp 0x251380c4 */
   2619     { RECOMP_REGS_OUT(); return; } /* end of function */
   2620   _ljump:
   2621     switch (_itail_tgt) {
   2622       case 0x251380C4u: goto L_251380C4;
   2623       case 0x2514535Cu: goto L_2514535C;
   2624       case 0x25145361u: goto L_25145361;
   2625       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2626     }
   2627     RECOMP_REGS_OUT();
   2628 }
   2629 
   2630 void sub_25145370(void) {
   2631     int _fpu_cmp = 0;
   2632     uint32_t _cf = 0;
   2633     int _df = 1;
   2634     uint32_t _flag_k = FK_NONE;
   2635     uint32_t _flag_a = 0, _flag_b = 0;
   2636     uint32_t _itail_tgt = 0;
   2637     RECOMP_REGS_LOCALS
   2638     RECOMP_ENTER(0x25145370u);
   2639 
   2640 L_25145370:
   2641     eax = MEM32(ebp + (-0x10)); /* 0x25145370: mov eax, dword ptr [ebp - 0x10] */
   2642     PUSH32(esp, eax); /* 0x25145373: push eax */
   2643     RECOMP_ICALL(0x25137EECu); /* 0x25145374: call 0x25137eec */ /* not lifted */
   2644     RECOMP_FLAGS_IN();
   2645     ecx = POP32_VAL(esp); /* 0x25145379: pop ecx */
   2646     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514537A: ret  */
   2647     RECOMP_REGS_OUT();
   2648 }
   2649 
   2650 void sub_2514537B(void) {
   2651     int _fpu_cmp = 0;
   2652     uint32_t _cf = 0;
   2653     int _df = 1;
   2654     uint32_t _flag_k = FK_NONE;
   2655     uint32_t _flag_a = 0, _flag_b = 0;
   2656     uint32_t _itail_tgt = 0;
   2657     RECOMP_REGS_LOCALS
   2658     RECOMP_ENTER(0x2514537Bu);
   2659 
   2660     goto L_2514537B;
   2661 L_251380C4:
   2662     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2663 L_2514537B:
   2664     eax = 0x251654E0u; /* 0x2514537B: mov eax, 0x251654e0 */
   2665 L_25145380:
   2666     RECOMP_BACKEDGE();
   2667     goto L_251380C4; /* 0x25145380: jmp 0x251380c4 */
   2668     { RECOMP_REGS_OUT(); return; } /* end of function */
   2669   _ljump:
   2670     switch (_itail_tgt) {
   2671       case 0x251380C4u: goto L_251380C4;
   2672       case 0x2514537Bu: goto L_2514537B;
   2673       case 0x25145380u: goto L_25145380;
   2674       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2675     }
   2676     RECOMP_REGS_OUT();
   2677 }
   2678 
   2679 void sub_25145390(void) {
   2680     int _fpu_cmp = 0;
   2681     uint32_t _cf = 0;
   2682     int _df = 1;
   2683     uint32_t _flag_k = FK_NONE;
   2684     uint32_t _flag_a = 0, _flag_b = 0;
   2685     uint32_t _itail_tgt = 0;
   2686     RECOMP_REGS_LOCALS
   2687     RECOMP_ENTER(0x25145390u);
   2688 
   2689     goto L_25145390;
   2690 L_250DB0B0:
   2691     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   2692     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   2693     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   2694     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   2695     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   2696     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   2697     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   2698     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2699     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2700     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   2701     _flag_k = FK_CMP;
   2702     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   2703     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   2704     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   2705     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   2706     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   2707     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   2708     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   2709     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   2710     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   2711     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   2712     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   2713     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   2714     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   2715     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   2716     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2717     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   2718     _cf = 0;
   2719     _flag_k = FK_TEST;
   2720     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   2721     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2722     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2723     _flag_k = FK_CMP;
   2724     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   2725     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   2726 L_250DB11E:
   2727     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   2728     RECOMP_FLAGS_IN();
   2729 L_250DB123:
   2730     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   2731     PUSH32(esp, eax); /* 0x250DB129: push eax */
   2732     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   2733     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   2734     RECOMP_FLAGS_IN();
   2735     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2736     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2737     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   2738     _flag_k = FK_ADD;
   2739     eax = edi; /* 0x250DB135: mov eax, edi */
   2740     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2741     _cf = (eax) != 0;
   2742     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   2743     _flag_k = FK_CMP;
   2744     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   2745       eax = _sc ? 0xFFFFFFFFu : 0;
   2746       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2747       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2748     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2749     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   2750     _cf = 0;
   2751     _flag_k = FK_TEST;
   2752     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   2753     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   2754     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   2755     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   2756     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   2757     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   2758     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   2759     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2760     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2761     _flag_k = FK_CMP;
   2762     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   2763     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   2764     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   2765     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   2766     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   2767 L_250DB16C:
   2768     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   2769     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   2770     ecx = esi; /* 0x250DB170: mov ecx, esi */
   2771     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   2772     RECOMP_FLAGS_IN();
   2773     ecx = eax; /* 0x250DB177: mov ecx, eax */
   2774     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   2775     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   2776     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   2777     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2778     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2779     _flag_k = FK_CMP;
   2780     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   2781     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   2782     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2783     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2784     _flag_k = FK_NARROW(FK_CMP, 24);
   2785     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   2786 L_250DB187:
   2787     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   2788     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   2789     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2790     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2791     _flag_k = FK_CMP;
   2792     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   2793 L_250DB18F:
   2794     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   2795     PUSH32(esp, edx); /* 0x250DB192: push edx */
   2796     ecx = esi; /* 0x250DB193: mov ecx, esi */
   2797     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   2798     RECOMP_FLAGS_IN();
   2799     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   2800     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   2801     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   2802     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   2803     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   2804     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   2805     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   2806     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   2807     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   2808     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   2809     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   2810     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   2811     RECOMP_FLAGS_IN();
   2812     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   2813 L_250DB1BE:
   2814     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   2815     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   2816     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2817     _flag_k = FK_CMP;
   2818     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   2819 L_250DB1C3:
   2820     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   2821     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   2822     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   2823     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   2824     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   2825     RECOMP_FLAGS_IN();
   2826     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   2827     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   2828     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   2829     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   2830     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   2831     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   2832     RECOMP_FLAGS_IN();
   2833     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   2834     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   2835     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   2836     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2837     _flag_k = FK_CMP;
   2838     RECOMP_BACKEDGE();
   2839     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   2840 L_250DB1E6:
   2841     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   2842     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   2843     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   2844     RECOMP_FLAGS_IN();
   2845     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   2846     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   2847     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   2848     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   2849     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   2850     RECOMP_FLAGS_IN();
   2851     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2852     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2853     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   2854     _flag_k = FK_ADD;
   2855     eax = edi; /* 0x250DB201: mov eax, edi */
   2856     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2857     _cf = (eax) != 0;
   2858     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   2859     _flag_k = FK_CMP;
   2860     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   2861       eax = _sc ? 0xFFFFFFFFu : 0;
   2862       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2863       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2864     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   2865     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   2866     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2867     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   2868     _cf = 0;
   2869     _flag_k = FK_TEST;
   2870     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   2871     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   2872     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   2873     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   2874     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2876     _flag_k = FK_CMP;
   2877     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   2878     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   2879     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   2880     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   2881     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   2882 L_250DB22E:
   2883     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   2884     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   2885     ecx = esi; /* 0x250DB232: mov ecx, esi */
   2886     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   2887     RECOMP_FLAGS_IN();
   2888     edx = eax; /* 0x250DB239: mov edx, eax */
   2889     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   2890     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   2891     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   2892     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2894     _flag_k = FK_CMP;
   2895     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   2896     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   2897     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2899     _flag_k = FK_NARROW(FK_CMP, 24);
   2900     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   2901 L_250DB249:
   2902     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   2903     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   2904     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   2905     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2906     _flag_k = FK_CMP;
   2907     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   2908 L_250DB251:
   2909     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   2910     PUSH32(esp, eax); /* 0x250DB254: push eax */
   2911     ecx = esi; /* 0x250DB255: mov ecx, esi */
   2912     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   2913     RECOMP_FLAGS_IN();
   2914     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   2915     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   2916     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   2917     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   2918     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   2919     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   2920     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   2921     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   2922     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   2923     PUSH32(esp, eax); /* 0x250DB276: push eax */
   2924     ecx = esi; /* 0x250DB277: mov ecx, esi */
   2925     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   2926     RECOMP_FLAGS_IN();
   2927     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   2928 L_250DB280:
   2929     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   2930     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   2931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2932     _flag_k = FK_CMP;
   2933     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   2934 L_250DB285:
   2935     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   2936     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   2937     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   2938     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   2939     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   2940     RECOMP_FLAGS_IN();
   2941     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   2942     PUSH32(esp, edx); /* 0x250DB294: push edx */
   2943     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   2944     PUSH32(esp, eax); /* 0x250DB298: push eax */
   2945     ecx = esi; /* 0x250DB299: mov ecx, esi */
   2946     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   2947     RECOMP_FLAGS_IN();
   2948     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   2949     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   2950     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2951     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2952     _flag_k = FK_CMP;
   2953     RECOMP_BACKEDGE();
   2954     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   2955 L_250DB2A8:
   2956     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   2957     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   2958     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   2959     RECOMP_FLAGS_IN();
   2960     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   2961     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   2962     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   2963     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   2964     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   2965     RECOMP_FLAGS_IN();
   2966     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2967     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2968     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   2969     _flag_k = FK_ADD;
   2970     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   2971     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   2972     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   2973     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   2974     RECOMP_FLAGS_IN();
   2975     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   2976     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   2977     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   2978     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   2979     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   2980     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   2981     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   2982     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   2983 L_25145390:
   2984     ecx = MEM32(ebp + (-0x10)); /* 0x25145390: mov ecx, dword ptr [ebp - 0x10] */
   2985     RECOMP_BACKEDGE();
   2986     goto L_250DB0B0; /* 0x25145393: jmp 0x250db0b0 */
   2987     { RECOMP_REGS_OUT(); return; } /* end of function */
   2988     RECOMP_REGS_OUT();
   2989 }
   2990 
   2991 void sub_25145398(void) {
   2992     int _fpu_cmp = 0;
   2993     uint32_t _cf = 0;
   2994     int _df = 1;
   2995     uint32_t _flag_k = FK_NONE;
   2996     uint32_t _flag_a = 0, _flag_b = 0;
   2997     uint32_t _itail_tgt = 0;
   2998     RECOMP_REGS_LOCALS
   2999     RECOMP_ENTER(0x25145398u);
   3000 
   3001     goto L_25145398;
   3002 L_25085240:
   3003     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   3004     ebp = esp; /* 0x25085241: mov ebp, esp */
   3005     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   3006     PUSH32(esp, esi); /* 0x25085244: push esi */
   3007     esi = ecx; /* 0x25085245: mov esi, ecx */
   3008     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   3009     PUSH32(esp, eax); /* 0x2508524A: push eax */
   3010     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   3011     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   3012     RECOMP_FLAGS_IN();
   3013     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3014     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3015     esp = esp + 4; /* 0x25085253: add esp, 4 */
   3016     _flag_k = FK_ADD;
   3017     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3018     eax = 0; /* 0x25085256: xor eax, eax */
   3019     _cf = 0;
   3020     _flag_k = FK_TEST;
   3021     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   3022     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   3023     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   3024     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   3025     esp = ebp; /* 0x25085262: mov esp, ebp */
   3026     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   3027     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   3028 L_25145398:
   3029     ecx = MEM32(ebp + (-0x10)); /* 0x25145398: mov ecx, dword ptr [ebp - 0x10] */
   3030     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x21Cu);
   3031     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3032     ecx = ecx + 0x21Cu; /* 0x2514539B: add ecx, 0x21c */
   3033     _flag_k = FK_ADD;
   3034     RECOMP_BACKEDGE();
   3035     goto L_25085240; /* 0x251453A1: jmp 0x25085240 */
   3036     { RECOMP_REGS_OUT(); return; } /* end of function */
   3037     RECOMP_REGS_OUT();
   3038 }
   3039 
   3040 void sub_251453A6(void) {
   3041     int _fpu_cmp = 0;
   3042     uint32_t _cf = 0;
   3043     int _df = 1;
   3044     uint32_t _flag_k = FK_NONE;
   3045     uint32_t _flag_a = 0, _flag_b = 0;
   3046     uint32_t _itail_tgt = 0;
   3047     RECOMP_REGS_LOCALS
   3048     RECOMP_ENTER(0x251453A6u);
   3049 
   3050     goto L_251453A6;
   3051 L_25085240:
   3052     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   3053     ebp = esp; /* 0x25085241: mov ebp, esp */
   3054     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   3055     PUSH32(esp, esi); /* 0x25085244: push esi */
   3056     esi = ecx; /* 0x25085245: mov esi, ecx */
   3057     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   3058     PUSH32(esp, eax); /* 0x2508524A: push eax */
   3059     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   3060     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   3061     RECOMP_FLAGS_IN();
   3062     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3063     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3064     esp = esp + 4; /* 0x25085253: add esp, 4 */
   3065     _flag_k = FK_ADD;
   3066     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3067     eax = 0; /* 0x25085256: xor eax, eax */
   3068     _cf = 0;
   3069     _flag_k = FK_TEST;
   3070     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   3071     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   3072     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   3073     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   3074     esp = ebp; /* 0x25085262: mov esp, ebp */
   3075     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   3076     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   3077 L_251453A6:
   3078     ecx = MEM32(ebp + (-0x10)); /* 0x251453A6: mov ecx, dword ptr [ebp - 0x10] */
   3079     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x248u);
   3080     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3081     ecx = ecx + 0x248u; /* 0x251453A9: add ecx, 0x248 */
   3082     _flag_k = FK_ADD;
   3083     RECOMP_BACKEDGE();
   3084     goto L_25085240; /* 0x251453AF: jmp 0x25085240 */
   3085     { RECOMP_REGS_OUT(); return; } /* end of function */
   3086     RECOMP_REGS_OUT();
   3087 }
   3088 
   3089 void sub_251453B4(void) {
   3090     int _fpu_cmp = 0;
   3091     uint32_t _cf = 0;
   3092     int _df = 1;
   3093     uint32_t _flag_k = FK_NONE;
   3094     uint32_t _flag_a = 0, _flag_b = 0;
   3095     uint32_t _itail_tgt = 0;
   3096     RECOMP_REGS_LOCALS
   3097     RECOMP_ENTER(0x251453B4u);
   3098 
   3099     goto L_251453B4;
   3100 L_25085240:
   3101     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   3102     ebp = esp; /* 0x25085241: mov ebp, esp */
   3103     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   3104     PUSH32(esp, esi); /* 0x25085244: push esi */
   3105     esi = ecx; /* 0x25085245: mov esi, ecx */
   3106     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   3107     PUSH32(esp, eax); /* 0x2508524A: push eax */
   3108     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   3109     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   3110     RECOMP_FLAGS_IN();
   3111     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3112     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3113     esp = esp + 4; /* 0x25085253: add esp, 4 */
   3114     _flag_k = FK_ADD;
   3115     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3116     eax = 0; /* 0x25085256: xor eax, eax */
   3117     _cf = 0;
   3118     _flag_k = FK_TEST;
   3119     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   3120     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   3121     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   3122     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   3123     esp = ebp; /* 0x25085262: mov esp, ebp */
   3124     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   3125     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   3126 L_251453B4:
   3127     ecx = MEM32(ebp + (-0x10)); /* 0x251453B4: mov ecx, dword ptr [ebp - 0x10] */
   3128     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x258u);
   3129     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3130     ecx = ecx + 0x258u; /* 0x251453B7: add ecx, 0x258 */
   3131     _flag_k = FK_ADD;
   3132     RECOMP_BACKEDGE();
   3133     goto L_25085240; /* 0x251453BD: jmp 0x25085240 */
   3134     { RECOMP_REGS_OUT(); return; } /* end of function */
   3135     RECOMP_REGS_OUT();
   3136 }
   3137 
   3138 void sub_251453C2(void) {
   3139     int _fpu_cmp = 0;
   3140     uint32_t _cf = 0;
   3141     int _df = 1;
   3142     uint32_t _flag_k = FK_NONE;
   3143     uint32_t _flag_a = 0, _flag_b = 0;
   3144     uint32_t _itail_tgt = 0;
   3145     RECOMP_REGS_LOCALS
   3146     RECOMP_ENTER(0x251453C2u);
   3147 
   3148     goto L_251453C2;
   3149 L_251380C4:
   3150     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3151 L_251453C2:
   3152     eax = 0x25165508u; /* 0x251453C2: mov eax, 0x25165508 */
   3153 L_251453C7:
   3154     RECOMP_BACKEDGE();
   3155     goto L_251380C4; /* 0x251453C7: jmp 0x251380c4 */
   3156     { RECOMP_REGS_OUT(); return; } /* end of function */
   3157   _ljump:
   3158     switch (_itail_tgt) {
   3159       case 0x251380C4u: goto L_251380C4;
   3160       case 0x251453C2u: goto L_251453C2;
   3161       case 0x251453C7u: goto L_251453C7;
   3162       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3163     }
   3164     RECOMP_REGS_OUT();
   3165 }
   3166 
   3167 void sub_251453D0(void) {
   3168     int _fpu_cmp = 0;
   3169     uint32_t _cf = 0;
   3170     int _df = 1;
   3171     uint32_t _flag_k = FK_NONE;
   3172     uint32_t _flag_a = 0, _flag_b = 0;
   3173     uint32_t _itail_tgt = 0;
   3174     RECOMP_REGS_LOCALS
   3175     RECOMP_ENTER(0x251453D0u);
   3176 
   3177     goto L_251453D0;
   3178 L_250DB0B0:
   3179     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3180     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3181     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3182     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3183     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3184     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3185     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3186     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3187     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3188     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3189     _flag_k = FK_CMP;
   3190     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3191     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3192     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3193     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3194     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3195     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3196     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3197     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3198     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3199     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3200     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3201     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3202     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3203     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3204     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3205     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3206     _cf = 0;
   3207     _flag_k = FK_TEST;
   3208     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3209     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3211     _flag_k = FK_CMP;
   3212     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3213     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3214 L_250DB11E:
   3215     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3216     RECOMP_FLAGS_IN();
   3217 L_250DB123:
   3218     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3219     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3220     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3221     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3222     RECOMP_FLAGS_IN();
   3223     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3225     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3226     _flag_k = FK_ADD;
   3227     eax = edi; /* 0x250DB135: mov eax, edi */
   3228     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3229     _cf = (eax) != 0;
   3230     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3231     _flag_k = FK_CMP;
   3232     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3233       eax = _sc ? 0xFFFFFFFFu : 0;
   3234       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3235       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3236     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3237     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3238     _cf = 0;
   3239     _flag_k = FK_TEST;
   3240     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3241     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3242     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3243     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3244     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3245     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3246     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3247     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3248     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3249     _flag_k = FK_CMP;
   3250     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3251     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3252     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3253     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3254     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3255 L_250DB16C:
   3256     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3257     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3258     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3259     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3260     RECOMP_FLAGS_IN();
   3261     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3262     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3263     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3264     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3265     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3266     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3267     _flag_k = FK_CMP;
   3268     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3269     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3270     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3271     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3272     _flag_k = FK_NARROW(FK_CMP, 24);
   3273     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3274 L_250DB187:
   3275     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3276     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3277     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3278     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3279     _flag_k = FK_CMP;
   3280     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3281 L_250DB18F:
   3282     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3283     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3284     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3285     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3286     RECOMP_FLAGS_IN();
   3287     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3288     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3289     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3290     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3291     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3292     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3293     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3294     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3295     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3296     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3297     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3298     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3299     RECOMP_FLAGS_IN();
   3300     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3301 L_250DB1BE:
   3302     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3303     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3304     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3305     _flag_k = FK_CMP;
   3306     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3307 L_250DB1C3:
   3308     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3309     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3310     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3311     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3312     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3313     RECOMP_FLAGS_IN();
   3314     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3315     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3316     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3317     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3318     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3319     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3320     RECOMP_FLAGS_IN();
   3321     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3322     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3323     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3324     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3325     _flag_k = FK_CMP;
   3326     RECOMP_BACKEDGE();
   3327     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3328 L_250DB1E6:
   3329     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3330     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3331     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3332     RECOMP_FLAGS_IN();
   3333     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3334     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3335     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3336     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3337     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3338     RECOMP_FLAGS_IN();
   3339     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3340     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3341     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3342     _flag_k = FK_ADD;
   3343     eax = edi; /* 0x250DB201: mov eax, edi */
   3344     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3345     _cf = (eax) != 0;
   3346     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3347     _flag_k = FK_CMP;
   3348     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3349       eax = _sc ? 0xFFFFFFFFu : 0;
   3350       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3351       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3352     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3353     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3354     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3355     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3356     _cf = 0;
   3357     _flag_k = FK_TEST;
   3358     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3359     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3360     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3361     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3362     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3363     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3364     _flag_k = FK_CMP;
   3365     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3366     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3367     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3368     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3369     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3370 L_250DB22E:
   3371     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3372     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3373     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3374     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3375     RECOMP_FLAGS_IN();
   3376     edx = eax; /* 0x250DB239: mov edx, eax */
   3377     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3378     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3379     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3380     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3381     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3382     _flag_k = FK_CMP;
   3383     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3384     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3385     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3386     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3387     _flag_k = FK_NARROW(FK_CMP, 24);
   3388     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3389 L_250DB249:
   3390     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3391     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3392     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3393     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3394     _flag_k = FK_CMP;
   3395     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3396 L_250DB251:
   3397     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3398     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3399     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3400     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3401     RECOMP_FLAGS_IN();
   3402     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3403     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3404     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3405     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3406     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3407     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3408     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3409     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3410     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3411     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3412     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3413     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3414     RECOMP_FLAGS_IN();
   3415     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3416 L_250DB280:
   3417     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3418     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3420     _flag_k = FK_CMP;
   3421     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3422 L_250DB285:
   3423     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3424     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3425     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3426     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3427     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3428     RECOMP_FLAGS_IN();
   3429     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3430     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3431     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3432     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3433     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3434     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3435     RECOMP_FLAGS_IN();
   3436     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3437     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3438     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3439     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3440     _flag_k = FK_CMP;
   3441     RECOMP_BACKEDGE();
   3442     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3443 L_250DB2A8:
   3444     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3445     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3446     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3447     RECOMP_FLAGS_IN();
   3448     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3449     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3450     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3451     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3452     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3453     RECOMP_FLAGS_IN();
   3454     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3455     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3456     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3457     _flag_k = FK_ADD;
   3458     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3459     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3460     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3461     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3462     RECOMP_FLAGS_IN();
   3463     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3464     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3465     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3466     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3467     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3468     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3469     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3470     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3471 L_251453D0:
   3472     ecx = MEM32(ebp + (-0x10)); /* 0x251453D0: mov ecx, dword ptr [ebp - 0x10] */
   3473     RECOMP_BACKEDGE();
   3474     goto L_250DB0B0; /* 0x251453D3: jmp 0x250db0b0 */
   3475     { RECOMP_REGS_OUT(); return; } /* end of function */
   3476     RECOMP_REGS_OUT();
   3477 }
   3478 
   3479 void sub_251453D8(void) {
   3480     int _fpu_cmp = 0;
   3481     uint32_t _cf = 0;
   3482     int _df = 1;
   3483     uint32_t _flag_k = FK_NONE;
   3484     uint32_t _flag_a = 0, _flag_b = 0;
   3485     uint32_t _itail_tgt = 0;
   3486     RECOMP_REGS_LOCALS
   3487     RECOMP_ENTER(0x251453D8u);
   3488 
   3489     goto L_251453D8;
   3490 L_25085240:
   3491     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   3492     ebp = esp; /* 0x25085241: mov ebp, esp */
   3493     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   3494     PUSH32(esp, esi); /* 0x25085244: push esi */
   3495     esi = ecx; /* 0x25085245: mov esi, ecx */
   3496     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   3497     PUSH32(esp, eax); /* 0x2508524A: push eax */
   3498     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   3499     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   3500     RECOMP_FLAGS_IN();
   3501     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3502     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3503     esp = esp + 4; /* 0x25085253: add esp, 4 */
   3504     _flag_k = FK_ADD;
   3505     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3506     eax = 0; /* 0x25085256: xor eax, eax */
   3507     _cf = 0;
   3508     _flag_k = FK_TEST;
   3509     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   3510     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   3511     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   3512     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   3513     esp = ebp; /* 0x25085262: mov esp, ebp */
   3514     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   3515     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   3516 L_251453D8:
   3517     ecx = MEM32(ebp + (-0x10)); /* 0x251453D8: mov ecx, dword ptr [ebp - 0x10] */
   3518     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x21Cu);
   3519     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3520     ecx = ecx + 0x21Cu; /* 0x251453DB: add ecx, 0x21c */
   3521     _flag_k = FK_ADD;
   3522     RECOMP_BACKEDGE();
   3523     goto L_25085240; /* 0x251453E1: jmp 0x25085240 */
   3524     { RECOMP_REGS_OUT(); return; } /* end of function */
   3525     RECOMP_REGS_OUT();
   3526 }
   3527 
   3528 void sub_251453E6(void) {
   3529     int _fpu_cmp = 0;
   3530     uint32_t _cf = 0;
   3531     int _df = 1;
   3532     uint32_t _flag_k = FK_NONE;
   3533     uint32_t _flag_a = 0, _flag_b = 0;
   3534     uint32_t _itail_tgt = 0;
   3535     RECOMP_REGS_LOCALS
   3536     RECOMP_ENTER(0x251453E6u);
   3537 
   3538     goto L_251453E6;
   3539 L_25085240:
   3540     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   3541     ebp = esp; /* 0x25085241: mov ebp, esp */
   3542     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   3543     PUSH32(esp, esi); /* 0x25085244: push esi */
   3544     esi = ecx; /* 0x25085245: mov esi, ecx */
   3545     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   3546     PUSH32(esp, eax); /* 0x2508524A: push eax */
   3547     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   3548     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   3549     RECOMP_FLAGS_IN();
   3550     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3551     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3552     esp = esp + 4; /* 0x25085253: add esp, 4 */
   3553     _flag_k = FK_ADD;
   3554     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3555     eax = 0; /* 0x25085256: xor eax, eax */
   3556     _cf = 0;
   3557     _flag_k = FK_TEST;
   3558     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   3559     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   3560     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   3561     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   3562     esp = ebp; /* 0x25085262: mov esp, ebp */
   3563     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   3564     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   3565 L_251453E6:
   3566     ecx = MEM32(ebp + (-0x10)); /* 0x251453E6: mov ecx, dword ptr [ebp - 0x10] */
   3567     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x248u);
   3568     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3569     ecx = ecx + 0x248u; /* 0x251453E9: add ecx, 0x248 */
   3570     _flag_k = FK_ADD;
   3571     RECOMP_BACKEDGE();
   3572     goto L_25085240; /* 0x251453EF: jmp 0x25085240 */
   3573     { RECOMP_REGS_OUT(); return; } /* end of function */
   3574     RECOMP_REGS_OUT();
   3575 }
   3576 
   3577 void sub_251453F4(void) {
   3578     int _fpu_cmp = 0;
   3579     uint32_t _cf = 0;
   3580     int _df = 1;
   3581     uint32_t _flag_k = FK_NONE;
   3582     uint32_t _flag_a = 0, _flag_b = 0;
   3583     uint32_t _itail_tgt = 0;
   3584     RECOMP_REGS_LOCALS
   3585     RECOMP_ENTER(0x251453F4u);
   3586 
   3587     goto L_251453F4;
   3588 L_25085240:
   3589     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   3590     ebp = esp; /* 0x25085241: mov ebp, esp */
   3591     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   3592     PUSH32(esp, esi); /* 0x25085244: push esi */
   3593     esi = ecx; /* 0x25085245: mov esi, ecx */
   3594     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   3595     PUSH32(esp, eax); /* 0x2508524A: push eax */
   3596     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   3597     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   3598     RECOMP_FLAGS_IN();
   3599     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3600     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3601     esp = esp + 4; /* 0x25085253: add esp, 4 */
   3602     _flag_k = FK_ADD;
   3603     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3604     eax = 0; /* 0x25085256: xor eax, eax */
   3605     _cf = 0;
   3606     _flag_k = FK_TEST;
   3607     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   3608     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   3609     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   3610     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   3611     esp = ebp; /* 0x25085262: mov esp, ebp */
   3612     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   3613     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   3614 L_251453F4:
   3615     ecx = MEM32(ebp + (-0x10)); /* 0x251453F4: mov ecx, dword ptr [ebp - 0x10] */
   3616     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x258u);
   3617     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3618     ecx = ecx + 0x258u; /* 0x251453F7: add ecx, 0x258 */
   3619     _flag_k = FK_ADD;
   3620     RECOMP_BACKEDGE();
   3621     goto L_25085240; /* 0x251453FD: jmp 0x25085240 */
   3622     { RECOMP_REGS_OUT(); return; } /* end of function */
   3623     RECOMP_REGS_OUT();
   3624 }
   3625 
   3626 void sub_25145402(void) {
   3627     int _fpu_cmp = 0;
   3628     uint32_t _cf = 0;
   3629     int _df = 1;
   3630     uint32_t _flag_k = FK_NONE;
   3631     uint32_t _flag_a = 0, _flag_b = 0;
   3632     uint32_t _itail_tgt = 0;
   3633     RECOMP_REGS_LOCALS
   3634     RECOMP_ENTER(0x25145402u);
   3635 
   3636 L_25145402:
   3637     eax = MEM32(ebp + 0x10); /* 0x25145402: mov eax, dword ptr [ebp + 0x10] */
   3638     PUSH32(esp, eax); /* 0x25145405: push eax */
   3639     RECOMP_ICALL(0x25137EECu); /* 0x25145406: call 0x25137eec */ /* not lifted */
   3640     RECOMP_FLAGS_IN();
   3641     ecx = POP32_VAL(esp); /* 0x2514540B: pop ecx */
   3642     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514540C: ret  */
   3643     RECOMP_REGS_OUT();
   3644 }
   3645 
   3646 void sub_2514540D(void) {
   3647     int _fpu_cmp = 0;
   3648     uint32_t _cf = 0;
   3649     int _df = 1;
   3650     uint32_t _flag_k = FK_NONE;
   3651     uint32_t _flag_a = 0, _flag_b = 0;
   3652     uint32_t _itail_tgt = 0;
   3653     RECOMP_REGS_LOCALS
   3654     RECOMP_ENTER(0x2514540Du);
   3655 
   3656 L_2514540D:
   3657     eax = MEM32(ebp + 0x10); /* 0x2514540D: mov eax, dword ptr [ebp + 0x10] */
   3658     PUSH32(esp, eax); /* 0x25145410: push eax */
   3659     RECOMP_ICALL(0x25137EECu); /* 0x25145411: call 0x25137eec */ /* not lifted */
   3660     RECOMP_FLAGS_IN();
   3661     ecx = POP32_VAL(esp); /* 0x25145416: pop ecx */
   3662     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25145417: ret  */
   3663     RECOMP_REGS_OUT();
   3664 }
   3665 
   3666 void sub_25145418(void) {
   3667     int _fpu_cmp = 0;
   3668     uint32_t _cf = 0;
   3669     int _df = 1;
   3670     uint32_t _flag_k = FK_NONE;
   3671     uint32_t _flag_a = 0, _flag_b = 0;
   3672     uint32_t _itail_tgt = 0;
   3673     RECOMP_REGS_LOCALS
   3674     RECOMP_ENTER(0x25145418u);
   3675 
   3676     goto L_25145418;
   3677 L_251380C4:
   3678     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3679 L_25145418:
   3680     eax = 0x25165548u; /* 0x25145418: mov eax, 0x25165548 */
   3681 L_2514541D:
   3682     RECOMP_BACKEDGE();
   3683     goto L_251380C4; /* 0x2514541D: jmp 0x251380c4 */
   3684     { RECOMP_REGS_OUT(); return; } /* end of function */
   3685   _ljump:
   3686     switch (_itail_tgt) {
   3687       case 0x251380C4u: goto L_251380C4;
   3688       case 0x25145418u: goto L_25145418;
   3689       case 0x2514541Du: goto L_2514541D;
   3690       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3691     }
   3692     RECOMP_REGS_OUT();
   3693 }
   3694 
   3695 void sub_25145430(void) {
   3696     int _fpu_cmp = 0;
   3697     uint32_t _cf = 0;
   3698     int _df = 1;
   3699     uint32_t _flag_k = FK_NONE;
   3700     uint32_t _flag_a = 0, _flag_b = 0;
   3701     uint32_t _itail_tgt = 0;
   3702     RECOMP_REGS_LOCALS
   3703     RECOMP_ENTER(0x25145430u);
   3704 
   3705     goto L_25145430;
   3706 L_250DB0B0:
   3707     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3708     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3709     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3710     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3711     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3712     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3713     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3714     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3716     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3717     _flag_k = FK_CMP;
   3718     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3719     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3720     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3721     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3722     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3723     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3724     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3725     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3726     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3727     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3728     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3729     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3730     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3731     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3732     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3733     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3734     _cf = 0;
   3735     _flag_k = FK_TEST;
   3736     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3737     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3738     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3739     _flag_k = FK_CMP;
   3740     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3741     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3742 L_250DB11E:
   3743     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3744     RECOMP_FLAGS_IN();
   3745 L_250DB123:
   3746     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3747     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3748     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3749     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3750     RECOMP_FLAGS_IN();
   3751     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3752     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3753     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3754     _flag_k = FK_ADD;
   3755     eax = edi; /* 0x250DB135: mov eax, edi */
   3756     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3757     _cf = (eax) != 0;
   3758     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3759     _flag_k = FK_CMP;
   3760     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3761       eax = _sc ? 0xFFFFFFFFu : 0;
   3762       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3763       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3764     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3765     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3766     _cf = 0;
   3767     _flag_k = FK_TEST;
   3768     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3769     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3770     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3771     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3772     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3773     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3774     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3775     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3777     _flag_k = FK_CMP;
   3778     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3779     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3780     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3781     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3782     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3783 L_250DB16C:
   3784     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3785     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3786     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3787     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3788     RECOMP_FLAGS_IN();
   3789     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3790     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3791     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3792     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3793     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3795     _flag_k = FK_CMP;
   3796     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3797     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3798     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3799     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3800     _flag_k = FK_NARROW(FK_CMP, 24);
   3801     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3802 L_250DB187:
   3803     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3804     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3805     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3806     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3807     _flag_k = FK_CMP;
   3808     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3809 L_250DB18F:
   3810     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3811     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3812     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3813     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3814     RECOMP_FLAGS_IN();
   3815     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3816     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3817     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3818     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3819     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3820     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3821     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3822     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3823     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3824     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3825     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3826     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3827     RECOMP_FLAGS_IN();
   3828     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3829 L_250DB1BE:
   3830     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3831     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3832     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3833     _flag_k = FK_CMP;
   3834     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3835 L_250DB1C3:
   3836     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3837     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3838     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3839     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3840     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3841     RECOMP_FLAGS_IN();
   3842     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3843     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3844     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3845     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3846     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3847     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3848     RECOMP_FLAGS_IN();
   3849     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3850     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3851     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3853     _flag_k = FK_CMP;
   3854     RECOMP_BACKEDGE();
   3855     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3856 L_250DB1E6:
   3857     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3858     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3859     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3860     RECOMP_FLAGS_IN();
   3861     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3862     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3863     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3864     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3865     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3866     RECOMP_FLAGS_IN();
   3867     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3868     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3869     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3870     _flag_k = FK_ADD;
   3871     eax = edi; /* 0x250DB201: mov eax, edi */
   3872     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3873     _cf = (eax) != 0;
   3874     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3875     _flag_k = FK_CMP;
   3876     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3877       eax = _sc ? 0xFFFFFFFFu : 0;
   3878       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3879       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3880     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3881     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3883     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3884     _cf = 0;
   3885     _flag_k = FK_TEST;
   3886     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3887     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3888     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3889     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3890     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3891     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3892     _flag_k = FK_CMP;
   3893     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3894     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3895     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3896     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3897     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3898 L_250DB22E:
   3899     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3900     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3901     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3902     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3903     RECOMP_FLAGS_IN();
   3904     edx = eax; /* 0x250DB239: mov edx, eax */
   3905     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3906     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3907     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3908     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3909     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3910     _flag_k = FK_CMP;
   3911     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3912     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3913     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3915     _flag_k = FK_NARROW(FK_CMP, 24);
   3916     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3917 L_250DB249:
   3918     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3919     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3920     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3921     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3922     _flag_k = FK_CMP;
   3923     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3924 L_250DB251:
   3925     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3926     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3927     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3928     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3929     RECOMP_FLAGS_IN();
   3930     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3931     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3932     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3933     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3934     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3935     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3936     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3937     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3938     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3939     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3940     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3941     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3942     RECOMP_FLAGS_IN();
   3943     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3944 L_250DB280:
   3945     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3946     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3947     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3948     _flag_k = FK_CMP;
   3949     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3950 L_250DB285:
   3951     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3952     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3953     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3954     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3955     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3956     RECOMP_FLAGS_IN();
   3957     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3958     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3959     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3960     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3961     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3962     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3963     RECOMP_FLAGS_IN();
   3964     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3965     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3966     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3967     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3968     _flag_k = FK_CMP;
   3969     RECOMP_BACKEDGE();
   3970     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3971 L_250DB2A8:
   3972     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3973     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3974     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3975     RECOMP_FLAGS_IN();
   3976     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3977     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3978     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3979     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3980     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3981     RECOMP_FLAGS_IN();
   3982     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3983     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3984     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3985     _flag_k = FK_ADD;
   3986     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3987     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3988     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3989     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3990     RECOMP_FLAGS_IN();
   3991     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3992     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3993     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3994     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3995     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3996     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3997     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3998     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3999 L_25145430:
   4000     ecx = MEM32(ebp + (-0x14)); /* 0x25145430: mov ecx, dword ptr [ebp - 0x14] */
   4001     RECOMP_BACKEDGE();
   4002     goto L_250DB0B0; /* 0x25145433: jmp 0x250db0b0 */
   4003     { RECOMP_REGS_OUT(); return; } /* end of function */
   4004     RECOMP_REGS_OUT();
   4005 }
   4006 
   4007 void sub_25145438(void) {
   4008     int _fpu_cmp = 0;
   4009     uint32_t _cf = 0;
   4010     int _df = 1;
   4011     uint32_t _flag_k = FK_NONE;
   4012     uint32_t _flag_a = 0, _flag_b = 0;
   4013     uint32_t _itail_tgt = 0;
   4014     RECOMP_REGS_LOCALS
   4015     RECOMP_ENTER(0x25145438u);
   4016 
   4017     goto L_25145438;
   4018 L_25085240:
   4019     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   4020     ebp = esp; /* 0x25085241: mov ebp, esp */
   4021     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   4022     PUSH32(esp, esi); /* 0x25085244: push esi */
   4023     esi = ecx; /* 0x25085245: mov esi, ecx */
   4024     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   4025     PUSH32(esp, eax); /* 0x2508524A: push eax */
   4026     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   4027     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   4028     RECOMP_FLAGS_IN();
   4029     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4030     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4031     esp = esp + 4; /* 0x25085253: add esp, 4 */
   4032     _flag_k = FK_ADD;
   4033     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4034     eax = 0; /* 0x25085256: xor eax, eax */
   4035     _cf = 0;
   4036     _flag_k = FK_TEST;
   4037     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   4038     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   4039     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   4040     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   4041     esp = ebp; /* 0x25085262: mov esp, ebp */
   4042     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   4043     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   4044 L_25145438:
   4045     ecx = MEM32(ebp + (-0x14)); /* 0x25145438: mov ecx, dword ptr [ebp - 0x14] */
   4046     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x21Cu);
   4047     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4048     ecx = ecx + 0x21Cu; /* 0x2514543B: add ecx, 0x21c */
   4049     _flag_k = FK_ADD;
   4050     RECOMP_BACKEDGE();
   4051     goto L_25085240; /* 0x25145441: jmp 0x25085240 */
   4052     { RECOMP_REGS_OUT(); return; } /* end of function */
   4053     RECOMP_REGS_OUT();
   4054 }
   4055 
   4056 void sub_25145446(void) {
   4057     int _fpu_cmp = 0;
   4058     uint32_t _cf = 0;
   4059     int _df = 1;
   4060     uint32_t _flag_k = FK_NONE;
   4061     uint32_t _flag_a = 0, _flag_b = 0;
   4062     uint32_t _itail_tgt = 0;
   4063     RECOMP_REGS_LOCALS
   4064     RECOMP_ENTER(0x25145446u);
   4065 
   4066     goto L_25145446;
   4067 L_25085240:
   4068     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   4069     ebp = esp; /* 0x25085241: mov ebp, esp */
   4070     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   4071     PUSH32(esp, esi); /* 0x25085244: push esi */
   4072     esi = ecx; /* 0x25085245: mov esi, ecx */
   4073     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   4074     PUSH32(esp, eax); /* 0x2508524A: push eax */
   4075     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   4076     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   4077     RECOMP_FLAGS_IN();
   4078     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4079     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4080     esp = esp + 4; /* 0x25085253: add esp, 4 */
   4081     _flag_k = FK_ADD;
   4082     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4083     eax = 0; /* 0x25085256: xor eax, eax */
   4084     _cf = 0;
   4085     _flag_k = FK_TEST;
   4086     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   4087     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   4088     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   4089     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   4090     esp = ebp; /* 0x25085262: mov esp, ebp */
   4091     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   4092     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   4093 L_25145446:
   4094     ecx = MEM32(ebp + (-0x14)); /* 0x25145446: mov ecx, dword ptr [ebp - 0x14] */
   4095     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x248u);
   4096     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4097     ecx = ecx + 0x248u; /* 0x25145449: add ecx, 0x248 */
   4098     _flag_k = FK_ADD;
   4099     RECOMP_BACKEDGE();
   4100     goto L_25085240; /* 0x2514544F: jmp 0x25085240 */
   4101     { RECOMP_REGS_OUT(); return; } /* end of function */
   4102     RECOMP_REGS_OUT();
   4103 }
   4104 
   4105 void sub_25145454(void) {
   4106     int _fpu_cmp = 0;
   4107     uint32_t _cf = 0;
   4108     int _df = 1;
   4109     uint32_t _flag_k = FK_NONE;
   4110     uint32_t _flag_a = 0, _flag_b = 0;
   4111     uint32_t _itail_tgt = 0;
   4112     RECOMP_REGS_LOCALS
   4113     RECOMP_ENTER(0x25145454u);
   4114 
   4115     goto L_25145454;
   4116 L_25085240:
   4117     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   4118     ebp = esp; /* 0x25085241: mov ebp, esp */
   4119     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   4120     PUSH32(esp, esi); /* 0x25085244: push esi */
   4121     esi = ecx; /* 0x25085245: mov esi, ecx */
   4122     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   4123     PUSH32(esp, eax); /* 0x2508524A: push eax */
   4124     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   4125     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   4126     RECOMP_FLAGS_IN();
   4127     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4128     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4129     esp = esp + 4; /* 0x25085253: add esp, 4 */
   4130     _flag_k = FK_ADD;
   4131     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4132     eax = 0; /* 0x25085256: xor eax, eax */
   4133     _cf = 0;
   4134     _flag_k = FK_TEST;
   4135     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   4136     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   4137     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   4138     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   4139     esp = ebp; /* 0x25085262: mov esp, ebp */
   4140     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   4141     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   4142 L_25145454:
   4143     ecx = MEM32(ebp + (-0x14)); /* 0x25145454: mov ecx, dword ptr [ebp - 0x14] */
   4144     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x258u);
   4145     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4146     ecx = ecx + 0x258u; /* 0x25145457: add ecx, 0x258 */
   4147     _flag_k = FK_ADD;
   4148     RECOMP_BACKEDGE();
   4149     goto L_25085240; /* 0x2514545D: jmp 0x25085240 */
   4150     { RECOMP_REGS_OUT(); return; } /* end of function */
   4151     RECOMP_REGS_OUT();
   4152 }
   4153 
   4154 void sub_25145462(void) {
   4155     int _fpu_cmp = 0;
   4156     uint32_t _cf = 0;
   4157     int _df = 1;
   4158     uint32_t _flag_k = FK_NONE;
   4159     uint32_t _flag_a = 0, _flag_b = 0;
   4160     uint32_t _itail_tgt = 0;
   4161     RECOMP_REGS_LOCALS
   4162     RECOMP_ENTER(0x25145462u);
   4163 
   4164     goto L_25145462;
   4165 L_251380C4:
   4166     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4167 L_25145462:
   4168     eax = 0x25165598u; /* 0x25145462: mov eax, 0x25165598 */
   4169 L_25145467:
   4170     RECOMP_BACKEDGE();
   4171     goto L_251380C4; /* 0x25145467: jmp 0x251380c4 */
   4172     { RECOMP_REGS_OUT(); return; } /* end of function */
   4173   _ljump:
   4174     switch (_itail_tgt) {
   4175       case 0x251380C4u: goto L_251380C4;
   4176       case 0x25145462u: goto L_25145462;
   4177       case 0x25145467u: goto L_25145467;
   4178       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4179     }
   4180     RECOMP_REGS_OUT();
   4181 }
   4182 
   4183 void sub_25145470(void) {
   4184     int _fpu_cmp = 0;
   4185     uint32_t _cf = 0;
   4186     int _df = 1;
   4187     uint32_t _flag_k = FK_NONE;
   4188     uint32_t _flag_a = 0, _flag_b = 0;
   4189     uint32_t _itail_tgt = 0;
   4190     RECOMP_REGS_LOCALS
   4191     RECOMP_ENTER(0x25145470u);
   4192 
   4193 L_25145470:
   4194     ecx = ebp + (-0x6C); /* 0x25145470: lea ecx, [ebp - 0x6c] */
   4195     goto L_25009BF0; /* 0x25145473: jmp 0x25009bf0 */
   4196     { RECOMP_REGS_OUT(); return; } /* end of function */
   4197     L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; }
   4198     RECOMP_REGS_OUT();
   4199 }
   4200 
   4201 void sub_25145478(void) {
   4202     int _fpu_cmp = 0;
   4203     uint32_t _cf = 0;
   4204     int _df = 1;
   4205     uint32_t _flag_k = FK_NONE;
   4206     uint32_t _flag_a = 0, _flag_b = 0;
   4207     uint32_t _itail_tgt = 0;
   4208     RECOMP_REGS_LOCALS
   4209     RECOMP_ENTER(0x25145478u);
   4210 
   4211 L_25145478:
   4212     ecx = ebp + (-0x5C); /* 0x25145478: lea ecx, [ebp - 0x5c] */
   4213     goto L_25009BF0; /* 0x2514547B: jmp 0x25009bf0 */
   4214     { RECOMP_REGS_OUT(); return; } /* end of function */
   4215     L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; }
   4216     RECOMP_REGS_OUT();
   4217 }
   4218 
   4219 void sub_25145480(void) {
   4220     int _fpu_cmp = 0;
   4221     uint32_t _cf = 0;
   4222     int _df = 1;
   4223     uint32_t _flag_k = FK_NONE;
   4224     uint32_t _flag_a = 0, _flag_b = 0;
   4225     uint32_t _itail_tgt = 0;
   4226     RECOMP_REGS_LOCALS
   4227     RECOMP_ENTER(0x25145480u);
   4228 
   4229 L_25145480:
   4230     ecx = ebp + (-0x4C); /* 0x25145480: lea ecx, [ebp - 0x4c] */
   4231     goto L_25009BC0; /* 0x25145483: jmp 0x25009bc0 */
   4232     { RECOMP_REGS_OUT(); return; } /* end of function */
   4233     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   4234     RECOMP_REGS_OUT();
   4235 }
   4236 
   4237 void sub_25145488(void) {
   4238     int _fpu_cmp = 0;
   4239     uint32_t _cf = 0;
   4240     int _df = 1;
   4241     uint32_t _flag_k = FK_NONE;
   4242     uint32_t _flag_a = 0, _flag_b = 0;
   4243     uint32_t _itail_tgt = 0;
   4244     RECOMP_REGS_LOCALS
   4245     RECOMP_ENTER(0x25145488u);
   4246 
   4247 L_25145488:
   4248     ecx = ebp + (-0x40); /* 0x25145488: lea ecx, [ebp - 0x40] */
   4249     goto L_25009BC0; /* 0x2514548B: jmp 0x25009bc0 */
   4250     { RECOMP_REGS_OUT(); return; } /* end of function */
   4251     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   4252     RECOMP_REGS_OUT();
   4253 }
   4254 
   4255 void sub_25145490(void) {
   4256     int _fpu_cmp = 0;
   4257     uint32_t _cf = 0;
   4258     int _df = 1;
   4259     uint32_t _flag_k = FK_NONE;
   4260     uint32_t _flag_a = 0, _flag_b = 0;
   4261     uint32_t _itail_tgt = 0;
   4262     RECOMP_REGS_LOCALS
   4263     RECOMP_ENTER(0x25145490u);
   4264 
   4265 L_25145490:
   4266     ecx = ebp + (-0x34); /* 0x25145490: lea ecx, [ebp - 0x34] */
   4267     goto L_25009BC0; /* 0x25145493: jmp 0x25009bc0 */
   4268     { RECOMP_REGS_OUT(); return; } /* end of function */
   4269     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   4270     RECOMP_REGS_OUT();
   4271 }
   4272 
   4273 void sub_25145498(void) {
   4274     int _fpu_cmp = 0;
   4275     uint32_t _cf = 0;
   4276     int _df = 1;
   4277     uint32_t _flag_k = FK_NONE;
   4278     uint32_t _flag_a = 0, _flag_b = 0;
   4279     uint32_t _itail_tgt = 0;
   4280     RECOMP_REGS_LOCALS
   4281     RECOMP_ENTER(0x25145498u);
   4282 
   4283 L_25145498:
   4284     ecx = ebp + (-0x28); /* 0x25145498: lea ecx, [ebp - 0x28] */
   4285     goto L_25009BC0; /* 0x2514549B: jmp 0x25009bc0 */
   4286     { RECOMP_REGS_OUT(); return; } /* end of function */
   4287     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   4288     RECOMP_REGS_OUT();
   4289 }
   4290 
   4291 void sub_251454A0(void) {
   4292     int _fpu_cmp = 0;
   4293     uint32_t _cf = 0;
   4294     int _df = 1;
   4295     uint32_t _flag_k = FK_NONE;
   4296     uint32_t _flag_a = 0, _flag_b = 0;
   4297     uint32_t _itail_tgt = 0;
   4298     RECOMP_REGS_LOCALS
   4299     RECOMP_ENTER(0x251454A0u);
   4300 
   4301     goto L_251454A0;
   4302 L_251380C4:
   4303     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4304 L_251454A0:
   4305     eax = 0x251655D8u; /* 0x251454A0: mov eax, 0x251655d8 */
   4306 L_251454A5:
   4307     RECOMP_BACKEDGE();
   4308     goto L_251380C4; /* 0x251454A5: jmp 0x251380c4 */
   4309     { RECOMP_REGS_OUT(); return; } /* end of function */
   4310   _ljump:
   4311     switch (_itail_tgt) {
   4312       case 0x251380C4u: goto L_251380C4;
   4313       case 0x251454A0u: goto L_251454A0;
   4314       case 0x251454A5u: goto L_251454A5;
   4315       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4316     }
   4317     RECOMP_REGS_OUT();
   4318 }
   4319 
   4320 void sub_251454B0(void) {
   4321     int _fpu_cmp = 0;
   4322     uint32_t _cf = 0;
   4323     int _df = 1;
   4324     uint32_t _flag_k = FK_NONE;
   4325     uint32_t _flag_a = 0, _flag_b = 0;
   4326     uint32_t _itail_tgt = 0;
   4327     RECOMP_REGS_LOCALS
   4328     RECOMP_ENTER(0x251454B0u);
   4329 
   4330     goto L_251454B0;
   4331 L_250DB0B0:
   4332     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   4333     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   4334     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   4335     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   4336     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   4337     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   4338     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   4339     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4340     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4341     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   4342     _flag_k = FK_CMP;
   4343     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   4344     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   4345     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   4346     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   4347     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   4348     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   4349     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   4350     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   4351     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   4352     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   4353     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   4354     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   4355     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   4356     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   4357     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4358     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   4359     _cf = 0;
   4360     _flag_k = FK_TEST;
   4361     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4362     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4363     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4364     _flag_k = FK_CMP;
   4365     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4366     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4367 L_250DB11E:
   4368     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4369     RECOMP_FLAGS_IN();
   4370 L_250DB123:
   4371     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4372     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4373     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4374     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4375     RECOMP_FLAGS_IN();
   4376     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4377     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4378     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4379     _flag_k = FK_ADD;
   4380     eax = edi; /* 0x250DB135: mov eax, edi */
   4381     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4382     _cf = (eax) != 0;
   4383     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4384     _flag_k = FK_CMP;
   4385     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4386       eax = _sc ? 0xFFFFFFFFu : 0;
   4387       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4388       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4389     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4390     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4391     _cf = 0;
   4392     _flag_k = FK_TEST;
   4393     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4394     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4395     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4396     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4397     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4398     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4399     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4400     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4401     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4402     _flag_k = FK_CMP;
   4403     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4404     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4405     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4406     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   4407     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   4408 L_250DB16C:
   4409     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   4410     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   4411     ecx = esi; /* 0x250DB170: mov ecx, esi */
   4412     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   4413     RECOMP_FLAGS_IN();
   4414     ecx = eax; /* 0x250DB177: mov ecx, eax */
   4415     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   4416     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   4417     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   4418     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4420     _flag_k = FK_CMP;
   4421     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   4422     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   4423     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4424     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4425     _flag_k = FK_NARROW(FK_CMP, 24);
   4426     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   4427 L_250DB187:
   4428     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   4429     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   4430     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4432     _flag_k = FK_CMP;
   4433     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   4434 L_250DB18F:
   4435     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   4436     PUSH32(esp, edx); /* 0x250DB192: push edx */
   4437     ecx = esi; /* 0x250DB193: mov ecx, esi */
   4438     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   4439     RECOMP_FLAGS_IN();
   4440     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   4441     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   4442     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   4443     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   4444     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   4445     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   4446     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   4447     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   4448     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   4449     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   4450     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   4451     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   4452     RECOMP_FLAGS_IN();
   4453     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   4454 L_250DB1BE:
   4455     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   4456     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   4457     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4458     _flag_k = FK_CMP;
   4459     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   4460 L_250DB1C3:
   4461     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   4462     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   4463     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   4464     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   4465     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   4466     RECOMP_FLAGS_IN();
   4467     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   4468     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   4469     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   4470     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   4471     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   4472     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   4473     RECOMP_FLAGS_IN();
   4474     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   4475     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   4476     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   4477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4478     _flag_k = FK_CMP;
   4479     RECOMP_BACKEDGE();
   4480     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   4481 L_250DB1E6:
   4482     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   4483     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   4484     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   4485     RECOMP_FLAGS_IN();
   4486     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   4487     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   4488     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   4489     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   4490     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   4491     RECOMP_FLAGS_IN();
   4492     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4493     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4494     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   4495     _flag_k = FK_ADD;
   4496     eax = edi; /* 0x250DB201: mov eax, edi */
   4497     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4498     _cf = (eax) != 0;
   4499     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   4500     _flag_k = FK_CMP;
   4501     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   4502       eax = _sc ? 0xFFFFFFFFu : 0;
   4503       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4504       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4505     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   4506     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   4507     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4508     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   4509     _cf = 0;
   4510     _flag_k = FK_TEST;
   4511     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   4512     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   4513     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   4514     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   4515     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4516     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4517     _flag_k = FK_CMP;
   4518     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   4519     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   4520     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   4521     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   4522     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   4523 L_250DB22E:
   4524     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   4525     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   4526     ecx = esi; /* 0x250DB232: mov ecx, esi */
   4527     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   4528     RECOMP_FLAGS_IN();
   4529     edx = eax; /* 0x250DB239: mov edx, eax */
   4530     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   4531     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   4532     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   4533     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4534     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4535     _flag_k = FK_CMP;
   4536     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   4537     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   4538     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4539     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4540     _flag_k = FK_NARROW(FK_CMP, 24);
   4541     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   4542 L_250DB249:
   4543     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   4544     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   4545     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   4546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4547     _flag_k = FK_CMP;
   4548     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   4549 L_250DB251:
   4550     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   4551     PUSH32(esp, eax); /* 0x250DB254: push eax */
   4552     ecx = esi; /* 0x250DB255: mov ecx, esi */
   4553     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   4554     RECOMP_FLAGS_IN();
   4555     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   4556     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   4557     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   4558     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   4559     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   4560     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   4561     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   4562     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   4563     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   4564     PUSH32(esp, eax); /* 0x250DB276: push eax */
   4565     ecx = esi; /* 0x250DB277: mov ecx, esi */
   4566     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   4567     RECOMP_FLAGS_IN();
   4568     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   4569 L_250DB280:
   4570     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   4571     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   4572     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4573     _flag_k = FK_CMP;
   4574     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   4575 L_250DB285:
   4576     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   4577     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   4578     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   4579     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   4580     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   4581     RECOMP_FLAGS_IN();
   4582     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   4583     PUSH32(esp, edx); /* 0x250DB294: push edx */
   4584     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   4585     PUSH32(esp, eax); /* 0x250DB298: push eax */
   4586     ecx = esi; /* 0x250DB299: mov ecx, esi */
   4587     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   4588     RECOMP_FLAGS_IN();
   4589     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   4590     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   4591     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4592     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4593     _flag_k = FK_CMP;
   4594     RECOMP_BACKEDGE();
   4595     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   4596 L_250DB2A8:
   4597     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   4598     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   4599     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   4600     RECOMP_FLAGS_IN();
   4601     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   4602     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   4603     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   4604     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   4605     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   4606     RECOMP_FLAGS_IN();
   4607     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4608     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4609     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   4610     _flag_k = FK_ADD;
   4611     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   4612     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   4613     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   4614     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   4615     RECOMP_FLAGS_IN();
   4616     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   4617     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   4618     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   4619     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   4620     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   4621     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   4622     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   4623     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   4624 L_251454B0:
   4625     ecx = MEM32(ebp + (-0x24)); /* 0x251454B0: mov ecx, dword ptr [ebp - 0x24] */
   4626     RECOMP_BACKEDGE();
   4627     goto L_250DB0B0; /* 0x251454B3: jmp 0x250db0b0 */
   4628     { RECOMP_REGS_OUT(); return; } /* end of function */
   4629     RECOMP_REGS_OUT();
   4630 }
   4631 
   4632 void sub_251454B8(void) {
   4633     int _fpu_cmp = 0;
   4634     uint32_t _cf = 0;
   4635     int _df = 1;
   4636     uint32_t _flag_k = FK_NONE;
   4637     uint32_t _flag_a = 0, _flag_b = 0;
   4638     uint32_t _itail_tgt = 0;
   4639     RECOMP_REGS_LOCALS
   4640     RECOMP_ENTER(0x251454B8u);
   4641 
   4642     goto L_251454B8;
   4643 L_251380C4:
   4644     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4645 L_251454B8:
   4646     eax = 0x25165628u; /* 0x251454B8: mov eax, 0x25165628 */
   4647 L_251454BD:
   4648     RECOMP_BACKEDGE();
   4649     goto L_251380C4; /* 0x251454BD: jmp 0x251380c4 */
   4650     { RECOMP_REGS_OUT(); return; } /* end of function */
   4651   _ljump:
   4652     switch (_itail_tgt) {
   4653       case 0x251380C4u: goto L_251380C4;
   4654       case 0x251454B8u: goto L_251454B8;
   4655       case 0x251454BDu: goto L_251454BD;
   4656       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4657     }
   4658     RECOMP_REGS_OUT();
   4659 }
   4660 
   4661 void sub_251454D0(void) {
   4662     int _fpu_cmp = 0;
   4663     uint32_t _cf = 0;
   4664     int _df = 1;
   4665     uint32_t _flag_k = FK_NONE;
   4666     uint32_t _flag_a = 0, _flag_b = 0;
   4667     uint32_t _itail_tgt = 0;
   4668     RECOMP_REGS_LOCALS
   4669     RECOMP_ENTER(0x251454D0u);
   4670 
   4671     goto L_251454D0;
   4672 L_250DB0B0:
   4673     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   4674     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   4675     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   4676     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   4677     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   4678     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   4679     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   4680     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4681     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4682     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   4683     _flag_k = FK_CMP;
   4684     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   4685     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   4686     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   4687     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   4688     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   4689     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   4690     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   4691     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   4692     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   4693     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   4694     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   4695     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   4696     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   4697     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   4698     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4699     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   4700     _cf = 0;
   4701     _flag_k = FK_TEST;
   4702     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4703     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4704     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4705     _flag_k = FK_CMP;
   4706     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4707     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4708 L_250DB11E:
   4709     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4710     RECOMP_FLAGS_IN();
   4711 L_250DB123:
   4712     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4713     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4714     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4715     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4716     RECOMP_FLAGS_IN();
   4717     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4718     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4719     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4720     _flag_k = FK_ADD;
   4721     eax = edi; /* 0x250DB135: mov eax, edi */
   4722     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4723     _cf = (eax) != 0;
   4724     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4725     _flag_k = FK_CMP;
   4726     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4727       eax = _sc ? 0xFFFFFFFFu : 0;
   4728       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4729       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4730     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4731     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4732     _cf = 0;
   4733     _flag_k = FK_TEST;
   4734     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4735     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4736     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4737     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4738     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4739     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4740     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4741     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4742     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4743     _flag_k = FK_CMP;
   4744     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4745     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4746     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4747     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   4748     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   4749 L_250DB16C:
   4750     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   4751     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   4752     ecx = esi; /* 0x250DB170: mov ecx, esi */
   4753     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   4754     RECOMP_FLAGS_IN();
   4755     ecx = eax; /* 0x250DB177: mov ecx, eax */
   4756     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   4757     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   4758     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   4759     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4760     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4761     _flag_k = FK_CMP;
   4762     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   4763     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   4764     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4765     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4766     _flag_k = FK_NARROW(FK_CMP, 24);
   4767     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   4768 L_250DB187:
   4769     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   4770     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   4771     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4772     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4773     _flag_k = FK_CMP;
   4774     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   4775 L_250DB18F:
   4776     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   4777     PUSH32(esp, edx); /* 0x250DB192: push edx */
   4778     ecx = esi; /* 0x250DB193: mov ecx, esi */
   4779     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   4780     RECOMP_FLAGS_IN();
   4781     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   4782     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   4783     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   4784     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   4785     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   4786     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   4787     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   4788     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   4789     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   4790     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   4791     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   4792     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   4793     RECOMP_FLAGS_IN();
   4794     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   4795 L_250DB1BE:
   4796     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   4797     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   4798     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4799     _flag_k = FK_CMP;
   4800     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   4801 L_250DB1C3:
   4802     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   4803     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   4804     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   4805     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   4806     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   4807     RECOMP_FLAGS_IN();
   4808     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   4809     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   4810     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   4811     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   4812     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   4813     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   4814     RECOMP_FLAGS_IN();
   4815     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   4816     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   4817     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   4818     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4819     _flag_k = FK_CMP;
   4820     RECOMP_BACKEDGE();
   4821     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   4822 L_250DB1E6:
   4823     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   4824     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   4825     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   4826     RECOMP_FLAGS_IN();
   4827     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   4828     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   4829     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   4830     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   4831     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   4832     RECOMP_FLAGS_IN();
   4833     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4834     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4835     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   4836     _flag_k = FK_ADD;
   4837     eax = edi; /* 0x250DB201: mov eax, edi */
   4838     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4839     _cf = (eax) != 0;
   4840     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   4841     _flag_k = FK_CMP;
   4842     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   4843       eax = _sc ? 0xFFFFFFFFu : 0;
   4844       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4845       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4846     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   4847     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   4848     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4849     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   4850     _cf = 0;
   4851     _flag_k = FK_TEST;
   4852     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   4853     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   4854     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   4855     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   4856     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4857     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4858     _flag_k = FK_CMP;
   4859     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   4860     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   4861     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   4862     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   4863     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   4864 L_250DB22E:
   4865     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   4866     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   4867     ecx = esi; /* 0x250DB232: mov ecx, esi */
   4868     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   4869     RECOMP_FLAGS_IN();
   4870     edx = eax; /* 0x250DB239: mov edx, eax */
   4871     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   4872     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   4873     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   4874     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4876     _flag_k = FK_CMP;
   4877     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   4878     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   4879     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4880     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4881     _flag_k = FK_NARROW(FK_CMP, 24);
   4882     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   4883 L_250DB249:
   4884     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   4885     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   4886     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   4887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4888     _flag_k = FK_CMP;
   4889     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   4890 L_250DB251:
   4891     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   4892     PUSH32(esp, eax); /* 0x250DB254: push eax */
   4893     ecx = esi; /* 0x250DB255: mov ecx, esi */
   4894     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   4895     RECOMP_FLAGS_IN();
   4896     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   4897     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   4898     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   4899     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   4900     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   4901     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   4902     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   4903     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   4904     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   4905     PUSH32(esp, eax); /* 0x250DB276: push eax */
   4906     ecx = esi; /* 0x250DB277: mov ecx, esi */
   4907     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   4908     RECOMP_FLAGS_IN();
   4909     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   4910 L_250DB280:
   4911     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   4912     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   4913     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4914     _flag_k = FK_CMP;
   4915     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   4916 L_250DB285:
   4917     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   4918     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   4919     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   4920     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   4921     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   4922     RECOMP_FLAGS_IN();
   4923     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   4924     PUSH32(esp, edx); /* 0x250DB294: push edx */
   4925     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   4926     PUSH32(esp, eax); /* 0x250DB298: push eax */
   4927     ecx = esi; /* 0x250DB299: mov ecx, esi */
   4928     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   4929     RECOMP_FLAGS_IN();
   4930     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   4931     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   4932     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4934     _flag_k = FK_CMP;
   4935     RECOMP_BACKEDGE();
   4936     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   4937 L_250DB2A8:
   4938     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   4939     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   4940     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   4941     RECOMP_FLAGS_IN();
   4942     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   4943     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   4944     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   4945     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   4946     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   4947     RECOMP_FLAGS_IN();
   4948     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4949     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4950     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   4951     _flag_k = FK_ADD;
   4952     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   4953     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   4954     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   4955     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   4956     RECOMP_FLAGS_IN();
   4957     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   4958     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   4959     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   4960     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   4961     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   4962     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   4963     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   4964     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   4965 L_251454D0:
   4966     ecx = MEM32(ebp + (-0x10)); /* 0x251454D0: mov ecx, dword ptr [ebp - 0x10] */
   4967     RECOMP_BACKEDGE();
   4968     goto L_250DB0B0; /* 0x251454D3: jmp 0x250db0b0 */
   4969     { RECOMP_REGS_OUT(); return; } /* end of function */
   4970     RECOMP_REGS_OUT();
   4971 }
   4972 
   4973 void sub_251454D8(void) {
   4974     int _fpu_cmp = 0;
   4975     uint32_t _cf = 0;
   4976     int _df = 1;
   4977     uint32_t _flag_k = FK_NONE;
   4978     uint32_t _flag_a = 0, _flag_b = 0;
   4979     uint32_t _itail_tgt = 0;
   4980     RECOMP_REGS_LOCALS
   4981     RECOMP_ENTER(0x251454D8u);
   4982 
   4983     goto L_251454D8;
   4984 L_25085170:
   4985     PUSH32(esp, ebx); /* 0x25085170: push ebx */
   4986     PUSH32(esp, esi); /* 0x25085171: push esi */
   4987     PUSH32(esp, edi); /* 0x25085172: push edi */
   4988     edi = ecx; /* 0x25085173: mov edi, ecx */
   4989     ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */
   4990     esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */
   4991     /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */
   4992     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4993     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4994     _flag_k = FK_CMP;
   4995     if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */
   4996 L_2508517E:
   4997     eax = esi; /* 0x2508517E: mov eax, esi */
   4998     ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */
   4999     edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */
   5000     esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */
   5001     MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */
   5002     ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */
   5003     edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */
   5004     PUSH32(esp, eax); /* 0x2508518E: push eax */
   5005     MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */
   5006     RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */
   5007     RECOMP_FLAGS_IN();
   5008     ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */
   5009     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5010     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5011     esp = esp + 4; /* 0x2508519A: add esp, 4 */
   5012     _flag_k = FK_ADD;
   5013     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5014     ecx = ecx - 1; /* 0x2508519D: dec ecx */
   5015     _flag_k = FK_DEC;
   5016     /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */
   5017     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5018     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5019     _flag_k = FK_CMP;
   5020     MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */
   5021     RECOMP_BACKEDGE();
   5022     if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */
   5023 L_250851A5:
   5024     eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */
   5025     PUSH32(esp, eax); /* 0x250851A8: push eax */
   5026     RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */
   5027     RECOMP_FLAGS_IN();
   5028     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5029     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5030     esp = esp + 4; /* 0x250851AE: add esp, 4 */
   5031     _flag_k = FK_ADD;
   5032     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5033     eax = 0; /* 0x250851B1: xor eax, eax */
   5034     _cf = 0;
   5035     _flag_k = FK_TEST;
   5036     MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */
   5037     MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */
   5038     edi = POP32_VAL(esp); /* 0x250851B9: pop edi */
   5039     esi = POP32_VAL(esp); /* 0x250851BA: pop esi */
   5040     ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */
   5041     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret  */
   5042 L_251454D8:
   5043     ecx = MEM32(ebp + (-0x10)); /* 0x251454D8: mov ecx, dword ptr [ebp - 0x10] */
   5044     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x218u);
   5045     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5046     ecx = ecx + 0x218u; /* 0x251454DB: add ecx, 0x218 */
   5047     _flag_k = FK_ADD;
   5048     RECOMP_BACKEDGE();
   5049     goto L_25085170; /* 0x251454E1: jmp 0x25085170 */
   5050     { RECOMP_REGS_OUT(); return; } /* end of function */
   5051     RECOMP_REGS_OUT();
   5052 }
   5053 
   5054 void sub_251454E6(void) {
   5055     int _fpu_cmp = 0;
   5056     uint32_t _cf = 0;
   5057     int _df = 1;
   5058     uint32_t _flag_k = FK_NONE;
   5059     uint32_t _flag_a = 0, _flag_b = 0;
   5060     uint32_t _itail_tgt = 0;
   5061     RECOMP_REGS_LOCALS
   5062     RECOMP_ENTER(0x251454E6u);
   5063 
   5064 L_251454E6:
   5065     eax = MEM32(ebp + 0x10); /* 0x251454E6: mov eax, dword ptr [ebp + 0x10] */
   5066     PUSH32(esp, eax); /* 0x251454E9: push eax */
   5067     RECOMP_ICALL(0x25137EECu); /* 0x251454EA: call 0x25137eec */ /* not lifted */
   5068     RECOMP_FLAGS_IN();
   5069     ecx = POP32_VAL(esp); /* 0x251454EF: pop ecx */
   5070     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251454F0: ret  */
   5071     RECOMP_REGS_OUT();
   5072 }
   5073 
   5074 void sub_251454F1(void) {
   5075     int _fpu_cmp = 0;
   5076     uint32_t _cf = 0;
   5077     int _df = 1;
   5078     uint32_t _flag_k = FK_NONE;
   5079     uint32_t _flag_a = 0, _flag_b = 0;
   5080     uint32_t _itail_tgt = 0;
   5081     RECOMP_REGS_LOCALS
   5082     RECOMP_ENTER(0x251454F1u);
   5083 
   5084 L_251454F1:
   5085     eax = MEM32(ebp + 0x10); /* 0x251454F1: mov eax, dword ptr [ebp + 0x10] */
   5086     PUSH32(esp, eax); /* 0x251454F4: push eax */
   5087     RECOMP_ICALL(0x25137EECu); /* 0x251454F5: call 0x25137eec */ /* not lifted */
   5088     RECOMP_FLAGS_IN();
   5089     ecx = POP32_VAL(esp); /* 0x251454FA: pop ecx */
   5090     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251454FB: ret  */
   5091     RECOMP_REGS_OUT();
   5092 }
   5093 
   5094 void sub_251454FC(void) {
   5095     int _fpu_cmp = 0;
   5096     uint32_t _cf = 0;
   5097     int _df = 1;
   5098     uint32_t _flag_k = FK_NONE;
   5099     uint32_t _flag_a = 0, _flag_b = 0;
   5100     uint32_t _itail_tgt = 0;
   5101     RECOMP_REGS_LOCALS
   5102     RECOMP_ENTER(0x251454FCu);
   5103 
   5104     goto L_251454FC;
   5105 L_251380C4:
   5106     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5107 L_251454FC:
   5108     eax = 0x25165650u; /* 0x251454FC: mov eax, 0x25165650 */
   5109 L_25145501:
   5110     RECOMP_BACKEDGE();
   5111     goto L_251380C4; /* 0x25145501: jmp 0x251380c4 */
   5112     { RECOMP_REGS_OUT(); return; } /* end of function */
   5113   _ljump:
   5114     switch (_itail_tgt) {
   5115       case 0x251380C4u: goto L_251380C4;
   5116       case 0x251454FCu: goto L_251454FC;
   5117       case 0x25145501u: goto L_25145501;
   5118       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5119     }
   5120     RECOMP_REGS_OUT();
   5121 }
   5122 
   5123 void sub_25145510(void) {
   5124     int _fpu_cmp = 0;
   5125     uint32_t _cf = 0;
   5126     int _df = 1;
   5127     uint32_t _flag_k = FK_NONE;
   5128     uint32_t _flag_a = 0, _flag_b = 0;
   5129     uint32_t _itail_tgt = 0;
   5130     RECOMP_REGS_LOCALS
   5131     RECOMP_ENTER(0x25145510u);
   5132 
   5133     goto L_25145510;
   5134 L_250DB0B0:
   5135     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   5136     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   5137     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   5138     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   5139     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   5140     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   5141     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   5142     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   5143     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5144     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   5145     _flag_k = FK_CMP;
   5146     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   5147     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   5148     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   5149     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   5150     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   5151     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   5152     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   5153     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   5154     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   5155     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   5156     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   5157     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   5158     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   5159     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   5160     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5161     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   5162     _cf = 0;
   5163     _flag_k = FK_TEST;
   5164     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   5165     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5167     _flag_k = FK_CMP;
   5168     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   5169     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   5170 L_250DB11E:
   5171     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   5172     RECOMP_FLAGS_IN();
   5173 L_250DB123:
   5174     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   5175     PUSH32(esp, eax); /* 0x250DB129: push eax */
   5176     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   5177     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   5178     RECOMP_FLAGS_IN();
   5179     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5180     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5181     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   5182     _flag_k = FK_ADD;
   5183     eax = edi; /* 0x250DB135: mov eax, edi */
   5184     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5185     _cf = (eax) != 0;
   5186     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   5187     _flag_k = FK_CMP;
   5188     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   5189       eax = _sc ? 0xFFFFFFFFu : 0;
   5190       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5191       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5192     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5193     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   5194     _cf = 0;
   5195     _flag_k = FK_TEST;
   5196     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   5197     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   5198     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   5199     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   5200     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   5201     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   5202     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   5203     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5204     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5205     _flag_k = FK_CMP;
   5206     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   5207     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   5208     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   5209     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   5210     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   5211 L_250DB16C:
   5212     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   5213     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   5214     ecx = esi; /* 0x250DB170: mov ecx, esi */
   5215     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   5216     RECOMP_FLAGS_IN();
   5217     ecx = eax; /* 0x250DB177: mov ecx, eax */
   5218     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   5219     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   5220     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   5221     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5222     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5223     _flag_k = FK_CMP;
   5224     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   5225     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   5226     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5227     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5228     _flag_k = FK_NARROW(FK_CMP, 24);
   5229     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   5230 L_250DB187:
   5231     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   5232     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   5233     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5234     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5235     _flag_k = FK_CMP;
   5236     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   5237 L_250DB18F:
   5238     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   5239     PUSH32(esp, edx); /* 0x250DB192: push edx */
   5240     ecx = esi; /* 0x250DB193: mov ecx, esi */
   5241     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   5242     RECOMP_FLAGS_IN();
   5243     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   5244     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   5245     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   5246     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   5247     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   5248     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   5249     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   5250     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   5251     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   5252     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   5253     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   5254     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   5255     RECOMP_FLAGS_IN();
   5256     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   5257 L_250DB1BE:
   5258     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   5259     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   5260     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5261     _flag_k = FK_CMP;
   5262     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   5263 L_250DB1C3:
   5264     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   5265     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   5266     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   5267     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   5268     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   5269     RECOMP_FLAGS_IN();
   5270     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   5271     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   5272     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   5273     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   5274     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   5275     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   5276     RECOMP_FLAGS_IN();
   5277     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   5278     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   5279     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   5280     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5281     _flag_k = FK_CMP;
   5282     RECOMP_BACKEDGE();
   5283     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   5284 L_250DB1E6:
   5285     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   5286     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   5287     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   5288     RECOMP_FLAGS_IN();
   5289     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   5290     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   5291     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   5292     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   5293     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   5294     RECOMP_FLAGS_IN();
   5295     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5296     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5297     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   5298     _flag_k = FK_ADD;
   5299     eax = edi; /* 0x250DB201: mov eax, edi */
   5300     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5301     _cf = (eax) != 0;
   5302     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   5303     _flag_k = FK_CMP;
   5304     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   5305       eax = _sc ? 0xFFFFFFFFu : 0;
   5306       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5307       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5308     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   5309     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   5310     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5311     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   5312     _cf = 0;
   5313     _flag_k = FK_TEST;
   5314     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   5315     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   5316     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   5317     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   5318     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5319     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5320     _flag_k = FK_CMP;
   5321     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   5322     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   5323     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   5324     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   5325     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   5326 L_250DB22E:
   5327     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   5328     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   5329     ecx = esi; /* 0x250DB232: mov ecx, esi */
   5330     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   5331     RECOMP_FLAGS_IN();
   5332     edx = eax; /* 0x250DB239: mov edx, eax */
   5333     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   5334     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   5335     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   5336     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5338     _flag_k = FK_CMP;
   5339     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   5340     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   5341     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5342     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5343     _flag_k = FK_NARROW(FK_CMP, 24);
   5344     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   5345 L_250DB249:
   5346     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   5347     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   5348     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   5349     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5350     _flag_k = FK_CMP;
   5351     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   5352 L_250DB251:
   5353     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   5354     PUSH32(esp, eax); /* 0x250DB254: push eax */
   5355     ecx = esi; /* 0x250DB255: mov ecx, esi */
   5356     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   5357     RECOMP_FLAGS_IN();
   5358     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   5359     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   5360     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   5361     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   5362     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   5363     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   5364     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   5365     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   5366     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   5367     PUSH32(esp, eax); /* 0x250DB276: push eax */
   5368     ecx = esi; /* 0x250DB277: mov ecx, esi */
   5369     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   5370     RECOMP_FLAGS_IN();
   5371     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   5372 L_250DB280:
   5373     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   5374     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   5375     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5376     _flag_k = FK_CMP;
   5377     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   5378 L_250DB285:
   5379     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   5380     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   5381     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   5382     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   5383     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   5384     RECOMP_FLAGS_IN();
   5385     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   5386     PUSH32(esp, edx); /* 0x250DB294: push edx */
   5387     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   5388     PUSH32(esp, eax); /* 0x250DB298: push eax */
   5389     ecx = esi; /* 0x250DB299: mov ecx, esi */
   5390     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   5391     RECOMP_FLAGS_IN();
   5392     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   5393     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   5394     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5396     _flag_k = FK_CMP;
   5397     RECOMP_BACKEDGE();
   5398     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   5399 L_250DB2A8:
   5400     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   5401     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   5402     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   5403     RECOMP_FLAGS_IN();
   5404     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   5405     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   5406     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   5407     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   5408     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   5409     RECOMP_FLAGS_IN();
   5410     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5411     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5412     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   5413     _flag_k = FK_ADD;
   5414     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   5415     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   5416     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   5417     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   5418     RECOMP_FLAGS_IN();
   5419     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   5420     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   5421     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   5422     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   5423     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   5424     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   5425     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   5426     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   5427 L_25145510:
   5428     ecx = MEM32(ebp + (-0x10)); /* 0x25145510: mov ecx, dword ptr [ebp - 0x10] */
   5429     RECOMP_BACKEDGE();
   5430     goto L_250DB0B0; /* 0x25145513: jmp 0x250db0b0 */
   5431     { RECOMP_REGS_OUT(); return; } /* end of function */
   5432     RECOMP_REGS_OUT();
   5433 }
   5434 
   5435 void sub_25145518(void) {
   5436     int _fpu_cmp = 0;
   5437     uint32_t _cf = 0;
   5438     int _df = 1;
   5439     uint32_t _flag_k = FK_NONE;
   5440     uint32_t _flag_a = 0, _flag_b = 0;
   5441     uint32_t _itail_tgt = 0;
   5442     RECOMP_REGS_LOCALS
   5443     RECOMP_ENTER(0x25145518u);
   5444 
   5445     goto L_25145518;
   5446 L_25085170:
   5447     PUSH32(esp, ebx); /* 0x25085170: push ebx */
   5448     PUSH32(esp, esi); /* 0x25085171: push esi */
   5449     PUSH32(esp, edi); /* 0x25085172: push edi */
   5450     edi = ecx; /* 0x25085173: mov edi, ecx */
   5451     ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */
   5452     esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */
   5453     /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */
   5454     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5455     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5456     _flag_k = FK_CMP;
   5457     if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */
   5458 L_2508517E:
   5459     eax = esi; /* 0x2508517E: mov eax, esi */
   5460     ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */
   5461     edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */
   5462     esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */
   5463     MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */
   5464     ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */
   5465     edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */
   5466     PUSH32(esp, eax); /* 0x2508518E: push eax */
   5467     MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */
   5468     RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */
   5469     RECOMP_FLAGS_IN();
   5470     ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */
   5471     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5472     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5473     esp = esp + 4; /* 0x2508519A: add esp, 4 */
   5474     _flag_k = FK_ADD;
   5475     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5476     ecx = ecx - 1; /* 0x2508519D: dec ecx */
   5477     _flag_k = FK_DEC;
   5478     /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */
   5479     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5480     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5481     _flag_k = FK_CMP;
   5482     MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */
   5483     RECOMP_BACKEDGE();
   5484     if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */
   5485 L_250851A5:
   5486     eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */
   5487     PUSH32(esp, eax); /* 0x250851A8: push eax */
   5488     RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */
   5489     RECOMP_FLAGS_IN();
   5490     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5491     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5492     esp = esp + 4; /* 0x250851AE: add esp, 4 */
   5493     _flag_k = FK_ADD;
   5494     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5495     eax = 0; /* 0x250851B1: xor eax, eax */
   5496     _cf = 0;
   5497     _flag_k = FK_TEST;
   5498     MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */
   5499     MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */
   5500     edi = POP32_VAL(esp); /* 0x250851B9: pop edi */
   5501     esi = POP32_VAL(esp); /* 0x250851BA: pop esi */
   5502     ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */
   5503     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret  */
   5504 L_25145518:
   5505     ecx = MEM32(ebp + (-0x10)); /* 0x25145518: mov ecx, dword ptr [ebp - 0x10] */
   5506     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x218u);
   5507     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5508     ecx = ecx + 0x218u; /* 0x2514551B: add ecx, 0x218 */
   5509     _flag_k = FK_ADD;
   5510     RECOMP_BACKEDGE();
   5511     goto L_25085170; /* 0x25145521: jmp 0x25085170 */
   5512     { RECOMP_REGS_OUT(); return; } /* end of function */
   5513     RECOMP_REGS_OUT();
   5514 }
   5515 
   5516 void sub_25145526(void) {
   5517     int _fpu_cmp = 0;
   5518     uint32_t _cf = 0;
   5519     int _df = 1;
   5520     uint32_t _flag_k = FK_NONE;
   5521     uint32_t _flag_a = 0, _flag_b = 0;
   5522     uint32_t _itail_tgt = 0;
   5523     RECOMP_REGS_LOCALS
   5524     RECOMP_ENTER(0x25145526u);
   5525 
   5526     goto L_25145526;
   5527 L_251380C4:
   5528     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5529 L_25145526:
   5530     eax = 0x25165690u; /* 0x25145526: mov eax, 0x25165690 */
   5531 L_2514552B:
   5532     RECOMP_BACKEDGE();
   5533     goto L_251380C4; /* 0x2514552B: jmp 0x251380c4 */
   5534     { RECOMP_REGS_OUT(); return; } /* end of function */
   5535   _ljump:
   5536     switch (_itail_tgt) {
   5537       case 0x251380C4u: goto L_251380C4;
   5538       case 0x25145526u: goto L_25145526;
   5539       case 0x2514552Bu: goto L_2514552B;
   5540       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5541     }
   5542     RECOMP_REGS_OUT();
   5543 }
   5544 
   5545 void sub_25145530(void) {
   5546     int _fpu_cmp = 0;
   5547     uint32_t _cf = 0;
   5548     int _df = 1;
   5549     uint32_t _flag_k = FK_NONE;
   5550     uint32_t _flag_a = 0, _flag_b = 0;
   5551     uint32_t _itail_tgt = 0;
   5552     RECOMP_REGS_LOCALS
   5553     RECOMP_ENTER(0x25145530u);
   5554 
   5555 L_25145530:
   5556     ecx = ebp + (-0xC0); /* 0x25145530: lea ecx, [ebp - 0xc0] */
   5557 L_25145536:
   5558     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   5559     { RECOMP_REGS_OUT(); return; } /* end of function */
   5560   _ljump:
   5561     switch (_itail_tgt) {
   5562       case 0x25145530u: goto L_25145530;
   5563       case 0x25145536u: goto L_25145536;
   5564       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5565     }
   5566     RECOMP_REGS_OUT();
   5567 }
   5568 
   5569 void sub_2514553C(void) {
   5570     int _fpu_cmp = 0;
   5571     uint32_t _cf = 0;
   5572     int _df = 1;
   5573     uint32_t _flag_k = FK_NONE;
   5574     uint32_t _flag_a = 0, _flag_b = 0;
   5575     uint32_t _itail_tgt = 0;
   5576     RECOMP_REGS_LOCALS
   5577     RECOMP_ENTER(0x2514553Cu);
   5578 
   5579 L_2514553C:
   5580     ecx = ebp + (-0x160); /* 0x2514553C: lea ecx, [ebp - 0x160] */
   5581 L_25145542:
   5582     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   5583     { RECOMP_REGS_OUT(); return; } /* end of function */
   5584   _ljump:
   5585     switch (_itail_tgt) {
   5586       case 0x2514553Cu: goto L_2514553C;
   5587       case 0x25145542u: goto L_25145542;
   5588       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5589     }
   5590     RECOMP_REGS_OUT();
   5591 }
   5592 
   5593 void sub_25145548(void) {
   5594     int _fpu_cmp = 0;
   5595     uint32_t _cf = 0;
   5596     int _df = 1;
   5597     uint32_t _flag_k = FK_NONE;
   5598     uint32_t _flag_a = 0, _flag_b = 0;
   5599     uint32_t _itail_tgt = 0;
   5600     RECOMP_REGS_LOCALS
   5601     RECOMP_ENTER(0x25145548u);
   5602 
   5603     goto L_25145548;
   5604 L_251380C4:
   5605     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5606 L_25145548:
   5607     eax = 0x251656C0u; /* 0x25145548: mov eax, 0x251656c0 */
   5608 L_2514554D:
   5609     RECOMP_BACKEDGE();
   5610     goto L_251380C4; /* 0x2514554D: jmp 0x251380c4 */
   5611     { RECOMP_REGS_OUT(); return; } /* end of function */
   5612   _ljump:
   5613     switch (_itail_tgt) {
   5614       case 0x251380C4u: goto L_251380C4;
   5615       case 0x25145548u: goto L_25145548;
   5616       case 0x2514554Du: goto L_2514554D;
   5617       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5618     }
   5619     RECOMP_REGS_OUT();
   5620 }
   5621 
   5622 void sub_25145560(void) {
   5623     int _fpu_cmp = 0;
   5624     uint32_t _cf = 0;
   5625     int _df = 1;
   5626     uint32_t _flag_k = FK_NONE;
   5627     uint32_t _flag_a = 0, _flag_b = 0;
   5628     uint32_t _itail_tgt = 0;
   5629     RECOMP_REGS_LOCALS
   5630     RECOMP_ENTER(0x25145560u);
   5631 
   5632 L_25145560:
   5633     eax = MEM32(ebp + (-0x10)); /* 0x25145560: mov eax, dword ptr [ebp - 0x10] */
   5634     PUSH32(esp, eax); /* 0x25145563: push eax */
   5635     RECOMP_ICALL(0x25137EECu); /* 0x25145564: call 0x25137eec */ /* not lifted */
   5636     RECOMP_FLAGS_IN();
   5637     ecx = POP32_VAL(esp); /* 0x25145569: pop ecx */
   5638     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514556A: ret  */
   5639     RECOMP_REGS_OUT();
   5640 }
   5641 
   5642 void sub_2514556B(void) {
   5643     int _fpu_cmp = 0;
   5644     uint32_t _cf = 0;
   5645     int _df = 1;
   5646     uint32_t _flag_k = FK_NONE;
   5647     uint32_t _flag_a = 0, _flag_b = 0;
   5648     uint32_t _itail_tgt = 0;
   5649     RECOMP_REGS_LOCALS
   5650     RECOMP_ENTER(0x2514556Bu);
   5651 
   5652     goto L_2514556B;
   5653 L_251380C4:
   5654     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5655 L_2514556B:
   5656     eax = 0x251656F0u; /* 0x2514556B: mov eax, 0x251656f0 */
   5657 L_25145570:
   5658     RECOMP_BACKEDGE();
   5659     goto L_251380C4; /* 0x25145570: jmp 0x251380c4 */
   5660     { RECOMP_REGS_OUT(); return; } /* end of function */
   5661   _ljump:
   5662     switch (_itail_tgt) {
   5663       case 0x251380C4u: goto L_251380C4;
   5664       case 0x2514556Bu: goto L_2514556B;
   5665       case 0x25145570u: goto L_25145570;
   5666       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5667     }
   5668     RECOMP_REGS_OUT();
   5669 }
   5670 
   5671 void sub_25145580(void) {
   5672     int _fpu_cmp = 0;
   5673     uint32_t _cf = 0;
   5674     int _df = 1;
   5675     uint32_t _flag_k = FK_NONE;
   5676     uint32_t _flag_a = 0, _flag_b = 0;
   5677     uint32_t _itail_tgt = 0;
   5678     RECOMP_REGS_LOCALS
   5679     RECOMP_ENTER(0x25145580u);
   5680 
   5681     goto L_25145580;
   5682 L_25085170:
   5683     PUSH32(esp, ebx); /* 0x25085170: push ebx */
   5684     PUSH32(esp, esi); /* 0x25085171: push esi */
   5685     PUSH32(esp, edi); /* 0x25085172: push edi */
   5686     edi = ecx; /* 0x25085173: mov edi, ecx */
   5687     ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */
   5688     esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */
   5689     /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */
   5690     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5692     _flag_k = FK_CMP;
   5693     if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */
   5694 L_2508517E:
   5695     eax = esi; /* 0x2508517E: mov eax, esi */
   5696     ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */
   5697     edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */
   5698     esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */
   5699     MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */
   5700     ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */
   5701     edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */
   5702     PUSH32(esp, eax); /* 0x2508518E: push eax */
   5703     MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */
   5704     RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */
   5705     RECOMP_FLAGS_IN();
   5706     ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */
   5707     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5708     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5709     esp = esp + 4; /* 0x2508519A: add esp, 4 */
   5710     _flag_k = FK_ADD;
   5711     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5712     ecx = ecx - 1; /* 0x2508519D: dec ecx */
   5713     _flag_k = FK_DEC;
   5714     /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */
   5715     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5716     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5717     _flag_k = FK_CMP;
   5718     MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */
   5719     RECOMP_BACKEDGE();
   5720     if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */
   5721 L_250851A5:
   5722     eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */
   5723     PUSH32(esp, eax); /* 0x250851A8: push eax */
   5724     RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */
   5725     RECOMP_FLAGS_IN();
   5726     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5727     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5728     esp = esp + 4; /* 0x250851AE: add esp, 4 */
   5729     _flag_k = FK_ADD;
   5730     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5731     eax = 0; /* 0x250851B1: xor eax, eax */
   5732     _cf = 0;
   5733     _flag_k = FK_TEST;
   5734     MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */
   5735     MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */
   5736     edi = POP32_VAL(esp); /* 0x250851B9: pop edi */
   5737     esi = POP32_VAL(esp); /* 0x250851BA: pop esi */
   5738     ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */
   5739     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret  */
   5740 L_25145580:
   5741     ecx = MEM32(ebp + (-0x14)); /* 0x25145580: mov ecx, dword ptr [ebp - 0x14] */
   5742     RECOMP_BACKEDGE();
   5743     goto L_25085170; /* 0x25145583: jmp 0x25085170 */
   5744     { RECOMP_REGS_OUT(); return; } /* end of function */
   5745     RECOMP_REGS_OUT();
   5746 }
   5747 
   5748 void sub_25145588(void) {
   5749     int _fpu_cmp = 0;
   5750     uint32_t _cf = 0;
   5751     int _df = 1;
   5752     uint32_t _flag_k = FK_NONE;
   5753     uint32_t _flag_a = 0, _flag_b = 0;
   5754     uint32_t _itail_tgt = 0;
   5755     RECOMP_REGS_LOCALS
   5756     RECOMP_ENTER(0x25145588u);
   5757 
   5758     goto L_25145588;
   5759 L_251380C4:
   5760     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5761 L_25145588:
   5762     eax = 0x25165718u; /* 0x25145588: mov eax, 0x25165718 */
   5763 L_2514558D:
   5764     RECOMP_BACKEDGE();
   5765     goto L_251380C4; /* 0x2514558D: jmp 0x251380c4 */
   5766     { RECOMP_REGS_OUT(); return; } /* end of function */
   5767   _ljump:
   5768     switch (_itail_tgt) {
   5769       case 0x251380C4u: goto L_251380C4;
   5770       case 0x25145588u: goto L_25145588;
   5771       case 0x2514558Du: goto L_2514558D;
   5772       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5773     }
   5774     RECOMP_REGS_OUT();
   5775 }
   5776 
   5777 void sub_251455A0(void) {
   5778     int _fpu_cmp = 0;
   5779     uint32_t _cf = 0;
   5780     int _df = 1;
   5781     uint32_t _flag_k = FK_NONE;
   5782     uint32_t _flag_a = 0, _flag_b = 0;
   5783     uint32_t _itail_tgt = 0;
   5784     RECOMP_REGS_LOCALS
   5785     RECOMP_ENTER(0x251455A0u);
   5786 
   5787     goto L_251455A0;
   5788 L_250DB0B0:
   5789     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   5790     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   5791     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   5792     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   5793     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   5794     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   5795     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   5796     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   5797     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5798     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   5799     _flag_k = FK_CMP;
   5800     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   5801     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   5802     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   5803     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   5804     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   5805     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   5806     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   5807     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   5808     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   5809     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   5810     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   5811     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   5812     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   5813     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   5814     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5815     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   5816     _cf = 0;
   5817     _flag_k = FK_TEST;
   5818     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   5819     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5820     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5821     _flag_k = FK_CMP;
   5822     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   5823     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   5824 L_250DB11E:
   5825     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   5826     RECOMP_FLAGS_IN();
   5827 L_250DB123:
   5828     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   5829     PUSH32(esp, eax); /* 0x250DB129: push eax */
   5830     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   5831     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   5832     RECOMP_FLAGS_IN();
   5833     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5834     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5835     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   5836     _flag_k = FK_ADD;
   5837     eax = edi; /* 0x250DB135: mov eax, edi */
   5838     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5839     _cf = (eax) != 0;
   5840     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   5841     _flag_k = FK_CMP;
   5842     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   5843       eax = _sc ? 0xFFFFFFFFu : 0;
   5844       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5845       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5846     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5847     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   5848     _cf = 0;
   5849     _flag_k = FK_TEST;
   5850     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   5851     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   5852     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   5853     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   5854     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   5855     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   5856     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   5857     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5859     _flag_k = FK_CMP;
   5860     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   5861     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   5862     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   5863     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   5864     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   5865 L_250DB16C:
   5866     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   5867     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   5868     ecx = esi; /* 0x250DB170: mov ecx, esi */
   5869     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   5870     RECOMP_FLAGS_IN();
   5871     ecx = eax; /* 0x250DB177: mov ecx, eax */
   5872     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   5873     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   5874     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   5875     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5877     _flag_k = FK_CMP;
   5878     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   5879     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   5880     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5881     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5882     _flag_k = FK_NARROW(FK_CMP, 24);
   5883     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   5884 L_250DB187:
   5885     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   5886     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   5887     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5888     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5889     _flag_k = FK_CMP;
   5890     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   5891 L_250DB18F:
   5892     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   5893     PUSH32(esp, edx); /* 0x250DB192: push edx */
   5894     ecx = esi; /* 0x250DB193: mov ecx, esi */
   5895     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   5896     RECOMP_FLAGS_IN();
   5897     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   5898     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   5899     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   5900     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   5901     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   5902     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   5903     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   5904     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   5905     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   5906     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   5907     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   5908     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   5909     RECOMP_FLAGS_IN();
   5910     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   5911 L_250DB1BE:
   5912     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   5913     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   5914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5915     _flag_k = FK_CMP;
   5916     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   5917 L_250DB1C3:
   5918     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   5919     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   5920     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   5921     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   5922     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   5923     RECOMP_FLAGS_IN();
   5924     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   5925     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   5926     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   5927     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   5928     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   5929     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   5930     RECOMP_FLAGS_IN();
   5931     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   5932     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   5933     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   5934     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5935     _flag_k = FK_CMP;
   5936     RECOMP_BACKEDGE();
   5937     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   5938 L_250DB1E6:
   5939     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   5940     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   5941     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   5942     RECOMP_FLAGS_IN();
   5943     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   5944     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   5945     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   5946     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   5947     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   5948     RECOMP_FLAGS_IN();
   5949     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5950     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5951     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   5952     _flag_k = FK_ADD;
   5953     eax = edi; /* 0x250DB201: mov eax, edi */
   5954     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5955     _cf = (eax) != 0;
   5956     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   5957     _flag_k = FK_CMP;
   5958     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   5959       eax = _sc ? 0xFFFFFFFFu : 0;
   5960       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5961       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5962     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   5963     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   5964     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5965     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   5966     _cf = 0;
   5967     _flag_k = FK_TEST;
   5968     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   5969     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   5970     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   5971     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   5972     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5973     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5974     _flag_k = FK_CMP;
   5975     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   5976     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   5977     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   5978     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   5979     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   5980 L_250DB22E:
   5981     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   5982     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   5983     ecx = esi; /* 0x250DB232: mov ecx, esi */
   5984     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   5985     RECOMP_FLAGS_IN();
   5986     edx = eax; /* 0x250DB239: mov edx, eax */
   5987     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   5988     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   5989     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   5990     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5991     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5992     _flag_k = FK_CMP;
   5993     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   5994     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   5995     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5997     _flag_k = FK_NARROW(FK_CMP, 24);
   5998     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   5999 L_250DB249:
   6000     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   6001     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   6002     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   6003     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6004     _flag_k = FK_CMP;
   6005     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   6006 L_250DB251:
   6007     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   6008     PUSH32(esp, eax); /* 0x250DB254: push eax */
   6009     ecx = esi; /* 0x250DB255: mov ecx, esi */
   6010     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   6011     RECOMP_FLAGS_IN();
   6012     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   6013     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   6014     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   6015     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   6016     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   6017     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   6018     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   6019     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   6020     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   6021     PUSH32(esp, eax); /* 0x250DB276: push eax */
   6022     ecx = esi; /* 0x250DB277: mov ecx, esi */
   6023     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   6024     RECOMP_FLAGS_IN();
   6025     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   6026 L_250DB280:
   6027     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   6028     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   6029     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6030     _flag_k = FK_CMP;
   6031     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   6032 L_250DB285:
   6033     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   6034     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   6035     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   6036     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   6037     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   6038     RECOMP_FLAGS_IN();
   6039     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   6040     PUSH32(esp, edx); /* 0x250DB294: push edx */
   6041     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   6042     PUSH32(esp, eax); /* 0x250DB298: push eax */
   6043     ecx = esi; /* 0x250DB299: mov ecx, esi */
   6044     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   6045     RECOMP_FLAGS_IN();
   6046     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   6047     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   6048     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6050     _flag_k = FK_CMP;
   6051     RECOMP_BACKEDGE();
   6052     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   6053 L_250DB2A8:
   6054     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   6055     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   6056     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   6057     RECOMP_FLAGS_IN();
   6058     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   6059     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   6060     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   6061     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   6062     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   6063     RECOMP_FLAGS_IN();
   6064     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6065     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6066     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   6067     _flag_k = FK_ADD;
   6068     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   6069     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   6070     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   6071     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   6072     RECOMP_FLAGS_IN();
   6073     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   6074     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   6075     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   6076     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   6077     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   6078     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   6079     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   6080     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   6081 L_251455A0:
   6082     ecx = MEM32(ebp + (-0x10)); /* 0x251455A0: mov ecx, dword ptr [ebp - 0x10] */
   6083     RECOMP_BACKEDGE();
   6084     goto L_250DB0B0; /* 0x251455A3: jmp 0x250db0b0 */
   6085     { RECOMP_REGS_OUT(); return; } /* end of function */
   6086     RECOMP_REGS_OUT();
   6087 }
   6088 
   6089 void sub_251455A8(void) {
   6090     int _fpu_cmp = 0;
   6091     uint32_t _cf = 0;
   6092     int _df = 1;
   6093     uint32_t _flag_k = FK_NONE;
   6094     uint32_t _flag_a = 0, _flag_b = 0;
   6095     uint32_t _itail_tgt = 0;
   6096     RECOMP_REGS_LOCALS
   6097     RECOMP_ENTER(0x251455A8u);
   6098 
   6099     goto L_251455A8;
   6100 L_251380C4:
   6101     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6102 L_251455A8:
   6103     eax = 0x25165740u; /* 0x251455A8: mov eax, 0x25165740 */
   6104 L_251455AD:
   6105     RECOMP_BACKEDGE();
   6106     goto L_251380C4; /* 0x251455AD: jmp 0x251380c4 */
   6107     { RECOMP_REGS_OUT(); return; } /* end of function */
   6108   _ljump:
   6109     switch (_itail_tgt) {
   6110       case 0x251380C4u: goto L_251380C4;
   6111       case 0x251455A8u: goto L_251455A8;
   6112       case 0x251455ADu: goto L_251455AD;
   6113       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6114     }
   6115     RECOMP_REGS_OUT();
   6116 }
   6117 
   6118 void sub_251455C0(void) {
   6119     int _fpu_cmp = 0;
   6120     uint32_t _cf = 0;
   6121     int _df = 1;
   6122     uint32_t _flag_k = FK_NONE;
   6123     uint32_t _flag_a = 0, _flag_b = 0;
   6124     uint32_t _itail_tgt = 0;
   6125     RECOMP_REGS_LOCALS
   6126     RECOMP_ENTER(0x251455C0u);
   6127 
   6128     goto L_251455C0;
   6129 L_250DB0B0:
   6130     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   6131     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   6132     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   6133     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   6134     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   6135     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   6136     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   6137     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   6138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6139     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   6140     _flag_k = FK_CMP;
   6141     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   6142     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   6143     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   6144     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   6145     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   6146     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   6147     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   6148     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   6149     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   6150     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   6151     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   6152     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   6153     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   6154     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   6155     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6156     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   6157     _cf = 0;
   6158     _flag_k = FK_TEST;
   6159     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   6160     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   6161     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6162     _flag_k = FK_CMP;
   6163     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   6164     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   6165 L_250DB11E:
   6166     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   6167     RECOMP_FLAGS_IN();
   6168 L_250DB123:
   6169     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   6170     PUSH32(esp, eax); /* 0x250DB129: push eax */
   6171     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   6172     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   6173     RECOMP_FLAGS_IN();
   6174     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6175     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6176     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   6177     _flag_k = FK_ADD;
   6178     eax = edi; /* 0x250DB135: mov eax, edi */
   6179     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   6180     _cf = (eax) != 0;
   6181     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   6182     _flag_k = FK_CMP;
   6183     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   6184       eax = _sc ? 0xFFFFFFFFu : 0;
   6185       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   6186       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   6187     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   6188     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   6189     _cf = 0;
   6190     _flag_k = FK_TEST;
   6191     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   6192     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   6193     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   6194     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   6195     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   6196     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   6197     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   6198     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   6199     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6200     _flag_k = FK_CMP;
   6201     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   6202     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   6203     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   6204     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   6205     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   6206 L_250DB16C:
   6207     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   6208     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   6209     ecx = esi; /* 0x250DB170: mov ecx, esi */
   6210     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   6211     RECOMP_FLAGS_IN();
   6212     ecx = eax; /* 0x250DB177: mov ecx, eax */
   6213     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   6214     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   6215     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   6216     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   6217     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6218     _flag_k = FK_CMP;
   6219     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   6220     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   6221     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6222     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6223     _flag_k = FK_NARROW(FK_CMP, 24);
   6224     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   6225 L_250DB187:
   6226     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   6227     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   6228     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6229     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6230     _flag_k = FK_CMP;
   6231     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   6232 L_250DB18F:
   6233     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   6234     PUSH32(esp, edx); /* 0x250DB192: push edx */
   6235     ecx = esi; /* 0x250DB193: mov ecx, esi */
   6236     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   6237     RECOMP_FLAGS_IN();
   6238     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   6239     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   6240     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   6241     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   6242     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   6243     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   6244     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   6245     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   6246     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   6247     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   6248     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   6249     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   6250     RECOMP_FLAGS_IN();
   6251     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   6252 L_250DB1BE:
   6253     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   6254     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   6255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6256     _flag_k = FK_CMP;
   6257     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   6258 L_250DB1C3:
   6259     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   6260     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   6261     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   6262     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   6263     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   6264     RECOMP_FLAGS_IN();
   6265     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   6266     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   6267     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   6268     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   6269     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   6270     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   6271     RECOMP_FLAGS_IN();
   6272     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   6273     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   6274     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   6275     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6276     _flag_k = FK_CMP;
   6277     RECOMP_BACKEDGE();
   6278     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   6279 L_250DB1E6:
   6280     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   6281     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   6282     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   6283     RECOMP_FLAGS_IN();
   6284     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   6285     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   6286     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   6287     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   6288     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   6289     RECOMP_FLAGS_IN();
   6290     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6291     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6292     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   6293     _flag_k = FK_ADD;
   6294     eax = edi; /* 0x250DB201: mov eax, edi */
   6295     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   6296     _cf = (eax) != 0;
   6297     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   6298     _flag_k = FK_CMP;
   6299     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   6300       eax = _sc ? 0xFFFFFFFFu : 0;
   6301       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   6302       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   6303     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   6304     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   6305     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6306     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   6307     _cf = 0;
   6308     _flag_k = FK_TEST;
   6309     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   6310     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   6311     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   6312     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   6313     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   6314     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6315     _flag_k = FK_CMP;
   6316     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   6317     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   6318     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   6319     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   6320     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   6321 L_250DB22E:
   6322     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   6323     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   6324     ecx = esi; /* 0x250DB232: mov ecx, esi */
   6325     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   6326     RECOMP_FLAGS_IN();
   6327     edx = eax; /* 0x250DB239: mov edx, eax */
   6328     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   6329     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   6330     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   6331     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6332     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6333     _flag_k = FK_CMP;
   6334     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   6335     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   6336     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6338     _flag_k = FK_NARROW(FK_CMP, 24);
   6339     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   6340 L_250DB249:
   6341     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   6342     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   6343     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   6344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6345     _flag_k = FK_CMP;
   6346     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   6347 L_250DB251:
   6348     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   6349     PUSH32(esp, eax); /* 0x250DB254: push eax */
   6350     ecx = esi; /* 0x250DB255: mov ecx, esi */
   6351     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   6352     RECOMP_FLAGS_IN();
   6353     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   6354     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   6355     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   6356     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   6357     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   6358     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   6359     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   6360     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   6361     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   6362     PUSH32(esp, eax); /* 0x250DB276: push eax */
   6363     ecx = esi; /* 0x250DB277: mov ecx, esi */
   6364     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   6365     RECOMP_FLAGS_IN();
   6366     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   6367 L_250DB280:
   6368     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   6369     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   6370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6371     _flag_k = FK_CMP;
   6372     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   6373 L_250DB285:
   6374     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   6375     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   6376     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   6377     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   6378     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   6379     RECOMP_FLAGS_IN();
   6380     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   6381     PUSH32(esp, edx); /* 0x250DB294: push edx */
   6382     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   6383     PUSH32(esp, eax); /* 0x250DB298: push eax */
   6384     ecx = esi; /* 0x250DB299: mov ecx, esi */
   6385     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   6386     RECOMP_FLAGS_IN();
   6387     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   6388     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   6389     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   6390     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6391     _flag_k = FK_CMP;
   6392     RECOMP_BACKEDGE();
   6393     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   6394 L_250DB2A8:
   6395     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   6396     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   6397     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   6398     RECOMP_FLAGS_IN();
   6399     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   6400     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   6401     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   6402     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   6403     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   6404     RECOMP_FLAGS_IN();
   6405     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6406     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6407     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   6408     _flag_k = FK_ADD;
   6409     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   6410     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   6411     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   6412     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   6413     RECOMP_FLAGS_IN();
   6414     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   6415     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   6416     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   6417     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   6418     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   6419     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   6420     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   6421     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   6422 L_251455C0:
   6423     ecx = MEM32(ebp + (-0x10)); /* 0x251455C0: mov ecx, dword ptr [ebp - 0x10] */
   6424     RECOMP_BACKEDGE();
   6425     goto L_250DB0B0; /* 0x251455C3: jmp 0x250db0b0 */
   6426     { RECOMP_REGS_OUT(); return; } /* end of function */
   6427     RECOMP_REGS_OUT();
   6428 }
   6429 
   6430 void sub_251455C8(void) {
   6431     int _fpu_cmp = 0;
   6432     uint32_t _cf = 0;
   6433     int _df = 1;
   6434     uint32_t _flag_k = FK_NONE;
   6435     uint32_t _flag_a = 0, _flag_b = 0;
   6436     uint32_t _itail_tgt = 0;
   6437     RECOMP_REGS_LOCALS
   6438     RECOMP_ENTER(0x251455C8u);
   6439 
   6440     goto L_251455C8;
   6441 L_251380C4:
   6442     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6443 L_251455C8:
   6444     eax = 0x25165768u; /* 0x251455C8: mov eax, 0x25165768 */
   6445 L_251455CD:
   6446     RECOMP_BACKEDGE();
   6447     goto L_251380C4; /* 0x251455CD: jmp 0x251380c4 */
   6448     { RECOMP_REGS_OUT(); return; } /* end of function */
   6449   _ljump:
   6450     switch (_itail_tgt) {
   6451       case 0x251380C4u: goto L_251380C4;
   6452       case 0x251455C8u: goto L_251455C8;
   6453       case 0x251455CDu: goto L_251455CD;
   6454       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6455     }
   6456     RECOMP_REGS_OUT();
   6457 }
   6458 
   6459 void sub_251455E0(void) {
   6460     int _fpu_cmp = 0;
   6461     uint32_t _cf = 0;
   6462     int _df = 1;
   6463     uint32_t _flag_k = FK_NONE;
   6464     uint32_t _flag_a = 0, _flag_b = 0;
   6465     uint32_t _itail_tgt = 0;
   6466     RECOMP_REGS_LOCALS
   6467     RECOMP_ENTER(0x251455E0u);
   6468 
   6469 L_251455E0:
   6470     ecx = ebp + (-0x4C); /* 0x251455E0: lea ecx, [ebp - 0x4c] */
   6471 L_251455E3:
   6472     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   6473     { RECOMP_REGS_OUT(); return; } /* end of function */
   6474   _ljump:
   6475     switch (_itail_tgt) {
   6476       case 0x251455E0u: goto L_251455E0;
   6477       case 0x251455E3u: goto L_251455E3;
   6478       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6479     }
   6480     RECOMP_REGS_OUT();
   6481 }
   6482 
   6483 void sub_251455E9(void) {
   6484     int _fpu_cmp = 0;
   6485     uint32_t _cf = 0;
   6486     int _df = 1;
   6487     uint32_t _flag_k = FK_NONE;
   6488     uint32_t _flag_a = 0, _flag_b = 0;
   6489     uint32_t _itail_tgt = 0;
   6490     RECOMP_REGS_LOCALS
   6491     RECOMP_ENTER(0x251455E9u);
   6492 
   6493     goto L_251455E9;
   6494 L_251380C4:
   6495     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6496 L_251455E9:
   6497     eax = 0x25165790u; /* 0x251455E9: mov eax, 0x25165790 */
   6498 L_251455EE:
   6499     RECOMP_BACKEDGE();
   6500     goto L_251380C4; /* 0x251455EE: jmp 0x251380c4 */
   6501     { RECOMP_REGS_OUT(); return; } /* end of function */
   6502   _ljump:
   6503     switch (_itail_tgt) {
   6504       case 0x251380C4u: goto L_251380C4;
   6505       case 0x251455E9u: goto L_251455E9;
   6506       case 0x251455EEu: goto L_251455EE;
   6507       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6508     }
   6509     RECOMP_REGS_OUT();
   6510 }
   6511 
   6512 void sub_25145600(void) {
   6513     int _fpu_cmp = 0;
   6514     uint32_t _cf = 0;
   6515     int _df = 1;
   6516     uint32_t _flag_k = FK_NONE;
   6517     uint32_t _flag_a = 0, _flag_b = 0;
   6518     uint32_t _itail_tgt = 0;
   6519     RECOMP_REGS_LOCALS
   6520     RECOMP_ENTER(0x25145600u);
   6521 
   6522 L_25145600:
   6523     ecx = MEM32(ebp + (-0x10)); /* 0x25145600: mov ecx, dword ptr [ebp - 0x10] */
   6524     goto L_2500B5A0; /* 0x25145603: jmp 0x2500b5a0 */
   6525     { RECOMP_REGS_OUT(); return; } /* end of function */
   6526     L_2500B5A0: RECOMP_ITAIL(0x2500B5A0u); { RECOMP_REGS_OUT(); return; }
   6527     RECOMP_REGS_OUT();
   6528 }
   6529 
   6530 void sub_25145608(void) {
   6531     int _fpu_cmp = 0;
   6532     uint32_t _cf = 0;
   6533     int _df = 1;
   6534     uint32_t _flag_k = FK_NONE;
   6535     uint32_t _flag_a = 0, _flag_b = 0;
   6536     uint32_t _itail_tgt = 0;
   6537     RECOMP_REGS_LOCALS
   6538     RECOMP_ENTER(0x25145608u);
   6539 
   6540     goto L_25145608;
   6541 L_251380C4:
   6542     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6543 L_25145608:
   6544     eax = 0x251657B8u; /* 0x25145608: mov eax, 0x251657b8 */
   6545 L_2514560D:
   6546     RECOMP_BACKEDGE();
   6547     goto L_251380C4; /* 0x2514560D: jmp 0x251380c4 */
   6548     { RECOMP_REGS_OUT(); return; } /* end of function */
   6549   _ljump:
   6550     switch (_itail_tgt) {
   6551       case 0x251380C4u: goto L_251380C4;
   6552       case 0x25145608u: goto L_25145608;
   6553       case 0x2514560Du: goto L_2514560D;
   6554       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6555     }
   6556     RECOMP_REGS_OUT();
   6557 }
   6558 
   6559 void sub_25145620(void) {
   6560     int _fpu_cmp = 0;
   6561     uint32_t _cf = 0;
   6562     int _df = 1;
   6563     uint32_t _flag_k = FK_NONE;
   6564     uint32_t _flag_a = 0, _flag_b = 0;
   6565     uint32_t _itail_tgt = 0;
   6566     RECOMP_REGS_LOCALS
   6567     RECOMP_ENTER(0x25145620u);
   6568 
   6569 L_25145620:
   6570     eax = MEM32(ebp + (-0x10)); /* 0x25145620: mov eax, dword ptr [ebp - 0x10] */
   6571     PUSH32(esp, eax); /* 0x25145623: push eax */
   6572     RECOMP_ICALL(0x25137EECu); /* 0x25145624: call 0x25137eec */ /* not lifted */
   6573     RECOMP_FLAGS_IN();
   6574     ecx = POP32_VAL(esp); /* 0x25145629: pop ecx */
   6575     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514562A: ret  */
   6576     RECOMP_REGS_OUT();
   6577 }
   6578 
   6579 void sub_2514562B(void) {
   6580     int _fpu_cmp = 0;
   6581     uint32_t _cf = 0;
   6582     int _df = 1;
   6583     uint32_t _flag_k = FK_NONE;
   6584     uint32_t _flag_a = 0, _flag_b = 0;
   6585     uint32_t _itail_tgt = 0;
   6586     RECOMP_REGS_LOCALS
   6587     RECOMP_ENTER(0x2514562Bu);
   6588 
   6589     goto L_2514562B;
   6590 L_251380C4:
   6591     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6592 L_2514562B:
   6593     eax = 0x251657E0u; /* 0x2514562B: mov eax, 0x251657e0 */
   6594 L_25145630:
   6595     RECOMP_BACKEDGE();
   6596     goto L_251380C4; /* 0x25145630: jmp 0x251380c4 */
   6597     { RECOMP_REGS_OUT(); return; } /* end of function */
   6598   _ljump:
   6599     switch (_itail_tgt) {
   6600       case 0x251380C4u: goto L_251380C4;
   6601       case 0x2514562Bu: goto L_2514562B;
   6602       case 0x25145630u: goto L_25145630;
   6603       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6604     }
   6605     RECOMP_REGS_OUT();
   6606 }
   6607 
   6608 void sub_25145640(void) {
   6609     int _fpu_cmp = 0;
   6610     uint32_t _cf = 0;
   6611     int _df = 1;
   6612     uint32_t _flag_k = FK_NONE;
   6613     uint32_t _flag_a = 0, _flag_b = 0;
   6614     uint32_t _itail_tgt = 0;
   6615     RECOMP_REGS_LOCALS
   6616     RECOMP_ENTER(0x25145640u);
   6617 
   6618 L_25145640:
   6619     ecx = MEM32(ebp + (-0x10)); /* 0x25145640: mov ecx, dword ptr [ebp - 0x10] */
   6620     goto L_2500B5A0; /* 0x25145643: jmp 0x2500b5a0 */
   6621     { RECOMP_REGS_OUT(); return; } /* end of function */
   6622     L_2500B5A0: RECOMP_ITAIL(0x2500B5A0u); { RECOMP_REGS_OUT(); return; }
   6623     RECOMP_REGS_OUT();
   6624 }
   6625 
   6626 void sub_25145648(void) {
   6627     int _fpu_cmp = 0;
   6628     uint32_t _cf = 0;
   6629     int _df = 1;
   6630     uint32_t _flag_k = FK_NONE;
   6631     uint32_t _flag_a = 0, _flag_b = 0;
   6632     uint32_t _itail_tgt = 0;
   6633     RECOMP_REGS_LOCALS
   6634     RECOMP_ENTER(0x25145648u);
   6635 
   6636 L_25145648:
   6637     eax = MEM32(ebp + 0x14); /* 0x25145648: mov eax, dword ptr [ebp + 0x14] */
   6638     PUSH32(esp, eax); /* 0x2514564B: push eax */
   6639     RECOMP_ICALL(0x25137EECu); /* 0x2514564C: call 0x25137eec */ /* not lifted */
   6640     RECOMP_FLAGS_IN();
   6641     ecx = POP32_VAL(esp); /* 0x25145651: pop ecx */
   6642     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25145652: ret  */
   6643     RECOMP_REGS_OUT();
   6644 }
   6645 
   6646 void sub_25145653(void) {
   6647     int _fpu_cmp = 0;
   6648     uint32_t _cf = 0;
   6649     int _df = 1;
   6650     uint32_t _flag_k = FK_NONE;
   6651     uint32_t _flag_a = 0, _flag_b = 0;
   6652     uint32_t _itail_tgt = 0;
   6653     RECOMP_REGS_LOCALS
   6654     RECOMP_ENTER(0x25145653u);
   6655 
   6656     goto L_25145653;
   6657 L_251380C4:
   6658     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6659 L_25145653:
   6660     eax = 0x25165808u; /* 0x25145653: mov eax, 0x25165808 */
   6661 L_25145658:
   6662     RECOMP_BACKEDGE();
   6663     goto L_251380C4; /* 0x25145658: jmp 0x251380c4 */
   6664     { RECOMP_REGS_OUT(); return; } /* end of function */
   6665   _ljump:
   6666     switch (_itail_tgt) {
   6667       case 0x251380C4u: goto L_251380C4;
   6668       case 0x25145653u: goto L_25145653;
   6669       case 0x25145658u: goto L_25145658;
   6670       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6671     }
   6672     RECOMP_REGS_OUT();
   6673 }
   6674 
   6675 void sub_25145660(void) {
   6676     int _fpu_cmp = 0;
   6677     uint32_t _cf = 0;
   6678     int _df = 1;
   6679     uint32_t _flag_k = FK_NONE;
   6680     uint32_t _flag_a = 0, _flag_b = 0;
   6681     uint32_t _itail_tgt = 0;
   6682     RECOMP_REGS_LOCALS
   6683     RECOMP_ENTER(0x25145660u);
   6684 
   6685 L_25145660:
   6686     ecx = MEM32(ebp + (-0x10)); /* 0x25145660: mov ecx, dword ptr [ebp - 0x10] */
   6687     goto L_2500B5A0; /* 0x25145663: jmp 0x2500b5a0 */
   6688     { RECOMP_REGS_OUT(); return; } /* end of function */
   6689     L_2500B5A0: RECOMP_ITAIL(0x2500B5A0u); { RECOMP_REGS_OUT(); return; }
   6690     RECOMP_REGS_OUT();
   6691 }
   6692 
   6693 void sub_25145668(void) {
   6694     int _fpu_cmp = 0;
   6695     uint32_t _cf = 0;
   6696     int _df = 1;
   6697     uint32_t _flag_k = FK_NONE;
   6698     uint32_t _flag_a = 0, _flag_b = 0;
   6699     uint32_t _itail_tgt = 0;
   6700     RECOMP_REGS_LOCALS
   6701     RECOMP_ENTER(0x25145668u);
   6702 
   6703 L_25145668:
   6704     eax = MEM32(ebp + 0x14); /* 0x25145668: mov eax, dword ptr [ebp + 0x14] */
   6705     PUSH32(esp, eax); /* 0x2514566B: push eax */
   6706     RECOMP_ICALL(0x25137EECu); /* 0x2514566C: call 0x25137eec */ /* not lifted */
   6707     RECOMP_FLAGS_IN();
   6708     ecx = POP32_VAL(esp); /* 0x25145671: pop ecx */
   6709     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25145672: ret  */
   6710     RECOMP_REGS_OUT();
   6711 }
   6712 
   6713 void sub_25145673(void) {
   6714     int _fpu_cmp = 0;
   6715     uint32_t _cf = 0;
   6716     int _df = 1;
   6717     uint32_t _flag_k = FK_NONE;
   6718     uint32_t _flag_a = 0, _flag_b = 0;
   6719     uint32_t _itail_tgt = 0;
   6720     RECOMP_REGS_LOCALS
   6721     RECOMP_ENTER(0x25145673u);
   6722 
   6723     goto L_25145673;
   6724 L_251380C4:
   6725     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6726 L_25145673:
   6727     eax = 0x25165838u; /* 0x25145673: mov eax, 0x25165838 */
   6728 L_25145678:
   6729     RECOMP_BACKEDGE();
   6730     goto L_251380C4; /* 0x25145678: jmp 0x251380c4 */
   6731     { RECOMP_REGS_OUT(); return; } /* end of function */
   6732   _ljump:
   6733     switch (_itail_tgt) {
   6734       case 0x251380C4u: goto L_251380C4;
   6735       case 0x25145673u: goto L_25145673;
   6736       case 0x25145678u: goto L_25145678;
   6737       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6738     }
   6739     RECOMP_REGS_OUT();
   6740 }
   6741 
   6742 void sub_25145680(void) {
   6743     int _fpu_cmp = 0;
   6744     uint32_t _cf = 0;
   6745     int _df = 1;
   6746     uint32_t _flag_k = FK_NONE;
   6747     uint32_t _flag_a = 0, _flag_b = 0;
   6748     uint32_t _itail_tgt = 0;
   6749     RECOMP_REGS_LOCALS
   6750     RECOMP_ENTER(0x25145680u);
   6751 
   6752 L_25145680:
   6753     ecx = MEM32(ebp + (-0x10)); /* 0x25145680: mov ecx, dword ptr [ebp - 0x10] */
   6754     goto L_2500B5A0; /* 0x25145683: jmp 0x2500b5a0 */
   6755     { RECOMP_REGS_OUT(); return; } /* end of function */
   6756     L_2500B5A0: RECOMP_ITAIL(0x2500B5A0u); { RECOMP_REGS_OUT(); return; }
   6757     RECOMP_REGS_OUT();
   6758 }
   6759 
   6760 void sub_25145688(void) {
   6761     int _fpu_cmp = 0;
   6762     uint32_t _cf = 0;
   6763     int _df = 1;
   6764     uint32_t _flag_k = FK_NONE;
   6765     uint32_t _flag_a = 0, _flag_b = 0;
   6766     uint32_t _itail_tgt = 0;
   6767     RECOMP_REGS_LOCALS
   6768     RECOMP_ENTER(0x25145688u);
   6769 
   6770 L_25145688:
   6771     eax = MEM32(ebp + 0x8); /* 0x25145688: mov eax, dword ptr [ebp + 8] */
   6772     PUSH32(esp, eax); /* 0x2514568B: push eax */
   6773     RECOMP_ICALL(0x25137EECu); /* 0x2514568C: call 0x25137eec */ /* not lifted */
   6774     RECOMP_FLAGS_IN();
   6775     ecx = POP32_VAL(esp); /* 0x25145691: pop ecx */
   6776     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25145692: ret  */
   6777     RECOMP_REGS_OUT();
   6778 }