aorecomp

Anarchy Online classic in the browser

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


client/game/bbr.dll/lifted-0107.c (297822B)


      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_2514C001(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(0x2514C001u);
     17 
     18     goto L_2514C001;
     19 L_250E5AB0:
     20     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
     21     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
     22     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
     23     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
     24     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
     25     _cf = 0;
     26     _flag_k = FK_TEST;
     27     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
     28 L_250E5ABA:
     29     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
     30     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
     31     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
     32     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
     33     _cf = 0;
     34     _flag_k = FK_NARROW(FK_TEST, 24);
     35     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
     36 L_250E5AC3:
     37     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
     38     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
     39     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     40     _flag_k = FK_NARROW(FK_CMP, 24);
     41     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
     42 L_250E5AC7:
     43     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
     44     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
     45     _flag_k = FK_NARROW(FK_DEC, 24);
     46     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
     47     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
     48 L_250E5ACD:
     49     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
     50     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
     51     RECOMP_FLAGS_IN();
     52     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     53     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     54     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
     55     _flag_k = FK_ADD;
     56 L_250E5AD6:
     57     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
     58     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
     59     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
     60     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
     61     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
     62 L_2514C001:
     63     eax = MEM32(ebp + (-0x10)); /* 0x2514C001: mov eax, dword ptr [ebp - 0x10] */
     64     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
     65     eax = eax & 1; /* 0x2514C004: and eax, 1 */
     66     _cf = 0;
     67     _flag_k = FK_TEST;
     68     /* test eax, eax */ /* 0x2514C007: test eax, eax */
     69     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
     70     _cf = 0;
     71     _flag_k = FK_TEST;
     72     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C017; /* 0x2514C009: je 0x2514c017 */
     73 L_2514C00F:
     74     ecx = MEM32(ebp + 0x8); /* 0x2514C00F: mov ecx, dword ptr [ebp + 8] */
     75     RECOMP_BACKEDGE();
     76     goto L_250E5AB0; /* 0x2514C012: jmp 0x250e5ab0 */
     77 L_2514C017:
     78     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C017: ret  */
     79     RECOMP_REGS_OUT();
     80 }
     81 
     82 void sub_2514C018(void) {
     83     int _fpu_cmp = 0;
     84     uint32_t _cf = 0;
     85     int _df = 1;
     86     uint32_t _flag_k = FK_NONE;
     87     uint32_t _flag_a = 0, _flag_b = 0;
     88     uint32_t _itail_tgt = 0;
     89     RECOMP_REGS_LOCALS
     90     RECOMP_ENTER(0x2514C018u);
     91 
     92     goto L_2514C018;
     93 L_251380C4:
     94     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
     95 L_2514C018:
     96     eax = 0x2516D0C0u; /* 0x2514C018: mov eax, 0x2516d0c0 */
     97 L_2514C01D:
     98     RECOMP_BACKEDGE();
     99     goto L_251380C4; /* 0x2514C01D: jmp 0x251380c4 */
    100     { RECOMP_REGS_OUT(); return; } /* end of function */
    101   _ljump:
    102     switch (_itail_tgt) {
    103       case 0x251380C4u: goto L_251380C4;
    104       case 0x2514C018u: goto L_2514C018;
    105       case 0x2514C01Du: goto L_2514C01D;
    106       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    107     }
    108     RECOMP_REGS_OUT();
    109 }
    110 
    111 void sub_2514C030(void) {
    112     int _fpu_cmp = 0;
    113     uint32_t _cf = 0;
    114     int _df = 1;
    115     uint32_t _flag_k = FK_NONE;
    116     uint32_t _flag_a = 0, _flag_b = 0;
    117     uint32_t _itail_tgt = 0;
    118     RECOMP_REGS_LOCALS
    119     RECOMP_ENTER(0x2514C030u);
    120 
    121     goto L_2514C030;
    122 L_250ECFB0:
    123     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
    124     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
    125     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    126     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    127     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
    128     _flag_k = FK_CMP;
    129     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
    130     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
    131     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
    132     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
    133     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
    134     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    135     _cf = 0;
    136     _flag_k = FK_TEST;
    137     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
    138     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
    139     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
    140     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
    141     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
    142 L_250ECFCA:
    143     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
    144     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
    145     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    147     _flag_k = FK_CMP;
    148     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
    149 L_250ECFD0:
    150     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
    151     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    152     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    153     _flag_k = FK_CMP;
    154     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
    155 L_250ECFD4:
    156     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
    157     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
    158     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
    159     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    160     _flag_k = FK_CMP;
    161     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
    162     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
    163 L_250ECFDE:
    164     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
    165     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
    166     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
    167     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
    168     RECOMP_FLAGS_IN();
    169     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
    170     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
    171     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
    172     RECOMP_FLAGS_IN();
    173     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
    174     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    175     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    176     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
    177     _flag_k = FK_ADD;
    178     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
    179     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    181     _flag_k = FK_CMP;
    182     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
    183     RECOMP_BACKEDGE();
    184     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
    185 L_250ECFFD:
    186     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
    187     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
    188     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
    189     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
    190     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
    191     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
    192     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
    193     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
    194     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
    195     PUSH32(esp, eax); /* 0x250ED01B: push eax */
    196     ecx = esi; /* 0x250ED01C: mov ecx, esi */
    197     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
    198     RECOMP_FLAGS_IN();
    199     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
    200 L_250ED025:
    201     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
    202     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    203     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    204     _flag_k = FK_CMP;
    205     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
    206 L_250ED029:
    207     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
    208     ebx = eax; /* 0x250ED02C: mov ebx, eax */
    209     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
    210     RECOMP_FLAGS_IN();
    211     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
    212     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
    213     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
    214     ecx = esi; /* 0x250ED038: mov ecx, esi */
    215     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
    216     RECOMP_FLAGS_IN();
    217     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
    218     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
    219     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    220     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    221     _flag_k = FK_CMP;
    222     RECOMP_BACKEDGE();
    223     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
    224 L_250ED046:
    225     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
    226     PUSH32(esp, edx); /* 0x250ED049: push edx */
    227     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
    228     RECOMP_FLAGS_IN();
    229     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
    230     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    231     edi = 0; /* 0x250ED052: xor edi, edi */
    232     _cf = 0;
    233     _flag_k = FK_TEST;
    234     PUSH32(esp, eax); /* 0x250ED054: push eax */
    235     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
    236     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
    237     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
    238     RECOMP_FLAGS_IN();
    239     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    240     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    241     esp = esp + 8; /* 0x250ED060: add esp, 8 */
    242     _flag_k = FK_ADD;
    243     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
    244     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
    245     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
    246     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
    247     esp = ebp; /* 0x250ED069: mov esp, ebp */
    248     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
    249     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
    250 L_2514C030:
    251     ecx = ebp + (-0x3C); /* 0x2514C030: lea ecx, [ebp - 0x3c] */
    252     RECOMP_BACKEDGE();
    253     goto L_250ECFB0; /* 0x2514C033: jmp 0x250ecfb0 */
    254     { RECOMP_REGS_OUT(); return; } /* end of function */
    255     RECOMP_REGS_OUT();
    256 }
    257 
    258 void sub_2514C038(void) {
    259     int _fpu_cmp = 0;
    260     uint32_t _cf = 0;
    261     int _df = 1;
    262     uint32_t _flag_k = FK_NONE;
    263     uint32_t _flag_a = 0, _flag_b = 0;
    264     uint32_t _itail_tgt = 0;
    265     RECOMP_REGS_LOCALS
    266     RECOMP_ENTER(0x2514C038u);
    267 
    268 L_2514C038:
    269     ecx = MEM32(ebp + 0x8); /* 0x2514C038: mov ecx, dword ptr [ebp + 8] */
    270 L_2514C03B:
    271     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
    272     { RECOMP_REGS_OUT(); return; } /* end of function */
    273   _ljump:
    274     switch (_itail_tgt) {
    275       case 0x2514C038u: goto L_2514C038;
    276       case 0x2514C03Bu: goto L_2514C03B;
    277       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    278     }
    279     RECOMP_REGS_OUT();
    280 }
    281 
    282 void sub_2514C041(void) {
    283     int _fpu_cmp = 0;
    284     uint32_t _cf = 0;
    285     int _df = 1;
    286     uint32_t _flag_k = FK_NONE;
    287     uint32_t _flag_a = 0, _flag_b = 0;
    288     uint32_t _itail_tgt = 0;
    289     RECOMP_REGS_LOCALS
    290     RECOMP_ENTER(0x2514C041u);
    291 
    292     goto L_2514C041;
    293 L_250E5AB0:
    294     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    295     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    296     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    297     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    298     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    299     _cf = 0;
    300     _flag_k = FK_TEST;
    301     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    302 L_250E5ABA:
    303     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    304     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    305     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    306     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    307     _cf = 0;
    308     _flag_k = FK_NARROW(FK_TEST, 24);
    309     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    310 L_250E5AC3:
    311     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    312     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    313     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    314     _flag_k = FK_NARROW(FK_CMP, 24);
    315     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    316 L_250E5AC7:
    317     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    318     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    319     _flag_k = FK_NARROW(FK_DEC, 24);
    320     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    321     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    322 L_250E5ACD:
    323     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    324     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    325     RECOMP_FLAGS_IN();
    326     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    327     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    328     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    329     _flag_k = FK_ADD;
    330 L_250E5AD6:
    331     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    332     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    333     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    334     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    335     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    336 L_2514C041:
    337     eax = MEM32(ebp + (-0x10)); /* 0x2514C041: mov eax, dword ptr [ebp - 0x10] */
    338     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    339     eax = eax & 1; /* 0x2514C044: and eax, 1 */
    340     _cf = 0;
    341     _flag_k = FK_TEST;
    342     /* test eax, eax */ /* 0x2514C047: test eax, eax */
    343     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    344     _cf = 0;
    345     _flag_k = FK_TEST;
    346     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C057; /* 0x2514C049: je 0x2514c057 */
    347 L_2514C04F:
    348     ecx = MEM32(ebp + 0x8); /* 0x2514C04F: mov ecx, dword ptr [ebp + 8] */
    349     RECOMP_BACKEDGE();
    350     goto L_250E5AB0; /* 0x2514C052: jmp 0x250e5ab0 */
    351 L_2514C057:
    352     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C057: ret  */
    353     RECOMP_REGS_OUT();
    354 }
    355 
    356 void sub_2514C058(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(0x2514C058u);
    365 
    366     goto L_2514C058;
    367 L_251380C4:
    368     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    369 L_2514C058:
    370     eax = 0x2516D0F8u; /* 0x2514C058: mov eax, 0x2516d0f8 */
    371 L_2514C05D:
    372     RECOMP_BACKEDGE();
    373     goto L_251380C4; /* 0x2514C05D: jmp 0x251380c4 */
    374     { RECOMP_REGS_OUT(); return; } /* end of function */
    375   _ljump:
    376     switch (_itail_tgt) {
    377       case 0x251380C4u: goto L_251380C4;
    378       case 0x2514C058u: goto L_2514C058;
    379       case 0x2514C05Du: goto L_2514C05D;
    380       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    381     }
    382     RECOMP_REGS_OUT();
    383 }
    384 
    385 void sub_2514C070(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(0x2514C070u);
    394 
    395     goto L_2514C070;
    396 L_250ECFB0:
    397     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
    398     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
    399     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    400     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    401     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
    402     _flag_k = FK_CMP;
    403     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
    404     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
    405     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
    406     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
    407     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
    408     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    409     _cf = 0;
    410     _flag_k = FK_TEST;
    411     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
    412     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
    413     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
    414     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
    415     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
    416 L_250ECFCA:
    417     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
    418     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
    419     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    420     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    421     _flag_k = FK_CMP;
    422     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
    423 L_250ECFD0:
    424     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
    425     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    426     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    427     _flag_k = FK_CMP;
    428     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
    429 L_250ECFD4:
    430     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
    431     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
    432     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
    433     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    434     _flag_k = FK_CMP;
    435     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
    436     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
    437 L_250ECFDE:
    438     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
    439     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
    440     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
    441     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
    442     RECOMP_FLAGS_IN();
    443     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
    444     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
    445     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
    446     RECOMP_FLAGS_IN();
    447     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
    448     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    449     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    450     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
    451     _flag_k = FK_ADD;
    452     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
    453     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    454     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    455     _flag_k = FK_CMP;
    456     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
    457     RECOMP_BACKEDGE();
    458     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
    459 L_250ECFFD:
    460     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
    461     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
    462     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
    463     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
    464     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
    465     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
    466     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
    467     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
    468     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
    469     PUSH32(esp, eax); /* 0x250ED01B: push eax */
    470     ecx = esi; /* 0x250ED01C: mov ecx, esi */
    471     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
    472     RECOMP_FLAGS_IN();
    473     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
    474 L_250ED025:
    475     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
    476     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    478     _flag_k = FK_CMP;
    479     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
    480 L_250ED029:
    481     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
    482     ebx = eax; /* 0x250ED02C: mov ebx, eax */
    483     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
    484     RECOMP_FLAGS_IN();
    485     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
    486     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
    487     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
    488     ecx = esi; /* 0x250ED038: mov ecx, esi */
    489     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
    490     RECOMP_FLAGS_IN();
    491     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
    492     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
    493     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    494     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    495     _flag_k = FK_CMP;
    496     RECOMP_BACKEDGE();
    497     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
    498 L_250ED046:
    499     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
    500     PUSH32(esp, edx); /* 0x250ED049: push edx */
    501     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
    502     RECOMP_FLAGS_IN();
    503     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
    504     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    505     edi = 0; /* 0x250ED052: xor edi, edi */
    506     _cf = 0;
    507     _flag_k = FK_TEST;
    508     PUSH32(esp, eax); /* 0x250ED054: push eax */
    509     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
    510     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
    511     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
    512     RECOMP_FLAGS_IN();
    513     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    514     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    515     esp = esp + 8; /* 0x250ED060: add esp, 8 */
    516     _flag_k = FK_ADD;
    517     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
    518     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
    519     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
    520     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
    521     esp = ebp; /* 0x250ED069: mov esp, ebp */
    522     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
    523     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
    524 L_2514C070:
    525     ecx = ebp + (-0x3C); /* 0x2514C070: lea ecx, [ebp - 0x3c] */
    526     RECOMP_BACKEDGE();
    527     goto L_250ECFB0; /* 0x2514C073: jmp 0x250ecfb0 */
    528     { RECOMP_REGS_OUT(); return; } /* end of function */
    529     RECOMP_REGS_OUT();
    530 }
    531 
    532 void sub_2514C078(void) {
    533     int _fpu_cmp = 0;
    534     uint32_t _cf = 0;
    535     int _df = 1;
    536     uint32_t _flag_k = FK_NONE;
    537     uint32_t _flag_a = 0, _flag_b = 0;
    538     uint32_t _itail_tgt = 0;
    539     RECOMP_REGS_LOCALS
    540     RECOMP_ENTER(0x2514C078u);
    541 
    542 L_2514C078:
    543     ecx = MEM32(ebp + 0x8); /* 0x2514C078: mov ecx, dword ptr [ebp + 8] */
    544 L_2514C07B:
    545     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
    546     { RECOMP_REGS_OUT(); return; } /* end of function */
    547   _ljump:
    548     switch (_itail_tgt) {
    549       case 0x2514C078u: goto L_2514C078;
    550       case 0x2514C07Bu: goto L_2514C07B;
    551       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    552     }
    553     RECOMP_REGS_OUT();
    554 }
    555 
    556 void sub_2514C081(void) {
    557     int _fpu_cmp = 0;
    558     uint32_t _cf = 0;
    559     int _df = 1;
    560     uint32_t _flag_k = FK_NONE;
    561     uint32_t _flag_a = 0, _flag_b = 0;
    562     uint32_t _itail_tgt = 0;
    563     RECOMP_REGS_LOCALS
    564     RECOMP_ENTER(0x2514C081u);
    565 
    566     goto L_2514C081;
    567 L_250E5AB0:
    568     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    569     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    570     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    571     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    572     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    573     _cf = 0;
    574     _flag_k = FK_TEST;
    575     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    576 L_250E5ABA:
    577     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    578     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    579     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    580     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    581     _cf = 0;
    582     _flag_k = FK_NARROW(FK_TEST, 24);
    583     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    584 L_250E5AC3:
    585     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    586     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    588     _flag_k = FK_NARROW(FK_CMP, 24);
    589     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    590 L_250E5AC7:
    591     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    592     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    593     _flag_k = FK_NARROW(FK_DEC, 24);
    594     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    595     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    596 L_250E5ACD:
    597     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    598     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    599     RECOMP_FLAGS_IN();
    600     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    601     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    602     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    603     _flag_k = FK_ADD;
    604 L_250E5AD6:
    605     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    606     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    607     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    608     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    609     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    610 L_2514C081:
    611     eax = MEM32(ebp + (-0x10)); /* 0x2514C081: mov eax, dword ptr [ebp - 0x10] */
    612     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    613     eax = eax & 1; /* 0x2514C084: and eax, 1 */
    614     _cf = 0;
    615     _flag_k = FK_TEST;
    616     /* test eax, eax */ /* 0x2514C087: test eax, eax */
    617     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    618     _cf = 0;
    619     _flag_k = FK_TEST;
    620     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C097; /* 0x2514C089: je 0x2514c097 */
    621 L_2514C08F:
    622     ecx = MEM32(ebp + 0x8); /* 0x2514C08F: mov ecx, dword ptr [ebp + 8] */
    623     RECOMP_BACKEDGE();
    624     goto L_250E5AB0; /* 0x2514C092: jmp 0x250e5ab0 */
    625 L_2514C097:
    626     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C097: ret  */
    627     RECOMP_REGS_OUT();
    628 }
    629 
    630 void sub_2514C098(void) {
    631     int _fpu_cmp = 0;
    632     uint32_t _cf = 0;
    633     int _df = 1;
    634     uint32_t _flag_k = FK_NONE;
    635     uint32_t _flag_a = 0, _flag_b = 0;
    636     uint32_t _itail_tgt = 0;
    637     RECOMP_REGS_LOCALS
    638     RECOMP_ENTER(0x2514C098u);
    639 
    640     goto L_2514C098;
    641 L_251380C4:
    642     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    643 L_2514C098:
    644     eax = 0x2516D130u; /* 0x2514C098: mov eax, 0x2516d130 */
    645 L_2514C09D:
    646     RECOMP_BACKEDGE();
    647     goto L_251380C4; /* 0x2514C09D: jmp 0x251380c4 */
    648     { RECOMP_REGS_OUT(); return; } /* end of function */
    649   _ljump:
    650     switch (_itail_tgt) {
    651       case 0x251380C4u: goto L_251380C4;
    652       case 0x2514C098u: goto L_2514C098;
    653       case 0x2514C09Du: goto L_2514C09D;
    654       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    655     }
    656     RECOMP_REGS_OUT();
    657 }
    658 
    659 void sub_2514C0B0(void) {
    660     int _fpu_cmp = 0;
    661     uint32_t _cf = 0;
    662     int _df = 1;
    663     uint32_t _flag_k = FK_NONE;
    664     uint32_t _flag_a = 0, _flag_b = 0;
    665     uint32_t _itail_tgt = 0;
    666     RECOMP_REGS_LOCALS
    667     RECOMP_ENTER(0x2514C0B0u);
    668 
    669     goto L_2514C0B0;
    670 L_250ECFB0:
    671     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
    672     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
    673     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    674     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    675     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
    676     _flag_k = FK_CMP;
    677     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
    678     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
    679     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
    680     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
    681     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
    682     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    683     _cf = 0;
    684     _flag_k = FK_TEST;
    685     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
    686     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
    687     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
    688     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
    689     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
    690 L_250ECFCA:
    691     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
    692     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
    693     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    694     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    695     _flag_k = FK_CMP;
    696     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
    697 L_250ECFD0:
    698     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
    699     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    700     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    701     _flag_k = FK_CMP;
    702     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
    703 L_250ECFD4:
    704     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
    705     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
    706     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
    707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    708     _flag_k = FK_CMP;
    709     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
    710     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
    711 L_250ECFDE:
    712     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
    713     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
    714     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
    715     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
    716     RECOMP_FLAGS_IN();
    717     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
    718     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
    719     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
    720     RECOMP_FLAGS_IN();
    721     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
    722     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    723     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    724     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
    725     _flag_k = FK_ADD;
    726     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
    727     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    728     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    729     _flag_k = FK_CMP;
    730     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
    731     RECOMP_BACKEDGE();
    732     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
    733 L_250ECFFD:
    734     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
    735     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
    736     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
    737     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
    738     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
    739     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
    740     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
    741     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
    742     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
    743     PUSH32(esp, eax); /* 0x250ED01B: push eax */
    744     ecx = esi; /* 0x250ED01C: mov ecx, esi */
    745     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
    746     RECOMP_FLAGS_IN();
    747     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
    748 L_250ED025:
    749     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
    750     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    751     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    752     _flag_k = FK_CMP;
    753     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
    754 L_250ED029:
    755     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
    756     ebx = eax; /* 0x250ED02C: mov ebx, eax */
    757     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
    758     RECOMP_FLAGS_IN();
    759     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
    760     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
    761     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
    762     ecx = esi; /* 0x250ED038: mov ecx, esi */
    763     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
    764     RECOMP_FLAGS_IN();
    765     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
    766     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
    767     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    768     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    769     _flag_k = FK_CMP;
    770     RECOMP_BACKEDGE();
    771     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
    772 L_250ED046:
    773     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
    774     PUSH32(esp, edx); /* 0x250ED049: push edx */
    775     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
    776     RECOMP_FLAGS_IN();
    777     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
    778     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    779     edi = 0; /* 0x250ED052: xor edi, edi */
    780     _cf = 0;
    781     _flag_k = FK_TEST;
    782     PUSH32(esp, eax); /* 0x250ED054: push eax */
    783     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
    784     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
    785     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
    786     RECOMP_FLAGS_IN();
    787     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    788     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    789     esp = esp + 8; /* 0x250ED060: add esp, 8 */
    790     _flag_k = FK_ADD;
    791     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
    792     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
    793     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
    794     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
    795     esp = ebp; /* 0x250ED069: mov esp, ebp */
    796     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
    797     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
    798 L_2514C0B0:
    799     ecx = ebp + (-0x3C); /* 0x2514C0B0: lea ecx, [ebp - 0x3c] */
    800     RECOMP_BACKEDGE();
    801     goto L_250ECFB0; /* 0x2514C0B3: jmp 0x250ecfb0 */
    802     { RECOMP_REGS_OUT(); return; } /* end of function */
    803     RECOMP_REGS_OUT();
    804 }
    805 
    806 void sub_2514C0B8(void) {
    807     int _fpu_cmp = 0;
    808     uint32_t _cf = 0;
    809     int _df = 1;
    810     uint32_t _flag_k = FK_NONE;
    811     uint32_t _flag_a = 0, _flag_b = 0;
    812     uint32_t _itail_tgt = 0;
    813     RECOMP_REGS_LOCALS
    814     RECOMP_ENTER(0x2514C0B8u);
    815 
    816 L_2514C0B8:
    817     ecx = MEM32(ebp + 0x8); /* 0x2514C0B8: mov ecx, dword ptr [ebp + 8] */
    818 L_2514C0BB:
    819     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
    820     { RECOMP_REGS_OUT(); return; } /* end of function */
    821   _ljump:
    822     switch (_itail_tgt) {
    823       case 0x2514C0B8u: goto L_2514C0B8;
    824       case 0x2514C0BBu: goto L_2514C0BB;
    825       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    826     }
    827     RECOMP_REGS_OUT();
    828 }
    829 
    830 void sub_2514C0C1(void) {
    831     int _fpu_cmp = 0;
    832     uint32_t _cf = 0;
    833     int _df = 1;
    834     uint32_t _flag_k = FK_NONE;
    835     uint32_t _flag_a = 0, _flag_b = 0;
    836     uint32_t _itail_tgt = 0;
    837     RECOMP_REGS_LOCALS
    838     RECOMP_ENTER(0x2514C0C1u);
    839 
    840     goto L_2514C0C1;
    841 L_250E5AB0:
    842     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
    843     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
    844     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
    845     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
    846     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    847     _cf = 0;
    848     _flag_k = FK_TEST;
    849     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
    850 L_250E5ABA:
    851     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
    852     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
    853     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
    854     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    855     _cf = 0;
    856     _flag_k = FK_NARROW(FK_TEST, 24);
    857     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
    858 L_250E5AC3:
    859     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
    860     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    861     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    862     _flag_k = FK_NARROW(FK_CMP, 24);
    863     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
    864 L_250E5AC7:
    865     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    866     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
    867     _flag_k = FK_NARROW(FK_DEC, 24);
    868     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
    869     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
    870 L_250E5ACD:
    871     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
    872     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
    873     RECOMP_FLAGS_IN();
    874     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    875     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    876     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
    877     _flag_k = FK_ADD;
    878 L_250E5AD6:
    879     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
    880     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
    881     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
    882     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
    883     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
    884 L_2514C0C1:
    885     eax = MEM32(ebp + (-0x10)); /* 0x2514C0C1: mov eax, dword ptr [ebp - 0x10] */
    886     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    887     eax = eax & 1; /* 0x2514C0C4: and eax, 1 */
    888     _cf = 0;
    889     _flag_k = FK_TEST;
    890     /* test eax, eax */ /* 0x2514C0C7: test eax, eax */
    891     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    892     _cf = 0;
    893     _flag_k = FK_TEST;
    894     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C0D7; /* 0x2514C0C9: je 0x2514c0d7 */
    895 L_2514C0CF:
    896     ecx = MEM32(ebp + 0x8); /* 0x2514C0CF: mov ecx, dword ptr [ebp + 8] */
    897     RECOMP_BACKEDGE();
    898     goto L_250E5AB0; /* 0x2514C0D2: jmp 0x250e5ab0 */
    899 L_2514C0D7:
    900     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C0D7: ret  */
    901     RECOMP_REGS_OUT();
    902 }
    903 
    904 void sub_2514C0D8(void) {
    905     int _fpu_cmp = 0;
    906     uint32_t _cf = 0;
    907     int _df = 1;
    908     uint32_t _flag_k = FK_NONE;
    909     uint32_t _flag_a = 0, _flag_b = 0;
    910     uint32_t _itail_tgt = 0;
    911     RECOMP_REGS_LOCALS
    912     RECOMP_ENTER(0x2514C0D8u);
    913 
    914     goto L_2514C0D8;
    915 L_251380C4:
    916     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
    917 L_2514C0D8:
    918     eax = 0x2516D168u; /* 0x2514C0D8: mov eax, 0x2516d168 */
    919 L_2514C0DD:
    920     RECOMP_BACKEDGE();
    921     goto L_251380C4; /* 0x2514C0DD: jmp 0x251380c4 */
    922     { RECOMP_REGS_OUT(); return; } /* end of function */
    923   _ljump:
    924     switch (_itail_tgt) {
    925       case 0x251380C4u: goto L_251380C4;
    926       case 0x2514C0D8u: goto L_2514C0D8;
    927       case 0x2514C0DDu: goto L_2514C0DD;
    928       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    929     }
    930     RECOMP_REGS_OUT();
    931 }
    932 
    933 void sub_2514C0F0(void) {
    934     int _fpu_cmp = 0;
    935     uint32_t _cf = 0;
    936     int _df = 1;
    937     uint32_t _flag_k = FK_NONE;
    938     uint32_t _flag_a = 0, _flag_b = 0;
    939     uint32_t _itail_tgt = 0;
    940     RECOMP_REGS_LOCALS
    941     RECOMP_ENTER(0x2514C0F0u);
    942 
    943     goto L_2514C0F0;
    944 L_250ECFB0:
    945     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
    946     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
    947     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    948     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    949     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
    950     _flag_k = FK_CMP;
    951     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
    952     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
    953     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
    954     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
    955     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
    956     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    957     _cf = 0;
    958     _flag_k = FK_TEST;
    959     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
    960     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
    961     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
    962     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
    963     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
    964 L_250ECFCA:
    965     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
    966     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
    967     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    968     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    969     _flag_k = FK_CMP;
    970     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
    971 L_250ECFD0:
    972     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
    973     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    974     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    975     _flag_k = FK_CMP;
    976     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
    977 L_250ECFD4:
    978     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
    979     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
    980     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
    981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    982     _flag_k = FK_CMP;
    983     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
    984     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
    985 L_250ECFDE:
    986     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
    987     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
    988     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
    989     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
    990     RECOMP_FLAGS_IN();
    991     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
    992     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
    993     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
    994     RECOMP_FLAGS_IN();
    995     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
    996     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    997     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    998     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
    999     _flag_k = FK_ADD;
   1000     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
   1001     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1002     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1003     _flag_k = FK_CMP;
   1004     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
   1005     RECOMP_BACKEDGE();
   1006     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
   1007 L_250ECFFD:
   1008     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
   1009     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
   1010     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
   1011     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
   1012     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
   1013     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
   1014     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
   1015     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
   1016     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
   1017     PUSH32(esp, eax); /* 0x250ED01B: push eax */
   1018     ecx = esi; /* 0x250ED01C: mov ecx, esi */
   1019     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
   1020     RECOMP_FLAGS_IN();
   1021     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
   1022 L_250ED025:
   1023     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
   1024     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1025     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1026     _flag_k = FK_CMP;
   1027     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
   1028 L_250ED029:
   1029     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
   1030     ebx = eax; /* 0x250ED02C: mov ebx, eax */
   1031     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
   1032     RECOMP_FLAGS_IN();
   1033     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
   1034     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
   1035     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
   1036     ecx = esi; /* 0x250ED038: mov ecx, esi */
   1037     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
   1038     RECOMP_FLAGS_IN();
   1039     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
   1040     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
   1041     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1042     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1043     _flag_k = FK_CMP;
   1044     RECOMP_BACKEDGE();
   1045     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
   1046 L_250ED046:
   1047     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
   1048     PUSH32(esp, edx); /* 0x250ED049: push edx */
   1049     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
   1050     RECOMP_FLAGS_IN();
   1051     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
   1052     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1053     edi = 0; /* 0x250ED052: xor edi, edi */
   1054     _cf = 0;
   1055     _flag_k = FK_TEST;
   1056     PUSH32(esp, eax); /* 0x250ED054: push eax */
   1057     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
   1058     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
   1059     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
   1060     RECOMP_FLAGS_IN();
   1061     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1062     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1063     esp = esp + 8; /* 0x250ED060: add esp, 8 */
   1064     _flag_k = FK_ADD;
   1065     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
   1066     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
   1067     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
   1068     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
   1069     esp = ebp; /* 0x250ED069: mov esp, ebp */
   1070     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
   1071     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
   1072 L_2514C0F0:
   1073     ecx = ebp + (-0x3C); /* 0x2514C0F0: lea ecx, [ebp - 0x3c] */
   1074     RECOMP_BACKEDGE();
   1075     goto L_250ECFB0; /* 0x2514C0F3: jmp 0x250ecfb0 */
   1076     { RECOMP_REGS_OUT(); return; } /* end of function */
   1077     RECOMP_REGS_OUT();
   1078 }
   1079 
   1080 void sub_2514C0F8(void) {
   1081     int _fpu_cmp = 0;
   1082     uint32_t _cf = 0;
   1083     int _df = 1;
   1084     uint32_t _flag_k = FK_NONE;
   1085     uint32_t _flag_a = 0, _flag_b = 0;
   1086     uint32_t _itail_tgt = 0;
   1087     RECOMP_REGS_LOCALS
   1088     RECOMP_ENTER(0x2514C0F8u);
   1089 
   1090 L_2514C0F8:
   1091     ecx = MEM32(ebp + 0x8); /* 0x2514C0F8: mov ecx, dword ptr [ebp + 8] */
   1092 L_2514C0FB:
   1093     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1094     { RECOMP_REGS_OUT(); return; } /* end of function */
   1095   _ljump:
   1096     switch (_itail_tgt) {
   1097       case 0x2514C0F8u: goto L_2514C0F8;
   1098       case 0x2514C0FBu: goto L_2514C0FB;
   1099       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1100     }
   1101     RECOMP_REGS_OUT();
   1102 }
   1103 
   1104 void sub_2514C101(void) {
   1105     int _fpu_cmp = 0;
   1106     uint32_t _cf = 0;
   1107     int _df = 1;
   1108     uint32_t _flag_k = FK_NONE;
   1109     uint32_t _flag_a = 0, _flag_b = 0;
   1110     uint32_t _itail_tgt = 0;
   1111     RECOMP_REGS_LOCALS
   1112     RECOMP_ENTER(0x2514C101u);
   1113 
   1114     goto L_2514C101;
   1115 L_250E5AB0:
   1116     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   1117     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   1118     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   1119     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   1120     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1121     _cf = 0;
   1122     _flag_k = FK_TEST;
   1123     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   1124 L_250E5ABA:
   1125     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   1126     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   1127     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   1128     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1129     _cf = 0;
   1130     _flag_k = FK_NARROW(FK_TEST, 24);
   1131     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   1132 L_250E5AC3:
   1133     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   1134     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1136     _flag_k = FK_NARROW(FK_CMP, 24);
   1137     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   1138 L_250E5AC7:
   1139     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1140     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   1141     _flag_k = FK_NARROW(FK_DEC, 24);
   1142     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   1143     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   1144 L_250E5ACD:
   1145     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   1146     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   1147     RECOMP_FLAGS_IN();
   1148     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1149     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1150     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   1151     _flag_k = FK_ADD;
   1152 L_250E5AD6:
   1153     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   1154     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   1155     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   1156     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   1157     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   1158 L_2514C101:
   1159     eax = MEM32(ebp + (-0x10)); /* 0x2514C101: mov eax, dword ptr [ebp - 0x10] */
   1160     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1161     eax = eax & 1; /* 0x2514C104: and eax, 1 */
   1162     _cf = 0;
   1163     _flag_k = FK_TEST;
   1164     /* test eax, eax */ /* 0x2514C107: test eax, eax */
   1165     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1166     _cf = 0;
   1167     _flag_k = FK_TEST;
   1168     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C117; /* 0x2514C109: je 0x2514c117 */
   1169 L_2514C10F:
   1170     ecx = MEM32(ebp + 0x8); /* 0x2514C10F: mov ecx, dword ptr [ebp + 8] */
   1171     RECOMP_BACKEDGE();
   1172     goto L_250E5AB0; /* 0x2514C112: jmp 0x250e5ab0 */
   1173 L_2514C117:
   1174     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C117: ret  */
   1175     RECOMP_REGS_OUT();
   1176 }
   1177 
   1178 void sub_2514C118(void) {
   1179     int _fpu_cmp = 0;
   1180     uint32_t _cf = 0;
   1181     int _df = 1;
   1182     uint32_t _flag_k = FK_NONE;
   1183     uint32_t _flag_a = 0, _flag_b = 0;
   1184     uint32_t _itail_tgt = 0;
   1185     RECOMP_REGS_LOCALS
   1186     RECOMP_ENTER(0x2514C118u);
   1187 
   1188     goto L_2514C118;
   1189 L_251380C4:
   1190     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1191 L_2514C118:
   1192     eax = 0x2516D1A0u; /* 0x2514C118: mov eax, 0x2516d1a0 */
   1193 L_2514C11D:
   1194     RECOMP_BACKEDGE();
   1195     goto L_251380C4; /* 0x2514C11D: jmp 0x251380c4 */
   1196     { RECOMP_REGS_OUT(); return; } /* end of function */
   1197   _ljump:
   1198     switch (_itail_tgt) {
   1199       case 0x251380C4u: goto L_251380C4;
   1200       case 0x2514C118u: goto L_2514C118;
   1201       case 0x2514C11Du: goto L_2514C11D;
   1202       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1203     }
   1204     RECOMP_REGS_OUT();
   1205 }
   1206 
   1207 void sub_2514C130(void) {
   1208     int _fpu_cmp = 0;
   1209     uint32_t _cf = 0;
   1210     int _df = 1;
   1211     uint32_t _flag_k = FK_NONE;
   1212     uint32_t _flag_a = 0, _flag_b = 0;
   1213     uint32_t _itail_tgt = 0;
   1214     RECOMP_REGS_LOCALS
   1215     RECOMP_ENTER(0x2514C130u);
   1216 
   1217     goto L_2514C130;
   1218 L_250ECFB0:
   1219     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
   1220     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
   1221     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1222     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1223     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
   1224     _flag_k = FK_CMP;
   1225     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
   1226     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
   1227     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
   1228     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
   1229     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
   1230     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1231     _cf = 0;
   1232     _flag_k = FK_TEST;
   1233     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
   1234     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
   1235     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
   1236     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
   1237     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
   1238 L_250ECFCA:
   1239     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
   1240     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
   1241     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1242     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1243     _flag_k = FK_CMP;
   1244     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
   1245 L_250ECFD0:
   1246     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
   1247     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1248     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1249     _flag_k = FK_CMP;
   1250     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
   1251 L_250ECFD4:
   1252     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
   1253     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
   1254     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1256     _flag_k = FK_CMP;
   1257     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
   1258     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
   1259 L_250ECFDE:
   1260     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
   1261     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
   1262     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
   1263     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
   1264     RECOMP_FLAGS_IN();
   1265     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
   1266     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
   1267     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
   1268     RECOMP_FLAGS_IN();
   1269     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
   1270     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1271     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1272     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
   1273     _flag_k = FK_ADD;
   1274     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
   1275     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1276     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1277     _flag_k = FK_CMP;
   1278     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
   1279     RECOMP_BACKEDGE();
   1280     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
   1281 L_250ECFFD:
   1282     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
   1283     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
   1284     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
   1285     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
   1286     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
   1287     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
   1288     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
   1289     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
   1290     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
   1291     PUSH32(esp, eax); /* 0x250ED01B: push eax */
   1292     ecx = esi; /* 0x250ED01C: mov ecx, esi */
   1293     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
   1294     RECOMP_FLAGS_IN();
   1295     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
   1296 L_250ED025:
   1297     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
   1298     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1299     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1300     _flag_k = FK_CMP;
   1301     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
   1302 L_250ED029:
   1303     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
   1304     ebx = eax; /* 0x250ED02C: mov ebx, eax */
   1305     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
   1306     RECOMP_FLAGS_IN();
   1307     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
   1308     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
   1309     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
   1310     ecx = esi; /* 0x250ED038: mov ecx, esi */
   1311     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
   1312     RECOMP_FLAGS_IN();
   1313     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
   1314     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
   1315     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1317     _flag_k = FK_CMP;
   1318     RECOMP_BACKEDGE();
   1319     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
   1320 L_250ED046:
   1321     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
   1322     PUSH32(esp, edx); /* 0x250ED049: push edx */
   1323     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
   1324     RECOMP_FLAGS_IN();
   1325     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
   1326     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1327     edi = 0; /* 0x250ED052: xor edi, edi */
   1328     _cf = 0;
   1329     _flag_k = FK_TEST;
   1330     PUSH32(esp, eax); /* 0x250ED054: push eax */
   1331     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
   1332     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
   1333     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
   1334     RECOMP_FLAGS_IN();
   1335     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1336     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1337     esp = esp + 8; /* 0x250ED060: add esp, 8 */
   1338     _flag_k = FK_ADD;
   1339     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
   1340     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
   1341     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
   1342     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
   1343     esp = ebp; /* 0x250ED069: mov esp, ebp */
   1344     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
   1345     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
   1346 L_2514C130:
   1347     ecx = ebp + (-0x3C); /* 0x2514C130: lea ecx, [ebp - 0x3c] */
   1348     RECOMP_BACKEDGE();
   1349     goto L_250ECFB0; /* 0x2514C133: jmp 0x250ecfb0 */
   1350     { RECOMP_REGS_OUT(); return; } /* end of function */
   1351     RECOMP_REGS_OUT();
   1352 }
   1353 
   1354 void sub_2514C138(void) {
   1355     int _fpu_cmp = 0;
   1356     uint32_t _cf = 0;
   1357     int _df = 1;
   1358     uint32_t _flag_k = FK_NONE;
   1359     uint32_t _flag_a = 0, _flag_b = 0;
   1360     uint32_t _itail_tgt = 0;
   1361     RECOMP_REGS_LOCALS
   1362     RECOMP_ENTER(0x2514C138u);
   1363 
   1364 L_2514C138:
   1365     ecx = MEM32(ebp + 0x8); /* 0x2514C138: mov ecx, dword ptr [ebp + 8] */
   1366 L_2514C13B:
   1367     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1368     { RECOMP_REGS_OUT(); return; } /* end of function */
   1369   _ljump:
   1370     switch (_itail_tgt) {
   1371       case 0x2514C138u: goto L_2514C138;
   1372       case 0x2514C13Bu: goto L_2514C13B;
   1373       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1374     }
   1375     RECOMP_REGS_OUT();
   1376 }
   1377 
   1378 void sub_2514C141(void) {
   1379     int _fpu_cmp = 0;
   1380     uint32_t _cf = 0;
   1381     int _df = 1;
   1382     uint32_t _flag_k = FK_NONE;
   1383     uint32_t _flag_a = 0, _flag_b = 0;
   1384     uint32_t _itail_tgt = 0;
   1385     RECOMP_REGS_LOCALS
   1386     RECOMP_ENTER(0x2514C141u);
   1387 
   1388     goto L_2514C141;
   1389 L_250E5AB0:
   1390     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   1391     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   1392     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   1393     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   1394     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1395     _cf = 0;
   1396     _flag_k = FK_TEST;
   1397     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   1398 L_250E5ABA:
   1399     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   1400     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   1401     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   1402     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1403     _cf = 0;
   1404     _flag_k = FK_NARROW(FK_TEST, 24);
   1405     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   1406 L_250E5AC3:
   1407     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   1408     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1409     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1410     _flag_k = FK_NARROW(FK_CMP, 24);
   1411     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   1412 L_250E5AC7:
   1413     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1414     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   1415     _flag_k = FK_NARROW(FK_DEC, 24);
   1416     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   1417     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   1418 L_250E5ACD:
   1419     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   1420     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   1421     RECOMP_FLAGS_IN();
   1422     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1423     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1424     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   1425     _flag_k = FK_ADD;
   1426 L_250E5AD6:
   1427     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   1428     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   1429     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   1430     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   1431     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   1432 L_2514C141:
   1433     eax = MEM32(ebp + (-0x10)); /* 0x2514C141: mov eax, dword ptr [ebp - 0x10] */
   1434     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1435     eax = eax & 1; /* 0x2514C144: and eax, 1 */
   1436     _cf = 0;
   1437     _flag_k = FK_TEST;
   1438     /* test eax, eax */ /* 0x2514C147: test eax, eax */
   1439     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1440     _cf = 0;
   1441     _flag_k = FK_TEST;
   1442     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C157; /* 0x2514C149: je 0x2514c157 */
   1443 L_2514C14F:
   1444     ecx = MEM32(ebp + 0x8); /* 0x2514C14F: mov ecx, dword ptr [ebp + 8] */
   1445     RECOMP_BACKEDGE();
   1446     goto L_250E5AB0; /* 0x2514C152: jmp 0x250e5ab0 */
   1447 L_2514C157:
   1448     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C157: ret  */
   1449     RECOMP_REGS_OUT();
   1450 }
   1451 
   1452 void sub_2514C158(void) {
   1453     int _fpu_cmp = 0;
   1454     uint32_t _cf = 0;
   1455     int _df = 1;
   1456     uint32_t _flag_k = FK_NONE;
   1457     uint32_t _flag_a = 0, _flag_b = 0;
   1458     uint32_t _itail_tgt = 0;
   1459     RECOMP_REGS_LOCALS
   1460     RECOMP_ENTER(0x2514C158u);
   1461 
   1462     goto L_2514C158;
   1463 L_251380C4:
   1464     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1465 L_2514C158:
   1466     eax = 0x2516D1D8u; /* 0x2514C158: mov eax, 0x2516d1d8 */
   1467 L_2514C15D:
   1468     RECOMP_BACKEDGE();
   1469     goto L_251380C4; /* 0x2514C15D: jmp 0x251380c4 */
   1470     { RECOMP_REGS_OUT(); return; } /* end of function */
   1471   _ljump:
   1472     switch (_itail_tgt) {
   1473       case 0x251380C4u: goto L_251380C4;
   1474       case 0x2514C158u: goto L_2514C158;
   1475       case 0x2514C15Du: goto L_2514C15D;
   1476       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1477     }
   1478     RECOMP_REGS_OUT();
   1479 }
   1480 
   1481 void sub_2514C170(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(0x2514C170u);
   1490 
   1491     goto L_2514C170;
   1492 L_250ECFB0:
   1493     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
   1494     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
   1495     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1496     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1497     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
   1498     _flag_k = FK_CMP;
   1499     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
   1500     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
   1501     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
   1502     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
   1503     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
   1504     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1505     _cf = 0;
   1506     _flag_k = FK_TEST;
   1507     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
   1508     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
   1509     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
   1510     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
   1511     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
   1512 L_250ECFCA:
   1513     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
   1514     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
   1515     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1516     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1517     _flag_k = FK_CMP;
   1518     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
   1519 L_250ECFD0:
   1520     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
   1521     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1523     _flag_k = FK_CMP;
   1524     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
   1525 L_250ECFD4:
   1526     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
   1527     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
   1528     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1529     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1530     _flag_k = FK_CMP;
   1531     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
   1532     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
   1533 L_250ECFDE:
   1534     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
   1535     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
   1536     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
   1537     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
   1538     RECOMP_FLAGS_IN();
   1539     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
   1540     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
   1541     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
   1542     RECOMP_FLAGS_IN();
   1543     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
   1544     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1545     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1546     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
   1547     _flag_k = FK_ADD;
   1548     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
   1549     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1550     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1551     _flag_k = FK_CMP;
   1552     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
   1553     RECOMP_BACKEDGE();
   1554     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
   1555 L_250ECFFD:
   1556     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
   1557     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
   1558     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
   1559     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
   1560     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
   1561     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
   1562     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
   1563     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
   1564     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
   1565     PUSH32(esp, eax); /* 0x250ED01B: push eax */
   1566     ecx = esi; /* 0x250ED01C: mov ecx, esi */
   1567     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
   1568     RECOMP_FLAGS_IN();
   1569     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
   1570 L_250ED025:
   1571     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
   1572     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1573     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1574     _flag_k = FK_CMP;
   1575     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
   1576 L_250ED029:
   1577     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
   1578     ebx = eax; /* 0x250ED02C: mov ebx, eax */
   1579     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
   1580     RECOMP_FLAGS_IN();
   1581     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
   1582     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
   1583     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
   1584     ecx = esi; /* 0x250ED038: mov ecx, esi */
   1585     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
   1586     RECOMP_FLAGS_IN();
   1587     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
   1588     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
   1589     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1590     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1591     _flag_k = FK_CMP;
   1592     RECOMP_BACKEDGE();
   1593     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
   1594 L_250ED046:
   1595     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
   1596     PUSH32(esp, edx); /* 0x250ED049: push edx */
   1597     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
   1598     RECOMP_FLAGS_IN();
   1599     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
   1600     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1601     edi = 0; /* 0x250ED052: xor edi, edi */
   1602     _cf = 0;
   1603     _flag_k = FK_TEST;
   1604     PUSH32(esp, eax); /* 0x250ED054: push eax */
   1605     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
   1606     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
   1607     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
   1608     RECOMP_FLAGS_IN();
   1609     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1610     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1611     esp = esp + 8; /* 0x250ED060: add esp, 8 */
   1612     _flag_k = FK_ADD;
   1613     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
   1614     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
   1615     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
   1616     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
   1617     esp = ebp; /* 0x250ED069: mov esp, ebp */
   1618     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
   1619     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
   1620 L_2514C170:
   1621     ecx = ebp + (-0x3C); /* 0x2514C170: lea ecx, [ebp - 0x3c] */
   1622     RECOMP_BACKEDGE();
   1623     goto L_250ECFB0; /* 0x2514C173: jmp 0x250ecfb0 */
   1624     { RECOMP_REGS_OUT(); return; } /* end of function */
   1625     RECOMP_REGS_OUT();
   1626 }
   1627 
   1628 void sub_2514C178(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(0x2514C178u);
   1637 
   1638 L_2514C178:
   1639     ecx = MEM32(ebp + 0x8); /* 0x2514C178: mov ecx, dword ptr [ebp + 8] */
   1640 L_2514C17B:
   1641     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1642     { RECOMP_REGS_OUT(); return; } /* end of function */
   1643   _ljump:
   1644     switch (_itail_tgt) {
   1645       case 0x2514C178u: goto L_2514C178;
   1646       case 0x2514C17Bu: goto L_2514C17B;
   1647       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1648     }
   1649     RECOMP_REGS_OUT();
   1650 }
   1651 
   1652 void sub_2514C181(void) {
   1653     int _fpu_cmp = 0;
   1654     uint32_t _cf = 0;
   1655     int _df = 1;
   1656     uint32_t _flag_k = FK_NONE;
   1657     uint32_t _flag_a = 0, _flag_b = 0;
   1658     uint32_t _itail_tgt = 0;
   1659     RECOMP_REGS_LOCALS
   1660     RECOMP_ENTER(0x2514C181u);
   1661 
   1662     goto L_2514C181;
   1663 L_250E5AB0:
   1664     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   1665     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   1666     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   1667     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   1668     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1669     _cf = 0;
   1670     _flag_k = FK_TEST;
   1671     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   1672 L_250E5ABA:
   1673     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   1674     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   1675     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   1676     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1677     _cf = 0;
   1678     _flag_k = FK_NARROW(FK_TEST, 24);
   1679     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   1680 L_250E5AC3:
   1681     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   1682     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1684     _flag_k = FK_NARROW(FK_CMP, 24);
   1685     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   1686 L_250E5AC7:
   1687     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1688     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   1689     _flag_k = FK_NARROW(FK_DEC, 24);
   1690     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   1691     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   1692 L_250E5ACD:
   1693     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   1694     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   1695     RECOMP_FLAGS_IN();
   1696     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1697     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1698     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   1699     _flag_k = FK_ADD;
   1700 L_250E5AD6:
   1701     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   1702     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   1703     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   1704     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   1705     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   1706 L_2514C181:
   1707     eax = MEM32(ebp + (-0x10)); /* 0x2514C181: mov eax, dword ptr [ebp - 0x10] */
   1708     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1709     eax = eax & 1; /* 0x2514C184: and eax, 1 */
   1710     _cf = 0;
   1711     _flag_k = FK_TEST;
   1712     /* test eax, eax */ /* 0x2514C187: test eax, eax */
   1713     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1714     _cf = 0;
   1715     _flag_k = FK_TEST;
   1716     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C197; /* 0x2514C189: je 0x2514c197 */
   1717 L_2514C18F:
   1718     ecx = MEM32(ebp + 0x8); /* 0x2514C18F: mov ecx, dword ptr [ebp + 8] */
   1719     RECOMP_BACKEDGE();
   1720     goto L_250E5AB0; /* 0x2514C192: jmp 0x250e5ab0 */
   1721 L_2514C197:
   1722     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C197: ret  */
   1723     RECOMP_REGS_OUT();
   1724 }
   1725 
   1726 void sub_2514C198(void) {
   1727     int _fpu_cmp = 0;
   1728     uint32_t _cf = 0;
   1729     int _df = 1;
   1730     uint32_t _flag_k = FK_NONE;
   1731     uint32_t _flag_a = 0, _flag_b = 0;
   1732     uint32_t _itail_tgt = 0;
   1733     RECOMP_REGS_LOCALS
   1734     RECOMP_ENTER(0x2514C198u);
   1735 
   1736     goto L_2514C198;
   1737 L_251380C4:
   1738     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   1739 L_2514C198:
   1740     eax = 0x2516D210u; /* 0x2514C198: mov eax, 0x2516d210 */
   1741 L_2514C19D:
   1742     RECOMP_BACKEDGE();
   1743     goto L_251380C4; /* 0x2514C19D: jmp 0x251380c4 */
   1744     { RECOMP_REGS_OUT(); return; } /* end of function */
   1745   _ljump:
   1746     switch (_itail_tgt) {
   1747       case 0x251380C4u: goto L_251380C4;
   1748       case 0x2514C198u: goto L_2514C198;
   1749       case 0x2514C19Du: goto L_2514C19D;
   1750       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1751     }
   1752     RECOMP_REGS_OUT();
   1753 }
   1754 
   1755 void sub_2514C1B0(void) {
   1756     int _fpu_cmp = 0;
   1757     uint32_t _cf = 0;
   1758     int _df = 1;
   1759     uint32_t _flag_k = FK_NONE;
   1760     uint32_t _flag_a = 0, _flag_b = 0;
   1761     uint32_t _itail_tgt = 0;
   1762     RECOMP_REGS_LOCALS
   1763     RECOMP_ENTER(0x2514C1B0u);
   1764 
   1765     goto L_2514C1B0;
   1766 L_250ECFB0:
   1767     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
   1768     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
   1769     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1770     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1771     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
   1772     _flag_k = FK_CMP;
   1773     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
   1774     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
   1775     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
   1776     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
   1777     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
   1778     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1779     _cf = 0;
   1780     _flag_k = FK_TEST;
   1781     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
   1782     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
   1783     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
   1784     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
   1785     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
   1786 L_250ECFCA:
   1787     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
   1788     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
   1789     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1790     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1791     _flag_k = FK_CMP;
   1792     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
   1793 L_250ECFD0:
   1794     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
   1795     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1797     _flag_k = FK_CMP;
   1798     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
   1799 L_250ECFD4:
   1800     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
   1801     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
   1802     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1803     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1804     _flag_k = FK_CMP;
   1805     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
   1806     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
   1807 L_250ECFDE:
   1808     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
   1809     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
   1810     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
   1811     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
   1812     RECOMP_FLAGS_IN();
   1813     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
   1814     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
   1815     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
   1816     RECOMP_FLAGS_IN();
   1817     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
   1818     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1819     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1820     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
   1821     _flag_k = FK_ADD;
   1822     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
   1823     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1825     _flag_k = FK_CMP;
   1826     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
   1827     RECOMP_BACKEDGE();
   1828     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
   1829 L_250ECFFD:
   1830     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
   1831     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
   1832     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
   1833     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
   1834     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
   1835     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
   1836     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
   1837     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
   1838     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
   1839     PUSH32(esp, eax); /* 0x250ED01B: push eax */
   1840     ecx = esi; /* 0x250ED01C: mov ecx, esi */
   1841     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
   1842     RECOMP_FLAGS_IN();
   1843     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
   1844 L_250ED025:
   1845     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
   1846     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1847     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1848     _flag_k = FK_CMP;
   1849     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
   1850 L_250ED029:
   1851     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
   1852     ebx = eax; /* 0x250ED02C: mov ebx, eax */
   1853     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
   1854     RECOMP_FLAGS_IN();
   1855     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
   1856     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
   1857     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
   1858     ecx = esi; /* 0x250ED038: mov ecx, esi */
   1859     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
   1860     RECOMP_FLAGS_IN();
   1861     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
   1862     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
   1863     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1864     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1865     _flag_k = FK_CMP;
   1866     RECOMP_BACKEDGE();
   1867     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
   1868 L_250ED046:
   1869     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
   1870     PUSH32(esp, edx); /* 0x250ED049: push edx */
   1871     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
   1872     RECOMP_FLAGS_IN();
   1873     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
   1874     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1875     edi = 0; /* 0x250ED052: xor edi, edi */
   1876     _cf = 0;
   1877     _flag_k = FK_TEST;
   1878     PUSH32(esp, eax); /* 0x250ED054: push eax */
   1879     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
   1880     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
   1881     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
   1882     RECOMP_FLAGS_IN();
   1883     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1884     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1885     esp = esp + 8; /* 0x250ED060: add esp, 8 */
   1886     _flag_k = FK_ADD;
   1887     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
   1888     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
   1889     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
   1890     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
   1891     esp = ebp; /* 0x250ED069: mov esp, ebp */
   1892     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
   1893     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
   1894 L_2514C1B0:
   1895     ecx = ebp + (-0x3C); /* 0x2514C1B0: lea ecx, [ebp - 0x3c] */
   1896     RECOMP_BACKEDGE();
   1897     goto L_250ECFB0; /* 0x2514C1B3: jmp 0x250ecfb0 */
   1898     { RECOMP_REGS_OUT(); return; } /* end of function */
   1899     RECOMP_REGS_OUT();
   1900 }
   1901 
   1902 void sub_2514C1B8(void) {
   1903     int _fpu_cmp = 0;
   1904     uint32_t _cf = 0;
   1905     int _df = 1;
   1906     uint32_t _flag_k = FK_NONE;
   1907     uint32_t _flag_a = 0, _flag_b = 0;
   1908     uint32_t _itail_tgt = 0;
   1909     RECOMP_REGS_LOCALS
   1910     RECOMP_ENTER(0x2514C1B8u);
   1911 
   1912 L_2514C1B8:
   1913     ecx = MEM32(ebp + 0x8); /* 0x2514C1B8: mov ecx, dword ptr [ebp + 8] */
   1914 L_2514C1BB:
   1915     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   1916     { RECOMP_REGS_OUT(); return; } /* end of function */
   1917   _ljump:
   1918     switch (_itail_tgt) {
   1919       case 0x2514C1B8u: goto L_2514C1B8;
   1920       case 0x2514C1BBu: goto L_2514C1BB;
   1921       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1922     }
   1923     RECOMP_REGS_OUT();
   1924 }
   1925 
   1926 void sub_2514C1C1(void) {
   1927     int _fpu_cmp = 0;
   1928     uint32_t _cf = 0;
   1929     int _df = 1;
   1930     uint32_t _flag_k = FK_NONE;
   1931     uint32_t _flag_a = 0, _flag_b = 0;
   1932     uint32_t _itail_tgt = 0;
   1933     RECOMP_REGS_LOCALS
   1934     RECOMP_ENTER(0x2514C1C1u);
   1935 
   1936     goto L_2514C1C1;
   1937 L_250E5AB0:
   1938     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   1939     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   1940     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   1941     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   1942     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1943     _cf = 0;
   1944     _flag_k = FK_TEST;
   1945     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   1946 L_250E5ABA:
   1947     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   1948     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   1949     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   1950     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1951     _cf = 0;
   1952     _flag_k = FK_NARROW(FK_TEST, 24);
   1953     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   1954 L_250E5AC3:
   1955     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   1956     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1957     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1958     _flag_k = FK_NARROW(FK_CMP, 24);
   1959     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   1960 L_250E5AC7:
   1961     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1962     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   1963     _flag_k = FK_NARROW(FK_DEC, 24);
   1964     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   1965     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   1966 L_250E5ACD:
   1967     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   1968     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   1969     RECOMP_FLAGS_IN();
   1970     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1971     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1972     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   1973     _flag_k = FK_ADD;
   1974 L_250E5AD6:
   1975     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   1976     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   1977     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   1978     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   1979     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   1980 L_2514C1C1:
   1981     eax = MEM32(ebp + (-0x10)); /* 0x2514C1C1: mov eax, dword ptr [ebp - 0x10] */
   1982     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1983     eax = eax & 1; /* 0x2514C1C4: and eax, 1 */
   1984     _cf = 0;
   1985     _flag_k = FK_TEST;
   1986     /* test eax, eax */ /* 0x2514C1C7: test eax, eax */
   1987     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1988     _cf = 0;
   1989     _flag_k = FK_TEST;
   1990     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C1D7; /* 0x2514C1C9: je 0x2514c1d7 */
   1991 L_2514C1CF:
   1992     ecx = MEM32(ebp + 0x8); /* 0x2514C1CF: mov ecx, dword ptr [ebp + 8] */
   1993     RECOMP_BACKEDGE();
   1994     goto L_250E5AB0; /* 0x2514C1D2: jmp 0x250e5ab0 */
   1995 L_2514C1D7:
   1996     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C1D7: ret  */
   1997     RECOMP_REGS_OUT();
   1998 }
   1999 
   2000 void sub_2514C1D8(void) {
   2001     int _fpu_cmp = 0;
   2002     uint32_t _cf = 0;
   2003     int _df = 1;
   2004     uint32_t _flag_k = FK_NONE;
   2005     uint32_t _flag_a = 0, _flag_b = 0;
   2006     uint32_t _itail_tgt = 0;
   2007     RECOMP_REGS_LOCALS
   2008     RECOMP_ENTER(0x2514C1D8u);
   2009 
   2010     goto L_2514C1D8;
   2011 L_251380C4:
   2012     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2013 L_2514C1D8:
   2014     eax = 0x2516D248u; /* 0x2514C1D8: mov eax, 0x2516d248 */
   2015 L_2514C1DD:
   2016     RECOMP_BACKEDGE();
   2017     goto L_251380C4; /* 0x2514C1DD: jmp 0x251380c4 */
   2018     { RECOMP_REGS_OUT(); return; } /* end of function */
   2019   _ljump:
   2020     switch (_itail_tgt) {
   2021       case 0x251380C4u: goto L_251380C4;
   2022       case 0x2514C1D8u: goto L_2514C1D8;
   2023       case 0x2514C1DDu: goto L_2514C1DD;
   2024       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2025     }
   2026     RECOMP_REGS_OUT();
   2027 }
   2028 
   2029 void sub_2514C1F0(void) {
   2030     int _fpu_cmp = 0;
   2031     uint32_t _cf = 0;
   2032     int _df = 1;
   2033     uint32_t _flag_k = FK_NONE;
   2034     uint32_t _flag_a = 0, _flag_b = 0;
   2035     uint32_t _itail_tgt = 0;
   2036     RECOMP_REGS_LOCALS
   2037     RECOMP_ENTER(0x2514C1F0u);
   2038 
   2039     goto L_2514C1F0;
   2040 L_250ECFB0:
   2041     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
   2042     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
   2043     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2044     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2045     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
   2046     _flag_k = FK_CMP;
   2047     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
   2048     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
   2049     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
   2050     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
   2051     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
   2052     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2053     _cf = 0;
   2054     _flag_k = FK_TEST;
   2055     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
   2056     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
   2057     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
   2058     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
   2059     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
   2060 L_250ECFCA:
   2061     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
   2062     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
   2063     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2064     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2065     _flag_k = FK_CMP;
   2066     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
   2067 L_250ECFD0:
   2068     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
   2069     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2070     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2071     _flag_k = FK_CMP;
   2072     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
   2073 L_250ECFD4:
   2074     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
   2075     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
   2076     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2077     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2078     _flag_k = FK_CMP;
   2079     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
   2080     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
   2081 L_250ECFDE:
   2082     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
   2083     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
   2084     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
   2085     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
   2086     RECOMP_FLAGS_IN();
   2087     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
   2088     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
   2089     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
   2090     RECOMP_FLAGS_IN();
   2091     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
   2092     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2093     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2094     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
   2095     _flag_k = FK_ADD;
   2096     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
   2097     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2098     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2099     _flag_k = FK_CMP;
   2100     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
   2101     RECOMP_BACKEDGE();
   2102     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
   2103 L_250ECFFD:
   2104     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
   2105     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
   2106     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
   2107     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
   2108     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
   2109     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
   2110     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
   2111     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
   2112     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
   2113     PUSH32(esp, eax); /* 0x250ED01B: push eax */
   2114     ecx = esi; /* 0x250ED01C: mov ecx, esi */
   2115     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
   2116     RECOMP_FLAGS_IN();
   2117     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
   2118 L_250ED025:
   2119     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
   2120     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2121     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2122     _flag_k = FK_CMP;
   2123     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
   2124 L_250ED029:
   2125     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
   2126     ebx = eax; /* 0x250ED02C: mov ebx, eax */
   2127     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
   2128     RECOMP_FLAGS_IN();
   2129     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
   2130     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
   2131     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
   2132     ecx = esi; /* 0x250ED038: mov ecx, esi */
   2133     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
   2134     RECOMP_FLAGS_IN();
   2135     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
   2136     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
   2137     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2139     _flag_k = FK_CMP;
   2140     RECOMP_BACKEDGE();
   2141     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
   2142 L_250ED046:
   2143     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
   2144     PUSH32(esp, edx); /* 0x250ED049: push edx */
   2145     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
   2146     RECOMP_FLAGS_IN();
   2147     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
   2148     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2149     edi = 0; /* 0x250ED052: xor edi, edi */
   2150     _cf = 0;
   2151     _flag_k = FK_TEST;
   2152     PUSH32(esp, eax); /* 0x250ED054: push eax */
   2153     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
   2154     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
   2155     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
   2156     RECOMP_FLAGS_IN();
   2157     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2158     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2159     esp = esp + 8; /* 0x250ED060: add esp, 8 */
   2160     _flag_k = FK_ADD;
   2161     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
   2162     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
   2163     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
   2164     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
   2165     esp = ebp; /* 0x250ED069: mov esp, ebp */
   2166     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
   2167     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
   2168 L_2514C1F0:
   2169     ecx = ebp + (-0x3C); /* 0x2514C1F0: lea ecx, [ebp - 0x3c] */
   2170     RECOMP_BACKEDGE();
   2171     goto L_250ECFB0; /* 0x2514C1F3: jmp 0x250ecfb0 */
   2172     { RECOMP_REGS_OUT(); return; } /* end of function */
   2173     RECOMP_REGS_OUT();
   2174 }
   2175 
   2176 void sub_2514C1F8(void) {
   2177     int _fpu_cmp = 0;
   2178     uint32_t _cf = 0;
   2179     int _df = 1;
   2180     uint32_t _flag_k = FK_NONE;
   2181     uint32_t _flag_a = 0, _flag_b = 0;
   2182     uint32_t _itail_tgt = 0;
   2183     RECOMP_REGS_LOCALS
   2184     RECOMP_ENTER(0x2514C1F8u);
   2185 
   2186 L_2514C1F8:
   2187     ecx = MEM32(ebp + 0x8); /* 0x2514C1F8: mov ecx, dword ptr [ebp + 8] */
   2188 L_2514C1FB:
   2189     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   2190     { RECOMP_REGS_OUT(); return; } /* end of function */
   2191   _ljump:
   2192     switch (_itail_tgt) {
   2193       case 0x2514C1F8u: goto L_2514C1F8;
   2194       case 0x2514C1FBu: goto L_2514C1FB;
   2195       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2196     }
   2197     RECOMP_REGS_OUT();
   2198 }
   2199 
   2200 void sub_2514C201(void) {
   2201     int _fpu_cmp = 0;
   2202     uint32_t _cf = 0;
   2203     int _df = 1;
   2204     uint32_t _flag_k = FK_NONE;
   2205     uint32_t _flag_a = 0, _flag_b = 0;
   2206     uint32_t _itail_tgt = 0;
   2207     RECOMP_REGS_LOCALS
   2208     RECOMP_ENTER(0x2514C201u);
   2209 
   2210     goto L_2514C201;
   2211 L_250E5AB0:
   2212     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   2213     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   2214     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   2215     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   2216     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2217     _cf = 0;
   2218     _flag_k = FK_TEST;
   2219     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   2220 L_250E5ABA:
   2221     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   2222     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   2223     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   2224     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2225     _cf = 0;
   2226     _flag_k = FK_NARROW(FK_TEST, 24);
   2227     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   2228 L_250E5AC3:
   2229     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   2230     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2232     _flag_k = FK_NARROW(FK_CMP, 24);
   2233     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   2234 L_250E5AC7:
   2235     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2236     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   2237     _flag_k = FK_NARROW(FK_DEC, 24);
   2238     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   2239     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   2240 L_250E5ACD:
   2241     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   2242     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   2243     RECOMP_FLAGS_IN();
   2244     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2245     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2246     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   2247     _flag_k = FK_ADD;
   2248 L_250E5AD6:
   2249     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   2250     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   2251     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   2252     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   2253     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   2254 L_2514C201:
   2255     eax = MEM32(ebp + (-0x10)); /* 0x2514C201: mov eax, dword ptr [ebp - 0x10] */
   2256     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2257     eax = eax & 1; /* 0x2514C204: and eax, 1 */
   2258     _cf = 0;
   2259     _flag_k = FK_TEST;
   2260     /* test eax, eax */ /* 0x2514C207: test eax, eax */
   2261     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2262     _cf = 0;
   2263     _flag_k = FK_TEST;
   2264     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C217; /* 0x2514C209: je 0x2514c217 */
   2265 L_2514C20F:
   2266     ecx = MEM32(ebp + 0x8); /* 0x2514C20F: mov ecx, dword ptr [ebp + 8] */
   2267     RECOMP_BACKEDGE();
   2268     goto L_250E5AB0; /* 0x2514C212: jmp 0x250e5ab0 */
   2269 L_2514C217:
   2270     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C217: ret  */
   2271     RECOMP_REGS_OUT();
   2272 }
   2273 
   2274 void sub_2514C218(void) {
   2275     int _fpu_cmp = 0;
   2276     uint32_t _cf = 0;
   2277     int _df = 1;
   2278     uint32_t _flag_k = FK_NONE;
   2279     uint32_t _flag_a = 0, _flag_b = 0;
   2280     uint32_t _itail_tgt = 0;
   2281     RECOMP_REGS_LOCALS
   2282     RECOMP_ENTER(0x2514C218u);
   2283 
   2284     goto L_2514C218;
   2285 L_251380C4:
   2286     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2287 L_2514C218:
   2288     eax = 0x2516D280u; /* 0x2514C218: mov eax, 0x2516d280 */
   2289 L_2514C21D:
   2290     RECOMP_BACKEDGE();
   2291     goto L_251380C4; /* 0x2514C21D: jmp 0x251380c4 */
   2292     { RECOMP_REGS_OUT(); return; } /* end of function */
   2293   _ljump:
   2294     switch (_itail_tgt) {
   2295       case 0x251380C4u: goto L_251380C4;
   2296       case 0x2514C218u: goto L_2514C218;
   2297       case 0x2514C21Du: goto L_2514C21D;
   2298       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2299     }
   2300     RECOMP_REGS_OUT();
   2301 }
   2302 
   2303 void sub_2514C230(void) {
   2304     int _fpu_cmp = 0;
   2305     uint32_t _cf = 0;
   2306     int _df = 1;
   2307     uint32_t _flag_k = FK_NONE;
   2308     uint32_t _flag_a = 0, _flag_b = 0;
   2309     uint32_t _itail_tgt = 0;
   2310     RECOMP_REGS_LOCALS
   2311     RECOMP_ENTER(0x2514C230u);
   2312 
   2313     goto L_2514C230;
   2314 L_250ECFB0:
   2315     PUSH32(esp, ebp); /* 0x250ECFB0: push ebp */
   2316     ebp = esp; /* 0x250ECFB1: mov ebp, esp */
   2317     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2318     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2319     esp = esp - 8; /* 0x250ECFB3: sub esp, 8 */
   2320     _flag_k = FK_CMP;
   2321     PUSH32(esp, ebx); /* 0x250ECFB6: push ebx */
   2322     PUSH32(esp, esi); /* 0x250ECFB7: push esi */
   2323     esi = ecx; /* 0x250ECFB8: mov esi, ecx */
   2324     ecx = MEM32(esi + 0x10); /* 0x250ECFBA: mov ecx, dword ptr [esi + 0x10] */
   2325     /* test ecx, ecx */ /* 0x250ECFBD: test ecx, ecx */
   2326     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2327     _cf = 0;
   2328     _flag_k = FK_TEST;
   2329     PUSH32(esp, edi); /* 0x250ECFBF: push edi */
   2330     edi = MEM32(esi + 0x4); /* 0x250ECFC0: mov edi, dword ptr [esi + 4] */
   2331     eax = MEM32(edi); /* 0x250ECFC3: mov eax, dword ptr [edi] */
   2332     MEM32(ebp + (-0x4)) = eax; /* 0x250ECFC5: mov dword ptr [ebp - 4], eax */
   2333     if (TEST_Z(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFC8: je 0x250ed025 */
   2334 L_250ECFCA:
   2335     ecx = eax; /* 0x250ECFCA: mov ecx, eax */
   2336     /* cmp eax, ecx */ /* 0x250ECFCC: cmp eax, ecx */
   2337     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2338     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2339     _flag_k = FK_CMP;
   2340     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFCE: jne 0x250ed025 */
   2341 L_250ECFD0:
   2342     /* cmp edi, edi */ /* 0x250ECFD0: cmp edi, edi */
   2343     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2345     _flag_k = FK_CMP;
   2346     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED025; /* 0x250ECFD2: jne 0x250ed025 */
   2347 L_250ECFD4:
   2348     ebx = MEM32(edi + 0x4); /* 0x250ECFD4: mov ebx, dword ptr [edi + 4] */
   2349     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250ECFD7: cmp ebx, dword ptr [esi + 8] */
   2350     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2352     _flag_k = FK_CMP;
   2353     edi = ebx; /* 0x250ECFDA: mov edi, ebx */
   2354     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ECFFD; /* 0x250ECFDC: je 0x250ecffd */
   2355 L_250ECFDE:
   2356     eax = MEM32(edi + 0x8); /* 0x250ECFDE: mov eax, dword ptr [edi + 8] */
   2357     PUSH32(esp, eax); /* 0x250ECFE1: push eax */
   2358     ecx = esi; /* 0x250ECFE2: mov ecx, esi */
   2359     RECOMP_ICALL(0x250F04E0u); /* 0x250ECFE4: call 0x250f04e0 */ /* not lifted */
   2360     RECOMP_FLAGS_IN();
   2361     edi = MEM32(edi); /* 0x250ECFE9: mov edi, dword ptr [edi] */
   2362     PUSH32(esp, ebx); /* 0x250ECFEB: push ebx */
   2363     RECOMP_ICALL(0x25137EECu); /* 0x250ECFEC: call 0x25137eec */ /* not lifted */
   2364     RECOMP_FLAGS_IN();
   2365     eax = MEM32(esi + 0x8); /* 0x250ECFF1: mov eax, dword ptr [esi + 8] */
   2366     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2367     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2368     esp = esp + 4; /* 0x250ECFF4: add esp, 4 */
   2369     _flag_k = FK_ADD;
   2370     /* cmp edi, eax */ /* 0x250ECFF7: cmp edi, eax */
   2371     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2372     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2373     _flag_k = FK_CMP;
   2374     ebx = edi; /* 0x250ECFF9: mov ebx, edi */
   2375     RECOMP_BACKEDGE();
   2376     if (CMP_NE(_flag_a, _flag_b)) goto L_250ECFDE; /* 0x250ECFFB: jne 0x250ecfde */
   2377 L_250ECFFD:
   2378     ecx = MEM32(esi + 0x4); /* 0x250ECFFD: mov ecx, dword ptr [esi + 4] */
   2379     edx = MEM32(esi + 0x8); /* 0x250ED000: mov edx, dword ptr [esi + 8] */
   2380     MEM32(ecx + 0x4) = edx; /* 0x250ED003: mov dword ptr [ecx + 4], edx */
   2381     eax = MEM32(esi + 0x4); /* 0x250ED006: mov eax, dword ptr [esi + 4] */
   2382     MEM32(esi + 0x10) = 0; /* 0x250ED009: mov dword ptr [esi + 0x10], 0 */
   2383     MEM32(eax) = eax; /* 0x250ED010: mov dword ptr [eax], eax */
   2384     eax = MEM32(esi + 0x4); /* 0x250ED012: mov eax, dword ptr [esi + 4] */
   2385     MEM32(eax + 0x8) = eax; /* 0x250ED015: mov dword ptr [eax + 8], eax */
   2386     eax = ebp + (-0x8); /* 0x250ED018: lea eax, [ebp - 8] */
   2387     PUSH32(esp, eax); /* 0x250ED01B: push eax */
   2388     ecx = esi; /* 0x250ED01C: mov ecx, esi */
   2389     RECOMP_ICALL(0x25085270u); /* 0x250ED01E: call 0x25085270 */ /* not lifted */
   2390     RECOMP_FLAGS_IN();
   2391     goto L_250ED046; /* 0x250ED023: jmp 0x250ed046 */
   2392 L_250ED025:
   2393     /* cmp eax, edi */ /* 0x250ED025: cmp eax, edi */
   2394     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2396     _flag_k = FK_CMP;
   2397     if (CMP_EQ(_flag_a, _flag_b)) goto L_250ED046; /* 0x250ED027: je 0x250ed046 */
   2398 L_250ED029:
   2399     ecx = ebp + (-0x4); /* 0x250ED029: lea ecx, [ebp - 4] */
   2400     ebx = eax; /* 0x250ED02C: mov ebx, eax */
   2401     RECOMP_ICALL(0x250DE300u); /* 0x250ED02E: call 0x250de300 */ /* not lifted */
   2402     RECOMP_FLAGS_IN();
   2403     PUSH32(esp, ebx); /* 0x250ED033: push ebx */
   2404     ecx = ebp + (-0x8); /* 0x250ED034: lea ecx, [ebp - 8] */
   2405     PUSH32(esp, ecx); /* 0x250ED037: push ecx */
   2406     ecx = esi; /* 0x250ED038: mov ecx, esi */
   2407     RECOMP_ICALL(0x250985D0u); /* 0x250ED03A: call 0x250985d0 */ /* not lifted */
   2408     RECOMP_FLAGS_IN();
   2409     eax = MEM32(ebp + (-0x4)); /* 0x250ED03F: mov eax, dword ptr [ebp - 4] */
   2410     /* cmp eax, edi */ /* 0x250ED042: cmp eax, edi */
   2411     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2412     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2413     _flag_k = FK_CMP;
   2414     RECOMP_BACKEDGE();
   2415     if (CMP_NE(_flag_a, _flag_b)) goto L_250ED029; /* 0x250ED044: jne 0x250ed029 */
   2416 L_250ED046:
   2417     edx = MEM32(esi + 0x4); /* 0x250ED046: mov edx, dword ptr [esi + 4] */
   2418     PUSH32(esp, edx); /* 0x250ED049: push edx */
   2419     RECOMP_ICALL(0x25137EECu); /* 0x250ED04A: call 0x25137eec */ /* not lifted */
   2420     RECOMP_FLAGS_IN();
   2421     eax = MEM32(esi + 0x8); /* 0x250ED04F: mov eax, dword ptr [esi + 8] */
   2422     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2423     edi = 0; /* 0x250ED052: xor edi, edi */
   2424     _cf = 0;
   2425     _flag_k = FK_TEST;
   2426     PUSH32(esp, eax); /* 0x250ED054: push eax */
   2427     MEM32(esi + 0x4) = edi; /* 0x250ED055: mov dword ptr [esi + 4], edi */
   2428     MEM32(esi + 0x10) = edi; /* 0x250ED058: mov dword ptr [esi + 0x10], edi */
   2429     RECOMP_ICALL(0x25137EECu); /* 0x250ED05B: call 0x25137eec */ /* not lifted */
   2430     RECOMP_FLAGS_IN();
   2431     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2432     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2433     esp = esp + 8; /* 0x250ED060: add esp, 8 */
   2434     _flag_k = FK_ADD;
   2435     MEM32(esi + 0x8) = edi; /* 0x250ED063: mov dword ptr [esi + 8], edi */
   2436     edi = POP32_VAL(esp); /* 0x250ED066: pop edi */
   2437     esi = POP32_VAL(esp); /* 0x250ED067: pop esi */
   2438     ebx = POP32_VAL(esp); /* 0x250ED068: pop ebx */
   2439     esp = ebp; /* 0x250ED069: mov esp, ebp */
   2440     ebp = POP32_VAL(esp); /* 0x250ED06B: pop ebp */
   2441     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250ED06C: ret  */
   2442 L_2514C230:
   2443     ecx = ebp + (-0x3C); /* 0x2514C230: lea ecx, [ebp - 0x3c] */
   2444     RECOMP_BACKEDGE();
   2445     goto L_250ECFB0; /* 0x2514C233: jmp 0x250ecfb0 */
   2446     { RECOMP_REGS_OUT(); return; } /* end of function */
   2447     RECOMP_REGS_OUT();
   2448 }
   2449 
   2450 void sub_2514C238(void) {
   2451     int _fpu_cmp = 0;
   2452     uint32_t _cf = 0;
   2453     int _df = 1;
   2454     uint32_t _flag_k = FK_NONE;
   2455     uint32_t _flag_a = 0, _flag_b = 0;
   2456     uint32_t _itail_tgt = 0;
   2457     RECOMP_REGS_LOCALS
   2458     RECOMP_ENTER(0x2514C238u);
   2459 
   2460 L_2514C238:
   2461     ecx = MEM32(ebp + 0x8); /* 0x2514C238: mov ecx, dword ptr [ebp + 8] */
   2462 L_2514C23B:
   2463     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   2464     { RECOMP_REGS_OUT(); return; } /* end of function */
   2465   _ljump:
   2466     switch (_itail_tgt) {
   2467       case 0x2514C238u: goto L_2514C238;
   2468       case 0x2514C23Bu: goto L_2514C23B;
   2469       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2470     }
   2471     RECOMP_REGS_OUT();
   2472 }
   2473 
   2474 void sub_2514C241(void) {
   2475     int _fpu_cmp = 0;
   2476     uint32_t _cf = 0;
   2477     int _df = 1;
   2478     uint32_t _flag_k = FK_NONE;
   2479     uint32_t _flag_a = 0, _flag_b = 0;
   2480     uint32_t _itail_tgt = 0;
   2481     RECOMP_REGS_LOCALS
   2482     RECOMP_ENTER(0x2514C241u);
   2483 
   2484     goto L_2514C241;
   2485 L_250E5AB0:
   2486     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   2487     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   2488     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   2489     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   2490     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2491     _cf = 0;
   2492     _flag_k = FK_TEST;
   2493     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   2494 L_250E5ABA:
   2495     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   2496     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   2497     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   2498     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2499     _cf = 0;
   2500     _flag_k = FK_NARROW(FK_TEST, 24);
   2501     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   2502 L_250E5AC3:
   2503     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   2504     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2505     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2506     _flag_k = FK_NARROW(FK_CMP, 24);
   2507     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   2508 L_250E5AC7:
   2509     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2510     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   2511     _flag_k = FK_NARROW(FK_DEC, 24);
   2512     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   2513     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   2514 L_250E5ACD:
   2515     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   2516     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   2517     RECOMP_FLAGS_IN();
   2518     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2519     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2520     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   2521     _flag_k = FK_ADD;
   2522 L_250E5AD6:
   2523     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   2524     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   2525     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   2526     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   2527     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   2528 L_2514C241:
   2529     eax = MEM32(ebp + (-0x10)); /* 0x2514C241: mov eax, dword ptr [ebp - 0x10] */
   2530     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2531     eax = eax & 1; /* 0x2514C244: and eax, 1 */
   2532     _cf = 0;
   2533     _flag_k = FK_TEST;
   2534     /* test eax, eax */ /* 0x2514C247: test eax, eax */
   2535     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2536     _cf = 0;
   2537     _flag_k = FK_TEST;
   2538     if (TEST_Z(_flag_a, _flag_b)) goto L_2514C257; /* 0x2514C249: je 0x2514c257 */
   2539 L_2514C24F:
   2540     ecx = MEM32(ebp + 0x8); /* 0x2514C24F: mov ecx, dword ptr [ebp + 8] */
   2541     RECOMP_BACKEDGE();
   2542     goto L_250E5AB0; /* 0x2514C252: jmp 0x250e5ab0 */
   2543 L_2514C257:
   2544     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C257: ret  */
   2545     RECOMP_REGS_OUT();
   2546 }
   2547 
   2548 void sub_2514C258(void) {
   2549     int _fpu_cmp = 0;
   2550     uint32_t _cf = 0;
   2551     int _df = 1;
   2552     uint32_t _flag_k = FK_NONE;
   2553     uint32_t _flag_a = 0, _flag_b = 0;
   2554     uint32_t _itail_tgt = 0;
   2555     RECOMP_REGS_LOCALS
   2556     RECOMP_ENTER(0x2514C258u);
   2557 
   2558     goto L_2514C258;
   2559 L_251380C4:
   2560     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2561 L_2514C258:
   2562     eax = 0x2516D2B8u; /* 0x2514C258: mov eax, 0x2516d2b8 */
   2563 L_2514C25D:
   2564     RECOMP_BACKEDGE();
   2565     goto L_251380C4; /* 0x2514C25D: jmp 0x251380c4 */
   2566     { RECOMP_REGS_OUT(); return; } /* end of function */
   2567   _ljump:
   2568     switch (_itail_tgt) {
   2569       case 0x251380C4u: goto L_251380C4;
   2570       case 0x2514C258u: goto L_2514C258;
   2571       case 0x2514C25Du: goto L_2514C25D;
   2572       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2573     }
   2574     RECOMP_REGS_OUT();
   2575 }
   2576 
   2577 void sub_2514C270(void) {
   2578     int _fpu_cmp = 0;
   2579     uint32_t _cf = 0;
   2580     int _df = 1;
   2581     uint32_t _flag_k = FK_NONE;
   2582     uint32_t _flag_a = 0, _flag_b = 0;
   2583     uint32_t _itail_tgt = 0;
   2584     RECOMP_REGS_LOCALS
   2585     RECOMP_ENTER(0x2514C270u);
   2586 
   2587 L_2514C270:
   2588     ecx = MEM32(ebp + 0x8); /* 0x2514C270: mov ecx, dword ptr [ebp + 8] */
   2589 L_2514C273:
   2590     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   2591     { RECOMP_REGS_OUT(); return; } /* end of function */
   2592   _ljump:
   2593     switch (_itail_tgt) {
   2594       case 0x2514C270u: goto L_2514C270;
   2595       case 0x2514C273u: goto L_2514C273;
   2596       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2597     }
   2598     RECOMP_REGS_OUT();
   2599 }
   2600 
   2601 void sub_2514C279(void) {
   2602     int _fpu_cmp = 0;
   2603     uint32_t _cf = 0;
   2604     int _df = 1;
   2605     uint32_t _flag_k = FK_NONE;
   2606     uint32_t _flag_a = 0, _flag_b = 0;
   2607     uint32_t _itail_tgt = 0;
   2608     RECOMP_REGS_LOCALS
   2609     RECOMP_ENTER(0x2514C279u);
   2610 
   2611 L_2514C279:
   2612     ecx = ebp + (-0x20); /* 0x2514C279: lea ecx, [ebp - 0x20] */
   2613 L_2514C27C:
   2614     { _itail_tgt = (uint32_t)(MEM32(0x251511A0)); goto _ljump; }
   2615     { RECOMP_REGS_OUT(); return; } /* end of function */
   2616   _ljump:
   2617     switch (_itail_tgt) {
   2618       case 0x2514C279u: goto L_2514C279;
   2619       case 0x2514C27Cu: goto L_2514C27C;
   2620       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2621     }
   2622     RECOMP_REGS_OUT();
   2623 }
   2624 
   2625 void sub_2514C282(void) {
   2626     int _fpu_cmp = 0;
   2627     uint32_t _cf = 0;
   2628     int _df = 1;
   2629     uint32_t _flag_k = FK_NONE;
   2630     uint32_t _flag_a = 0, _flag_b = 0;
   2631     uint32_t _itail_tgt = 0;
   2632     RECOMP_REGS_LOCALS
   2633     RECOMP_ENTER(0x2514C282u);
   2634 
   2635     goto L_2514C282;
   2636 L_251380C4:
   2637     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2638 L_2514C282:
   2639     eax = 0x2516D2F0u; /* 0x2514C282: mov eax, 0x2516d2f0 */
   2640 L_2514C287:
   2641     RECOMP_BACKEDGE();
   2642     goto L_251380C4; /* 0x2514C287: jmp 0x251380c4 */
   2643     { RECOMP_REGS_OUT(); return; } /* end of function */
   2644   _ljump:
   2645     switch (_itail_tgt) {
   2646       case 0x251380C4u: goto L_251380C4;
   2647       case 0x2514C282u: goto L_2514C282;
   2648       case 0x2514C287u: goto L_2514C287;
   2649       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2650     }
   2651     RECOMP_REGS_OUT();
   2652 }
   2653 
   2654 void sub_2514C290(void) {
   2655     int _fpu_cmp = 0;
   2656     uint32_t _cf = 0;
   2657     int _df = 1;
   2658     uint32_t _flag_k = FK_NONE;
   2659     uint32_t _flag_a = 0, _flag_b = 0;
   2660     uint32_t _itail_tgt = 0;
   2661     RECOMP_REGS_LOCALS
   2662     RECOMP_ENTER(0x2514C290u);
   2663 
   2664     goto L_2514C290;
   2665 L_250E5AB0:
   2666     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   2667     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   2668     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   2669     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   2670     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2671     _cf = 0;
   2672     _flag_k = FK_TEST;
   2673     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   2674 L_250E5ABA:
   2675     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   2676     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   2677     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   2678     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2679     _cf = 0;
   2680     _flag_k = FK_NARROW(FK_TEST, 24);
   2681     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   2682 L_250E5AC3:
   2683     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   2684     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2685     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2686     _flag_k = FK_NARROW(FK_CMP, 24);
   2687     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   2688 L_250E5AC7:
   2689     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2690     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   2691     _flag_k = FK_NARROW(FK_DEC, 24);
   2692     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   2693     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   2694 L_250E5ACD:
   2695     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   2696     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   2697     RECOMP_FLAGS_IN();
   2698     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2699     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2700     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   2701     _flag_k = FK_ADD;
   2702 L_250E5AD6:
   2703     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   2704     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   2705     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   2706     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   2707     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   2708 L_2514C290:
   2709     ecx = ebp + (-0x20); /* 0x2514C290: lea ecx, [ebp - 0x20] */
   2710     RECOMP_BACKEDGE();
   2711     goto L_250E5AB0; /* 0x2514C293: jmp 0x250e5ab0 */
   2712     { RECOMP_REGS_OUT(); return; } /* end of function */
   2713     RECOMP_REGS_OUT();
   2714 }
   2715 
   2716 void sub_2514C298(void) {
   2717     int _fpu_cmp = 0;
   2718     uint32_t _cf = 0;
   2719     int _df = 1;
   2720     uint32_t _flag_k = FK_NONE;
   2721     uint32_t _flag_a = 0, _flag_b = 0;
   2722     uint32_t _itail_tgt = 0;
   2723     RECOMP_REGS_LOCALS
   2724     RECOMP_ENTER(0x2514C298u);
   2725 
   2726     goto L_2514C298;
   2727 L_251380C4:
   2728     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2729 L_2514C298:
   2730     eax = 0x2516D320u; /* 0x2514C298: mov eax, 0x2516d320 */
   2731 L_2514C29D:
   2732     RECOMP_BACKEDGE();
   2733     goto L_251380C4; /* 0x2514C29D: jmp 0x251380c4 */
   2734     { RECOMP_REGS_OUT(); return; } /* end of function */
   2735   _ljump:
   2736     switch (_itail_tgt) {
   2737       case 0x251380C4u: goto L_251380C4;
   2738       case 0x2514C298u: goto L_2514C298;
   2739       case 0x2514C29Du: goto L_2514C29D;
   2740       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2741     }
   2742     RECOMP_REGS_OUT();
   2743 }
   2744 
   2745 void sub_2514C2B0(void) {
   2746     int _fpu_cmp = 0;
   2747     uint32_t _cf = 0;
   2748     int _df = 1;
   2749     uint32_t _flag_k = FK_NONE;
   2750     uint32_t _flag_a = 0, _flag_b = 0;
   2751     uint32_t _itail_tgt = 0;
   2752     RECOMP_REGS_LOCALS
   2753     RECOMP_ENTER(0x2514C2B0u);
   2754 
   2755     goto L_2514C2B0;
   2756 L_250E5AB0:
   2757     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   2758     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   2759     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   2760     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   2761     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2762     _cf = 0;
   2763     _flag_k = FK_TEST;
   2764     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   2765 L_250E5ABA:
   2766     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   2767     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   2768     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   2769     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2770     _cf = 0;
   2771     _flag_k = FK_NARROW(FK_TEST, 24);
   2772     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   2773 L_250E5AC3:
   2774     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   2775     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2777     _flag_k = FK_NARROW(FK_CMP, 24);
   2778     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   2779 L_250E5AC7:
   2780     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2781     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   2782     _flag_k = FK_NARROW(FK_DEC, 24);
   2783     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   2784     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   2785 L_250E5ACD:
   2786     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   2787     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   2788     RECOMP_FLAGS_IN();
   2789     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2790     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2791     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   2792     _flag_k = FK_ADD;
   2793 L_250E5AD6:
   2794     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   2795     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   2796     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   2797     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   2798     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   2799 L_2514C2B0:
   2800     ecx = ebp + (-0x20); /* 0x2514C2B0: lea ecx, [ebp - 0x20] */
   2801     RECOMP_BACKEDGE();
   2802     goto L_250E5AB0; /* 0x2514C2B3: jmp 0x250e5ab0 */
   2803     { RECOMP_REGS_OUT(); return; } /* end of function */
   2804     RECOMP_REGS_OUT();
   2805 }
   2806 
   2807 void sub_2514C2B8(void) {
   2808     int _fpu_cmp = 0;
   2809     uint32_t _cf = 0;
   2810     int _df = 1;
   2811     uint32_t _flag_k = FK_NONE;
   2812     uint32_t _flag_a = 0, _flag_b = 0;
   2813     uint32_t _itail_tgt = 0;
   2814     RECOMP_REGS_LOCALS
   2815     RECOMP_ENTER(0x2514C2B8u);
   2816 
   2817     goto L_2514C2B8;
   2818 L_251380C4:
   2819     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2820 L_2514C2B8:
   2821     eax = 0x2516D348u; /* 0x2514C2B8: mov eax, 0x2516d348 */
   2822 L_2514C2BD:
   2823     RECOMP_BACKEDGE();
   2824     goto L_251380C4; /* 0x2514C2BD: jmp 0x251380c4 */
   2825     { RECOMP_REGS_OUT(); return; } /* end of function */
   2826   _ljump:
   2827     switch (_itail_tgt) {
   2828       case 0x251380C4u: goto L_251380C4;
   2829       case 0x2514C2B8u: goto L_2514C2B8;
   2830       case 0x2514C2BDu: goto L_2514C2BD;
   2831       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2832     }
   2833     RECOMP_REGS_OUT();
   2834 }
   2835 
   2836 void sub_2514C2D0(void) {
   2837     int _fpu_cmp = 0;
   2838     uint32_t _cf = 0;
   2839     int _df = 1;
   2840     uint32_t _flag_k = FK_NONE;
   2841     uint32_t _flag_a = 0, _flag_b = 0;
   2842     uint32_t _itail_tgt = 0;
   2843     RECOMP_REGS_LOCALS
   2844     RECOMP_ENTER(0x2514C2D0u);
   2845 
   2846     goto L_2514C2D0;
   2847 L_250E5AB0:
   2848     PUSH32(esp, esi); /* 0x250E5AB0: push esi */
   2849     esi = ecx; /* 0x250E5AB1: mov esi, ecx */
   2850     eax = MEM32(esi + 0x4); /* 0x250E5AB3: mov eax, dword ptr [esi + 4] */
   2851     /* test eax, eax */ /* 0x250E5AB6: test eax, eax */
   2852     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2853     _cf = 0;
   2854     _flag_k = FK_TEST;
   2855     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5AD6; /* 0x250E5AB8: je 0x250e5ad6 */
   2856 L_250E5ABA:
   2857     ecx = eax + (-0x1); /* 0x250E5ABA: lea ecx, [eax - 1] */
   2858     SET_LO8(eax, MEM8(ecx)); /* 0x250E5ABD: mov al, byte ptr [ecx] */
   2859     /* test LO8(eax), LO8(eax) */ /* 0x250E5ABF: test al, al */
   2860     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2861     _cf = 0;
   2862     _flag_k = FK_NARROW(FK_TEST, 24);
   2863     if (TEST_Z(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC1: je 0x250e5acd */
   2864 L_250E5AC3:
   2865     /* cmp LO8(eax), 0xFFu */ /* 0x250E5AC3: cmp al, 0xff */
   2866     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2867     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2868     _flag_k = FK_NARROW(FK_CMP, 24);
   2869     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E5ACD; /* 0x250E5AC5: je 0x250e5acd */
   2870 L_250E5AC7:
   2871     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2872     SET_LO8(eax, LO8(eax) - 1); /* 0x250E5AC7: dec al */
   2873     _flag_k = FK_NARROW(FK_DEC, 24);
   2874     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E5AC9: mov byte ptr [ecx], al */
   2875     goto L_250E5AD6; /* 0x250E5ACB: jmp 0x250e5ad6 */
   2876 L_250E5ACD:
   2877     PUSH32(esp, ecx); /* 0x250E5ACD: push ecx */
   2878     RECOMP_ICALL(0x25137EECu); /* 0x250E5ACE: call 0x25137eec */ /* not lifted */
   2879     RECOMP_FLAGS_IN();
   2880     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2881     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2882     esp = esp + 4; /* 0x250E5AD3: add esp, 4 */
   2883     _flag_k = FK_ADD;
   2884 L_250E5AD6:
   2885     MEM32(esi + 0x4) = 0; /* 0x250E5AD6: mov dword ptr [esi + 4], 0 */
   2886     MEM32(esi + 0x8) = 0; /* 0x250E5ADD: mov dword ptr [esi + 8], 0 */
   2887     MEM32(esi + 0xC) = 0; /* 0x250E5AE4: mov dword ptr [esi + 0xc], 0 */
   2888     esi = POP32_VAL(esp); /* 0x250E5AEB: pop esi */
   2889     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E5AEC: ret  */
   2890 L_2514C2D0:
   2891     ecx = ebp + (-0x20); /* 0x2514C2D0: lea ecx, [ebp - 0x20] */
   2892     RECOMP_BACKEDGE();
   2893     goto L_250E5AB0; /* 0x2514C2D3: jmp 0x250e5ab0 */
   2894     { RECOMP_REGS_OUT(); return; } /* end of function */
   2895     RECOMP_REGS_OUT();
   2896 }
   2897 
   2898 void sub_2514C2D8(void) {
   2899     int _fpu_cmp = 0;
   2900     uint32_t _cf = 0;
   2901     int _df = 1;
   2902     uint32_t _flag_k = FK_NONE;
   2903     uint32_t _flag_a = 0, _flag_b = 0;
   2904     uint32_t _itail_tgt = 0;
   2905     RECOMP_REGS_LOCALS
   2906     RECOMP_ENTER(0x2514C2D8u);
   2907 
   2908     goto L_2514C2D8;
   2909 L_251380C4:
   2910     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2911 L_2514C2D8:
   2912     eax = 0x2516D370u; /* 0x2514C2D8: mov eax, 0x2516d370 */
   2913 L_2514C2DD:
   2914     RECOMP_BACKEDGE();
   2915     goto L_251380C4; /* 0x2514C2DD: jmp 0x251380c4 */
   2916     { RECOMP_REGS_OUT(); return; } /* end of function */
   2917   _ljump:
   2918     switch (_itail_tgt) {
   2919       case 0x251380C4u: goto L_251380C4;
   2920       case 0x2514C2D8u: goto L_2514C2D8;
   2921       case 0x2514C2DDu: goto L_2514C2DD;
   2922       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2923     }
   2924     RECOMP_REGS_OUT();
   2925 }
   2926 
   2927 void sub_2514C2F0(void) {
   2928     int _fpu_cmp = 0;
   2929     uint32_t _cf = 0;
   2930     int _df = 1;
   2931     uint32_t _flag_k = FK_NONE;
   2932     uint32_t _flag_a = 0, _flag_b = 0;
   2933     uint32_t _itail_tgt = 0;
   2934     RECOMP_REGS_LOCALS
   2935     RECOMP_ENTER(0x2514C2F0u);
   2936 
   2937     goto L_2514C2F0;
   2938 L_250F0270:
   2939     PUSH32(esp, ecx); /* 0x250F0270: push ecx */
   2940     RECOMP_ICALL(MEM32(0x25151340)); /* 0x250F0271: call dword ptr [0x25151340] */
   2941     RECOMP_FLAGS_IN();
   2942     /* test eax, eax */ /* 0x250F0277: test eax, eax */
   2943     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2944     _cf = 0;
   2945     _flag_k = FK_TEST;
   2946     if (TEST_NS(_flag_a, _flag_b)) goto L_250F0281; /* 0x250F0279: jge 0x250f0281 */
   2947 L_250F027B:
   2948     PUSH32(esp, eax); /* 0x250F027B: push eax */
   2949     RECOMP_ICALL(0x25138420u); /* 0x250F027C: call 0x25138420 */ /* not lifted */
   2950     RECOMP_FLAGS_IN();
   2951 L_250F0281:
   2952     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F0281: ret  */
   2953 L_2514C2F0:
   2954     ecx = ebp + (-0x1C); /* 0x2514C2F0: lea ecx, [ebp - 0x1c] */
   2955     RECOMP_BACKEDGE();
   2956     goto L_250F0270; /* 0x2514C2F3: jmp 0x250f0270 */
   2957     { RECOMP_REGS_OUT(); return; } /* end of function */
   2958     RECOMP_REGS_OUT();
   2959 }
   2960 
   2961 void sub_2514C2F8(void) {
   2962     int _fpu_cmp = 0;
   2963     uint32_t _cf = 0;
   2964     int _df = 1;
   2965     uint32_t _flag_k = FK_NONE;
   2966     uint32_t _flag_a = 0, _flag_b = 0;
   2967     uint32_t _itail_tgt = 0;
   2968     RECOMP_REGS_LOCALS
   2969     RECOMP_ENTER(0x2514C2F8u);
   2970 
   2971     goto L_2514C2F8;
   2972 L_251380C4:
   2973     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   2974 L_2514C2F8:
   2975     eax = 0x2516D398u; /* 0x2514C2F8: mov eax, 0x2516d398 */
   2976 L_2514C2FD:
   2977     RECOMP_BACKEDGE();
   2978     goto L_251380C4; /* 0x2514C2FD: jmp 0x251380c4 */
   2979     { RECOMP_REGS_OUT(); return; } /* end of function */
   2980   _ljump:
   2981     switch (_itail_tgt) {
   2982       case 0x251380C4u: goto L_251380C4;
   2983       case 0x2514C2F8u: goto L_2514C2F8;
   2984       case 0x2514C2FDu: goto L_2514C2FD;
   2985       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2986     }
   2987     RECOMP_REGS_OUT();
   2988 }
   2989 
   2990 void sub_2514C310(void) {
   2991     int _fpu_cmp = 0;
   2992     uint32_t _cf = 0;
   2993     int _df = 1;
   2994     uint32_t _flag_k = FK_NONE;
   2995     uint32_t _flag_a = 0, _flag_b = 0;
   2996     uint32_t _itail_tgt = 0;
   2997     RECOMP_REGS_LOCALS
   2998     RECOMP_ENTER(0x2514C310u);
   2999 
   3000     goto L_2514C310;
   3001 L_250F0270:
   3002     PUSH32(esp, ecx); /* 0x250F0270: push ecx */
   3003     RECOMP_ICALL(MEM32(0x25151340)); /* 0x250F0271: call dword ptr [0x25151340] */
   3004     RECOMP_FLAGS_IN();
   3005     /* test eax, eax */ /* 0x250F0277: test eax, eax */
   3006     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3007     _cf = 0;
   3008     _flag_k = FK_TEST;
   3009     if (TEST_NS(_flag_a, _flag_b)) goto L_250F0281; /* 0x250F0279: jge 0x250f0281 */
   3010 L_250F027B:
   3011     PUSH32(esp, eax); /* 0x250F027B: push eax */
   3012     RECOMP_ICALL(0x25138420u); /* 0x250F027C: call 0x25138420 */ /* not lifted */
   3013     RECOMP_FLAGS_IN();
   3014 L_250F0281:
   3015     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F0281: ret  */
   3016 L_2514C310:
   3017     ecx = ebp + (-0x20); /* 0x2514C310: lea ecx, [ebp - 0x20] */
   3018     RECOMP_BACKEDGE();
   3019     goto L_250F0270; /* 0x2514C313: jmp 0x250f0270 */
   3020     { RECOMP_REGS_OUT(); return; } /* end of function */
   3021     RECOMP_REGS_OUT();
   3022 }
   3023 
   3024 void sub_2514C318(void) {
   3025     int _fpu_cmp = 0;
   3026     uint32_t _cf = 0;
   3027     int _df = 1;
   3028     uint32_t _flag_k = FK_NONE;
   3029     uint32_t _flag_a = 0, _flag_b = 0;
   3030     uint32_t _itail_tgt = 0;
   3031     RECOMP_REGS_LOCALS
   3032     RECOMP_ENTER(0x2514C318u);
   3033 
   3034     goto L_2514C318;
   3035 L_251380C4:
   3036     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3037 L_2514C318:
   3038     eax = 0x2516D3C0u; /* 0x2514C318: mov eax, 0x2516d3c0 */
   3039 L_2514C31D:
   3040     RECOMP_BACKEDGE();
   3041     goto L_251380C4; /* 0x2514C31D: jmp 0x251380c4 */
   3042     { RECOMP_REGS_OUT(); return; } /* end of function */
   3043   _ljump:
   3044     switch (_itail_tgt) {
   3045       case 0x251380C4u: goto L_251380C4;
   3046       case 0x2514C318u: goto L_2514C318;
   3047       case 0x2514C31Du: goto L_2514C31D;
   3048       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3049     }
   3050     RECOMP_REGS_OUT();
   3051 }
   3052 
   3053 void sub_2514C330(void) {
   3054     int _fpu_cmp = 0;
   3055     uint32_t _cf = 0;
   3056     int _df = 1;
   3057     uint32_t _flag_k = FK_NONE;
   3058     uint32_t _flag_a = 0, _flag_b = 0;
   3059     uint32_t _itail_tgt = 0;
   3060     RECOMP_REGS_LOCALS
   3061     RECOMP_ENTER(0x2514C330u);
   3062 
   3063 L_2514C330:
   3064     eax = MEM32(ebp + (-0x10)); /* 0x2514C330: mov eax, dword ptr [ebp - 0x10] */
   3065     PUSH32(esp, eax); /* 0x2514C333: push eax */
   3066     RECOMP_ICALL(0x25137EECu); /* 0x2514C334: call 0x25137eec */ /* not lifted */
   3067     RECOMP_FLAGS_IN();
   3068     ecx = POP32_VAL(esp); /* 0x2514C339: pop ecx */
   3069     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C33A: ret  */
   3070     RECOMP_REGS_OUT();
   3071 }
   3072 
   3073 void sub_2514C33B(void) {
   3074     int _fpu_cmp = 0;
   3075     uint32_t _cf = 0;
   3076     int _df = 1;
   3077     uint32_t _flag_k = FK_NONE;
   3078     uint32_t _flag_a = 0, _flag_b = 0;
   3079     uint32_t _itail_tgt = 0;
   3080     RECOMP_REGS_LOCALS
   3081     RECOMP_ENTER(0x2514C33Bu);
   3082 
   3083     goto L_2514C33B;
   3084 L_251380C4:
   3085     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3086 L_2514C33B:
   3087     eax = 0x2516D3E8u; /* 0x2514C33B: mov eax, 0x2516d3e8 */
   3088 L_2514C340:
   3089     RECOMP_BACKEDGE();
   3090     goto L_251380C4; /* 0x2514C340: jmp 0x251380c4 */
   3091     { RECOMP_REGS_OUT(); return; } /* end of function */
   3092   _ljump:
   3093     switch (_itail_tgt) {
   3094       case 0x251380C4u: goto L_251380C4;
   3095       case 0x2514C33Bu: goto L_2514C33B;
   3096       case 0x2514C340u: goto L_2514C340;
   3097       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3098     }
   3099     RECOMP_REGS_OUT();
   3100 }
   3101 
   3102 void sub_2514C350(void) {
   3103     int _fpu_cmp = 0;
   3104     uint32_t _cf = 0;
   3105     int _df = 1;
   3106     uint32_t _flag_k = FK_NONE;
   3107     uint32_t _flag_a = 0, _flag_b = 0;
   3108     uint32_t _itail_tgt = 0;
   3109     RECOMP_REGS_LOCALS
   3110     RECOMP_ENTER(0x2514C350u);
   3111 
   3112     goto L_2514C350;
   3113 L_250E19E0:
   3114     PUSH32(esp, ebp); /* 0x250E19E0: push ebp */
   3115     ebp = esp; /* 0x250E19E1: mov ebp, esp */
   3116     PUSH32(esp, 0xFFFFFFFFu); /* 0x250E19E3: push -1 */
   3117     PUSH32(esp, 0x2514B255u); /* 0x250E19E5: push 0x2514b255 */
   3118     eax = MEM32(FS_BASE + (0)); /* 0x250E19EA: mov eax, dword ptr fs:[0] */
   3119     PUSH32(esp, eax); /* 0x250E19F0: push eax */
   3120     MEM32(FS_BASE + (0)) = esp; /* 0x250E19F1: mov dword ptr fs:[0], esp */
   3121     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3122     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3123     esp = esp - 8; /* 0x250E19F8: sub esp, 8 */
   3124     _flag_k = FK_CMP;
   3125     PUSH32(esp, ebx); /* 0x250E19FB: push ebx */
   3126     PUSH32(esp, esi); /* 0x250E19FC: push esi */
   3127     PUSH32(esp, edi); /* 0x250E19FD: push edi */
   3128     edi = ecx; /* 0x250E19FE: mov edi, ecx */
   3129     esi = edi + 0x50; /* 0x250E1A00: lea esi, [edi + 0x50] */
   3130     MEM32(ebp + (-0x10)) = edi; /* 0x250E1A03: mov dword ptr [ebp - 0x10], edi */
   3131     MEM32(edi) = 0x251584B4u; /* 0x250E1A06: mov dword ptr [edi], 0x251584b4 */
   3132     MEM32(edi + 0x8) = 0x251584A4u; /* 0x250E1A0C: mov dword ptr [edi + 8], 0x251584a4 */
   3133     MEM32(edi + 0x20) = 0x25158494u; /* 0x250E1A13: mov dword ptr [edi + 0x20], 0x25158494 */
   3134     MEM32(edi + 0x38) = 0x25158484u; /* 0x250E1A1A: mov dword ptr [edi + 0x38], 0x25158484 */
   3135     MEM32(esi) = 0x25158474u; /* 0x250E1A21: mov dword ptr [esi], 0x25158474 */
   3136     ecx = MEM32(edi + 0x124); /* 0x250E1A27: mov ecx, dword ptr [edi + 0x124] */
   3137     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3138     ebx = 0; /* 0x250E1A2D: xor ebx, ebx */
   3139     _cf = 0;
   3140     _flag_k = FK_TEST;
   3141     /* cmp ecx, ebx */ /* 0x250E1A2F: cmp ecx, ebx */
   3142     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3143     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3144     _flag_k = FK_CMP;
   3145     MEM32(ebp + (-0x4)) = 6; /* 0x250E1A31: mov dword ptr [ebp - 4], 6 */
   3146     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1A3F; /* 0x250E1A38: je 0x250e1a3f */
   3147 L_250E1A3A:
   3148     RECOMP_ICALL(0x250E6370u); /* 0x250E1A3A: call 0x250e6370 */ /* not lifted */
   3149     RECOMP_FLAGS_IN();
   3150 L_250E1A3F:
   3151     ecx = MEM32(edi + 0x128); /* 0x250E1A3F: mov ecx, dword ptr [edi + 0x128] */
   3152     /* cmp ecx, ebx */ /* 0x250E1A45: cmp ecx, ebx */
   3153     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3154     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3155     _flag_k = FK_CMP;
   3156     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1A5A; /* 0x250E1A47: je 0x250e1a5a */
   3157 L_250E1A49:
   3158     eax = MEM32(ecx); /* 0x250E1A49: mov eax, dword ptr [ecx] */
   3159     PUSH32(esp, ebx); /* 0x250E1A4B: push ebx */
   3160     RECOMP_ICALL(MEM32(eax + 0x10)); /* 0x250E1A4C: call dword ptr [eax + 0x10] */
   3161     RECOMP_FLAGS_IN();
   3162     ecx = MEM32(edi + 0x128); /* 0x250E1A4F: mov ecx, dword ptr [edi + 0x128] */
   3163     RECOMP_ICALL(0x250E6370u); /* 0x250E1A55: call 0x250e6370 */ /* not lifted */
   3164     RECOMP_FLAGS_IN();
   3165 L_250E1A5A:
   3166     ecx = MEM32(edi + 0x6C); /* 0x250E1A5A: mov ecx, dword ptr [edi + 0x6c] */
   3167     /* cmp ecx, ebx */ /* 0x250E1A5D: cmp ecx, ebx */
   3168     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3170     _flag_k = FK_CMP;
   3171     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1A67; /* 0x250E1A5F: je 0x250e1a67 */
   3172 L_250E1A61:
   3173     edx = MEM32(ecx); /* 0x250E1A61: mov edx, dword ptr [ecx] */
   3174     PUSH32(esp, edi); /* 0x250E1A63: push edi */
   3175     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x250E1A64: call dword ptr [edx + 0x10] */
   3176     RECOMP_FLAGS_IN();
   3177 L_250E1A67:
   3178     ecx = MEM32(edi + 0x74); /* 0x250E1A67: mov ecx, dword ptr [edi + 0x74] */
   3179     /* cmp ecx, ebx */ /* 0x250E1A6A: cmp ecx, ebx */
   3180     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3182     _flag_k = FK_CMP;
   3183     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1A7B; /* 0x250E1A6C: je 0x250e1a7b */
   3184 L_250E1A6E:
   3185     eax = MEM32(ecx); /* 0x250E1A6E: mov eax, dword ptr [ecx] */
   3186     PUSH32(esp, 1); /* 0x250E1A70: push 1 */
   3187     RECOMP_ICALL(MEM32(eax)); /* 0x250E1A72: call dword ptr [eax] */
   3188     RECOMP_FLAGS_IN();
   3189     ecx = MEM32(edi + 0x74); /* 0x250E1A74: mov ecx, dword ptr [edi + 0x74] */
   3190     /* cmp ecx, ebx */ /* 0x250E1A77: cmp ecx, ebx */
   3191     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3192     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3193     _flag_k = FK_CMP;
   3194     RECOMP_BACKEDGE();
   3195     if (CMP_NE(_flag_a, _flag_b)) goto L_250E1A6E; /* 0x250E1A79: jne 0x250e1a6e */
   3196 L_250E1A7B:
   3197     eax = edi; /* 0x250E1A7B: mov eax, edi */
   3198     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3199     _cf = (eax) != 0;
   3200     eax = (uint32_t)(-(int32_t)eax); /* 0x250E1A7D: neg eax */
   3201     _flag_k = FK_CMP;
   3202     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E1A7F: sbb eax, eax */
   3203       eax = _sc ? 0xFFFFFFFFu : 0;
   3204       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3205       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3206     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3207     eax = eax & esi; /* 0x250E1A81: and eax, esi */
   3208     _cf = 0;
   3209     _flag_k = FK_TEST;
   3210     esi = eax + 0x4; /* 0x250E1A83: lea esi, [eax + 4] */
   3211     MEM32(eax) = 0x251584E8u; /* 0x250E1A86: mov dword ptr [eax], 0x251584e8 */
   3212     eax = MEM32(esi + 0x4); /* 0x250E1A8C: mov eax, dword ptr [esi + 4] */
   3213     ecx = MEM32(eax); /* 0x250E1A8F: mov ecx, dword ptr [eax] */
   3214     PUSH32(esp, eax); /* 0x250E1A91: push eax */
   3215     PUSH32(esp, ecx); /* 0x250E1A92: push ecx */
   3216     ecx = ebp + (-0x14); /* 0x250E1A93: lea ecx, [ebp - 0x14] */
   3217     PUSH32(esp, ecx); /* 0x250E1A96: push ecx */
   3218     ecx = esi; /* 0x250E1A97: mov ecx, esi */
   3219     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250E1A99: mov byte ptr [ebp - 4], 3 */
   3220     RECOMP_ICALL(0x25029FC0u); /* 0x250E1A9D: call 0x25029fc0 */ /* not lifted */
   3221     RECOMP_FLAGS_IN();
   3222     eax = MEM32(esi + 0x4); /* 0x250E1AA2: mov eax, dword ptr [esi + 4] */
   3223     PUSH32(esp, eax); /* 0x250E1AA5: push eax */
   3224     RECOMP_ICALL(0x25137EECu); /* 0x250E1AA6: call 0x25137eec */ /* not lifted */
   3225     RECOMP_FLAGS_IN();
   3226     eax = MEM32(esi + 0x8); /* 0x250E1AAB: mov eax, dword ptr [esi + 8] */
   3227     PUSH32(esp, eax); /* 0x250E1AAE: push eax */
   3228     MEM32(esi + 0x4) = ebx; /* 0x250E1AAF: mov dword ptr [esi + 4], ebx */
   3229     MEM32(esi + 0x10) = ebx; /* 0x250E1AB2: mov dword ptr [esi + 0x10], ebx */
   3230     RECOMP_ICALL(0x25137EECu); /* 0x250E1AB5: call 0x25137eec */ /* not lifted */
   3231     RECOMP_FLAGS_IN();
   3232     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3233     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3234     esp = esp + 8; /* 0x250E1ABA: add esp, 8 */
   3235     _flag_k = FK_ADD;
   3236     eax = edi; /* 0x250E1ABD: mov eax, edi */
   3237     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3238     _cf = (eax) != 0;
   3239     eax = (uint32_t)(-(int32_t)eax); /* 0x250E1ABF: neg eax */
   3240     _flag_k = FK_CMP;
   3241     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E1AC1: sbb eax, eax */
   3242       eax = _sc ? 0xFFFFFFFFu : 0;
   3243       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3244       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3245     MEM32(esi + 0x8) = ebx; /* 0x250E1AC3: mov dword ptr [esi + 8], ebx */
   3246     ecx = edi + 0x38; /* 0x250E1AC6: lea ecx, [edi + 0x38] */
   3247     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3248     eax = eax & ecx; /* 0x250E1AC9: and eax, ecx */
   3249     _cf = 0;
   3250     _flag_k = FK_TEST;
   3251     esi = eax + 0x4; /* 0x250E1ACB: lea esi, [eax + 4] */
   3252     MEM32(eax) = 0x251584F8u; /* 0x250E1ACE: mov dword ptr [eax], 0x251584f8 */
   3253     eax = MEM32(esi + 0x4); /* 0x250E1AD4: mov eax, dword ptr [esi + 4] */
   3254     ecx = MEM32(eax); /* 0x250E1AD7: mov ecx, dword ptr [eax] */
   3255     PUSH32(esp, eax); /* 0x250E1AD9: push eax */
   3256     PUSH32(esp, ecx); /* 0x250E1ADA: push ecx */
   3257     edx = ebp + (-0x14); /* 0x250E1ADB: lea edx, [ebp - 0x14] */
   3258     PUSH32(esp, edx); /* 0x250E1ADE: push edx */
   3259     ecx = esi; /* 0x250E1ADF: mov ecx, esi */
   3260     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E1AE1: mov byte ptr [ebp - 4], 2 */
   3261     RECOMP_ICALL(0x250DE350u); /* 0x250E1AE5: call 0x250de350 */ /* not lifted */
   3262     RECOMP_FLAGS_IN();
   3263     eax = MEM32(esi + 0x4); /* 0x250E1AEA: mov eax, dword ptr [esi + 4] */
   3264     PUSH32(esp, eax); /* 0x250E1AED: push eax */
   3265     RECOMP_ICALL(0x25137EECu); /* 0x250E1AEE: call 0x25137eec */ /* not lifted */
   3266     RECOMP_FLAGS_IN();
   3267     eax = MEM32(esi + 0x8); /* 0x250E1AF3: mov eax, dword ptr [esi + 8] */
   3268     PUSH32(esp, eax); /* 0x250E1AF6: push eax */
   3269     MEM32(esi + 0x4) = ebx; /* 0x250E1AF7: mov dword ptr [esi + 4], ebx */
   3270     MEM32(esi + 0x10) = ebx; /* 0x250E1AFA: mov dword ptr [esi + 0x10], ebx */
   3271     RECOMP_ICALL(0x25137EECu); /* 0x250E1AFD: call 0x25137eec */ /* not lifted */
   3272     RECOMP_FLAGS_IN();
   3273     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3274     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3275     esp = esp + 8; /* 0x250E1B02: add esp, 8 */
   3276     _flag_k = FK_ADD;
   3277     eax = edi; /* 0x250E1B05: mov eax, edi */
   3278     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3279     _cf = (eax) != 0;
   3280     eax = (uint32_t)(-(int32_t)eax); /* 0x250E1B07: neg eax */
   3281     _flag_k = FK_CMP;
   3282     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E1B09: sbb eax, eax */
   3283       eax = _sc ? 0xFFFFFFFFu : 0;
   3284       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3285       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3286     MEM32(esi + 0x8) = ebx; /* 0x250E1B0B: mov dword ptr [esi + 8], ebx */
   3287     ecx = edi + 0x20; /* 0x250E1B0E: lea ecx, [edi + 0x20] */
   3288     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3289     eax = eax & ecx; /* 0x250E1B11: and eax, ecx */
   3290     _cf = 0;
   3291     _flag_k = FK_TEST;
   3292     esi = eax + 0x4; /* 0x250E1B13: lea esi, [eax + 4] */
   3293     MEM32(eax) = 0x25158508u; /* 0x250E1B16: mov dword ptr [eax], 0x25158508 */
   3294     eax = MEM32(esi + 0x4); /* 0x250E1B1C: mov eax, dword ptr [esi + 4] */
   3295     ecx = MEM32(eax); /* 0x250E1B1F: mov ecx, dword ptr [eax] */
   3296     PUSH32(esp, eax); /* 0x250E1B21: push eax */
   3297     PUSH32(esp, ecx); /* 0x250E1B22: push ecx */
   3298     eax = ebp + (-0x14); /* 0x250E1B23: lea eax, [ebp - 0x14] */
   3299     PUSH32(esp, eax); /* 0x250E1B26: push eax */
   3300     ecx = esi; /* 0x250E1B27: mov ecx, esi */
   3301     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E1B29: mov byte ptr [ebp - 4], 1 */
   3302     RECOMP_ICALL(0x25007170u); /* 0x250E1B2D: call 0x25007170 */ /* not lifted */
   3303     RECOMP_FLAGS_IN();
   3304     eax = MEM32(esi + 0x4); /* 0x250E1B32: mov eax, dword ptr [esi + 4] */
   3305     PUSH32(esp, eax); /* 0x250E1B35: push eax */
   3306     RECOMP_ICALL(0x25137EECu); /* 0x250E1B36: call 0x25137eec */ /* not lifted */
   3307     RECOMP_FLAGS_IN();
   3308     eax = MEM32(esi + 0x8); /* 0x250E1B3B: mov eax, dword ptr [esi + 8] */
   3309     PUSH32(esp, eax); /* 0x250E1B3E: push eax */
   3310     MEM32(esi + 0x4) = ebx; /* 0x250E1B3F: mov dword ptr [esi + 4], ebx */
   3311     MEM32(esi + 0x10) = ebx; /* 0x250E1B42: mov dword ptr [esi + 0x10], ebx */
   3312     RECOMP_ICALL(0x25137EECu); /* 0x250E1B45: call 0x25137eec */ /* not lifted */
   3313     RECOMP_FLAGS_IN();
   3314     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3315     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3316     esp = esp + 8; /* 0x250E1B4A: add esp, 8 */
   3317     _flag_k = FK_ADD;
   3318     eax = edi; /* 0x250E1B4D: mov eax, edi */
   3319     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3320     _cf = (eax) != 0;
   3321     eax = (uint32_t)(-(int32_t)eax); /* 0x250E1B4F: neg eax */
   3322     _flag_k = FK_CMP;
   3323     MEM32(esi + 0x8) = ebx; /* 0x250E1B51: mov dword ptr [esi + 8], ebx */
   3324     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250E1B54: mov byte ptr [ebp - 4], bl */
   3325     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E1B57: sbb eax, eax */
   3326       eax = _sc ? 0xFFFFFFFFu : 0;
   3327       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3328       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3329     ecx = edi + 0x8; /* 0x250E1B59: lea ecx, [edi + 8] */
   3330     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3331     eax = eax & ecx; /* 0x250E1B5C: and eax, ecx */
   3332     _cf = 0;
   3333     _flag_k = FK_TEST;
   3334     esi = eax + 0x4; /* 0x250E1B5E: lea esi, [eax + 4] */
   3335     MEM32(eax) = 0x25158518u; /* 0x250E1B61: mov dword ptr [eax], 0x25158518 */
   3336     eax = MEM32(esi + 0x4); /* 0x250E1B67: mov eax, dword ptr [esi + 4] */
   3337     ecx = MEM32(eax); /* 0x250E1B6A: mov ecx, dword ptr [eax] */
   3338     PUSH32(esp, eax); /* 0x250E1B6C: push eax */
   3339     PUSH32(esp, ecx); /* 0x250E1B6D: push ecx */
   3340     ecx = ebp + (-0x14); /* 0x250E1B6E: lea ecx, [ebp - 0x14] */
   3341     PUSH32(esp, ecx); /* 0x250E1B71: push ecx */
   3342     ecx = esi; /* 0x250E1B72: mov ecx, esi */
   3343     RECOMP_ICALL(0x25006FC0u); /* 0x250E1B74: call 0x25006fc0 */ /* not lifted */
   3344     RECOMP_FLAGS_IN();
   3345     eax = MEM32(esi + 0x4); /* 0x250E1B79: mov eax, dword ptr [esi + 4] */
   3346     PUSH32(esp, eax); /* 0x250E1B7C: push eax */
   3347     RECOMP_ICALL(0x25137EECu); /* 0x250E1B7D: call 0x25137eec */ /* not lifted */
   3348     RECOMP_FLAGS_IN();
   3349     eax = MEM32(esi + 0x8); /* 0x250E1B82: mov eax, dword ptr [esi + 8] */
   3350     PUSH32(esp, eax); /* 0x250E1B85: push eax */
   3351     MEM32(esi + 0x4) = ebx; /* 0x250E1B86: mov dword ptr [esi + 4], ebx */
   3352     MEM32(esi + 0x10) = ebx; /* 0x250E1B89: mov dword ptr [esi + 0x10], ebx */
   3353     RECOMP_ICALL(0x25137EECu); /* 0x250E1B8C: call 0x25137eec */ /* not lifted */
   3354     RECOMP_FLAGS_IN();
   3355     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3356     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3357     esp = esp + 8; /* 0x250E1B91: add esp, 8 */
   3358     _flag_k = FK_ADD;
   3359     ecx = edi; /* 0x250E1B94: mov ecx, edi */
   3360     MEM32(esi + 0x8) = ebx; /* 0x250E1B96: mov dword ptr [esi + 8], ebx */
   3361     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E1B99: mov dword ptr [ebp - 4], 0xffffffff */
   3362     RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E1BA0: call dword ptr [0x251513fc] */
   3363     RECOMP_FLAGS_IN();
   3364     ecx = MEM32(ebp + (-0xC)); /* 0x250E1BA6: mov ecx, dword ptr [ebp - 0xc] */
   3365     edi = POP32_VAL(esp); /* 0x250E1BA9: pop edi */
   3366     esi = POP32_VAL(esp); /* 0x250E1BAA: pop esi */
   3367     ebx = POP32_VAL(esp); /* 0x250E1BAB: pop ebx */
   3368     MEM32(FS_BASE + (0)) = ecx; /* 0x250E1BAC: mov dword ptr fs:[0], ecx */
   3369     esp = ebp; /* 0x250E1BB3: mov esp, ebp */
   3370     ebp = POP32_VAL(esp); /* 0x250E1BB5: pop ebp */
   3371     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E1BB6: ret  */
   3372 L_2514C350:
   3373     ecx = MEM32(ebp + (-0x10)); /* 0x2514C350: mov ecx, dword ptr [ebp - 0x10] */
   3374     RECOMP_BACKEDGE();
   3375     goto L_250E19E0; /* 0x2514C353: jmp 0x250e19e0 */
   3376     { RECOMP_REGS_OUT(); return; } /* end of function */
   3377     RECOMP_REGS_OUT();
   3378 }
   3379 
   3380 void sub_2514C358(void) {
   3381     int _fpu_cmp = 0;
   3382     uint32_t _cf = 0;
   3383     int _df = 1;
   3384     uint32_t _flag_k = FK_NONE;
   3385     uint32_t _flag_a = 0, _flag_b = 0;
   3386     uint32_t _itail_tgt = 0;
   3387     RECOMP_REGS_LOCALS
   3388     RECOMP_ENTER(0x2514C358u);
   3389 
   3390 L_2514C358:
   3391     ecx = MEM32(ebp + (-0x10)); /* 0x2514C358: mov ecx, dword ptr [ebp - 0x10] */
   3392 L_2514C35B:
   3393     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x154u);
   3394     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3395     ecx = ecx + 0x154u; /* 0x2514C35B: add ecx, 0x154 */
   3396     _flag_k = FK_ADD;
   3397 L_2514C361:
   3398     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3399     { RECOMP_REGS_OUT(); return; } /* end of function */
   3400   _ljump:
   3401     switch (_itail_tgt) {
   3402       case 0x2514C358u: goto L_2514C358;
   3403       case 0x2514C35Bu: goto L_2514C35B;
   3404       case 0x2514C361u: goto L_2514C361;
   3405       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3406     }
   3407     RECOMP_REGS_OUT();
   3408 }
   3409 
   3410 void sub_2514C367(void) {
   3411     int _fpu_cmp = 0;
   3412     uint32_t _cf = 0;
   3413     int _df = 1;
   3414     uint32_t _flag_k = FK_NONE;
   3415     uint32_t _flag_a = 0, _flag_b = 0;
   3416     uint32_t _itail_tgt = 0;
   3417     RECOMP_REGS_LOCALS
   3418     RECOMP_ENTER(0x2514C367u);
   3419 
   3420     goto L_2514C367;
   3421 L_251380C4:
   3422     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3423 L_2514C367:
   3424     eax = 0x2516D410u; /* 0x2514C367: mov eax, 0x2516d410 */
   3425 L_2514C36C:
   3426     RECOMP_BACKEDGE();
   3427     goto L_251380C4; /* 0x2514C36C: jmp 0x251380c4 */
   3428     { RECOMP_REGS_OUT(); return; } /* end of function */
   3429   _ljump:
   3430     switch (_itail_tgt) {
   3431       case 0x251380C4u: goto L_251380C4;
   3432       case 0x2514C367u: goto L_2514C367;
   3433       case 0x2514C36Cu: goto L_2514C36C;
   3434       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3435     }
   3436     RECOMP_REGS_OUT();
   3437 }
   3438 
   3439 void sub_2514C380(void) {
   3440     int _fpu_cmp = 0;
   3441     uint32_t _cf = 0;
   3442     int _df = 1;
   3443     uint32_t _flag_k = FK_NONE;
   3444     uint32_t _flag_a = 0, _flag_b = 0;
   3445     uint32_t _itail_tgt = 0;
   3446     RECOMP_REGS_LOCALS
   3447     RECOMP_ENTER(0x2514C380u);
   3448 
   3449 L_2514C380:
   3450     ecx = ebp + (-0x50); /* 0x2514C380: lea ecx, [ebp - 0x50] */
   3451 L_2514C383:
   3452     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3453     { RECOMP_REGS_OUT(); return; } /* end of function */
   3454   _ljump:
   3455     switch (_itail_tgt) {
   3456       case 0x2514C380u: goto L_2514C380;
   3457       case 0x2514C383u: goto L_2514C383;
   3458       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3459     }
   3460     RECOMP_REGS_OUT();
   3461 }
   3462 
   3463 void sub_2514C389(void) {
   3464     int _fpu_cmp = 0;
   3465     uint32_t _cf = 0;
   3466     int _df = 1;
   3467     uint32_t _flag_k = FK_NONE;
   3468     uint32_t _flag_a = 0, _flag_b = 0;
   3469     uint32_t _itail_tgt = 0;
   3470     RECOMP_REGS_LOCALS
   3471     RECOMP_ENTER(0x2514C389u);
   3472 
   3473     goto L_2514C389;
   3474 L_251380C4:
   3475     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3476 L_2514C389:
   3477     eax = 0x2516D440u; /* 0x2514C389: mov eax, 0x2516d440 */
   3478 L_2514C38E:
   3479     RECOMP_BACKEDGE();
   3480     goto L_251380C4; /* 0x2514C38E: jmp 0x251380c4 */
   3481     { RECOMP_REGS_OUT(); return; } /* end of function */
   3482   _ljump:
   3483     switch (_itail_tgt) {
   3484       case 0x251380C4u: goto L_251380C4;
   3485       case 0x2514C389u: goto L_2514C389;
   3486       case 0x2514C38Eu: goto L_2514C38E;
   3487       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3488     }
   3489     RECOMP_REGS_OUT();
   3490 }
   3491 
   3492 void sub_2514C3A0(void) {
   3493     int _fpu_cmp = 0;
   3494     uint32_t _cf = 0;
   3495     int _df = 1;
   3496     uint32_t _flag_k = FK_NONE;
   3497     uint32_t _flag_a = 0, _flag_b = 0;
   3498     uint32_t _itail_tgt = 0;
   3499     RECOMP_REGS_LOCALS
   3500     RECOMP_ENTER(0x2514C3A0u);
   3501 
   3502 L_2514C3A0:
   3503     ecx = ebp + (-0x2C); /* 0x2514C3A0: lea ecx, [ebp - 0x2c] */
   3504     goto L_25009BC0; /* 0x2514C3A3: jmp 0x25009bc0 */
   3505     { RECOMP_REGS_OUT(); return; } /* end of function */
   3506     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   3507     RECOMP_REGS_OUT();
   3508 }
   3509 
   3510 void sub_2514C3A8(void) {
   3511     int _fpu_cmp = 0;
   3512     uint32_t _cf = 0;
   3513     int _df = 1;
   3514     uint32_t _flag_k = FK_NONE;
   3515     uint32_t _flag_a = 0, _flag_b = 0;
   3516     uint32_t _itail_tgt = 0;
   3517     RECOMP_REGS_LOCALS
   3518     RECOMP_ENTER(0x2514C3A8u);
   3519 
   3520 L_2514C3A8:
   3521     ecx = ebp + (-0xA0); /* 0x2514C3A8: lea ecx, [ebp - 0xa0] */
   3522     goto L_25009BC0; /* 0x2514C3AE: jmp 0x25009bc0 */
   3523     { RECOMP_REGS_OUT(); return; } /* end of function */
   3524     L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; }
   3525     RECOMP_REGS_OUT();
   3526 }
   3527 
   3528 void sub_2514C3B3(void) {
   3529     int _fpu_cmp = 0;
   3530     uint32_t _cf = 0;
   3531     int _df = 1;
   3532     uint32_t _flag_k = FK_NONE;
   3533     uint32_t _flag_a = 0, _flag_b = 0;
   3534     uint32_t _itail_tgt = 0;
   3535     RECOMP_REGS_LOCALS
   3536     RECOMP_ENTER(0x2514C3B3u);
   3537 
   3538     goto L_2514C3B3;
   3539 L_251380C4:
   3540     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3541 L_2514C3B3:
   3542     eax = 0x2516D468u; /* 0x2514C3B3: mov eax, 0x2516d468 */
   3543 L_2514C3B8:
   3544     RECOMP_BACKEDGE();
   3545     goto L_251380C4; /* 0x2514C3B8: jmp 0x251380c4 */
   3546     { RECOMP_REGS_OUT(); return; } /* end of function */
   3547   _ljump:
   3548     switch (_itail_tgt) {
   3549       case 0x251380C4u: goto L_251380C4;
   3550       case 0x2514C3B3u: goto L_2514C3B3;
   3551       case 0x2514C3B8u: goto L_2514C3B8;
   3552       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3553     }
   3554     RECOMP_REGS_OUT();
   3555 }
   3556 
   3557 void sub_2514C3C0(void) {
   3558     int _fpu_cmp = 0;
   3559     uint32_t _cf = 0;
   3560     int _df = 1;
   3561     uint32_t _flag_k = FK_NONE;
   3562     uint32_t _flag_a = 0, _flag_b = 0;
   3563     uint32_t _itail_tgt = 0;
   3564     RECOMP_REGS_LOCALS
   3565     RECOMP_ENTER(0x2514C3C0u);
   3566 
   3567 L_2514C3C0:
   3568     ecx = ebp + (-0x94); /* 0x2514C3C0: lea ecx, [ebp - 0x94] */
   3569 L_2514C3C6:
   3570     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3571     { RECOMP_REGS_OUT(); return; } /* end of function */
   3572   _ljump:
   3573     switch (_itail_tgt) {
   3574       case 0x2514C3C0u: goto L_2514C3C0;
   3575       case 0x2514C3C6u: goto L_2514C3C6;
   3576       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3577     }
   3578     RECOMP_REGS_OUT();
   3579 }
   3580 
   3581 void sub_2514C3CC(void) {
   3582     int _fpu_cmp = 0;
   3583     uint32_t _cf = 0;
   3584     int _df = 1;
   3585     uint32_t _flag_k = FK_NONE;
   3586     uint32_t _flag_a = 0, _flag_b = 0;
   3587     uint32_t _itail_tgt = 0;
   3588     RECOMP_REGS_LOCALS
   3589     RECOMP_ENTER(0x2514C3CCu);
   3590 
   3591 L_2514C3CC:
   3592     ecx = ebp + (-0xD4); /* 0x2514C3CC: lea ecx, [ebp - 0xd4] */
   3593 L_2514C3D2:
   3594     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   3595     { RECOMP_REGS_OUT(); return; } /* end of function */
   3596   _ljump:
   3597     switch (_itail_tgt) {
   3598       case 0x2514C3CCu: goto L_2514C3CC;
   3599       case 0x2514C3D2u: goto L_2514C3D2;
   3600       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3601     }
   3602     RECOMP_REGS_OUT();
   3603 }
   3604 
   3605 void sub_2514C3D8(void) {
   3606     int _fpu_cmp = 0;
   3607     uint32_t _cf = 0;
   3608     int _df = 1;
   3609     uint32_t _flag_k = FK_NONE;
   3610     uint32_t _flag_a = 0, _flag_b = 0;
   3611     uint32_t _itail_tgt = 0;
   3612     RECOMP_REGS_LOCALS
   3613     RECOMP_ENTER(0x2514C3D8u);
   3614 
   3615     goto L_2514C3D8;
   3616 L_251380C4:
   3617     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   3618 L_2514C3D8:
   3619     eax = 0x2516D498u; /* 0x2514C3D8: mov eax, 0x2516d498 */
   3620 L_2514C3DD:
   3621     RECOMP_BACKEDGE();
   3622     goto L_251380C4; /* 0x2514C3DD: jmp 0x251380c4 */
   3623     { RECOMP_REGS_OUT(); return; } /* end of function */
   3624   _ljump:
   3625     switch (_itail_tgt) {
   3626       case 0x251380C4u: goto L_251380C4;
   3627       case 0x2514C3D8u: goto L_2514C3D8;
   3628       case 0x2514C3DDu: goto L_2514C3DD;
   3629       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3630     }
   3631     RECOMP_REGS_OUT();
   3632 }
   3633 
   3634 void sub_2514C3F0(void) {
   3635     int _fpu_cmp = 0;
   3636     uint32_t _cf = 0;
   3637     int _df = 1;
   3638     uint32_t _flag_k = FK_NONE;
   3639     uint32_t _flag_a = 0, _flag_b = 0;
   3640     uint32_t _itail_tgt = 0;
   3641     RECOMP_REGS_LOCALS
   3642     RECOMP_ENTER(0x2514C3F0u);
   3643 
   3644     goto L_2514C3F0;
   3645 L_250DB0B0:
   3646     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   3647     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   3648     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   3649     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   3650     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   3651     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   3652     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   3653     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3654     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3655     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   3656     _flag_k = FK_CMP;
   3657     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   3658     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   3659     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   3660     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   3661     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   3662     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   3663     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   3664     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   3665     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   3666     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   3667     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   3668     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   3669     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   3670     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   3671     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3672     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   3673     _cf = 0;
   3674     _flag_k = FK_TEST;
   3675     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   3676     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3677     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3678     _flag_k = FK_CMP;
   3679     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   3680     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   3681 L_250DB11E:
   3682     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   3683     RECOMP_FLAGS_IN();
   3684 L_250DB123:
   3685     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   3686     PUSH32(esp, eax); /* 0x250DB129: push eax */
   3687     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   3688     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   3689     RECOMP_FLAGS_IN();
   3690     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3691     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3692     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   3693     _flag_k = FK_ADD;
   3694     eax = edi; /* 0x250DB135: mov eax, edi */
   3695     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3696     _cf = (eax) != 0;
   3697     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   3698     _flag_k = FK_CMP;
   3699     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   3700       eax = _sc ? 0xFFFFFFFFu : 0;
   3701       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3702       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3703     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3704     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   3705     _cf = 0;
   3706     _flag_k = FK_TEST;
   3707     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   3708     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   3709     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   3710     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   3711     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   3712     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   3713     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   3714     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3716     _flag_k = FK_CMP;
   3717     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   3718     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   3719     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   3720     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   3721     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   3722 L_250DB16C:
   3723     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   3724     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   3725     ecx = esi; /* 0x250DB170: mov ecx, esi */
   3726     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   3727     RECOMP_FLAGS_IN();
   3728     ecx = eax; /* 0x250DB177: mov ecx, eax */
   3729     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   3730     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   3731     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   3732     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3733     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3734     _flag_k = FK_CMP;
   3735     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   3736     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   3737     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3738     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3739     _flag_k = FK_NARROW(FK_CMP, 24);
   3740     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   3741 L_250DB187:
   3742     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   3743     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   3744     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3745     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3746     _flag_k = FK_CMP;
   3747     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   3748 L_250DB18F:
   3749     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   3750     PUSH32(esp, edx); /* 0x250DB192: push edx */
   3751     ecx = esi; /* 0x250DB193: mov ecx, esi */
   3752     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   3753     RECOMP_FLAGS_IN();
   3754     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   3755     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   3756     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   3757     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   3758     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   3759     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   3760     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   3761     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   3762     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   3763     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   3764     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   3765     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   3766     RECOMP_FLAGS_IN();
   3767     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   3768 L_250DB1BE:
   3769     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   3770     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   3771     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3772     _flag_k = FK_CMP;
   3773     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   3774 L_250DB1C3:
   3775     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   3776     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   3777     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   3778     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   3779     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   3780     RECOMP_FLAGS_IN();
   3781     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   3782     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   3783     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   3784     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   3785     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   3786     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   3787     RECOMP_FLAGS_IN();
   3788     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   3789     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   3790     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   3791     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3792     _flag_k = FK_CMP;
   3793     RECOMP_BACKEDGE();
   3794     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   3795 L_250DB1E6:
   3796     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   3797     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   3798     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   3799     RECOMP_FLAGS_IN();
   3800     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   3801     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   3802     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   3803     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   3804     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   3805     RECOMP_FLAGS_IN();
   3806     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3807     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3808     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   3809     _flag_k = FK_ADD;
   3810     eax = edi; /* 0x250DB201: mov eax, edi */
   3811     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   3812     _cf = (eax) != 0;
   3813     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   3814     _flag_k = FK_CMP;
   3815     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   3816       eax = _sc ? 0xFFFFFFFFu : 0;
   3817       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   3818       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   3819     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   3820     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   3821     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3822     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   3823     _cf = 0;
   3824     _flag_k = FK_TEST;
   3825     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   3826     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   3827     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   3828     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   3829     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   3830     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3831     _flag_k = FK_CMP;
   3832     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   3833     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   3834     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   3835     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   3836     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   3837 L_250DB22E:
   3838     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   3839     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   3840     ecx = esi; /* 0x250DB232: mov ecx, esi */
   3841     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   3842     RECOMP_FLAGS_IN();
   3843     edx = eax; /* 0x250DB239: mov edx, eax */
   3844     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   3845     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   3846     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   3847     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3848     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3849     _flag_k = FK_CMP;
   3850     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   3851     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   3852     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3853     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3854     _flag_k = FK_NARROW(FK_CMP, 24);
   3855     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   3856 L_250DB249:
   3857     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   3858     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   3859     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   3860     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3861     _flag_k = FK_CMP;
   3862     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   3863 L_250DB251:
   3864     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   3865     PUSH32(esp, eax); /* 0x250DB254: push eax */
   3866     ecx = esi; /* 0x250DB255: mov ecx, esi */
   3867     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   3868     RECOMP_FLAGS_IN();
   3869     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   3870     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   3871     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   3872     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   3873     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   3874     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   3875     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   3876     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   3877     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   3878     PUSH32(esp, eax); /* 0x250DB276: push eax */
   3879     ecx = esi; /* 0x250DB277: mov ecx, esi */
   3880     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   3881     RECOMP_FLAGS_IN();
   3882     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   3883 L_250DB280:
   3884     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   3885     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   3886     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3887     _flag_k = FK_CMP;
   3888     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   3889 L_250DB285:
   3890     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   3891     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   3892     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   3893     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   3894     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   3895     RECOMP_FLAGS_IN();
   3896     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   3897     PUSH32(esp, edx); /* 0x250DB294: push edx */
   3898     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   3899     PUSH32(esp, eax); /* 0x250DB298: push eax */
   3900     ecx = esi; /* 0x250DB299: mov ecx, esi */
   3901     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   3902     RECOMP_FLAGS_IN();
   3903     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   3904     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   3905     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   3906     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3907     _flag_k = FK_CMP;
   3908     RECOMP_BACKEDGE();
   3909     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   3910 L_250DB2A8:
   3911     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   3912     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   3913     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   3914     RECOMP_FLAGS_IN();
   3915     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   3916     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   3917     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   3918     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   3919     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   3920     RECOMP_FLAGS_IN();
   3921     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3922     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3923     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   3924     _flag_k = FK_ADD;
   3925     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   3926     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   3927     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   3928     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   3929     RECOMP_FLAGS_IN();
   3930     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   3931     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   3932     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   3933     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   3934     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   3935     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   3936     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   3937     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   3938 L_2514C3F0:
   3939     ecx = MEM32(ebp + (-0x10)); /* 0x2514C3F0: mov ecx, dword ptr [ebp - 0x10] */
   3940     RECOMP_BACKEDGE();
   3941     goto L_250DB0B0; /* 0x2514C3F3: jmp 0x250db0b0 */
   3942     { RECOMP_REGS_OUT(); return; } /* end of function */
   3943     RECOMP_REGS_OUT();
   3944 }
   3945 
   3946 void sub_2514C3F8(void) {
   3947     int _fpu_cmp = 0;
   3948     uint32_t _cf = 0;
   3949     int _df = 1;
   3950     uint32_t _flag_k = FK_NONE;
   3951     uint32_t _flag_a = 0, _flag_b = 0;
   3952     uint32_t _itail_tgt = 0;
   3953     RECOMP_REGS_LOCALS
   3954     RECOMP_ENTER(0x2514C3F8u);
   3955 
   3956     goto L_2514C3F8;
   3957 L_250E0BF0:
   3958     PUSH32(esp, ebx); /* 0x250E0BF0: push ebx */
   3959     PUSH32(esp, esi); /* 0x250E0BF1: push esi */
   3960     PUSH32(esp, edi); /* 0x250E0BF2: push edi */
   3961     edi = ecx; /* 0x250E0BF3: mov edi, ecx */
   3962     ebx = MEM32(edi + 0x8); /* 0x250E0BF5: mov ebx, dword ptr [edi + 8] */
   3963     esi = MEM32(edi + 0x4); /* 0x250E0BF8: mov esi, dword ptr [edi + 4] */
   3964     /* cmp esi, ebx */ /* 0x250E0BFB: cmp esi, ebx */
   3965     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3966     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3967     _flag_k = FK_CMP;
   3968     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0C0D; /* 0x250E0BFD: je 0x250e0c0d */
   3969 L_250E0BFF:
   3970     ecx = esi; /* 0x250E0BFF: mov ecx, esi */
   3971     RECOMP_ICALL(0x25105C10u); /* 0x250E0C01: call 0x25105c10 */ /* not lifted */
   3972     RECOMP_FLAGS_IN();
   3973     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   3974     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3975     esi = esi + 0xCu; /* 0x250E0C06: add esi, 0xc */
   3976     _flag_k = FK_ADD;
   3977     /* cmp esi, ebx */ /* 0x250E0C09: cmp esi, ebx */
   3978     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3980     _flag_k = FK_CMP;
   3981     RECOMP_BACKEDGE();
   3982     if (CMP_NE(_flag_a, _flag_b)) goto L_250E0BFF; /* 0x250E0C0B: jne 0x250e0bff */
   3983 L_250E0C0D:
   3984     eax = MEM32(edi + 0x4); /* 0x250E0C0D: mov eax, dword ptr [edi + 4] */
   3985     PUSH32(esp, eax); /* 0x250E0C10: push eax */
   3986     RECOMP_ICALL(0x25137EECu); /* 0x250E0C11: call 0x25137eec */ /* not lifted */
   3987     RECOMP_FLAGS_IN();
   3988     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3989     eax = 0; /* 0x250E0C16: xor eax, eax */
   3990     _cf = 0;
   3991     _flag_k = FK_TEST;
   3992     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3993     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3994     esp = esp + 4; /* 0x250E0C18: add esp, 4 */
   3995     _flag_k = FK_ADD;
   3996     MEM32(edi + 0x4) = eax; /* 0x250E0C1B: mov dword ptr [edi + 4], eax */
   3997     MEM32(edi + 0x8) = eax; /* 0x250E0C1E: mov dword ptr [edi + 8], eax */
   3998     MEM32(edi + 0xC) = eax; /* 0x250E0C21: mov dword ptr [edi + 0xc], eax */
   3999     edi = POP32_VAL(esp); /* 0x250E0C24: pop edi */
   4000     esi = POP32_VAL(esp); /* 0x250E0C25: pop esi */
   4001     ebx = POP32_VAL(esp); /* 0x250E0C26: pop ebx */
   4002     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0C27: ret  */
   4003 L_2514C3F8:
   4004     ecx = MEM32(ebp + (-0x10)); /* 0x2514C3F8: mov ecx, dword ptr [ebp - 0x10] */
   4005     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1DCu);
   4006     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4007     ecx = ecx + 0x1DCu; /* 0x2514C3FB: add ecx, 0x1dc */
   4008     _flag_k = FK_ADD;
   4009     RECOMP_BACKEDGE();
   4010     goto L_250E0BF0; /* 0x2514C401: jmp 0x250e0bf0 */
   4011     { RECOMP_REGS_OUT(); return; } /* end of function */
   4012     RECOMP_REGS_OUT();
   4013 }
   4014 
   4015 void sub_2514C406(void) {
   4016     int _fpu_cmp = 0;
   4017     uint32_t _cf = 0;
   4018     int _df = 1;
   4019     uint32_t _flag_k = FK_NONE;
   4020     uint32_t _flag_a = 0, _flag_b = 0;
   4021     uint32_t _itail_tgt = 0;
   4022     RECOMP_REGS_LOCALS
   4023     RECOMP_ENTER(0x2514C406u);
   4024 
   4025     goto L_2514C406;
   4026 L_251380C4:
   4027     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4028 L_2514C406:
   4029     eax = 0x2516D4C8u; /* 0x2514C406: mov eax, 0x2516d4c8 */
   4030 L_2514C40B:
   4031     RECOMP_BACKEDGE();
   4032     goto L_251380C4; /* 0x2514C40B: jmp 0x251380c4 */
   4033     { RECOMP_REGS_OUT(); return; } /* end of function */
   4034   _ljump:
   4035     switch (_itail_tgt) {
   4036       case 0x251380C4u: goto L_251380C4;
   4037       case 0x2514C406u: goto L_2514C406;
   4038       case 0x2514C40Bu: goto L_2514C40B;
   4039       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4040     }
   4041     RECOMP_REGS_OUT();
   4042 }
   4043 
   4044 void sub_2514C410(void) {
   4045     int _fpu_cmp = 0;
   4046     uint32_t _cf = 0;
   4047     int _df = 1;
   4048     uint32_t _flag_k = FK_NONE;
   4049     uint32_t _flag_a = 0, _flag_b = 0;
   4050     uint32_t _itail_tgt = 0;
   4051     RECOMP_REGS_LOCALS
   4052     RECOMP_ENTER(0x2514C410u);
   4053 
   4054     goto L_2514C410;
   4055 L_250DB0B0:
   4056     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   4057     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   4058     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   4059     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   4060     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   4061     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   4062     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   4063     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4064     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4065     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   4066     _flag_k = FK_CMP;
   4067     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   4068     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   4069     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   4070     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   4071     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   4072     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   4073     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   4074     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   4075     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   4076     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   4077     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   4078     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   4079     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   4080     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   4081     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4082     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   4083     _cf = 0;
   4084     _flag_k = FK_TEST;
   4085     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4086     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4087     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4088     _flag_k = FK_CMP;
   4089     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4090     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4091 L_250DB11E:
   4092     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4093     RECOMP_FLAGS_IN();
   4094 L_250DB123:
   4095     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4096     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4097     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4098     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4099     RECOMP_FLAGS_IN();
   4100     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4101     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4102     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4103     _flag_k = FK_ADD;
   4104     eax = edi; /* 0x250DB135: mov eax, edi */
   4105     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4106     _cf = (eax) != 0;
   4107     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4108     _flag_k = FK_CMP;
   4109     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4110       eax = _sc ? 0xFFFFFFFFu : 0;
   4111       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4112       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4113     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4114     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4115     _cf = 0;
   4116     _flag_k = FK_TEST;
   4117     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4118     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4119     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4120     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4121     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4122     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4123     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4124     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4125     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4126     _flag_k = FK_CMP;
   4127     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4128     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4129     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4130     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   4131     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   4132 L_250DB16C:
   4133     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   4134     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   4135     ecx = esi; /* 0x250DB170: mov ecx, esi */
   4136     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   4137     RECOMP_FLAGS_IN();
   4138     ecx = eax; /* 0x250DB177: mov ecx, eax */
   4139     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   4140     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   4141     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   4142     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4143     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4144     _flag_k = FK_CMP;
   4145     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   4146     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   4147     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4148     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4149     _flag_k = FK_NARROW(FK_CMP, 24);
   4150     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   4151 L_250DB187:
   4152     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   4153     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   4154     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4155     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4156     _flag_k = FK_CMP;
   4157     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   4158 L_250DB18F:
   4159     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   4160     PUSH32(esp, edx); /* 0x250DB192: push edx */
   4161     ecx = esi; /* 0x250DB193: mov ecx, esi */
   4162     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   4163     RECOMP_FLAGS_IN();
   4164     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   4165     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   4166     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   4167     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   4168     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   4169     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   4170     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   4171     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   4172     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   4173     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   4174     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   4175     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   4176     RECOMP_FLAGS_IN();
   4177     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   4178 L_250DB1BE:
   4179     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   4180     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   4181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4182     _flag_k = FK_CMP;
   4183     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   4184 L_250DB1C3:
   4185     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   4186     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   4187     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   4188     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   4189     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   4190     RECOMP_FLAGS_IN();
   4191     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   4192     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   4193     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   4194     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   4195     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   4196     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   4197     RECOMP_FLAGS_IN();
   4198     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   4199     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   4200     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   4201     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4202     _flag_k = FK_CMP;
   4203     RECOMP_BACKEDGE();
   4204     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   4205 L_250DB1E6:
   4206     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   4207     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   4208     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   4209     RECOMP_FLAGS_IN();
   4210     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   4211     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   4212     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   4213     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   4214     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   4215     RECOMP_FLAGS_IN();
   4216     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4217     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4218     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   4219     _flag_k = FK_ADD;
   4220     eax = edi; /* 0x250DB201: mov eax, edi */
   4221     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4222     _cf = (eax) != 0;
   4223     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   4224     _flag_k = FK_CMP;
   4225     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   4226       eax = _sc ? 0xFFFFFFFFu : 0;
   4227       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4228       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4229     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   4230     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   4231     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4232     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   4233     _cf = 0;
   4234     _flag_k = FK_TEST;
   4235     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   4236     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   4237     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   4238     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   4239     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4240     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4241     _flag_k = FK_CMP;
   4242     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   4243     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   4244     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   4245     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   4246     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   4247 L_250DB22E:
   4248     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   4249     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   4250     ecx = esi; /* 0x250DB232: mov ecx, esi */
   4251     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   4252     RECOMP_FLAGS_IN();
   4253     edx = eax; /* 0x250DB239: mov edx, eax */
   4254     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   4255     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   4256     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   4257     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4258     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4259     _flag_k = FK_CMP;
   4260     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   4261     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   4262     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4263     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4264     _flag_k = FK_NARROW(FK_CMP, 24);
   4265     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   4266 L_250DB249:
   4267     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   4268     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   4269     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   4270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4271     _flag_k = FK_CMP;
   4272     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   4273 L_250DB251:
   4274     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   4275     PUSH32(esp, eax); /* 0x250DB254: push eax */
   4276     ecx = esi; /* 0x250DB255: mov ecx, esi */
   4277     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   4278     RECOMP_FLAGS_IN();
   4279     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   4280     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   4281     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   4282     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   4283     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   4284     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   4285     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   4286     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   4287     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   4288     PUSH32(esp, eax); /* 0x250DB276: push eax */
   4289     ecx = esi; /* 0x250DB277: mov ecx, esi */
   4290     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   4291     RECOMP_FLAGS_IN();
   4292     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   4293 L_250DB280:
   4294     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   4295     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   4296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4297     _flag_k = FK_CMP;
   4298     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   4299 L_250DB285:
   4300     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   4301     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   4302     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   4303     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   4304     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   4305     RECOMP_FLAGS_IN();
   4306     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   4307     PUSH32(esp, edx); /* 0x250DB294: push edx */
   4308     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   4309     PUSH32(esp, eax); /* 0x250DB298: push eax */
   4310     ecx = esi; /* 0x250DB299: mov ecx, esi */
   4311     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   4312     RECOMP_FLAGS_IN();
   4313     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   4314     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   4315     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4317     _flag_k = FK_CMP;
   4318     RECOMP_BACKEDGE();
   4319     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   4320 L_250DB2A8:
   4321     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   4322     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   4323     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   4324     RECOMP_FLAGS_IN();
   4325     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   4326     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   4327     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   4328     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   4329     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   4330     RECOMP_FLAGS_IN();
   4331     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4332     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4333     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   4334     _flag_k = FK_ADD;
   4335     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   4336     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   4337     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   4338     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   4339     RECOMP_FLAGS_IN();
   4340     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   4341     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   4342     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   4343     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   4344     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   4345     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   4346     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   4347     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   4348 L_2514C410:
   4349     ecx = MEM32(ebp + (-0x1C)); /* 0x2514C410: mov ecx, dword ptr [ebp - 0x1c] */
   4350     RECOMP_BACKEDGE();
   4351     goto L_250DB0B0; /* 0x2514C413: jmp 0x250db0b0 */
   4352     { RECOMP_REGS_OUT(); return; } /* end of function */
   4353     RECOMP_REGS_OUT();
   4354 }
   4355 
   4356 void sub_2514C418(void) {
   4357     int _fpu_cmp = 0;
   4358     uint32_t _cf = 0;
   4359     int _df = 1;
   4360     uint32_t _flag_k = FK_NONE;
   4361     uint32_t _flag_a = 0, _flag_b = 0;
   4362     uint32_t _itail_tgt = 0;
   4363     RECOMP_REGS_LOCALS
   4364     RECOMP_ENTER(0x2514C418u);
   4365 
   4366     goto L_2514C418;
   4367 L_250E0BF0:
   4368     PUSH32(esp, ebx); /* 0x250E0BF0: push ebx */
   4369     PUSH32(esp, esi); /* 0x250E0BF1: push esi */
   4370     PUSH32(esp, edi); /* 0x250E0BF2: push edi */
   4371     edi = ecx; /* 0x250E0BF3: mov edi, ecx */
   4372     ebx = MEM32(edi + 0x8); /* 0x250E0BF5: mov ebx, dword ptr [edi + 8] */
   4373     esi = MEM32(edi + 0x4); /* 0x250E0BF8: mov esi, dword ptr [edi + 4] */
   4374     /* cmp esi, ebx */ /* 0x250E0BFB: cmp esi, ebx */
   4375     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4376     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4377     _flag_k = FK_CMP;
   4378     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0C0D; /* 0x250E0BFD: je 0x250e0c0d */
   4379 L_250E0BFF:
   4380     ecx = esi; /* 0x250E0BFF: mov ecx, esi */
   4381     RECOMP_ICALL(0x25105C10u); /* 0x250E0C01: call 0x25105c10 */ /* not lifted */
   4382     RECOMP_FLAGS_IN();
   4383     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   4384     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4385     esi = esi + 0xCu; /* 0x250E0C06: add esi, 0xc */
   4386     _flag_k = FK_ADD;
   4387     /* cmp esi, ebx */ /* 0x250E0C09: cmp esi, ebx */
   4388     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4389     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4390     _flag_k = FK_CMP;
   4391     RECOMP_BACKEDGE();
   4392     if (CMP_NE(_flag_a, _flag_b)) goto L_250E0BFF; /* 0x250E0C0B: jne 0x250e0bff */
   4393 L_250E0C0D:
   4394     eax = MEM32(edi + 0x4); /* 0x250E0C0D: mov eax, dword ptr [edi + 4] */
   4395     PUSH32(esp, eax); /* 0x250E0C10: push eax */
   4396     RECOMP_ICALL(0x25137EECu); /* 0x250E0C11: call 0x25137eec */ /* not lifted */
   4397     RECOMP_FLAGS_IN();
   4398     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4399     eax = 0; /* 0x250E0C16: xor eax, eax */
   4400     _cf = 0;
   4401     _flag_k = FK_TEST;
   4402     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4403     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4404     esp = esp + 4; /* 0x250E0C18: add esp, 4 */
   4405     _flag_k = FK_ADD;
   4406     MEM32(edi + 0x4) = eax; /* 0x250E0C1B: mov dword ptr [edi + 4], eax */
   4407     MEM32(edi + 0x8) = eax; /* 0x250E0C1E: mov dword ptr [edi + 8], eax */
   4408     MEM32(edi + 0xC) = eax; /* 0x250E0C21: mov dword ptr [edi + 0xc], eax */
   4409     edi = POP32_VAL(esp); /* 0x250E0C24: pop edi */
   4410     esi = POP32_VAL(esp); /* 0x250E0C25: pop esi */
   4411     ebx = POP32_VAL(esp); /* 0x250E0C26: pop ebx */
   4412     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0C27: ret  */
   4413 L_2514C418:
   4414     ecx = MEM32(ebp + (-0x1C)); /* 0x2514C418: mov ecx, dword ptr [ebp - 0x1c] */
   4415     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1DCu);
   4416     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4417     ecx = ecx + 0x1DCu; /* 0x2514C41B: add ecx, 0x1dc */
   4418     _flag_k = FK_ADD;
   4419     RECOMP_BACKEDGE();
   4420     goto L_250E0BF0; /* 0x2514C421: jmp 0x250e0bf0 */
   4421     { RECOMP_REGS_OUT(); return; } /* end of function */
   4422     RECOMP_REGS_OUT();
   4423 }
   4424 
   4425 void sub_2514C426(void) {
   4426     int _fpu_cmp = 0;
   4427     uint32_t _cf = 0;
   4428     int _df = 1;
   4429     uint32_t _flag_k = FK_NONE;
   4430     uint32_t _flag_a = 0, _flag_b = 0;
   4431     uint32_t _itail_tgt = 0;
   4432     RECOMP_REGS_LOCALS
   4433     RECOMP_ENTER(0x2514C426u);
   4434 
   4435     goto L_2514C426;
   4436 L_251380C4:
   4437     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4438 L_2514C426:
   4439     eax = 0x2516D4F8u; /* 0x2514C426: mov eax, 0x2516d4f8 */
   4440 L_2514C42B:
   4441     RECOMP_BACKEDGE();
   4442     goto L_251380C4; /* 0x2514C42B: jmp 0x251380c4 */
   4443     { RECOMP_REGS_OUT(); return; } /* end of function */
   4444   _ljump:
   4445     switch (_itail_tgt) {
   4446       case 0x251380C4u: goto L_251380C4;
   4447       case 0x2514C426u: goto L_2514C426;
   4448       case 0x2514C42Bu: goto L_2514C42B;
   4449       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4450     }
   4451     RECOMP_REGS_OUT();
   4452 }
   4453 
   4454 void sub_2514C430(void) {
   4455     int _fpu_cmp = 0;
   4456     uint32_t _cf = 0;
   4457     int _df = 1;
   4458     uint32_t _flag_k = FK_NONE;
   4459     uint32_t _flag_a = 0, _flag_b = 0;
   4460     uint32_t _itail_tgt = 0;
   4461     RECOMP_REGS_LOCALS
   4462     RECOMP_ENTER(0x2514C430u);
   4463 
   4464 L_2514C430:
   4465     eax = MEM32(ebp + (-0x10)); /* 0x2514C430: mov eax, dword ptr [ebp - 0x10] */
   4466     PUSH32(esp, eax); /* 0x2514C433: push eax */
   4467     RECOMP_ICALL(0x25137EECu); /* 0x2514C434: call 0x25137eec */ /* not lifted */
   4468     RECOMP_FLAGS_IN();
   4469     ecx = POP32_VAL(esp); /* 0x2514C439: pop ecx */
   4470     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C43A: ret  */
   4471     RECOMP_REGS_OUT();
   4472 }
   4473 
   4474 void sub_2514C43B(void) {
   4475     int _fpu_cmp = 0;
   4476     uint32_t _cf = 0;
   4477     int _df = 1;
   4478     uint32_t _flag_k = FK_NONE;
   4479     uint32_t _flag_a = 0, _flag_b = 0;
   4480     uint32_t _itail_tgt = 0;
   4481     RECOMP_REGS_LOCALS
   4482     RECOMP_ENTER(0x2514C43Bu);
   4483 
   4484     goto L_2514C43B;
   4485 L_251380C4:
   4486     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4487 L_2514C43B:
   4488     eax = 0x2516D528u; /* 0x2514C43B: mov eax, 0x2516d528 */
   4489 L_2514C440:
   4490     RECOMP_BACKEDGE();
   4491     goto L_251380C4; /* 0x2514C440: jmp 0x251380c4 */
   4492     { RECOMP_REGS_OUT(); return; } /* end of function */
   4493   _ljump:
   4494     switch (_itail_tgt) {
   4495       case 0x251380C4u: goto L_251380C4;
   4496       case 0x2514C43Bu: goto L_2514C43B;
   4497       case 0x2514C440u: goto L_2514C440;
   4498       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4499     }
   4500     RECOMP_REGS_OUT();
   4501 }
   4502 
   4503 void sub_2514C450(void) {
   4504     int _fpu_cmp = 0;
   4505     uint32_t _cf = 0;
   4506     int _df = 1;
   4507     uint32_t _flag_k = FK_NONE;
   4508     uint32_t _flag_a = 0, _flag_b = 0;
   4509     uint32_t _itail_tgt = 0;
   4510     RECOMP_REGS_LOCALS
   4511     RECOMP_ENTER(0x2514C450u);
   4512 
   4513     goto L_2514C450;
   4514 L_250DB0B0:
   4515     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   4516     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   4517     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   4518     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   4519     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   4520     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   4521     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   4522     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4523     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4524     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   4525     _flag_k = FK_CMP;
   4526     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   4527     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   4528     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   4529     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   4530     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   4531     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   4532     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   4533     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   4534     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   4535     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   4536     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   4537     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   4538     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   4539     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   4540     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4541     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   4542     _cf = 0;
   4543     _flag_k = FK_TEST;
   4544     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4545     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4547     _flag_k = FK_CMP;
   4548     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4549     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4550 L_250DB11E:
   4551     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4552     RECOMP_FLAGS_IN();
   4553 L_250DB123:
   4554     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4555     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4556     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4557     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4558     RECOMP_FLAGS_IN();
   4559     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4560     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4561     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4562     _flag_k = FK_ADD;
   4563     eax = edi; /* 0x250DB135: mov eax, edi */
   4564     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4565     _cf = (eax) != 0;
   4566     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4567     _flag_k = FK_CMP;
   4568     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4569       eax = _sc ? 0xFFFFFFFFu : 0;
   4570       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4571       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4572     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4573     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4574     _cf = 0;
   4575     _flag_k = FK_TEST;
   4576     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4577     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4578     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4579     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4580     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4581     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4582     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4583     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4584     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4585     _flag_k = FK_CMP;
   4586     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4587     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4588     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4589     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   4590     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   4591 L_250DB16C:
   4592     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   4593     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   4594     ecx = esi; /* 0x250DB170: mov ecx, esi */
   4595     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   4596     RECOMP_FLAGS_IN();
   4597     ecx = eax; /* 0x250DB177: mov ecx, eax */
   4598     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   4599     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   4600     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   4601     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4602     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4603     _flag_k = FK_CMP;
   4604     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   4605     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   4606     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4608     _flag_k = FK_NARROW(FK_CMP, 24);
   4609     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   4610 L_250DB187:
   4611     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   4612     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   4613     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4614     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4615     _flag_k = FK_CMP;
   4616     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   4617 L_250DB18F:
   4618     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   4619     PUSH32(esp, edx); /* 0x250DB192: push edx */
   4620     ecx = esi; /* 0x250DB193: mov ecx, esi */
   4621     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   4622     RECOMP_FLAGS_IN();
   4623     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   4624     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   4625     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   4626     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   4627     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   4628     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   4629     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   4630     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   4631     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   4632     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   4633     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   4634     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   4635     RECOMP_FLAGS_IN();
   4636     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   4637 L_250DB1BE:
   4638     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   4639     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   4640     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4641     _flag_k = FK_CMP;
   4642     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   4643 L_250DB1C3:
   4644     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   4645     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   4646     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   4647     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   4648     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   4649     RECOMP_FLAGS_IN();
   4650     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   4651     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   4652     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   4653     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   4654     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   4655     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   4656     RECOMP_FLAGS_IN();
   4657     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   4658     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   4659     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   4660     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4661     _flag_k = FK_CMP;
   4662     RECOMP_BACKEDGE();
   4663     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   4664 L_250DB1E6:
   4665     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   4666     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   4667     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   4668     RECOMP_FLAGS_IN();
   4669     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   4670     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   4671     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   4672     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   4673     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   4674     RECOMP_FLAGS_IN();
   4675     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4676     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4677     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   4678     _flag_k = FK_ADD;
   4679     eax = edi; /* 0x250DB201: mov eax, edi */
   4680     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4681     _cf = (eax) != 0;
   4682     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   4683     _flag_k = FK_CMP;
   4684     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   4685       eax = _sc ? 0xFFFFFFFFu : 0;
   4686       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4687       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4688     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   4689     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   4690     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4691     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   4692     _cf = 0;
   4693     _flag_k = FK_TEST;
   4694     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   4695     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   4696     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   4697     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   4698     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4699     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4700     _flag_k = FK_CMP;
   4701     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   4702     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   4703     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   4704     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   4705     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   4706 L_250DB22E:
   4707     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   4708     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   4709     ecx = esi; /* 0x250DB232: mov ecx, esi */
   4710     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   4711     RECOMP_FLAGS_IN();
   4712     edx = eax; /* 0x250DB239: mov edx, eax */
   4713     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   4714     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   4715     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   4716     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4717     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4718     _flag_k = FK_CMP;
   4719     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   4720     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   4721     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4722     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4723     _flag_k = FK_NARROW(FK_CMP, 24);
   4724     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   4725 L_250DB249:
   4726     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   4727     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   4728     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   4729     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4730     _flag_k = FK_CMP;
   4731     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   4732 L_250DB251:
   4733     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   4734     PUSH32(esp, eax); /* 0x250DB254: push eax */
   4735     ecx = esi; /* 0x250DB255: mov ecx, esi */
   4736     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   4737     RECOMP_FLAGS_IN();
   4738     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   4739     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   4740     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   4741     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   4742     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   4743     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   4744     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   4745     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   4746     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   4747     PUSH32(esp, eax); /* 0x250DB276: push eax */
   4748     ecx = esi; /* 0x250DB277: mov ecx, esi */
   4749     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   4750     RECOMP_FLAGS_IN();
   4751     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   4752 L_250DB280:
   4753     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   4754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   4755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4756     _flag_k = FK_CMP;
   4757     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   4758 L_250DB285:
   4759     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   4760     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   4761     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   4762     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   4763     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   4764     RECOMP_FLAGS_IN();
   4765     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   4766     PUSH32(esp, edx); /* 0x250DB294: push edx */
   4767     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   4768     PUSH32(esp, eax); /* 0x250DB298: push eax */
   4769     ecx = esi; /* 0x250DB299: mov ecx, esi */
   4770     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   4771     RECOMP_FLAGS_IN();
   4772     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   4773     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   4774     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   4775     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4776     _flag_k = FK_CMP;
   4777     RECOMP_BACKEDGE();
   4778     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   4779 L_250DB2A8:
   4780     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   4781     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   4782     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   4783     RECOMP_FLAGS_IN();
   4784     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   4785     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   4786     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   4787     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   4788     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   4789     RECOMP_FLAGS_IN();
   4790     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4791     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4792     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   4793     _flag_k = FK_ADD;
   4794     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   4795     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   4796     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   4797     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   4798     RECOMP_FLAGS_IN();
   4799     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   4800     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   4801     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   4802     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   4803     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   4804     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   4805     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   4806     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   4807 L_2514C450:
   4808     ecx = MEM32(ebp + (-0x14)); /* 0x2514C450: mov ecx, dword ptr [ebp - 0x14] */
   4809     RECOMP_BACKEDGE();
   4810     goto L_250DB0B0; /* 0x2514C453: jmp 0x250db0b0 */
   4811     { RECOMP_REGS_OUT(); return; } /* end of function */
   4812     RECOMP_REGS_OUT();
   4813 }
   4814 
   4815 void sub_2514C458(void) {
   4816     int _fpu_cmp = 0;
   4817     uint32_t _cf = 0;
   4818     int _df = 1;
   4819     uint32_t _flag_k = FK_NONE;
   4820     uint32_t _flag_a = 0, _flag_b = 0;
   4821     uint32_t _itail_tgt = 0;
   4822     RECOMP_REGS_LOCALS
   4823     RECOMP_ENTER(0x2514C458u);
   4824 
   4825     goto L_2514C458;
   4826 L_250E0BF0:
   4827     PUSH32(esp, ebx); /* 0x250E0BF0: push ebx */
   4828     PUSH32(esp, esi); /* 0x250E0BF1: push esi */
   4829     PUSH32(esp, edi); /* 0x250E0BF2: push edi */
   4830     edi = ecx; /* 0x250E0BF3: mov edi, ecx */
   4831     ebx = MEM32(edi + 0x8); /* 0x250E0BF5: mov ebx, dword ptr [edi + 8] */
   4832     esi = MEM32(edi + 0x4); /* 0x250E0BF8: mov esi, dword ptr [edi + 4] */
   4833     /* cmp esi, ebx */ /* 0x250E0BFB: cmp esi, ebx */
   4834     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4835     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4836     _flag_k = FK_CMP;
   4837     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0C0D; /* 0x250E0BFD: je 0x250e0c0d */
   4838 L_250E0BFF:
   4839     ecx = esi; /* 0x250E0BFF: mov ecx, esi */
   4840     RECOMP_ICALL(0x25105C10u); /* 0x250E0C01: call 0x25105c10 */ /* not lifted */
   4841     RECOMP_FLAGS_IN();
   4842     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   4843     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4844     esi = esi + 0xCu; /* 0x250E0C06: add esi, 0xc */
   4845     _flag_k = FK_ADD;
   4846     /* cmp esi, ebx */ /* 0x250E0C09: cmp esi, ebx */
   4847     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4848     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4849     _flag_k = FK_CMP;
   4850     RECOMP_BACKEDGE();
   4851     if (CMP_NE(_flag_a, _flag_b)) goto L_250E0BFF; /* 0x250E0C0B: jne 0x250e0bff */
   4852 L_250E0C0D:
   4853     eax = MEM32(edi + 0x4); /* 0x250E0C0D: mov eax, dword ptr [edi + 4] */
   4854     PUSH32(esp, eax); /* 0x250E0C10: push eax */
   4855     RECOMP_ICALL(0x25137EECu); /* 0x250E0C11: call 0x25137eec */ /* not lifted */
   4856     RECOMP_FLAGS_IN();
   4857     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4858     eax = 0; /* 0x250E0C16: xor eax, eax */
   4859     _cf = 0;
   4860     _flag_k = FK_TEST;
   4861     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4862     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4863     esp = esp + 4; /* 0x250E0C18: add esp, 4 */
   4864     _flag_k = FK_ADD;
   4865     MEM32(edi + 0x4) = eax; /* 0x250E0C1B: mov dword ptr [edi + 4], eax */
   4866     MEM32(edi + 0x8) = eax; /* 0x250E0C1E: mov dword ptr [edi + 8], eax */
   4867     MEM32(edi + 0xC) = eax; /* 0x250E0C21: mov dword ptr [edi + 0xc], eax */
   4868     edi = POP32_VAL(esp); /* 0x250E0C24: pop edi */
   4869     esi = POP32_VAL(esp); /* 0x250E0C25: pop esi */
   4870     ebx = POP32_VAL(esp); /* 0x250E0C26: pop ebx */
   4871     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0C27: ret  */
   4872 L_2514C458:
   4873     ecx = MEM32(ebp + (-0x14)); /* 0x2514C458: mov ecx, dword ptr [ebp - 0x14] */
   4874     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1DCu);
   4875     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4876     ecx = ecx + 0x1DCu; /* 0x2514C45B: add ecx, 0x1dc */
   4877     _flag_k = FK_ADD;
   4878     RECOMP_BACKEDGE();
   4879     goto L_250E0BF0; /* 0x2514C461: jmp 0x250e0bf0 */
   4880     { RECOMP_REGS_OUT(); return; } /* end of function */
   4881     RECOMP_REGS_OUT();
   4882 }
   4883 
   4884 void sub_2514C466(void) {
   4885     int _fpu_cmp = 0;
   4886     uint32_t _cf = 0;
   4887     int _df = 1;
   4888     uint32_t _flag_k = FK_NONE;
   4889     uint32_t _flag_a = 0, _flag_b = 0;
   4890     uint32_t _itail_tgt = 0;
   4891     RECOMP_REGS_LOCALS
   4892     RECOMP_ENTER(0x2514C466u);
   4893 
   4894     goto L_2514C466;
   4895 L_251380C4:
   4896     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   4897 L_2514C466:
   4898     eax = 0x2516D550u; /* 0x2514C466: mov eax, 0x2516d550 */
   4899 L_2514C46B:
   4900     RECOMP_BACKEDGE();
   4901     goto L_251380C4; /* 0x2514C46B: jmp 0x251380c4 */
   4902     { RECOMP_REGS_OUT(); return; } /* end of function */
   4903   _ljump:
   4904     switch (_itail_tgt) {
   4905       case 0x251380C4u: goto L_251380C4;
   4906       case 0x2514C466u: goto L_2514C466;
   4907       case 0x2514C46Bu: goto L_2514C46B;
   4908       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4909     }
   4910     RECOMP_REGS_OUT();
   4911 }
   4912 
   4913 void sub_2514C470(void) {
   4914     int _fpu_cmp = 0;
   4915     uint32_t _cf = 0;
   4916     int _df = 1;
   4917     uint32_t _flag_k = FK_NONE;
   4918     uint32_t _flag_a = 0, _flag_b = 0;
   4919     uint32_t _itail_tgt = 0;
   4920     RECOMP_REGS_LOCALS
   4921     RECOMP_ENTER(0x2514C470u);
   4922 
   4923     goto L_2514C470;
   4924 L_250DB0B0:
   4925     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   4926     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   4927     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   4928     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   4929     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   4930     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   4931     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   4932     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4934     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   4935     _flag_k = FK_CMP;
   4936     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   4937     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   4938     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   4939     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   4940     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   4941     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   4942     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   4943     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   4944     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   4945     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   4946     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   4947     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   4948     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   4949     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   4950     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4951     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   4952     _cf = 0;
   4953     _flag_k = FK_TEST;
   4954     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   4955     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4956     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4957     _flag_k = FK_CMP;
   4958     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   4959     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   4960 L_250DB11E:
   4961     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   4962     RECOMP_FLAGS_IN();
   4963 L_250DB123:
   4964     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   4965     PUSH32(esp, eax); /* 0x250DB129: push eax */
   4966     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   4967     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   4968     RECOMP_FLAGS_IN();
   4969     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4970     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4971     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   4972     _flag_k = FK_ADD;
   4973     eax = edi; /* 0x250DB135: mov eax, edi */
   4974     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   4975     _cf = (eax) != 0;
   4976     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   4977     _flag_k = FK_CMP;
   4978     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   4979       eax = _sc ? 0xFFFFFFFFu : 0;
   4980       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   4981       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   4982     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4983     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   4984     _cf = 0;
   4985     _flag_k = FK_TEST;
   4986     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   4987     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   4988     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   4989     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   4990     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   4991     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   4992     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   4993     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   4994     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4995     _flag_k = FK_CMP;
   4996     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   4997     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   4998     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   4999     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   5000     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   5001 L_250DB16C:
   5002     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   5003     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   5004     ecx = esi; /* 0x250DB170: mov ecx, esi */
   5005     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   5006     RECOMP_FLAGS_IN();
   5007     ecx = eax; /* 0x250DB177: mov ecx, eax */
   5008     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   5009     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   5010     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   5011     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5012     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5013     _flag_k = FK_CMP;
   5014     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   5015     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   5016     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5017     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5018     _flag_k = FK_NARROW(FK_CMP, 24);
   5019     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   5020 L_250DB187:
   5021     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   5022     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   5023     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5024     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5025     _flag_k = FK_CMP;
   5026     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   5027 L_250DB18F:
   5028     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   5029     PUSH32(esp, edx); /* 0x250DB192: push edx */
   5030     ecx = esi; /* 0x250DB193: mov ecx, esi */
   5031     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   5032     RECOMP_FLAGS_IN();
   5033     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   5034     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   5035     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   5036     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   5037     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   5038     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   5039     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   5040     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   5041     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   5042     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   5043     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   5044     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   5045     RECOMP_FLAGS_IN();
   5046     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   5047 L_250DB1BE:
   5048     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   5049     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   5050     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5051     _flag_k = FK_CMP;
   5052     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   5053 L_250DB1C3:
   5054     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   5055     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   5056     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   5057     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   5058     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   5059     RECOMP_FLAGS_IN();
   5060     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   5061     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   5062     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   5063     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   5064     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   5065     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   5066     RECOMP_FLAGS_IN();
   5067     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   5068     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   5069     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   5070     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5071     _flag_k = FK_CMP;
   5072     RECOMP_BACKEDGE();
   5073     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   5074 L_250DB1E6:
   5075     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   5076     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   5077     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   5078     RECOMP_FLAGS_IN();
   5079     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   5080     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   5081     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   5082     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   5083     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   5084     RECOMP_FLAGS_IN();
   5085     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5086     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5087     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   5088     _flag_k = FK_ADD;
   5089     eax = edi; /* 0x250DB201: mov eax, edi */
   5090     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5091     _cf = (eax) != 0;
   5092     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   5093     _flag_k = FK_CMP;
   5094     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   5095       eax = _sc ? 0xFFFFFFFFu : 0;
   5096       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5097       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5098     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   5099     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   5100     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5101     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   5102     _cf = 0;
   5103     _flag_k = FK_TEST;
   5104     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   5105     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   5106     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   5107     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   5108     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5109     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5110     _flag_k = FK_CMP;
   5111     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   5112     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   5113     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   5114     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   5115     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   5116 L_250DB22E:
   5117     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   5118     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   5119     ecx = esi; /* 0x250DB232: mov ecx, esi */
   5120     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   5121     RECOMP_FLAGS_IN();
   5122     edx = eax; /* 0x250DB239: mov edx, eax */
   5123     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   5124     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   5125     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   5126     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5128     _flag_k = FK_CMP;
   5129     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   5130     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   5131     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5132     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5133     _flag_k = FK_NARROW(FK_CMP, 24);
   5134     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   5135 L_250DB249:
   5136     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   5137     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   5138     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   5139     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5140     _flag_k = FK_CMP;
   5141     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   5142 L_250DB251:
   5143     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   5144     PUSH32(esp, eax); /* 0x250DB254: push eax */
   5145     ecx = esi; /* 0x250DB255: mov ecx, esi */
   5146     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   5147     RECOMP_FLAGS_IN();
   5148     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   5149     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   5150     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   5151     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   5152     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   5153     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   5154     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   5155     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   5156     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   5157     PUSH32(esp, eax); /* 0x250DB276: push eax */
   5158     ecx = esi; /* 0x250DB277: mov ecx, esi */
   5159     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   5160     RECOMP_FLAGS_IN();
   5161     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   5162 L_250DB280:
   5163     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   5164     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   5165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5166     _flag_k = FK_CMP;
   5167     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   5168 L_250DB285:
   5169     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   5170     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   5171     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   5172     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   5173     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   5174     RECOMP_FLAGS_IN();
   5175     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   5176     PUSH32(esp, edx); /* 0x250DB294: push edx */
   5177     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   5178     PUSH32(esp, eax); /* 0x250DB298: push eax */
   5179     ecx = esi; /* 0x250DB299: mov ecx, esi */
   5180     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   5181     RECOMP_FLAGS_IN();
   5182     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   5183     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   5184     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5185     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5186     _flag_k = FK_CMP;
   5187     RECOMP_BACKEDGE();
   5188     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   5189 L_250DB2A8:
   5190     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   5191     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   5192     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   5193     RECOMP_FLAGS_IN();
   5194     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   5195     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   5196     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   5197     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   5198     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   5199     RECOMP_FLAGS_IN();
   5200     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5201     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5202     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   5203     _flag_k = FK_ADD;
   5204     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   5205     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   5206     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   5207     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   5208     RECOMP_FLAGS_IN();
   5209     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   5210     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   5211     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   5212     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   5213     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   5214     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   5215     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   5216     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   5217 L_2514C470:
   5218     ecx = MEM32(ebp + (-0x10)); /* 0x2514C470: mov ecx, dword ptr [ebp - 0x10] */
   5219     RECOMP_BACKEDGE();
   5220     goto L_250DB0B0; /* 0x2514C473: jmp 0x250db0b0 */
   5221     { RECOMP_REGS_OUT(); return; } /* end of function */
   5222     RECOMP_REGS_OUT();
   5223 }
   5224 
   5225 void sub_2514C478(void) {
   5226     int _fpu_cmp = 0;
   5227     uint32_t _cf = 0;
   5228     int _df = 1;
   5229     uint32_t _flag_k = FK_NONE;
   5230     uint32_t _flag_a = 0, _flag_b = 0;
   5231     uint32_t _itail_tgt = 0;
   5232     RECOMP_REGS_LOCALS
   5233     RECOMP_ENTER(0x2514C478u);
   5234 
   5235     goto L_2514C478;
   5236 L_250E0BF0:
   5237     PUSH32(esp, ebx); /* 0x250E0BF0: push ebx */
   5238     PUSH32(esp, esi); /* 0x250E0BF1: push esi */
   5239     PUSH32(esp, edi); /* 0x250E0BF2: push edi */
   5240     edi = ecx; /* 0x250E0BF3: mov edi, ecx */
   5241     ebx = MEM32(edi + 0x8); /* 0x250E0BF5: mov ebx, dword ptr [edi + 8] */
   5242     esi = MEM32(edi + 0x4); /* 0x250E0BF8: mov esi, dword ptr [edi + 4] */
   5243     /* cmp esi, ebx */ /* 0x250E0BFB: cmp esi, ebx */
   5244     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5245     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5246     _flag_k = FK_CMP;
   5247     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0C0D; /* 0x250E0BFD: je 0x250e0c0d */
   5248 L_250E0BFF:
   5249     ecx = esi; /* 0x250E0BFF: mov ecx, esi */
   5250     RECOMP_ICALL(0x25105C10u); /* 0x250E0C01: call 0x25105c10 */ /* not lifted */
   5251     RECOMP_FLAGS_IN();
   5252     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   5253     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5254     esi = esi + 0xCu; /* 0x250E0C06: add esi, 0xc */
   5255     _flag_k = FK_ADD;
   5256     /* cmp esi, ebx */ /* 0x250E0C09: cmp esi, ebx */
   5257     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5258     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5259     _flag_k = FK_CMP;
   5260     RECOMP_BACKEDGE();
   5261     if (CMP_NE(_flag_a, _flag_b)) goto L_250E0BFF; /* 0x250E0C0B: jne 0x250e0bff */
   5262 L_250E0C0D:
   5263     eax = MEM32(edi + 0x4); /* 0x250E0C0D: mov eax, dword ptr [edi + 4] */
   5264     PUSH32(esp, eax); /* 0x250E0C10: push eax */
   5265     RECOMP_ICALL(0x25137EECu); /* 0x250E0C11: call 0x25137eec */ /* not lifted */
   5266     RECOMP_FLAGS_IN();
   5267     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5268     eax = 0; /* 0x250E0C16: xor eax, eax */
   5269     _cf = 0;
   5270     _flag_k = FK_TEST;
   5271     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5272     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5273     esp = esp + 4; /* 0x250E0C18: add esp, 4 */
   5274     _flag_k = FK_ADD;
   5275     MEM32(edi + 0x4) = eax; /* 0x250E0C1B: mov dword ptr [edi + 4], eax */
   5276     MEM32(edi + 0x8) = eax; /* 0x250E0C1E: mov dword ptr [edi + 8], eax */
   5277     MEM32(edi + 0xC) = eax; /* 0x250E0C21: mov dword ptr [edi + 0xc], eax */
   5278     edi = POP32_VAL(esp); /* 0x250E0C24: pop edi */
   5279     esi = POP32_VAL(esp); /* 0x250E0C25: pop esi */
   5280     ebx = POP32_VAL(esp); /* 0x250E0C26: pop ebx */
   5281     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0C27: ret  */
   5282 L_2514C478:
   5283     ecx = MEM32(ebp + (-0x10)); /* 0x2514C478: mov ecx, dword ptr [ebp - 0x10] */
   5284     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1DCu);
   5285     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5286     ecx = ecx + 0x1DCu; /* 0x2514C47B: add ecx, 0x1dc */
   5287     _flag_k = FK_ADD;
   5288     RECOMP_BACKEDGE();
   5289     goto L_250E0BF0; /* 0x2514C481: jmp 0x250e0bf0 */
   5290     { RECOMP_REGS_OUT(); return; } /* end of function */
   5291     RECOMP_REGS_OUT();
   5292 }
   5293 
   5294 void sub_2514C486(void) {
   5295     int _fpu_cmp = 0;
   5296     uint32_t _cf = 0;
   5297     int _df = 1;
   5298     uint32_t _flag_k = FK_NONE;
   5299     uint32_t _flag_a = 0, _flag_b = 0;
   5300     uint32_t _itail_tgt = 0;
   5301     RECOMP_REGS_LOCALS
   5302     RECOMP_ENTER(0x2514C486u);
   5303 
   5304     goto L_2514C486;
   5305 L_251380C4:
   5306     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   5307 L_2514C486:
   5308     eax = 0x2516D580u; /* 0x2514C486: mov eax, 0x2516d580 */
   5309 L_2514C48B:
   5310     RECOMP_BACKEDGE();
   5311     goto L_251380C4; /* 0x2514C48B: jmp 0x251380c4 */
   5312     { RECOMP_REGS_OUT(); return; } /* end of function */
   5313   _ljump:
   5314     switch (_itail_tgt) {
   5315       case 0x251380C4u: goto L_251380C4;
   5316       case 0x2514C486u: goto L_2514C486;
   5317       case 0x2514C48Bu: goto L_2514C48B;
   5318       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5319     }
   5320     RECOMP_REGS_OUT();
   5321 }
   5322 
   5323 void sub_2514C490(void) {
   5324     int _fpu_cmp = 0;
   5325     uint32_t _cf = 0;
   5326     int _df = 1;
   5327     uint32_t _flag_k = FK_NONE;
   5328     uint32_t _flag_a = 0, _flag_b = 0;
   5329     uint32_t _itail_tgt = 0;
   5330     RECOMP_REGS_LOCALS
   5331     RECOMP_ENTER(0x2514C490u);
   5332 
   5333     goto L_2514C490;
   5334 L_250DB0B0:
   5335     PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */
   5336     ebp = esp; /* 0x250DB0B1: mov ebp, esp */
   5337     PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */
   5338     PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */
   5339     eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */
   5340     PUSH32(esp, eax); /* 0x250DB0C0: push eax */
   5341     MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */
   5342     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   5343     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5344     esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */
   5345     _flag_k = FK_CMP;
   5346     PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */
   5347     PUSH32(esp, esi); /* 0x250DB0CC: push esi */
   5348     PUSH32(esp, edi); /* 0x250DB0CD: push edi */
   5349     edi = ecx; /* 0x250DB0CE: mov edi, ecx */
   5350     esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */
   5351     MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */
   5352     MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */
   5353     MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */
   5354     MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */
   5355     MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */
   5356     MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */
   5357     MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */
   5358     MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */
   5359     ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */
   5360     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5361     ebx = 0; /* 0x250DB111: xor ebx, ebx */
   5362     _cf = 0;
   5363     _flag_k = FK_TEST;
   5364     /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */
   5365     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5366     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5367     _flag_k = FK_CMP;
   5368     MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */
   5369     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */
   5370 L_250DB11E:
   5371     RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */
   5372     RECOMP_FLAGS_IN();
   5373 L_250DB123:
   5374     eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */
   5375     PUSH32(esp, eax); /* 0x250DB129: push eax */
   5376     MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */
   5377     RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */
   5378     RECOMP_FLAGS_IN();
   5379     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5380     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5381     esp = esp + 4; /* 0x250DB132: add esp, 4 */
   5382     _flag_k = FK_ADD;
   5383     eax = edi; /* 0x250DB135: mov eax, edi */
   5384     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5385     _cf = (eax) != 0;
   5386     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */
   5387     _flag_k = FK_CMP;
   5388     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */
   5389       eax = _sc ? 0xFFFFFFFFu : 0;
   5390       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5391       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5392     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5393     eax = eax & esi; /* 0x250DB13B: and eax, esi */
   5394     _cf = 0;
   5395     _flag_k = FK_TEST;
   5396     MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */
   5397     MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */
   5398     MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */
   5399     esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */
   5400     MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */
   5401     eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */
   5402     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */
   5403     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5405     _flag_k = FK_CMP;
   5406     MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */
   5407     eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */
   5408     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */
   5409     MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */
   5410     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */
   5411 L_250DB16C:
   5412     eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */
   5413     PUSH32(esp, eax); /* 0x250DB16F: push eax */
   5414     ecx = esi; /* 0x250DB170: mov ecx, esi */
   5415     RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */
   5416     RECOMP_FLAGS_IN();
   5417     ecx = eax; /* 0x250DB177: mov ecx, eax */
   5418     edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */
   5419     eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */
   5420     /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */
   5421     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5423     _flag_k = FK_CMP;
   5424     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */
   5425     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */
   5426     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5428     _flag_k = FK_NARROW(FK_CMP, 24);
   5429     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */
   5430 L_250DB187:
   5431     ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */
   5432     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */
   5433     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5434     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5435     _flag_k = FK_CMP;
   5436     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */
   5437 L_250DB18F:
   5438     edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */
   5439     PUSH32(esp, edx); /* 0x250DB192: push edx */
   5440     ecx = esi; /* 0x250DB193: mov ecx, esi */
   5441     RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */
   5442     RECOMP_FLAGS_IN();
   5443     eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */
   5444     ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */
   5445     MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */
   5446     eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */
   5447     MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */
   5448     MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */
   5449     eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */
   5450     edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */
   5451     PUSH32(esp, edx); /* 0x250DB1B1: push edx */
   5452     ecx = esi; /* 0x250DB1B2: mov ecx, esi */
   5453     MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */
   5454     RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */
   5455     RECOMP_FLAGS_IN();
   5456     goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */
   5457 L_250DB1BE:
   5458     /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */
   5459     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
   5460     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5461     _flag_k = FK_CMP;
   5462     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */
   5463 L_250DB1C3:
   5464     PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */
   5465     eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */
   5466     PUSH32(esp, eax); /* 0x250DB1C7: push eax */
   5467     ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */
   5468     RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */
   5469     RECOMP_FLAGS_IN();
   5470     ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */
   5471     PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */
   5472     edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */
   5473     PUSH32(esp, edx); /* 0x250DB1D6: push edx */
   5474     ecx = esi; /* 0x250DB1D7: mov ecx, esi */
   5475     RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */
   5476     RECOMP_FLAGS_IN();
   5477     eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */
   5478     /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */
   5479     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax);
   5480     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5481     _flag_k = FK_CMP;
   5482     RECOMP_BACKEDGE();
   5483     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */
   5484 L_250DB1E6:
   5485     eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */
   5486     PUSH32(esp, eax); /* 0x250DB1E9: push eax */
   5487     RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */
   5488     RECOMP_FLAGS_IN();
   5489     eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */
   5490     PUSH32(esp, eax); /* 0x250DB1F2: push eax */
   5491     MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */
   5492     MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */
   5493     RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */
   5494     RECOMP_FLAGS_IN();
   5495     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5496     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5497     esp = esp + 8; /* 0x250DB1FE: add esp, 8 */
   5498     _flag_k = FK_ADD;
   5499     eax = edi; /* 0x250DB201: mov eax, edi */
   5500     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   5501     _cf = (eax) != 0;
   5502     eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */
   5503     _flag_k = FK_CMP;
   5504     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */
   5505       eax = _sc ? 0xFFFFFFFFu : 0;
   5506       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   5507       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   5508     MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */
   5509     ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */
   5510     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5511     eax = eax & ecx; /* 0x250DB210: and eax, ecx */
   5512     _cf = 0;
   5513     _flag_k = FK_TEST;
   5514     esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */
   5515     MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */
   5516     eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */
   5517     /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */
   5518     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
   5519     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5520     _flag_k = FK_CMP;
   5521     MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */
   5522     eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */
   5523     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */
   5524     MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */
   5525     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */
   5526 L_250DB22E:
   5527     ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */
   5528     PUSH32(esp, ecx); /* 0x250DB231: push ecx */
   5529     ecx = esi; /* 0x250DB232: mov ecx, esi */
   5530     RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */
   5531     RECOMP_FLAGS_IN();
   5532     edx = eax; /* 0x250DB239: mov edx, eax */
   5533     ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */
   5534     eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */
   5535     /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */
   5536     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5537     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5538     _flag_k = FK_CMP;
   5539     SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */
   5540     /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */
   5541     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5542     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5543     _flag_k = FK_NARROW(FK_CMP, 24);
   5544     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */
   5545 L_250DB249:
   5546     ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */
   5547     /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */
   5548     _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx);
   5549     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5550     _flag_k = FK_CMP;
   5551     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */
   5552 L_250DB251:
   5553     eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */
   5554     PUSH32(esp, eax); /* 0x250DB254: push eax */
   5555     ecx = esi; /* 0x250DB255: mov ecx, esi */
   5556     RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */
   5557     RECOMP_FLAGS_IN();
   5558     ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */
   5559     edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */
   5560     MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */
   5561     eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */
   5562     MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */
   5563     MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */
   5564     eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */
   5565     MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */
   5566     eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */
   5567     PUSH32(esp, eax); /* 0x250DB276: push eax */
   5568     ecx = esi; /* 0x250DB277: mov ecx, esi */
   5569     RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */
   5570     RECOMP_FLAGS_IN();
   5571     goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */
   5572 L_250DB280:
   5573     /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */
   5574     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14)));
   5575     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5576     _flag_k = FK_CMP;
   5577     if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */
   5578 L_250DB285:
   5579     PUSH32(esp, ebx); /* 0x250DB285: push ebx */
   5580     ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */
   5581     PUSH32(esp, ecx); /* 0x250DB289: push ecx */
   5582     ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */
   5583     RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */
   5584     RECOMP_FLAGS_IN();
   5585     edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */
   5586     PUSH32(esp, edx); /* 0x250DB294: push edx */
   5587     eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */
   5588     PUSH32(esp, eax); /* 0x250DB298: push eax */
   5589     ecx = esi; /* 0x250DB299: mov ecx, esi */
   5590     RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */
   5591     RECOMP_FLAGS_IN();
   5592     ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */
   5593     /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */
   5594     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx);
   5595     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5596     _flag_k = FK_CMP;
   5597     RECOMP_BACKEDGE();
   5598     if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */
   5599 L_250DB2A8:
   5600     eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */
   5601     PUSH32(esp, eax); /* 0x250DB2AB: push eax */
   5602     RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */
   5603     RECOMP_FLAGS_IN();
   5604     eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */
   5605     PUSH32(esp, eax); /* 0x250DB2B4: push eax */
   5606     MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */
   5607     MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */
   5608     RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */
   5609     RECOMP_FLAGS_IN();
   5610     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5611     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5612     esp = esp + 8; /* 0x250DB2C0: add esp, 8 */
   5613     _flag_k = FK_ADD;
   5614     ecx = edi; /* 0x250DB2C3: mov ecx, edi */
   5615     MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */
   5616     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */
   5617     RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */
   5618     RECOMP_FLAGS_IN();
   5619     ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */
   5620     edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */
   5621     esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */
   5622     ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */
   5623     MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */
   5624     esp = ebp; /* 0x250DB2E1: mov esp, ebp */
   5625     ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */
   5626     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret  */
   5627 L_2514C490:
   5628     ecx = MEM32(ebp + (-0x20)); /* 0x2514C490: mov ecx, dword ptr [ebp - 0x20] */
   5629     RECOMP_BACKEDGE();
   5630     goto L_250DB0B0; /* 0x2514C493: jmp 0x250db0b0 */
   5631     { RECOMP_REGS_OUT(); return; } /* end of function */
   5632     RECOMP_REGS_OUT();
   5633 }
   5634 
   5635 void sub_2514C498(void) {
   5636     int _fpu_cmp = 0;
   5637     uint32_t _cf = 0;
   5638     int _df = 1;
   5639     uint32_t _flag_k = FK_NONE;
   5640     uint32_t _flag_a = 0, _flag_b = 0;
   5641     uint32_t _itail_tgt = 0;
   5642     RECOMP_REGS_LOCALS
   5643     RECOMP_ENTER(0x2514C498u);
   5644 
   5645     goto L_2514C498;
   5646 L_250E0BF0:
   5647     PUSH32(esp, ebx); /* 0x250E0BF0: push ebx */
   5648     PUSH32(esp, esi); /* 0x250E0BF1: push esi */
   5649     PUSH32(esp, edi); /* 0x250E0BF2: push edi */
   5650     edi = ecx; /* 0x250E0BF3: mov edi, ecx */
   5651     ebx = MEM32(edi + 0x8); /* 0x250E0BF5: mov ebx, dword ptr [edi + 8] */
   5652     esi = MEM32(edi + 0x4); /* 0x250E0BF8: mov esi, dword ptr [edi + 4] */
   5653     /* cmp esi, ebx */ /* 0x250E0BFB: cmp esi, ebx */
   5654     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5656     _flag_k = FK_CMP;
   5657     if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0C0D; /* 0x250E0BFD: je 0x250e0c0d */
   5658 L_250E0BFF:
   5659     ecx = esi; /* 0x250E0BFF: mov ecx, esi */
   5660     RECOMP_ICALL(0x25105C10u); /* 0x250E0C01: call 0x25105c10 */ /* not lifted */
   5661     RECOMP_FLAGS_IN();
   5662     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   5663     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5664     esi = esi + 0xCu; /* 0x250E0C06: add esi, 0xc */
   5665     _flag_k = FK_ADD;
   5666     /* cmp esi, ebx */ /* 0x250E0C09: cmp esi, ebx */
   5667     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5668     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5669     _flag_k = FK_CMP;
   5670     RECOMP_BACKEDGE();
   5671     if (CMP_NE(_flag_a, _flag_b)) goto L_250E0BFF; /* 0x250E0C0B: jne 0x250e0bff */
   5672 L_250E0C0D:
   5673     eax = MEM32(edi + 0x4); /* 0x250E0C0D: mov eax, dword ptr [edi + 4] */
   5674     PUSH32(esp, eax); /* 0x250E0C10: push eax */
   5675     RECOMP_ICALL(0x25137EECu); /* 0x250E0C11: call 0x25137eec */ /* not lifted */
   5676     RECOMP_FLAGS_IN();
   5677     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5678     eax = 0; /* 0x250E0C16: xor eax, eax */
   5679     _cf = 0;
   5680     _flag_k = FK_TEST;
   5681     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5682     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5683     esp = esp + 4; /* 0x250E0C18: add esp, 4 */
   5684     _flag_k = FK_ADD;
   5685     MEM32(edi + 0x4) = eax; /* 0x250E0C1B: mov dword ptr [edi + 4], eax */
   5686     MEM32(edi + 0x8) = eax; /* 0x250E0C1E: mov dword ptr [edi + 8], eax */
   5687     MEM32(edi + 0xC) = eax; /* 0x250E0C21: mov dword ptr [edi + 0xc], eax */
   5688     edi = POP32_VAL(esp); /* 0x250E0C24: pop edi */
   5689     esi = POP32_VAL(esp); /* 0x250E0C25: pop esi */
   5690     ebx = POP32_VAL(esp); /* 0x250E0C26: pop ebx */
   5691     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0C27: ret  */
   5692 L_2514C498:
   5693     ecx = MEM32(ebp + (-0x20)); /* 0x2514C498: mov ecx, dword ptr [ebp - 0x20] */
   5694     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1DCu);
   5695     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5696     ecx = ecx + 0x1DCu; /* 0x2514C49B: add ecx, 0x1dc */
   5697     _flag_k = FK_ADD;
   5698     RECOMP_BACKEDGE();
   5699     goto L_250E0BF0; /* 0x2514C4A1: jmp 0x250e0bf0 */
   5700     { RECOMP_REGS_OUT(); return; } /* end of function */
   5701     RECOMP_REGS_OUT();
   5702 }
   5703 
   5704 void sub_2514C4A6(void) {
   5705     int _fpu_cmp = 0;
   5706     uint32_t _cf = 0;
   5707     int _df = 1;
   5708     uint32_t _flag_k = FK_NONE;
   5709     uint32_t _flag_a = 0, _flag_b = 0;
   5710     uint32_t _itail_tgt = 0;
   5711     RECOMP_REGS_LOCALS
   5712     RECOMP_ENTER(0x2514C4A6u);
   5713 
   5714     goto L_2514C4A6;
   5715 L_250F2800:
   5716     PUSH32(esp, ebp); /* 0x250F2800: push ebp */
   5717     ebp = esp; /* 0x250F2801: mov ebp, esp */
   5718     PUSH32(esp, 0xFFFFFFFFu); /* 0x250F2803: push -1 */
   5719     PUSH32(esp, 0x2514C4F6u); /* 0x250F2805: push 0x2514c4f6 */
   5720     eax = MEM32(FS_BASE + (0)); /* 0x250F280A: mov eax, dword ptr fs:[0] */
   5721     PUSH32(esp, eax); /* 0x250F2810: push eax */
   5722     MEM32(FS_BASE + (0)) = esp; /* 0x250F2811: mov dword ptr fs:[0], esp */
   5723     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5724     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5725     esp = esp - 8; /* 0x250F2818: sub esp, 8 */
   5726     _flag_k = FK_CMP;
   5727     PUSH32(esp, ebx); /* 0x250F281B: push ebx */
   5728     PUSH32(esp, esi); /* 0x250F281C: push esi */
   5729     esi = ecx; /* 0x250F281D: mov esi, ecx */
   5730     PUSH32(esp, edi); /* 0x250F281F: push edi */
   5731     MEM32(ebp + (-0x10)) = esi; /* 0x250F2820: mov dword ptr [ebp - 0x10], esi */
   5732     MEM32(esi) = 0x25158928u; /* 0x250F2823: mov dword ptr [esi], 0x25158928 */
   5733     MEM32(ebp + (-0x4)) = 1; /* 0x250F2829: mov dword ptr [ebp - 4], 1 */
   5734     RECOMP_ICALL(MEM32(0x251513D8)); /* 0x250F2830: call dword ptr [0x251513d8] */
   5735     RECOMP_FLAGS_IN();
   5736     eax = MEM32(esi + 0x34); /* 0x250F2836: mov eax, dword ptr [esi + 0x34] */
   5737     PUSH32(esp, eax); /* 0x250F2839: push eax */
   5738     MEM32(ebp + (-0x10)) = eax; /* 0x250F283A: mov dword ptr [ebp - 0x10], eax */
   5739     RECOMP_ICALL(0x25137EECu); /* 0x250F283D: call 0x25137eec */ /* not lifted */
   5740     RECOMP_FLAGS_IN();
   5741     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5742     ebx = 0; /* 0x250F2842: xor ebx, ebx */
   5743     _cf = 0;
   5744     _flag_k = FK_TEST;
   5745     MEM32(esi + 0x34) = ebx; /* 0x250F2844: mov dword ptr [esi + 0x34], ebx */
   5746     MEM32(esi + 0x38) = ebx; /* 0x250F2847: mov dword ptr [esi + 0x38], ebx */
   5747     MEM32(esi + 0x3C) = ebx; /* 0x250F284A: mov dword ptr [esi + 0x3c], ebx */
   5748     edi = MEM32(esi + 0x8); /* 0x250F284D: mov edi, dword ptr [esi + 8] */
   5749     ecx = MEM32(esi + 0x14); /* 0x250F2850: mov ecx, dword ptr [esi + 0x14] */
   5750     eax = MEM32(edi); /* 0x250F2853: mov eax, dword ptr [edi] */
   5751     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4);
   5752     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5753     esi = esi + 4; /* 0x250F2855: add esi, 4 */
   5754     _flag_k = FK_ADD;
   5755     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5756     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5757     esp = esp + 4; /* 0x250F2858: add esp, 4 */
   5758     _flag_k = FK_ADD;
   5759     /* cmp ecx, ebx */ /* 0x250F285B: cmp ecx, ebx */
   5760     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5761     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5762     _flag_k = FK_CMP;
   5763     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F285D: mov dword ptr [ebp - 4], 0xffffffff */
   5764     MEM32(ebp + (-0x10)) = eax; /* 0x250F2864: mov dword ptr [ebp - 0x10], eax */
   5765     if (CMP_EQ(_flag_a, _flag_b)) goto L_250F2897; /* 0x250F2867: je 0x250f2897 */
   5766 L_250F2869:
   5767     ecx = eax; /* 0x250F2869: mov ecx, eax */
   5768     /* cmp eax, ecx */ /* 0x250F286B: cmp eax, ecx */
   5769     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5770     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5771     _flag_k = FK_CMP;
   5772     if (CMP_NE(_flag_a, _flag_b)) goto L_250F2897; /* 0x250F286D: jne 0x250f2897 */
   5773 L_250F286F:
   5774     /* cmp edi, edi */ /* 0x250F286F: cmp edi, edi */
   5775     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5777     _flag_k = FK_CMP;
   5778     if (CMP_NE(_flag_a, _flag_b)) goto L_250F2897; /* 0x250F2871: jne 0x250f2897 */
   5779 L_250F2873:
   5780     eax = MEM32(edi + 0x4); /* 0x250F2873: mov eax, dword ptr [edi + 4] */
   5781     PUSH32(esp, eax); /* 0x250F2876: push eax */
   5782     ecx = esi; /* 0x250F2877: mov ecx, esi */
   5783     RECOMP_ICALL(0x250F4430u); /* 0x250F2879: call 0x250f4430 */ /* not lifted */
   5784     RECOMP_FLAGS_IN();
   5785     ecx = MEM32(esi + 0x4); /* 0x250F287E: mov ecx, dword ptr [esi + 4] */
   5786     edx = MEM32(esi + 0x8); /* 0x250F2881: mov edx, dword ptr [esi + 8] */
   5787     MEM32(ecx + 0x4) = edx; /* 0x250F2884: mov dword ptr [ecx + 4], edx */
   5788     eax = MEM32(esi + 0x4); /* 0x250F2887: mov eax, dword ptr [esi + 4] */
   5789     MEM32(esi + 0x10) = ebx; /* 0x250F288A: mov dword ptr [esi + 0x10], ebx */
   5790     MEM32(eax) = eax; /* 0x250F288D: mov dword ptr [eax], eax */
   5791     eax = MEM32(esi + 0x4); /* 0x250F288F: mov eax, dword ptr [esi + 4] */
   5792     MEM32(eax + 0x8) = eax; /* 0x250F2892: mov dword ptr [eax + 8], eax */
   5793     goto L_250F28BA; /* 0x250F2895: jmp 0x250f28ba */
   5794 L_250F2897:
   5795     /* cmp eax, edi */ /* 0x250F2897: cmp eax, edi */
   5796     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5797     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5798     _flag_k = FK_CMP;
   5799     if (CMP_EQ(_flag_a, _flag_b)) goto L_250F28BA; /* 0x250F2899: je 0x250f28ba */
   5800 L_250F289B:
   5801     ecx = ebp + (-0x10); /* 0x250F289B: lea ecx, [ebp - 0x10] */
   5802     ebx = eax; /* 0x250F289E: mov ebx, eax */
   5803     RECOMP_ICALL(0x250F4480u); /* 0x250F28A0: call 0x250f4480 */ /* not lifted */
   5804     RECOMP_FLAGS_IN();
   5805     PUSH32(esp, ebx); /* 0x250F28A5: push ebx */
   5806     eax = ebp + (-0x14); /* 0x250F28A6: lea eax, [ebp - 0x14] */
   5807     PUSH32(esp, eax); /* 0x250F28A9: push eax */
   5808     ecx = esi; /* 0x250F28AA: mov ecx, esi */
   5809     RECOMP_ICALL(0x250F4060u); /* 0x250F28AC: call 0x250f4060 */ /* not lifted */
   5810     RECOMP_FLAGS_IN();
   5811     eax = MEM32(ebp + (-0x10)); /* 0x250F28B1: mov eax, dword ptr [ebp - 0x10] */
   5812     /* cmp eax, edi */ /* 0x250F28B4: cmp eax, edi */
   5813     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5814     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5815     _flag_k = FK_CMP;
   5816     RECOMP_BACKEDGE();
   5817     if (CMP_NE(_flag_a, _flag_b)) goto L_250F289B; /* 0x250F28B6: jne 0x250f289b */
   5818 L_250F28B8:
   5819     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5820     ebx = 0; /* 0x250F28B8: xor ebx, ebx */
   5821     _cf = 0;
   5822     _flag_k = FK_TEST;
   5823 L_250F28BA:
   5824     ecx = MEM32(esi + 0x4); /* 0x250F28BA: mov ecx, dword ptr [esi + 4] */
   5825     PUSH32(esp, ecx); /* 0x250F28BD: push ecx */
   5826     RECOMP_ICALL(0x25137EECu); /* 0x250F28BE: call 0x25137eec */ /* not lifted */
   5827     RECOMP_FLAGS_IN();
   5828     edx = MEM32(esi + 0x8); /* 0x250F28C3: mov edx, dword ptr [esi + 8] */
   5829     PUSH32(esp, edx); /* 0x250F28C6: push edx */
   5830     MEM32(esi + 0x4) = ebx; /* 0x250F28C7: mov dword ptr [esi + 4], ebx */
   5831     MEM32(esi + 0x10) = ebx; /* 0x250F28CA: mov dword ptr [esi + 0x10], ebx */
   5832     RECOMP_ICALL(0x25137EECu); /* 0x250F28CD: call 0x25137eec */ /* not lifted */
   5833     RECOMP_FLAGS_IN();
   5834     ecx = MEM32(ebp + (-0xC)); /* 0x250F28D2: mov ecx, dword ptr [ebp - 0xc] */
   5835     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5836     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5837     esp = esp + 8; /* 0x250F28D5: add esp, 8 */
   5838     _flag_k = FK_ADD;
   5839     MEM32(esi + 0x8) = ebx; /* 0x250F28D8: mov dword ptr [esi + 8], ebx */
   5840     edi = POP32_VAL(esp); /* 0x250F28DB: pop edi */
   5841     esi = POP32_VAL(esp); /* 0x250F28DC: pop esi */
   5842     ebx = POP32_VAL(esp); /* 0x250F28DD: pop ebx */
   5843     MEM32(FS_BASE + (0)) = ecx; /* 0x250F28DE: mov dword ptr fs:[0], ecx */
   5844     esp = ebp; /* 0x250F28E5: mov esp, ebp */
   5845     ebp = POP32_VAL(esp); /* 0x250F28E7: pop ebp */
   5846     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F28E8: ret  */
   5847 L_2514C4A6:
   5848     ecx = ebp + (-0x60); /* 0x2514C4A6: lea ecx, [ebp - 0x60] */
   5849     RECOMP_BACKEDGE();
   5850     goto L_250F2800; /* 0x2514C4A9: jmp 0x250f2800 */
   5851     { RECOMP_REGS_OUT(); return; } /* end of function */
   5852     RECOMP_REGS_OUT();
   5853 }
   5854 
   5855 void sub_2514C4AE(void) {
   5856     int _fpu_cmp = 0;
   5857     uint32_t _cf = 0;
   5858     int _df = 1;
   5859     uint32_t _flag_k = FK_NONE;
   5860     uint32_t _flag_a = 0, _flag_b = 0;
   5861     uint32_t _itail_tgt = 0;
   5862     RECOMP_REGS_LOCALS
   5863     RECOMP_ENTER(0x2514C4AEu);
   5864 
   5865     goto L_2514C4AE;
   5866 L_25105C10:
   5867     PUSH32(esp, esi); /* 0x25105C10: push esi */
   5868     esi = ecx; /* 0x25105C11: mov esi, ecx */
   5869     eax = MEM32(esi + 0x4); /* 0x25105C13: mov eax, dword ptr [esi + 4] */
   5870     PUSH32(esp, eax); /* 0x25105C16: push eax */
   5871     RECOMP_ICALL(0x25137EECu); /* 0x25105C17: call 0x25137eec */ /* not lifted */
   5872     RECOMP_FLAGS_IN();
   5873     ecx = MEM32(esi + 0x8); /* 0x25105C1C: mov ecx, dword ptr [esi + 8] */
   5874     PUSH32(esp, ecx); /* 0x25105C1F: push ecx */
   5875     RECOMP_ICALL(0x25137EECu); /* 0x25105C20: call 0x25137eec */ /* not lifted */
   5876     RECOMP_FLAGS_IN();
   5877     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5878     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5879     esp = esp + 8; /* 0x25105C25: add esp, 8 */
   5880     _flag_k = FK_ADD;
   5881     esi = POP32_VAL(esp); /* 0x25105C28: pop esi */
   5882     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25105C29: ret  */
   5883 L_2514C4AE:
   5884     ecx = ebp + (-0x1C); /* 0x2514C4AE: lea ecx, [ebp - 0x1c] */
   5885     RECOMP_BACKEDGE();
   5886     goto L_25105C10; /* 0x2514C4B1: jmp 0x25105c10 */
   5887     { RECOMP_REGS_OUT(); return; } /* end of function */
   5888     RECOMP_REGS_OUT();
   5889 }
   5890 
   5891 void sub_2514C4B6(void) {
   5892     int _fpu_cmp = 0;
   5893     uint32_t _cf = 0;
   5894     int _df = 1;
   5895     uint32_t _flag_k = FK_NONE;
   5896     uint32_t _flag_a = 0, _flag_b = 0;
   5897     uint32_t _itail_tgt = 0;
   5898     RECOMP_REGS_LOCALS
   5899     RECOMP_ENTER(0x2514C4B6u);
   5900 
   5901     goto L_2514C4B6;
   5902 L_250F2920:
   5903     PUSH32(esp, ebp); /* 0x250F2920: push ebp */
   5904     ebp = esp; /* 0x250F2921: mov ebp, esp */
   5905     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5906     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5907     esp = esp - 8; /* 0x250F2923: sub esp, 8 */
   5908     _flag_k = FK_CMP;
   5909     PUSH32(esp, ebx); /* 0x250F2926: push ebx */
   5910     PUSH32(esp, esi); /* 0x250F2927: push esi */
   5911     esi = ecx; /* 0x250F2928: mov esi, ecx */
   5912     ecx = MEM32(esi + 0x10); /* 0x250F292A: mov ecx, dword ptr [esi + 0x10] */
   5913     /* test ecx, ecx */ /* 0x250F292D: test ecx, ecx */
   5914     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   5915     _cf = 0;
   5916     _flag_k = FK_TEST;
   5917     PUSH32(esp, edi); /* 0x250F292F: push edi */
   5918     edi = MEM32(esi + 0x4); /* 0x250F2930: mov edi, dword ptr [esi + 4] */
   5919     eax = MEM32(edi); /* 0x250F2933: mov eax, dword ptr [edi] */
   5920     MEM32(ebp + (-0x4)) = eax; /* 0x250F2935: mov dword ptr [ebp - 4], eax */
   5921     if (TEST_Z(_flag_a, _flag_b)) goto L_250F299F; /* 0x250F2938: je 0x250f299f */
   5922 L_250F293A:
   5923     ecx = eax; /* 0x250F293A: mov ecx, eax */
   5924     /* cmp eax, ecx */ /* 0x250F293C: cmp eax, ecx */
   5925     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5926     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5927     _flag_k = FK_CMP;
   5928     if (CMP_NE(_flag_a, _flag_b)) goto L_250F299F; /* 0x250F293E: jne 0x250f299f */
   5929 L_250F2940:
   5930     /* cmp edi, edi */ /* 0x250F2940: cmp edi, edi */
   5931     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5933     _flag_k = FK_CMP;
   5934     if (CMP_NE(_flag_a, _flag_b)) goto L_250F299F; /* 0x250F2942: jne 0x250f299f */
   5935 L_250F2944:
   5936     ebx = MEM32(edi + 0x4); /* 0x250F2944: mov ebx, dword ptr [edi + 4] */
   5937     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250F2947: cmp ebx, dword ptr [esi + 8] */
   5938     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5939     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5940     _flag_k = FK_CMP;
   5941     edi = ebx; /* 0x250F294A: mov edi, ebx */
   5942     if (CMP_EQ(_flag_a, _flag_b)) goto L_250F2977; /* 0x250F294C: je 0x250f2977 */
   5943 L_250F294E:
   5944     eax = MEM32(edi + 0x8); /* 0x250F294E: mov eax, dword ptr [edi + 8] */
   5945     PUSH32(esp, eax); /* 0x250F2951: push eax */
   5946     ecx = esi; /* 0x250F2952: mov ecx, esi */
   5947     RECOMP_ICALL(0x250F4430u); /* 0x250F2954: call 0x250f4430 */ /* not lifted */
   5948     RECOMP_FLAGS_IN();
   5949     edi = MEM32(edi); /* 0x250F2959: mov edi, dword ptr [edi] */
   5950     PUSH32(esp, 0); /* 0x250F295B: push 0 */
   5951     ecx = ebx + 0xC; /* 0x250F295D: lea ecx, [ebx + 0xc] */
   5952     RECOMP_ICALL(0x250F47D0u); /* 0x250F2960: call 0x250f47d0 */ /* not lifted */
   5953     RECOMP_FLAGS_IN();
   5954     PUSH32(esp, ebx); /* 0x250F2965: push ebx */
   5955     RECOMP_ICALL(0x25137EECu); /* 0x250F2966: call 0x25137eec */ /* not lifted */
   5956     RECOMP_FLAGS_IN();
   5957     eax = MEM32(esi + 0x8); /* 0x250F296B: mov eax, dword ptr [esi + 8] */
   5958     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5959     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5960     esp = esp + 4; /* 0x250F296E: add esp, 4 */
   5961     _flag_k = FK_ADD;
   5962     /* cmp edi, eax */ /* 0x250F2971: cmp edi, eax */
   5963     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   5964     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5965     _flag_k = FK_CMP;
   5966     ebx = edi; /* 0x250F2973: mov ebx, edi */
   5967     RECOMP_BACKEDGE();
   5968     if (CMP_NE(_flag_a, _flag_b)) goto L_250F294E; /* 0x250F2975: jne 0x250f294e */
   5969 L_250F2977:
   5970     ecx = MEM32(esi + 0x4); /* 0x250F2977: mov ecx, dword ptr [esi + 4] */
   5971     edx = MEM32(esi + 0x8); /* 0x250F297A: mov edx, dword ptr [esi + 8] */
   5972     MEM32(ecx + 0x4) = edx; /* 0x250F297D: mov dword ptr [ecx + 4], edx */
   5973     eax = MEM32(esi + 0x4); /* 0x250F2980: mov eax, dword ptr [esi + 4] */
   5974     MEM32(esi + 0x10) = 0; /* 0x250F2983: mov dword ptr [esi + 0x10], 0 */
   5975     MEM32(eax) = eax; /* 0x250F298A: mov dword ptr [eax], eax */
   5976     eax = MEM32(esi + 0x4); /* 0x250F298C: mov eax, dword ptr [esi + 4] */
   5977     MEM32(eax + 0x8) = eax; /* 0x250F298F: mov dword ptr [eax + 8], eax */
   5978     eax = ebp + (-0x8); /* 0x250F2992: lea eax, [ebp - 8] */
   5979     PUSH32(esp, eax); /* 0x250F2995: push eax */
   5980     ecx = esi; /* 0x250F2996: mov ecx, esi */
   5981     RECOMP_ICALL(0x25085270u); /* 0x250F2998: call 0x25085270 */ /* not lifted */
   5982     RECOMP_FLAGS_IN();
   5983     goto L_250F29C0; /* 0x250F299D: jmp 0x250f29c0 */
   5984 L_250F299F:
   5985     /* cmp eax, edi */ /* 0x250F299F: cmp eax, edi */
   5986     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5987     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5988     _flag_k = FK_CMP;
   5989     if (CMP_EQ(_flag_a, _flag_b)) goto L_250F29C0; /* 0x250F29A1: je 0x250f29c0 */
   5990 L_250F29A3:
   5991     ecx = ebp + (-0x4); /* 0x250F29A3: lea ecx, [ebp - 4] */
   5992     ebx = eax; /* 0x250F29A6: mov ebx, eax */
   5993     RECOMP_ICALL(0x250F4480u); /* 0x250F29A8: call 0x250f4480 */ /* not lifted */
   5994     RECOMP_FLAGS_IN();
   5995     PUSH32(esp, ebx); /* 0x250F29AD: push ebx */
   5996     ecx = ebp + (-0x8); /* 0x250F29AE: lea ecx, [ebp - 8] */
   5997     PUSH32(esp, ecx); /* 0x250F29B1: push ecx */
   5998     ecx = esi; /* 0x250F29B2: mov ecx, esi */
   5999     RECOMP_ICALL(0x250F4060u); /* 0x250F29B4: call 0x250f4060 */ /* not lifted */
   6000     RECOMP_FLAGS_IN();
   6001     eax = MEM32(ebp + (-0x4)); /* 0x250F29B9: mov eax, dword ptr [ebp - 4] */
   6002     /* cmp eax, edi */ /* 0x250F29BC: cmp eax, edi */
   6003     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   6004     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6005     _flag_k = FK_CMP;
   6006     RECOMP_BACKEDGE();
   6007     if (CMP_NE(_flag_a, _flag_b)) goto L_250F29A3; /* 0x250F29BE: jne 0x250f29a3 */
   6008 L_250F29C0:
   6009     edx = MEM32(esi + 0x4); /* 0x250F29C0: mov edx, dword ptr [esi + 4] */
   6010     PUSH32(esp, edx); /* 0x250F29C3: push edx */
   6011     RECOMP_ICALL(0x25137EECu); /* 0x250F29C4: call 0x25137eec */ /* not lifted */
   6012     RECOMP_FLAGS_IN();
   6013     eax = MEM32(esi + 0x8); /* 0x250F29C9: mov eax, dword ptr [esi + 8] */
   6014     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6015     edi = 0; /* 0x250F29CC: xor edi, edi */
   6016     _cf = 0;
   6017     _flag_k = FK_TEST;
   6018     PUSH32(esp, eax); /* 0x250F29CE: push eax */
   6019     MEM32(esi + 0x4) = edi; /* 0x250F29CF: mov dword ptr [esi + 4], edi */
   6020     MEM32(esi + 0x10) = edi; /* 0x250F29D2: mov dword ptr [esi + 0x10], edi */
   6021     RECOMP_ICALL(0x25137EECu); /* 0x250F29D5: call 0x25137eec */ /* not lifted */
   6022     RECOMP_FLAGS_IN();
   6023     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6024     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6025     esp = esp + 8; /* 0x250F29DA: add esp, 8 */
   6026     _flag_k = FK_ADD;
   6027     MEM32(esi + 0x8) = edi; /* 0x250F29DD: mov dword ptr [esi + 8], edi */
   6028     edi = POP32_VAL(esp); /* 0x250F29E0: pop edi */
   6029     esi = POP32_VAL(esp); /* 0x250F29E1: pop esi */
   6030     ebx = POP32_VAL(esp); /* 0x250F29E2: pop ebx */
   6031     esp = ebp; /* 0x250F29E3: mov esp, ebp */
   6032     ebp = POP32_VAL(esp); /* 0x250F29E5: pop ebp */
   6033     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F29E6: ret  */
   6034 L_2514C4B6:
   6035     ecx = ebp + (-0x5C); /* 0x2514C4B6: lea ecx, [ebp - 0x5c] */
   6036     RECOMP_BACKEDGE();
   6037     goto L_250F2920; /* 0x2514C4B9: jmp 0x250f2920 */
   6038     { RECOMP_REGS_OUT(); return; } /* end of function */
   6039     RECOMP_REGS_OUT();
   6040 }
   6041 
   6042 void sub_2514C4BE(void) {
   6043     int _fpu_cmp = 0;
   6044     uint32_t _cf = 0;
   6045     int _df = 1;
   6046     uint32_t _flag_k = FK_NONE;
   6047     uint32_t _flag_a = 0, _flag_b = 0;
   6048     uint32_t _itail_tgt = 0;
   6049     RECOMP_REGS_LOCALS
   6050     RECOMP_ENTER(0x2514C4BEu);
   6051 
   6052     goto L_2514C4BE;
   6053 L_25085240:
   6054     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   6055     ebp = esp; /* 0x25085241: mov ebp, esp */
   6056     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   6057     PUSH32(esp, esi); /* 0x25085244: push esi */
   6058     esi = ecx; /* 0x25085245: mov esi, ecx */
   6059     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   6060     PUSH32(esp, eax); /* 0x2508524A: push eax */
   6061     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   6062     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   6063     RECOMP_FLAGS_IN();
   6064     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6065     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6066     esp = esp + 4; /* 0x25085253: add esp, 4 */
   6067     _flag_k = FK_ADD;
   6068     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6069     eax = 0; /* 0x25085256: xor eax, eax */
   6070     _cf = 0;
   6071     _flag_k = FK_TEST;
   6072     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   6073     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   6074     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   6075     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   6076     esp = ebp; /* 0x25085262: mov esp, ebp */
   6077     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   6078     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   6079 L_2514C4BE:
   6080     ecx = ebp + (-0x30); /* 0x2514C4BE: lea ecx, [ebp - 0x30] */
   6081     RECOMP_BACKEDGE();
   6082     goto L_25085240; /* 0x2514C4C1: jmp 0x25085240 */
   6083     { RECOMP_REGS_OUT(); return; } /* end of function */
   6084     RECOMP_REGS_OUT();
   6085 }
   6086 
   6087 void sub_2514C4C6(void) {
   6088     int _fpu_cmp = 0;
   6089     uint32_t _cf = 0;
   6090     int _df = 1;
   6091     uint32_t _flag_k = FK_NONE;
   6092     uint32_t _flag_a = 0, _flag_b = 0;
   6093     uint32_t _itail_tgt = 0;
   6094     RECOMP_REGS_LOCALS
   6095     RECOMP_ENTER(0x2514C4C6u);
   6096 
   6097 L_2514C4C6:
   6098     ecx = ebp + (-0xA0); /* 0x2514C4C6: lea ecx, [ebp - 0xa0] */
   6099 L_2514C4CC:
   6100     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   6101     { RECOMP_REGS_OUT(); return; } /* end of function */
   6102   _ljump:
   6103     switch (_itail_tgt) {
   6104       case 0x2514C4C6u: goto L_2514C4C6;
   6105       case 0x2514C4CCu: goto L_2514C4CC;
   6106       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6107     }
   6108     RECOMP_REGS_OUT();
   6109 }
   6110 
   6111 void sub_2514C4D2(void) {
   6112     int _fpu_cmp = 0;
   6113     uint32_t _cf = 0;
   6114     int _df = 1;
   6115     uint32_t _flag_k = FK_NONE;
   6116     uint32_t _flag_a = 0, _flag_b = 0;
   6117     uint32_t _itail_tgt = 0;
   6118     RECOMP_REGS_LOCALS
   6119     RECOMP_ENTER(0x2514C4D2u);
   6120 
   6121     goto L_2514C4D2;
   6122 L_251380C4:
   6123     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6124 L_2514C4D2:
   6125     eax = 0x2516D5B0u; /* 0x2514C4D2: mov eax, 0x2516d5b0 */
   6126 L_2514C4D7:
   6127     RECOMP_BACKEDGE();
   6128     goto L_251380C4; /* 0x2514C4D7: jmp 0x251380c4 */
   6129     { RECOMP_REGS_OUT(); return; } /* end of function */
   6130   _ljump:
   6131     switch (_itail_tgt) {
   6132       case 0x251380C4u: goto L_251380C4;
   6133       case 0x2514C4D2u: goto L_2514C4D2;
   6134       case 0x2514C4D7u: goto L_2514C4D7;
   6135       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6136     }
   6137     RECOMP_REGS_OUT();
   6138 }
   6139 
   6140 void sub_2514C4E0(void) {
   6141     int _fpu_cmp = 0;
   6142     uint32_t _cf = 0;
   6143     int _df = 1;
   6144     uint32_t _flag_k = FK_NONE;
   6145     uint32_t _flag_a = 0, _flag_b = 0;
   6146     uint32_t _itail_tgt = 0;
   6147     RECOMP_REGS_LOCALS
   6148     RECOMP_ENTER(0x2514C4E0u);
   6149 
   6150     goto L_2514C4E0;
   6151 L_250F2920:
   6152     PUSH32(esp, ebp); /* 0x250F2920: push ebp */
   6153     ebp = esp; /* 0x250F2921: mov ebp, esp */
   6154     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6155     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6156     esp = esp - 8; /* 0x250F2923: sub esp, 8 */
   6157     _flag_k = FK_CMP;
   6158     PUSH32(esp, ebx); /* 0x250F2926: push ebx */
   6159     PUSH32(esp, esi); /* 0x250F2927: push esi */
   6160     esi = ecx; /* 0x250F2928: mov esi, ecx */
   6161     ecx = MEM32(esi + 0x10); /* 0x250F292A: mov ecx, dword ptr [esi + 0x10] */
   6162     /* test ecx, ecx */ /* 0x250F292D: test ecx, ecx */
   6163     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   6164     _cf = 0;
   6165     _flag_k = FK_TEST;
   6166     PUSH32(esp, edi); /* 0x250F292F: push edi */
   6167     edi = MEM32(esi + 0x4); /* 0x250F2930: mov edi, dword ptr [esi + 4] */
   6168     eax = MEM32(edi); /* 0x250F2933: mov eax, dword ptr [edi] */
   6169     MEM32(ebp + (-0x4)) = eax; /* 0x250F2935: mov dword ptr [ebp - 4], eax */
   6170     if (TEST_Z(_flag_a, _flag_b)) goto L_250F299F; /* 0x250F2938: je 0x250f299f */
   6171 L_250F293A:
   6172     ecx = eax; /* 0x250F293A: mov ecx, eax */
   6173     /* cmp eax, ecx */ /* 0x250F293C: cmp eax, ecx */
   6174     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6176     _flag_k = FK_CMP;
   6177     if (CMP_NE(_flag_a, _flag_b)) goto L_250F299F; /* 0x250F293E: jne 0x250f299f */
   6178 L_250F2940:
   6179     /* cmp edi, edi */ /* 0x250F2940: cmp edi, edi */
   6180     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6182     _flag_k = FK_CMP;
   6183     if (CMP_NE(_flag_a, _flag_b)) goto L_250F299F; /* 0x250F2942: jne 0x250f299f */
   6184 L_250F2944:
   6185     ebx = MEM32(edi + 0x4); /* 0x250F2944: mov ebx, dword ptr [edi + 4] */
   6186     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250F2947: cmp ebx, dword ptr [esi + 8] */
   6187     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6188     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6189     _flag_k = FK_CMP;
   6190     edi = ebx; /* 0x250F294A: mov edi, ebx */
   6191     if (CMP_EQ(_flag_a, _flag_b)) goto L_250F2977; /* 0x250F294C: je 0x250f2977 */
   6192 L_250F294E:
   6193     eax = MEM32(edi + 0x8); /* 0x250F294E: mov eax, dword ptr [edi + 8] */
   6194     PUSH32(esp, eax); /* 0x250F2951: push eax */
   6195     ecx = esi; /* 0x250F2952: mov ecx, esi */
   6196     RECOMP_ICALL(0x250F4430u); /* 0x250F2954: call 0x250f4430 */ /* not lifted */
   6197     RECOMP_FLAGS_IN();
   6198     edi = MEM32(edi); /* 0x250F2959: mov edi, dword ptr [edi] */
   6199     PUSH32(esp, 0); /* 0x250F295B: push 0 */
   6200     ecx = ebx + 0xC; /* 0x250F295D: lea ecx, [ebx + 0xc] */
   6201     RECOMP_ICALL(0x250F47D0u); /* 0x250F2960: call 0x250f47d0 */ /* not lifted */
   6202     RECOMP_FLAGS_IN();
   6203     PUSH32(esp, ebx); /* 0x250F2965: push ebx */
   6204     RECOMP_ICALL(0x25137EECu); /* 0x250F2966: call 0x25137eec */ /* not lifted */
   6205     RECOMP_FLAGS_IN();
   6206     eax = MEM32(esi + 0x8); /* 0x250F296B: mov eax, dword ptr [esi + 8] */
   6207     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6208     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6209     esp = esp + 4; /* 0x250F296E: add esp, 4 */
   6210     _flag_k = FK_ADD;
   6211     /* cmp edi, eax */ /* 0x250F2971: cmp edi, eax */
   6212     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   6213     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6214     _flag_k = FK_CMP;
   6215     ebx = edi; /* 0x250F2973: mov ebx, edi */
   6216     RECOMP_BACKEDGE();
   6217     if (CMP_NE(_flag_a, _flag_b)) goto L_250F294E; /* 0x250F2975: jne 0x250f294e */
   6218 L_250F2977:
   6219     ecx = MEM32(esi + 0x4); /* 0x250F2977: mov ecx, dword ptr [esi + 4] */
   6220     edx = MEM32(esi + 0x8); /* 0x250F297A: mov edx, dword ptr [esi + 8] */
   6221     MEM32(ecx + 0x4) = edx; /* 0x250F297D: mov dword ptr [ecx + 4], edx */
   6222     eax = MEM32(esi + 0x4); /* 0x250F2980: mov eax, dword ptr [esi + 4] */
   6223     MEM32(esi + 0x10) = 0; /* 0x250F2983: mov dword ptr [esi + 0x10], 0 */
   6224     MEM32(eax) = eax; /* 0x250F298A: mov dword ptr [eax], eax */
   6225     eax = MEM32(esi + 0x4); /* 0x250F298C: mov eax, dword ptr [esi + 4] */
   6226     MEM32(eax + 0x8) = eax; /* 0x250F298F: mov dword ptr [eax + 8], eax */
   6227     eax = ebp + (-0x8); /* 0x250F2992: lea eax, [ebp - 8] */
   6228     PUSH32(esp, eax); /* 0x250F2995: push eax */
   6229     ecx = esi; /* 0x250F2996: mov ecx, esi */
   6230     RECOMP_ICALL(0x25085270u); /* 0x250F2998: call 0x25085270 */ /* not lifted */
   6231     RECOMP_FLAGS_IN();
   6232     goto L_250F29C0; /* 0x250F299D: jmp 0x250f29c0 */
   6233 L_250F299F:
   6234     /* cmp eax, edi */ /* 0x250F299F: cmp eax, edi */
   6235     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   6236     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6237     _flag_k = FK_CMP;
   6238     if (CMP_EQ(_flag_a, _flag_b)) goto L_250F29C0; /* 0x250F29A1: je 0x250f29c0 */
   6239 L_250F29A3:
   6240     ecx = ebp + (-0x4); /* 0x250F29A3: lea ecx, [ebp - 4] */
   6241     ebx = eax; /* 0x250F29A6: mov ebx, eax */
   6242     RECOMP_ICALL(0x250F4480u); /* 0x250F29A8: call 0x250f4480 */ /* not lifted */
   6243     RECOMP_FLAGS_IN();
   6244     PUSH32(esp, ebx); /* 0x250F29AD: push ebx */
   6245     ecx = ebp + (-0x8); /* 0x250F29AE: lea ecx, [ebp - 8] */
   6246     PUSH32(esp, ecx); /* 0x250F29B1: push ecx */
   6247     ecx = esi; /* 0x250F29B2: mov ecx, esi */
   6248     RECOMP_ICALL(0x250F4060u); /* 0x250F29B4: call 0x250f4060 */ /* not lifted */
   6249     RECOMP_FLAGS_IN();
   6250     eax = MEM32(ebp + (-0x4)); /* 0x250F29B9: mov eax, dword ptr [ebp - 4] */
   6251     /* cmp eax, edi */ /* 0x250F29BC: cmp eax, edi */
   6252     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   6253     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6254     _flag_k = FK_CMP;
   6255     RECOMP_BACKEDGE();
   6256     if (CMP_NE(_flag_a, _flag_b)) goto L_250F29A3; /* 0x250F29BE: jne 0x250f29a3 */
   6257 L_250F29C0:
   6258     edx = MEM32(esi + 0x4); /* 0x250F29C0: mov edx, dword ptr [esi + 4] */
   6259     PUSH32(esp, edx); /* 0x250F29C3: push edx */
   6260     RECOMP_ICALL(0x25137EECu); /* 0x250F29C4: call 0x25137eec */ /* not lifted */
   6261     RECOMP_FLAGS_IN();
   6262     eax = MEM32(esi + 0x8); /* 0x250F29C9: mov eax, dword ptr [esi + 8] */
   6263     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6264     edi = 0; /* 0x250F29CC: xor edi, edi */
   6265     _cf = 0;
   6266     _flag_k = FK_TEST;
   6267     PUSH32(esp, eax); /* 0x250F29CE: push eax */
   6268     MEM32(esi + 0x4) = edi; /* 0x250F29CF: mov dword ptr [esi + 4], edi */
   6269     MEM32(esi + 0x10) = edi; /* 0x250F29D2: mov dword ptr [esi + 0x10], edi */
   6270     RECOMP_ICALL(0x25137EECu); /* 0x250F29D5: call 0x25137eec */ /* not lifted */
   6271     RECOMP_FLAGS_IN();
   6272     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6273     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6274     esp = esp + 8; /* 0x250F29DA: add esp, 8 */
   6275     _flag_k = FK_ADD;
   6276     MEM32(esi + 0x8) = edi; /* 0x250F29DD: mov dword ptr [esi + 8], edi */
   6277     edi = POP32_VAL(esp); /* 0x250F29E0: pop edi */
   6278     esi = POP32_VAL(esp); /* 0x250F29E1: pop esi */
   6279     ebx = POP32_VAL(esp); /* 0x250F29E2: pop ebx */
   6280     esp = ebp; /* 0x250F29E3: mov esp, ebp */
   6281     ebp = POP32_VAL(esp); /* 0x250F29E5: pop ebp */
   6282     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F29E6: ret  */
   6283 L_2514C4E0:
   6284     ecx = MEM32(ebp + (-0x10)); /* 0x2514C4E0: mov ecx, dword ptr [ebp - 0x10] */
   6285     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   6286     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6287     ecx = ecx + 4; /* 0x2514C4E3: add ecx, 4 */
   6288     _flag_k = FK_ADD;
   6289     RECOMP_BACKEDGE();
   6290     goto L_250F2920; /* 0x2514C4E6: jmp 0x250f2920 */
   6291     { RECOMP_REGS_OUT(); return; } /* end of function */
   6292     RECOMP_REGS_OUT();
   6293 }
   6294 
   6295 void sub_2514C4EB(void) {
   6296     int _fpu_cmp = 0;
   6297     uint32_t _cf = 0;
   6298     int _df = 1;
   6299     uint32_t _flag_k = FK_NONE;
   6300     uint32_t _flag_a = 0, _flag_b = 0;
   6301     uint32_t _itail_tgt = 0;
   6302     RECOMP_REGS_LOCALS
   6303     RECOMP_ENTER(0x2514C4EBu);
   6304 
   6305     goto L_2514C4EB;
   6306 L_25085240:
   6307     PUSH32(esp, ebp); /* 0x25085240: push ebp */
   6308     ebp = esp; /* 0x25085241: mov ebp, esp */
   6309     PUSH32(esp, ecx); /* 0x25085243: push ecx */
   6310     PUSH32(esp, esi); /* 0x25085244: push esi */
   6311     esi = ecx; /* 0x25085245: mov esi, ecx */
   6312     eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */
   6313     PUSH32(esp, eax); /* 0x2508524A: push eax */
   6314     MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */
   6315     RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */
   6316     RECOMP_FLAGS_IN();
   6317     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6318     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6319     esp = esp + 4; /* 0x25085253: add esp, 4 */
   6320     _flag_k = FK_ADD;
   6321     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6322     eax = 0; /* 0x25085256: xor eax, eax */
   6323     _cf = 0;
   6324     _flag_k = FK_TEST;
   6325     MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */
   6326     MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */
   6327     MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */
   6328     esi = POP32_VAL(esp); /* 0x25085261: pop esi */
   6329     esp = ebp; /* 0x25085262: mov esp, ebp */
   6330     ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */
   6331     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret  */
   6332 L_2514C4EB:
   6333     ecx = MEM32(ebp + (-0x10)); /* 0x2514C4EB: mov ecx, dword ptr [ebp - 0x10] */
   6334     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x30u);
   6335     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6336     ecx = ecx + 0x30u; /* 0x2514C4EE: add ecx, 0x30 */
   6337     _flag_k = FK_ADD;
   6338     RECOMP_BACKEDGE();
   6339     goto L_25085240; /* 0x2514C4F1: jmp 0x25085240 */
   6340     { RECOMP_REGS_OUT(); return; } /* end of function */
   6341     RECOMP_REGS_OUT();
   6342 }
   6343 
   6344 void sub_2514C4F6(void) {
   6345     int _fpu_cmp = 0;
   6346     uint32_t _cf = 0;
   6347     int _df = 1;
   6348     uint32_t _flag_k = FK_NONE;
   6349     uint32_t _flag_a = 0, _flag_b = 0;
   6350     uint32_t _itail_tgt = 0;
   6351     RECOMP_REGS_LOCALS
   6352     RECOMP_ENTER(0x2514C4F6u);
   6353 
   6354     goto L_2514C4F6;
   6355 L_251380C4:
   6356     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6357 L_2514C4F6:
   6358     eax = 0x2516D608u; /* 0x2514C4F6: mov eax, 0x2516d608 */
   6359 L_2514C4FB:
   6360     RECOMP_BACKEDGE();
   6361     goto L_251380C4; /* 0x2514C4FB: jmp 0x251380c4 */
   6362     { RECOMP_REGS_OUT(); return; } /* end of function */
   6363   _ljump:
   6364     switch (_itail_tgt) {
   6365       case 0x251380C4u: goto L_251380C4;
   6366       case 0x2514C4F6u: goto L_2514C4F6;
   6367       case 0x2514C4FBu: goto L_2514C4FB;
   6368       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6369     }
   6370     RECOMP_REGS_OUT();
   6371 }
   6372 
   6373 void sub_2514C500(void) {
   6374     int _fpu_cmp = 0;
   6375     uint32_t _cf = 0;
   6376     int _df = 1;
   6377     uint32_t _flag_k = FK_NONE;
   6378     uint32_t _flag_a = 0, _flag_b = 0;
   6379     uint32_t _itail_tgt = 0;
   6380     RECOMP_REGS_LOCALS
   6381     RECOMP_ENTER(0x2514C500u);
   6382 
   6383 L_2514C500:
   6384     eax = MEM32(ebp + (-0x14)); /* 0x2514C500: mov eax, dword ptr [ebp - 0x14] */
   6385     PUSH32(esp, eax); /* 0x2514C503: push eax */
   6386     RECOMP_ICALL(0x25137EECu); /* 0x2514C504: call 0x25137eec */ /* not lifted */
   6387     RECOMP_FLAGS_IN();
   6388     ecx = POP32_VAL(esp); /* 0x2514C509: pop ecx */
   6389     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C50A: ret  */
   6390     RECOMP_REGS_OUT();
   6391 }
   6392 
   6393 void sub_2514C50B(void) {
   6394     int _fpu_cmp = 0;
   6395     uint32_t _cf = 0;
   6396     int _df = 1;
   6397     uint32_t _flag_k = FK_NONE;
   6398     uint32_t _flag_a = 0, _flag_b = 0;
   6399     uint32_t _itail_tgt = 0;
   6400     RECOMP_REGS_LOCALS
   6401     RECOMP_ENTER(0x2514C50Bu);
   6402 
   6403     goto L_2514C50B;
   6404 L_251380C4:
   6405     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6406 L_2514C50B:
   6407     eax = 0x2516D638u; /* 0x2514C50B: mov eax, 0x2516d638 */
   6408 L_2514C510:
   6409     RECOMP_BACKEDGE();
   6410     goto L_251380C4; /* 0x2514C510: jmp 0x251380c4 */
   6411     { RECOMP_REGS_OUT(); return; } /* end of function */
   6412   _ljump:
   6413     switch (_itail_tgt) {
   6414       case 0x251380C4u: goto L_251380C4;
   6415       case 0x2514C50Bu: goto L_2514C50B;
   6416       case 0x2514C510u: goto L_2514C510;
   6417       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6418     }
   6419     RECOMP_REGS_OUT();
   6420 }
   6421 
   6422 void sub_2514C520(void) {
   6423     int _fpu_cmp = 0;
   6424     uint32_t _cf = 0;
   6425     int _df = 1;
   6426     uint32_t _flag_k = FK_NONE;
   6427     uint32_t _flag_a = 0, _flag_b = 0;
   6428     uint32_t _itail_tgt = 0;
   6429     RECOMP_REGS_LOCALS
   6430     RECOMP_ENTER(0x2514C520u);
   6431 
   6432 L_2514C520:
   6433     ecx = ebp + (-0x4C); /* 0x2514C520: lea ecx, [ebp - 0x4c] */
   6434 L_2514C523:
   6435     { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; }
   6436     { RECOMP_REGS_OUT(); return; } /* end of function */
   6437   _ljump:
   6438     switch (_itail_tgt) {
   6439       case 0x2514C520u: goto L_2514C520;
   6440       case 0x2514C523u: goto L_2514C523;
   6441       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6442     }
   6443     RECOMP_REGS_OUT();
   6444 }
   6445 
   6446 void sub_2514C529(void) {
   6447     int _fpu_cmp = 0;
   6448     uint32_t _cf = 0;
   6449     int _df = 1;
   6450     uint32_t _flag_k = FK_NONE;
   6451     uint32_t _flag_a = 0, _flag_b = 0;
   6452     uint32_t _itail_tgt = 0;
   6453     RECOMP_REGS_LOCALS
   6454     RECOMP_ENTER(0x2514C529u);
   6455 
   6456     goto L_2514C529;
   6457 L_251380C4:
   6458     { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; }
   6459 L_2514C529:
   6460     eax = 0x2516D660u; /* 0x2514C529: mov eax, 0x2516d660 */
   6461 L_2514C52E:
   6462     RECOMP_BACKEDGE();
   6463     goto L_251380C4; /* 0x2514C52E: jmp 0x251380c4 */
   6464     { RECOMP_REGS_OUT(); return; } /* end of function */
   6465   _ljump:
   6466     switch (_itail_tgt) {
   6467       case 0x251380C4u: goto L_251380C4;
   6468       case 0x2514C529u: goto L_2514C529;
   6469       case 0x2514C52Eu: goto L_2514C52E;
   6470       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6471     }
   6472     RECOMP_REGS_OUT();
   6473 }
   6474 
   6475 void sub_2514C540(void) {
   6476     int _fpu_cmp = 0;
   6477     uint32_t _cf = 0;
   6478     int _df = 1;
   6479     uint32_t _flag_k = FK_NONE;
   6480     uint32_t _flag_a = 0, _flag_b = 0;
   6481     uint32_t _itail_tgt = 0;
   6482     RECOMP_REGS_LOCALS
   6483     RECOMP_ENTER(0x2514C540u);
   6484 
   6485     goto L_2514C540;
   6486 L_2509DA40:
   6487     eax = MEM32(ecx + 0x4); /* 0x2509DA40: mov eax, dword ptr [ecx + 4] */
   6488     /* test eax, eax */ /* 0x2509DA43: test eax, eax */
   6489     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6490     _cf = 0;
   6491     _flag_k = FK_TEST;
   6492     if (TEST_Z(_flag_a, _flag_b)) goto L_2509DA4C; /* 0x2509DA45: je 0x2509da4c */
   6493 L_2509DA47:
   6494     goto L_25118FA0; /* 0x2509DA47: jmp 0x25118fa0 */
   6495 L_2509DA4C:
   6496     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2509DA4C: ret  */
   6497 L_25118FA0:
   6498     PUSH32(esp, esi); /* 0x25118FA0: push esi */
   6499     esi = ecx; /* 0x25118FA1: mov esi, ecx */
   6500     eax = MEM32(esi); /* 0x25118FA3: mov eax, dword ptr [esi] */
   6501     ecx = MEM32(0x25238B58); /* 0x25118FA5: mov ecx, dword ptr [0x25238b58] */
   6502     PUSH32(esp, eax); /* 0x25118FAB: push eax */
   6503     RECOMP_ICALL(0x25103A90u); /* 0x25118FAC: call 0x25103a90 */ /* not lifted */
   6504     RECOMP_FLAGS_IN();
   6505     MEM32(esi + 0x4) = 0; /* 0x25118FB1: mov dword ptr [esi + 4], 0 */
   6506     esi = POP32_VAL(esp); /* 0x25118FB8: pop esi */
   6507     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25118FB9: ret  */
   6508 L_2514C540:
   6509     ecx = ebp + (-0x60); /* 0x2514C540: lea ecx, [ebp - 0x60] */
   6510     RECOMP_BACKEDGE();
   6511     goto L_2509DA40; /* 0x2514C543: jmp 0x2509da40 */
   6512     { RECOMP_REGS_OUT(); return; } /* end of function */
   6513     RECOMP_REGS_OUT();
   6514 }
   6515 
   6516 void sub_2514C548(void) {
   6517     int _fpu_cmp = 0;
   6518     uint32_t _cf = 0;
   6519     int _df = 1;
   6520     uint32_t _flag_k = FK_NONE;
   6521     uint32_t _flag_a = 0, _flag_b = 0;
   6522     uint32_t _itail_tgt = 0;
   6523     RECOMP_REGS_LOCALS
   6524     RECOMP_ENTER(0x2514C548u);
   6525 
   6526 L_2514C548:
   6527     eax = MEM32(ebp + (-0x10)); /* 0x2514C548: mov eax, dword ptr [ebp - 0x10] */
   6528 L_2514C54B:
   6529     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   6530     eax = eax & 1; /* 0x2514C54B: and eax, 1 */
   6531     _cf = 0;
   6532     _flag_k = FK_TEST;
   6533 L_2514C54E:
   6534     /* test eax, eax */ /* 0x2514C54E: test eax, eax */
   6535     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6536     _cf = 0;
   6537     _flag_k = FK_TEST;
   6538 L_2514C550:
   6539     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2514C562; /* 0x2514C550: je 0x2514c562 */
   6540 L_2514C556:
   6541     ecx = ebp + (-0xAC); /* 0x2514C556: lea ecx, [ebp - 0xac] */
   6542 L_2514C55C:
   6543     { _itail_tgt = (uint32_t)(MEM32(0x251511C0)); goto _ljump; }
   6544 L_2514C562:
   6545     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C562: ret  */
   6546   _ljump:
   6547     switch (_itail_tgt) {
   6548       case 0x2514C548u: goto L_2514C548;
   6549       case 0x2514C54Bu: goto L_2514C54B;
   6550       case 0x2514C54Eu: goto L_2514C54E;
   6551       case 0x2514C550u: goto L_2514C550;
   6552       case 0x2514C556u: goto L_2514C556;
   6553       case 0x2514C55Cu: goto L_2514C55C;
   6554       case 0x2514C562u: goto L_2514C562;
   6555       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6556     }
   6557     RECOMP_REGS_OUT();
   6558 }
   6559 
   6560 void sub_2514C563(void) {
   6561     int _fpu_cmp = 0;
   6562     uint32_t _cf = 0;
   6563     int _df = 1;
   6564     uint32_t _flag_k = FK_NONE;
   6565     uint32_t _flag_a = 0, _flag_b = 0;
   6566     uint32_t _itail_tgt = 0;
   6567     RECOMP_REGS_LOCALS
   6568     RECOMP_ENTER(0x2514C563u);
   6569 
   6570 L_2514C563:
   6571     ecx = ebp + (-0xFC); /* 0x2514C563: lea ecx, [ebp - 0xfc] */
   6572 L_2514C569:
   6573     { _itail_tgt = (uint32_t)(MEM32(0x251510C8)); goto _ljump; }
   6574     { RECOMP_REGS_OUT(); return; } /* end of function */
   6575   _ljump:
   6576     switch (_itail_tgt) {
   6577       case 0x2514C563u: goto L_2514C563;
   6578       case 0x2514C569u: goto L_2514C569;
   6579       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6580     }
   6581     RECOMP_REGS_OUT();
   6582 }
   6583 
   6584 void sub_2514C56F(void) {
   6585     int _fpu_cmp = 0;
   6586     uint32_t _cf = 0;
   6587     int _df = 1;
   6588     uint32_t _flag_k = FK_NONE;
   6589     uint32_t _flag_a = 0, _flag_b = 0;
   6590     uint32_t _itail_tgt = 0;
   6591     RECOMP_REGS_LOCALS
   6592     RECOMP_ENTER(0x2514C56Fu);
   6593 
   6594     goto L_2514C56F;
   6595 L_250F35F0:
   6596     PUSH32(esp, esi); /* 0x250F35F0: push esi */
   6597     esi = ecx + 0x5C; /* 0x250F35F1: lea esi, [ecx + 0x5c] */
   6598     ecx = esi; /* 0x250F35F4: mov ecx, esi */
   6599     RECOMP_ICALL(MEM32(0x251511B4)); /* 0x250F35F6: call dword ptr [0x251511b4] */
   6600     RECOMP_FLAGS_IN();
   6601     ecx = esi; /* 0x250F35FC: mov ecx, esi */
   6602     RECOMP_ICALL(MEM32(0x251511C0)); /* 0x250F35FE: call dword ptr [0x251511c0] */
   6603     RECOMP_FLAGS_IN();
   6604     esi = POP32_VAL(esp); /* 0x250F3604: pop esi */
   6605     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F3605: ret  */
   6606 L_2514C56F:
   6607     ecx = ebp + (-0x108); /* 0x2514C56F: lea ecx, [ebp - 0x108] */
   6608     RECOMP_BACKEDGE();
   6609     goto L_250F35F0; /* 0x2514C575: jmp 0x250f35f0 */
   6610     { RECOMP_REGS_OUT(); return; } /* end of function */
   6611     RECOMP_REGS_OUT();
   6612 }
   6613 
   6614 void sub_2514C57A(void) {
   6615     int _fpu_cmp = 0;
   6616     uint32_t _cf = 0;
   6617     int _df = 1;
   6618     uint32_t _flag_k = FK_NONE;
   6619     uint32_t _flag_a = 0, _flag_b = 0;
   6620     uint32_t _itail_tgt = 0;
   6621     RECOMP_REGS_LOCALS
   6622     RECOMP_ENTER(0x2514C57Au);
   6623 
   6624 L_2514C57A:
   6625     eax = MEM32(ebp + (-0x10)); /* 0x2514C57A: mov eax, dword ptr [ebp - 0x10] */
   6626 L_2514C57D:
   6627     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2);
   6628     eax = eax & 2; /* 0x2514C57D: and eax, 2 */
   6629     _cf = 0;
   6630     _flag_k = FK_TEST;
   6631 L_2514C580:
   6632     /* test eax, eax */ /* 0x2514C580: test eax, eax */
   6633     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6634     _cf = 0;
   6635     _flag_k = FK_TEST;
   6636 L_2514C582:
   6637     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2514C594; /* 0x2514C582: je 0x2514c594 */
   6638 L_2514C588:
   6639     ecx = ebp + (-0xAC); /* 0x2514C588: lea ecx, [ebp - 0xac] */
   6640 L_2514C58E:
   6641     { _itail_tgt = (uint32_t)(MEM32(0x251511C0)); goto _ljump; }
   6642 L_2514C594:
   6643     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514C594: ret  */
   6644   _ljump:
   6645     switch (_itail_tgt) {
   6646       case 0x2514C57Au: goto L_2514C57A;
   6647       case 0x2514C57Du: goto L_2514C57D;
   6648       case 0x2514C580u: goto L_2514C580;
   6649       case 0x2514C582u: goto L_2514C582;
   6650       case 0x2514C588u: goto L_2514C588;
   6651       case 0x2514C58Eu: goto L_2514C58E;
   6652       case 0x2514C594u: goto L_2514C594;
   6653       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6654     }
   6655     RECOMP_REGS_OUT();
   6656 }
   6657 
   6658 void sub_2514C595(void) {
   6659     int _fpu_cmp = 0;
   6660     uint32_t _cf = 0;
   6661     int _df = 1;
   6662     uint32_t _flag_k = FK_NONE;
   6663     uint32_t _flag_a = 0, _flag_b = 0;
   6664     uint32_t _itail_tgt = 0;
   6665     RECOMP_REGS_LOCALS
   6666     RECOMP_ENTER(0x2514C595u);
   6667 
   6668 L_2514C595:
   6669     ecx = ebp + (-0xFC); /* 0x2514C595: lea ecx, [ebp - 0xfc] */
   6670 L_2514C59B:
   6671     { _itail_tgt = (uint32_t)(MEM32(0x251510C8)); goto _ljump; }
   6672     { RECOMP_REGS_OUT(); return; } /* end of function */
   6673   _ljump:
   6674     switch (_itail_tgt) {
   6675       case 0x2514C595u: goto L_2514C595;
   6676       case 0x2514C59Bu: goto L_2514C59B;
   6677       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6678     }
   6679     RECOMP_REGS_OUT();
   6680 }
   6681 
   6682 void sub_2514C5A1(void) {
   6683     int _fpu_cmp = 0;
   6684     uint32_t _cf = 0;
   6685     int _df = 1;
   6686     uint32_t _flag_k = FK_NONE;
   6687     uint32_t _flag_a = 0, _flag_b = 0;
   6688     uint32_t _itail_tgt = 0;
   6689     RECOMP_REGS_LOCALS
   6690     RECOMP_ENTER(0x2514C5A1u);
   6691 
   6692     goto L_2514C5A1;
   6693 L_250F35F0:
   6694     PUSH32(esp, esi); /* 0x250F35F0: push esi */
   6695     esi = ecx + 0x5C; /* 0x250F35F1: lea esi, [ecx + 0x5c] */
   6696     ecx = esi; /* 0x250F35F4: mov ecx, esi */
   6697     RECOMP_ICALL(MEM32(0x251511B4)); /* 0x250F35F6: call dword ptr [0x251511b4] */
   6698     RECOMP_FLAGS_IN();
   6699     ecx = esi; /* 0x250F35FC: mov ecx, esi */
   6700     RECOMP_ICALL(MEM32(0x251511C0)); /* 0x250F35FE: call dword ptr [0x251511c0] */
   6701     RECOMP_FLAGS_IN();
   6702     esi = POP32_VAL(esp); /* 0x250F3604: pop esi */
   6703     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F3605: ret  */
   6704 L_2514C5A1:
   6705     ecx = ebp + (-0x108); /* 0x2514C5A1: lea ecx, [ebp - 0x108] */
   6706     RECOMP_BACKEDGE();
   6707     goto L_250F35F0; /* 0x2514C5A7: jmp 0x250f35f0 */
   6708     { RECOMP_REGS_OUT(); return; } /* end of function */
   6709     RECOMP_REGS_OUT();
   6710 }