aorecomp

Anarchy Online classic in the browser

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


client/game/bbr.dll/lifted-0113.c (219516B)


      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_2514DDC9(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(0x2514DDC9u);
     17 
     18     goto L_2514DDC9;
     19 L_251380C4:
     20     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
     21 L_2514DDC9:
     22     eax = 0x2516F5F8u; /* 0x2514DDC9: mov eax, 0x2516f5f8 */
     23 L_2514DDCE:
     24     RECOMP_BACKEDGE();
     25     goto L_251380C4; /* 0x2514DDCE: jmp 0x251380c4 */
     26     { RECOMP_REGS_OUT(); return; } /* end of function */
     27   _ljump:
     28     switch (_itail_tgt) {
     29       case 0x251380C4u: goto L_251380C4;
     30       case 0x2514DDC9u: goto L_2514DDC9;
     31       case 0x2514DDCEu: goto L_2514DDCE;
     32       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     33     }
     34     RECOMP_REGS_OUT();
     35 }
     36 
     37 void sub_2514DDE0(void) {
     38     int _fpu_cmp = 0;
     39     uint32_t _cf = 0;
     40     int _df = 1;
     41     uint32_t _flag_k = FK_NONE;
     42     uint32_t _flag_a = 0, _flag_b = 0;
     43     uint32_t _itail_tgt = 0;
     44     RECOMP_REGS_LOCALS
     45     RECOMP_ENTER(0x2514DDE0u);
     46 
     47 L_2514DDE0:
     48     ecx = ebp + (-0x90); /* 0x2514DDE0: lea ecx, [ebp - 0x90] */
     49     goto L_25009BC0; /* 0x2514DDE6: jmp 0x25009bc0 */
     50     { RECOMP_REGS_OUT(); return; } /* end of function */
     51     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
     52     RECOMP_REGS_OUT();
     53 }
     54 
     55 void sub_2514DDEB(void) {
     56     int _fpu_cmp = 0;
     57     uint32_t _cf = 0;
     58     int _df = 1;
     59     uint32_t _flag_k = FK_NONE;
     60     uint32_t _flag_a = 0, _flag_b = 0;
     61     uint32_t _itail_tgt = 0;
     62     RECOMP_REGS_LOCALS
     63     RECOMP_ENTER(0x2514DDEBu);
     64 
     65     goto L_2514DDEB;
     66 L_250E5AB0:
     67     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
     68     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
     69     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
     70     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
     71     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
     72     _cf = 0;
     73     _flag_k = FK_TEST;
     74     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
     75 L_250E5ABA:
     76     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
     77     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
     78     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
     79     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
     80     _cf = 0;
     81     _flag_k = FK_NARROW(FK_TEST, 24);
     82     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
     83 L_250E5AC3:
     84     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
     85     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
     86     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     87     _flag_k = FK_NARROW(FK_CMP, 24);
     88     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
     89 L_250E5AC7:
     90     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
     91     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
     92     _flag_k = FK_NARROW(FK_DEC, 24);
     93     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
     94     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
     95 L_250E5ACD:
     96     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
     97     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
     98     RECOMP_FLAGS_IN();
     99     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    100     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    101     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    102     _flag_k = FK_ADD;
    103 L_250E5AD6:
    104     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    105     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    106     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    107     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    108     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    109 L_2514DDEB:
    110     ecx = ebp + (-0x28); /* 0x2514DDEB: lea ecx, [ebp - 0x28] */
    111     RECOMP_BACKEDGE();
    112     goto L_250E5AB0; /* 0x2514DDEE: jmp 0x250e5ab0 */
    113     { RECOMP_REGS_OUT(); return; } /* end of function */
    114     RECOMP_REGS_OUT();
    115 }
    116 
    117 void sub_2514DDF3(void) {
    118     int _fpu_cmp = 0;
    119     uint32_t _cf = 0;
    120     int _df = 1;
    121     uint32_t _flag_k = FK_NONE;
    122     uint32_t _flag_a = 0, _flag_b = 0;
    123     uint32_t _itail_tgt = 0;
    124     RECOMP_REGS_LOCALS
    125     RECOMP_ENTER(0x2514DDF3u);
    126 
    127     goto L_2514DDF3;
    128 L_251380C4:
    129     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    130 L_2514DDF3:
    131     eax = 0x2516F620u; /* 0x2514DDF3: mov eax, 0x2516f620 */
    132 L_2514DDF8:
    133     RECOMP_BACKEDGE();
    134     goto L_251380C4; /* 0x2514DDF8: jmp 0x251380c4 */
    135     { RECOMP_REGS_OUT(); return; } /* end of function */
    136   _ljump:
    137     switch (_itail_tgt) {
    138       case 0x251380C4u: goto L_251380C4;
    139       case 0x2514DDF3u: goto L_2514DDF3;
    140       case 0x2514DDF8u: goto L_2514DDF8;
    141       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    142     }
    143     RECOMP_REGS_OUT();
    144 }
    145 
    146 void sub_2514DE00(void) {
    147     int _fpu_cmp = 0;
    148     uint32_t _cf = 0;
    149     int _df = 1;
    150     uint32_t _flag_k = FK_NONE;
    151     uint32_t _flag_a = 0, _flag_b = 0;
    152     uint32_t _itail_tgt = 0;
    153     RECOMP_REGS_LOCALS
    154     RECOMP_ENTER(0x2514DE00u);
    155 
    156 L_2514DE00:
    157     ecx = ebp + (-0x18); /* 0x2514DE00: lea ecx, [ebp - 0x18] */
    158     goto L_25009BC0; /* 0x2514DE03: jmp 0x25009bc0 */
    159     { RECOMP_REGS_OUT(); return; } /* end of function */
    160     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
    161     RECOMP_REGS_OUT();
    162 }
    163 
    164 void sub_2514DE08(void) {
    165     int _fpu_cmp = 0;
    166     uint32_t _cf = 0;
    167     int _df = 1;
    168     uint32_t _flag_k = FK_NONE;
    169     uint32_t _flag_a = 0, _flag_b = 0;
    170     uint32_t _itail_tgt = 0;
    171     RECOMP_REGS_LOCALS
    172     RECOMP_ENTER(0x2514DE08u);
    173 
    174     goto L_2514DE08;
    175 L_251380C4:
    176     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    177 L_2514DE08:
    178     eax = 0x2516F650u; /* 0x2514DE08: mov eax, 0x2516f650 */
    179 L_2514DE0D:
    180     RECOMP_BACKEDGE();
    181     goto L_251380C4; /* 0x2514DE0D: jmp 0x251380c4 */
    182     { RECOMP_REGS_OUT(); return; } /* end of function */
    183   _ljump:
    184     switch (_itail_tgt) {
    185       case 0x251380C4u: goto L_251380C4;
    186       case 0x2514DE08u: goto L_2514DE08;
    187       case 0x2514DE0Du: goto L_2514DE0D;
    188       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    189     }
    190     RECOMP_REGS_OUT();
    191 }
    192 
    193 void sub_2514DE20(void) {
    194     int _fpu_cmp = 0;
    195     uint32_t _cf = 0;
    196     int _df = 1;
    197     uint32_t _flag_k = FK_NONE;
    198     uint32_t _flag_a = 0, _flag_b = 0;
    199     uint32_t _itail_tgt = 0;
    200     RECOMP_REGS_LOCALS
    201     RECOMP_ENTER(0x2514DE20u);
    202 
    203 L_2514DE20:
    204     ecx = ebp + (-0x70); /* 0x2514DE20: lea ecx, [ebp - 0x70] */
    205 L_2514DE23:
    206     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
    207     { RECOMP_REGS_OUT(); return; } /* end of function */
    208   _ljump:
    209     switch (_itail_tgt) {
    210       case 0x2514DE20u: goto L_2514DE20;
    211       case 0x2514DE23u: goto L_2514DE23;
    212       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    213     }
    214     RECOMP_REGS_OUT();
    215 }
    216 
    217 void sub_2514DE29(void) {
    218     int _fpu_cmp = 0;
    219     uint32_t _cf = 0;
    220     int _df = 1;
    221     uint32_t _flag_k = FK_NONE;
    222     uint32_t _flag_a = 0, _flag_b = 0;
    223     uint32_t _itail_tgt = 0;
    224     RECOMP_REGS_LOCALS
    225     RECOMP_ENTER(0x2514DE29u);
    226 
    227     goto L_2514DE29;
    228 L_251380C4:
    229     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    230 L_2514DE29:
    231     eax = 0x2516F678u; /* 0x2514DE29: mov eax, 0x2516f678 */
    232 L_2514DE2E:
    233     RECOMP_BACKEDGE();
    234     goto L_251380C4; /* 0x2514DE2E: jmp 0x251380c4 */
    235     { RECOMP_REGS_OUT(); return; } /* end of function */
    236   _ljump:
    237     switch (_itail_tgt) {
    238       case 0x251380C4u: goto L_251380C4;
    239       case 0x2514DE29u: goto L_2514DE29;
    240       case 0x2514DE2Eu: goto L_2514DE2E;
    241       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    242     }
    243     RECOMP_REGS_OUT();
    244 }
    245 
    246 void sub_2514DE40(void) {
    247     int _fpu_cmp = 0;
    248     uint32_t _cf = 0;
    249     int _df = 1;
    250     uint32_t _flag_k = FK_NONE;
    251     uint32_t _flag_a = 0, _flag_b = 0;
    252     uint32_t _itail_tgt = 0;
    253     RECOMP_REGS_LOCALS
    254     RECOMP_ENTER(0x2514DE40u);
    255 
    256 L_2514DE40:
    257     ecx = ebp + (-0x8C); /* 0x2514DE40: lea ecx, [ebp - 0x8c] */
    258 L_2514DE46:
    259     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
    260     { RECOMP_REGS_OUT(); return; } /* end of function */
    261   _ljump:
    262     switch (_itail_tgt) {
    263       case 0x2514DE40u: goto L_2514DE40;
    264       case 0x2514DE46u: goto L_2514DE46;
    265       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    266     }
    267     RECOMP_REGS_OUT();
    268 }
    269 
    270 void sub_2514DE4C(void) {
    271     int _fpu_cmp = 0;
    272     uint32_t _cf = 0;
    273     int _df = 1;
    274     uint32_t _flag_k = FK_NONE;
    275     uint32_t _flag_a = 0, _flag_b = 0;
    276     uint32_t _itail_tgt = 0;
    277     RECOMP_REGS_LOCALS
    278     RECOMP_ENTER(0x2514DE4Cu);
    279 
    280 L_2514DE4C:
    281     ecx = ebp + (-0x10C); /* 0x2514DE4C: lea ecx, [ebp - 0x10c] */
    282 L_2514DE52:
    283     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
    284     { RECOMP_REGS_OUT(); return; } /* end of function */
    285   _ljump:
    286     switch (_itail_tgt) {
    287       case 0x2514DE4Cu: goto L_2514DE4C;
    288       case 0x2514DE52u: goto L_2514DE52;
    289       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    290     }
    291     RECOMP_REGS_OUT();
    292 }
    293 
    294 void sub_2514DE58(void) {
    295     int _fpu_cmp = 0;
    296     uint32_t _cf = 0;
    297     int _df = 1;
    298     uint32_t _flag_k = FK_NONE;
    299     uint32_t _flag_a = 0, _flag_b = 0;
    300     uint32_t _itail_tgt = 0;
    301     RECOMP_REGS_LOCALS
    302     RECOMP_ENTER(0x2514DE58u);
    303 
    304     goto L_2514DE58;
    305 L_250E5AB0:
    306     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    307     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    308     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    309     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    310     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    311     _cf = 0;
    312     _flag_k = FK_TEST;
    313     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    314 L_250E5ABA:
    315     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    316     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    317     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    318     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    319     _cf = 0;
    320     _flag_k = FK_NARROW(FK_TEST, 24);
    321     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    322 L_250E5AC3:
    323     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    324     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    325     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    326     _flag_k = FK_NARROW(FK_CMP, 24);
    327     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    328 L_250E5AC7:
    329     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    330     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    331     _flag_k = FK_NARROW(FK_DEC, 24);
    332     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    333     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    334 L_250E5ACD:
    335     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    336     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    337     RECOMP_FLAGS_IN();
    338     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    339     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    340     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    341     _flag_k = FK_ADD;
    342 L_250E5AD6:
    343     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    344     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    345     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    346     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    347     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    348 L_2514DE58:
    349     ecx = ebp + (-0xC0); /* 0x2514DE58: lea ecx, [ebp - 0xc0] */
    350     RECOMP_BACKEDGE();
    351     goto L_250E5AB0; /* 0x2514DE5E: jmp 0x250e5ab0 */
    352     { RECOMP_REGS_OUT(); return; } /* end of function */
    353     RECOMP_REGS_OUT();
    354 }
    355 
    356 void sub_2514DE63(void) {
    357     int _fpu_cmp = 0;
    358     uint32_t _cf = 0;
    359     int _df = 1;
    360     uint32_t _flag_k = FK_NONE;
    361     uint32_t _flag_a = 0, _flag_b = 0;
    362     uint32_t _itail_tgt = 0;
    363     RECOMP_REGS_LOCALS
    364     RECOMP_ENTER(0x2514DE63u);
    365 
    366     goto L_2514DE63;
    367 L_251380C4:
    368     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    369 L_2514DE63:
    370     eax = 0x2516F6A0u; /* 0x2514DE63: mov eax, 0x2516f6a0 */
    371 L_2514DE68:
    372     RECOMP_BACKEDGE();
    373     goto L_251380C4; /* 0x2514DE68: jmp 0x251380c4 */
    374     { RECOMP_REGS_OUT(); return; } /* end of function */
    375   _ljump:
    376     switch (_itail_tgt) {
    377       case 0x251380C4u: goto L_251380C4;
    378       case 0x2514DE63u: goto L_2514DE63;
    379       case 0x2514DE68u: goto L_2514DE68;
    380       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    381     }
    382     RECOMP_REGS_OUT();
    383 }
    384 
    385 void sub_2514DE70(void) {
    386     int _fpu_cmp = 0;
    387     uint32_t _cf = 0;
    388     int _df = 1;
    389     uint32_t _flag_k = FK_NONE;
    390     uint32_t _flag_a = 0, _flag_b = 0;
    391     uint32_t _itail_tgt = 0;
    392     RECOMP_REGS_LOCALS
    393     RECOMP_ENTER(0x2514DE70u);
    394 
    395     goto L_2514DE70;
    396 L_250E5AB0:
    397     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    398     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    399     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    400     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    401     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    402     _cf = 0;
    403     _flag_k = FK_TEST;
    404     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    405 L_250E5ABA:
    406     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    407     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    408     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    409     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    410     _cf = 0;
    411     _flag_k = FK_NARROW(FK_TEST, 24);
    412     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    413 L_250E5AC3:
    414     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    415     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    416     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    417     _flag_k = FK_NARROW(FK_CMP, 24);
    418     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    419 L_250E5AC7:
    420     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    421     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    422     _flag_k = FK_NARROW(FK_DEC, 24);
    423     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    424     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    425 L_250E5ACD:
    426     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    427     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    428     RECOMP_FLAGS_IN();
    429     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    430     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    431     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    432     _flag_k = FK_ADD;
    433 L_250E5AD6:
    434     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    435     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    436     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    437     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    438     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    439 L_2514DE70:
    440     ecx = ebp + (-0x7C); /* 0x2514DE70: lea ecx, [ebp - 0x7c] */
    441     RECOMP_BACKEDGE();
    442     goto L_250E5AB0; /* 0x2514DE73: jmp 0x250e5ab0 */
    443     { RECOMP_REGS_OUT(); return; } /* end of function */
    444     RECOMP_REGS_OUT();
    445 }
    446 
    447 void sub_2514DE78(void) {
    448     int _fpu_cmp = 0;
    449     uint32_t _cf = 0;
    450     int _df = 1;
    451     uint32_t _flag_k = FK_NONE;
    452     uint32_t _flag_a = 0, _flag_b = 0;
    453     uint32_t _itail_tgt = 0;
    454     RECOMP_REGS_LOCALS
    455     RECOMP_ENTER(0x2514DE78u);
    456 
    457     goto L_2514DE78;
    458 L_251380C4:
    459     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    460 L_2514DE78:
    461     eax = 0x2516F6D8u; /* 0x2514DE78: mov eax, 0x2516f6d8 */
    462 L_2514DE7D:
    463     RECOMP_BACKEDGE();
    464     goto L_251380C4; /* 0x2514DE7D: jmp 0x251380c4 */
    465     { RECOMP_REGS_OUT(); return; } /* end of function */
    466   _ljump:
    467     switch (_itail_tgt) {
    468       case 0x251380C4u: goto L_251380C4;
    469       case 0x2514DE78u: goto L_2514DE78;
    470       case 0x2514DE7Du: goto L_2514DE7D;
    471       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    472     }
    473     RECOMP_REGS_OUT();
    474 }
    475 
    476 void sub_2514DE90(void) {
    477     int _fpu_cmp = 0;
    478     uint32_t _cf = 0;
    479     int _df = 1;
    480     uint32_t _flag_k = FK_NONE;
    481     uint32_t _flag_a = 0, _flag_b = 0;
    482     uint32_t _itail_tgt = 0;
    483     RECOMP_REGS_LOCALS
    484     RECOMP_ENTER(0x2514DE90u);
    485 
    486     goto L_2514DE90;
    487 L_250E5AB0:
    488     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    489     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    490     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    491     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    492     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    493     _cf = 0;
    494     _flag_k = FK_TEST;
    495     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    496 L_250E5ABA:
    497     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    498     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    499     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    500     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    501     _cf = 0;
    502     _flag_k = FK_NARROW(FK_TEST, 24);
    503     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    504 L_250E5AC3:
    505     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    506     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    507     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    508     _flag_k = FK_NARROW(FK_CMP, 24);
    509     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    510 L_250E5AC7:
    511     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    512     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    513     _flag_k = FK_NARROW(FK_DEC, 24);
    514     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    515     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    516 L_250E5ACD:
    517     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    518     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    519     RECOMP_FLAGS_IN();
    520     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    521     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    522     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    523     _flag_k = FK_ADD;
    524 L_250E5AD6:
    525     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    526     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    527     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    528     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    529     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    530 L_2514DE90:
    531     ecx = ebp + (-0xA4); /* 0x2514DE90: lea ecx, [ebp - 0xa4] */
    532     RECOMP_BACKEDGE();
    533     goto L_250E5AB0; /* 0x2514DE96: jmp 0x250e5ab0 */
    534     { RECOMP_REGS_OUT(); return; } /* end of function */
    535     RECOMP_REGS_OUT();
    536 }
    537 
    538 void sub_2514DE9B(void) {
    539     int _fpu_cmp = 0;
    540     uint32_t _cf = 0;
    541     int _df = 1;
    542     uint32_t _flag_k = FK_NONE;
    543     uint32_t _flag_a = 0, _flag_b = 0;
    544     uint32_t _itail_tgt = 0;
    545     RECOMP_REGS_LOCALS
    546     RECOMP_ENTER(0x2514DE9Bu);
    547 
    548     goto L_2514DE9B;
    549 L_251380C4:
    550     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    551 L_2514DE9B:
    552     eax = 0x2516F700u; /* 0x2514DE9B: mov eax, 0x2516f700 */
    553 L_2514DEA0:
    554     RECOMP_BACKEDGE();
    555     goto L_251380C4; /* 0x2514DEA0: jmp 0x251380c4 */
    556     { RECOMP_REGS_OUT(); return; } /* end of function */
    557   _ljump:
    558     switch (_itail_tgt) {
    559       case 0x251380C4u: goto L_251380C4;
    560       case 0x2514DE9Bu: goto L_2514DE9B;
    561       case 0x2514DEA0u: goto L_2514DEA0;
    562       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    563     }
    564     RECOMP_REGS_OUT();
    565 }
    566 
    567 void sub_2514DEB0(void) {
    568     int _fpu_cmp = 0;
    569     uint32_t _cf = 0;
    570     int _df = 1;
    571     uint32_t _flag_k = FK_NONE;
    572     uint32_t _flag_a = 0, _flag_b = 0;
    573     uint32_t _itail_tgt = 0;
    574     RECOMP_REGS_LOCALS
    575     RECOMP_ENTER(0x2514DEB0u);
    576 
    577     goto L_2514DEB0;
    578 L_250E5AB0:
    579     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    580     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    581     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    582     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    583     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    584     _cf = 0;
    585     _flag_k = FK_TEST;
    586     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    587 L_250E5ABA:
    588     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    589     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    590     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    591     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    592     _cf = 0;
    593     _flag_k = FK_NARROW(FK_TEST, 24);
    594     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    595 L_250E5AC3:
    596     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    597     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    599     _flag_k = FK_NARROW(FK_CMP, 24);
    600     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    601 L_250E5AC7:
    602     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    603     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    604     _flag_k = FK_NARROW(FK_DEC, 24);
    605     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    606     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    607 L_250E5ACD:
    608     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    609     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    610     RECOMP_FLAGS_IN();
    611     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    612     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    613     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    614     _flag_k = FK_ADD;
    615 L_250E5AD6:
    616     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    617     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    618     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    619     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    620     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    621 L_2514DEB0:
    622     ecx = ebp + (-0x30); /* 0x2514DEB0: lea ecx, [ebp - 0x30] */
    623     RECOMP_BACKEDGE();
    624     goto L_250E5AB0; /* 0x2514DEB3: jmp 0x250e5ab0 */
    625     { RECOMP_REGS_OUT(); return; } /* end of function */
    626     RECOMP_REGS_OUT();
    627 }
    628 
    629 void sub_2514DEB8(void) {
    630     int _fpu_cmp = 0;
    631     uint32_t _cf = 0;
    632     int _df = 1;
    633     uint32_t _flag_k = FK_NONE;
    634     uint32_t _flag_a = 0, _flag_b = 0;
    635     uint32_t _itail_tgt = 0;
    636     RECOMP_REGS_LOCALS
    637     RECOMP_ENTER(0x2514DEB8u);
    638 
    639     goto L_2514DEB8;
    640 L_251380C4:
    641     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    642 L_2514DEB8:
    643     eax = 0x2516F728u; /* 0x2514DEB8: mov eax, 0x2516f728 */
    644 L_2514DEBD:
    645     RECOMP_BACKEDGE();
    646     goto L_251380C4; /* 0x2514DEBD: jmp 0x251380c4 */
    647     { RECOMP_REGS_OUT(); return; } /* end of function */
    648   _ljump:
    649     switch (_itail_tgt) {
    650       case 0x251380C4u: goto L_251380C4;
    651       case 0x2514DEB8u: goto L_2514DEB8;
    652       case 0x2514DEBDu: goto L_2514DEBD;
    653       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    654     }
    655     RECOMP_REGS_OUT();
    656 }
    657 
    658 void sub_2514DED0(void) {
    659     int _fpu_cmp = 0;
    660     uint32_t _cf = 0;
    661     int _df = 1;
    662     uint32_t _flag_k = FK_NONE;
    663     uint32_t _flag_a = 0, _flag_b = 0;
    664     uint32_t _itail_tgt = 0;
    665     RECOMP_REGS_LOCALS
    666     RECOMP_ENTER(0x2514DED0u);
    667 
    668     goto L_2514DED0;
    669 L_250E5AB0:
    670     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    671     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    672     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    673     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    674     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    675     _cf = 0;
    676     _flag_k = FK_TEST;
    677     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    678 L_250E5ABA:
    679     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    680     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    681     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    682     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    683     _cf = 0;
    684     _flag_k = FK_NARROW(FK_TEST, 24);
    685     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    686 L_250E5AC3:
    687     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    688     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    689     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    690     _flag_k = FK_NARROW(FK_CMP, 24);
    691     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    692 L_250E5AC7:
    693     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    694     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    695     _flag_k = FK_NARROW(FK_DEC, 24);
    696     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    697     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    698 L_250E5ACD:
    699     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    700     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    701     RECOMP_FLAGS_IN();
    702     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    703     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    704     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    705     _flag_k = FK_ADD;
    706 L_250E5AD6:
    707     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    708     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    709     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    710     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    711     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    712 L_2514DED0:
    713     ecx = ebp + (-0x94); /* 0x2514DED0: lea ecx, [ebp - 0x94] */
    714     RECOMP_BACKEDGE();
    715     goto L_250E5AB0; /* 0x2514DED6: jmp 0x250e5ab0 */
    716     { RECOMP_REGS_OUT(); return; } /* end of function */
    717     RECOMP_REGS_OUT();
    718 }
    719 
    720 void sub_2514DEDB(void) {
    721     int _fpu_cmp = 0;
    722     uint32_t _cf = 0;
    723     int _df = 1;
    724     uint32_t _flag_k = FK_NONE;
    725     uint32_t _flag_a = 0, _flag_b = 0;
    726     uint32_t _itail_tgt = 0;
    727     RECOMP_REGS_LOCALS
    728     RECOMP_ENTER(0x2514DEDBu);
    729 
    730     goto L_2514DEDB;
    731 L_251380C4:
    732     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    733 L_2514DEDB:
    734     eax = 0x2516F750u; /* 0x2514DEDB: mov eax, 0x2516f750 */
    735 L_2514DEE0:
    736     RECOMP_BACKEDGE();
    737     goto L_251380C4; /* 0x2514DEE0: jmp 0x251380c4 */
    738     { RECOMP_REGS_OUT(); return; } /* end of function */
    739   _ljump:
    740     switch (_itail_tgt) {
    741       case 0x251380C4u: goto L_251380C4;
    742       case 0x2514DEDBu: goto L_2514DEDB;
    743       case 0x2514DEE0u: goto L_2514DEE0;
    744       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    745     }
    746     RECOMP_REGS_OUT();
    747 }
    748 
    749 void sub_2514DEF0(void) {
    750     int _fpu_cmp = 0;
    751     uint32_t _cf = 0;
    752     int _df = 1;
    753     uint32_t _flag_k = FK_NONE;
    754     uint32_t _flag_a = 0, _flag_b = 0;
    755     uint32_t _itail_tgt = 0;
    756     RECOMP_REGS_LOCALS
    757     RECOMP_ENTER(0x2514DEF0u);
    758 
    759     goto L_2514DEF0;
    760 L_250E5AB0:
    761     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    762     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    763     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    764     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    765     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    766     _cf = 0;
    767     _flag_k = FK_TEST;
    768     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    769 L_250E5ABA:
    770     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    771     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    772     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    773     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    774     _cf = 0;
    775     _flag_k = FK_NARROW(FK_TEST, 24);
    776     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    777 L_250E5AC3:
    778     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    779     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    780     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    781     _flag_k = FK_NARROW(FK_CMP, 24);
    782     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    783 L_250E5AC7:
    784     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    785     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    786     _flag_k = FK_NARROW(FK_DEC, 24);
    787     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    788     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    789 L_250E5ACD:
    790     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    791     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    792     RECOMP_FLAGS_IN();
    793     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    794     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    795     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    796     _flag_k = FK_ADD;
    797 L_250E5AD6:
    798     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    799     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    800     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    801     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    802     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    803 L_2514DEF0:
    804     ecx = ebp + (-0x28); /* 0x2514DEF0: lea ecx, [ebp - 0x28] */
    805     RECOMP_BACKEDGE();
    806     goto L_250E5AB0; /* 0x2514DEF3: jmp 0x250e5ab0 */
    807     { RECOMP_REGS_OUT(); return; } /* end of function */
    808     RECOMP_REGS_OUT();
    809 }
    810 
    811 void sub_2514DEF8(void) {
    812     int _fpu_cmp = 0;
    813     uint32_t _cf = 0;
    814     int _df = 1;
    815     uint32_t _flag_k = FK_NONE;
    816     uint32_t _flag_a = 0, _flag_b = 0;
    817     uint32_t _itail_tgt = 0;
    818     RECOMP_REGS_LOCALS
    819     RECOMP_ENTER(0x2514DEF8u);
    820 
    821     goto L_2514DEF8;
    822 L_250E5AB0:
    823     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    824     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    825     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    826     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    827     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    828     _cf = 0;
    829     _flag_k = FK_TEST;
    830     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    831 L_250E5ABA:
    832     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    833     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    834     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    835     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    836     _cf = 0;
    837     _flag_k = FK_NARROW(FK_TEST, 24);
    838     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    839 L_250E5AC3:
    840     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    841     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    842     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    843     _flag_k = FK_NARROW(FK_CMP, 24);
    844     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    845 L_250E5AC7:
    846     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    847     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    848     _flag_k = FK_NARROW(FK_DEC, 24);
    849     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    850     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    851 L_250E5ACD:
    852     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    853     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    854     RECOMP_FLAGS_IN();
    855     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    856     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    857     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    858     _flag_k = FK_ADD;
    859 L_250E5AD6:
    860     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    861     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    862     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    863     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    864     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    865 L_2514DEF8:
    866     ecx = ebp + (-0x28); /* 0x2514DEF8: lea ecx, [ebp - 0x28] */
    867     RECOMP_BACKEDGE();
    868     goto L_250E5AB0; /* 0x2514DEFB: jmp 0x250e5ab0 */
    869     { RECOMP_REGS_OUT(); return; } /* end of function */
    870     RECOMP_REGS_OUT();
    871 }
    872 
    873 void sub_2514DF00(void) {
    874     int _fpu_cmp = 0;
    875     uint32_t _cf = 0;
    876     int _df = 1;
    877     uint32_t _flag_k = FK_NONE;
    878     uint32_t _flag_a = 0, _flag_b = 0;
    879     uint32_t _itail_tgt = 0;
    880     RECOMP_REGS_LOCALS
    881     RECOMP_ENTER(0x2514DF00u);
    882 
    883     goto L_2514DF00;
    884 L_250E5AB0:
    885     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    886     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    887     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    888     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    889     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    890     _cf = 0;
    891     _flag_k = FK_TEST;
    892     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    893 L_250E5ABA:
    894     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    895     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    896     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    897     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    898     _cf = 0;
    899     _flag_k = FK_NARROW(FK_TEST, 24);
    900     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    901 L_250E5AC3:
    902     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    903     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    904     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    905     _flag_k = FK_NARROW(FK_CMP, 24);
    906     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    907 L_250E5AC7:
    908     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    909     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    910     _flag_k = FK_NARROW(FK_DEC, 24);
    911     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    912     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    913 L_250E5ACD:
    914     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    915     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    916     RECOMP_FLAGS_IN();
    917     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    918     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    919     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    920     _flag_k = FK_ADD;
    921 L_250E5AD6:
    922     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    923     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    924     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    925     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    926     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    927 L_2514DF00:
    928     ecx = ebp + (-0x28); /* 0x2514DF00: lea ecx, [ebp - 0x28] */
    929     RECOMP_BACKEDGE();
    930     goto L_250E5AB0; /* 0x2514DF03: jmp 0x250e5ab0 */
    931     { RECOMP_REGS_OUT(); return; } /* end of function */
    932     RECOMP_REGS_OUT();
    933 }
    934 
    935 void sub_2514DF08(void) {
    936     int _fpu_cmp = 0;
    937     uint32_t _cf = 0;
    938     int _df = 1;
    939     uint32_t _flag_k = FK_NONE;
    940     uint32_t _flag_a = 0, _flag_b = 0;
    941     uint32_t _itail_tgt = 0;
    942     RECOMP_REGS_LOCALS
    943     RECOMP_ENTER(0x2514DF08u);
    944 
    945     goto L_2514DF08;
    946 L_251380C4:
    947     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    948 L_2514DF08:
    949     eax = 0x2516F778u; /* 0x2514DF08: mov eax, 0x2516f778 */
    950 L_2514DF0D:
    951     RECOMP_BACKEDGE();
    952     goto L_251380C4; /* 0x2514DF0D: jmp 0x251380c4 */
    953     { RECOMP_REGS_OUT(); return; } /* end of function */
    954   _ljump:
    955     switch (_itail_tgt) {
    956       case 0x251380C4u: goto L_251380C4;
    957       case 0x2514DF08u: goto L_2514DF08;
    958       case 0x2514DF0Du: goto L_2514DF0D;
    959       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    960     }
    961     RECOMP_REGS_OUT();
    962 }
    963 
    964 void sub_2514DF20(void) {
    965     int _fpu_cmp = 0;
    966     uint32_t _cf = 0;
    967     int _df = 1;
    968     uint32_t _flag_k = FK_NONE;
    969     uint32_t _flag_a = 0, _flag_b = 0;
    970     uint32_t _itail_tgt = 0;
    971     RECOMP_REGS_LOCALS
    972     RECOMP_ENTER(0x2514DF20u);
    973 
    974     goto L_2514DF20;
    975 L_250E5AB0:
    976     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    977     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    978     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    979     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    980     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    981     _cf = 0;
    982     _flag_k = FK_TEST;
    983     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    984 L_250E5ABA:
    985     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    986     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    987     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    988     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    989     _cf = 0;
    990     _flag_k = FK_NARROW(FK_TEST, 24);
    991     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    992 L_250E5AC3:
    993     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    994     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    996     _flag_k = FK_NARROW(FK_CMP, 24);
    997     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    998 L_250E5AC7:
    999     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1000     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   1001     _flag_k = FK_NARROW(FK_DEC, 24);
   1002     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   1003     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   1004 L_250E5ACD:
   1005     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   1006     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   1007     RECOMP_FLAGS_IN();
   1008     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1009     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1010     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   1011     _flag_k = FK_ADD;
   1012 L_250E5AD6:
   1013     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   1014     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   1015     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   1016     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   1017     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   1018 L_2514DF20:
   1019     ecx = ebp + (-0x98); /* 0x2514DF20: lea ecx, [ebp - 0x98] */
   1020     RECOMP_BACKEDGE();
   1021     goto L_250E5AB0; /* 0x2514DF26: jmp 0x250e5ab0 */
   1022     { RECOMP_REGS_OUT(); return; } /* end of function */
   1023     RECOMP_REGS_OUT();
   1024 }
   1025 
   1026 void sub_2514DF2B(void) {
   1027     int _fpu_cmp = 0;
   1028     uint32_t _cf = 0;
   1029     int _df = 1;
   1030     uint32_t _flag_k = FK_NONE;
   1031     uint32_t _flag_a = 0, _flag_b = 0;
   1032     uint32_t _itail_tgt = 0;
   1033     RECOMP_REGS_LOCALS
   1034     RECOMP_ENTER(0x2514DF2Bu);
   1035 
   1036     goto L_2514DF2B;
   1037 L_250E5AB0:
   1038     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   1039     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   1040     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   1041     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   1042     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1043     _cf = 0;
   1044     _flag_k = FK_TEST;
   1045     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   1046 L_250E5ABA:
   1047     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   1048     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   1049     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   1050     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1051     _cf = 0;
   1052     _flag_k = FK_NARROW(FK_TEST, 24);
   1053     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   1054 L_250E5AC3:
   1055     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   1056     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1057     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1058     _flag_k = FK_NARROW(FK_CMP, 24);
   1059     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   1060 L_250E5AC7:
   1061     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1062     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   1063     _flag_k = FK_NARROW(FK_DEC, 24);
   1064     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   1065     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   1066 L_250E5ACD:
   1067     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   1068     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   1069     RECOMP_FLAGS_IN();
   1070     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1071     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1072     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   1073     _flag_k = FK_ADD;
   1074 L_250E5AD6:
   1075     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   1076     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   1077     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   1078     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   1079     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   1080 L_2514DF2B:
   1081     ecx = ebp + (-0x88); /* 0x2514DF2B: lea ecx, [ebp - 0x88] */
   1082     RECOMP_BACKEDGE();
   1083     goto L_250E5AB0; /* 0x2514DF31: jmp 0x250e5ab0 */
   1084     { RECOMP_REGS_OUT(); return; } /* end of function */
   1085     RECOMP_REGS_OUT();
   1086 }
   1087 
   1088 void sub_2514DF36(void) {
   1089     int _fpu_cmp = 0;
   1090     uint32_t _cf = 0;
   1091     int _df = 1;
   1092     uint32_t _flag_k = FK_NONE;
   1093     uint32_t _flag_a = 0, _flag_b = 0;
   1094     uint32_t _itail_tgt = 0;
   1095     RECOMP_REGS_LOCALS
   1096     RECOMP_ENTER(0x2514DF36u);
   1097 
   1098     goto L_2514DF36;
   1099 L_251380C4:
   1100     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1101 L_2514DF36:
   1102     eax = 0x2516F7B0u; /* 0x2514DF36: mov eax, 0x2516f7b0 */
   1103 L_2514DF3B:
   1104     RECOMP_BACKEDGE();
   1105     goto L_251380C4; /* 0x2514DF3B: jmp 0x251380c4 */
   1106     { RECOMP_REGS_OUT(); return; } /* end of function */
   1107   _ljump:
   1108     switch (_itail_tgt) {
   1109       case 0x251380C4u: goto L_251380C4;
   1110       case 0x2514DF36u: goto L_2514DF36;
   1111       case 0x2514DF3Bu: goto L_2514DF3B;
   1112       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1113     }
   1114     RECOMP_REGS_OUT();
   1115 }
   1116 
   1117 void sub_2514DF40(void) {
   1118     int _fpu_cmp = 0;
   1119     uint32_t _cf = 0;
   1120     int _df = 1;
   1121     uint32_t _flag_k = FK_NONE;
   1122     uint32_t _flag_a = 0, _flag_b = 0;
   1123     uint32_t _itail_tgt = 0;
   1124     RECOMP_REGS_LOCALS
   1125     RECOMP_ENTER(0x2514DF40u);
   1126 
   1127 L_2514DF40:
   1128     ecx = ebp + (-0x70); /* 0x2514DF40: lea ecx, [ebp - 0x70] */
   1129 L_2514DF43:
   1130     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   1131     { RECOMP_REGS_OUT(); return; } /* end of function */
   1132   _ljump:
   1133     switch (_itail_tgt) {
   1134       case 0x2514DF40u: goto L_2514DF40;
   1135       case 0x2514DF43u: goto L_2514DF43;
   1136       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1137     }
   1138     RECOMP_REGS_OUT();
   1139 }
   1140 
   1141 void sub_2514DF49(void) {
   1142     int _fpu_cmp = 0;
   1143     uint32_t _cf = 0;
   1144     int _df = 1;
   1145     uint32_t _flag_k = FK_NONE;
   1146     uint32_t _flag_a = 0, _flag_b = 0;
   1147     uint32_t _itail_tgt = 0;
   1148     RECOMP_REGS_LOCALS
   1149     RECOMP_ENTER(0x2514DF49u);
   1150 
   1151     goto L_2514DF49;
   1152 L_251380C4:
   1153     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1154 L_2514DF49:
   1155     eax = 0x2516F7E0u; /* 0x2514DF49: mov eax, 0x2516f7e0 */
   1156 L_2514DF4E:
   1157     RECOMP_BACKEDGE();
   1158     goto L_251380C4; /* 0x2514DF4E: jmp 0x251380c4 */
   1159     { RECOMP_REGS_OUT(); return; } /* end of function */
   1160   _ljump:
   1161     switch (_itail_tgt) {
   1162       case 0x251380C4u: goto L_251380C4;
   1163       case 0x2514DF49u: goto L_2514DF49;
   1164       case 0x2514DF4Eu: goto L_2514DF4E;
   1165       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1166     }
   1167     RECOMP_REGS_OUT();
   1168 }
   1169 
   1170 void sub_2514DF60(void) {
   1171     int _fpu_cmp = 0;
   1172     uint32_t _cf = 0;
   1173     int _df = 1;
   1174     uint32_t _flag_k = FK_NONE;
   1175     uint32_t _flag_a = 0, _flag_b = 0;
   1176     uint32_t _itail_tgt = 0;
   1177     RECOMP_REGS_LOCALS
   1178     RECOMP_ENTER(0x2514DF60u);
   1179 
   1180 L_2514DF60:
   1181     ecx = MEM32(ebp + (-0x10)); /* 0x2514DF60: mov ecx, dword ptr [ebp - 0x10] */
   1182 L_2514DF63:
   1183     { _itail_tgt = (uint32_t)(MEM32(0x25151310)); goto _ljump; }
   1184     { RECOMP_REGS_OUT(); return; } /* end of function */
   1185   _ljump:
   1186     switch (_itail_tgt) {
   1187       case 0x2514DF60u: goto L_2514DF60;
   1188       case 0x2514DF63u: goto L_2514DF63;
   1189       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1190     }
   1191     RECOMP_REGS_OUT();
   1192 }
   1193 
   1194 void sub_2514DF69(void) {
   1195     int _fpu_cmp = 0;
   1196     uint32_t _cf = 0;
   1197     int _df = 1;
   1198     uint32_t _flag_k = FK_NONE;
   1199     uint32_t _flag_a = 0, _flag_b = 0;
   1200     uint32_t _itail_tgt = 0;
   1201     RECOMP_REGS_LOCALS
   1202     RECOMP_ENTER(0x2514DF69u);
   1203 
   1204 L_2514DF69:
   1205     ecx = MEM32(ebp + (-0x10)); /* 0x2514DF69: mov ecx, dword ptr [ebp - 0x10] */
   1206 L_2514DF6C:
   1207     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u);
   1208     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1209     ecx = ecx + 0x10u; /* 0x2514DF6C: add ecx, 0x10 */
   1210     _flag_k = FK_ADD;
   1211 L_2514DF6F:
   1212     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1213     { RECOMP_REGS_OUT(); return; } /* end of function */
   1214   _ljump:
   1215     switch (_itail_tgt) {
   1216       case 0x2514DF69u: goto L_2514DF69;
   1217       case 0x2514DF6Cu: goto L_2514DF6C;
   1218       case 0x2514DF6Fu: goto L_2514DF6F;
   1219       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1220     }
   1221     RECOMP_REGS_OUT();
   1222 }
   1223 
   1224 void sub_2514DF75(void) {
   1225     int _fpu_cmp = 0;
   1226     uint32_t _cf = 0;
   1227     int _df = 1;
   1228     uint32_t _flag_k = FK_NONE;
   1229     uint32_t _flag_a = 0, _flag_b = 0;
   1230     uint32_t _itail_tgt = 0;
   1231     RECOMP_REGS_LOCALS
   1232     RECOMP_ENTER(0x2514DF75u);
   1233 
   1234 L_2514DF75:
   1235     ecx = MEM32(ebp + (-0x10)); /* 0x2514DF75: mov ecx, dword ptr [ebp - 0x10] */
   1236 L_2514DF78:
   1237     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   1238     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1239     ecx = ecx + 0x20u; /* 0x2514DF78: add ecx, 0x20 */
   1240     _flag_k = FK_ADD;
   1241 L_2514DF7B:
   1242     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1243     { RECOMP_REGS_OUT(); return; } /* end of function */
   1244   _ljump:
   1245     switch (_itail_tgt) {
   1246       case 0x2514DF75u: goto L_2514DF75;
   1247       case 0x2514DF78u: goto L_2514DF78;
   1248       case 0x2514DF7Bu: goto L_2514DF7B;
   1249       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1250     }
   1251     RECOMP_REGS_OUT();
   1252 }
   1253 
   1254 void sub_2514DF81(void) {
   1255     int _fpu_cmp = 0;
   1256     uint32_t _cf = 0;
   1257     int _df = 1;
   1258     uint32_t _flag_k = FK_NONE;
   1259     uint32_t _flag_a = 0, _flag_b = 0;
   1260     uint32_t _itail_tgt = 0;
   1261     RECOMP_REGS_LOCALS
   1262     RECOMP_ENTER(0x2514DF81u);
   1263 
   1264     goto L_2514DF81;
   1265 L_251380C4:
   1266     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1267 L_2514DF81:
   1268     eax = 0x2516F808u; /* 0x2514DF81: mov eax, 0x2516f808 */
   1269 L_2514DF86:
   1270     RECOMP_BACKEDGE();
   1271     goto L_251380C4; /* 0x2514DF86: jmp 0x251380c4 */
   1272     { RECOMP_REGS_OUT(); return; } /* end of function */
   1273   _ljump:
   1274     switch (_itail_tgt) {
   1275       case 0x251380C4u: goto L_251380C4;
   1276       case 0x2514DF81u: goto L_2514DF81;
   1277       case 0x2514DF86u: goto L_2514DF86;
   1278       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1279     }
   1280     RECOMP_REGS_OUT();
   1281 }
   1282 
   1283 void sub_2514DF90(void) {
   1284     int _fpu_cmp = 0;
   1285     uint32_t _cf = 0;
   1286     int _df = 1;
   1287     uint32_t _flag_k = FK_NONE;
   1288     uint32_t _flag_a = 0, _flag_b = 0;
   1289     uint32_t _itail_tgt = 0;
   1290     RECOMP_REGS_LOCALS
   1291     RECOMP_ENTER(0x2514DF90u);
   1292 
   1293 L_2514DF90:
   1294     ecx = ebp + (-0x28); /* 0x2514DF90: lea ecx, [ebp - 0x28] */
   1295 L_2514DF93:
   1296     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1297     { RECOMP_REGS_OUT(); return; } /* end of function */
   1298   _ljump:
   1299     switch (_itail_tgt) {
   1300       case 0x2514DF90u: goto L_2514DF90;
   1301       case 0x2514DF93u: goto L_2514DF93;
   1302       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1303     }
   1304     RECOMP_REGS_OUT();
   1305 }
   1306 
   1307 void sub_2514DF99(void) {
   1308     int _fpu_cmp = 0;
   1309     uint32_t _cf = 0;
   1310     int _df = 1;
   1311     uint32_t _flag_k = FK_NONE;
   1312     uint32_t _flag_a = 0, _flag_b = 0;
   1313     uint32_t _itail_tgt = 0;
   1314     RECOMP_REGS_LOCALS
   1315     RECOMP_ENTER(0x2514DF99u);
   1316 
   1317     goto L_2514DF99;
   1318 L_251380C4:
   1319     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1320 L_2514DF99:
   1321     eax = 0x2516F840u; /* 0x2514DF99: mov eax, 0x2516f840 */
   1322 L_2514DF9E:
   1323     RECOMP_BACKEDGE();
   1324     goto L_251380C4; /* 0x2514DF9E: jmp 0x251380c4 */
   1325     { RECOMP_REGS_OUT(); return; } /* end of function */
   1326   _ljump:
   1327     switch (_itail_tgt) {
   1328       case 0x251380C4u: goto L_251380C4;
   1329       case 0x2514DF99u: goto L_2514DF99;
   1330       case 0x2514DF9Eu: goto L_2514DF9E;
   1331       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1332     }
   1333     RECOMP_REGS_OUT();
   1334 }
   1335 
   1336 void sub_2514DFB0(void) {
   1337     int _fpu_cmp = 0;
   1338     uint32_t _cf = 0;
   1339     int _df = 1;
   1340     uint32_t _flag_k = FK_NONE;
   1341     uint32_t _flag_a = 0, _flag_b = 0;
   1342     uint32_t _itail_tgt = 0;
   1343     RECOMP_REGS_LOCALS
   1344     RECOMP_ENTER(0x2514DFB0u);
   1345 
   1346 L_2514DFB0:
   1347     ecx = ebp + (-0x1C); /* 0x2514DFB0: lea ecx, [ebp - 0x1c] */
   1348 L_2514DFB3:
   1349     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1350     { RECOMP_REGS_OUT(); return; } /* end of function */
   1351   _ljump:
   1352     switch (_itail_tgt) {
   1353       case 0x2514DFB0u: goto L_2514DFB0;
   1354       case 0x2514DFB3u: goto L_2514DFB3;
   1355       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1356     }
   1357     RECOMP_REGS_OUT();
   1358 }
   1359 
   1360 void sub_2514DFB9(void) {
   1361     int _fpu_cmp = 0;
   1362     uint32_t _cf = 0;
   1363     int _df = 1;
   1364     uint32_t _flag_k = FK_NONE;
   1365     uint32_t _flag_a = 0, _flag_b = 0;
   1366     uint32_t _itail_tgt = 0;
   1367     RECOMP_REGS_LOCALS
   1368     RECOMP_ENTER(0x2514DFB9u);
   1369 
   1370     goto L_2514DFB9;
   1371 L_251380C4:
   1372     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1373 L_2514DFB9:
   1374     eax = 0x2516F868u; /* 0x2514DFB9: mov eax, 0x2516f868 */
   1375 L_2514DFBE:
   1376     RECOMP_BACKEDGE();
   1377     goto L_251380C4; /* 0x2514DFBE: jmp 0x251380c4 */
   1378     { RECOMP_REGS_OUT(); return; } /* end of function */
   1379   _ljump:
   1380     switch (_itail_tgt) {
   1381       case 0x251380C4u: goto L_251380C4;
   1382       case 0x2514DFB9u: goto L_2514DFB9;
   1383       case 0x2514DFBEu: goto L_2514DFBE;
   1384       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1385     }
   1386     RECOMP_REGS_OUT();
   1387 }
   1388 
   1389 void sub_2514DFD0(void) {
   1390     int _fpu_cmp = 0;
   1391     uint32_t _cf = 0;
   1392     int _df = 1;
   1393     uint32_t _flag_k = FK_NONE;
   1394     uint32_t _flag_a = 0, _flag_b = 0;
   1395     uint32_t _itail_tgt = 0;
   1396     RECOMP_REGS_LOCALS
   1397     RECOMP_ENTER(0x2514DFD0u);
   1398 
   1399 L_2514DFD0:
   1400     eax = MEM32(ebp + (-0x10)); /* 0x2514DFD0: mov eax, dword ptr [ebp - 0x10] */
   1401 L_2514DFD3:
   1402     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2);
   1403     eax = eax & 2; /* 0x2514DFD3: and eax, 2 */
   1404     _cf = 0;
   1405     _flag_k = FK_TEST;
   1406 L_2514DFD6:
   1407     /* test eax, eax */ /* 0x2514DFD6: test eax, eax */
   1408     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1409     _cf = 0;
   1410     _flag_k = FK_TEST;
   1411 L_2514DFD8:
   1412     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2514DFE7; /* 0x2514DFD8: je 0x2514dfe7 */
   1413 L_2514DFDE:
   1414     ecx = ebp + (-0x58); /* 0x2514DFDE: lea ecx, [ebp - 0x58] */
   1415 L_2514DFE1:
   1416     { _itail_tgt = (uint32_t)(MEM32(0x251511C0)); goto _ljump; }
   1417 L_2514DFE7:
   1418     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514DFE7: ret  */
   1419   _ljump:
   1420     switch (_itail_tgt) {
   1421       case 0x2514DFD0u: goto L_2514DFD0;
   1422       case 0x2514DFD3u: goto L_2514DFD3;
   1423       case 0x2514DFD6u: goto L_2514DFD6;
   1424       case 0x2514DFD8u: goto L_2514DFD8;
   1425       case 0x2514DFDEu: goto L_2514DFDE;
   1426       case 0x2514DFE1u: goto L_2514DFE1;
   1427       case 0x2514DFE7u: goto L_2514DFE7;
   1428       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1429     }
   1430     RECOMP_REGS_OUT();
   1431 }
   1432 
   1433 void sub_2514DFE8(void) {
   1434     int _fpu_cmp = 0;
   1435     uint32_t _cf = 0;
   1436     int _df = 1;
   1437     uint32_t _flag_k = FK_NONE;
   1438     uint32_t _flag_a = 0, _flag_b = 0;
   1439     uint32_t _itail_tgt = 0;
   1440     RECOMP_REGS_LOCALS
   1441     RECOMP_ENTER(0x2514DFE8u);
   1442 
   1443 L_2514DFE8:
   1444     ecx = ebp + (-0xA4); /* 0x2514DFE8: lea ecx, [ebp - 0xa4] */
   1445 L_2514DFEE:
   1446     { _itail_tgt = (uint32_t)(MEM32(0x25151124)); goto _ljump; }
   1447     { RECOMP_REGS_OUT(); return; } /* end of function */
   1448   _ljump:
   1449     switch (_itail_tgt) {
   1450       case 0x2514DFE8u: goto L_2514DFE8;
   1451       case 0x2514DFEEu: goto L_2514DFEE;
   1452       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1453     }
   1454     RECOMP_REGS_OUT();
   1455 }
   1456 
   1457 void sub_2514DFF4(void) {
   1458     int _fpu_cmp = 0;
   1459     uint32_t _cf = 0;
   1460     int _df = 1;
   1461     uint32_t _flag_k = FK_NONE;
   1462     uint32_t _flag_a = 0, _flag_b = 0;
   1463     uint32_t _itail_tgt = 0;
   1464     RECOMP_REGS_LOCALS
   1465     RECOMP_ENTER(0x2514DFF4u);
   1466 
   1467 L_2514DFF4:
   1468     ecx = ebp + (-0xA8); /* 0x2514DFF4: lea ecx, [ebp - 0xa8] */
   1469 L_2514DFFA:
   1470     { _itail_tgt = (uint32_t)(MEM32(0x25151128)); goto _ljump; }
   1471     { RECOMP_REGS_OUT(); return; } /* end of function */
   1472   _ljump:
   1473     switch (_itail_tgt) {
   1474       case 0x2514DFF4u: goto L_2514DFF4;
   1475       case 0x2514DFFAu: goto L_2514DFFA;
   1476       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1477     }
   1478     RECOMP_REGS_OUT();
   1479 }
   1480 
   1481 void sub_2514E000(void) {
   1482     int _fpu_cmp = 0;
   1483     uint32_t _cf = 0;
   1484     int _df = 1;
   1485     uint32_t _flag_k = FK_NONE;
   1486     uint32_t _flag_a = 0, _flag_b = 0;
   1487     uint32_t _itail_tgt = 0;
   1488     RECOMP_REGS_LOCALS
   1489     RECOMP_ENTER(0x2514E000u);
   1490 
   1491 L_2514E000:
   1492     eax = MEM32(ebp + (-0x10)); /* 0x2514E000: mov eax, dword ptr [ebp - 0x10] */
   1493 L_2514E003:
   1494     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1495     eax = eax & 1; /* 0x2514E003: and eax, 1 */
   1496     _cf = 0;
   1497     _flag_k = FK_TEST;
   1498 L_2514E006:
   1499     /* test eax, eax */ /* 0x2514E006: test eax, eax */
   1500     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1501     _cf = 0;
   1502     _flag_k = FK_TEST;
   1503 L_2514E008:
   1504     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2514E017; /* 0x2514E008: je 0x2514e017 */
   1505 L_2514E00E:
   1506     ecx = MEM32(ebp + 0x8); /* 0x2514E00E: mov ecx, dword ptr [ebp + 8] */
   1507 L_2514E011:
   1508     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1509 L_2514E017:
   1510     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E017: ret  */
   1511   _ljump:
   1512     switch (_itail_tgt) {
   1513       case 0x2514E000u: goto L_2514E000;
   1514       case 0x2514E003u: goto L_2514E003;
   1515       case 0x2514E006u: goto L_2514E006;
   1516       case 0x2514E008u: goto L_2514E008;
   1517       case 0x2514E00Eu: goto L_2514E00E;
   1518       case 0x2514E011u: goto L_2514E011;
   1519       case 0x2514E017u: goto L_2514E017;
   1520       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1521     }
   1522     RECOMP_REGS_OUT();
   1523 }
   1524 
   1525 void sub_2514E018(void) {
   1526     int _fpu_cmp = 0;
   1527     uint32_t _cf = 0;
   1528     int _df = 1;
   1529     uint32_t _flag_k = FK_NONE;
   1530     uint32_t _flag_a = 0, _flag_b = 0;
   1531     uint32_t _itail_tgt = 0;
   1532     RECOMP_REGS_LOCALS
   1533     RECOMP_ENTER(0x2514E018u);
   1534 
   1535 L_2514E018:
   1536     ecx = MEM32(ebp + (-0x1C)); /* 0x2514E018: mov ecx, dword ptr [ebp - 0x1c] */
   1537 L_2514E01B:
   1538     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x4Cu);
   1539     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1540     ecx = ecx - 0x4Cu; /* 0x2514E01B: sub ecx, 0x4c */
   1541     _flag_k = FK_CMP;
   1542 L_2514E01E:
   1543     { _itail_tgt = (uint32_t)(MEM32(0x25151124)); goto _ljump; }
   1544     { RECOMP_REGS_OUT(); return; } /* end of function */
   1545   _ljump:
   1546     switch (_itail_tgt) {
   1547       case 0x2514E018u: goto L_2514E018;
   1548       case 0x2514E01Bu: goto L_2514E01B;
   1549       case 0x2514E01Eu: goto L_2514E01E;
   1550       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1551     }
   1552     RECOMP_REGS_OUT();
   1553 }
   1554 
   1555 void sub_2514E024(void) {
   1556     int _fpu_cmp = 0;
   1557     uint32_t _cf = 0;
   1558     int _df = 1;
   1559     uint32_t _flag_k = FK_NONE;
   1560     uint32_t _flag_a = 0, _flag_b = 0;
   1561     uint32_t _itail_tgt = 0;
   1562     RECOMP_REGS_LOCALS
   1563     RECOMP_ENTER(0x2514E024u);
   1564 
   1565 L_2514E024:
   1566     ecx = MEM32(ebp + (-0x20)); /* 0x2514E024: mov ecx, dword ptr [ebp - 0x20] */
   1567 L_2514E027:
   1568     { _itail_tgt = (uint32_t)(MEM32(0x25151154)); goto _ljump; }
   1569     { RECOMP_REGS_OUT(); return; } /* end of function */
   1570   _ljump:
   1571     switch (_itail_tgt) {
   1572       case 0x2514E024u: goto L_2514E024;
   1573       case 0x2514E027u: goto L_2514E027;
   1574       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1575     }
   1576     RECOMP_REGS_OUT();
   1577 }
   1578 
   1579 void sub_2514E02D(void) {
   1580     int _fpu_cmp = 0;
   1581     uint32_t _cf = 0;
   1582     int _df = 1;
   1583     uint32_t _flag_k = FK_NONE;
   1584     uint32_t _flag_a = 0, _flag_b = 0;
   1585     uint32_t _itail_tgt = 0;
   1586     RECOMP_REGS_LOCALS
   1587     RECOMP_ENTER(0x2514E02Du);
   1588 
   1589     goto L_2514E02D;
   1590 L_251380C4:
   1591     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1592 L_2514E02D:
   1593     eax = 0x2516F890u; /* 0x2514E02D: mov eax, 0x2516f890 */
   1594 L_2514E032:
   1595     RECOMP_BACKEDGE();
   1596     goto L_251380C4; /* 0x2514E032: jmp 0x251380c4 */
   1597     { RECOMP_REGS_OUT(); return; } /* end of function */
   1598   _ljump:
   1599     switch (_itail_tgt) {
   1600       case 0x251380C4u: goto L_251380C4;
   1601       case 0x2514E02Du: goto L_2514E02D;
   1602       case 0x2514E032u: goto L_2514E032;
   1603       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1604     }
   1605     RECOMP_REGS_OUT();
   1606 }
   1607 
   1608 void sub_2514E040(void) {
   1609     int _fpu_cmp = 0;
   1610     uint32_t _cf = 0;
   1611     int _df = 1;
   1612     uint32_t _flag_k = FK_NONE;
   1613     uint32_t _flag_a = 0, _flag_b = 0;
   1614     uint32_t _itail_tgt = 0;
   1615     RECOMP_REGS_LOCALS
   1616     RECOMP_ENTER(0x2514E040u);
   1617 
   1618 L_2514E040:
   1619     eax = MEM32(ebp + (-0x10)); /* 0x2514E040: mov eax, dword ptr [ebp - 0x10] */
   1620     PUSH32(esp, eax); /* 0x2514E043: push eax */
   1621     RECOMP_ICALL(0x25137EECu); /* 0x2514E044: call 0x25137eec */ /* not lifted */
   1622     RECOMP_FLAGS_IN();
   1623     ecx = POP32_VAL(esp); /* 0x2514E049: pop ecx */
   1624     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E04A: ret  */
   1625     RECOMP_REGS_OUT();
   1626 }
   1627 
   1628 void sub_2514E04B(void) {
   1629     int _fpu_cmp = 0;
   1630     uint32_t _cf = 0;
   1631     int _df = 1;
   1632     uint32_t _flag_k = FK_NONE;
   1633     uint32_t _flag_a = 0, _flag_b = 0;
   1634     uint32_t _itail_tgt = 0;
   1635     RECOMP_REGS_LOCALS
   1636     RECOMP_ENTER(0x2514E04Bu);
   1637 
   1638     goto L_2514E04B;
   1639 L_251380C4:
   1640     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1641 L_2514E04B:
   1642     eax = 0x2516F8E0u; /* 0x2514E04B: mov eax, 0x2516f8e0 */
   1643 L_2514E050:
   1644     RECOMP_BACKEDGE();
   1645     goto L_251380C4; /* 0x2514E050: jmp 0x251380c4 */
   1646     { RECOMP_REGS_OUT(); return; } /* end of function */
   1647   _ljump:
   1648     switch (_itail_tgt) {
   1649       case 0x251380C4u: goto L_251380C4;
   1650       case 0x2514E04Bu: goto L_2514E04B;
   1651       case 0x2514E050u: goto L_2514E050;
   1652       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1653     }
   1654     RECOMP_REGS_OUT();
   1655 }
   1656 
   1657 void sub_2514E060(void) {
   1658     int _fpu_cmp = 0;
   1659     uint32_t _cf = 0;
   1660     int _df = 1;
   1661     uint32_t _flag_k = FK_NONE;
   1662     uint32_t _flag_a = 0, _flag_b = 0;
   1663     uint32_t _itail_tgt = 0;
   1664     RECOMP_REGS_LOCALS
   1665     RECOMP_ENTER(0x2514E060u);
   1666 
   1667 L_2514E060:
   1668     ecx = MEM32(ebp + (-0x18)); /* 0x2514E060: mov ecx, dword ptr [ebp - 0x18] */
   1669 L_2514E063:
   1670     { _itail_tgt = (uint32_t)(MEM32(0x251513FC)); goto _ljump; }
   1671     { RECOMP_REGS_OUT(); return; } /* end of function */
   1672   _ljump:
   1673     switch (_itail_tgt) {
   1674       case 0x2514E060u: goto L_2514E060;
   1675       case 0x2514E063u: goto L_2514E063;
   1676       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1677     }
   1678     RECOMP_REGS_OUT();
   1679 }
   1680 
   1681 void sub_2514E069(void) {
   1682     int _fpu_cmp = 0;
   1683     uint32_t _cf = 0;
   1684     int _df = 1;
   1685     uint32_t _flag_k = FK_NONE;
   1686     uint32_t _flag_a = 0, _flag_b = 0;
   1687     uint32_t _itail_tgt = 0;
   1688     RECOMP_REGS_LOCALS
   1689     RECOMP_ENTER(0x2514E069u);
   1690 
   1691     goto L_2514E069;
   1692 L_25085240:
   1693     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   1694     ebp = esp; /* 0x25085241: mov ebp, esp */
   1695     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   1696     PUSH32(esp, esi); /* 0x25085244: push esi */
   1697     esi = ecx; /* 0x25085245: mov esi, ecx */
   1698     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   1699     PUSH32(esp, eax); /* 0x2508524A: push eax */
   1700     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   1701     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   1702     RECOMP_FLAGS_IN();
   1703     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1704     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1705     esp = esp + 4; /* 0x25085253: add esp, 4 */
   1706     _flag_k = FK_ADD;
   1707     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1708     eax = 0; /* 0x25085256: xor eax, eax */
   1709     _cf = 0;
   1710     _flag_k = FK_TEST;
   1711     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   1712     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   1713     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   1714     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   1715     esp = ebp; /* 0x25085262: mov esp, ebp */
   1716     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   1717     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   1718 L_2514E069:
   1719     ecx = MEM32(ebp + (-0x18)); /* 0x2514E069: mov ecx, dword ptr [ebp - 0x18] */
   1720     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   1721     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1722     ecx = ecx + 8; /* 0x2514E06C: add ecx, 8 */
   1723     _flag_k = FK_ADD;
   1724     RECOMP_BACKEDGE();
   1725     goto L_25085240; /* 0x2514E06F: jmp 0x25085240 */
   1726     { RECOMP_REGS_OUT(); return; } /* end of function */
   1727     RECOMP_REGS_OUT();
   1728 }
   1729 
   1730 void sub_2514E074(void) {
   1731     int _fpu_cmp = 0;
   1732     uint32_t _cf = 0;
   1733     int _df = 1;
   1734     uint32_t _flag_k = FK_NONE;
   1735     uint32_t _flag_a = 0, _flag_b = 0;
   1736     uint32_t _itail_tgt = 0;
   1737     RECOMP_REGS_LOCALS
   1738     RECOMP_ENTER(0x2514E074u);
   1739 
   1740     goto L_2514E074;
   1741 L_251380C4:
   1742     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1743 L_2514E074:
   1744     eax = 0x2516F908u; /* 0x2514E074: mov eax, 0x2516f908 */
   1745 L_2514E079:
   1746     RECOMP_BACKEDGE();
   1747     goto L_251380C4; /* 0x2514E079: jmp 0x251380c4 */
   1748     { RECOMP_REGS_OUT(); return; } /* end of function */
   1749   _ljump:
   1750     switch (_itail_tgt) {
   1751       case 0x251380C4u: goto L_251380C4;
   1752       case 0x2514E074u: goto L_2514E074;
   1753       case 0x2514E079u: goto L_2514E079;
   1754       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1755     }
   1756     RECOMP_REGS_OUT();
   1757 }
   1758 
   1759 void sub_2514E080(void) {
   1760     int _fpu_cmp = 0;
   1761     uint32_t _cf = 0;
   1762     int _df = 1;
   1763     uint32_t _flag_k = FK_NONE;
   1764     uint32_t _flag_a = 0, _flag_b = 0;
   1765     uint32_t _itail_tgt = 0;
   1766     RECOMP_REGS_LOCALS
   1767     RECOMP_ENTER(0x2514E080u);
   1768 
   1769     goto L_2514E080;
   1770 L_250E0E40:
   1771     goto L_250E62B0; /* 0x250E0E40: jmp 0x250e62b0 */
   1772 L_250E62B0:
   1773     PUSH32(esp, ebp); /* 0x250E62B0: push ebp */
   1774     ebp = esp; /* 0x250E62B1: mov ebp, esp */
   1775     PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */
   1776     PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */
   1777     eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */
   1778     PUSH32(esp, eax); /* 0x250E62C0: push eax */
   1779     MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */
   1780     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1781     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1782     esp = esp - 8; /* 0x250E62C8: sub esp, 8 */
   1783     _flag_k = FK_CMP;
   1784     PUSH32(esp, esi); /* 0x250E62CB: push esi */
   1785     esi = ecx; /* 0x250E62CC: mov esi, ecx */
   1786     MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */
   1787     MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */
   1788     eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */
   1789     PUSH32(esp, eax); /* 0x250E62DA: push eax */
   1790     eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */
   1791     PUSH32(esp, eax); /* 0x250E62DE: push eax */
   1792     ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */
   1793     MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */
   1794     RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */
   1795     RECOMP_FLAGS_IN();
   1796     eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */
   1797     /* test eax, eax */ /* 0x250E62F3: test eax, eax */
   1798     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1799     _cf = 0;
   1800     _flag_k = FK_TEST;
   1801     if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */
   1802 L_250E62F7:
   1803     _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1);
   1804     MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */
   1805     _flag_k = FK_DEC;
   1806 L_250E62FD:
   1807     eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */
   1808     /* test eax, eax */ /* 0x250E6300: test eax, eax */
   1809     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1810     _cf = 0;
   1811     _flag_k = FK_TEST;
   1812     if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */
   1813 L_250E6304:
   1814     ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */
   1815     SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */
   1816     /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */
   1817     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1818     _cf = 0;
   1819     _flag_k = FK_NARROW(FK_TEST, 24);
   1820     if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */
   1821 L_250E630D:
   1822     /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */
   1823     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1825     _flag_k = FK_NARROW(FK_CMP, 24);
   1826     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */
   1827 L_250E6311:
   1828     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1829     SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */
   1830     _flag_k = FK_NARROW(FK_DEC, 24);
   1831     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */
   1832     goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */
   1833 L_250E6317:
   1834     PUSH32(esp, ecx); /* 0x250E6317: push ecx */
   1835     RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */
   1836     RECOMP_FLAGS_IN();
   1837     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1838     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1839     esp = esp + 4; /* 0x250E631D: add esp, 4 */
   1840     _flag_k = FK_ADD;
   1841 L_250E6320:
   1842     ecx = esi; /* 0x250E6320: mov ecx, esi */
   1843     MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */
   1844     MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */
   1845     MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */
   1846     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */
   1847     RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */
   1848     RECOMP_FLAGS_IN();
   1849     ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */
   1850     esi = POP32_VAL(esp); /* 0x250E6347: pop esi */
   1851     MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */
   1852     esp = ebp; /* 0x250E634F: mov esp, ebp */
   1853     ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */
   1854     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret  */
   1855 L_2514E080:
   1856     ecx = MEM32(ebp + (-0x34)); /* 0x2514E080: mov ecx, dword ptr [ebp - 0x34] */
   1857     RECOMP_BACKEDGE();
   1858     goto L_250E0E40; /* 0x2514E083: jmp 0x250e0e40 */
   1859     { RECOMP_REGS_OUT(); return; } /* end of function */
   1860     RECOMP_REGS_OUT();
   1861 }
   1862 
   1863 void sub_2514E088(void) {
   1864     int _fpu_cmp = 0;
   1865     uint32_t _cf = 0;
   1866     int _df = 1;
   1867     uint32_t _flag_k = FK_NONE;
   1868     uint32_t _flag_a = 0, _flag_b = 0;
   1869     uint32_t _itail_tgt = 0;
   1870     RECOMP_REGS_LOCALS
   1871     RECOMP_ENTER(0x2514E088u);
   1872 
   1873     goto L_2514E088;
   1874 L_25085240:
   1875     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   1876     ebp = esp; /* 0x25085241: mov ebp, esp */
   1877     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   1878     PUSH32(esp, esi); /* 0x25085244: push esi */
   1879     esi = ecx; /* 0x25085245: mov esi, ecx */
   1880     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   1881     PUSH32(esp, eax); /* 0x2508524A: push eax */
   1882     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   1883     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   1884     RECOMP_FLAGS_IN();
   1885     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1886     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1887     esp = esp + 4; /* 0x25085253: add esp, 4 */
   1888     _flag_k = FK_ADD;
   1889     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1890     eax = 0; /* 0x25085256: xor eax, eax */
   1891     _cf = 0;
   1892     _flag_k = FK_TEST;
   1893     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   1894     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   1895     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   1896     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   1897     esp = ebp; /* 0x25085262: mov esp, ebp */
   1898     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   1899     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   1900 L_2514E088:
   1901     ecx = MEM32(ebp + (-0x34)); /* 0x2514E088: mov ecx, dword ptr [ebp - 0x34] */
   1902     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u);
   1903     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1904     ecx = ecx + 0x34u; /* 0x2514E08B: add ecx, 0x34 */
   1905     _flag_k = FK_ADD;
   1906     RECOMP_BACKEDGE();
   1907     goto L_25085240; /* 0x2514E08E: jmp 0x25085240 */
   1908     { RECOMP_REGS_OUT(); return; } /* end of function */
   1909     RECOMP_REGS_OUT();
   1910 }
   1911 
   1912 void sub_2514E093(void) {
   1913     int _fpu_cmp = 0;
   1914     uint32_t _cf = 0;
   1915     int _df = 1;
   1916     uint32_t _flag_k = FK_NONE;
   1917     uint32_t _flag_a = 0, _flag_b = 0;
   1918     uint32_t _itail_tgt = 0;
   1919     RECOMP_REGS_LOCALS
   1920     RECOMP_ENTER(0x2514E093u);
   1921 
   1922     goto L_2514E093;
   1923 L_25085240:
   1924     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   1925     ebp = esp; /* 0x25085241: mov ebp, esp */
   1926     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   1927     PUSH32(esp, esi); /* 0x25085244: push esi */
   1928     esi = ecx; /* 0x25085245: mov esi, ecx */
   1929     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   1930     PUSH32(esp, eax); /* 0x2508524A: push eax */
   1931     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   1932     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   1933     RECOMP_FLAGS_IN();
   1934     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1935     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1936     esp = esp + 4; /* 0x25085253: add esp, 4 */
   1937     _flag_k = FK_ADD;
   1938     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1939     eax = 0; /* 0x25085256: xor eax, eax */
   1940     _cf = 0;
   1941     _flag_k = FK_TEST;
   1942     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   1943     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   1944     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   1945     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   1946     esp = ebp; /* 0x25085262: mov esp, ebp */
   1947     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   1948     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   1949 L_2514E093:
   1950     ecx = MEM32(ebp + (-0x34)); /* 0x2514E093: mov ecx, dword ptr [ebp - 0x34] */
   1951     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x44u);
   1952     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1953     ecx = ecx + 0x44u; /* 0x2514E096: add ecx, 0x44 */
   1954     _flag_k = FK_ADD;
   1955     RECOMP_BACKEDGE();
   1956     goto L_25085240; /* 0x2514E099: jmp 0x25085240 */
   1957     { RECOMP_REGS_OUT(); return; } /* end of function */
   1958     RECOMP_REGS_OUT();
   1959 }
   1960 
   1961 void sub_2514E09E(void) {
   1962     int _fpu_cmp = 0;
   1963     uint32_t _cf = 0;
   1964     int _df = 1;
   1965     uint32_t _flag_k = FK_NONE;
   1966     uint32_t _flag_a = 0, _flag_b = 0;
   1967     uint32_t _itail_tgt = 0;
   1968     RECOMP_REGS_LOCALS
   1969     RECOMP_ENTER(0x2514E09Eu);
   1970 
   1971     goto L_2514E09E;
   1972 L_25085240:
   1973     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   1974     ebp = esp; /* 0x25085241: mov ebp, esp */
   1975     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   1976     PUSH32(esp, esi); /* 0x25085244: push esi */
   1977     esi = ecx; /* 0x25085245: mov esi, ecx */
   1978     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   1979     PUSH32(esp, eax); /* 0x2508524A: push eax */
   1980     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   1981     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   1982     RECOMP_FLAGS_IN();
   1983     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1984     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1985     esp = esp + 4; /* 0x25085253: add esp, 4 */
   1986     _flag_k = FK_ADD;
   1987     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1988     eax = 0; /* 0x25085256: xor eax, eax */
   1989     _cf = 0;
   1990     _flag_k = FK_TEST;
   1991     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   1992     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   1993     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   1994     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   1995     esp = ebp; /* 0x25085262: mov esp, ebp */
   1996     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   1997     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   1998 L_2514E09E:
   1999     ecx = MEM32(ebp + (-0x34)); /* 0x2514E09E: mov ecx, dword ptr [ebp - 0x34] */
   2000     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x54u);
   2001     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2002     ecx = ecx + 0x54u; /* 0x2514E0A1: add ecx, 0x54 */
   2003     _flag_k = FK_ADD;
   2004     RECOMP_BACKEDGE();
   2005     goto L_25085240; /* 0x2514E0A4: jmp 0x25085240 */
   2006     { RECOMP_REGS_OUT(); return; } /* end of function */
   2007     RECOMP_REGS_OUT();
   2008 }
   2009 
   2010 void sub_2514E0A9(void) {
   2011     int _fpu_cmp = 0;
   2012     uint32_t _cf = 0;
   2013     int _df = 1;
   2014     uint32_t _flag_k = FK_NONE;
   2015     uint32_t _flag_a = 0, _flag_b = 0;
   2016     uint32_t _itail_tgt = 0;
   2017     RECOMP_REGS_LOCALS
   2018     RECOMP_ENTER(0x2514E0A9u);
   2019 
   2020     goto L_2514E0A9;
   2021 L_25085240:
   2022     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   2023     ebp = esp; /* 0x25085241: mov ebp, esp */
   2024     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   2025     PUSH32(esp, esi); /* 0x25085244: push esi */
   2026     esi = ecx; /* 0x25085245: mov esi, ecx */
   2027     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   2028     PUSH32(esp, eax); /* 0x2508524A: push eax */
   2029     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   2030     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   2031     RECOMP_FLAGS_IN();
   2032     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2033     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2034     esp = esp + 4; /* 0x25085253: add esp, 4 */
   2035     _flag_k = FK_ADD;
   2036     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2037     eax = 0; /* 0x25085256: xor eax, eax */
   2038     _cf = 0;
   2039     _flag_k = FK_TEST;
   2040     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   2041     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   2042     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   2043     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   2044     esp = ebp; /* 0x25085262: mov esp, ebp */
   2045     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   2046     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   2047 L_2514E0A9:
   2048     ecx = MEM32(ebp + (-0x34)); /* 0x2514E0A9: mov ecx, dword ptr [ebp - 0x34] */
   2049     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x64u);
   2050     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2051     ecx = ecx + 0x64u; /* 0x2514E0AC: add ecx, 0x64 */
   2052     _flag_k = FK_ADD;
   2053     RECOMP_BACKEDGE();
   2054     goto L_25085240; /* 0x2514E0AF: jmp 0x25085240 */
   2055     { RECOMP_REGS_OUT(); return; } /* end of function */
   2056     RECOMP_REGS_OUT();
   2057 }
   2058 
   2059 void sub_2514E0B4(void) {
   2060     int _fpu_cmp = 0;
   2061     uint32_t _cf = 0;
   2062     int _df = 1;
   2063     uint32_t _flag_k = FK_NONE;
   2064     uint32_t _flag_a = 0, _flag_b = 0;
   2065     uint32_t _itail_tgt = 0;
   2066     RECOMP_REGS_LOCALS
   2067     RECOMP_ENTER(0x2514E0B4u);
   2068 
   2069     goto L_2514E0B4;
   2070 L_251380C4:
   2071     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2072 L_2514E0B4:
   2073     eax = 0x2516F938u; /* 0x2514E0B4: mov eax, 0x2516f938 */
   2074 L_2514E0B9:
   2075     RECOMP_BACKEDGE();
   2076     goto L_251380C4; /* 0x2514E0B9: jmp 0x251380c4 */
   2077     { RECOMP_REGS_OUT(); return; } /* end of function */
   2078   _ljump:
   2079     switch (_itail_tgt) {
   2080       case 0x251380C4u: goto L_251380C4;
   2081       case 0x2514E0B4u: goto L_2514E0B4;
   2082       case 0x2514E0B9u: goto L_2514E0B9;
   2083       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2084     }
   2085     RECOMP_REGS_OUT();
   2086 }
   2087 
   2088 void sub_2514E0C0(void) {
   2089     int _fpu_cmp = 0;
   2090     uint32_t _cf = 0;
   2091     int _df = 1;
   2092     uint32_t _flag_k = FK_NONE;
   2093     uint32_t _flag_a = 0, _flag_b = 0;
   2094     uint32_t _itail_tgt = 0;
   2095     RECOMP_REGS_LOCALS
   2096     RECOMP_ENTER(0x2514E0C0u);
   2097 
   2098 L_2514E0C0:
   2099     eax = MEM32(ebp + (-0x10)); /* 0x2514E0C0: mov eax, dword ptr [ebp - 0x10] */
   2100     PUSH32(esp, eax); /* 0x2514E0C3: push eax */
   2101     RECOMP_ICALL(0x25137EECu); /* 0x2514E0C4: call 0x25137eec */ /* not lifted */
   2102     RECOMP_FLAGS_IN();
   2103     ecx = POP32_VAL(esp); /* 0x2514E0C9: pop ecx */
   2104     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E0CA: ret  */
   2105     RECOMP_REGS_OUT();
   2106 }
   2107 
   2108 void sub_2514E0CB(void) {
   2109     int _fpu_cmp = 0;
   2110     uint32_t _cf = 0;
   2111     int _df = 1;
   2112     uint32_t _flag_k = FK_NONE;
   2113     uint32_t _flag_a = 0, _flag_b = 0;
   2114     uint32_t _itail_tgt = 0;
   2115     RECOMP_REGS_LOCALS
   2116     RECOMP_ENTER(0x2514E0CBu);
   2117 
   2118     goto L_2514E0CB;
   2119 L_251380C4:
   2120     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2121 L_2514E0CB:
   2122     eax = 0x2516F980u; /* 0x2514E0CB: mov eax, 0x2516f980 */
   2123 L_2514E0D0:
   2124     RECOMP_BACKEDGE();
   2125     goto L_251380C4; /* 0x2514E0D0: jmp 0x251380c4 */
   2126     { RECOMP_REGS_OUT(); return; } /* end of function */
   2127   _ljump:
   2128     switch (_itail_tgt) {
   2129       case 0x251380C4u: goto L_251380C4;
   2130       case 0x2514E0CBu: goto L_2514E0CB;
   2131       case 0x2514E0D0u: goto L_2514E0D0;
   2132       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2133     }
   2134     RECOMP_REGS_OUT();
   2135 }
   2136 
   2137 void sub_2514E0E0(void) {
   2138     int _fpu_cmp = 0;
   2139     uint32_t _cf = 0;
   2140     int _df = 1;
   2141     uint32_t _flag_k = FK_NONE;
   2142     uint32_t _flag_a = 0, _flag_b = 0;
   2143     uint32_t _itail_tgt = 0;
   2144     RECOMP_REGS_LOCALS
   2145     RECOMP_ENTER(0x2514E0E0u);
   2146 
   2147     goto L_2514E0E0;
   2148 L_250DB0B0:
   2149     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   2150     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   2151     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   2152     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   2153     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   2154     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   2155     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   2156     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2157     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2158     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   2159     _flag_k = FK_CMP;
   2160     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   2161     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   2162     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   2163     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   2164     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   2165     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   2166     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   2167     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   2168     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   2169     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   2170     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   2171     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   2172     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   2173     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   2174     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2175     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   2176     _cf = 0;
   2177     _flag_k = FK_TEST;
   2178     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   2179     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2181     _flag_k = FK_CMP;
   2182     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   2183     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   2184 L_250DB11E:
   2185     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   2186     RECOMP_FLAGS_IN();
   2187 L_250DB123:
   2188     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   2189     PUSH32(esp, eax); /* 0x250DB129: push eax */
   2190     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   2191     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   2192     RECOMP_FLAGS_IN();
   2193     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2194     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2195     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   2196     _flag_k = FK_ADD;
   2197     eax = edi; /* 0x250DB135: mov eax, edi */
   2198     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2199     _cf = (eax) != 0;
   2200     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   2201     _flag_k = FK_CMP;
   2202     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   2203       eax = _sc ? 0xFFFFFFFFu : 0;
   2204       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2205       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2206     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2207     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   2208     _cf = 0;
   2209     _flag_k = FK_TEST;
   2210     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   2211     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   2212     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   2213     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   2214     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   2215     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   2216     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   2217     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2219     _flag_k = FK_CMP;
   2220     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   2221     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   2222     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   2223     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   2224     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   2225 L_250DB16C:
   2226     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   2227     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   2228     ecx = esi; /* 0x250DB170: mov ecx, esi */
   2229     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   2230     RECOMP_FLAGS_IN();
   2231     ecx = eax; /* 0x250DB177: mov ecx, eax */
   2232     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   2233     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   2234     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   2235     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2236     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2237     _flag_k = FK_CMP;
   2238     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   2239     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   2240     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2241     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2242     _flag_k = FK_NARROW(FK_CMP, 24);
   2243     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   2244 L_250DB187:
   2245     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   2246     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   2247     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2248     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2249     _flag_k = FK_CMP;
   2250     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   2251 L_250DB18F:
   2252     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   2253     PUSH32(esp, edx); /* 0x250DB192: push edx */
   2254     ecx = esi; /* 0x250DB193: mov ecx, esi */
   2255     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   2256     RECOMP_FLAGS_IN();
   2257     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   2258     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   2259     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   2260     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   2261     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   2262     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   2263     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   2264     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   2265     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   2266     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   2267     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   2268     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   2269     RECOMP_FLAGS_IN();
   2270     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   2271 L_250DB1BE:
   2272     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   2273     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   2274     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2275     _flag_k = FK_CMP;
   2276     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   2277 L_250DB1C3:
   2278     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   2279     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   2280     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   2281     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   2282     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   2283     RECOMP_FLAGS_IN();
   2284     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   2285     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   2286     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   2287     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   2288     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   2289     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   2290     RECOMP_FLAGS_IN();
   2291     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   2292     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   2293     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   2294     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2295     _flag_k = FK_CMP;
   2296     RECOMP_BACKEDGE();
   2297     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   2298 L_250DB1E6:
   2299     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   2300     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   2301     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   2302     RECOMP_FLAGS_IN();
   2303     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   2304     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   2305     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   2306     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   2307     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   2308     RECOMP_FLAGS_IN();
   2309     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2310     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2311     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   2312     _flag_k = FK_ADD;
   2313     eax = edi; /* 0x250DB201: mov eax, edi */
   2314     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2315     _cf = (eax) != 0;
   2316     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   2317     _flag_k = FK_CMP;
   2318     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   2319       eax = _sc ? 0xFFFFFFFFu : 0;
   2320       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2321       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2322     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   2323     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   2324     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2325     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   2326     _cf = 0;
   2327     _flag_k = FK_TEST;
   2328     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   2329     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   2330     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   2331     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   2332     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2333     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2334     _flag_k = FK_CMP;
   2335     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   2336     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   2337     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   2338     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   2339     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   2340 L_250DB22E:
   2341     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   2342     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   2343     ecx = esi; /* 0x250DB232: mov ecx, esi */
   2344     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   2345     RECOMP_FLAGS_IN();
   2346     edx = eax; /* 0x250DB239: mov edx, eax */
   2347     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   2348     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   2349     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   2350     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2352     _flag_k = FK_CMP;
   2353     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   2354     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   2355     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2356     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2357     _flag_k = FK_NARROW(FK_CMP, 24);
   2358     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   2359 L_250DB249:
   2360     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   2361     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   2362     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   2363     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2364     _flag_k = FK_CMP;
   2365     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   2366 L_250DB251:
   2367     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   2368     PUSH32(esp, eax); /* 0x250DB254: push eax */
   2369     ecx = esi; /* 0x250DB255: mov ecx, esi */
   2370     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   2371     RECOMP_FLAGS_IN();
   2372     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   2373     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   2374     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   2375     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   2376     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   2377     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   2378     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   2379     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   2380     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   2381     PUSH32(esp, eax); /* 0x250DB276: push eax */
   2382     ecx = esi; /* 0x250DB277: mov ecx, esi */
   2383     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   2384     RECOMP_FLAGS_IN();
   2385     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   2386 L_250DB280:
   2387     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   2388     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   2389     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2390     _flag_k = FK_CMP;
   2391     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   2392 L_250DB285:
   2393     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   2394     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   2395     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   2396     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   2397     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   2398     RECOMP_FLAGS_IN();
   2399     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   2400     PUSH32(esp, edx); /* 0x250DB294: push edx */
   2401     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   2402     PUSH32(esp, eax); /* 0x250DB298: push eax */
   2403     ecx = esi; /* 0x250DB299: mov ecx, esi */
   2404     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   2405     RECOMP_FLAGS_IN();
   2406     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   2407     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   2408     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2409     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2410     _flag_k = FK_CMP;
   2411     RECOMP_BACKEDGE();
   2412     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   2413 L_250DB2A8:
   2414     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   2415     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   2416     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   2417     RECOMP_FLAGS_IN();
   2418     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   2419     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   2420     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   2421     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   2422     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   2423     RECOMP_FLAGS_IN();
   2424     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2425     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2426     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   2427     _flag_k = FK_ADD;
   2428     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   2429     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   2430     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   2431     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   2432     RECOMP_FLAGS_IN();
   2433     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   2434     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   2435     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   2436     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   2437     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   2438     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   2439     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   2440     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   2441 L_2514E0E0:
   2442     ecx = MEM32(ebp + (-0x10)); /* 0x2514E0E0: mov ecx, dword ptr [ebp - 0x10] */
   2443     RECOMP_BACKEDGE();
   2444     goto L_250DB0B0; /* 0x2514E0E3: jmp 0x250db0b0 */
   2445     { RECOMP_REGS_OUT(); return; } /* end of function */
   2446     RECOMP_REGS_OUT();
   2447 }
   2448 
   2449 void sub_2514E0E8(void) {
   2450     int _fpu_cmp = 0;
   2451     uint32_t _cf = 0;
   2452     int _df = 1;
   2453     uint32_t _flag_k = FK_NONE;
   2454     uint32_t _flag_a = 0, _flag_b = 0;
   2455     uint32_t _itail_tgt = 0;
   2456     RECOMP_REGS_LOCALS
   2457     RECOMP_ENTER(0x2514E0E8u);
   2458 
   2459 L_2514E0E8:
   2460     ecx = MEM32(ebp + (-0x10)); /* 0x2514E0E8: mov ecx, dword ptr [ebp - 0x10] */
   2461 L_2514E0EB:
   2462     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x208u);
   2463     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2464     ecx = ecx + 0x208u; /* 0x2514E0EB: add ecx, 0x208 */
   2465     _flag_k = FK_ADD;
   2466 L_2514E0F1:
   2467     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2468     { RECOMP_REGS_OUT(); return; } /* end of function */
   2469   _ljump:
   2470     switch (_itail_tgt) {
   2471       case 0x2514E0E8u: goto L_2514E0E8;
   2472       case 0x2514E0EBu: goto L_2514E0EB;
   2473       case 0x2514E0F1u: goto L_2514E0F1;
   2474       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2475     }
   2476     RECOMP_REGS_OUT();
   2477 }
   2478 
   2479 void sub_2514E0F7(void) {
   2480     int _fpu_cmp = 0;
   2481     uint32_t _cf = 0;
   2482     int _df = 1;
   2483     uint32_t _flag_k = FK_NONE;
   2484     uint32_t _flag_a = 0, _flag_b = 0;
   2485     uint32_t _itail_tgt = 0;
   2486     RECOMP_REGS_LOCALS
   2487     RECOMP_ENTER(0x2514E0F7u);
   2488 
   2489     goto L_2514E0F7;
   2490 L_251380C4:
   2491     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2492 L_2514E0F7:
   2493     eax = 0x2516F9A8u; /* 0x2514E0F7: mov eax, 0x2516f9a8 */
   2494 L_2514E0FC:
   2495     RECOMP_BACKEDGE();
   2496     goto L_251380C4; /* 0x2514E0FC: jmp 0x251380c4 */
   2497     { RECOMP_REGS_OUT(); return; } /* end of function */
   2498   _ljump:
   2499     switch (_itail_tgt) {
   2500       case 0x251380C4u: goto L_251380C4;
   2501       case 0x2514E0F7u: goto L_2514E0F7;
   2502       case 0x2514E0FCu: goto L_2514E0FC;
   2503       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2504     }
   2505     RECOMP_REGS_OUT();
   2506 }
   2507 
   2508 void sub_2514E110(void) {
   2509     int _fpu_cmp = 0;
   2510     uint32_t _cf = 0;
   2511     int _df = 1;
   2512     uint32_t _flag_k = FK_NONE;
   2513     uint32_t _flag_a = 0, _flag_b = 0;
   2514     uint32_t _itail_tgt = 0;
   2515     RECOMP_REGS_LOCALS
   2516     RECOMP_ENTER(0x2514E110u);
   2517 
   2518     goto L_2514E110;
   2519 L_250DB0B0:
   2520     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   2521     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   2522     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   2523     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   2524     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   2525     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   2526     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   2527     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2528     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2529     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   2530     _flag_k = FK_CMP;
   2531     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   2532     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   2533     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   2534     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   2535     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   2536     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   2537     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   2538     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   2539     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   2540     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   2541     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   2542     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   2543     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   2544     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   2545     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2546     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   2547     _cf = 0;
   2548     _flag_k = FK_TEST;
   2549     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   2550     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2551     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2552     _flag_k = FK_CMP;
   2553     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   2554     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   2555 L_250DB11E:
   2556     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   2557     RECOMP_FLAGS_IN();
   2558 L_250DB123:
   2559     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   2560     PUSH32(esp, eax); /* 0x250DB129: push eax */
   2561     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   2562     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   2563     RECOMP_FLAGS_IN();
   2564     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2565     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2566     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   2567     _flag_k = FK_ADD;
   2568     eax = edi; /* 0x250DB135: mov eax, edi */
   2569     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2570     _cf = (eax) != 0;
   2571     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   2572     _flag_k = FK_CMP;
   2573     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   2574       eax = _sc ? 0xFFFFFFFFu : 0;
   2575       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2576       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2577     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2578     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   2579     _cf = 0;
   2580     _flag_k = FK_TEST;
   2581     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   2582     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   2583     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   2584     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   2585     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   2586     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   2587     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   2588     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2590     _flag_k = FK_CMP;
   2591     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   2592     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   2593     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   2594     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   2595     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   2596 L_250DB16C:
   2597     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   2598     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   2599     ecx = esi; /* 0x250DB170: mov ecx, esi */
   2600     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   2601     RECOMP_FLAGS_IN();
   2602     ecx = eax; /* 0x250DB177: mov ecx, eax */
   2603     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   2604     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   2605     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   2606     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2608     _flag_k = FK_CMP;
   2609     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   2610     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   2611     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2612     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2613     _flag_k = FK_NARROW(FK_CMP, 24);
   2614     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   2615 L_250DB187:
   2616     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   2617     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   2618     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2620     _flag_k = FK_CMP;
   2621     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   2622 L_250DB18F:
   2623     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   2624     PUSH32(esp, edx); /* 0x250DB192: push edx */
   2625     ecx = esi; /* 0x250DB193: mov ecx, esi */
   2626     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   2627     RECOMP_FLAGS_IN();
   2628     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   2629     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   2630     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   2631     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   2632     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   2633     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   2634     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   2635     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   2636     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   2637     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   2638     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   2639     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   2640     RECOMP_FLAGS_IN();
   2641     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   2642 L_250DB1BE:
   2643     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   2644     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   2645     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2646     _flag_k = FK_CMP;
   2647     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   2648 L_250DB1C3:
   2649     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   2650     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   2651     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   2652     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   2653     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   2654     RECOMP_FLAGS_IN();
   2655     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   2656     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   2657     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   2658     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   2659     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   2660     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   2661     RECOMP_FLAGS_IN();
   2662     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   2663     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   2664     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   2665     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2666     _flag_k = FK_CMP;
   2667     RECOMP_BACKEDGE();
   2668     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   2669 L_250DB1E6:
   2670     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   2671     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   2672     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   2673     RECOMP_FLAGS_IN();
   2674     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   2675     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   2676     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   2677     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   2678     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   2679     RECOMP_FLAGS_IN();
   2680     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2681     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2682     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   2683     _flag_k = FK_ADD;
   2684     eax = edi; /* 0x250DB201: mov eax, edi */
   2685     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2686     _cf = (eax) != 0;
   2687     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   2688     _flag_k = FK_CMP;
   2689     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   2690       eax = _sc ? 0xFFFFFFFFu : 0;
   2691       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2692       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2693     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   2694     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   2695     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2696     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   2697     _cf = 0;
   2698     _flag_k = FK_TEST;
   2699     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   2700     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   2701     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   2702     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   2703     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2704     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2705     _flag_k = FK_CMP;
   2706     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   2707     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   2708     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   2709     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   2710     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   2711 L_250DB22E:
   2712     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   2713     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   2714     ecx = esi; /* 0x250DB232: mov ecx, esi */
   2715     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   2716     RECOMP_FLAGS_IN();
   2717     edx = eax; /* 0x250DB239: mov edx, eax */
   2718     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   2719     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   2720     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   2721     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2722     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2723     _flag_k = FK_CMP;
   2724     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   2725     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   2726     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2727     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2728     _flag_k = FK_NARROW(FK_CMP, 24);
   2729     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   2730 L_250DB249:
   2731     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   2732     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   2733     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   2734     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2735     _flag_k = FK_CMP;
   2736     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   2737 L_250DB251:
   2738     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   2739     PUSH32(esp, eax); /* 0x250DB254: push eax */
   2740     ecx = esi; /* 0x250DB255: mov ecx, esi */
   2741     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   2742     RECOMP_FLAGS_IN();
   2743     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   2744     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   2745     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   2746     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   2747     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   2748     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   2749     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   2750     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   2751     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   2752     PUSH32(esp, eax); /* 0x250DB276: push eax */
   2753     ecx = esi; /* 0x250DB277: mov ecx, esi */
   2754     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   2755     RECOMP_FLAGS_IN();
   2756     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   2757 L_250DB280:
   2758     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   2759     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   2760     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2761     _flag_k = FK_CMP;
   2762     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   2763 L_250DB285:
   2764     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   2765     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   2766     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   2767     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   2768     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   2769     RECOMP_FLAGS_IN();
   2770     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   2771     PUSH32(esp, edx); /* 0x250DB294: push edx */
   2772     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   2773     PUSH32(esp, eax); /* 0x250DB298: push eax */
   2774     ecx = esi; /* 0x250DB299: mov ecx, esi */
   2775     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   2776     RECOMP_FLAGS_IN();
   2777     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   2778     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   2779     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   2780     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2781     _flag_k = FK_CMP;
   2782     RECOMP_BACKEDGE();
   2783     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   2784 L_250DB2A8:
   2785     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   2786     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   2787     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   2788     RECOMP_FLAGS_IN();
   2789     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   2790     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   2791     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   2792     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   2793     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   2794     RECOMP_FLAGS_IN();
   2795     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2796     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2797     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   2798     _flag_k = FK_ADD;
   2799     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   2800     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   2801     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   2802     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   2803     RECOMP_FLAGS_IN();
   2804     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   2805     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   2806     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   2807     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   2808     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   2809     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   2810     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   2811     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   2812 L_2514E110:
   2813     ecx = MEM32(ebp + (-0x10)); /* 0x2514E110: mov ecx, dword ptr [ebp - 0x10] */
   2814     RECOMP_BACKEDGE();
   2815     goto L_250DB0B0; /* 0x2514E113: jmp 0x250db0b0 */
   2816     { RECOMP_REGS_OUT(); return; } /* end of function */
   2817     RECOMP_REGS_OUT();
   2818 }
   2819 
   2820 void sub_2514E118(void) {
   2821     int _fpu_cmp = 0;
   2822     uint32_t _cf = 0;
   2823     int _df = 1;
   2824     uint32_t _flag_k = FK_NONE;
   2825     uint32_t _flag_a = 0, _flag_b = 0;
   2826     uint32_t _itail_tgt = 0;
   2827     RECOMP_REGS_LOCALS
   2828     RECOMP_ENTER(0x2514E118u);
   2829 
   2830 L_2514E118:
   2831     ecx = MEM32(ebp + (-0x10)); /* 0x2514E118: mov ecx, dword ptr [ebp - 0x10] */
   2832 L_2514E11B:
   2833     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x208u);
   2834     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2835     ecx = ecx + 0x208u; /* 0x2514E11B: add ecx, 0x208 */
   2836     _flag_k = FK_ADD;
   2837 L_2514E121:
   2838     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   2839     { RECOMP_REGS_OUT(); return; } /* end of function */
   2840   _ljump:
   2841     switch (_itail_tgt) {
   2842       case 0x2514E118u: goto L_2514E118;
   2843       case 0x2514E11Bu: goto L_2514E11B;
   2844       case 0x2514E121u: goto L_2514E121;
   2845       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2846     }
   2847     RECOMP_REGS_OUT();
   2848 }
   2849 
   2850 void sub_2514E127(void) {
   2851     int _fpu_cmp = 0;
   2852     uint32_t _cf = 0;
   2853     int _df = 1;
   2854     uint32_t _flag_k = FK_NONE;
   2855     uint32_t _flag_a = 0, _flag_b = 0;
   2856     uint32_t _itail_tgt = 0;
   2857     RECOMP_REGS_LOCALS
   2858     RECOMP_ENTER(0x2514E127u);
   2859 
   2860 L_2514E127:
   2861     eax = MEM32(ebp + 0xC); /* 0x2514E127: mov eax, dword ptr [ebp + 0xc] */
   2862     PUSH32(esp, eax); /* 0x2514E12A: push eax */
   2863     RECOMP_ICALL(0x25137EECu); /* 0x2514E12B: call 0x25137eec */ /* not lifted */
   2864     RECOMP_FLAGS_IN();
   2865     ecx = POP32_VAL(esp); /* 0x2514E130: pop ecx */
   2866     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E131: ret  */
   2867     RECOMP_REGS_OUT();
   2868 }
   2869 
   2870 void sub_2514E132(void) {
   2871     int _fpu_cmp = 0;
   2872     uint32_t _cf = 0;
   2873     int _df = 1;
   2874     uint32_t _flag_k = FK_NONE;
   2875     uint32_t _flag_a = 0, _flag_b = 0;
   2876     uint32_t _itail_tgt = 0;
   2877     RECOMP_REGS_LOCALS
   2878     RECOMP_ENTER(0x2514E132u);
   2879 
   2880     goto L_2514E132;
   2881 L_251380C4:
   2882     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2883 L_2514E132:
   2884     eax = 0x2516F9D8u; /* 0x2514E132: mov eax, 0x2516f9d8 */
   2885 L_2514E137:
   2886     RECOMP_BACKEDGE();
   2887     goto L_251380C4; /* 0x2514E137: jmp 0x251380c4 */
   2888     { RECOMP_REGS_OUT(); return; } /* end of function */
   2889   _ljump:
   2890     switch (_itail_tgt) {
   2891       case 0x251380C4u: goto L_251380C4;
   2892       case 0x2514E132u: goto L_2514E132;
   2893       case 0x2514E137u: goto L_2514E137;
   2894       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2895     }
   2896     RECOMP_REGS_OUT();
   2897 }
   2898 
   2899 void sub_2514E140(void) {
   2900     int _fpu_cmp = 0;
   2901     uint32_t _cf = 0;
   2902     int _df = 1;
   2903     uint32_t _flag_k = FK_NONE;
   2904     uint32_t _flag_a = 0, _flag_b = 0;
   2905     uint32_t _itail_tgt = 0;
   2906     RECOMP_REGS_LOCALS
   2907     RECOMP_ENTER(0x2514E140u);
   2908 
   2909     goto L_2514E140;
   2910 L_250DB0B0:
   2911     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   2912     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   2913     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   2914     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   2915     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   2916     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   2917     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   2918     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2919     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2920     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   2921     _flag_k = FK_CMP;
   2922     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   2923     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   2924     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   2925     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   2926     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   2927     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   2928     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   2929     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   2930     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   2931     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   2932     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   2933     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   2934     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   2935     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   2936     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2937     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   2938     _cf = 0;
   2939     _flag_k = FK_TEST;
   2940     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   2941     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2942     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2943     _flag_k = FK_CMP;
   2944     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   2945     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   2946 L_250DB11E:
   2947     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   2948     RECOMP_FLAGS_IN();
   2949 L_250DB123:
   2950     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   2951     PUSH32(esp, eax); /* 0x250DB129: push eax */
   2952     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   2953     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   2954     RECOMP_FLAGS_IN();
   2955     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2956     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2957     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   2958     _flag_k = FK_ADD;
   2959     eax = edi; /* 0x250DB135: mov eax, edi */
   2960     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2961     _cf = (eax) != 0;
   2962     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   2963     _flag_k = FK_CMP;
   2964     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   2965       eax = _sc ? 0xFFFFFFFFu : 0;
   2966       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2967       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2968     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2969     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   2970     _cf = 0;
   2971     _flag_k = FK_TEST;
   2972     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   2973     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   2974     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   2975     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   2976     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   2977     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   2978     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   2979     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   2980     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2981     _flag_k = FK_CMP;
   2982     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   2983     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   2984     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   2985     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   2986     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   2987 L_250DB16C:
   2988     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   2989     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   2990     ecx = esi; /* 0x250DB170: mov ecx, esi */
   2991     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   2992     RECOMP_FLAGS_IN();
   2993     ecx = eax; /* 0x250DB177: mov ecx, eax */
   2994     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   2995     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   2996     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   2997     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2998     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2999     _flag_k = FK_CMP;
   3000     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3001     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3002     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3003     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3004     _flag_k = FK_NARROW(FK_CMP, 24);
   3005     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3006 L_250DB187:
   3007     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3008     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3009     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3010     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3011     _flag_k = FK_CMP;
   3012     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3013 L_250DB18F:
   3014     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3015     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3016     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3017     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3018     RECOMP_FLAGS_IN();
   3019     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3020     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3021     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3022     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3023     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3024     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3025     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3026     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3027     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3028     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3029     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3030     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3031     RECOMP_FLAGS_IN();
   3032     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3033 L_250DB1BE:
   3034     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3035     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3036     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3037     _flag_k = FK_CMP;
   3038     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3039 L_250DB1C3:
   3040     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3041     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3042     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3043     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3044     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3045     RECOMP_FLAGS_IN();
   3046     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3047     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3048     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3049     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3050     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3051     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3052     RECOMP_FLAGS_IN();
   3053     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3054     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3055     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3056     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3057     _flag_k = FK_CMP;
   3058     RECOMP_BACKEDGE();
   3059     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3060 L_250DB1E6:
   3061     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3062     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3063     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3064     RECOMP_FLAGS_IN();
   3065     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3066     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3067     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3068     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3069     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3070     RECOMP_FLAGS_IN();
   3071     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3072     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3073     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3074     _flag_k = FK_ADD;
   3075     eax = edi; /* 0x250DB201: mov eax, edi */
   3076     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3077     _cf = (eax) != 0;
   3078     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3079     _flag_k = FK_CMP;
   3080     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3081       eax = _sc ? 0xFFFFFFFFu : 0;
   3082       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3083       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3084     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3085     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3086     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3087     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3088     _cf = 0;
   3089     _flag_k = FK_TEST;
   3090     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3091     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3092     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3093     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3094     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3095     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3096     _flag_k = FK_CMP;
   3097     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3098     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3099     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3100     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3101     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3102 L_250DB22E:
   3103     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3104     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3105     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3106     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3107     RECOMP_FLAGS_IN();
   3108     edx = eax; /* 0x250DB239: mov edx, eax */
   3109     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3110     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3111     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3112     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3113     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3114     _flag_k = FK_CMP;
   3115     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3116     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3117     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3118     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3119     _flag_k = FK_NARROW(FK_CMP, 24);
   3120     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3121 L_250DB249:
   3122     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3123     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3124     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3125     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3126     _flag_k = FK_CMP;
   3127     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3128 L_250DB251:
   3129     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3130     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3131     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3132     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3133     RECOMP_FLAGS_IN();
   3134     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3135     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3136     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3137     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3138     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3139     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3140     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3141     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3142     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3143     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3144     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3145     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3146     RECOMP_FLAGS_IN();
   3147     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3148 L_250DB280:
   3149     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3150     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3151     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3152     _flag_k = FK_CMP;
   3153     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3154 L_250DB285:
   3155     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3156     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3157     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3158     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3159     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3160     RECOMP_FLAGS_IN();
   3161     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3162     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3163     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3164     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3165     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3166     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3167     RECOMP_FLAGS_IN();
   3168     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3169     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3170     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3172     _flag_k = FK_CMP;
   3173     RECOMP_BACKEDGE();
   3174     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3175 L_250DB2A8:
   3176     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3177     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3178     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3179     RECOMP_FLAGS_IN();
   3180     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3181     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3182     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3183     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3184     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3185     RECOMP_FLAGS_IN();
   3186     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3187     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3188     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3189     _flag_k = FK_ADD;
   3190     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3191     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3192     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3193     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3194     RECOMP_FLAGS_IN();
   3195     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3196     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3197     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3198     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3199     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3200     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3201     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3202     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3203 L_2514E140:
   3204     ecx = MEM32(ebp + (-0x10)); /* 0x2514E140: mov ecx, dword ptr [ebp - 0x10] */
   3205     RECOMP_BACKEDGE();
   3206     goto L_250DB0B0; /* 0x2514E143: jmp 0x250db0b0 */
   3207     { RECOMP_REGS_OUT(); return; } /* end of function */
   3208     RECOMP_REGS_OUT();
   3209 }
   3210 
   3211 void sub_2514E148(void) {
   3212     int _fpu_cmp = 0;
   3213     uint32_t _cf = 0;
   3214     int _df = 1;
   3215     uint32_t _flag_k = FK_NONE;
   3216     uint32_t _flag_a = 0, _flag_b = 0;
   3217     uint32_t _itail_tgt = 0;
   3218     RECOMP_REGS_LOCALS
   3219     RECOMP_ENTER(0x2514E148u);
   3220 
   3221 L_2514E148:
   3222     ecx = MEM32(ebp + (-0x10)); /* 0x2514E148: mov ecx, dword ptr [ebp - 0x10] */
   3223 L_2514E14B:
   3224     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x208u);
   3225     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3226     ecx = ecx + 0x208u; /* 0x2514E14B: add ecx, 0x208 */
   3227     _flag_k = FK_ADD;
   3228 L_2514E151:
   3229     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3230     { RECOMP_REGS_OUT(); return; } /* end of function */
   3231   _ljump:
   3232     switch (_itail_tgt) {
   3233       case 0x2514E148u: goto L_2514E148;
   3234       case 0x2514E14Bu: goto L_2514E14B;
   3235       case 0x2514E151u: goto L_2514E151;
   3236       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3237     }
   3238     RECOMP_REGS_OUT();
   3239 }
   3240 
   3241 void sub_2514E157(void) {
   3242     int _fpu_cmp = 0;
   3243     uint32_t _cf = 0;
   3244     int _df = 1;
   3245     uint32_t _flag_k = FK_NONE;
   3246     uint32_t _flag_a = 0, _flag_b = 0;
   3247     uint32_t _itail_tgt = 0;
   3248     RECOMP_REGS_LOCALS
   3249     RECOMP_ENTER(0x2514E157u);
   3250 
   3251     goto L_2514E157;
   3252 L_251380C4:
   3253     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3254 L_2514E157:
   3255     eax = 0x2516FA10u; /* 0x2514E157: mov eax, 0x2516fa10 */
   3256 L_2514E15C:
   3257     RECOMP_BACKEDGE();
   3258     goto L_251380C4; /* 0x2514E15C: jmp 0x251380c4 */
   3259     { RECOMP_REGS_OUT(); return; } /* end of function */
   3260   _ljump:
   3261     switch (_itail_tgt) {
   3262       case 0x251380C4u: goto L_251380C4;
   3263       case 0x2514E157u: goto L_2514E157;
   3264       case 0x2514E15Cu: goto L_2514E15C;
   3265       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3266     }
   3267     RECOMP_REGS_OUT();
   3268 }
   3269 
   3270 void sub_2514E170(void) {
   3271     int _fpu_cmp = 0;
   3272     uint32_t _cf = 0;
   3273     int _df = 1;
   3274     uint32_t _flag_k = FK_NONE;
   3275     uint32_t _flag_a = 0, _flag_b = 0;
   3276     uint32_t _itail_tgt = 0;
   3277     RECOMP_REGS_LOCALS
   3278     RECOMP_ENTER(0x2514E170u);
   3279 
   3280     goto L_2514E170;
   3281 L_250DB0B0:
   3282     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3283     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3284     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3285     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3286     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3287     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3288     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3289     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3290     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3291     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3292     _flag_k = FK_CMP;
   3293     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3294     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3295     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3296     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3297     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3298     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3299     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3300     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3301     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3302     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3303     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3304     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3305     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3306     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3307     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3308     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3309     _cf = 0;
   3310     _flag_k = FK_TEST;
   3311     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3312     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3313     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3314     _flag_k = FK_CMP;
   3315     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3316     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3317 L_250DB11E:
   3318     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3319     RECOMP_FLAGS_IN();
   3320 L_250DB123:
   3321     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3322     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3323     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3324     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3325     RECOMP_FLAGS_IN();
   3326     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3327     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3328     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3329     _flag_k = FK_ADD;
   3330     eax = edi; /* 0x250DB135: mov eax, edi */
   3331     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3332     _cf = (eax) != 0;
   3333     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3334     _flag_k = FK_CMP;
   3335     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3336       eax = _sc ? 0xFFFFFFFFu : 0;
   3337       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3338       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3339     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3340     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3341     _cf = 0;
   3342     _flag_k = FK_TEST;
   3343     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3344     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3345     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3346     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3347     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3348     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3349     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3350     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3352     _flag_k = FK_CMP;
   3353     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3354     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3355     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3356     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3357     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3358 L_250DB16C:
   3359     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3360     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3361     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3362     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3363     RECOMP_FLAGS_IN();
   3364     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3365     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3366     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3367     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3368     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3369     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3370     _flag_k = FK_CMP;
   3371     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3372     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3373     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3375     _flag_k = FK_NARROW(FK_CMP, 24);
   3376     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3377 L_250DB187:
   3378     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3379     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3380     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3381     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3382     _flag_k = FK_CMP;
   3383     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3384 L_250DB18F:
   3385     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3386     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3387     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3388     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3389     RECOMP_FLAGS_IN();
   3390     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3391     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3392     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3393     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3394     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3395     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3396     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3397     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3398     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3399     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3400     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3401     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3402     RECOMP_FLAGS_IN();
   3403     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3404 L_250DB1BE:
   3405     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3406     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3407     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3408     _flag_k = FK_CMP;
   3409     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3410 L_250DB1C3:
   3411     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3412     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3413     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3414     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3415     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3416     RECOMP_FLAGS_IN();
   3417     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3418     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3419     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3420     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3421     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3422     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3423     RECOMP_FLAGS_IN();
   3424     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3425     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3426     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3428     _flag_k = FK_CMP;
   3429     RECOMP_BACKEDGE();
   3430     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3431 L_250DB1E6:
   3432     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3433     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3434     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3435     RECOMP_FLAGS_IN();
   3436     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3437     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3438     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3439     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3440     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3441     RECOMP_FLAGS_IN();
   3442     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3443     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3444     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3445     _flag_k = FK_ADD;
   3446     eax = edi; /* 0x250DB201: mov eax, edi */
   3447     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3448     _cf = (eax) != 0;
   3449     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3450     _flag_k = FK_CMP;
   3451     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3452       eax = _sc ? 0xFFFFFFFFu : 0;
   3453       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3454       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3455     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3456     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3457     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3458     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3459     _cf = 0;
   3460     _flag_k = FK_TEST;
   3461     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3462     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3463     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3464     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3465     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3466     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3467     _flag_k = FK_CMP;
   3468     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3469     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3470     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3471     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3472     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3473 L_250DB22E:
   3474     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3475     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3476     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3477     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3478     RECOMP_FLAGS_IN();
   3479     edx = eax; /* 0x250DB239: mov edx, eax */
   3480     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3481     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3482     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3483     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3485     _flag_k = FK_CMP;
   3486     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3487     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3488     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3489     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3490     _flag_k = FK_NARROW(FK_CMP, 24);
   3491     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3492 L_250DB249:
   3493     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3494     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3495     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3496     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3497     _flag_k = FK_CMP;
   3498     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3499 L_250DB251:
   3500     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3501     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3502     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3503     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3504     RECOMP_FLAGS_IN();
   3505     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3506     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3507     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3508     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3509     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3510     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3511     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3512     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3513     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3514     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3515     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3516     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3517     RECOMP_FLAGS_IN();
   3518     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3519 L_250DB280:
   3520     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3521     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3523     _flag_k = FK_CMP;
   3524     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3525 L_250DB285:
   3526     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3527     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3528     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3529     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3530     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3531     RECOMP_FLAGS_IN();
   3532     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3533     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3534     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3535     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3536     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3537     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3538     RECOMP_FLAGS_IN();
   3539     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3540     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3541     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3542     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3543     _flag_k = FK_CMP;
   3544     RECOMP_BACKEDGE();
   3545     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3546 L_250DB2A8:
   3547     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3548     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3549     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3550     RECOMP_FLAGS_IN();
   3551     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3552     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3553     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3554     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3555     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3556     RECOMP_FLAGS_IN();
   3557     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3558     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3559     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3560     _flag_k = FK_ADD;
   3561     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3562     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3563     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3564     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3565     RECOMP_FLAGS_IN();
   3566     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3567     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3568     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3569     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3570     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3571     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3572     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3573     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3574 L_2514E170:
   3575     ecx = MEM32(ebp + (-0x10)); /* 0x2514E170: mov ecx, dword ptr [ebp - 0x10] */
   3576     RECOMP_BACKEDGE();
   3577     goto L_250DB0B0; /* 0x2514E173: jmp 0x250db0b0 */
   3578     { RECOMP_REGS_OUT(); return; } /* end of function */
   3579     RECOMP_REGS_OUT();
   3580 }
   3581 
   3582 void sub_2514E178(void) {
   3583     int _fpu_cmp = 0;
   3584     uint32_t _cf = 0;
   3585     int _df = 1;
   3586     uint32_t _flag_k = FK_NONE;
   3587     uint32_t _flag_a = 0, _flag_b = 0;
   3588     uint32_t _itail_tgt = 0;
   3589     RECOMP_REGS_LOCALS
   3590     RECOMP_ENTER(0x2514E178u);
   3591 
   3592 L_2514E178:
   3593     ecx = MEM32(ebp + (-0x10)); /* 0x2514E178: mov ecx, dword ptr [ebp - 0x10] */
   3594 L_2514E17B:
   3595     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x208u);
   3596     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3597     ecx = ecx + 0x208u; /* 0x2514E17B: add ecx, 0x208 */
   3598     _flag_k = FK_ADD;
   3599 L_2514E181:
   3600     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3601     { RECOMP_REGS_OUT(); return; } /* end of function */
   3602   _ljump:
   3603     switch (_itail_tgt) {
   3604       case 0x2514E178u: goto L_2514E178;
   3605       case 0x2514E17Bu: goto L_2514E17B;
   3606       case 0x2514E181u: goto L_2514E181;
   3607       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3608     }
   3609     RECOMP_REGS_OUT();
   3610 }
   3611 
   3612 void sub_2514E187(void) {
   3613     int _fpu_cmp = 0;
   3614     uint32_t _cf = 0;
   3615     int _df = 1;
   3616     uint32_t _flag_k = FK_NONE;
   3617     uint32_t _flag_a = 0, _flag_b = 0;
   3618     uint32_t _itail_tgt = 0;
   3619     RECOMP_REGS_LOCALS
   3620     RECOMP_ENTER(0x2514E187u);
   3621 
   3622     goto L_2514E187;
   3623 L_251380C4:
   3624     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3625 L_2514E187:
   3626     eax = 0x2516FA40u; /* 0x2514E187: mov eax, 0x2516fa40 */
   3627 L_2514E18C:
   3628     RECOMP_BACKEDGE();
   3629     goto L_251380C4; /* 0x2514E18C: jmp 0x251380c4 */
   3630     { RECOMP_REGS_OUT(); return; } /* end of function */
   3631   _ljump:
   3632     switch (_itail_tgt) {
   3633       case 0x251380C4u: goto L_251380C4;
   3634       case 0x2514E187u: goto L_2514E187;
   3635       case 0x2514E18Cu: goto L_2514E18C;
   3636       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3637     }
   3638     RECOMP_REGS_OUT();
   3639 }
   3640 
   3641 void sub_2514E1A0(void) {
   3642     int _fpu_cmp = 0;
   3643     uint32_t _cf = 0;
   3644     int _df = 1;
   3645     uint32_t _flag_k = FK_NONE;
   3646     uint32_t _flag_a = 0, _flag_b = 0;
   3647     uint32_t _itail_tgt = 0;
   3648     RECOMP_REGS_LOCALS
   3649     RECOMP_ENTER(0x2514E1A0u);
   3650 
   3651     goto L_2514E1A0;
   3652 L_250DB0B0:
   3653     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3654     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3655     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3656     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3657     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3658     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3659     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3660     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3661     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3662     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3663     _flag_k = FK_CMP;
   3664     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3665     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3666     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3667     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3668     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3669     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3670     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3671     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3672     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3673     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3674     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3675     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3676     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3677     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3678     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3679     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3680     _cf = 0;
   3681     _flag_k = FK_TEST;
   3682     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3683     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3684     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3685     _flag_k = FK_CMP;
   3686     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3687     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3688 L_250DB11E:
   3689     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3690     RECOMP_FLAGS_IN();
   3691 L_250DB123:
   3692     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3693     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3694     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3695     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3696     RECOMP_FLAGS_IN();
   3697     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3698     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3699     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3700     _flag_k = FK_ADD;
   3701     eax = edi; /* 0x250DB135: mov eax, edi */
   3702     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3703     _cf = (eax) != 0;
   3704     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3705     _flag_k = FK_CMP;
   3706     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3707       eax = _sc ? 0xFFFFFFFFu : 0;
   3708       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3709       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3710     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3711     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3712     _cf = 0;
   3713     _flag_k = FK_TEST;
   3714     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3715     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3716     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3717     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3718     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3719     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3720     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3721     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3722     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3723     _flag_k = FK_CMP;
   3724     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3725     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3726     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3727     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3728     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3729 L_250DB16C:
   3730     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3731     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3732     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3733     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3734     RECOMP_FLAGS_IN();
   3735     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3736     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3737     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3738     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3739     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3740     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3741     _flag_k = FK_CMP;
   3742     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3743     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3744     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3745     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3746     _flag_k = FK_NARROW(FK_CMP, 24);
   3747     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3748 L_250DB187:
   3749     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3750     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3751     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3753     _flag_k = FK_CMP;
   3754     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3755 L_250DB18F:
   3756     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3757     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3758     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3759     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3760     RECOMP_FLAGS_IN();
   3761     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3762     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3763     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3764     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3765     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3766     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3767     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3768     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3769     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3770     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3771     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3772     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3773     RECOMP_FLAGS_IN();
   3774     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3775 L_250DB1BE:
   3776     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3777     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3778     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3779     _flag_k = FK_CMP;
   3780     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3781 L_250DB1C3:
   3782     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3783     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3784     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3785     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3786     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3787     RECOMP_FLAGS_IN();
   3788     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3789     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3790     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3791     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3792     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3793     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3794     RECOMP_FLAGS_IN();
   3795     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3796     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3797     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3798     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3799     _flag_k = FK_CMP;
   3800     RECOMP_BACKEDGE();
   3801     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3802 L_250DB1E6:
   3803     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3804     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3805     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3806     RECOMP_FLAGS_IN();
   3807     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3808     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3809     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3810     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3811     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3812     RECOMP_FLAGS_IN();
   3813     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3814     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3815     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3816     _flag_k = FK_ADD;
   3817     eax = edi; /* 0x250DB201: mov eax, edi */
   3818     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3819     _cf = (eax) != 0;
   3820     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3821     _flag_k = FK_CMP;
   3822     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3823       eax = _sc ? 0xFFFFFFFFu : 0;
   3824       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3825       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3826     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3827     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3828     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3829     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3830     _cf = 0;
   3831     _flag_k = FK_TEST;
   3832     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3833     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3834     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3835     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3836     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3837     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3838     _flag_k = FK_CMP;
   3839     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3840     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3841     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3842     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3843     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3844 L_250DB22E:
   3845     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3846     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3847     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3848     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3849     RECOMP_FLAGS_IN();
   3850     edx = eax; /* 0x250DB239: mov edx, eax */
   3851     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3852     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3853     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3854     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3855     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3856     _flag_k = FK_CMP;
   3857     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3858     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3859     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3860     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3861     _flag_k = FK_NARROW(FK_CMP, 24);
   3862     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3863 L_250DB249:
   3864     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3865     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3866     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3867     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3868     _flag_k = FK_CMP;
   3869     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3870 L_250DB251:
   3871     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3872     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3873     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3874     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3875     RECOMP_FLAGS_IN();
   3876     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3877     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3878     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3879     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3880     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3881     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3882     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3883     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3884     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3885     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3886     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3887     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3888     RECOMP_FLAGS_IN();
   3889     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3890 L_250DB280:
   3891     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3892     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3894     _flag_k = FK_CMP;
   3895     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3896 L_250DB285:
   3897     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3898     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3899     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3900     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3901     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3902     RECOMP_FLAGS_IN();
   3903     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3904     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3905     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3906     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3907     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3908     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3909     RECOMP_FLAGS_IN();
   3910     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3911     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3912     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3913     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3914     _flag_k = FK_CMP;
   3915     RECOMP_BACKEDGE();
   3916     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3917 L_250DB2A8:
   3918     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3919     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3920     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3921     RECOMP_FLAGS_IN();
   3922     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3923     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3924     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3925     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3926     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3927     RECOMP_FLAGS_IN();
   3928     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3929     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3930     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3931     _flag_k = FK_ADD;
   3932     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3933     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3934     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3935     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3936     RECOMP_FLAGS_IN();
   3937     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3938     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3939     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3940     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3941     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3942     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3943     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3944     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3945 L_2514E1A0:
   3946     ecx = MEM32(ebp + (-0x10)); /* 0x2514E1A0: mov ecx, dword ptr [ebp - 0x10] */
   3947     RECOMP_BACKEDGE();
   3948     goto L_250DB0B0; /* 0x2514E1A3: jmp 0x250db0b0 */
   3949     { RECOMP_REGS_OUT(); return; } /* end of function */
   3950     RECOMP_REGS_OUT();
   3951 }
   3952 
   3953 void sub_2514E1A8(void) {
   3954     int _fpu_cmp = 0;
   3955     uint32_t _cf = 0;
   3956     int _df = 1;
   3957     uint32_t _flag_k = FK_NONE;
   3958     uint32_t _flag_a = 0, _flag_b = 0;
   3959     uint32_t _itail_tgt = 0;
   3960     RECOMP_REGS_LOCALS
   3961     RECOMP_ENTER(0x2514E1A8u);
   3962 
   3963 L_2514E1A8:
   3964     ecx = MEM32(ebp + (-0x10)); /* 0x2514E1A8: mov ecx, dword ptr [ebp - 0x10] */
   3965 L_2514E1AB:
   3966     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x208u);
   3967     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3968     ecx = ecx + 0x208u; /* 0x2514E1AB: add ecx, 0x208 */
   3969     _flag_k = FK_ADD;
   3970 L_2514E1B1:
   3971     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3972     { RECOMP_REGS_OUT(); return; } /* end of function */
   3973   _ljump:
   3974     switch (_itail_tgt) {
   3975       case 0x2514E1A8u: goto L_2514E1A8;
   3976       case 0x2514E1ABu: goto L_2514E1AB;
   3977       case 0x2514E1B1u: goto L_2514E1B1;
   3978       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3979     }
   3980     RECOMP_REGS_OUT();
   3981 }
   3982 
   3983 void sub_2514E1B7(void) {
   3984     int _fpu_cmp = 0;
   3985     uint32_t _cf = 0;
   3986     int _df = 1;
   3987     uint32_t _flag_k = FK_NONE;
   3988     uint32_t _flag_a = 0, _flag_b = 0;
   3989     uint32_t _itail_tgt = 0;
   3990     RECOMP_REGS_LOCALS
   3991     RECOMP_ENTER(0x2514E1B7u);
   3992 
   3993     goto L_2514E1B7;
   3994 L_251380C4:
   3995     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3996 L_2514E1B7:
   3997     eax = 0x2516FA70u; /* 0x2514E1B7: mov eax, 0x2516fa70 */
   3998 L_2514E1BC:
   3999     RECOMP_BACKEDGE();
   4000     goto L_251380C4; /* 0x2514E1BC: jmp 0x251380c4 */
   4001     { RECOMP_REGS_OUT(); return; } /* end of function */
   4002   _ljump:
   4003     switch (_itail_tgt) {
   4004       case 0x251380C4u: goto L_251380C4;
   4005       case 0x2514E1B7u: goto L_2514E1B7;
   4006       case 0x2514E1BCu: goto L_2514E1BC;
   4007       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4008     }
   4009     RECOMP_REGS_OUT();
   4010 }
   4011 
   4012 void sub_2514E1D0(void) {
   4013     int _fpu_cmp = 0;
   4014     uint32_t _cf = 0;
   4015     int _df = 1;
   4016     uint32_t _flag_k = FK_NONE;
   4017     uint32_t _flag_a = 0, _flag_b = 0;
   4018     uint32_t _itail_tgt = 0;
   4019     RECOMP_REGS_LOCALS
   4020     RECOMP_ENTER(0x2514E1D0u);
   4021 
   4022 L_2514E1D0:
   4023     eax = MEM32(ebp + (-0x10)); /* 0x2514E1D0: mov eax, dword ptr [ebp - 0x10] */
   4024     PUSH32(esp, eax); /* 0x2514E1D3: push eax */
   4025     RECOMP_ICALL(0x25137EECu); /* 0x2514E1D4: call 0x25137eec */ /* not lifted */
   4026     RECOMP_FLAGS_IN();
   4027     ecx = POP32_VAL(esp); /* 0x2514E1D9: pop ecx */
   4028     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E1DA: ret  */
   4029     RECOMP_REGS_OUT();
   4030 }
   4031 
   4032 void sub_2514E1DB(void) {
   4033     int _fpu_cmp = 0;
   4034     uint32_t _cf = 0;
   4035     int _df = 1;
   4036     uint32_t _flag_k = FK_NONE;
   4037     uint32_t _flag_a = 0, _flag_b = 0;
   4038     uint32_t _itail_tgt = 0;
   4039     RECOMP_REGS_LOCALS
   4040     RECOMP_ENTER(0x2514E1DBu);
   4041 
   4042     goto L_2514E1DB;
   4043 L_251380C4:
   4044     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4045 L_2514E1DB:
   4046     eax = 0x2516FAA0u; /* 0x2514E1DB: mov eax, 0x2516faa0 */
   4047 L_2514E1E0:
   4048     RECOMP_BACKEDGE();
   4049     goto L_251380C4; /* 0x2514E1E0: jmp 0x251380c4 */
   4050     { RECOMP_REGS_OUT(); return; } /* end of function */
   4051   _ljump:
   4052     switch (_itail_tgt) {
   4053       case 0x251380C4u: goto L_251380C4;
   4054       case 0x2514E1DBu: goto L_2514E1DB;
   4055       case 0x2514E1E0u: goto L_2514E1E0;
   4056       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4057     }
   4058     RECOMP_REGS_OUT();
   4059 }
   4060 
   4061 void sub_2514E1F0(void) {
   4062     int _fpu_cmp = 0;
   4063     uint32_t _cf = 0;
   4064     int _df = 1;
   4065     uint32_t _flag_k = FK_NONE;
   4066     uint32_t _flag_a = 0, _flag_b = 0;
   4067     uint32_t _itail_tgt = 0;
   4068     RECOMP_REGS_LOCALS
   4069     RECOMP_ENTER(0x2514E1F0u);
   4070 
   4071 L_2514E1F0:
   4072     ecx = MEM32(ebp + (-0x10)); /* 0x2514E1F0: mov ecx, dword ptr [ebp - 0x10] */
   4073 L_2514E1F3:
   4074     { _itail_tgt = (uint32_t)(MEM32(0x251513FC)); goto _ljump; }
   4075     { RECOMP_REGS_OUT(); return; } /* end of function */
   4076   _ljump:
   4077     switch (_itail_tgt) {
   4078       case 0x2514E1F0u: goto L_2514E1F0;
   4079       case 0x2514E1F3u: goto L_2514E1F3;
   4080       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4081     }
   4082     RECOMP_REGS_OUT();
   4083 }
   4084 
   4085 void sub_2514E1F9(void) {
   4086     int _fpu_cmp = 0;
   4087     uint32_t _cf = 0;
   4088     int _df = 1;
   4089     uint32_t _flag_k = FK_NONE;
   4090     uint32_t _flag_a = 0, _flag_b = 0;
   4091     uint32_t _itail_tgt = 0;
   4092     RECOMP_REGS_LOCALS
   4093     RECOMP_ENTER(0x2514E1F9u);
   4094 
   4095     goto L_2514E1F9;
   4096 L_251380C4:
   4097     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4098 L_2514E1F9:
   4099     eax = 0x2516FAC8u; /* 0x2514E1F9: mov eax, 0x2516fac8 */
   4100 L_2514E1FE:
   4101     RECOMP_BACKEDGE();
   4102     goto L_251380C4; /* 0x2514E1FE: jmp 0x251380c4 */
   4103     { RECOMP_REGS_OUT(); return; } /* end of function */
   4104   _ljump:
   4105     switch (_itail_tgt) {
   4106       case 0x251380C4u: goto L_251380C4;
   4107       case 0x2514E1F9u: goto L_2514E1F9;
   4108       case 0x2514E1FEu: goto L_2514E1FE;
   4109       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4110     }
   4111     RECOMP_REGS_OUT();
   4112 }
   4113 
   4114 void sub_2514E210(void) {
   4115     int _fpu_cmp = 0;
   4116     uint32_t _cf = 0;
   4117     int _df = 1;
   4118     uint32_t _flag_k = FK_NONE;
   4119     uint32_t _flag_a = 0, _flag_b = 0;
   4120     uint32_t _itail_tgt = 0;
   4121     RECOMP_REGS_LOCALS
   4122     RECOMP_ENTER(0x2514E210u);
   4123 
   4124 L_2514E210:
   4125     ecx = ebp + (-0x6C); /* 0x2514E210: lea ecx, [ebp - 0x6c] */
   4126 L_2514E213:
   4127     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   4128     { RECOMP_REGS_OUT(); return; } /* end of function */
   4129   _ljump:
   4130     switch (_itail_tgt) {
   4131       case 0x2514E210u: goto L_2514E210;
   4132       case 0x2514E213u: goto L_2514E213;
   4133       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4134     }
   4135     RECOMP_REGS_OUT();
   4136 }
   4137 
   4138 void sub_2514E219(void) {
   4139     int _fpu_cmp = 0;
   4140     uint32_t _cf = 0;
   4141     int _df = 1;
   4142     uint32_t _flag_k = FK_NONE;
   4143     uint32_t _flag_a = 0, _flag_b = 0;
   4144     uint32_t _itail_tgt = 0;
   4145     RECOMP_REGS_LOCALS
   4146     RECOMP_ENTER(0x2514E219u);
   4147 
   4148     goto L_2514E219;
   4149 L_251380C4:
   4150     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4151 L_2514E219:
   4152     eax = 0x2516FAF0u; /* 0x2514E219: mov eax, 0x2516faf0 */
   4153 L_2514E21E:
   4154     RECOMP_BACKEDGE();
   4155     goto L_251380C4; /* 0x2514E21E: jmp 0x251380c4 */
   4156     { RECOMP_REGS_OUT(); return; } /* end of function */
   4157   _ljump:
   4158     switch (_itail_tgt) {
   4159       case 0x251380C4u: goto L_251380C4;
   4160       case 0x2514E219u: goto L_2514E219;
   4161       case 0x2514E21Eu: goto L_2514E21E;
   4162       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4163     }
   4164     RECOMP_REGS_OUT();
   4165 }
   4166 
   4167 void sub_2514E230(void) {
   4168     int _fpu_cmp = 0;
   4169     uint32_t _cf = 0;
   4170     int _df = 1;
   4171     uint32_t _flag_k = FK_NONE;
   4172     uint32_t _flag_a = 0, _flag_b = 0;
   4173     uint32_t _itail_tgt = 0;
   4174     RECOMP_REGS_LOCALS
   4175     RECOMP_ENTER(0x2514E230u);
   4176 
   4177     goto L_2514E230;
   4178 L_251380C4:
   4179     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4180 L_2514E230:
   4181     eax = 0x2516FB18u; /* 0x2514E230: mov eax, 0x2516fb18 */
   4182 L_2514E235:
   4183     RECOMP_BACKEDGE();
   4184     goto L_251380C4; /* 0x2514E235: jmp 0x251380c4 */
   4185     { RECOMP_REGS_OUT(); return; } /* end of function */
   4186   _ljump:
   4187     switch (_itail_tgt) {
   4188       case 0x251380C4u: goto L_251380C4;
   4189       case 0x2514E230u: goto L_2514E230;
   4190       case 0x2514E235u: goto L_2514E235;
   4191       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4192     }
   4193     RECOMP_REGS_OUT();
   4194 }
   4195 
   4196 void sub_2514E240(void) {
   4197     int _fpu_cmp = 0;
   4198     uint32_t _cf = 0;
   4199     int _df = 1;
   4200     uint32_t _flag_k = FK_NONE;
   4201     uint32_t _flag_a = 0, _flag_b = 0;
   4202     uint32_t _itail_tgt = 0;
   4203     RECOMP_REGS_LOCALS
   4204     RECOMP_ENTER(0x2514E240u);
   4205 
   4206 L_2514E240:
   4207     eax = MEM32(ebp + (-0x10)); /* 0x2514E240: mov eax, dword ptr [ebp - 0x10] */
   4208     PUSH32(esp, eax); /* 0x2514E243: push eax */
   4209     RECOMP_ICALL(0x25137EECu); /* 0x2514E244: call 0x25137eec */ /* not lifted */
   4210     RECOMP_FLAGS_IN();
   4211     ecx = POP32_VAL(esp); /* 0x2514E249: pop ecx */
   4212     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E24A: ret  */
   4213     RECOMP_REGS_OUT();
   4214 }
   4215 
   4216 void sub_2514E24B(void) {
   4217     int _fpu_cmp = 0;
   4218     uint32_t _cf = 0;
   4219     int _df = 1;
   4220     uint32_t _flag_k = FK_NONE;
   4221     uint32_t _flag_a = 0, _flag_b = 0;
   4222     uint32_t _itail_tgt = 0;
   4223     RECOMP_REGS_LOCALS
   4224     RECOMP_ENTER(0x2514E24Bu);
   4225 
   4226     goto L_2514E24B;
   4227 L_251380C4:
   4228     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4229 L_2514E24B:
   4230     eax = 0x2516FBA8u; /* 0x2514E24B: mov eax, 0x2516fba8 */
   4231 L_2514E250:
   4232     RECOMP_BACKEDGE();
   4233     goto L_251380C4; /* 0x2514E250: jmp 0x251380c4 */
   4234     { RECOMP_REGS_OUT(); return; } /* end of function */
   4235   _ljump:
   4236     switch (_itail_tgt) {
   4237       case 0x251380C4u: goto L_251380C4;
   4238       case 0x2514E24Bu: goto L_2514E24B;
   4239       case 0x2514E250u: goto L_2514E250;
   4240       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4241     }
   4242     RECOMP_REGS_OUT();
   4243 }
   4244 
   4245 void sub_2514E260(void) {
   4246     int _fpu_cmp = 0;
   4247     uint32_t _cf = 0;
   4248     int _df = 1;
   4249     uint32_t _flag_k = FK_NONE;
   4250     uint32_t _flag_a = 0, _flag_b = 0;
   4251     uint32_t _itail_tgt = 0;
   4252     RECOMP_REGS_LOCALS
   4253     RECOMP_ENTER(0x2514E260u);
   4254 
   4255     goto L_2514E260;
   4256 L_25109230:
   4257     PUSH32(esp, ebp); /* 0x25109230: push ebp */
   4258     ebp = esp; /* 0x25109231: mov ebp, esp */
   4259     PUSH32(esp, 0xFFFFFFFFu); /* 0x25109233: push -1 */
   4260     PUSH32(esp, 0x2514D113u); /* 0x25109235: push 0x2514d113 */
   4261     eax = MEM32(FS_BASE + (0)); /* 0x2510923A: mov eax, dword ptr fs:[0] */
   4262     PUSH32(esp, eax); /* 0x25109240: push eax */
   4263     MEM32(FS_BASE + (0)) = esp; /* 0x25109241: mov dword ptr fs:[0], esp */
   4264     PUSH32(esp, ecx); /* 0x25109248: push ecx */
   4265     PUSH32(esp, esi); /* 0x25109249: push esi */
   4266     esi = ecx; /* 0x2510924A: mov esi, ecx */
   4267     PUSH32(esp, edi); /* 0x2510924C: push edi */
   4268     MEM32(ebp + (-0x10)) = esi; /* 0x2510924D: mov dword ptr [ebp - 0x10], esi */
   4269     MEM32(esi) = 0x25158F6Cu; /* 0x25109250: mov dword ptr [esi], 0x25158f6c */
   4270     edi = MEM32(esi + 0x48); /* 0x25109256: mov edi, dword ptr [esi + 0x48] */
   4271     eax = MEM32(esi + 0x4C); /* 0x25109259: mov eax, dword ptr [esi + 0x4c] */
   4272     /* cmp edi, eax */ /* 0x2510925C: cmp edi, eax */
   4273     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   4274     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4275     _flag_k = FK_CMP;
   4276     MEM32(ebp + (-0x4)) = 1; /* 0x2510925E: mov dword ptr [ebp - 4], 1 */
   4277     if (CMP_EQ(_flag_a, _flag_b)) goto L_2510927D; /* 0x25109265: je 0x2510927d */
   4278 L_25109267:
   4279     ecx = MEM32(edi); /* 0x25109267: mov ecx, dword ptr [edi] */
   4280     /* test ecx, ecx */ /* 0x25109269: test ecx, ecx */
   4281     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4282     _cf = 0;
   4283     _flag_k = FK_TEST;
   4284     if (TEST_Z(_flag_a, _flag_b)) goto L_25109273; /* 0x2510926B: je 0x25109273 */
   4285 L_2510926D:
   4286     eax = MEM32(ecx); /* 0x2510926D: mov eax, dword ptr [ecx] */
   4287     PUSH32(esp, 1); /* 0x2510926F: push 1 */
   4288     RECOMP_ICALL(MEM32(eax)); /* 0x25109271: call dword ptr [eax] */
   4289     RECOMP_FLAGS_IN();
   4290 L_25109273:
   4291     eax = MEM32(esi + 0x4C); /* 0x25109273: mov eax, dword ptr [esi + 0x4c] */
   4292     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   4293     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4294     edi = edi + 4; /* 0x25109276: add edi, 4 */
   4295     _flag_k = FK_ADD;
   4296     /* cmp edi, eax */ /* 0x25109279: cmp edi, eax */
   4297     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   4298     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4299     _flag_k = FK_CMP;
   4300     RECOMP_BACKEDGE();
   4301     if (CMP_NE(_flag_a, _flag_b)) goto L_25109267; /* 0x2510927B: jne 0x25109267 */
   4302 L_2510927D:
   4303     eax = MEM32(esi + 0x48); /* 0x2510927D: mov eax, dword ptr [esi + 0x48] */
   4304     PUSH32(esp, eax); /* 0x25109280: push eax */
   4305     MEM32(ebp + (-0x10)) = eax; /* 0x25109281: mov dword ptr [ebp - 0x10], eax */
   4306     RECOMP_ICALL(0x25137EECu); /* 0x25109284: call 0x25137eec */ /* not lifted */
   4307     RECOMP_FLAGS_IN();
   4308     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4309     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4310     esp = esp + 4; /* 0x25109289: add esp, 4 */
   4311     _flag_k = FK_ADD;
   4312     ecx = esi; /* 0x2510928C: mov ecx, esi */
   4313     MEM32(esi + 0x48) = 0; /* 0x2510928E: mov dword ptr [esi + 0x48], 0 */
   4314     MEM32(esi + 0x4C) = 0; /* 0x25109295: mov dword ptr [esi + 0x4c], 0 */
   4315     MEM32(esi + 0x50) = 0; /* 0x2510929C: mov dword ptr [esi + 0x50], 0 */
   4316     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x251092A3: mov dword ptr [ebp - 4], 0xffffffff */
   4317     RECOMP_ICALL(0x250E62B0u); /* 0x251092AA: call 0x250e62b0 */ /* not lifted */
   4318     RECOMP_FLAGS_IN();
   4319     ecx = MEM32(ebp + (-0xC)); /* 0x251092AF: mov ecx, dword ptr [ebp - 0xc] */
   4320     edi = POP32_VAL(esp); /* 0x251092B2: pop edi */
   4321     esi = POP32_VAL(esp); /* 0x251092B3: pop esi */
   4322     MEM32(FS_BASE + (0)) = ecx; /* 0x251092B4: mov dword ptr fs:[0], ecx */
   4323     esp = ebp; /* 0x251092BB: mov esp, ebp */
   4324     ebp = POP32_VAL(esp); /* 0x251092BD: pop ebp */
   4325     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251092BE: ret  */
   4326 L_2514E260:
   4327     ecx = MEM32(ebp + (-0x10)); /* 0x2514E260: mov ecx, dword ptr [ebp - 0x10] */
   4328     RECOMP_BACKEDGE();
   4329     goto L_25109230; /* 0x2514E263: jmp 0x25109230 */
   4330     { RECOMP_REGS_OUT(); return; } /* end of function */
   4331     RECOMP_REGS_OUT();
   4332 }
   4333 
   4334 void sub_2514E268(void) {
   4335     int _fpu_cmp = 0;
   4336     uint32_t _cf = 0;
   4337     int _df = 1;
   4338     uint32_t _flag_k = FK_NONE;
   4339     uint32_t _flag_a = 0, _flag_b = 0;
   4340     uint32_t _itail_tgt = 0;
   4341     RECOMP_REGS_LOCALS
   4342     RECOMP_ENTER(0x2514E268u);
   4343 
   4344 L_2514E268:
   4345     eax = MEM32(ebp + 0x8); /* 0x2514E268: mov eax, dword ptr [ebp + 8] */
   4346     PUSH32(esp, eax); /* 0x2514E26B: push eax */
   4347     RECOMP_ICALL(0x25137EECu); /* 0x2514E26C: call 0x25137eec */ /* not lifted */
   4348     RECOMP_FLAGS_IN();
   4349     ecx = POP32_VAL(esp); /* 0x2514E271: pop ecx */
   4350     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E272: ret  */
   4351     RECOMP_REGS_OUT();
   4352 }
   4353 
   4354 void sub_2514E273(void) {
   4355     int _fpu_cmp = 0;
   4356     uint32_t _cf = 0;
   4357     int _df = 1;
   4358     uint32_t _flag_k = FK_NONE;
   4359     uint32_t _flag_a = 0, _flag_b = 0;
   4360     uint32_t _itail_tgt = 0;
   4361     RECOMP_REGS_LOCALS
   4362     RECOMP_ENTER(0x2514E273u);
   4363 
   4364     goto L_2514E273;
   4365 L_251380C4:
   4366     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4367 L_2514E273:
   4368     eax = 0x2516FBD0u; /* 0x2514E273: mov eax, 0x2516fbd0 */
   4369 L_2514E278:
   4370     RECOMP_BACKEDGE();
   4371     goto L_251380C4; /* 0x2514E278: jmp 0x251380c4 */
   4372     { RECOMP_REGS_OUT(); return; } /* end of function */
   4373   _ljump:
   4374     switch (_itail_tgt) {
   4375       case 0x251380C4u: goto L_251380C4;
   4376       case 0x2514E273u: goto L_2514E273;
   4377       case 0x2514E278u: goto L_2514E278;
   4378       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4379     }
   4380     RECOMP_REGS_OUT();
   4381 }
   4382 
   4383 void sub_2514E280(void) {
   4384     int _fpu_cmp = 0;
   4385     uint32_t _cf = 0;
   4386     int _df = 1;
   4387     uint32_t _flag_k = FK_NONE;
   4388     uint32_t _flag_a = 0, _flag_b = 0;
   4389     uint32_t _itail_tgt = 0;
   4390     RECOMP_REGS_LOCALS
   4391     RECOMP_ENTER(0x2514E280u);
   4392 
   4393     goto L_2514E280;
   4394 L_25109230:
   4395     PUSH32(esp, ebp); /* 0x25109230: push ebp */
   4396     ebp = esp; /* 0x25109231: mov ebp, esp */
   4397     PUSH32(esp, 0xFFFFFFFFu); /* 0x25109233: push -1 */
   4398     PUSH32(esp, 0x2514D113u); /* 0x25109235: push 0x2514d113 */
   4399     eax = MEM32(FS_BASE + (0)); /* 0x2510923A: mov eax, dword ptr fs:[0] */
   4400     PUSH32(esp, eax); /* 0x25109240: push eax */
   4401     MEM32(FS_BASE + (0)) = esp; /* 0x25109241: mov dword ptr fs:[0], esp */
   4402     PUSH32(esp, ecx); /* 0x25109248: push ecx */
   4403     PUSH32(esp, esi); /* 0x25109249: push esi */
   4404     esi = ecx; /* 0x2510924A: mov esi, ecx */
   4405     PUSH32(esp, edi); /* 0x2510924C: push edi */
   4406     MEM32(ebp + (-0x10)) = esi; /* 0x2510924D: mov dword ptr [ebp - 0x10], esi */
   4407     MEM32(esi) = 0x25158F6Cu; /* 0x25109250: mov dword ptr [esi], 0x25158f6c */
   4408     edi = MEM32(esi + 0x48); /* 0x25109256: mov edi, dword ptr [esi + 0x48] */
   4409     eax = MEM32(esi + 0x4C); /* 0x25109259: mov eax, dword ptr [esi + 0x4c] */
   4410     /* cmp edi, eax */ /* 0x2510925C: cmp edi, eax */
   4411     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   4412     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4413     _flag_k = FK_CMP;
   4414     MEM32(ebp + (-0x4)) = 1; /* 0x2510925E: mov dword ptr [ebp - 4], 1 */
   4415     if (CMP_EQ(_flag_a, _flag_b)) goto L_2510927D; /* 0x25109265: je 0x2510927d */
   4416 L_25109267:
   4417     ecx = MEM32(edi); /* 0x25109267: mov ecx, dword ptr [edi] */
   4418     /* test ecx, ecx */ /* 0x25109269: test ecx, ecx */
   4419     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4420     _cf = 0;
   4421     _flag_k = FK_TEST;
   4422     if (TEST_Z(_flag_a, _flag_b)) goto L_25109273; /* 0x2510926B: je 0x25109273 */
   4423 L_2510926D:
   4424     eax = MEM32(ecx); /* 0x2510926D: mov eax, dword ptr [ecx] */
   4425     PUSH32(esp, 1); /* 0x2510926F: push 1 */
   4426     RECOMP_ICALL(MEM32(eax)); /* 0x25109271: call dword ptr [eax] */
   4427     RECOMP_FLAGS_IN();
   4428 L_25109273:
   4429     eax = MEM32(esi + 0x4C); /* 0x25109273: mov eax, dword ptr [esi + 0x4c] */
   4430     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   4431     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4432     edi = edi + 4; /* 0x25109276: add edi, 4 */
   4433     _flag_k = FK_ADD;
   4434     /* cmp edi, eax */ /* 0x25109279: cmp edi, eax */
   4435     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   4436     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4437     _flag_k = FK_CMP;
   4438     RECOMP_BACKEDGE();
   4439     if (CMP_NE(_flag_a, _flag_b)) goto L_25109267; /* 0x2510927B: jne 0x25109267 */
   4440 L_2510927D:
   4441     eax = MEM32(esi + 0x48); /* 0x2510927D: mov eax, dword ptr [esi + 0x48] */
   4442     PUSH32(esp, eax); /* 0x25109280: push eax */
   4443     MEM32(ebp + (-0x10)) = eax; /* 0x25109281: mov dword ptr [ebp - 0x10], eax */
   4444     RECOMP_ICALL(0x25137EECu); /* 0x25109284: call 0x25137eec */ /* not lifted */
   4445     RECOMP_FLAGS_IN();
   4446     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4447     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4448     esp = esp + 4; /* 0x25109289: add esp, 4 */
   4449     _flag_k = FK_ADD;
   4450     ecx = esi; /* 0x2510928C: mov ecx, esi */
   4451     MEM32(esi + 0x48) = 0; /* 0x2510928E: mov dword ptr [esi + 0x48], 0 */
   4452     MEM32(esi + 0x4C) = 0; /* 0x25109295: mov dword ptr [esi + 0x4c], 0 */
   4453     MEM32(esi + 0x50) = 0; /* 0x2510929C: mov dword ptr [esi + 0x50], 0 */
   4454     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x251092A3: mov dword ptr [ebp - 4], 0xffffffff */
   4455     RECOMP_ICALL(0x250E62B0u); /* 0x251092AA: call 0x250e62b0 */ /* not lifted */
   4456     RECOMP_FLAGS_IN();
   4457     ecx = MEM32(ebp + (-0xC)); /* 0x251092AF: mov ecx, dword ptr [ebp - 0xc] */
   4458     edi = POP32_VAL(esp); /* 0x251092B2: pop edi */
   4459     esi = POP32_VAL(esp); /* 0x251092B3: pop esi */
   4460     MEM32(FS_BASE + (0)) = ecx; /* 0x251092B4: mov dword ptr fs:[0], ecx */
   4461     esp = ebp; /* 0x251092BB: mov esp, ebp */
   4462     ebp = POP32_VAL(esp); /* 0x251092BD: pop ebp */
   4463     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251092BE: ret  */
   4464 L_2514E280:
   4465     ecx = MEM32(ebp + (-0x10)); /* 0x2514E280: mov ecx, dword ptr [ebp - 0x10] */
   4466     RECOMP_BACKEDGE();
   4467     goto L_25109230; /* 0x2514E283: jmp 0x25109230 */
   4468     { RECOMP_REGS_OUT(); return; } /* end of function */
   4469     RECOMP_REGS_OUT();
   4470 }
   4471 
   4472 void sub_2514E288(void) {
   4473     int _fpu_cmp = 0;
   4474     uint32_t _cf = 0;
   4475     int _df = 1;
   4476     uint32_t _flag_k = FK_NONE;
   4477     uint32_t _flag_a = 0, _flag_b = 0;
   4478     uint32_t _itail_tgt = 0;
   4479     RECOMP_REGS_LOCALS
   4480     RECOMP_ENTER(0x2514E288u);
   4481 
   4482     goto L_2514E288;
   4483 L_251380C4:
   4484     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4485 L_2514E288:
   4486     eax = 0x2516FC00u; /* 0x2514E288: mov eax, 0x2516fc00 */
   4487 L_2514E28D:
   4488     RECOMP_BACKEDGE();
   4489     goto L_251380C4; /* 0x2514E28D: jmp 0x251380c4 */
   4490     { RECOMP_REGS_OUT(); return; } /* end of function */
   4491   _ljump:
   4492     switch (_itail_tgt) {
   4493       case 0x251380C4u: goto L_251380C4;
   4494       case 0x2514E288u: goto L_2514E288;
   4495       case 0x2514E28Du: goto L_2514E28D;
   4496       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4497     }
   4498     RECOMP_REGS_OUT();
   4499 }
   4500 
   4501 void sub_2514E2A0(void) {
   4502     int _fpu_cmp = 0;
   4503     uint32_t _cf = 0;
   4504     int _df = 1;
   4505     uint32_t _flag_k = FK_NONE;
   4506     uint32_t _flag_a = 0, _flag_b = 0;
   4507     uint32_t _itail_tgt = 0;
   4508     RECOMP_REGS_LOCALS
   4509     RECOMP_ENTER(0x2514E2A0u);
   4510 
   4511     goto L_2514E2A0;
   4512 L_25109230:
   4513     PUSH32(esp, ebp); /* 0x25109230: push ebp */
   4514     ebp = esp; /* 0x25109231: mov ebp, esp */
   4515     PUSH32(esp, 0xFFFFFFFFu); /* 0x25109233: push -1 */
   4516     PUSH32(esp, 0x2514D113u); /* 0x25109235: push 0x2514d113 */
   4517     eax = MEM32(FS_BASE + (0)); /* 0x2510923A: mov eax, dword ptr fs:[0] */
   4518     PUSH32(esp, eax); /* 0x25109240: push eax */
   4519     MEM32(FS_BASE + (0)) = esp; /* 0x25109241: mov dword ptr fs:[0], esp */
   4520     PUSH32(esp, ecx); /* 0x25109248: push ecx */
   4521     PUSH32(esp, esi); /* 0x25109249: push esi */
   4522     esi = ecx; /* 0x2510924A: mov esi, ecx */
   4523     PUSH32(esp, edi); /* 0x2510924C: push edi */
   4524     MEM32(ebp + (-0x10)) = esi; /* 0x2510924D: mov dword ptr [ebp - 0x10], esi */
   4525     MEM32(esi) = 0x25158F6Cu; /* 0x25109250: mov dword ptr [esi], 0x25158f6c */
   4526     edi = MEM32(esi + 0x48); /* 0x25109256: mov edi, dword ptr [esi + 0x48] */
   4527     eax = MEM32(esi + 0x4C); /* 0x25109259: mov eax, dword ptr [esi + 0x4c] */
   4528     /* cmp edi, eax */ /* 0x2510925C: cmp edi, eax */
   4529     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   4530     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4531     _flag_k = FK_CMP;
   4532     MEM32(ebp + (-0x4)) = 1; /* 0x2510925E: mov dword ptr [ebp - 4], 1 */
   4533     if (CMP_EQ(_flag_a, _flag_b)) goto L_2510927D; /* 0x25109265: je 0x2510927d */
   4534 L_25109267:
   4535     ecx = MEM32(edi); /* 0x25109267: mov ecx, dword ptr [edi] */
   4536     /* test ecx, ecx */ /* 0x25109269: test ecx, ecx */
   4537     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4538     _cf = 0;
   4539     _flag_k = FK_TEST;
   4540     if (TEST_Z(_flag_a, _flag_b)) goto L_25109273; /* 0x2510926B: je 0x25109273 */
   4541 L_2510926D:
   4542     eax = MEM32(ecx); /* 0x2510926D: mov eax, dword ptr [ecx] */
   4543     PUSH32(esp, 1); /* 0x2510926F: push 1 */
   4544     RECOMP_ICALL(MEM32(eax)); /* 0x25109271: call dword ptr [eax] */
   4545     RECOMP_FLAGS_IN();
   4546 L_25109273:
   4547     eax = MEM32(esi + 0x4C); /* 0x25109273: mov eax, dword ptr [esi + 0x4c] */
   4548     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   4549     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4550     edi = edi + 4; /* 0x25109276: add edi, 4 */
   4551     _flag_k = FK_ADD;
   4552     /* cmp edi, eax */ /* 0x25109279: cmp edi, eax */
   4553     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   4554     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4555     _flag_k = FK_CMP;
   4556     RECOMP_BACKEDGE();
   4557     if (CMP_NE(_flag_a, _flag_b)) goto L_25109267; /* 0x2510927B: jne 0x25109267 */
   4558 L_2510927D:
   4559     eax = MEM32(esi + 0x48); /* 0x2510927D: mov eax, dword ptr [esi + 0x48] */
   4560     PUSH32(esp, eax); /* 0x25109280: push eax */
   4561     MEM32(ebp + (-0x10)) = eax; /* 0x25109281: mov dword ptr [ebp - 0x10], eax */
   4562     RECOMP_ICALL(0x25137EECu); /* 0x25109284: call 0x25137eec */ /* not lifted */
   4563     RECOMP_FLAGS_IN();
   4564     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4565     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4566     esp = esp + 4; /* 0x25109289: add esp, 4 */
   4567     _flag_k = FK_ADD;
   4568     ecx = esi; /* 0x2510928C: mov ecx, esi */
   4569     MEM32(esi + 0x48) = 0; /* 0x2510928E: mov dword ptr [esi + 0x48], 0 */
   4570     MEM32(esi + 0x4C) = 0; /* 0x25109295: mov dword ptr [esi + 0x4c], 0 */
   4571     MEM32(esi + 0x50) = 0; /* 0x2510929C: mov dword ptr [esi + 0x50], 0 */
   4572     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x251092A3: mov dword ptr [ebp - 4], 0xffffffff */
   4573     RECOMP_ICALL(0x250E62B0u); /* 0x251092AA: call 0x250e62b0 */ /* not lifted */
   4574     RECOMP_FLAGS_IN();
   4575     ecx = MEM32(ebp + (-0xC)); /* 0x251092AF: mov ecx, dword ptr [ebp - 0xc] */
   4576     edi = POP32_VAL(esp); /* 0x251092B2: pop edi */
   4577     esi = POP32_VAL(esp); /* 0x251092B3: pop esi */
   4578     MEM32(FS_BASE + (0)) = ecx; /* 0x251092B4: mov dword ptr fs:[0], ecx */
   4579     esp = ebp; /* 0x251092BB: mov esp, ebp */
   4580     ebp = POP32_VAL(esp); /* 0x251092BD: pop ebp */
   4581     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251092BE: ret  */
   4582 L_2514E2A0:
   4583     ecx = MEM32(ebp + (-0x10)); /* 0x2514E2A0: mov ecx, dword ptr [ebp - 0x10] */
   4584     RECOMP_BACKEDGE();
   4585     goto L_25109230; /* 0x2514E2A3: jmp 0x25109230 */
   4586     { RECOMP_REGS_OUT(); return; } /* end of function */
   4587     RECOMP_REGS_OUT();
   4588 }
   4589 
   4590 void sub_2514E2A8(void) {
   4591     int _fpu_cmp = 0;
   4592     uint32_t _cf = 0;
   4593     int _df = 1;
   4594     uint32_t _flag_k = FK_NONE;
   4595     uint32_t _flag_a = 0, _flag_b = 0;
   4596     uint32_t _itail_tgt = 0;
   4597     RECOMP_REGS_LOCALS
   4598     RECOMP_ENTER(0x2514E2A8u);
   4599 
   4600     goto L_2514E2A8;
   4601 L_251380C4:
   4602     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4603 L_2514E2A8:
   4604     eax = 0x2516FC28u; /* 0x2514E2A8: mov eax, 0x2516fc28 */
   4605 L_2514E2AD:
   4606     RECOMP_BACKEDGE();
   4607     goto L_251380C4; /* 0x2514E2AD: jmp 0x251380c4 */
   4608     { RECOMP_REGS_OUT(); return; } /* end of function */
   4609   _ljump:
   4610     switch (_itail_tgt) {
   4611       case 0x251380C4u: goto L_251380C4;
   4612       case 0x2514E2A8u: goto L_2514E2A8;
   4613       case 0x2514E2ADu: goto L_2514E2AD;
   4614       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4615     }
   4616     RECOMP_REGS_OUT();
   4617 }
   4618 
   4619 void sub_2514E2C0(void) {
   4620     int _fpu_cmp = 0;
   4621     uint32_t _cf = 0;
   4622     int _df = 1;
   4623     uint32_t _flag_k = FK_NONE;
   4624     uint32_t _flag_a = 0, _flag_b = 0;
   4625     uint32_t _itail_tgt = 0;
   4626     RECOMP_REGS_LOCALS
   4627     RECOMP_ENTER(0x2514E2C0u);
   4628 
   4629     goto L_2514E2C0;
   4630 L_250E62B0:
   4631     PUSH32(esp, ebp); /* 0x250E62B0: push ebp */
   4632     ebp = esp; /* 0x250E62B1: mov ebp, esp */
   4633     PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */
   4634     PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */
   4635     eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */
   4636     PUSH32(esp, eax); /* 0x250E62C0: push eax */
   4637     MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */
   4638     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4639     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4640     esp = esp - 8; /* 0x250E62C8: sub esp, 8 */
   4641     _flag_k = FK_CMP;
   4642     PUSH32(esp, esi); /* 0x250E62CB: push esi */
   4643     esi = ecx; /* 0x250E62CC: mov esi, ecx */
   4644     MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */
   4645     MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */
   4646     eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */
   4647     PUSH32(esp, eax); /* 0x250E62DA: push eax */
   4648     eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */
   4649     PUSH32(esp, eax); /* 0x250E62DE: push eax */
   4650     ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */
   4651     MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */
   4652     RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */
   4653     RECOMP_FLAGS_IN();
   4654     eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */
   4655     /* test eax, eax */ /* 0x250E62F3: test eax, eax */
   4656     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4657     _cf = 0;
   4658     _flag_k = FK_TEST;
   4659     if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */
   4660 L_250E62F7:
   4661     _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1);
   4662     MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */
   4663     _flag_k = FK_DEC;
   4664 L_250E62FD:
   4665     eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */
   4666     /* test eax, eax */ /* 0x250E6300: test eax, eax */
   4667     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4668     _cf = 0;
   4669     _flag_k = FK_TEST;
   4670     if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */
   4671 L_250E6304:
   4672     ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */
   4673     SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */
   4674     /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */
   4675     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4676     _cf = 0;
   4677     _flag_k = FK_NARROW(FK_TEST, 24);
   4678     if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */
   4679 L_250E630D:
   4680     /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */
   4681     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4682     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4683     _flag_k = FK_NARROW(FK_CMP, 24);
   4684     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */
   4685 L_250E6311:
   4686     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4687     SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */
   4688     _flag_k = FK_NARROW(FK_DEC, 24);
   4689     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */
   4690     goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */
   4691 L_250E6317:
   4692     PUSH32(esp, ecx); /* 0x250E6317: push ecx */
   4693     RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */
   4694     RECOMP_FLAGS_IN();
   4695     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4696     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4697     esp = esp + 4; /* 0x250E631D: add esp, 4 */
   4698     _flag_k = FK_ADD;
   4699 L_250E6320:
   4700     ecx = esi; /* 0x250E6320: mov ecx, esi */
   4701     MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */
   4702     MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */
   4703     MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */
   4704     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */
   4705     RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */
   4706     RECOMP_FLAGS_IN();
   4707     ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */
   4708     esi = POP32_VAL(esp); /* 0x250E6347: pop esi */
   4709     MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */
   4710     esp = ebp; /* 0x250E634F: mov esp, ebp */
   4711     ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */
   4712     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret  */
   4713 L_2514E2C0:
   4714     ecx = MEM32(ebp + (-0x10)); /* 0x2514E2C0: mov ecx, dword ptr [ebp - 0x10] */
   4715     RECOMP_BACKEDGE();
   4716     goto L_250E62B0; /* 0x2514E2C3: jmp 0x250e62b0 */
   4717     { RECOMP_REGS_OUT(); return; } /* end of function */
   4718     RECOMP_REGS_OUT();
   4719 }
   4720 
   4721 void sub_2514E2C8(void) {
   4722     int _fpu_cmp = 0;
   4723     uint32_t _cf = 0;
   4724     int _df = 1;
   4725     uint32_t _flag_k = FK_NONE;
   4726     uint32_t _flag_a = 0, _flag_b = 0;
   4727     uint32_t _itail_tgt = 0;
   4728     RECOMP_REGS_LOCALS
   4729     RECOMP_ENTER(0x2514E2C8u);
   4730 
   4731     goto L_2514E2C8;
   4732 L_251380C4:
   4733     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4734 L_2514E2C8:
   4735     eax = 0x2516FC50u; /* 0x2514E2C8: mov eax, 0x2516fc50 */
   4736 L_2514E2CD:
   4737     RECOMP_BACKEDGE();
   4738     goto L_251380C4; /* 0x2514E2CD: jmp 0x251380c4 */
   4739     { RECOMP_REGS_OUT(); return; } /* end of function */
   4740   _ljump:
   4741     switch (_itail_tgt) {
   4742       case 0x251380C4u: goto L_251380C4;
   4743       case 0x2514E2C8u: goto L_2514E2C8;
   4744       case 0x2514E2CDu: goto L_2514E2CD;
   4745       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4746     }
   4747     RECOMP_REGS_OUT();
   4748 }
   4749 
   4750 void sub_2514E2E0(void) {
   4751     int _fpu_cmp = 0;
   4752     uint32_t _cf = 0;
   4753     int _df = 1;
   4754     uint32_t _flag_k = FK_NONE;
   4755     uint32_t _flag_a = 0, _flag_b = 0;
   4756     uint32_t _itail_tgt = 0;
   4757     RECOMP_REGS_LOCALS
   4758     RECOMP_ENTER(0x2514E2E0u);
   4759 
   4760 L_2514E2E0:
   4761     eax = MEM32(ebp + (-0x10)); /* 0x2514E2E0: mov eax, dword ptr [ebp - 0x10] */
   4762     PUSH32(esp, eax); /* 0x2514E2E3: push eax */
   4763     RECOMP_ICALL(0x25137EECu); /* 0x2514E2E4: call 0x25137eec */ /* not lifted */
   4764     RECOMP_FLAGS_IN();
   4765     ecx = POP32_VAL(esp); /* 0x2514E2E9: pop ecx */
   4766     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E2EA: ret  */
   4767     RECOMP_REGS_OUT();
   4768 }
   4769 
   4770 void sub_2514E2EB(void) {
   4771     int _fpu_cmp = 0;
   4772     uint32_t _cf = 0;
   4773     int _df = 1;
   4774     uint32_t _flag_k = FK_NONE;
   4775     uint32_t _flag_a = 0, _flag_b = 0;
   4776     uint32_t _itail_tgt = 0;
   4777     RECOMP_REGS_LOCALS
   4778     RECOMP_ENTER(0x2514E2EBu);
   4779 
   4780     goto L_2514E2EB;
   4781 L_251380C4:
   4782     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4783 L_2514E2EB:
   4784     eax = 0x2516FC78u; /* 0x2514E2EB: mov eax, 0x2516fc78 */
   4785 L_2514E2F0:
   4786     RECOMP_BACKEDGE();
   4787     goto L_251380C4; /* 0x2514E2F0: jmp 0x251380c4 */
   4788     { RECOMP_REGS_OUT(); return; } /* end of function */
   4789   _ljump:
   4790     switch (_itail_tgt) {
   4791       case 0x251380C4u: goto L_251380C4;
   4792       case 0x2514E2EBu: goto L_2514E2EB;
   4793       case 0x2514E2F0u: goto L_2514E2F0;
   4794       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4795     }
   4796     RECOMP_REGS_OUT();
   4797 }
   4798 
   4799 void sub_2514E300(void) {
   4800     int _fpu_cmp = 0;
   4801     uint32_t _cf = 0;
   4802     int _df = 1;
   4803     uint32_t _flag_k = FK_NONE;
   4804     uint32_t _flag_a = 0, _flag_b = 0;
   4805     uint32_t _itail_tgt = 0;
   4806     RECOMP_REGS_LOCALS
   4807     RECOMP_ENTER(0x2514E300u);
   4808 
   4809     goto L_2514E300;
   4810 L_250E0E40:
   4811     goto L_250E62B0; /* 0x250E0E40: jmp 0x250e62b0 */
   4812 L_250E62B0:
   4813     PUSH32(esp, ebp); /* 0x250E62B0: push ebp */
   4814     ebp = esp; /* 0x250E62B1: mov ebp, esp */
   4815     PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */
   4816     PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */
   4817     eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */
   4818     PUSH32(esp, eax); /* 0x250E62C0: push eax */
   4819     MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */
   4820     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4821     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4822     esp = esp - 8; /* 0x250E62C8: sub esp, 8 */
   4823     _flag_k = FK_CMP;
   4824     PUSH32(esp, esi); /* 0x250E62CB: push esi */
   4825     esi = ecx; /* 0x250E62CC: mov esi, ecx */
   4826     MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */
   4827     MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */
   4828     eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */
   4829     PUSH32(esp, eax); /* 0x250E62DA: push eax */
   4830     eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */
   4831     PUSH32(esp, eax); /* 0x250E62DE: push eax */
   4832     ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */
   4833     MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */
   4834     RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */
   4835     RECOMP_FLAGS_IN();
   4836     eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */
   4837     /* test eax, eax */ /* 0x250E62F3: test eax, eax */
   4838     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4839     _cf = 0;
   4840     _flag_k = FK_TEST;
   4841     if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */
   4842 L_250E62F7:
   4843     _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1);
   4844     MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */
   4845     _flag_k = FK_DEC;
   4846 L_250E62FD:
   4847     eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */
   4848     /* test eax, eax */ /* 0x250E6300: test eax, eax */
   4849     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4850     _cf = 0;
   4851     _flag_k = FK_TEST;
   4852     if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */
   4853 L_250E6304:
   4854     ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */
   4855     SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */
   4856     /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */
   4857     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4858     _cf = 0;
   4859     _flag_k = FK_NARROW(FK_TEST, 24);
   4860     if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */
   4861 L_250E630D:
   4862     /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */
   4863     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4864     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4865     _flag_k = FK_NARROW(FK_CMP, 24);
   4866     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */
   4867 L_250E6311:
   4868     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4869     SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */
   4870     _flag_k = FK_NARROW(FK_DEC, 24);
   4871     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */
   4872     goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */
   4873 L_250E6317:
   4874     PUSH32(esp, ecx); /* 0x250E6317: push ecx */
   4875     RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */
   4876     RECOMP_FLAGS_IN();
   4877     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4878     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4879     esp = esp + 4; /* 0x250E631D: add esp, 4 */
   4880     _flag_k = FK_ADD;
   4881 L_250E6320:
   4882     ecx = esi; /* 0x250E6320: mov ecx, esi */
   4883     MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */
   4884     MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */
   4885     MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */
   4886     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */
   4887     RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */
   4888     RECOMP_FLAGS_IN();
   4889     ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */
   4890     esi = POP32_VAL(esp); /* 0x250E6347: pop esi */
   4891     MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */
   4892     esp = ebp; /* 0x250E634F: mov esp, ebp */
   4893     ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */
   4894     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret  */
   4895 L_2514E300:
   4896     ecx = MEM32(ebp + (-0x10)); /* 0x2514E300: mov ecx, dword ptr [ebp - 0x10] */
   4897     RECOMP_BACKEDGE();
   4898     goto L_250E0E40; /* 0x2514E303: jmp 0x250e0e40 */
   4899     { RECOMP_REGS_OUT(); return; } /* end of function */
   4900     RECOMP_REGS_OUT();
   4901 }
   4902 
   4903 void sub_2514E308(void) {
   4904     int _fpu_cmp = 0;
   4905     uint32_t _cf = 0;
   4906     int _df = 1;
   4907     uint32_t _flag_k = FK_NONE;
   4908     uint32_t _flag_a = 0, _flag_b = 0;
   4909     uint32_t _itail_tgt = 0;
   4910     RECOMP_REGS_LOCALS
   4911     RECOMP_ENTER(0x2514E308u);
   4912 
   4913     goto L_2514E308;
   4914 L_251380C4:
   4915     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4916 L_2514E308:
   4917     eax = 0x2516FCA0u; /* 0x2514E308: mov eax, 0x2516fca0 */
   4918 L_2514E30D:
   4919     RECOMP_BACKEDGE();
   4920     goto L_251380C4; /* 0x2514E30D: jmp 0x251380c4 */
   4921     { RECOMP_REGS_OUT(); return; } /* end of function */
   4922   _ljump:
   4923     switch (_itail_tgt) {
   4924       case 0x251380C4u: goto L_251380C4;
   4925       case 0x2514E308u: goto L_2514E308;
   4926       case 0x2514E30Du: goto L_2514E30D;
   4927       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4928     }
   4929     RECOMP_REGS_OUT();
   4930 }
   4931 
   4932 void sub_2514E320(void) {
   4933     int _fpu_cmp = 0;
   4934     uint32_t _cf = 0;
   4935     int _df = 1;
   4936     uint32_t _flag_k = FK_NONE;
   4937     uint32_t _flag_a = 0, _flag_b = 0;
   4938     uint32_t _itail_tgt = 0;
   4939     RECOMP_REGS_LOCALS
   4940     RECOMP_ENTER(0x2514E320u);
   4941 
   4942 L_2514E320:
   4943     eax = MEM32(ebp + (-0x10)); /* 0x2514E320: mov eax, dword ptr [ebp - 0x10] */
   4944     PUSH32(esp, eax); /* 0x2514E323: push eax */
   4945     RECOMP_ICALL(0x25137EECu); /* 0x2514E324: call 0x25137eec */ /* not lifted */
   4946     RECOMP_FLAGS_IN();
   4947     ecx = POP32_VAL(esp); /* 0x2514E329: pop ecx */
   4948     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514E32A: ret  */
   4949     RECOMP_REGS_OUT();
   4950 }
   4951 
   4952 void sub_2514E32B(void) {
   4953     int _fpu_cmp = 0;
   4954     uint32_t _cf = 0;
   4955     int _df = 1;
   4956     uint32_t _flag_k = FK_NONE;
   4957     uint32_t _flag_a = 0, _flag_b = 0;
   4958     uint32_t _itail_tgt = 0;
   4959     RECOMP_REGS_LOCALS
   4960     RECOMP_ENTER(0x2514E32Bu);
   4961 
   4962     goto L_2514E32B;
   4963 L_251380C4:
   4964     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4965 L_2514E32B:
   4966     eax = 0x2516FCC8u; /* 0x2514E32B: mov eax, 0x2516fcc8 */
   4967 L_2514E330:
   4968     RECOMP_BACKEDGE();
   4969     goto L_251380C4; /* 0x2514E330: jmp 0x251380c4 */
   4970     { RECOMP_REGS_OUT(); return; } /* end of function */
   4971   _ljump:
   4972     switch (_itail_tgt) {
   4973       case 0x251380C4u: goto L_251380C4;
   4974       case 0x2514E32Bu: goto L_2514E32B;
   4975       case 0x2514E330u: goto L_2514E330;
   4976       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4977     }
   4978     RECOMP_REGS_OUT();
   4979 }
   4980 
   4981 void sub_2514E340(void) {
   4982     int _fpu_cmp = 0;
   4983     uint32_t _cf = 0;
   4984     int _df = 1;
   4985     uint32_t _flag_k = FK_NONE;
   4986     uint32_t _flag_a = 0, _flag_b = 0;
   4987     uint32_t _itail_tgt = 0;
   4988     RECOMP_REGS_LOCALS
   4989     RECOMP_ENTER(0x2514E340u);
   4990 
   4991     goto L_2514E340;
   4992 L_250E0E40:
   4993     goto L_250E62B0; /* 0x250E0E40: jmp 0x250e62b0 */
   4994 L_250E62B0:
   4995     PUSH32(esp, ebp); /* 0x250E62B0: push ebp */
   4996     ebp = esp; /* 0x250E62B1: mov ebp, esp */
   4997     PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */
   4998     PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */
   4999     eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */
   5000     PUSH32(esp, eax); /* 0x250E62C0: push eax */
   5001     MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */
   5002     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5003     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5004     esp = esp - 8; /* 0x250E62C8: sub esp, 8 */
   5005     _flag_k = FK_CMP;
   5006     PUSH32(esp, esi); /* 0x250E62CB: push esi */
   5007     esi = ecx; /* 0x250E62CC: mov esi, ecx */
   5008     MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */
   5009     MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */
   5010     eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */
   5011     PUSH32(esp, eax); /* 0x250E62DA: push eax */
   5012     eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */
   5013     PUSH32(esp, eax); /* 0x250E62DE: push eax */
   5014     ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */
   5015     MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */
   5016     RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */
   5017     RECOMP_FLAGS_IN();
   5018     eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */
   5019     /* test eax, eax */ /* 0x250E62F3: test eax, eax */
   5020     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5021     _cf = 0;
   5022     _flag_k = FK_TEST;
   5023     if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */
   5024 L_250E62F7:
   5025     _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1);
   5026     MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */
   5027     _flag_k = FK_DEC;
   5028 L_250E62FD:
   5029     eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */
   5030     /* test eax, eax */ /* 0x250E6300: test eax, eax */
   5031     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5032     _cf = 0;
   5033     _flag_k = FK_TEST;
   5034     if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */
   5035 L_250E6304:
   5036     ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */
   5037     SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */
   5038     /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */
   5039     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5040     _cf = 0;
   5041     _flag_k = FK_NARROW(FK_TEST, 24);
   5042     if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */
   5043 L_250E630D:
   5044     /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */
   5045     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5046     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5047     _flag_k = FK_NARROW(FK_CMP, 24);
   5048     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */
   5049 L_250E6311:
   5050     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5051     SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */
   5052     _flag_k = FK_NARROW(FK_DEC, 24);
   5053     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */
   5054     goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */
   5055 L_250E6317:
   5056     PUSH32(esp, ecx); /* 0x250E6317: push ecx */
   5057     RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */
   5058     RECOMP_FLAGS_IN();
   5059     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5060     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5061     esp = esp + 4; /* 0x250E631D: add esp, 4 */
   5062     _flag_k = FK_ADD;
   5063 L_250E6320:
   5064     ecx = esi; /* 0x250E6320: mov ecx, esi */
   5065     MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */
   5066     MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */
   5067     MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */
   5068     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */
   5069     RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */
   5070     RECOMP_FLAGS_IN();
   5071     ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */
   5072     esi = POP32_VAL(esp); /* 0x250E6347: pop esi */
   5073     MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */
   5074     esp = ebp; /* 0x250E634F: mov esp, ebp */
   5075     ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */
   5076     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret  */
   5077 L_2514E340:
   5078     ecx = MEM32(ebp + (-0x14)); /* 0x2514E340: mov ecx, dword ptr [ebp - 0x14] */
   5079     RECOMP_BACKEDGE();
   5080     goto L_250E0E40; /* 0x2514E343: jmp 0x250e0e40 */
   5081     { RECOMP_REGS_OUT(); return; } /* end of function */
   5082     RECOMP_REGS_OUT();
   5083 }
   5084 
   5085 void sub_2514E348(void) {
   5086     int _fpu_cmp = 0;
   5087     uint32_t _cf = 0;
   5088     int _df = 1;
   5089     uint32_t _flag_k = FK_NONE;
   5090     uint32_t _flag_a = 0, _flag_b = 0;
   5091     uint32_t _itail_tgt = 0;
   5092     RECOMP_REGS_LOCALS
   5093     RECOMP_ENTER(0x2514E348u);
   5094 
   5095     goto L_2514E348;
   5096 L_25085240:
   5097     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   5098     ebp = esp; /* 0x25085241: mov ebp, esp */
   5099     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   5100     PUSH32(esp, esi); /* 0x25085244: push esi */
   5101     esi = ecx; /* 0x25085245: mov esi, ecx */
   5102     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   5103     PUSH32(esp, eax); /* 0x2508524A: push eax */
   5104     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   5105     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   5106     RECOMP_FLAGS_IN();
   5107     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5108     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5109     esp = esp + 4; /* 0x25085253: add esp, 4 */
   5110     _flag_k = FK_ADD;
   5111     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5112     eax = 0; /* 0x25085256: xor eax, eax */
   5113     _cf = 0;
   5114     _flag_k = FK_TEST;
   5115     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   5116     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   5117     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   5118     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   5119     esp = ebp; /* 0x25085262: mov esp, ebp */
   5120     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   5121     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   5122 L_2514E348:
   5123     ecx = MEM32(ebp + (-0x14)); /* 0x2514E348: mov ecx, dword ptr [ebp - 0x14] */
   5124     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u);
   5125     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5126     ecx = ecx + 0x34u; /* 0x2514E34B: add ecx, 0x34 */
   5127     _flag_k = FK_ADD;
   5128     RECOMP_BACKEDGE();
   5129     goto L_25085240; /* 0x2514E34E: jmp 0x25085240 */
   5130     { RECOMP_REGS_OUT(); return; } /* end of function */
   5131     RECOMP_REGS_OUT();
   5132 }
   5133 
   5134 void sub_2514E353(void) {
   5135     int _fpu_cmp = 0;
   5136     uint32_t _cf = 0;
   5137     int _df = 1;
   5138     uint32_t _flag_k = FK_NONE;
   5139     uint32_t _flag_a = 0, _flag_b = 0;
   5140     uint32_t _itail_tgt = 0;
   5141     RECOMP_REGS_LOCALS
   5142     RECOMP_ENTER(0x2514E353u);
   5143 
   5144     goto L_2514E353;
   5145 L_25085240:
   5146     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   5147     ebp = esp; /* 0x25085241: mov ebp, esp */
   5148     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   5149     PUSH32(esp, esi); /* 0x25085244: push esi */
   5150     esi = ecx; /* 0x25085245: mov esi, ecx */
   5151     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   5152     PUSH32(esp, eax); /* 0x2508524A: push eax */
   5153     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   5154     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   5155     RECOMP_FLAGS_IN();
   5156     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5157     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5158     esp = esp + 4; /* 0x25085253: add esp, 4 */
   5159     _flag_k = FK_ADD;
   5160     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5161     eax = 0; /* 0x25085256: xor eax, eax */
   5162     _cf = 0;
   5163     _flag_k = FK_TEST;
   5164     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   5165     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   5166     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   5167     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   5168     esp = ebp; /* 0x25085262: mov esp, ebp */
   5169     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   5170     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   5171 L_2514E353:
   5172     ecx = MEM32(ebp + (-0x14)); /* 0x2514E353: mov ecx, dword ptr [ebp - 0x14] */
   5173     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x44u);
   5174     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5175     ecx = ecx + 0x44u; /* 0x2514E356: add ecx, 0x44 */
   5176     _flag_k = FK_ADD;
   5177     RECOMP_BACKEDGE();
   5178     goto L_25085240; /* 0x2514E359: jmp 0x25085240 */
   5179     { RECOMP_REGS_OUT(); return; } /* end of function */
   5180     RECOMP_REGS_OUT();
   5181 }