aorecomp

Anarchy Online classic in the browser

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


client/game/er.dll/lifted-0007.c (476237B)


      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_2E0113D8(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(0x2E0113D8u);
     17 
     18     goto L_2E0113D8;
     19 L_2E0020D0:
     20     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
     21 L_2E0020D3:
     22     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
     23     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
     24     _cf = 0;
     25     _flag_k = FK_TEST;
     26 L_2E0020D6:
     27     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
     28     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
     29     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     30     _flag_k = FK_CMP;
     31 L_2E0020D8:
     32     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
     33 L_2E0020DA:
     34     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
     35 L_2E0020DD:
     36     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
     37 L_2E0020DF:
     38     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
     39 L_2E0020E5:
     40     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
     41 L_2E0113D8:
     42     ecx = ebp + (-0x1C); /* 0x2E0113D8: lea ecx, [ebp - 0x1c] */
     43 L_2E0113DB:
     44     RECOMP_BACKEDGE();
     45     goto L_2E0020D0; /* 0x2E0113DB: jmp 0x2e0020d0 */
     46     { RECOMP_REGS_OUT(); return; } /* end of function */
     47   _ljump:
     48     switch (_itail_tgt) {
     49       case 0x2E0020D0u: goto L_2E0020D0;
     50       case 0x2E0020D3u: goto L_2E0020D3;
     51       case 0x2E0020D6u: goto L_2E0020D6;
     52       case 0x2E0020D8u: goto L_2E0020D8;
     53       case 0x2E0020DAu: goto L_2E0020DA;
     54       case 0x2E0020DDu: goto L_2E0020DD;
     55       case 0x2E0020DFu: goto L_2E0020DF;
     56       case 0x2E0020E5u: goto L_2E0020E5;
     57       case 0x2E0113D8u: goto L_2E0113D8;
     58       case 0x2E0113DBu: goto L_2E0113DB;
     59       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     60     }
     61     RECOMP_REGS_OUT();
     62 }
     63 
     64 void sub_2E0113E0(void) {
     65     int _fpu_cmp = 0;
     66     uint32_t _cf = 0;
     67     int _df = 1;
     68     uint32_t _flag_k = FK_NONE;
     69     uint32_t _flag_a = 0, _flag_b = 0;
     70     uint32_t _itail_tgt = 0;
     71     RECOMP_REGS_LOCALS
     72     RECOMP_ENTER(0x2E0113E0u);
     73 
     74     goto L_2E0113E0;
     75 L_2E0030E0:
     76     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
     77     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
     78     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
     79     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
     80     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
     81     _cf = 0;
     82     _flag_k = FK_TEST;
     83     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
     84 L_2E0030EE:
     85     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
     86     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
     87     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
     88 L_2E0030F6:
     89     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
     90     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
     91     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
     92     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
     93     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
     94     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     95     _flag_k = FK_CMP;
     96     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
     97 L_2E003103:
     98     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
     99     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    100     eax = eax + 4; /* 0x2E003103: add eax, 4 */
    101     _flag_k = FK_ADD;
    102     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
    103     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    105     _flag_k = FK_CMP;
    106     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
    107     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
    108 L_2E00310D:
    109     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
    110     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    111     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    112     eax = eax + 4; /* 0x2E003110: add eax, 4 */
    113     _flag_k = FK_ADD;
    114     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
    115     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
    116     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    117     _flag_k = FK_CMP;
    118     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
    119 L_2E003118:
    120     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
    121     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
    122     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
    123     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
    124     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    125     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
    126     _flag_k = FK_ADD;
    127     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
    128     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
    129     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
    130 L_2E00312E:
    131     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
    132     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    133     eax = eax - 1; /* 0x2E003131: dec eax */
    134     _flag_k = FK_DEC;
    135     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
    136     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
    137 L_2E003137:
    138     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
    139     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
    140     PUSH32(esp, edx); /* 0x2E00313D: push edx */
    141     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
    142     RECOMP_FLAGS_IN();
    143     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
    144     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
    145     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
    146     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
    147     RECOMP_FLAGS_IN();
    148     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
    149     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
    150     PUSH32(esp, eax); /* 0x2E003154: push eax */
    151     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
    152     RECOMP_FLAGS_IN();
    153     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
    154     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    155     eax = 0; /* 0x2E00315D: xor eax, eax */
    156     _cf = 0;
    157     _flag_k = FK_TEST;
    158     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    159     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
    160     _cf = 0;
    161     _flag_k = FK_TEST;
    162     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    163     edx = 0; /* 0x2E003161: xor edx, edx */
    164     _cf = 0;
    165     _flag_k = FK_TEST;
    166     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
    167     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
    168     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
    169     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    170     edi = 0; /* 0x2E00316B: xor edi, edi */
    171     _cf = 0;
    172     _flag_k = FK_TEST;
    173     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
    174     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
    175     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
    176     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
    177     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
    178     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
    179     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
    180     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
    181     RECOMP_FLAGS_IN();
    182     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    183     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    184     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
    185     _flag_k = FK_ADD;
    186     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
    187 L_2E00318A:
    188     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
    189     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
    190     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    191     _flag_k = FK_CMP;
    192     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
    193 L_2E00318F:
    194     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
    195     PUSH32(esp, edx); /* 0x2E003191: push edx */
    196     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
    197     RECOMP_FLAGS_IN();
    198     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    199     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    200     esp = esp + 4; /* 0x2E003197: add esp, 4 */
    201     _flag_k = FK_ADD;
    202     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
    203 L_2E0031A0:
    204     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
    205     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
    206     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    207     _cf = 0;
    208     _flag_k = FK_TEST;
    209     RECOMP_BACKEDGE();
    210     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
    211 L_2E0031AB:
    212     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
    213     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
    214 L_2E0031AD:
    215     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
    216     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
    217 L_2E0113E0:
    218     ecx = ebp + (-0x5C); /* 0x2E0113E0: lea ecx, [ebp - 0x5c] */
    219     RECOMP_BACKEDGE();
    220     goto L_2E0030E0; /* 0x2E0113E3: jmp 0x2e0030e0 */
    221     { RECOMP_REGS_OUT(); return; } /* end of function */
    222     RECOMP_REGS_OUT();
    223 }
    224 
    225 void sub_2E0113E8(void) {
    226     int _fpu_cmp = 0;
    227     uint32_t _cf = 0;
    228     int _df = 1;
    229     uint32_t _flag_k = FK_NONE;
    230     uint32_t _flag_a = 0, _flag_b = 0;
    231     uint32_t _itail_tgt = 0;
    232     RECOMP_REGS_LOCALS
    233     RECOMP_ENTER(0x2E0113E8u);
    234 
    235     goto L_2E0113E8;
    236 L_2E0030E0:
    237     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
    238     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
    239     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
    240     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
    241     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    242     _cf = 0;
    243     _flag_k = FK_TEST;
    244     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
    245 L_2E0030EE:
    246     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
    247     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
    248     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
    249 L_2E0030F6:
    250     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
    251     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
    252     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
    253     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
    254     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    256     _flag_k = FK_CMP;
    257     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
    258 L_2E003103:
    259     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    260     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    261     eax = eax + 4; /* 0x2E003103: add eax, 4 */
    262     _flag_k = FK_ADD;
    263     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
    264     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    265     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    266     _flag_k = FK_CMP;
    267     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
    268     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
    269 L_2E00310D:
    270     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
    271     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    272     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    273     eax = eax + 4; /* 0x2E003110: add eax, 4 */
    274     _flag_k = FK_ADD;
    275     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
    276     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
    277     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    278     _flag_k = FK_CMP;
    279     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
    280 L_2E003118:
    281     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
    282     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
    283     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
    284     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
    285     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    286     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
    287     _flag_k = FK_ADD;
    288     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
    289     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
    290     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
    291 L_2E00312E:
    292     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
    293     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    294     eax = eax - 1; /* 0x2E003131: dec eax */
    295     _flag_k = FK_DEC;
    296     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
    297     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
    298 L_2E003137:
    299     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
    300     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
    301     PUSH32(esp, edx); /* 0x2E00313D: push edx */
    302     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
    303     RECOMP_FLAGS_IN();
    304     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
    305     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
    306     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
    307     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
    308     RECOMP_FLAGS_IN();
    309     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
    310     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
    311     PUSH32(esp, eax); /* 0x2E003154: push eax */
    312     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
    313     RECOMP_FLAGS_IN();
    314     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
    315     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    316     eax = 0; /* 0x2E00315D: xor eax, eax */
    317     _cf = 0;
    318     _flag_k = FK_TEST;
    319     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    320     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
    321     _cf = 0;
    322     _flag_k = FK_TEST;
    323     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    324     edx = 0; /* 0x2E003161: xor edx, edx */
    325     _cf = 0;
    326     _flag_k = FK_TEST;
    327     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
    328     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
    329     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
    330     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    331     edi = 0; /* 0x2E00316B: xor edi, edi */
    332     _cf = 0;
    333     _flag_k = FK_TEST;
    334     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
    335     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
    336     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
    337     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
    338     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
    339     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
    340     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
    341     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
    342     RECOMP_FLAGS_IN();
    343     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    344     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    345     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
    346     _flag_k = FK_ADD;
    347     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
    348 L_2E00318A:
    349     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
    350     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
    351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    352     _flag_k = FK_CMP;
    353     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
    354 L_2E00318F:
    355     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
    356     PUSH32(esp, edx); /* 0x2E003191: push edx */
    357     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
    358     RECOMP_FLAGS_IN();
    359     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    360     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    361     esp = esp + 4; /* 0x2E003197: add esp, 4 */
    362     _flag_k = FK_ADD;
    363     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
    364 L_2E0031A0:
    365     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
    366     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
    367     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    368     _cf = 0;
    369     _flag_k = FK_TEST;
    370     RECOMP_BACKEDGE();
    371     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
    372 L_2E0031AB:
    373     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
    374     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
    375 L_2E0031AD:
    376     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
    377     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
    378 L_2E0113E8:
    379     eax = MEM32(ebp + (-0x10)); /* 0x2E0113E8: mov eax, dword ptr [ebp - 0x10] */
    380     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    381     eax = eax & 1; /* 0x2E0113EB: and eax, 1 */
    382     _cf = 0;
    383     _flag_k = FK_TEST;
    384     /* test eax, eax */ /* 0x2E0113EE: test eax, eax */
    385     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    386     _cf = 0;
    387     _flag_k = FK_TEST;
    388     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0113FE; /* 0x2E0113F0: je 0x2e0113fe */
    389 L_2E0113F6:
    390     ecx = MEM32(ebp + 0x8); /* 0x2E0113F6: mov ecx, dword ptr [ebp + 8] */
    391     RECOMP_BACKEDGE();
    392     goto L_2E0030E0; /* 0x2E0113F9: jmp 0x2e0030e0 */
    393 L_2E0113FE:
    394     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0113FE: ret  */
    395     RECOMP_REGS_OUT();
    396 }
    397 
    398 void sub_2E0113FF(void) {
    399     int _fpu_cmp = 0;
    400     uint32_t _cf = 0;
    401     int _df = 1;
    402     uint32_t _flag_k = FK_NONE;
    403     uint32_t _flag_a = 0, _flag_b = 0;
    404     uint32_t _itail_tgt = 0;
    405     RECOMP_REGS_LOCALS
    406     RECOMP_ENTER(0x2E0113FFu);
    407 
    408     goto L_2E0113FF;
    409 L_2E010EA2:
    410     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
    411 L_2E0113FF:
    412     eax = 0x2E013308u; /* 0x2E0113FF: mov eax, 0x2e013308 */
    413 L_2E011404:
    414     RECOMP_BACKEDGE();
    415     goto L_2E010EA2; /* 0x2E011404: jmp 0x2e010ea2 */
    416     { RECOMP_REGS_OUT(); return; } /* end of function */
    417   _ljump:
    418     switch (_itail_tgt) {
    419       case 0x2E010EA2u: goto L_2E010EA2;
    420       case 0x2E0113FFu: goto L_2E0113FF;
    421       case 0x2E011404u: goto L_2E011404;
    422       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    423     }
    424     RECOMP_REGS_OUT();
    425 }
    426 
    427 void sub_2E011410(void) {
    428     int _fpu_cmp = 0;
    429     uint32_t _cf = 0;
    430     int _df = 1;
    431     uint32_t _flag_k = FK_NONE;
    432     uint32_t _flag_a = 0, _flag_b = 0;
    433     uint32_t _itail_tgt = 0;
    434     RECOMP_REGS_LOCALS
    435     RECOMP_ENTER(0x2E011410u);
    436 
    437     goto L_2E011410;
    438 L_2E0020D0:
    439     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
    440 L_2E0020D3:
    441     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
    442     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
    443     _cf = 0;
    444     _flag_k = FK_TEST;
    445 L_2E0020D6:
    446     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
    447     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
    448     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    449     _flag_k = FK_CMP;
    450 L_2E0020D8:
    451     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
    452 L_2E0020DA:
    453     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
    454 L_2E0020DD:
    455     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
    456 L_2E0020DF:
    457     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
    458 L_2E0020E5:
    459     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
    460 L_2E011410:
    461     ecx = ebp + (-0x1C); /* 0x2E011410: lea ecx, [ebp - 0x1c] */
    462 L_2E011413:
    463     RECOMP_BACKEDGE();
    464     goto L_2E0020D0; /* 0x2E011413: jmp 0x2e0020d0 */
    465     { RECOMP_REGS_OUT(); return; } /* end of function */
    466   _ljump:
    467     switch (_itail_tgt) {
    468       case 0x2E0020D0u: goto L_2E0020D0;
    469       case 0x2E0020D3u: goto L_2E0020D3;
    470       case 0x2E0020D6u: goto L_2E0020D6;
    471       case 0x2E0020D8u: goto L_2E0020D8;
    472       case 0x2E0020DAu: goto L_2E0020DA;
    473       case 0x2E0020DDu: goto L_2E0020DD;
    474       case 0x2E0020DFu: goto L_2E0020DF;
    475       case 0x2E0020E5u: goto L_2E0020E5;
    476       case 0x2E011410u: goto L_2E011410;
    477       case 0x2E011413u: goto L_2E011413;
    478       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    479     }
    480     RECOMP_REGS_OUT();
    481 }
    482 
    483 void sub_2E011418(void) {
    484     int _fpu_cmp = 0;
    485     uint32_t _cf = 0;
    486     int _df = 1;
    487     uint32_t _flag_k = FK_NONE;
    488     uint32_t _flag_a = 0, _flag_b = 0;
    489     uint32_t _itail_tgt = 0;
    490     RECOMP_REGS_LOCALS
    491     RECOMP_ENTER(0x2E011418u);
    492 
    493     goto L_2E011418;
    494 L_2E0020D0:
    495     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
    496 L_2E0020D3:
    497     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
    498     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
    499     _cf = 0;
    500     _flag_k = FK_TEST;
    501 L_2E0020D6:
    502     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
    503     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
    504     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    505     _flag_k = FK_CMP;
    506 L_2E0020D8:
    507     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
    508 L_2E0020DA:
    509     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
    510 L_2E0020DD:
    511     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
    512 L_2E0020DF:
    513     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
    514 L_2E0020E5:
    515     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
    516 L_2E011418:
    517     ecx = ebp + (-0x1C); /* 0x2E011418: lea ecx, [ebp - 0x1c] */
    518 L_2E01141B:
    519     RECOMP_BACKEDGE();
    520     goto L_2E0020D0; /* 0x2E01141B: jmp 0x2e0020d0 */
    521     { RECOMP_REGS_OUT(); return; } /* end of function */
    522   _ljump:
    523     switch (_itail_tgt) {
    524       case 0x2E0020D0u: goto L_2E0020D0;
    525       case 0x2E0020D3u: goto L_2E0020D3;
    526       case 0x2E0020D6u: goto L_2E0020D6;
    527       case 0x2E0020D8u: goto L_2E0020D8;
    528       case 0x2E0020DAu: goto L_2E0020DA;
    529       case 0x2E0020DDu: goto L_2E0020DD;
    530       case 0x2E0020DFu: goto L_2E0020DF;
    531       case 0x2E0020E5u: goto L_2E0020E5;
    532       case 0x2E011418u: goto L_2E011418;
    533       case 0x2E01141Bu: goto L_2E01141B;
    534       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    535     }
    536     RECOMP_REGS_OUT();
    537 }
    538 
    539 void sub_2E011420(void) {
    540     int _fpu_cmp = 0;
    541     uint32_t _cf = 0;
    542     int _df = 1;
    543     uint32_t _flag_k = FK_NONE;
    544     uint32_t _flag_a = 0, _flag_b = 0;
    545     uint32_t _itail_tgt = 0;
    546     RECOMP_REGS_LOCALS
    547     RECOMP_ENTER(0x2E011420u);
    548 
    549     goto L_2E011420;
    550 L_2E0030E0:
    551     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
    552     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
    553     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
    554     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
    555     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    556     _cf = 0;
    557     _flag_k = FK_TEST;
    558     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
    559 L_2E0030EE:
    560     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
    561     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
    562     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
    563 L_2E0030F6:
    564     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
    565     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
    566     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
    567     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
    568     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    569     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    570     _flag_k = FK_CMP;
    571     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
    572 L_2E003103:
    573     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    574     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    575     eax = eax + 4; /* 0x2E003103: add eax, 4 */
    576     _flag_k = FK_ADD;
    577     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
    578     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    579     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    580     _flag_k = FK_CMP;
    581     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
    582     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
    583 L_2E00310D:
    584     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
    585     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    586     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    587     eax = eax + 4; /* 0x2E003110: add eax, 4 */
    588     _flag_k = FK_ADD;
    589     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
    590     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
    591     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    592     _flag_k = FK_CMP;
    593     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
    594 L_2E003118:
    595     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
    596     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
    597     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
    598     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
    599     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    600     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
    601     _flag_k = FK_ADD;
    602     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
    603     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
    604     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
    605 L_2E00312E:
    606     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
    607     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    608     eax = eax - 1; /* 0x2E003131: dec eax */
    609     _flag_k = FK_DEC;
    610     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
    611     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
    612 L_2E003137:
    613     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
    614     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
    615     PUSH32(esp, edx); /* 0x2E00313D: push edx */
    616     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
    617     RECOMP_FLAGS_IN();
    618     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
    619     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
    620     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
    621     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
    622     RECOMP_FLAGS_IN();
    623     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
    624     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
    625     PUSH32(esp, eax); /* 0x2E003154: push eax */
    626     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
    627     RECOMP_FLAGS_IN();
    628     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
    629     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    630     eax = 0; /* 0x2E00315D: xor eax, eax */
    631     _cf = 0;
    632     _flag_k = FK_TEST;
    633     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    634     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
    635     _cf = 0;
    636     _flag_k = FK_TEST;
    637     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    638     edx = 0; /* 0x2E003161: xor edx, edx */
    639     _cf = 0;
    640     _flag_k = FK_TEST;
    641     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
    642     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
    643     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
    644     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    645     edi = 0; /* 0x2E00316B: xor edi, edi */
    646     _cf = 0;
    647     _flag_k = FK_TEST;
    648     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
    649     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
    650     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
    651     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
    652     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
    653     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
    654     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
    655     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
    656     RECOMP_FLAGS_IN();
    657     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    658     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    659     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
    660     _flag_k = FK_ADD;
    661     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
    662 L_2E00318A:
    663     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
    664     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
    665     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    666     _flag_k = FK_CMP;
    667     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
    668 L_2E00318F:
    669     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
    670     PUSH32(esp, edx); /* 0x2E003191: push edx */
    671     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
    672     RECOMP_FLAGS_IN();
    673     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    674     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    675     esp = esp + 4; /* 0x2E003197: add esp, 4 */
    676     _flag_k = FK_ADD;
    677     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
    678 L_2E0031A0:
    679     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
    680     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
    681     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    682     _cf = 0;
    683     _flag_k = FK_TEST;
    684     RECOMP_BACKEDGE();
    685     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
    686 L_2E0031AB:
    687     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
    688     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
    689 L_2E0031AD:
    690     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
    691     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
    692 L_2E011420:
    693     ecx = ebp + (-0x5C); /* 0x2E011420: lea ecx, [ebp - 0x5c] */
    694     RECOMP_BACKEDGE();
    695     goto L_2E0030E0; /* 0x2E011423: jmp 0x2e0030e0 */
    696     { RECOMP_REGS_OUT(); return; } /* end of function */
    697     RECOMP_REGS_OUT();
    698 }
    699 
    700 void sub_2E011428(void) {
    701     int _fpu_cmp = 0;
    702     uint32_t _cf = 0;
    703     int _df = 1;
    704     uint32_t _flag_k = FK_NONE;
    705     uint32_t _flag_a = 0, _flag_b = 0;
    706     uint32_t _itail_tgt = 0;
    707     RECOMP_REGS_LOCALS
    708     RECOMP_ENTER(0x2E011428u);
    709 
    710     goto L_2E011428;
    711 L_2E0030E0:
    712     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
    713     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
    714     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
    715     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
    716     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    717     _cf = 0;
    718     _flag_k = FK_TEST;
    719     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
    720 L_2E0030EE:
    721     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
    722     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
    723     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
    724 L_2E0030F6:
    725     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
    726     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
    727     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
    728     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
    729     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    730     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    731     _flag_k = FK_CMP;
    732     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
    733 L_2E003103:
    734     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    735     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    736     eax = eax + 4; /* 0x2E003103: add eax, 4 */
    737     _flag_k = FK_ADD;
    738     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
    739     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    740     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    741     _flag_k = FK_CMP;
    742     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
    743     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
    744 L_2E00310D:
    745     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
    746     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    747     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    748     eax = eax + 4; /* 0x2E003110: add eax, 4 */
    749     _flag_k = FK_ADD;
    750     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
    751     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
    752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    753     _flag_k = FK_CMP;
    754     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
    755 L_2E003118:
    756     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
    757     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
    758     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
    759     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
    760     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    761     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
    762     _flag_k = FK_ADD;
    763     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
    764     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
    765     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
    766 L_2E00312E:
    767     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
    768     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    769     eax = eax - 1; /* 0x2E003131: dec eax */
    770     _flag_k = FK_DEC;
    771     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
    772     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
    773 L_2E003137:
    774     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
    775     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
    776     PUSH32(esp, edx); /* 0x2E00313D: push edx */
    777     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
    778     RECOMP_FLAGS_IN();
    779     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
    780     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
    781     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
    782     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
    783     RECOMP_FLAGS_IN();
    784     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
    785     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
    786     PUSH32(esp, eax); /* 0x2E003154: push eax */
    787     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
    788     RECOMP_FLAGS_IN();
    789     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
    790     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    791     eax = 0; /* 0x2E00315D: xor eax, eax */
    792     _cf = 0;
    793     _flag_k = FK_TEST;
    794     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    795     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
    796     _cf = 0;
    797     _flag_k = FK_TEST;
    798     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    799     edx = 0; /* 0x2E003161: xor edx, edx */
    800     _cf = 0;
    801     _flag_k = FK_TEST;
    802     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
    803     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
    804     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
    805     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    806     edi = 0; /* 0x2E00316B: xor edi, edi */
    807     _cf = 0;
    808     _flag_k = FK_TEST;
    809     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
    810     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
    811     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
    812     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
    813     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
    814     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
    815     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
    816     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
    817     RECOMP_FLAGS_IN();
    818     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    819     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    820     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
    821     _flag_k = FK_ADD;
    822     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
    823 L_2E00318A:
    824     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
    825     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
    826     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    827     _flag_k = FK_CMP;
    828     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
    829 L_2E00318F:
    830     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
    831     PUSH32(esp, edx); /* 0x2E003191: push edx */
    832     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
    833     RECOMP_FLAGS_IN();
    834     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    835     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    836     esp = esp + 4; /* 0x2E003197: add esp, 4 */
    837     _flag_k = FK_ADD;
    838     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
    839 L_2E0031A0:
    840     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
    841     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
    842     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    843     _cf = 0;
    844     _flag_k = FK_TEST;
    845     RECOMP_BACKEDGE();
    846     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
    847 L_2E0031AB:
    848     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
    849     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
    850 L_2E0031AD:
    851     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
    852     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
    853 L_2E011428:
    854     eax = MEM32(ebp + (-0x10)); /* 0x2E011428: mov eax, dword ptr [ebp - 0x10] */
    855     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    856     eax = eax & 1; /* 0x2E01142B: and eax, 1 */
    857     _cf = 0;
    858     _flag_k = FK_TEST;
    859     /* test eax, eax */ /* 0x2E01142E: test eax, eax */
    860     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    861     _cf = 0;
    862     _flag_k = FK_TEST;
    863     if (TEST_Z(_flag_a, _flag_b)) goto L_2E01143E; /* 0x2E011430: je 0x2e01143e */
    864 L_2E011436:
    865     ecx = MEM32(ebp + 0x8); /* 0x2E011436: mov ecx, dword ptr [ebp + 8] */
    866     RECOMP_BACKEDGE();
    867     goto L_2E0030E0; /* 0x2E011439: jmp 0x2e0030e0 */
    868 L_2E01143E:
    869     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E01143E: ret  */
    870     RECOMP_REGS_OUT();
    871 }
    872 
    873 void sub_2E01143F(void) {
    874     int _fpu_cmp = 0;
    875     uint32_t _cf = 0;
    876     int _df = 1;
    877     uint32_t _flag_k = FK_NONE;
    878     uint32_t _flag_a = 0, _flag_b = 0;
    879     uint32_t _itail_tgt = 0;
    880     RECOMP_REGS_LOCALS
    881     RECOMP_ENTER(0x2E01143Fu);
    882 
    883     goto L_2E01143F;
    884 L_2E010EA2:
    885     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
    886 L_2E01143F:
    887     eax = 0x2E013348u; /* 0x2E01143F: mov eax, 0x2e013348 */
    888 L_2E011444:
    889     RECOMP_BACKEDGE();
    890     goto L_2E010EA2; /* 0x2E011444: jmp 0x2e010ea2 */
    891     { RECOMP_REGS_OUT(); return; } /* end of function */
    892   _ljump:
    893     switch (_itail_tgt) {
    894       case 0x2E010EA2u: goto L_2E010EA2;
    895       case 0x2E01143Fu: goto L_2E01143F;
    896       case 0x2E011444u: goto L_2E011444;
    897       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    898     }
    899     RECOMP_REGS_OUT();
    900 }
    901 
    902 void sub_2E011450(void) {
    903     int _fpu_cmp = 0;
    904     uint32_t _cf = 0;
    905     int _df = 1;
    906     uint32_t _flag_k = FK_NONE;
    907     uint32_t _flag_a = 0, _flag_b = 0;
    908     uint32_t _itail_tgt = 0;
    909     RECOMP_REGS_LOCALS
    910     RECOMP_ENTER(0x2E011450u);
    911 
    912 L_2E011450:
    913     ecx = MEM32(ebp + (-0x18)); /* 0x2E011450: mov ecx, dword ptr [ebp - 0x18] */
    914 L_2E011453:
    915     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
    916     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    917     ecx = ecx + 4; /* 0x2E011453: add ecx, 4 */
    918     _flag_k = FK_ADD;
    919 L_2E011456:
    920     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
    921     { RECOMP_REGS_OUT(); return; } /* end of function */
    922   _ljump:
    923     switch (_itail_tgt) {
    924       case 0x2E011450u: goto L_2E011450;
    925       case 0x2E011453u: goto L_2E011453;
    926       case 0x2E011456u: goto L_2E011456;
    927       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    928     }
    929     RECOMP_REGS_OUT();
    930 }
    931 
    932 void sub_2E01145C(void) {
    933     int _fpu_cmp = 0;
    934     uint32_t _cf = 0;
    935     int _df = 1;
    936     uint32_t _flag_k = FK_NONE;
    937     uint32_t _flag_a = 0, _flag_b = 0;
    938     uint32_t _itail_tgt = 0;
    939     RECOMP_REGS_LOCALS
    940     RECOMP_ENTER(0x2E01145Cu);
    941 
    942     goto L_2E01145C;
    943 L_2E0030E0:
    944     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
    945     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
    946     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
    947     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
    948     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    949     _cf = 0;
    950     _flag_k = FK_TEST;
    951     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
    952 L_2E0030EE:
    953     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
    954     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
    955     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
    956 L_2E0030F6:
    957     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
    958     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
    959     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
    960     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
    961     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    962     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    963     _flag_k = FK_CMP;
    964     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
    965 L_2E003103:
    966     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    967     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    968     eax = eax + 4; /* 0x2E003103: add eax, 4 */
    969     _flag_k = FK_ADD;
    970     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
    971     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    973     _flag_k = FK_CMP;
    974     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
    975     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
    976 L_2E00310D:
    977     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
    978     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    979     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    980     eax = eax + 4; /* 0x2E003110: add eax, 4 */
    981     _flag_k = FK_ADD;
    982     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
    983     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
    984     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    985     _flag_k = FK_CMP;
    986     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
    987 L_2E003118:
    988     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
    989     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
    990     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
    991     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
    992     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    993     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
    994     _flag_k = FK_ADD;
    995     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
    996     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
    997     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
    998 L_2E00312E:
    999     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   1000     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1001     eax = eax - 1; /* 0x2E003131: dec eax */
   1002     _flag_k = FK_DEC;
   1003     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   1004     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   1005 L_2E003137:
   1006     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   1007     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   1008     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   1009     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   1010     RECOMP_FLAGS_IN();
   1011     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   1012     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   1013     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   1014     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   1015     RECOMP_FLAGS_IN();
   1016     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   1017     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   1018     PUSH32(esp, eax); /* 0x2E003154: push eax */
   1019     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   1020     RECOMP_FLAGS_IN();
   1021     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   1022     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1023     eax = 0; /* 0x2E00315D: xor eax, eax */
   1024     _cf = 0;
   1025     _flag_k = FK_TEST;
   1026     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1027     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   1028     _cf = 0;
   1029     _flag_k = FK_TEST;
   1030     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1031     edx = 0; /* 0x2E003161: xor edx, edx */
   1032     _cf = 0;
   1033     _flag_k = FK_TEST;
   1034     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   1035     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   1036     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   1037     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1038     edi = 0; /* 0x2E00316B: xor edi, edi */
   1039     _cf = 0;
   1040     _flag_k = FK_TEST;
   1041     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   1042     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   1043     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   1044     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   1045     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   1046     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   1047     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   1048     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   1049     RECOMP_FLAGS_IN();
   1050     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1051     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1052     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   1053     _flag_k = FK_ADD;
   1054     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   1055 L_2E00318A:
   1056     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   1057     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   1058     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1059     _flag_k = FK_CMP;
   1060     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   1061 L_2E00318F:
   1062     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   1063     PUSH32(esp, edx); /* 0x2E003191: push edx */
   1064     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   1065     RECOMP_FLAGS_IN();
   1066     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1067     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1068     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   1069     _flag_k = FK_ADD;
   1070     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   1071 L_2E0031A0:
   1072     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   1073     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   1074     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1075     _cf = 0;
   1076     _flag_k = FK_TEST;
   1077     RECOMP_BACKEDGE();
   1078     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   1079 L_2E0031AB:
   1080     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   1081     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   1082 L_2E0031AD:
   1083     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   1084     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   1085 L_2E01145C:
   1086     ecx = MEM32(ebp + (-0x18)); /* 0x2E01145C: mov ecx, dword ptr [ebp - 0x18] */
   1087     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   1088     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1089     ecx = ecx + 0x50u; /* 0x2E01145F: add ecx, 0x50 */
   1090     _flag_k = FK_ADD;
   1091     RECOMP_BACKEDGE();
   1092     goto L_2E0030E0; /* 0x2E011462: jmp 0x2e0030e0 */
   1093     { RECOMP_REGS_OUT(); return; } /* end of function */
   1094     RECOMP_REGS_OUT();
   1095 }
   1096 
   1097 void sub_2E011467(void) {
   1098     int _fpu_cmp = 0;
   1099     uint32_t _cf = 0;
   1100     int _df = 1;
   1101     uint32_t _flag_k = FK_NONE;
   1102     uint32_t _flag_a = 0, _flag_b = 0;
   1103     uint32_t _itail_tgt = 0;
   1104     RECOMP_REGS_LOCALS
   1105     RECOMP_ENTER(0x2E011467u);
   1106 
   1107     goto L_2E011467;
   1108 L_2E0030E0:
   1109     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   1110     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   1111     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   1112     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   1113     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1114     _cf = 0;
   1115     _flag_k = FK_TEST;
   1116     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   1117 L_2E0030EE:
   1118     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   1119     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   1120     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   1121 L_2E0030F6:
   1122     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   1123     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   1124     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   1125     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   1126     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1128     _flag_k = FK_CMP;
   1129     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   1130 L_2E003103:
   1131     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1132     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1133     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   1134     _flag_k = FK_ADD;
   1135     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   1136     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1137     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1138     _flag_k = FK_CMP;
   1139     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   1140     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   1141 L_2E00310D:
   1142     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   1143     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1144     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1145     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   1146     _flag_k = FK_ADD;
   1147     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   1148     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   1149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1150     _flag_k = FK_CMP;
   1151     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   1152 L_2E003118:
   1153     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   1154     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   1155     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   1156     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   1157     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1158     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   1159     _flag_k = FK_ADD;
   1160     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   1161     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   1162     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   1163 L_2E00312E:
   1164     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   1165     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1166     eax = eax - 1; /* 0x2E003131: dec eax */
   1167     _flag_k = FK_DEC;
   1168     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   1169     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   1170 L_2E003137:
   1171     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   1172     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   1173     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   1174     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   1175     RECOMP_FLAGS_IN();
   1176     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   1177     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   1178     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   1179     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   1180     RECOMP_FLAGS_IN();
   1181     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   1182     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   1183     PUSH32(esp, eax); /* 0x2E003154: push eax */
   1184     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   1185     RECOMP_FLAGS_IN();
   1186     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   1187     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1188     eax = 0; /* 0x2E00315D: xor eax, eax */
   1189     _cf = 0;
   1190     _flag_k = FK_TEST;
   1191     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1192     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   1193     _cf = 0;
   1194     _flag_k = FK_TEST;
   1195     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1196     edx = 0; /* 0x2E003161: xor edx, edx */
   1197     _cf = 0;
   1198     _flag_k = FK_TEST;
   1199     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   1200     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   1201     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   1202     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1203     edi = 0; /* 0x2E00316B: xor edi, edi */
   1204     _cf = 0;
   1205     _flag_k = FK_TEST;
   1206     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   1207     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   1208     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   1209     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   1210     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   1211     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   1212     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   1213     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   1214     RECOMP_FLAGS_IN();
   1215     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1216     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1217     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   1218     _flag_k = FK_ADD;
   1219     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   1220 L_2E00318A:
   1221     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   1222     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   1223     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1224     _flag_k = FK_CMP;
   1225     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   1226 L_2E00318F:
   1227     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   1228     PUSH32(esp, edx); /* 0x2E003191: push edx */
   1229     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   1230     RECOMP_FLAGS_IN();
   1231     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1232     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1233     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   1234     _flag_k = FK_ADD;
   1235     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   1236 L_2E0031A0:
   1237     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   1238     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   1239     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1240     _cf = 0;
   1241     _flag_k = FK_TEST;
   1242     RECOMP_BACKEDGE();
   1243     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   1244 L_2E0031AB:
   1245     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   1246     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   1247 L_2E0031AD:
   1248     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   1249     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   1250 L_2E011467:
   1251     ecx = MEM32(ebp + (-0x18)); /* 0x2E011467: mov ecx, dword ptr [ebp - 0x18] */
   1252     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   1253     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1254     ecx = ecx + 0x80u; /* 0x2E01146A: add ecx, 0x80 */
   1255     _flag_k = FK_ADD;
   1256     RECOMP_BACKEDGE();
   1257     goto L_2E0030E0; /* 0x2E011470: jmp 0x2e0030e0 */
   1258     { RECOMP_REGS_OUT(); return; } /* end of function */
   1259     RECOMP_REGS_OUT();
   1260 }
   1261 
   1262 void sub_2E011475(void) {
   1263     int _fpu_cmp = 0;
   1264     uint32_t _cf = 0;
   1265     int _df = 1;
   1266     uint32_t _flag_k = FK_NONE;
   1267     uint32_t _flag_a = 0, _flag_b = 0;
   1268     uint32_t _itail_tgt = 0;
   1269     RECOMP_REGS_LOCALS
   1270     RECOMP_ENTER(0x2E011475u);
   1271 
   1272     goto L_2E011475;
   1273 L_2E0030E0:
   1274     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   1275     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   1276     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   1277     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   1278     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1279     _cf = 0;
   1280     _flag_k = FK_TEST;
   1281     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   1282 L_2E0030EE:
   1283     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   1284     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   1285     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   1286 L_2E0030F6:
   1287     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   1288     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   1289     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   1290     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   1291     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1292     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1293     _flag_k = FK_CMP;
   1294     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   1295 L_2E003103:
   1296     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1297     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1298     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   1299     _flag_k = FK_ADD;
   1300     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   1301     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1302     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1303     _flag_k = FK_CMP;
   1304     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   1305     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   1306 L_2E00310D:
   1307     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   1308     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1309     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1310     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   1311     _flag_k = FK_ADD;
   1312     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   1313     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   1314     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1315     _flag_k = FK_CMP;
   1316     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   1317 L_2E003118:
   1318     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   1319     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   1320     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   1321     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   1322     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1323     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   1324     _flag_k = FK_ADD;
   1325     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   1326     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   1327     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   1328 L_2E00312E:
   1329     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   1330     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1331     eax = eax - 1; /* 0x2E003131: dec eax */
   1332     _flag_k = FK_DEC;
   1333     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   1334     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   1335 L_2E003137:
   1336     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   1337     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   1338     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   1339     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   1340     RECOMP_FLAGS_IN();
   1341     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   1342     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   1343     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   1344     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   1345     RECOMP_FLAGS_IN();
   1346     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   1347     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   1348     PUSH32(esp, eax); /* 0x2E003154: push eax */
   1349     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   1350     RECOMP_FLAGS_IN();
   1351     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   1352     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1353     eax = 0; /* 0x2E00315D: xor eax, eax */
   1354     _cf = 0;
   1355     _flag_k = FK_TEST;
   1356     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1357     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   1358     _cf = 0;
   1359     _flag_k = FK_TEST;
   1360     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1361     edx = 0; /* 0x2E003161: xor edx, edx */
   1362     _cf = 0;
   1363     _flag_k = FK_TEST;
   1364     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   1365     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   1366     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   1367     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1368     edi = 0; /* 0x2E00316B: xor edi, edi */
   1369     _cf = 0;
   1370     _flag_k = FK_TEST;
   1371     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   1372     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   1373     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   1374     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   1375     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   1376     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   1377     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   1378     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   1379     RECOMP_FLAGS_IN();
   1380     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1381     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1382     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   1383     _flag_k = FK_ADD;
   1384     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   1385 L_2E00318A:
   1386     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   1387     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   1388     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1389     _flag_k = FK_CMP;
   1390     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   1391 L_2E00318F:
   1392     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   1393     PUSH32(esp, edx); /* 0x2E003191: push edx */
   1394     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   1395     RECOMP_FLAGS_IN();
   1396     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1397     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1398     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   1399     _flag_k = FK_ADD;
   1400     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   1401 L_2E0031A0:
   1402     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   1403     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   1404     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1405     _cf = 0;
   1406     _flag_k = FK_TEST;
   1407     RECOMP_BACKEDGE();
   1408     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   1409 L_2E0031AB:
   1410     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   1411     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   1412 L_2E0031AD:
   1413     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   1414     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   1415 L_2E011475:
   1416     ecx = MEM32(ebp + (-0x18)); /* 0x2E011475: mov ecx, dword ptr [ebp - 0x18] */
   1417     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xB0u);
   1418     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1419     ecx = ecx + 0xB0u; /* 0x2E011478: add ecx, 0xb0 */
   1420     _flag_k = FK_ADD;
   1421     RECOMP_BACKEDGE();
   1422     goto L_2E0030E0; /* 0x2E01147E: jmp 0x2e0030e0 */
   1423     { RECOMP_REGS_OUT(); return; } /* end of function */
   1424     RECOMP_REGS_OUT();
   1425 }
   1426 
   1427 void sub_2E011483(void) {
   1428     int _fpu_cmp = 0;
   1429     uint32_t _cf = 0;
   1430     int _df = 1;
   1431     uint32_t _flag_k = FK_NONE;
   1432     uint32_t _flag_a = 0, _flag_b = 0;
   1433     uint32_t _itail_tgt = 0;
   1434     RECOMP_REGS_LOCALS
   1435     RECOMP_ENTER(0x2E011483u);
   1436 
   1437     goto L_2E011483;
   1438 L_2E0037D0:
   1439     PUSH32(esp, ebp); /* 0x2E0037D0: push ebp */
   1440     ebp = esp; /* 0x2E0037D1: mov ebp, esp */
   1441     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0037D3: push -1 */
   1442     PUSH32(esp, 0x2E011543u); /* 0x2E0037D5: push 0x2e011543 */
   1443     eax = MEM32(FS_BASE + (0)); /* 0x2E0037DA: mov eax, dword ptr fs:[0] */
   1444     PUSH32(esp, eax); /* 0x2E0037E0: push eax */
   1445     MEM32(FS_BASE + (0)) = esp; /* 0x2E0037E1: mov dword ptr fs:[0], esp */
   1446     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
   1447     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1448     esp = esp - 0x18u; /* 0x2E0037E8: sub esp, 0x18 */
   1449     _flag_k = FK_CMP;
   1450     PUSH32(esp, ebx); /* 0x2E0037EB: push ebx */
   1451     PUSH32(esp, esi); /* 0x2E0037EC: push esi */
   1452     PUSH32(esp, edi); /* 0x2E0037ED: push edi */
   1453     edi = ecx; /* 0x2E0037EE: mov edi, ecx */
   1454     MEM32(ebp + (-0x14)) = edi; /* 0x2E0037F0: mov dword ptr [ebp - 0x14], edi */
   1455     MEM32(edi) = 0x2E012264u; /* 0x2E0037F3: mov dword ptr [edi], 0x2e012264 */
   1456     ebx = edi + 0x50; /* 0x2E0037F9: lea ebx, [edi + 0x50] */
   1457     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1458     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1459     esp = esp - 0x10u; /* 0x2E0037FC: sub esp, 0x10 */
   1460     _flag_k = FK_CMP;
   1461     ecx = esp; /* 0x2E0037FF: mov ecx, esp */
   1462     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1463     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1464     esp = esp - 0x10u; /* 0x2E003801: sub esp, 0x10 */
   1465     _flag_k = FK_CMP;
   1466     eax = ebx + 0x14; /* 0x2E003804: lea eax, [ebx + 0x14] */
   1467     MEM32(ebp + (-0x4)) = 3; /* 0x2E003807: mov dword ptr [ebp - 4], 3 */
   1468     edx = MEM32(eax); /* 0x2E00380E: mov edx, dword ptr [eax] */
   1469     MEM32(ecx) = edx; /* 0x2E003810: mov dword ptr [ecx], edx */
   1470     edx = MEM32(eax + 0x4); /* 0x2E003812: mov edx, dword ptr [eax + 4] */
   1471     MEM32(ecx + 0x4) = edx; /* 0x2E003815: mov dword ptr [ecx + 4], edx */
   1472     edx = MEM32(eax + 0x8); /* 0x2E003818: mov edx, dword ptr [eax + 8] */
   1473     MEM32(ecx + 0x8) = edx; /* 0x2E00381B: mov dword ptr [ecx + 8], edx */
   1474     edx = esp; /* 0x2E00381E: mov edx, esp */
   1475     eax = MEM32(eax + 0xC); /* 0x2E003820: mov eax, dword ptr [eax + 0xc] */
   1476     MEM32(ecx + 0xC) = eax; /* 0x2E003823: mov dword ptr [ecx + 0xc], eax */
   1477     ecx = ebx + 0x4; /* 0x2E003826: lea ecx, [ebx + 4] */
   1478     eax = MEM32(ebx + 0x4); /* 0x2E003829: mov eax, dword ptr [ebx + 4] */
   1479     MEM32(edx) = eax; /* 0x2E00382C: mov dword ptr [edx], eax */
   1480     eax = MEM32(ecx + 0x4); /* 0x2E00382E: mov eax, dword ptr [ecx + 4] */
   1481     MEM32(edx + 0x4) = eax; /* 0x2E003831: mov dword ptr [edx + 4], eax */
   1482     eax = MEM32(ecx + 0x8); /* 0x2E003834: mov eax, dword ptr [ecx + 8] */
   1483     MEM32(edx + 0x8) = eax; /* 0x2E003837: mov dword ptr [edx + 8], eax */
   1484     ecx = MEM32(ecx + 0xC); /* 0x2E00383A: mov ecx, dword ptr [ecx + 0xc] */
   1485     MEM32(edx + 0xC) = ecx; /* 0x2E00383D: mov dword ptr [edx + 0xc], ecx */
   1486     edx = ebp + (-0x24); /* 0x2E003840: lea edx, [ebp - 0x24] */
   1487     PUSH32(esp, edx); /* 0x2E003843: push edx */
   1488     ecx = ebx; /* 0x2E003844: mov ecx, ebx */
   1489     RECOMP_ICALL(0x2E003B30u); /* 0x2E003846: call 0x2e003b30 */ /* not lifted */
   1490     RECOMP_FLAGS_IN();
   1491     esi = edi + 0x80; /* 0x2E00384B: lea esi, [edi + 0x80] */
   1492     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1493     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1494     esp = esp - 0x10u; /* 0x2E003851: sub esp, 0x10 */
   1495     _flag_k = FK_CMP;
   1496     ecx = esp; /* 0x2E003854: mov ecx, esp */
   1497     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1498     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1499     esp = esp - 0x10u; /* 0x2E003856: sub esp, 0x10 */
   1500     _flag_k = FK_CMP;
   1501     eax = esi + 0x14; /* 0x2E003859: lea eax, [esi + 0x14] */
   1502     edx = MEM32(esi + 0x14); /* 0x2E00385C: mov edx, dword ptr [esi + 0x14] */
   1503     MEM32(ecx) = edx; /* 0x2E00385F: mov dword ptr [ecx], edx */
   1504     edx = MEM32(eax + 0x4); /* 0x2E003861: mov edx, dword ptr [eax + 4] */
   1505     MEM32(ecx + 0x4) = edx; /* 0x2E003864: mov dword ptr [ecx + 4], edx */
   1506     edx = MEM32(eax + 0x8); /* 0x2E003867: mov edx, dword ptr [eax + 8] */
   1507     MEM32(ecx + 0x8) = edx; /* 0x2E00386A: mov dword ptr [ecx + 8], edx */
   1508     edx = esp; /* 0x2E00386D: mov edx, esp */
   1509     eax = MEM32(eax + 0xC); /* 0x2E00386F: mov eax, dword ptr [eax + 0xc] */
   1510     MEM32(ecx + 0xC) = eax; /* 0x2E003872: mov dword ptr [ecx + 0xc], eax */
   1511     ecx = esi + 0x4; /* 0x2E003875: lea ecx, [esi + 4] */
   1512     eax = MEM32(esi + 0x4); /* 0x2E003878: mov eax, dword ptr [esi + 4] */
   1513     MEM32(edx) = eax; /* 0x2E00387B: mov dword ptr [edx], eax */
   1514     eax = MEM32(ecx + 0x4); /* 0x2E00387D: mov eax, dword ptr [ecx + 4] */
   1515     MEM32(edx + 0x4) = eax; /* 0x2E003880: mov dword ptr [edx + 4], eax */
   1516     eax = MEM32(ecx + 0x8); /* 0x2E003883: mov eax, dword ptr [ecx + 8] */
   1517     MEM32(edx + 0x8) = eax; /* 0x2E003886: mov dword ptr [edx + 8], eax */
   1518     ecx = MEM32(ecx + 0xC); /* 0x2E003889: mov ecx, dword ptr [ecx + 0xc] */
   1519     MEM32(edx + 0xC) = ecx; /* 0x2E00388C: mov dword ptr [edx + 0xc], ecx */
   1520     edx = ebp + (-0x24); /* 0x2E00388F: lea edx, [ebp - 0x24] */
   1521     PUSH32(esp, edx); /* 0x2E003892: push edx */
   1522     ecx = esi; /* 0x2E003893: mov ecx, esi */
   1523     RECOMP_ICALL(0x2E003B30u); /* 0x2E003895: call 0x2e003b30 */ /* not lifted */
   1524     RECOMP_FLAGS_IN();
   1525     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xB0u);
   1526     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1527     edi = edi + 0xB0u; /* 0x2E00389A: add edi, 0xb0 */
   1528     _flag_k = FK_ADD;
   1529     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1530     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1531     esp = esp - 0x10u; /* 0x2E0038A0: sub esp, 0x10 */
   1532     _flag_k = FK_CMP;
   1533     ecx = esp; /* 0x2E0038A3: mov ecx, esp */
   1534     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1535     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1536     esp = esp - 0x10u; /* 0x2E0038A5: sub esp, 0x10 */
   1537     _flag_k = FK_CMP;
   1538     eax = edi + 0x14; /* 0x2E0038A8: lea eax, [edi + 0x14] */
   1539     edx = MEM32(edi + 0x14); /* 0x2E0038AB: mov edx, dword ptr [edi + 0x14] */
   1540     MEM32(ecx) = edx; /* 0x2E0038AE: mov dword ptr [ecx], edx */
   1541     edx = MEM32(eax + 0x4); /* 0x2E0038B0: mov edx, dword ptr [eax + 4] */
   1542     MEM32(ecx + 0x4) = edx; /* 0x2E0038B3: mov dword ptr [ecx + 4], edx */
   1543     edx = MEM32(eax + 0x8); /* 0x2E0038B6: mov edx, dword ptr [eax + 8] */
   1544     MEM32(ecx + 0x8) = edx; /* 0x2E0038B9: mov dword ptr [ecx + 8], edx */
   1545     edx = esp; /* 0x2E0038BC: mov edx, esp */
   1546     eax = MEM32(eax + 0xC); /* 0x2E0038BE: mov eax, dword ptr [eax + 0xc] */
   1547     MEM32(ecx + 0xC) = eax; /* 0x2E0038C1: mov dword ptr [ecx + 0xc], eax */
   1548     ecx = edi + 0x4; /* 0x2E0038C4: lea ecx, [edi + 4] */
   1549     eax = MEM32(edi + 0x4); /* 0x2E0038C7: mov eax, dword ptr [edi + 4] */
   1550     MEM32(edx) = eax; /* 0x2E0038CA: mov dword ptr [edx], eax */
   1551     eax = MEM32(ecx + 0x4); /* 0x2E0038CC: mov eax, dword ptr [ecx + 4] */
   1552     MEM32(edx + 0x4) = eax; /* 0x2E0038CF: mov dword ptr [edx + 4], eax */
   1553     eax = MEM32(ecx + 0x8); /* 0x2E0038D2: mov eax, dword ptr [ecx + 8] */
   1554     ecx = MEM32(ecx + 0xC); /* 0x2E0038D5: mov ecx, dword ptr [ecx + 0xc] */
   1555     MEM32(edx + 0x8) = eax; /* 0x2E0038D8: mov dword ptr [edx + 8], eax */
   1556     MEM32(edx + 0xC) = ecx; /* 0x2E0038DB: mov dword ptr [edx + 0xc], ecx */
   1557     edx = ebp + (-0x24); /* 0x2E0038DE: lea edx, [ebp - 0x24] */
   1558     PUSH32(esp, edx); /* 0x2E0038E1: push edx */
   1559     ecx = edi; /* 0x2E0038E2: mov ecx, edi */
   1560     RECOMP_ICALL(0x2E003B30u); /* 0x2E0038E4: call 0x2e003b30 */ /* not lifted */
   1561     RECOMP_FLAGS_IN();
   1562     eax = MEM32(edi + 0x2C); /* 0x2E0038E9: mov eax, dword ptr [edi + 0x2c] */
   1563     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E0038EC: mov byte ptr [ebp - 4], 2 */
   1564     /* test eax, eax */ /* 0x2E0038F0: test eax, eax */
   1565     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1566     _cf = 0;
   1567     _flag_k = FK_TEST;
   1568     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00393D; /* 0x2E0038F2: je 0x2e00393d */
   1569 L_2E0038F4:
   1570     eax = MEM32(edi + 0x10); /* 0x2E0038F4: mov eax, dword ptr [edi + 0x10] */
   1571     ecx = edi + 0x4; /* 0x2E0038F7: lea ecx, [edi + 4] */
   1572     MEM32(ebp + (-0x10)) = eax; /* 0x2E0038FA: mov dword ptr [ebp - 0x10], eax */
   1573     RECOMP_ICALL(0x2E003A80u); /* 0x2E0038FD: call 0x2e003a80 */ /* not lifted */
   1574     RECOMP_FLAGS_IN();
   1575     ecx = MEM32(edi + 0x2C); /* 0x2E003902: mov ecx, dword ptr [edi + 0x2c] */
   1576     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1577     ecx = ecx - 1; /* 0x2E003905: dec ecx */
   1578     _flag_k = FK_DEC;
   1579     eax = ecx; /* 0x2E003906: mov eax, ecx */
   1580     MEM32(edi + 0x2C) = ecx; /* 0x2E003908: mov dword ptr [edi + 0x2c], ecx */
   1581     /* test eax, eax */ /* 0x2E00390B: test eax, eax */
   1582     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1583     _cf = 0;
   1584     _flag_k = FK_TEST;
   1585     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003918; /* 0x2E00390D: jne 0x2e003918 */
   1586 L_2E00390F:
   1587     ecx = edi; /* 0x2E00390F: mov ecx, edi */
   1588     RECOMP_ICALL(0x2E003A20u); /* 0x2E003911: call 0x2e003a20 */ /* not lifted */
   1589     RECOMP_FLAGS_IN();
   1590     goto L_2E003936; /* 0x2E003916: jmp 0x2e003936 */
   1591 L_2E003918:
   1592     eax = MEM32(ebp + (-0x10)); /* 0x2E003918: mov eax, dword ptr [ebp - 0x10] */
   1593     ecx = MEM32(edi + 0x10); /* 0x2E00391B: mov ecx, dword ptr [edi + 0x10] */
   1594     /* cmp eax, ecx */ /* 0x2E00391E: cmp eax, ecx */
   1595     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1596     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1597     _flag_k = FK_CMP;
   1598     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003936; /* 0x2E003920: je 0x2e003936 */
   1599 L_2E003922:
   1600     eax = MEM32(eax); /* 0x2E003922: mov eax, dword ptr [eax] */
   1601     PUSH32(esp, eax); /* 0x2E003924: push eax */
   1602     RECOMP_ICALL(0x2E010E90u); /* 0x2E003925: call 0x2e010e90 */ /* not lifted */
   1603     RECOMP_FLAGS_IN();
   1604     ecx = MEM32(ebp + (-0x10)); /* 0x2E00392A: mov ecx, dword ptr [ebp - 0x10] */
   1605     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1606     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1607     esp = esp + 4; /* 0x2E00392D: add esp, 4 */
   1608     _flag_k = FK_ADD;
   1609     MEM32(ecx) = 0; /* 0x2E003930: mov dword ptr [ecx], 0 */
   1610 L_2E003936:
   1611     eax = MEM32(edi + 0x2C); /* 0x2E003936: mov eax, dword ptr [edi + 0x2c] */
   1612     /* test eax, eax */ /* 0x2E003939: test eax, eax */
   1613     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1614     _cf = 0;
   1615     _flag_k = FK_TEST;
   1616     RECOMP_BACKEDGE();
   1617     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0038F4; /* 0x2E00393B: jne 0x2e0038f4 */
   1618 L_2E00393D:
   1619     eax = MEM32(esi + 0x2C); /* 0x2E00393D: mov eax, dword ptr [esi + 0x2c] */
   1620     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E003940: mov byte ptr [ebp - 4], 1 */
   1621     /* test eax, eax */ /* 0x2E003944: test eax, eax */
   1622     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1623     _cf = 0;
   1624     _flag_k = FK_TEST;
   1625     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039B3; /* 0x2E003946: je 0x2e0039b3 */
   1626 L_2E003948:
   1627     eax = MEM32(esi + 0xC); /* 0x2E003948: mov eax, dword ptr [esi + 0xc] */
   1628     ecx = MEM32(esi + 0x8); /* 0x2E00394B: mov ecx, dword ptr [esi + 8] */
   1629     edi = MEM32(esi + 0x10); /* 0x2E00394E: mov edi, dword ptr [esi + 0x10] */
   1630     /* cmp eax, ecx */ /* 0x2E003951: cmp eax, ecx */
   1631     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1632     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1633     _flag_k = FK_CMP;
   1634     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003953: je 0x2e003980 */
   1635 L_2E003955:
   1636     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1637     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1638     eax = eax + 4; /* 0x2E003955: add eax, 4 */
   1639     _flag_k = FK_ADD;
   1640     /* cmp eax, ecx */ /* 0x2E003958: cmp eax, ecx */
   1641     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1642     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1643     _flag_k = FK_CMP;
   1644     MEM32(esi + 0xC) = eax; /* 0x2E00395A: mov dword ptr [esi + 0xc], eax */
   1645     if (CMP_NE(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E00395D: jne 0x2e003980 */
   1646 L_2E00395F:
   1647     eax = MEM32(esi + 0x10); /* 0x2E00395F: mov eax, dword ptr [esi + 0x10] */
   1648     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1649     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1650     eax = eax + 4; /* 0x2E003962: add eax, 4 */
   1651     _flag_k = FK_ADD;
   1652     /* cmp MEM32(eax), 0 */ /* 0x2E003965: cmp dword ptr [eax], 0 */
   1653     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   1654     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1655     _flag_k = FK_CMP;
   1656     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003968: je 0x2e003980 */
   1657 L_2E00396A:
   1658     MEM32(esi + 0x10) = eax; /* 0x2E00396A: mov dword ptr [esi + 0x10], eax */
   1659     eax = MEM32(eax); /* 0x2E00396D: mov eax, dword ptr [eax] */
   1660     MEM32(esi + 0x4) = eax; /* 0x2E00396F: mov dword ptr [esi + 4], eax */
   1661     edx = MEM32(esi + 0x4); /* 0x2E003972: mov edx, dword ptr [esi + 4] */
   1662     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   1663     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1664     eax = eax + 0x1000u; /* 0x2E003975: add eax, 0x1000 */
   1665     _flag_k = FK_ADD;
   1666     MEM32(esi + 0xC) = edx; /* 0x2E00397A: mov dword ptr [esi + 0xc], edx */
   1667     MEM32(esi + 0x8) = eax; /* 0x2E00397D: mov dword ptr [esi + 8], eax */
   1668 L_2E003980:
   1669     ecx = MEM32(esi + 0x2C); /* 0x2E003980: mov ecx, dword ptr [esi + 0x2c] */
   1670     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1671     ecx = ecx - 1; /* 0x2E003983: dec ecx */
   1672     _flag_k = FK_DEC;
   1673     eax = ecx; /* 0x2E003984: mov eax, ecx */
   1674     MEM32(esi + 0x2C) = ecx; /* 0x2E003986: mov dword ptr [esi + 0x2c], ecx */
   1675     /* test eax, eax */ /* 0x2E003989: test eax, eax */
   1676     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1677     _cf = 0;
   1678     _flag_k = FK_TEST;
   1679     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003996; /* 0x2E00398B: jne 0x2e003996 */
   1680 L_2E00398D:
   1681     ecx = esi; /* 0x2E00398D: mov ecx, esi */
   1682     RECOMP_ICALL(0x2E003A20u); /* 0x2E00398F: call 0x2e003a20 */ /* not lifted */
   1683     RECOMP_FLAGS_IN();
   1684     goto L_2E0039AC; /* 0x2E003994: jmp 0x2e0039ac */
   1685 L_2E003996:
   1686     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E003996: cmp edi, dword ptr [esi + 0x10] */
   1687     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   1688     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1689     _flag_k = FK_CMP;
   1690     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039AC; /* 0x2E003999: je 0x2e0039ac */
   1691 L_2E00399B:
   1692     eax = MEM32(edi); /* 0x2E00399B: mov eax, dword ptr [edi] */
   1693     PUSH32(esp, eax); /* 0x2E00399D: push eax */
   1694     RECOMP_ICALL(0x2E010E90u); /* 0x2E00399E: call 0x2e010e90 */ /* 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; /* 0x2E0039A3: add esp, 4 */
   1699     _flag_k = FK_ADD;
   1700     MEM32(edi) = 0; /* 0x2E0039A6: mov dword ptr [edi], 0 */
   1701 L_2E0039AC:
   1702     eax = MEM32(esi + 0x2C); /* 0x2E0039AC: mov eax, dword ptr [esi + 0x2c] */
   1703     /* test eax, eax */ /* 0x2E0039AF: test eax, eax */
   1704     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1705     _cf = 0;
   1706     _flag_k = FK_TEST;
   1707     RECOMP_BACKEDGE();
   1708     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003948; /* 0x2E0039B1: jne 0x2e003948 */
   1709 L_2E0039B3:
   1710     eax = MEM32(ebx + 0x2C); /* 0x2E0039B3: mov eax, dword ptr [ebx + 0x2c] */
   1711     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2E0039B6: mov byte ptr [ebp - 4], 0 */
   1712     /* test eax, eax */ /* 0x2E0039BA: 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_2E0039FC; /* 0x2E0039BC: je 0x2e0039fc */
   1717 L_2E0039BE:
   1718     esi = MEM32(ebx + 0x10); /* 0x2E0039BE: mov esi, dword ptr [ebx + 0x10] */
   1719     ecx = ebx + 0x4; /* 0x2E0039C1: lea ecx, [ebx + 4] */
   1720     RECOMP_ICALL(0x2E003A80u); /* 0x2E0039C4: call 0x2e003a80 */ /* not lifted */
   1721     RECOMP_FLAGS_IN();
   1722     ecx = MEM32(ebx + 0x2C); /* 0x2E0039C9: mov ecx, dword ptr [ebx + 0x2c] */
   1723     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1724     ecx = ecx - 1; /* 0x2E0039CC: dec ecx */
   1725     _flag_k = FK_DEC;
   1726     eax = ecx; /* 0x2E0039CD: mov eax, ecx */
   1727     MEM32(ebx + 0x2C) = ecx; /* 0x2E0039CF: mov dword ptr [ebx + 0x2c], ecx */
   1728     /* test eax, eax */ /* 0x2E0039D2: test eax, eax */
   1729     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1730     _cf = 0;
   1731     _flag_k = FK_TEST;
   1732     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039DF; /* 0x2E0039D4: jne 0x2e0039df */
   1733 L_2E0039D6:
   1734     ecx = ebx; /* 0x2E0039D6: mov ecx, ebx */
   1735     RECOMP_ICALL(0x2E003A20u); /* 0x2E0039D8: call 0x2e003a20 */ /* not lifted */
   1736     RECOMP_FLAGS_IN();
   1737     goto L_2E0039F5; /* 0x2E0039DD: jmp 0x2e0039f5 */
   1738 L_2E0039DF:
   1739     /* cmp esi, MEM32(ebx + 0x10) */ /* 0x2E0039DF: cmp esi, dword ptr [ebx + 0x10] */
   1740     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x10));
   1741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1742     _flag_k = FK_CMP;
   1743     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039F5; /* 0x2E0039E2: je 0x2e0039f5 */
   1744 L_2E0039E4:
   1745     eax = MEM32(esi); /* 0x2E0039E4: mov eax, dword ptr [esi] */
   1746     PUSH32(esp, eax); /* 0x2E0039E6: push eax */
   1747     RECOMP_ICALL(0x2E010E90u); /* 0x2E0039E7: call 0x2e010e90 */ /* not lifted */
   1748     RECOMP_FLAGS_IN();
   1749     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1750     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1751     esp = esp + 4; /* 0x2E0039EC: add esp, 4 */
   1752     _flag_k = FK_ADD;
   1753     MEM32(esi) = 0; /* 0x2E0039EF: mov dword ptr [esi], 0 */
   1754 L_2E0039F5:
   1755     eax = MEM32(ebx + 0x2C); /* 0x2E0039F5: mov eax, dword ptr [ebx + 0x2c] */
   1756     /* test eax, eax */ /* 0x2E0039F8: test eax, eax */
   1757     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1758     _cf = 0;
   1759     _flag_k = FK_TEST;
   1760     RECOMP_BACKEDGE();
   1761     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039BE; /* 0x2E0039FA: jne 0x2e0039be */
   1762 L_2E0039FC:
   1763     eax = MEM32(ebp + (-0x14)); /* 0x2E0039FC: mov eax, dword ptr [ebp - 0x14] */
   1764     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0039FF: mov dword ptr [ebp - 4], 0xffffffff */
   1765     ecx = eax + 0x4; /* 0x2E003A06: lea ecx, [eax + 4] */
   1766     RECOMP_ICALL(MEM32(0x2E0121C8)); /* 0x2E003A09: call dword ptr [0x2e0121c8] */
   1767     RECOMP_FLAGS_IN();
   1768     ecx = MEM32(ebp + (-0xC)); /* 0x2E003A0F: mov ecx, dword ptr [ebp - 0xc] */
   1769     edi = POP32_VAL(esp); /* 0x2E003A12: pop edi */
   1770     esi = POP32_VAL(esp); /* 0x2E003A13: pop esi */
   1771     MEM32(FS_BASE + (0)) = ecx; /* 0x2E003A14: mov dword ptr fs:[0], ecx */
   1772     ebx = POP32_VAL(esp); /* 0x2E003A1B: pop ebx */
   1773     esp = ebp; /* 0x2E003A1C: mov esp, ebp */
   1774     ebp = POP32_VAL(esp); /* 0x2E003A1E: pop ebp */
   1775     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E003A1F: ret  */
   1776 L_2E011483:
   1777     ecx = MEM32(ebp + (-0x14)); /* 0x2E011483: mov ecx, dword ptr [ebp - 0x14] */
   1778     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
   1779     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1780     ecx = ecx + 0x18u; /* 0x2E011486: add ecx, 0x18 */
   1781     _flag_k = FK_ADD;
   1782     RECOMP_BACKEDGE();
   1783     goto L_2E0037D0; /* 0x2E011489: jmp 0x2e0037d0 */
   1784     { RECOMP_REGS_OUT(); return; } /* end of function */
   1785     RECOMP_REGS_OUT();
   1786 }
   1787 
   1788 void sub_2E01148E(void) {
   1789     int _fpu_cmp = 0;
   1790     uint32_t _cf = 0;
   1791     int _df = 1;
   1792     uint32_t _flag_k = FK_NONE;
   1793     uint32_t _flag_a = 0, _flag_b = 0;
   1794     uint32_t _itail_tgt = 0;
   1795     RECOMP_REGS_LOCALS
   1796     RECOMP_ENTER(0x2E01148Eu);
   1797 
   1798     goto L_2E01148E;
   1799 L_2E004150:
   1800     PUSH32(esp, ebp); /* 0x2E004150: push ebp */
   1801     ebp = esp; /* 0x2E004151: mov ebp, esp */
   1802     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1803     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1804     esp = esp - 8; /* 0x2E004153: sub esp, 8 */
   1805     _flag_k = FK_CMP;
   1806     PUSH32(esp, ebx); /* 0x2E004156: push ebx */
   1807     PUSH32(esp, esi); /* 0x2E004157: push esi */
   1808     esi = ecx; /* 0x2E004158: mov esi, ecx */
   1809     PUSH32(esp, edi); /* 0x2E00415A: push edi */
   1810     edi = MEM32(esi + 0x4); /* 0x2E00415B: mov edi, dword ptr [esi + 4] */
   1811     ecx = MEM32(esi + 0x10); /* 0x2E00415E: mov ecx, dword ptr [esi + 0x10] */
   1812     /* test ecx, ecx */ /* 0x2E004161: test ecx, ecx */
   1813     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1814     _cf = 0;
   1815     _flag_k = FK_TEST;
   1816     eax = MEM32(edi); /* 0x2E004163: mov eax, dword ptr [edi] */
   1817     MEM32(ebp + (-0x4)) = eax; /* 0x2E004165: mov dword ptr [ebp - 4], eax */
   1818     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004168: je 0x2e0041c7 */
   1819 L_2E00416A:
   1820     ecx = eax; /* 0x2E00416A: mov ecx, eax */
   1821     /* cmp eax, ecx */ /* 0x2E00416C: cmp eax, ecx */
   1822     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1823     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1824     _flag_k = FK_CMP;
   1825     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E00416E: jne 0x2e0041c7 */
   1826 L_2E004170:
   1827     /* cmp edi, edi */ /* 0x2E004170: cmp edi, edi */
   1828     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1829     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1830     _flag_k = FK_CMP;
   1831     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004172: jne 0x2e0041c7 */
   1832 L_2E004174:
   1833     ebx = MEM32(edi + 0x4); /* 0x2E004174: mov ebx, dword ptr [edi + 4] */
   1834     eax = MEM32(esi + 0x8); /* 0x2E004177: mov eax, dword ptr [esi + 8] */
   1835     /* cmp ebx, eax */ /* 0x2E00417A: cmp ebx, eax */
   1836     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   1837     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1838     _flag_k = FK_CMP;
   1839     edi = ebx; /* 0x2E00417C: mov edi, ebx */
   1840     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00419F; /* 0x2E00417E: je 0x2e00419f */
   1841 L_2E004180:
   1842     eax = MEM32(edi + 0x8); /* 0x2E004180: mov eax, dword ptr [edi + 8] */
   1843     ecx = esi; /* 0x2E004183: mov ecx, esi */
   1844     PUSH32(esp, eax); /* 0x2E004185: push eax */
   1845     RECOMP_ICALL(0x2E0045F0u); /* 0x2E004186: call 0x2e0045f0 */ /* not lifted */
   1846     RECOMP_FLAGS_IN();
   1847     edi = MEM32(edi); /* 0x2E00418B: mov edi, dword ptr [edi] */
   1848     PUSH32(esp, ebx); /* 0x2E00418D: push ebx */
   1849     RECOMP_ICALL(0x2E010E90u); /* 0x2E00418E: call 0x2e010e90 */ /* not lifted */
   1850     RECOMP_FLAGS_IN();
   1851     eax = MEM32(esi + 0x8); /* 0x2E004193: mov eax, dword ptr [esi + 8] */
   1852     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1853     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1854     esp = esp + 4; /* 0x2E004196: add esp, 4 */
   1855     _flag_k = FK_ADD;
   1856     /* cmp edi, eax */ /* 0x2E004199: cmp edi, eax */
   1857     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1859     _flag_k = FK_CMP;
   1860     ebx = edi; /* 0x2E00419B: mov ebx, edi */
   1861     RECOMP_BACKEDGE();
   1862     if (CMP_NE(_flag_a, _flag_b)) goto L_2E004180; /* 0x2E00419D: jne 0x2e004180 */
   1863 L_2E00419F:
   1864     ecx = MEM32(esi + 0x4); /* 0x2E00419F: mov ecx, dword ptr [esi + 4] */
   1865     edx = MEM32(esi + 0x8); /* 0x2E0041A2: mov edx, dword ptr [esi + 8] */
   1866     MEM32(ecx + 0x4) = edx; /* 0x2E0041A5: mov dword ptr [ecx + 4], edx */
   1867     eax = MEM32(esi + 0x4); /* 0x2E0041A8: mov eax, dword ptr [esi + 4] */
   1868     MEM32(esi + 0x10) = 0; /* 0x2E0041AB: mov dword ptr [esi + 0x10], 0 */
   1869     ecx = esi; /* 0x2E0041B2: mov ecx, esi */
   1870     MEM32(eax) = eax; /* 0x2E0041B4: mov dword ptr [eax], eax */
   1871     eax = MEM32(esi + 0x4); /* 0x2E0041B6: mov eax, dword ptr [esi + 4] */
   1872     MEM32(eax + 0x8) = eax; /* 0x2E0041B9: mov dword ptr [eax + 8], eax */
   1873     eax = ebp + (-0x8); /* 0x2E0041BC: lea eax, [ebp - 8] */
   1874     PUSH32(esp, eax); /* 0x2E0041BF: push eax */
   1875     RECOMP_ICALL(0x2E004210u); /* 0x2E0041C0: call 0x2e004210 */ /* not lifted */
   1876     RECOMP_FLAGS_IN();
   1877     goto L_2E0041E8; /* 0x2E0041C5: jmp 0x2e0041e8 */
   1878 L_2E0041C7:
   1879     /* cmp eax, edi */ /* 0x2E0041C7: cmp eax, edi */
   1880     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1881     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1882     _flag_k = FK_CMP;
   1883     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0041E8; /* 0x2E0041C9: je 0x2e0041e8 */
   1884 L_2E0041CB:
   1885     ecx = ebp + (-0x4); /* 0x2E0041CB: lea ecx, [ebp - 4] */
   1886     ebx = eax; /* 0x2E0041CE: mov ebx, eax */
   1887     RECOMP_ICALL(0x2E004630u); /* 0x2E0041D0: call 0x2e004630 */ /* not lifted */
   1888     RECOMP_FLAGS_IN();
   1889     ecx = ebp + (-0x8); /* 0x2E0041D5: lea ecx, [ebp - 8] */
   1890     PUSH32(esp, ebx); /* 0x2E0041D8: push ebx */
   1891     PUSH32(esp, ecx); /* 0x2E0041D9: push ecx */
   1892     ecx = esi; /* 0x2E0041DA: mov ecx, esi */
   1893     RECOMP_ICALL(0x2E004230u); /* 0x2E0041DC: call 0x2e004230 */ /* not lifted */
   1894     RECOMP_FLAGS_IN();
   1895     eax = MEM32(ebp + (-0x4)); /* 0x2E0041E1: mov eax, dword ptr [ebp - 4] */
   1896     /* cmp eax, edi */ /* 0x2E0041E4: cmp eax, edi */
   1897     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1899     _flag_k = FK_CMP;
   1900     RECOMP_BACKEDGE();
   1901     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041CB; /* 0x2E0041E6: jne 0x2e0041cb */
   1902 L_2E0041E8:
   1903     edx = MEM32(esi + 0x4); /* 0x2E0041E8: mov edx, dword ptr [esi + 4] */
   1904     PUSH32(esp, edx); /* 0x2E0041EB: push edx */
   1905     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041EC: call 0x2e010e90 */ /* not lifted */
   1906     RECOMP_FLAGS_IN();
   1907     eax = MEM32(esi + 0x8); /* 0x2E0041F1: mov eax, dword ptr [esi + 8] */
   1908     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1909     edi = 0; /* 0x2E0041F4: xor edi, edi */
   1910     _cf = 0;
   1911     _flag_k = FK_TEST;
   1912     PUSH32(esp, eax); /* 0x2E0041F6: push eax */
   1913     MEM32(esi + 0x4) = edi; /* 0x2E0041F7: mov dword ptr [esi + 4], edi */
   1914     MEM32(esi + 0x10) = edi; /* 0x2E0041FA: mov dword ptr [esi + 0x10], edi */
   1915     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041FD: call 0x2e010e90 */ /* not lifted */
   1916     RECOMP_FLAGS_IN();
   1917     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1918     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1919     esp = esp + 8; /* 0x2E004202: add esp, 8 */
   1920     _flag_k = FK_ADD;
   1921     MEM32(esi + 0x8) = edi; /* 0x2E004205: mov dword ptr [esi + 8], edi */
   1922     edi = POP32_VAL(esp); /* 0x2E004208: pop edi */
   1923     esi = POP32_VAL(esp); /* 0x2E004209: pop esi */
   1924     ebx = POP32_VAL(esp); /* 0x2E00420A: pop ebx */
   1925     esp = ebp; /* 0x2E00420B: mov esp, ebp */
   1926     ebp = POP32_VAL(esp); /* 0x2E00420D: pop ebp */
   1927     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00420E: ret  */
   1928 L_2E01148E:
   1929     ecx = MEM32(ebp + (-0x14)); /* 0x2E01148E: mov ecx, dword ptr [ebp - 0x14] */
   1930     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x124u);
   1931     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1932     ecx = ecx + 0x124u; /* 0x2E011491: add ecx, 0x124 */
   1933     _flag_k = FK_ADD;
   1934     RECOMP_BACKEDGE();
   1935     goto L_2E004150; /* 0x2E011497: jmp 0x2e004150 */
   1936     { RECOMP_REGS_OUT(); return; } /* end of function */
   1937     RECOMP_REGS_OUT();
   1938 }
   1939 
   1940 void sub_2E01149C(void) {
   1941     int _fpu_cmp = 0;
   1942     uint32_t _cf = 0;
   1943     int _df = 1;
   1944     uint32_t _flag_k = FK_NONE;
   1945     uint32_t _flag_a = 0, _flag_b = 0;
   1946     uint32_t _itail_tgt = 0;
   1947     RECOMP_REGS_LOCALS
   1948     RECOMP_ENTER(0x2E01149Cu);
   1949 
   1950 L_2E01149C:
   1951     ecx = MEM32(ebp + (-0x18)); /* 0x2E01149C: mov ecx, dword ptr [ebp - 0x18] */
   1952 L_2E01149F:
   1953     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   1954     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1955     ecx = ecx + 4; /* 0x2E01149F: add ecx, 4 */
   1956     _flag_k = FK_ADD;
   1957 L_2E0114A2:
   1958     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
   1959     { RECOMP_REGS_OUT(); return; } /* end of function */
   1960   _ljump:
   1961     switch (_itail_tgt) {
   1962       case 0x2E01149Cu: goto L_2E01149C;
   1963       case 0x2E01149Fu: goto L_2E01149F;
   1964       case 0x2E0114A2u: goto L_2E0114A2;
   1965       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1966     }
   1967     RECOMP_REGS_OUT();
   1968 }
   1969 
   1970 void sub_2E0114A8(void) {
   1971     int _fpu_cmp = 0;
   1972     uint32_t _cf = 0;
   1973     int _df = 1;
   1974     uint32_t _flag_k = FK_NONE;
   1975     uint32_t _flag_a = 0, _flag_b = 0;
   1976     uint32_t _itail_tgt = 0;
   1977     RECOMP_REGS_LOCALS
   1978     RECOMP_ENTER(0x2E0114A8u);
   1979 
   1980     goto L_2E0114A8;
   1981 L_2E0030E0:
   1982     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   1983     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   1984     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   1985     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   1986     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1987     _cf = 0;
   1988     _flag_k = FK_TEST;
   1989     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   1990 L_2E0030EE:
   1991     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   1992     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   1993     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   1994 L_2E0030F6:
   1995     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   1996     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   1997     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   1998     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   1999     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2000     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2001     _flag_k = FK_CMP;
   2002     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   2003 L_2E003103:
   2004     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2005     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2006     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   2007     _flag_k = FK_ADD;
   2008     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   2009     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2010     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2011     _flag_k = FK_CMP;
   2012     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   2013     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   2014 L_2E00310D:
   2015     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   2016     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2017     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2018     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   2019     _flag_k = FK_ADD;
   2020     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   2021     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   2022     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2023     _flag_k = FK_CMP;
   2024     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   2025 L_2E003118:
   2026     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   2027     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   2028     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   2029     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   2030     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2031     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   2032     _flag_k = FK_ADD;
   2033     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   2034     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   2035     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   2036 L_2E00312E:
   2037     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   2038     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2039     eax = eax - 1; /* 0x2E003131: dec eax */
   2040     _flag_k = FK_DEC;
   2041     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   2042     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   2043 L_2E003137:
   2044     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   2045     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   2046     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   2047     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   2048     RECOMP_FLAGS_IN();
   2049     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   2050     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   2051     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   2052     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   2053     RECOMP_FLAGS_IN();
   2054     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   2055     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   2056     PUSH32(esp, eax); /* 0x2E003154: push eax */
   2057     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   2058     RECOMP_FLAGS_IN();
   2059     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   2060     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2061     eax = 0; /* 0x2E00315D: xor eax, eax */
   2062     _cf = 0;
   2063     _flag_k = FK_TEST;
   2064     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2065     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   2066     _cf = 0;
   2067     _flag_k = FK_TEST;
   2068     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2069     edx = 0; /* 0x2E003161: xor edx, edx */
   2070     _cf = 0;
   2071     _flag_k = FK_TEST;
   2072     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   2073     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   2074     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   2075     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2076     edi = 0; /* 0x2E00316B: xor edi, edi */
   2077     _cf = 0;
   2078     _flag_k = FK_TEST;
   2079     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   2080     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   2081     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   2082     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   2083     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   2084     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   2085     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   2086     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   2087     RECOMP_FLAGS_IN();
   2088     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2089     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2090     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   2091     _flag_k = FK_ADD;
   2092     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   2093 L_2E00318A:
   2094     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   2095     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   2096     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2097     _flag_k = FK_CMP;
   2098     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   2099 L_2E00318F:
   2100     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   2101     PUSH32(esp, edx); /* 0x2E003191: push edx */
   2102     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   2103     RECOMP_FLAGS_IN();
   2104     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2105     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2106     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   2107     _flag_k = FK_ADD;
   2108     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   2109 L_2E0031A0:
   2110     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   2111     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   2112     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2113     _cf = 0;
   2114     _flag_k = FK_TEST;
   2115     RECOMP_BACKEDGE();
   2116     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   2117 L_2E0031AB:
   2118     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   2119     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   2120 L_2E0031AD:
   2121     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   2122     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   2123 L_2E0114A8:
   2124     ecx = MEM32(ebp + (-0x18)); /* 0x2E0114A8: mov ecx, dword ptr [ebp - 0x18] */
   2125     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   2126     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2127     ecx = ecx + 0x50u; /* 0x2E0114AB: add ecx, 0x50 */
   2128     _flag_k = FK_ADD;
   2129     RECOMP_BACKEDGE();
   2130     goto L_2E0030E0; /* 0x2E0114AE: jmp 0x2e0030e0 */
   2131     { RECOMP_REGS_OUT(); return; } /* end of function */
   2132     RECOMP_REGS_OUT();
   2133 }
   2134 
   2135 void sub_2E0114B3(void) {
   2136     int _fpu_cmp = 0;
   2137     uint32_t _cf = 0;
   2138     int _df = 1;
   2139     uint32_t _flag_k = FK_NONE;
   2140     uint32_t _flag_a = 0, _flag_b = 0;
   2141     uint32_t _itail_tgt = 0;
   2142     RECOMP_REGS_LOCALS
   2143     RECOMP_ENTER(0x2E0114B3u);
   2144 
   2145     goto L_2E0114B3;
   2146 L_2E0030E0:
   2147     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   2148     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   2149     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   2150     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   2151     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2152     _cf = 0;
   2153     _flag_k = FK_TEST;
   2154     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   2155 L_2E0030EE:
   2156     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   2157     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   2158     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   2159 L_2E0030F6:
   2160     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   2161     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   2162     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   2163     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   2164     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2166     _flag_k = FK_CMP;
   2167     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   2168 L_2E003103:
   2169     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2170     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2171     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   2172     _flag_k = FK_ADD;
   2173     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   2174     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2176     _flag_k = FK_CMP;
   2177     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   2178     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   2179 L_2E00310D:
   2180     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   2181     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2182     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2183     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   2184     _flag_k = FK_ADD;
   2185     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   2186     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   2187     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2188     _flag_k = FK_CMP;
   2189     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   2190 L_2E003118:
   2191     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   2192     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   2193     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   2194     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   2195     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2196     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   2197     _flag_k = FK_ADD;
   2198     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   2199     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   2200     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   2201 L_2E00312E:
   2202     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   2203     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2204     eax = eax - 1; /* 0x2E003131: dec eax */
   2205     _flag_k = FK_DEC;
   2206     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   2207     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   2208 L_2E003137:
   2209     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   2210     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   2211     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   2212     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   2213     RECOMP_FLAGS_IN();
   2214     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   2215     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   2216     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   2217     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   2218     RECOMP_FLAGS_IN();
   2219     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   2220     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   2221     PUSH32(esp, eax); /* 0x2E003154: push eax */
   2222     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   2223     RECOMP_FLAGS_IN();
   2224     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   2225     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2226     eax = 0; /* 0x2E00315D: xor eax, eax */
   2227     _cf = 0;
   2228     _flag_k = FK_TEST;
   2229     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2230     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   2231     _cf = 0;
   2232     _flag_k = FK_TEST;
   2233     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2234     edx = 0; /* 0x2E003161: xor edx, edx */
   2235     _cf = 0;
   2236     _flag_k = FK_TEST;
   2237     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   2238     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   2239     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   2240     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2241     edi = 0; /* 0x2E00316B: xor edi, edi */
   2242     _cf = 0;
   2243     _flag_k = FK_TEST;
   2244     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   2245     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   2246     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   2247     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   2248     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   2249     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   2250     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   2251     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   2252     RECOMP_FLAGS_IN();
   2253     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2254     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2255     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   2256     _flag_k = FK_ADD;
   2257     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   2258 L_2E00318A:
   2259     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   2260     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   2261     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2262     _flag_k = FK_CMP;
   2263     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   2264 L_2E00318F:
   2265     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   2266     PUSH32(esp, edx); /* 0x2E003191: push edx */
   2267     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   2268     RECOMP_FLAGS_IN();
   2269     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2270     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2271     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   2272     _flag_k = FK_ADD;
   2273     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   2274 L_2E0031A0:
   2275     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   2276     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   2277     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2278     _cf = 0;
   2279     _flag_k = FK_TEST;
   2280     RECOMP_BACKEDGE();
   2281     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   2282 L_2E0031AB:
   2283     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   2284     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   2285 L_2E0031AD:
   2286     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   2287     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   2288 L_2E0114B3:
   2289     ecx = MEM32(ebp + (-0x18)); /* 0x2E0114B3: mov ecx, dword ptr [ebp - 0x18] */
   2290     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   2291     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2292     ecx = ecx + 0x80u; /* 0x2E0114B6: add ecx, 0x80 */
   2293     _flag_k = FK_ADD;
   2294     RECOMP_BACKEDGE();
   2295     goto L_2E0030E0; /* 0x2E0114BC: jmp 0x2e0030e0 */
   2296     { RECOMP_REGS_OUT(); return; } /* end of function */
   2297     RECOMP_REGS_OUT();
   2298 }
   2299 
   2300 void sub_2E0114C1(void) {
   2301     int _fpu_cmp = 0;
   2302     uint32_t _cf = 0;
   2303     int _df = 1;
   2304     uint32_t _flag_k = FK_NONE;
   2305     uint32_t _flag_a = 0, _flag_b = 0;
   2306     uint32_t _itail_tgt = 0;
   2307     RECOMP_REGS_LOCALS
   2308     RECOMP_ENTER(0x2E0114C1u);
   2309 
   2310     goto L_2E0114C1;
   2311 L_2E0030E0:
   2312     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   2313     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   2314     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   2315     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   2316     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2317     _cf = 0;
   2318     _flag_k = FK_TEST;
   2319     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   2320 L_2E0030EE:
   2321     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   2322     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   2323     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   2324 L_2E0030F6:
   2325     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   2326     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   2327     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   2328     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   2329     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2331     _flag_k = FK_CMP;
   2332     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   2333 L_2E003103:
   2334     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2335     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2336     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   2337     _flag_k = FK_ADD;
   2338     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   2339     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2340     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2341     _flag_k = FK_CMP;
   2342     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   2343     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   2344 L_2E00310D:
   2345     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   2346     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2347     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2348     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   2349     _flag_k = FK_ADD;
   2350     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   2351     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   2352     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2353     _flag_k = FK_CMP;
   2354     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   2355 L_2E003118:
   2356     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   2357     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   2358     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   2359     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   2360     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2361     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   2362     _flag_k = FK_ADD;
   2363     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   2364     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   2365     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   2366 L_2E00312E:
   2367     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   2368     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2369     eax = eax - 1; /* 0x2E003131: dec eax */
   2370     _flag_k = FK_DEC;
   2371     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   2372     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   2373 L_2E003137:
   2374     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   2375     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   2376     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   2377     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   2378     RECOMP_FLAGS_IN();
   2379     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   2380     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   2381     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   2382     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   2383     RECOMP_FLAGS_IN();
   2384     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   2385     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   2386     PUSH32(esp, eax); /* 0x2E003154: push eax */
   2387     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   2388     RECOMP_FLAGS_IN();
   2389     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   2390     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2391     eax = 0; /* 0x2E00315D: xor eax, eax */
   2392     _cf = 0;
   2393     _flag_k = FK_TEST;
   2394     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2395     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   2396     _cf = 0;
   2397     _flag_k = FK_TEST;
   2398     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2399     edx = 0; /* 0x2E003161: xor edx, edx */
   2400     _cf = 0;
   2401     _flag_k = FK_TEST;
   2402     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   2403     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   2404     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   2405     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2406     edi = 0; /* 0x2E00316B: xor edi, edi */
   2407     _cf = 0;
   2408     _flag_k = FK_TEST;
   2409     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   2410     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   2411     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   2412     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   2413     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   2414     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   2415     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   2416     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   2417     RECOMP_FLAGS_IN();
   2418     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2419     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2420     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   2421     _flag_k = FK_ADD;
   2422     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   2423 L_2E00318A:
   2424     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   2425     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   2426     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2427     _flag_k = FK_CMP;
   2428     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   2429 L_2E00318F:
   2430     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   2431     PUSH32(esp, edx); /* 0x2E003191: push edx */
   2432     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   2433     RECOMP_FLAGS_IN();
   2434     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2435     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2436     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   2437     _flag_k = FK_ADD;
   2438     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   2439 L_2E0031A0:
   2440     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   2441     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   2442     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2443     _cf = 0;
   2444     _flag_k = FK_TEST;
   2445     RECOMP_BACKEDGE();
   2446     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   2447 L_2E0031AB:
   2448     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   2449     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   2450 L_2E0031AD:
   2451     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   2452     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   2453 L_2E0114C1:
   2454     ecx = MEM32(ebp + (-0x18)); /* 0x2E0114C1: mov ecx, dword ptr [ebp - 0x18] */
   2455     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xB0u);
   2456     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2457     ecx = ecx + 0xB0u; /* 0x2E0114C4: add ecx, 0xb0 */
   2458     _flag_k = FK_ADD;
   2459     RECOMP_BACKEDGE();
   2460     goto L_2E0030E0; /* 0x2E0114CA: jmp 0x2e0030e0 */
   2461     { RECOMP_REGS_OUT(); return; } /* end of function */
   2462     RECOMP_REGS_OUT();
   2463 }
   2464 
   2465 void sub_2E0114CF(void) {
   2466     int _fpu_cmp = 0;
   2467     uint32_t _cf = 0;
   2468     int _df = 1;
   2469     uint32_t _flag_k = FK_NONE;
   2470     uint32_t _flag_a = 0, _flag_b = 0;
   2471     uint32_t _itail_tgt = 0;
   2472     RECOMP_REGS_LOCALS
   2473     RECOMP_ENTER(0x2E0114CFu);
   2474 
   2475     goto L_2E0114CF;
   2476 L_2E0037D0:
   2477     PUSH32(esp, ebp); /* 0x2E0037D0: push ebp */
   2478     ebp = esp; /* 0x2E0037D1: mov ebp, esp */
   2479     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0037D3: push -1 */
   2480     PUSH32(esp, 0x2E011543u); /* 0x2E0037D5: push 0x2e011543 */
   2481     eax = MEM32(FS_BASE + (0)); /* 0x2E0037DA: mov eax, dword ptr fs:[0] */
   2482     PUSH32(esp, eax); /* 0x2E0037E0: push eax */
   2483     MEM32(FS_BASE + (0)) = esp; /* 0x2E0037E1: mov dword ptr fs:[0], esp */
   2484     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
   2485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2486     esp = esp - 0x18u; /* 0x2E0037E8: sub esp, 0x18 */
   2487     _flag_k = FK_CMP;
   2488     PUSH32(esp, ebx); /* 0x2E0037EB: push ebx */
   2489     PUSH32(esp, esi); /* 0x2E0037EC: push esi */
   2490     PUSH32(esp, edi); /* 0x2E0037ED: push edi */
   2491     edi = ecx; /* 0x2E0037EE: mov edi, ecx */
   2492     MEM32(ebp + (-0x14)) = edi; /* 0x2E0037F0: mov dword ptr [ebp - 0x14], edi */
   2493     MEM32(edi) = 0x2E012264u; /* 0x2E0037F3: mov dword ptr [edi], 0x2e012264 */
   2494     ebx = edi + 0x50; /* 0x2E0037F9: lea ebx, [edi + 0x50] */
   2495     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2496     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2497     esp = esp - 0x10u; /* 0x2E0037FC: sub esp, 0x10 */
   2498     _flag_k = FK_CMP;
   2499     ecx = esp; /* 0x2E0037FF: mov ecx, esp */
   2500     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2501     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2502     esp = esp - 0x10u; /* 0x2E003801: sub esp, 0x10 */
   2503     _flag_k = FK_CMP;
   2504     eax = ebx + 0x14; /* 0x2E003804: lea eax, [ebx + 0x14] */
   2505     MEM32(ebp + (-0x4)) = 3; /* 0x2E003807: mov dword ptr [ebp - 4], 3 */
   2506     edx = MEM32(eax); /* 0x2E00380E: mov edx, dword ptr [eax] */
   2507     MEM32(ecx) = edx; /* 0x2E003810: mov dword ptr [ecx], edx */
   2508     edx = MEM32(eax + 0x4); /* 0x2E003812: mov edx, dword ptr [eax + 4] */
   2509     MEM32(ecx + 0x4) = edx; /* 0x2E003815: mov dword ptr [ecx + 4], edx */
   2510     edx = MEM32(eax + 0x8); /* 0x2E003818: mov edx, dword ptr [eax + 8] */
   2511     MEM32(ecx + 0x8) = edx; /* 0x2E00381B: mov dword ptr [ecx + 8], edx */
   2512     edx = esp; /* 0x2E00381E: mov edx, esp */
   2513     eax = MEM32(eax + 0xC); /* 0x2E003820: mov eax, dword ptr [eax + 0xc] */
   2514     MEM32(ecx + 0xC) = eax; /* 0x2E003823: mov dword ptr [ecx + 0xc], eax */
   2515     ecx = ebx + 0x4; /* 0x2E003826: lea ecx, [ebx + 4] */
   2516     eax = MEM32(ebx + 0x4); /* 0x2E003829: mov eax, dword ptr [ebx + 4] */
   2517     MEM32(edx) = eax; /* 0x2E00382C: mov dword ptr [edx], eax */
   2518     eax = MEM32(ecx + 0x4); /* 0x2E00382E: mov eax, dword ptr [ecx + 4] */
   2519     MEM32(edx + 0x4) = eax; /* 0x2E003831: mov dword ptr [edx + 4], eax */
   2520     eax = MEM32(ecx + 0x8); /* 0x2E003834: mov eax, dword ptr [ecx + 8] */
   2521     MEM32(edx + 0x8) = eax; /* 0x2E003837: mov dword ptr [edx + 8], eax */
   2522     ecx = MEM32(ecx + 0xC); /* 0x2E00383A: mov ecx, dword ptr [ecx + 0xc] */
   2523     MEM32(edx + 0xC) = ecx; /* 0x2E00383D: mov dword ptr [edx + 0xc], ecx */
   2524     edx = ebp + (-0x24); /* 0x2E003840: lea edx, [ebp - 0x24] */
   2525     PUSH32(esp, edx); /* 0x2E003843: push edx */
   2526     ecx = ebx; /* 0x2E003844: mov ecx, ebx */
   2527     RECOMP_ICALL(0x2E003B30u); /* 0x2E003846: call 0x2e003b30 */ /* not lifted */
   2528     RECOMP_FLAGS_IN();
   2529     esi = edi + 0x80; /* 0x2E00384B: lea esi, [edi + 0x80] */
   2530     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2531     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2532     esp = esp - 0x10u; /* 0x2E003851: sub esp, 0x10 */
   2533     _flag_k = FK_CMP;
   2534     ecx = esp; /* 0x2E003854: mov ecx, esp */
   2535     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2537     esp = esp - 0x10u; /* 0x2E003856: sub esp, 0x10 */
   2538     _flag_k = FK_CMP;
   2539     eax = esi + 0x14; /* 0x2E003859: lea eax, [esi + 0x14] */
   2540     edx = MEM32(esi + 0x14); /* 0x2E00385C: mov edx, dword ptr [esi + 0x14] */
   2541     MEM32(ecx) = edx; /* 0x2E00385F: mov dword ptr [ecx], edx */
   2542     edx = MEM32(eax + 0x4); /* 0x2E003861: mov edx, dword ptr [eax + 4] */
   2543     MEM32(ecx + 0x4) = edx; /* 0x2E003864: mov dword ptr [ecx + 4], edx */
   2544     edx = MEM32(eax + 0x8); /* 0x2E003867: mov edx, dword ptr [eax + 8] */
   2545     MEM32(ecx + 0x8) = edx; /* 0x2E00386A: mov dword ptr [ecx + 8], edx */
   2546     edx = esp; /* 0x2E00386D: mov edx, esp */
   2547     eax = MEM32(eax + 0xC); /* 0x2E00386F: mov eax, dword ptr [eax + 0xc] */
   2548     MEM32(ecx + 0xC) = eax; /* 0x2E003872: mov dword ptr [ecx + 0xc], eax */
   2549     ecx = esi + 0x4; /* 0x2E003875: lea ecx, [esi + 4] */
   2550     eax = MEM32(esi + 0x4); /* 0x2E003878: mov eax, dword ptr [esi + 4] */
   2551     MEM32(edx) = eax; /* 0x2E00387B: mov dword ptr [edx], eax */
   2552     eax = MEM32(ecx + 0x4); /* 0x2E00387D: mov eax, dword ptr [ecx + 4] */
   2553     MEM32(edx + 0x4) = eax; /* 0x2E003880: mov dword ptr [edx + 4], eax */
   2554     eax = MEM32(ecx + 0x8); /* 0x2E003883: mov eax, dword ptr [ecx + 8] */
   2555     MEM32(edx + 0x8) = eax; /* 0x2E003886: mov dword ptr [edx + 8], eax */
   2556     ecx = MEM32(ecx + 0xC); /* 0x2E003889: mov ecx, dword ptr [ecx + 0xc] */
   2557     MEM32(edx + 0xC) = ecx; /* 0x2E00388C: mov dword ptr [edx + 0xc], ecx */
   2558     edx = ebp + (-0x24); /* 0x2E00388F: lea edx, [ebp - 0x24] */
   2559     PUSH32(esp, edx); /* 0x2E003892: push edx */
   2560     ecx = esi; /* 0x2E003893: mov ecx, esi */
   2561     RECOMP_ICALL(0x2E003B30u); /* 0x2E003895: call 0x2e003b30 */ /* not lifted */
   2562     RECOMP_FLAGS_IN();
   2563     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xB0u);
   2564     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2565     edi = edi + 0xB0u; /* 0x2E00389A: add edi, 0xb0 */
   2566     _flag_k = FK_ADD;
   2567     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2568     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2569     esp = esp - 0x10u; /* 0x2E0038A0: sub esp, 0x10 */
   2570     _flag_k = FK_CMP;
   2571     ecx = esp; /* 0x2E0038A3: mov ecx, esp */
   2572     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2573     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2574     esp = esp - 0x10u; /* 0x2E0038A5: sub esp, 0x10 */
   2575     _flag_k = FK_CMP;
   2576     eax = edi + 0x14; /* 0x2E0038A8: lea eax, [edi + 0x14] */
   2577     edx = MEM32(edi + 0x14); /* 0x2E0038AB: mov edx, dword ptr [edi + 0x14] */
   2578     MEM32(ecx) = edx; /* 0x2E0038AE: mov dword ptr [ecx], edx */
   2579     edx = MEM32(eax + 0x4); /* 0x2E0038B0: mov edx, dword ptr [eax + 4] */
   2580     MEM32(ecx + 0x4) = edx; /* 0x2E0038B3: mov dword ptr [ecx + 4], edx */
   2581     edx = MEM32(eax + 0x8); /* 0x2E0038B6: mov edx, dword ptr [eax + 8] */
   2582     MEM32(ecx + 0x8) = edx; /* 0x2E0038B9: mov dword ptr [ecx + 8], edx */
   2583     edx = esp; /* 0x2E0038BC: mov edx, esp */
   2584     eax = MEM32(eax + 0xC); /* 0x2E0038BE: mov eax, dword ptr [eax + 0xc] */
   2585     MEM32(ecx + 0xC) = eax; /* 0x2E0038C1: mov dword ptr [ecx + 0xc], eax */
   2586     ecx = edi + 0x4; /* 0x2E0038C4: lea ecx, [edi + 4] */
   2587     eax = MEM32(edi + 0x4); /* 0x2E0038C7: mov eax, dword ptr [edi + 4] */
   2588     MEM32(edx) = eax; /* 0x2E0038CA: mov dword ptr [edx], eax */
   2589     eax = MEM32(ecx + 0x4); /* 0x2E0038CC: mov eax, dword ptr [ecx + 4] */
   2590     MEM32(edx + 0x4) = eax; /* 0x2E0038CF: mov dword ptr [edx + 4], eax */
   2591     eax = MEM32(ecx + 0x8); /* 0x2E0038D2: mov eax, dword ptr [ecx + 8] */
   2592     ecx = MEM32(ecx + 0xC); /* 0x2E0038D5: mov ecx, dword ptr [ecx + 0xc] */
   2593     MEM32(edx + 0x8) = eax; /* 0x2E0038D8: mov dword ptr [edx + 8], eax */
   2594     MEM32(edx + 0xC) = ecx; /* 0x2E0038DB: mov dword ptr [edx + 0xc], ecx */
   2595     edx = ebp + (-0x24); /* 0x2E0038DE: lea edx, [ebp - 0x24] */
   2596     PUSH32(esp, edx); /* 0x2E0038E1: push edx */
   2597     ecx = edi; /* 0x2E0038E2: mov ecx, edi */
   2598     RECOMP_ICALL(0x2E003B30u); /* 0x2E0038E4: call 0x2e003b30 */ /* not lifted */
   2599     RECOMP_FLAGS_IN();
   2600     eax = MEM32(edi + 0x2C); /* 0x2E0038E9: mov eax, dword ptr [edi + 0x2c] */
   2601     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E0038EC: mov byte ptr [ebp - 4], 2 */
   2602     /* test eax, eax */ /* 0x2E0038F0: test eax, eax */
   2603     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2604     _cf = 0;
   2605     _flag_k = FK_TEST;
   2606     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00393D; /* 0x2E0038F2: je 0x2e00393d */
   2607 L_2E0038F4:
   2608     eax = MEM32(edi + 0x10); /* 0x2E0038F4: mov eax, dword ptr [edi + 0x10] */
   2609     ecx = edi + 0x4; /* 0x2E0038F7: lea ecx, [edi + 4] */
   2610     MEM32(ebp + (-0x10)) = eax; /* 0x2E0038FA: mov dword ptr [ebp - 0x10], eax */
   2611     RECOMP_ICALL(0x2E003A80u); /* 0x2E0038FD: call 0x2e003a80 */ /* not lifted */
   2612     RECOMP_FLAGS_IN();
   2613     ecx = MEM32(edi + 0x2C); /* 0x2E003902: mov ecx, dword ptr [edi + 0x2c] */
   2614     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2615     ecx = ecx - 1; /* 0x2E003905: dec ecx */
   2616     _flag_k = FK_DEC;
   2617     eax = ecx; /* 0x2E003906: mov eax, ecx */
   2618     MEM32(edi + 0x2C) = ecx; /* 0x2E003908: mov dword ptr [edi + 0x2c], ecx */
   2619     /* test eax, eax */ /* 0x2E00390B: test eax, eax */
   2620     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2621     _cf = 0;
   2622     _flag_k = FK_TEST;
   2623     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003918; /* 0x2E00390D: jne 0x2e003918 */
   2624 L_2E00390F:
   2625     ecx = edi; /* 0x2E00390F: mov ecx, edi */
   2626     RECOMP_ICALL(0x2E003A20u); /* 0x2E003911: call 0x2e003a20 */ /* not lifted */
   2627     RECOMP_FLAGS_IN();
   2628     goto L_2E003936; /* 0x2E003916: jmp 0x2e003936 */
   2629 L_2E003918:
   2630     eax = MEM32(ebp + (-0x10)); /* 0x2E003918: mov eax, dword ptr [ebp - 0x10] */
   2631     ecx = MEM32(edi + 0x10); /* 0x2E00391B: mov ecx, dword ptr [edi + 0x10] */
   2632     /* cmp eax, ecx */ /* 0x2E00391E: cmp eax, ecx */
   2633     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2634     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2635     _flag_k = FK_CMP;
   2636     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003936; /* 0x2E003920: je 0x2e003936 */
   2637 L_2E003922:
   2638     eax = MEM32(eax); /* 0x2E003922: mov eax, dword ptr [eax] */
   2639     PUSH32(esp, eax); /* 0x2E003924: push eax */
   2640     RECOMP_ICALL(0x2E010E90u); /* 0x2E003925: call 0x2e010e90 */ /* not lifted */
   2641     RECOMP_FLAGS_IN();
   2642     ecx = MEM32(ebp + (-0x10)); /* 0x2E00392A: mov ecx, dword ptr [ebp - 0x10] */
   2643     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2644     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2645     esp = esp + 4; /* 0x2E00392D: add esp, 4 */
   2646     _flag_k = FK_ADD;
   2647     MEM32(ecx) = 0; /* 0x2E003930: mov dword ptr [ecx], 0 */
   2648 L_2E003936:
   2649     eax = MEM32(edi + 0x2C); /* 0x2E003936: mov eax, dword ptr [edi + 0x2c] */
   2650     /* test eax, eax */ /* 0x2E003939: test eax, eax */
   2651     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2652     _cf = 0;
   2653     _flag_k = FK_TEST;
   2654     RECOMP_BACKEDGE();
   2655     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0038F4; /* 0x2E00393B: jne 0x2e0038f4 */
   2656 L_2E00393D:
   2657     eax = MEM32(esi + 0x2C); /* 0x2E00393D: mov eax, dword ptr [esi + 0x2c] */
   2658     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E003940: mov byte ptr [ebp - 4], 1 */
   2659     /* test eax, eax */ /* 0x2E003944: test eax, eax */
   2660     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2661     _cf = 0;
   2662     _flag_k = FK_TEST;
   2663     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039B3; /* 0x2E003946: je 0x2e0039b3 */
   2664 L_2E003948:
   2665     eax = MEM32(esi + 0xC); /* 0x2E003948: mov eax, dword ptr [esi + 0xc] */
   2666     ecx = MEM32(esi + 0x8); /* 0x2E00394B: mov ecx, dword ptr [esi + 8] */
   2667     edi = MEM32(esi + 0x10); /* 0x2E00394E: mov edi, dword ptr [esi + 0x10] */
   2668     /* cmp eax, ecx */ /* 0x2E003951: cmp eax, ecx */
   2669     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2670     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2671     _flag_k = FK_CMP;
   2672     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003953: je 0x2e003980 */
   2673 L_2E003955:
   2674     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2675     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2676     eax = eax + 4; /* 0x2E003955: add eax, 4 */
   2677     _flag_k = FK_ADD;
   2678     /* cmp eax, ecx */ /* 0x2E003958: cmp eax, ecx */
   2679     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2680     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2681     _flag_k = FK_CMP;
   2682     MEM32(esi + 0xC) = eax; /* 0x2E00395A: mov dword ptr [esi + 0xc], eax */
   2683     if (CMP_NE(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E00395D: jne 0x2e003980 */
   2684 L_2E00395F:
   2685     eax = MEM32(esi + 0x10); /* 0x2E00395F: mov eax, dword ptr [esi + 0x10] */
   2686     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2687     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2688     eax = eax + 4; /* 0x2E003962: add eax, 4 */
   2689     _flag_k = FK_ADD;
   2690     /* cmp MEM32(eax), 0 */ /* 0x2E003965: cmp dword ptr [eax], 0 */
   2691     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   2692     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2693     _flag_k = FK_CMP;
   2694     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003968: je 0x2e003980 */
   2695 L_2E00396A:
   2696     MEM32(esi + 0x10) = eax; /* 0x2E00396A: mov dword ptr [esi + 0x10], eax */
   2697     eax = MEM32(eax); /* 0x2E00396D: mov eax, dword ptr [eax] */
   2698     MEM32(esi + 0x4) = eax; /* 0x2E00396F: mov dword ptr [esi + 4], eax */
   2699     edx = MEM32(esi + 0x4); /* 0x2E003972: mov edx, dword ptr [esi + 4] */
   2700     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   2701     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2702     eax = eax + 0x1000u; /* 0x2E003975: add eax, 0x1000 */
   2703     _flag_k = FK_ADD;
   2704     MEM32(esi + 0xC) = edx; /* 0x2E00397A: mov dword ptr [esi + 0xc], edx */
   2705     MEM32(esi + 0x8) = eax; /* 0x2E00397D: mov dword ptr [esi + 8], eax */
   2706 L_2E003980:
   2707     ecx = MEM32(esi + 0x2C); /* 0x2E003980: mov ecx, dword ptr [esi + 0x2c] */
   2708     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2709     ecx = ecx - 1; /* 0x2E003983: dec ecx */
   2710     _flag_k = FK_DEC;
   2711     eax = ecx; /* 0x2E003984: mov eax, ecx */
   2712     MEM32(esi + 0x2C) = ecx; /* 0x2E003986: mov dword ptr [esi + 0x2c], ecx */
   2713     /* test eax, eax */ /* 0x2E003989: test eax, eax */
   2714     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2715     _cf = 0;
   2716     _flag_k = FK_TEST;
   2717     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003996; /* 0x2E00398B: jne 0x2e003996 */
   2718 L_2E00398D:
   2719     ecx = esi; /* 0x2E00398D: mov ecx, esi */
   2720     RECOMP_ICALL(0x2E003A20u); /* 0x2E00398F: call 0x2e003a20 */ /* not lifted */
   2721     RECOMP_FLAGS_IN();
   2722     goto L_2E0039AC; /* 0x2E003994: jmp 0x2e0039ac */
   2723 L_2E003996:
   2724     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E003996: cmp edi, dword ptr [esi + 0x10] */
   2725     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   2726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2727     _flag_k = FK_CMP;
   2728     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039AC; /* 0x2E003999: je 0x2e0039ac */
   2729 L_2E00399B:
   2730     eax = MEM32(edi); /* 0x2E00399B: mov eax, dword ptr [edi] */
   2731     PUSH32(esp, eax); /* 0x2E00399D: push eax */
   2732     RECOMP_ICALL(0x2E010E90u); /* 0x2E00399E: call 0x2e010e90 */ /* not lifted */
   2733     RECOMP_FLAGS_IN();
   2734     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2735     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2736     esp = esp + 4; /* 0x2E0039A3: add esp, 4 */
   2737     _flag_k = FK_ADD;
   2738     MEM32(edi) = 0; /* 0x2E0039A6: mov dword ptr [edi], 0 */
   2739 L_2E0039AC:
   2740     eax = MEM32(esi + 0x2C); /* 0x2E0039AC: mov eax, dword ptr [esi + 0x2c] */
   2741     /* test eax, eax */ /* 0x2E0039AF: test eax, eax */
   2742     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2743     _cf = 0;
   2744     _flag_k = FK_TEST;
   2745     RECOMP_BACKEDGE();
   2746     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003948; /* 0x2E0039B1: jne 0x2e003948 */
   2747 L_2E0039B3:
   2748     eax = MEM32(ebx + 0x2C); /* 0x2E0039B3: mov eax, dword ptr [ebx + 0x2c] */
   2749     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2E0039B6: mov byte ptr [ebp - 4], 0 */
   2750     /* test eax, eax */ /* 0x2E0039BA: test eax, eax */
   2751     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2752     _cf = 0;
   2753     _flag_k = FK_TEST;
   2754     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039FC; /* 0x2E0039BC: je 0x2e0039fc */
   2755 L_2E0039BE:
   2756     esi = MEM32(ebx + 0x10); /* 0x2E0039BE: mov esi, dword ptr [ebx + 0x10] */
   2757     ecx = ebx + 0x4; /* 0x2E0039C1: lea ecx, [ebx + 4] */
   2758     RECOMP_ICALL(0x2E003A80u); /* 0x2E0039C4: call 0x2e003a80 */ /* not lifted */
   2759     RECOMP_FLAGS_IN();
   2760     ecx = MEM32(ebx + 0x2C); /* 0x2E0039C9: mov ecx, dword ptr [ebx + 0x2c] */
   2761     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2762     ecx = ecx - 1; /* 0x2E0039CC: dec ecx */
   2763     _flag_k = FK_DEC;
   2764     eax = ecx; /* 0x2E0039CD: mov eax, ecx */
   2765     MEM32(ebx + 0x2C) = ecx; /* 0x2E0039CF: mov dword ptr [ebx + 0x2c], ecx */
   2766     /* test eax, eax */ /* 0x2E0039D2: test eax, eax */
   2767     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2768     _cf = 0;
   2769     _flag_k = FK_TEST;
   2770     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039DF; /* 0x2E0039D4: jne 0x2e0039df */
   2771 L_2E0039D6:
   2772     ecx = ebx; /* 0x2E0039D6: mov ecx, ebx */
   2773     RECOMP_ICALL(0x2E003A20u); /* 0x2E0039D8: call 0x2e003a20 */ /* not lifted */
   2774     RECOMP_FLAGS_IN();
   2775     goto L_2E0039F5; /* 0x2E0039DD: jmp 0x2e0039f5 */
   2776 L_2E0039DF:
   2777     /* cmp esi, MEM32(ebx + 0x10) */ /* 0x2E0039DF: cmp esi, dword ptr [ebx + 0x10] */
   2778     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x10));
   2779     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2780     _flag_k = FK_CMP;
   2781     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039F5; /* 0x2E0039E2: je 0x2e0039f5 */
   2782 L_2E0039E4:
   2783     eax = MEM32(esi); /* 0x2E0039E4: mov eax, dword ptr [esi] */
   2784     PUSH32(esp, eax); /* 0x2E0039E6: push eax */
   2785     RECOMP_ICALL(0x2E010E90u); /* 0x2E0039E7: call 0x2e010e90 */ /* not lifted */
   2786     RECOMP_FLAGS_IN();
   2787     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2788     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2789     esp = esp + 4; /* 0x2E0039EC: add esp, 4 */
   2790     _flag_k = FK_ADD;
   2791     MEM32(esi) = 0; /* 0x2E0039EF: mov dword ptr [esi], 0 */
   2792 L_2E0039F5:
   2793     eax = MEM32(ebx + 0x2C); /* 0x2E0039F5: mov eax, dword ptr [ebx + 0x2c] */
   2794     /* test eax, eax */ /* 0x2E0039F8: test eax, eax */
   2795     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2796     _cf = 0;
   2797     _flag_k = FK_TEST;
   2798     RECOMP_BACKEDGE();
   2799     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039BE; /* 0x2E0039FA: jne 0x2e0039be */
   2800 L_2E0039FC:
   2801     eax = MEM32(ebp + (-0x14)); /* 0x2E0039FC: mov eax, dword ptr [ebp - 0x14] */
   2802     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0039FF: mov dword ptr [ebp - 4], 0xffffffff */
   2803     ecx = eax + 0x4; /* 0x2E003A06: lea ecx, [eax + 4] */
   2804     RECOMP_ICALL(MEM32(0x2E0121C8)); /* 0x2E003A09: call dword ptr [0x2e0121c8] */
   2805     RECOMP_FLAGS_IN();
   2806     ecx = MEM32(ebp + (-0xC)); /* 0x2E003A0F: mov ecx, dword ptr [ebp - 0xc] */
   2807     edi = POP32_VAL(esp); /* 0x2E003A12: pop edi */
   2808     esi = POP32_VAL(esp); /* 0x2E003A13: pop esi */
   2809     MEM32(FS_BASE + (0)) = ecx; /* 0x2E003A14: mov dword ptr fs:[0], ecx */
   2810     ebx = POP32_VAL(esp); /* 0x2E003A1B: pop ebx */
   2811     esp = ebp; /* 0x2E003A1C: mov esp, ebp */
   2812     ebp = POP32_VAL(esp); /* 0x2E003A1E: pop ebp */
   2813     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E003A1F: ret  */
   2814 L_2E0114CF:
   2815     ecx = MEM32(ebp + (-0x14)); /* 0x2E0114CF: mov ecx, dword ptr [ebp - 0x14] */
   2816     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   2817     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2818     ecx = ecx + 0x138u; /* 0x2E0114D2: add ecx, 0x138 */
   2819     _flag_k = FK_ADD;
   2820     RECOMP_BACKEDGE();
   2821     goto L_2E0037D0; /* 0x2E0114D8: jmp 0x2e0037d0 */
   2822     { RECOMP_REGS_OUT(); return; } /* end of function */
   2823     RECOMP_REGS_OUT();
   2824 }
   2825 
   2826 void sub_2E0114DD(void) {
   2827     int _fpu_cmp = 0;
   2828     uint32_t _cf = 0;
   2829     int _df = 1;
   2830     uint32_t _flag_k = FK_NONE;
   2831     uint32_t _flag_a = 0, _flag_b = 0;
   2832     uint32_t _itail_tgt = 0;
   2833     RECOMP_REGS_LOCALS
   2834     RECOMP_ENTER(0x2E0114DDu);
   2835 
   2836     goto L_2E0114DD;
   2837 L_2E004150:
   2838     PUSH32(esp, ebp); /* 0x2E004150: push ebp */
   2839     ebp = esp; /* 0x2E004151: mov ebp, esp */
   2840     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2841     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2842     esp = esp - 8; /* 0x2E004153: sub esp, 8 */
   2843     _flag_k = FK_CMP;
   2844     PUSH32(esp, ebx); /* 0x2E004156: push ebx */
   2845     PUSH32(esp, esi); /* 0x2E004157: push esi */
   2846     esi = ecx; /* 0x2E004158: mov esi, ecx */
   2847     PUSH32(esp, edi); /* 0x2E00415A: push edi */
   2848     edi = MEM32(esi + 0x4); /* 0x2E00415B: mov edi, dword ptr [esi + 4] */
   2849     ecx = MEM32(esi + 0x10); /* 0x2E00415E: mov ecx, dword ptr [esi + 0x10] */
   2850     /* test ecx, ecx */ /* 0x2E004161: test ecx, ecx */
   2851     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2852     _cf = 0;
   2853     _flag_k = FK_TEST;
   2854     eax = MEM32(edi); /* 0x2E004163: mov eax, dword ptr [edi] */
   2855     MEM32(ebp + (-0x4)) = eax; /* 0x2E004165: mov dword ptr [ebp - 4], eax */
   2856     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004168: je 0x2e0041c7 */
   2857 L_2E00416A:
   2858     ecx = eax; /* 0x2E00416A: mov ecx, eax */
   2859     /* cmp eax, ecx */ /* 0x2E00416C: cmp eax, ecx */
   2860     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2861     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2862     _flag_k = FK_CMP;
   2863     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E00416E: jne 0x2e0041c7 */
   2864 L_2E004170:
   2865     /* cmp edi, edi */ /* 0x2E004170: cmp edi, edi */
   2866     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2867     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2868     _flag_k = FK_CMP;
   2869     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004172: jne 0x2e0041c7 */
   2870 L_2E004174:
   2871     ebx = MEM32(edi + 0x4); /* 0x2E004174: mov ebx, dword ptr [edi + 4] */
   2872     eax = MEM32(esi + 0x8); /* 0x2E004177: mov eax, dword ptr [esi + 8] */
   2873     /* cmp ebx, eax */ /* 0x2E00417A: cmp ebx, eax */
   2874     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   2875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2876     _flag_k = FK_CMP;
   2877     edi = ebx; /* 0x2E00417C: mov edi, ebx */
   2878     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00419F; /* 0x2E00417E: je 0x2e00419f */
   2879 L_2E004180:
   2880     eax = MEM32(edi + 0x8); /* 0x2E004180: mov eax, dword ptr [edi + 8] */
   2881     ecx = esi; /* 0x2E004183: mov ecx, esi */
   2882     PUSH32(esp, eax); /* 0x2E004185: push eax */
   2883     RECOMP_ICALL(0x2E0045F0u); /* 0x2E004186: call 0x2e0045f0 */ /* not lifted */
   2884     RECOMP_FLAGS_IN();
   2885     edi = MEM32(edi); /* 0x2E00418B: mov edi, dword ptr [edi] */
   2886     PUSH32(esp, ebx); /* 0x2E00418D: push ebx */
   2887     RECOMP_ICALL(0x2E010E90u); /* 0x2E00418E: call 0x2e010e90 */ /* not lifted */
   2888     RECOMP_FLAGS_IN();
   2889     eax = MEM32(esi + 0x8); /* 0x2E004193: mov eax, dword ptr [esi + 8] */
   2890     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2891     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2892     esp = esp + 4; /* 0x2E004196: add esp, 4 */
   2893     _flag_k = FK_ADD;
   2894     /* cmp edi, eax */ /* 0x2E004199: cmp edi, eax */
   2895     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2896     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2897     _flag_k = FK_CMP;
   2898     ebx = edi; /* 0x2E00419B: mov ebx, edi */
   2899     RECOMP_BACKEDGE();
   2900     if (CMP_NE(_flag_a, _flag_b)) goto L_2E004180; /* 0x2E00419D: jne 0x2e004180 */
   2901 L_2E00419F:
   2902     ecx = MEM32(esi + 0x4); /* 0x2E00419F: mov ecx, dword ptr [esi + 4] */
   2903     edx = MEM32(esi + 0x8); /* 0x2E0041A2: mov edx, dword ptr [esi + 8] */
   2904     MEM32(ecx + 0x4) = edx; /* 0x2E0041A5: mov dword ptr [ecx + 4], edx */
   2905     eax = MEM32(esi + 0x4); /* 0x2E0041A8: mov eax, dword ptr [esi + 4] */
   2906     MEM32(esi + 0x10) = 0; /* 0x2E0041AB: mov dword ptr [esi + 0x10], 0 */
   2907     ecx = esi; /* 0x2E0041B2: mov ecx, esi */
   2908     MEM32(eax) = eax; /* 0x2E0041B4: mov dword ptr [eax], eax */
   2909     eax = MEM32(esi + 0x4); /* 0x2E0041B6: mov eax, dword ptr [esi + 4] */
   2910     MEM32(eax + 0x8) = eax; /* 0x2E0041B9: mov dword ptr [eax + 8], eax */
   2911     eax = ebp + (-0x8); /* 0x2E0041BC: lea eax, [ebp - 8] */
   2912     PUSH32(esp, eax); /* 0x2E0041BF: push eax */
   2913     RECOMP_ICALL(0x2E004210u); /* 0x2E0041C0: call 0x2e004210 */ /* not lifted */
   2914     RECOMP_FLAGS_IN();
   2915     goto L_2E0041E8; /* 0x2E0041C5: jmp 0x2e0041e8 */
   2916 L_2E0041C7:
   2917     /* cmp eax, edi */ /* 0x2E0041C7: cmp eax, edi */
   2918     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2919     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2920     _flag_k = FK_CMP;
   2921     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0041E8; /* 0x2E0041C9: je 0x2e0041e8 */
   2922 L_2E0041CB:
   2923     ecx = ebp + (-0x4); /* 0x2E0041CB: lea ecx, [ebp - 4] */
   2924     ebx = eax; /* 0x2E0041CE: mov ebx, eax */
   2925     RECOMP_ICALL(0x2E004630u); /* 0x2E0041D0: call 0x2e004630 */ /* not lifted */
   2926     RECOMP_FLAGS_IN();
   2927     ecx = ebp + (-0x8); /* 0x2E0041D5: lea ecx, [ebp - 8] */
   2928     PUSH32(esp, ebx); /* 0x2E0041D8: push ebx */
   2929     PUSH32(esp, ecx); /* 0x2E0041D9: push ecx */
   2930     ecx = esi; /* 0x2E0041DA: mov ecx, esi */
   2931     RECOMP_ICALL(0x2E004230u); /* 0x2E0041DC: call 0x2e004230 */ /* not lifted */
   2932     RECOMP_FLAGS_IN();
   2933     eax = MEM32(ebp + (-0x4)); /* 0x2E0041E1: mov eax, dword ptr [ebp - 4] */
   2934     /* cmp eax, edi */ /* 0x2E0041E4: cmp eax, edi */
   2935     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2936     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2937     _flag_k = FK_CMP;
   2938     RECOMP_BACKEDGE();
   2939     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041CB; /* 0x2E0041E6: jne 0x2e0041cb */
   2940 L_2E0041E8:
   2941     edx = MEM32(esi + 0x4); /* 0x2E0041E8: mov edx, dword ptr [esi + 4] */
   2942     PUSH32(esp, edx); /* 0x2E0041EB: push edx */
   2943     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041EC: call 0x2e010e90 */ /* not lifted */
   2944     RECOMP_FLAGS_IN();
   2945     eax = MEM32(esi + 0x8); /* 0x2E0041F1: mov eax, dword ptr [esi + 8] */
   2946     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2947     edi = 0; /* 0x2E0041F4: xor edi, edi */
   2948     _cf = 0;
   2949     _flag_k = FK_TEST;
   2950     PUSH32(esp, eax); /* 0x2E0041F6: push eax */
   2951     MEM32(esi + 0x4) = edi; /* 0x2E0041F7: mov dword ptr [esi + 4], edi */
   2952     MEM32(esi + 0x10) = edi; /* 0x2E0041FA: mov dword ptr [esi + 0x10], edi */
   2953     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041FD: call 0x2e010e90 */ /* not lifted */
   2954     RECOMP_FLAGS_IN();
   2955     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2956     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2957     esp = esp + 8; /* 0x2E004202: add esp, 8 */
   2958     _flag_k = FK_ADD;
   2959     MEM32(esi + 0x8) = edi; /* 0x2E004205: mov dword ptr [esi + 8], edi */
   2960     edi = POP32_VAL(esp); /* 0x2E004208: pop edi */
   2961     esi = POP32_VAL(esp); /* 0x2E004209: pop esi */
   2962     ebx = POP32_VAL(esp); /* 0x2E00420A: pop ebx */
   2963     esp = ebp; /* 0x2E00420B: mov esp, ebp */
   2964     ebp = POP32_VAL(esp); /* 0x2E00420D: pop ebp */
   2965     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00420E: ret  */
   2966 L_2E0114DD:
   2967     ecx = MEM32(ebp + (-0x14)); /* 0x2E0114DD: mov ecx, dword ptr [ebp - 0x14] */
   2968     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x244u);
   2969     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2970     ecx = ecx + 0x244u; /* 0x2E0114E0: add ecx, 0x244 */
   2971     _flag_k = FK_ADD;
   2972     RECOMP_BACKEDGE();
   2973     goto L_2E004150; /* 0x2E0114E6: jmp 0x2e004150 */
   2974     { RECOMP_REGS_OUT(); return; } /* end of function */
   2975     RECOMP_REGS_OUT();
   2976 }
   2977 
   2978 void sub_2E0114EB(void) {
   2979     int _fpu_cmp = 0;
   2980     uint32_t _cf = 0;
   2981     int _df = 1;
   2982     uint32_t _flag_k = FK_NONE;
   2983     uint32_t _flag_a = 0, _flag_b = 0;
   2984     uint32_t _itail_tgt = 0;
   2985     RECOMP_REGS_LOCALS
   2986     RECOMP_ENTER(0x2E0114EBu);
   2987 
   2988 L_2E0114EB:
   2989     PUSH32(esp, 0x2E0037D0u); /* 0x2E0114EB: push 0x2e0037d0 */
   2990     PUSH32(esp, 5); /* 0x2E0114F0: push 5 */
   2991     PUSH32(esp, 0x100u); /* 0x2E0114F2: push 0x100 */
   2992     eax = MEM32(ebp + (-0x14)); /* 0x2E0114F7: mov eax, dword ptr [ebp - 0x14] */
   2993     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x268u);
   2994     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2995     eax = eax + 0x268u; /* 0x2E0114FA: add eax, 0x268 */
   2996     _flag_k = FK_ADD;
   2997     PUSH32(esp, eax); /* 0x2E0114FF: push eax */
   2998     RECOMP_ICALL(0x2E010EB0u); /* 0x2E011500: call 0x2e010eb0 */ /* not lifted */
   2999     RECOMP_FLAGS_IN();
   3000     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E011505: ret  */
   3001     RECOMP_REGS_OUT();
   3002 }
   3003 
   3004 void sub_2E011506(void) {
   3005     int _fpu_cmp = 0;
   3006     uint32_t _cf = 0;
   3007     int _df = 1;
   3008     uint32_t _flag_k = FK_NONE;
   3009     uint32_t _flag_a = 0, _flag_b = 0;
   3010     uint32_t _itail_tgt = 0;
   3011     RECOMP_REGS_LOCALS
   3012     RECOMP_ENTER(0x2E011506u);
   3013 
   3014     goto L_2E011506;
   3015 L_2E010EA2:
   3016     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   3017 L_2E011506:
   3018     eax = 0x2E013388u; /* 0x2E011506: mov eax, 0x2e013388 */
   3019 L_2E01150B:
   3020     RECOMP_BACKEDGE();
   3021     goto L_2E010EA2; /* 0x2E01150B: jmp 0x2e010ea2 */
   3022     { RECOMP_REGS_OUT(); return; } /* end of function */
   3023   _ljump:
   3024     switch (_itail_tgt) {
   3025       case 0x2E010EA2u: goto L_2E010EA2;
   3026       case 0x2E011506u: goto L_2E011506;
   3027       case 0x2E01150Bu: goto L_2E01150B;
   3028       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3029     }
   3030     RECOMP_REGS_OUT();
   3031 }
   3032 
   3033 void sub_2E011510(void) {
   3034     int _fpu_cmp = 0;
   3035     uint32_t _cf = 0;
   3036     int _df = 1;
   3037     uint32_t _flag_k = FK_NONE;
   3038     uint32_t _flag_a = 0, _flag_b = 0;
   3039     uint32_t _itail_tgt = 0;
   3040     RECOMP_REGS_LOCALS
   3041     RECOMP_ENTER(0x2E011510u);
   3042 
   3043 L_2E011510:
   3044     ecx = MEM32(ebp + (-0x14)); /* 0x2E011510: mov ecx, dword ptr [ebp - 0x14] */
   3045 L_2E011513:
   3046     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   3047     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3048     ecx = ecx + 4; /* 0x2E011513: add ecx, 4 */
   3049     _flag_k = FK_ADD;
   3050 L_2E011516:
   3051     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
   3052     { RECOMP_REGS_OUT(); return; } /* end of function */
   3053   _ljump:
   3054     switch (_itail_tgt) {
   3055       case 0x2E011510u: goto L_2E011510;
   3056       case 0x2E011513u: goto L_2E011513;
   3057       case 0x2E011516u: goto L_2E011516;
   3058       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3059     }
   3060     RECOMP_REGS_OUT();
   3061 }
   3062 
   3063 void sub_2E01151C(void) {
   3064     int _fpu_cmp = 0;
   3065     uint32_t _cf = 0;
   3066     int _df = 1;
   3067     uint32_t _flag_k = FK_NONE;
   3068     uint32_t _flag_a = 0, _flag_b = 0;
   3069     uint32_t _itail_tgt = 0;
   3070     RECOMP_REGS_LOCALS
   3071     RECOMP_ENTER(0x2E01151Cu);
   3072 
   3073     goto L_2E01151C;
   3074 L_2E0030E0:
   3075     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   3076     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   3077     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   3078     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   3079     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3080     _cf = 0;
   3081     _flag_k = FK_TEST;
   3082     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   3083 L_2E0030EE:
   3084     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   3085     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   3086     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   3087 L_2E0030F6:
   3088     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   3089     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   3090     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   3091     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   3092     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3094     _flag_k = FK_CMP;
   3095     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   3096 L_2E003103:
   3097     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3098     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3099     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   3100     _flag_k = FK_ADD;
   3101     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   3102     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3103     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3104     _flag_k = FK_CMP;
   3105     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   3106     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   3107 L_2E00310D:
   3108     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   3109     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3110     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3111     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   3112     _flag_k = FK_ADD;
   3113     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   3114     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   3115     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3116     _flag_k = FK_CMP;
   3117     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   3118 L_2E003118:
   3119     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   3120     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   3121     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   3122     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   3123     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3124     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   3125     _flag_k = FK_ADD;
   3126     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   3127     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   3128     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   3129 L_2E00312E:
   3130     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   3131     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3132     eax = eax - 1; /* 0x2E003131: dec eax */
   3133     _flag_k = FK_DEC;
   3134     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   3135     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   3136 L_2E003137:
   3137     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   3138     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   3139     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   3140     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   3141     RECOMP_FLAGS_IN();
   3142     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   3143     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   3144     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   3145     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   3146     RECOMP_FLAGS_IN();
   3147     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   3148     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   3149     PUSH32(esp, eax); /* 0x2E003154: push eax */
   3150     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   3151     RECOMP_FLAGS_IN();
   3152     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   3153     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3154     eax = 0; /* 0x2E00315D: xor eax, eax */
   3155     _cf = 0;
   3156     _flag_k = FK_TEST;
   3157     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3158     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   3159     _cf = 0;
   3160     _flag_k = FK_TEST;
   3161     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3162     edx = 0; /* 0x2E003161: xor edx, edx */
   3163     _cf = 0;
   3164     _flag_k = FK_TEST;
   3165     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   3166     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   3167     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   3168     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3169     edi = 0; /* 0x2E00316B: xor edi, edi */
   3170     _cf = 0;
   3171     _flag_k = FK_TEST;
   3172     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   3173     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   3174     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   3175     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   3176     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   3177     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   3178     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   3179     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   3180     RECOMP_FLAGS_IN();
   3181     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3182     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3183     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   3184     _flag_k = FK_ADD;
   3185     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   3186 L_2E00318A:
   3187     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   3188     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   3189     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3190     _flag_k = FK_CMP;
   3191     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   3192 L_2E00318F:
   3193     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   3194     PUSH32(esp, edx); /* 0x2E003191: push edx */
   3195     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   3196     RECOMP_FLAGS_IN();
   3197     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3198     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3199     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   3200     _flag_k = FK_ADD;
   3201     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   3202 L_2E0031A0:
   3203     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   3204     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   3205     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3206     _cf = 0;
   3207     _flag_k = FK_TEST;
   3208     RECOMP_BACKEDGE();
   3209     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   3210 L_2E0031AB:
   3211     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   3212     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   3213 L_2E0031AD:
   3214     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   3215     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   3216 L_2E01151C:
   3217     ecx = MEM32(ebp + (-0x14)); /* 0x2E01151C: mov ecx, dword ptr [ebp - 0x14] */
   3218     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   3219     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3220     ecx = ecx + 0x50u; /* 0x2E01151F: add ecx, 0x50 */
   3221     _flag_k = FK_ADD;
   3222     RECOMP_BACKEDGE();
   3223     goto L_2E0030E0; /* 0x2E011522: jmp 0x2e0030e0 */
   3224     { RECOMP_REGS_OUT(); return; } /* end of function */
   3225     RECOMP_REGS_OUT();
   3226 }
   3227 
   3228 void sub_2E011527(void) {
   3229     int _fpu_cmp = 0;
   3230     uint32_t _cf = 0;
   3231     int _df = 1;
   3232     uint32_t _flag_k = FK_NONE;
   3233     uint32_t _flag_a = 0, _flag_b = 0;
   3234     uint32_t _itail_tgt = 0;
   3235     RECOMP_REGS_LOCALS
   3236     RECOMP_ENTER(0x2E011527u);
   3237 
   3238     goto L_2E011527;
   3239 L_2E0030E0:
   3240     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   3241     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   3242     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   3243     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   3244     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3245     _cf = 0;
   3246     _flag_k = FK_TEST;
   3247     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   3248 L_2E0030EE:
   3249     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   3250     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   3251     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   3252 L_2E0030F6:
   3253     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   3254     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   3255     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   3256     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   3257     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3258     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3259     _flag_k = FK_CMP;
   3260     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   3261 L_2E003103:
   3262     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3263     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3264     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   3265     _flag_k = FK_ADD;
   3266     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   3267     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3268     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3269     _flag_k = FK_CMP;
   3270     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   3271     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   3272 L_2E00310D:
   3273     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   3274     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3275     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3276     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   3277     _flag_k = FK_ADD;
   3278     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   3279     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   3280     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3281     _flag_k = FK_CMP;
   3282     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   3283 L_2E003118:
   3284     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   3285     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   3286     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   3287     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   3288     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3289     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   3290     _flag_k = FK_ADD;
   3291     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   3292     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   3293     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   3294 L_2E00312E:
   3295     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   3296     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3297     eax = eax - 1; /* 0x2E003131: dec eax */
   3298     _flag_k = FK_DEC;
   3299     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   3300     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   3301 L_2E003137:
   3302     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   3303     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   3304     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   3305     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   3306     RECOMP_FLAGS_IN();
   3307     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   3308     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   3309     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   3310     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   3311     RECOMP_FLAGS_IN();
   3312     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   3313     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   3314     PUSH32(esp, eax); /* 0x2E003154: push eax */
   3315     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   3316     RECOMP_FLAGS_IN();
   3317     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   3318     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3319     eax = 0; /* 0x2E00315D: xor eax, eax */
   3320     _cf = 0;
   3321     _flag_k = FK_TEST;
   3322     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3323     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   3324     _cf = 0;
   3325     _flag_k = FK_TEST;
   3326     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3327     edx = 0; /* 0x2E003161: xor edx, edx */
   3328     _cf = 0;
   3329     _flag_k = FK_TEST;
   3330     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   3331     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   3332     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   3333     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3334     edi = 0; /* 0x2E00316B: xor edi, edi */
   3335     _cf = 0;
   3336     _flag_k = FK_TEST;
   3337     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   3338     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   3339     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   3340     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   3341     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   3342     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   3343     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   3344     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   3345     RECOMP_FLAGS_IN();
   3346     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3347     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3348     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   3349     _flag_k = FK_ADD;
   3350     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   3351 L_2E00318A:
   3352     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   3353     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   3354     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3355     _flag_k = FK_CMP;
   3356     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   3357 L_2E00318F:
   3358     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   3359     PUSH32(esp, edx); /* 0x2E003191: push edx */
   3360     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   3361     RECOMP_FLAGS_IN();
   3362     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3363     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3364     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   3365     _flag_k = FK_ADD;
   3366     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   3367 L_2E0031A0:
   3368     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   3369     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   3370     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3371     _cf = 0;
   3372     _flag_k = FK_TEST;
   3373     RECOMP_BACKEDGE();
   3374     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   3375 L_2E0031AB:
   3376     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   3377     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   3378 L_2E0031AD:
   3379     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   3380     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   3381 L_2E011527:
   3382     ecx = MEM32(ebp + (-0x14)); /* 0x2E011527: mov ecx, dword ptr [ebp - 0x14] */
   3383     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   3384     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3385     ecx = ecx + 0x80u; /* 0x2E01152A: add ecx, 0x80 */
   3386     _flag_k = FK_ADD;
   3387     RECOMP_BACKEDGE();
   3388     goto L_2E0030E0; /* 0x2E011530: jmp 0x2e0030e0 */
   3389     { RECOMP_REGS_OUT(); return; } /* end of function */
   3390     RECOMP_REGS_OUT();
   3391 }
   3392 
   3393 void sub_2E011535(void) {
   3394     int _fpu_cmp = 0;
   3395     uint32_t _cf = 0;
   3396     int _df = 1;
   3397     uint32_t _flag_k = FK_NONE;
   3398     uint32_t _flag_a = 0, _flag_b = 0;
   3399     uint32_t _itail_tgt = 0;
   3400     RECOMP_REGS_LOCALS
   3401     RECOMP_ENTER(0x2E011535u);
   3402 
   3403     goto L_2E011535;
   3404 L_2E0030E0:
   3405     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   3406     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   3407     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   3408     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   3409     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3410     _cf = 0;
   3411     _flag_k = FK_TEST;
   3412     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   3413 L_2E0030EE:
   3414     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   3415     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   3416     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   3417 L_2E0030F6:
   3418     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   3419     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   3420     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   3421     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   3422     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3423     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3424     _flag_k = FK_CMP;
   3425     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   3426 L_2E003103:
   3427     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3428     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3429     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   3430     _flag_k = FK_ADD;
   3431     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   3432     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3433     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3434     _flag_k = FK_CMP;
   3435     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   3436     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   3437 L_2E00310D:
   3438     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   3439     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3440     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3441     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   3442     _flag_k = FK_ADD;
   3443     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   3444     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   3445     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3446     _flag_k = FK_CMP;
   3447     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   3448 L_2E003118:
   3449     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   3450     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   3451     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   3452     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   3453     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3454     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   3455     _flag_k = FK_ADD;
   3456     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   3457     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   3458     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   3459 L_2E00312E:
   3460     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   3461     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3462     eax = eax - 1; /* 0x2E003131: dec eax */
   3463     _flag_k = FK_DEC;
   3464     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   3465     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   3466 L_2E003137:
   3467     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   3468     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   3469     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   3470     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   3471     RECOMP_FLAGS_IN();
   3472     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   3473     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   3474     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   3475     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   3476     RECOMP_FLAGS_IN();
   3477     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   3478     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   3479     PUSH32(esp, eax); /* 0x2E003154: push eax */
   3480     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   3481     RECOMP_FLAGS_IN();
   3482     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   3483     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3484     eax = 0; /* 0x2E00315D: xor eax, eax */
   3485     _cf = 0;
   3486     _flag_k = FK_TEST;
   3487     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3488     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   3489     _cf = 0;
   3490     _flag_k = FK_TEST;
   3491     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3492     edx = 0; /* 0x2E003161: xor edx, edx */
   3493     _cf = 0;
   3494     _flag_k = FK_TEST;
   3495     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   3496     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   3497     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   3498     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3499     edi = 0; /* 0x2E00316B: xor edi, edi */
   3500     _cf = 0;
   3501     _flag_k = FK_TEST;
   3502     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   3503     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   3504     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   3505     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   3506     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   3507     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   3508     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   3509     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   3510     RECOMP_FLAGS_IN();
   3511     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3512     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3513     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   3514     _flag_k = FK_ADD;
   3515     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   3516 L_2E00318A:
   3517     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   3518     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   3519     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3520     _flag_k = FK_CMP;
   3521     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   3522 L_2E00318F:
   3523     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   3524     PUSH32(esp, edx); /* 0x2E003191: push edx */
   3525     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   3526     RECOMP_FLAGS_IN();
   3527     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3528     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3529     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   3530     _flag_k = FK_ADD;
   3531     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   3532 L_2E0031A0:
   3533     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   3534     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   3535     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3536     _cf = 0;
   3537     _flag_k = FK_TEST;
   3538     RECOMP_BACKEDGE();
   3539     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   3540 L_2E0031AB:
   3541     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   3542     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   3543 L_2E0031AD:
   3544     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   3545     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   3546 L_2E011535:
   3547     ecx = MEM32(ebp + (-0x14)); /* 0x2E011535: mov ecx, dword ptr [ebp - 0x14] */
   3548     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xB0u);
   3549     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3550     ecx = ecx + 0xB0u; /* 0x2E011538: add ecx, 0xb0 */
   3551     _flag_k = FK_ADD;
   3552     RECOMP_BACKEDGE();
   3553     goto L_2E0030E0; /* 0x2E01153E: jmp 0x2e0030e0 */
   3554     { RECOMP_REGS_OUT(); return; } /* end of function */
   3555     RECOMP_REGS_OUT();
   3556 }
   3557 
   3558 void sub_2E011543(void) {
   3559     int _fpu_cmp = 0;
   3560     uint32_t _cf = 0;
   3561     int _df = 1;
   3562     uint32_t _flag_k = FK_NONE;
   3563     uint32_t _flag_a = 0, _flag_b = 0;
   3564     uint32_t _itail_tgt = 0;
   3565     RECOMP_REGS_LOCALS
   3566     RECOMP_ENTER(0x2E011543u);
   3567 
   3568     goto L_2E011543;
   3569 L_2E010EA2:
   3570     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   3571 L_2E011543:
   3572     eax = 0x2E013410u; /* 0x2E011543: mov eax, 0x2e013410 */
   3573 L_2E011548:
   3574     RECOMP_BACKEDGE();
   3575     goto L_2E010EA2; /* 0x2E011548: jmp 0x2e010ea2 */
   3576     { RECOMP_REGS_OUT(); return; } /* end of function */
   3577   _ljump:
   3578     switch (_itail_tgt) {
   3579       case 0x2E010EA2u: goto L_2E010EA2;
   3580       case 0x2E011543u: goto L_2E011543;
   3581       case 0x2E011548u: goto L_2E011548;
   3582       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3583     }
   3584     RECOMP_REGS_OUT();
   3585 }
   3586 
   3587 void sub_2E011550(void) {
   3588     int _fpu_cmp = 0;
   3589     uint32_t _cf = 0;
   3590     int _df = 1;
   3591     uint32_t _flag_k = FK_NONE;
   3592     uint32_t _flag_a = 0, _flag_b = 0;
   3593     uint32_t _itail_tgt = 0;
   3594     RECOMP_REGS_LOCALS
   3595     RECOMP_ENTER(0x2E011550u);
   3596 
   3597     goto L_2E011550;
   3598 L_2E0020D0:
   3599     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   3600 L_2E0020D3:
   3601     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   3602     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   3603     _cf = 0;
   3604     _flag_k = FK_TEST;
   3605 L_2E0020D6:
   3606     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   3607     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   3608     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3609     _flag_k = FK_CMP;
   3610 L_2E0020D8:
   3611     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   3612 L_2E0020DA:
   3613     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   3614 L_2E0020DD:
   3615     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   3616 L_2E0020DF:
   3617     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   3618 L_2E0020E5:
   3619     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   3620 L_2E011550:
   3621     ecx = ebp + (-0x1C); /* 0x2E011550: lea ecx, [ebp - 0x1c] */
   3622 L_2E011553:
   3623     RECOMP_BACKEDGE();
   3624     goto L_2E0020D0; /* 0x2E011553: jmp 0x2e0020d0 */
   3625     { RECOMP_REGS_OUT(); return; } /* end of function */
   3626   _ljump:
   3627     switch (_itail_tgt) {
   3628       case 0x2E0020D0u: goto L_2E0020D0;
   3629       case 0x2E0020D3u: goto L_2E0020D3;
   3630       case 0x2E0020D6u: goto L_2E0020D6;
   3631       case 0x2E0020D8u: goto L_2E0020D8;
   3632       case 0x2E0020DAu: goto L_2E0020DA;
   3633       case 0x2E0020DDu: goto L_2E0020DD;
   3634       case 0x2E0020DFu: goto L_2E0020DF;
   3635       case 0x2E0020E5u: goto L_2E0020E5;
   3636       case 0x2E011550u: goto L_2E011550;
   3637       case 0x2E011553u: goto L_2E011553;
   3638       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3639     }
   3640     RECOMP_REGS_OUT();
   3641 }
   3642 
   3643 void sub_2E011558(void) {
   3644     int _fpu_cmp = 0;
   3645     uint32_t _cf = 0;
   3646     int _df = 1;
   3647     uint32_t _flag_k = FK_NONE;
   3648     uint32_t _flag_a = 0, _flag_b = 0;
   3649     uint32_t _itail_tgt = 0;
   3650     RECOMP_REGS_LOCALS
   3651     RECOMP_ENTER(0x2E011558u);
   3652 
   3653     goto L_2E011558;
   3654 L_2E0020D0:
   3655     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   3656 L_2E0020D3:
   3657     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   3658     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   3659     _cf = 0;
   3660     _flag_k = FK_TEST;
   3661 L_2E0020D6:
   3662     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   3663     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   3664     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3665     _flag_k = FK_CMP;
   3666 L_2E0020D8:
   3667     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   3668 L_2E0020DA:
   3669     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   3670 L_2E0020DD:
   3671     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   3672 L_2E0020DF:
   3673     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   3674 L_2E0020E5:
   3675     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   3676 L_2E011558:
   3677     ecx = ebp + (-0x1C); /* 0x2E011558: lea ecx, [ebp - 0x1c] */
   3678 L_2E01155B:
   3679     RECOMP_BACKEDGE();
   3680     goto L_2E0020D0; /* 0x2E01155B: jmp 0x2e0020d0 */
   3681     { RECOMP_REGS_OUT(); return; } /* end of function */
   3682   _ljump:
   3683     switch (_itail_tgt) {
   3684       case 0x2E0020D0u: goto L_2E0020D0;
   3685       case 0x2E0020D3u: goto L_2E0020D3;
   3686       case 0x2E0020D6u: goto L_2E0020D6;
   3687       case 0x2E0020D8u: goto L_2E0020D8;
   3688       case 0x2E0020DAu: goto L_2E0020DA;
   3689       case 0x2E0020DDu: goto L_2E0020DD;
   3690       case 0x2E0020DFu: goto L_2E0020DF;
   3691       case 0x2E0020E5u: goto L_2E0020E5;
   3692       case 0x2E011558u: goto L_2E011558;
   3693       case 0x2E01155Bu: goto L_2E01155B;
   3694       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3695     }
   3696     RECOMP_REGS_OUT();
   3697 }
   3698 
   3699 void sub_2E011560(void) {
   3700     int _fpu_cmp = 0;
   3701     uint32_t _cf = 0;
   3702     int _df = 1;
   3703     uint32_t _flag_k = FK_NONE;
   3704     uint32_t _flag_a = 0, _flag_b = 0;
   3705     uint32_t _itail_tgt = 0;
   3706     RECOMP_REGS_LOCALS
   3707     RECOMP_ENTER(0x2E011560u);
   3708 
   3709     goto L_2E011560;
   3710 L_2E010EA2:
   3711     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   3712 L_2E011560:
   3713     eax = 0x2E013450u; /* 0x2E011560: mov eax, 0x2e013450 */
   3714 L_2E011565:
   3715     RECOMP_BACKEDGE();
   3716     goto L_2E010EA2; /* 0x2E011565: jmp 0x2e010ea2 */
   3717     { RECOMP_REGS_OUT(); return; } /* end of function */
   3718   _ljump:
   3719     switch (_itail_tgt) {
   3720       case 0x2E010EA2u: goto L_2E010EA2;
   3721       case 0x2E011560u: goto L_2E011560;
   3722       case 0x2E011565u: goto L_2E011565;
   3723       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3724     }
   3725     RECOMP_REGS_OUT();
   3726 }
   3727 
   3728 void sub_2E011570(void) {
   3729     int _fpu_cmp = 0;
   3730     uint32_t _cf = 0;
   3731     int _df = 1;
   3732     uint32_t _flag_k = FK_NONE;
   3733     uint32_t _flag_a = 0, _flag_b = 0;
   3734     uint32_t _itail_tgt = 0;
   3735     RECOMP_REGS_LOCALS
   3736     RECOMP_ENTER(0x2E011570u);
   3737 
   3738 L_2E011570:
   3739     ecx = MEM32(ebp + (-0x10)); /* 0x2E011570: mov ecx, dword ptr [ebp - 0x10] */
   3740 L_2E011573:
   3741     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   3742     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3743     ecx = ecx + 4; /* 0x2E011573: add ecx, 4 */
   3744     _flag_k = FK_ADD;
   3745 L_2E011576:
   3746     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
   3747     { RECOMP_REGS_OUT(); return; } /* end of function */
   3748   _ljump:
   3749     switch (_itail_tgt) {
   3750       case 0x2E011570u: goto L_2E011570;
   3751       case 0x2E011573u: goto L_2E011573;
   3752       case 0x2E011576u: goto L_2E011576;
   3753       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3754     }
   3755     RECOMP_REGS_OUT();
   3756 }
   3757 
   3758 void sub_2E01157C(void) {
   3759     int _fpu_cmp = 0;
   3760     uint32_t _cf = 0;
   3761     int _df = 1;
   3762     uint32_t _flag_k = FK_NONE;
   3763     uint32_t _flag_a = 0, _flag_b = 0;
   3764     uint32_t _itail_tgt = 0;
   3765     RECOMP_REGS_LOCALS
   3766     RECOMP_ENTER(0x2E01157Cu);
   3767 
   3768     goto L_2E01157C;
   3769 L_2E0030E0:
   3770     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   3771     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   3772     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   3773     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   3774     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3775     _cf = 0;
   3776     _flag_k = FK_TEST;
   3777     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   3778 L_2E0030EE:
   3779     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   3780     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   3781     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   3782 L_2E0030F6:
   3783     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   3784     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   3785     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   3786     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   3787     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3788     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3789     _flag_k = FK_CMP;
   3790     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   3791 L_2E003103:
   3792     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3793     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3794     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   3795     _flag_k = FK_ADD;
   3796     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   3797     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3798     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3799     _flag_k = FK_CMP;
   3800     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   3801     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   3802 L_2E00310D:
   3803     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   3804     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3805     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3806     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   3807     _flag_k = FK_ADD;
   3808     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   3809     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   3810     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3811     _flag_k = FK_CMP;
   3812     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   3813 L_2E003118:
   3814     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   3815     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   3816     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   3817     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   3818     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3819     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   3820     _flag_k = FK_ADD;
   3821     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   3822     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   3823     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   3824 L_2E00312E:
   3825     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   3826     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3827     eax = eax - 1; /* 0x2E003131: dec eax */
   3828     _flag_k = FK_DEC;
   3829     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   3830     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   3831 L_2E003137:
   3832     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   3833     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   3834     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   3835     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   3836     RECOMP_FLAGS_IN();
   3837     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   3838     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   3839     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   3840     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   3841     RECOMP_FLAGS_IN();
   3842     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   3843     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   3844     PUSH32(esp, eax); /* 0x2E003154: push eax */
   3845     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   3846     RECOMP_FLAGS_IN();
   3847     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   3848     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3849     eax = 0; /* 0x2E00315D: xor eax, eax */
   3850     _cf = 0;
   3851     _flag_k = FK_TEST;
   3852     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3853     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   3854     _cf = 0;
   3855     _flag_k = FK_TEST;
   3856     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3857     edx = 0; /* 0x2E003161: xor edx, edx */
   3858     _cf = 0;
   3859     _flag_k = FK_TEST;
   3860     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   3861     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   3862     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   3863     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3864     edi = 0; /* 0x2E00316B: xor edi, edi */
   3865     _cf = 0;
   3866     _flag_k = FK_TEST;
   3867     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   3868     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   3869     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   3870     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   3871     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   3872     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   3873     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   3874     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   3875     RECOMP_FLAGS_IN();
   3876     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3877     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3878     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   3879     _flag_k = FK_ADD;
   3880     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   3881 L_2E00318A:
   3882     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   3883     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   3884     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3885     _flag_k = FK_CMP;
   3886     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   3887 L_2E00318F:
   3888     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   3889     PUSH32(esp, edx); /* 0x2E003191: push edx */
   3890     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   3891     RECOMP_FLAGS_IN();
   3892     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3893     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3894     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   3895     _flag_k = FK_ADD;
   3896     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   3897 L_2E0031A0:
   3898     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   3899     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   3900     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3901     _cf = 0;
   3902     _flag_k = FK_TEST;
   3903     RECOMP_BACKEDGE();
   3904     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   3905 L_2E0031AB:
   3906     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   3907     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   3908 L_2E0031AD:
   3909     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   3910     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   3911 L_2E01157C:
   3912     ecx = MEM32(ebp + (-0x10)); /* 0x2E01157C: mov ecx, dword ptr [ebp - 0x10] */
   3913     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   3914     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3915     ecx = ecx + 0x50u; /* 0x2E01157F: add ecx, 0x50 */
   3916     _flag_k = FK_ADD;
   3917     RECOMP_BACKEDGE();
   3918     goto L_2E0030E0; /* 0x2E011582: jmp 0x2e0030e0 */
   3919     { RECOMP_REGS_OUT(); return; } /* end of function */
   3920     RECOMP_REGS_OUT();
   3921 }
   3922 
   3923 void sub_2E011587(void) {
   3924     int _fpu_cmp = 0;
   3925     uint32_t _cf = 0;
   3926     int _df = 1;
   3927     uint32_t _flag_k = FK_NONE;
   3928     uint32_t _flag_a = 0, _flag_b = 0;
   3929     uint32_t _itail_tgt = 0;
   3930     RECOMP_REGS_LOCALS
   3931     RECOMP_ENTER(0x2E011587u);
   3932 
   3933     goto L_2E011587;
   3934 L_2E0030E0:
   3935     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   3936     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   3937     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   3938     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   3939     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3940     _cf = 0;
   3941     _flag_k = FK_TEST;
   3942     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   3943 L_2E0030EE:
   3944     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   3945     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   3946     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   3947 L_2E0030F6:
   3948     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   3949     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   3950     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   3951     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   3952     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3953     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3954     _flag_k = FK_CMP;
   3955     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   3956 L_2E003103:
   3957     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3958     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3959     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   3960     _flag_k = FK_ADD;
   3961     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   3962     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3963     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3964     _flag_k = FK_CMP;
   3965     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   3966     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   3967 L_2E00310D:
   3968     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   3969     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3970     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3971     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   3972     _flag_k = FK_ADD;
   3973     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   3974     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   3975     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3976     _flag_k = FK_CMP;
   3977     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   3978 L_2E003118:
   3979     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   3980     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   3981     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   3982     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   3983     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3984     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   3985     _flag_k = FK_ADD;
   3986     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   3987     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   3988     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   3989 L_2E00312E:
   3990     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   3991     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3992     eax = eax - 1; /* 0x2E003131: dec eax */
   3993     _flag_k = FK_DEC;
   3994     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   3995     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   3996 L_2E003137:
   3997     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   3998     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   3999     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   4000     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   4001     RECOMP_FLAGS_IN();
   4002     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   4003     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   4004     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   4005     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   4006     RECOMP_FLAGS_IN();
   4007     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   4008     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   4009     PUSH32(esp, eax); /* 0x2E003154: push eax */
   4010     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   4011     RECOMP_FLAGS_IN();
   4012     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   4013     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4014     eax = 0; /* 0x2E00315D: xor eax, eax */
   4015     _cf = 0;
   4016     _flag_k = FK_TEST;
   4017     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4018     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   4019     _cf = 0;
   4020     _flag_k = FK_TEST;
   4021     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4022     edx = 0; /* 0x2E003161: xor edx, edx */
   4023     _cf = 0;
   4024     _flag_k = FK_TEST;
   4025     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   4026     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   4027     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   4028     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4029     edi = 0; /* 0x2E00316B: xor edi, edi */
   4030     _cf = 0;
   4031     _flag_k = FK_TEST;
   4032     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   4033     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   4034     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   4035     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   4036     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   4037     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   4038     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   4039     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   4040     RECOMP_FLAGS_IN();
   4041     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4042     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4043     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   4044     _flag_k = FK_ADD;
   4045     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   4046 L_2E00318A:
   4047     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   4048     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   4049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4050     _flag_k = FK_CMP;
   4051     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   4052 L_2E00318F:
   4053     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   4054     PUSH32(esp, edx); /* 0x2E003191: push edx */
   4055     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   4056     RECOMP_FLAGS_IN();
   4057     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4058     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4059     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   4060     _flag_k = FK_ADD;
   4061     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   4062 L_2E0031A0:
   4063     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   4064     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   4065     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4066     _cf = 0;
   4067     _flag_k = FK_TEST;
   4068     RECOMP_BACKEDGE();
   4069     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   4070 L_2E0031AB:
   4071     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   4072     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   4073 L_2E0031AD:
   4074     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   4075     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   4076 L_2E011587:
   4077     ecx = MEM32(ebp + (-0x10)); /* 0x2E011587: mov ecx, dword ptr [ebp - 0x10] */
   4078     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   4079     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4080     ecx = ecx + 0x80u; /* 0x2E01158A: add ecx, 0x80 */
   4081     _flag_k = FK_ADD;
   4082     RECOMP_BACKEDGE();
   4083     goto L_2E0030E0; /* 0x2E011590: jmp 0x2e0030e0 */
   4084     { RECOMP_REGS_OUT(); return; } /* end of function */
   4085     RECOMP_REGS_OUT();
   4086 }
   4087 
   4088 void sub_2E011595(void) {
   4089     int _fpu_cmp = 0;
   4090     uint32_t _cf = 0;
   4091     int _df = 1;
   4092     uint32_t _flag_k = FK_NONE;
   4093     uint32_t _flag_a = 0, _flag_b = 0;
   4094     uint32_t _itail_tgt = 0;
   4095     RECOMP_REGS_LOCALS
   4096     RECOMP_ENTER(0x2E011595u);
   4097 
   4098     goto L_2E011595;
   4099 L_2E0030E0:
   4100     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   4101     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   4102     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   4103     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   4104     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4105     _cf = 0;
   4106     _flag_k = FK_TEST;
   4107     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   4108 L_2E0030EE:
   4109     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   4110     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   4111     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   4112 L_2E0030F6:
   4113     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   4114     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   4115     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   4116     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   4117     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4118     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4119     _flag_k = FK_CMP;
   4120     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   4121 L_2E003103:
   4122     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4123     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4124     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   4125     _flag_k = FK_ADD;
   4126     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   4127     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4128     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4129     _flag_k = FK_CMP;
   4130     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   4131     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   4132 L_2E00310D:
   4133     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   4134     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4135     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4136     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   4137     _flag_k = FK_ADD;
   4138     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   4139     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   4140     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4141     _flag_k = FK_CMP;
   4142     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   4143 L_2E003118:
   4144     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   4145     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   4146     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   4147     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   4148     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4149     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   4150     _flag_k = FK_ADD;
   4151     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   4152     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   4153     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   4154 L_2E00312E:
   4155     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   4156     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4157     eax = eax - 1; /* 0x2E003131: dec eax */
   4158     _flag_k = FK_DEC;
   4159     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   4160     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   4161 L_2E003137:
   4162     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   4163     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   4164     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   4165     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   4166     RECOMP_FLAGS_IN();
   4167     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   4168     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   4169     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   4170     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   4171     RECOMP_FLAGS_IN();
   4172     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   4173     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   4174     PUSH32(esp, eax); /* 0x2E003154: push eax */
   4175     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   4176     RECOMP_FLAGS_IN();
   4177     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   4178     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4179     eax = 0; /* 0x2E00315D: xor eax, eax */
   4180     _cf = 0;
   4181     _flag_k = FK_TEST;
   4182     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4183     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   4184     _cf = 0;
   4185     _flag_k = FK_TEST;
   4186     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4187     edx = 0; /* 0x2E003161: xor edx, edx */
   4188     _cf = 0;
   4189     _flag_k = FK_TEST;
   4190     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   4191     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   4192     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   4193     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4194     edi = 0; /* 0x2E00316B: xor edi, edi */
   4195     _cf = 0;
   4196     _flag_k = FK_TEST;
   4197     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   4198     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   4199     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   4200     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   4201     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   4202     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   4203     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   4204     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   4205     RECOMP_FLAGS_IN();
   4206     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4207     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4208     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   4209     _flag_k = FK_ADD;
   4210     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   4211 L_2E00318A:
   4212     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   4213     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   4214     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4215     _flag_k = FK_CMP;
   4216     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   4217 L_2E00318F:
   4218     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   4219     PUSH32(esp, edx); /* 0x2E003191: push edx */
   4220     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   4221     RECOMP_FLAGS_IN();
   4222     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4223     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4224     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   4225     _flag_k = FK_ADD;
   4226     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   4227 L_2E0031A0:
   4228     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   4229     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   4230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4231     _cf = 0;
   4232     _flag_k = FK_TEST;
   4233     RECOMP_BACKEDGE();
   4234     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   4235 L_2E0031AB:
   4236     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   4237     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   4238 L_2E0031AD:
   4239     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   4240     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   4241 L_2E011595:
   4242     ecx = MEM32(ebp + (-0x10)); /* 0x2E011595: mov ecx, dword ptr [ebp - 0x10] */
   4243     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xB0u);
   4244     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4245     ecx = ecx + 0xB0u; /* 0x2E011598: add ecx, 0xb0 */
   4246     _flag_k = FK_ADD;
   4247     RECOMP_BACKEDGE();
   4248     goto L_2E0030E0; /* 0x2E01159E: jmp 0x2e0030e0 */
   4249     { RECOMP_REGS_OUT(); return; } /* end of function */
   4250     RECOMP_REGS_OUT();
   4251 }
   4252 
   4253 void sub_2E0115A3(void) {
   4254     int _fpu_cmp = 0;
   4255     uint32_t _cf = 0;
   4256     int _df = 1;
   4257     uint32_t _flag_k = FK_NONE;
   4258     uint32_t _flag_a = 0, _flag_b = 0;
   4259     uint32_t _itail_tgt = 0;
   4260     RECOMP_REGS_LOCALS
   4261     RECOMP_ENTER(0x2E0115A3u);
   4262 
   4263     goto L_2E0115A3;
   4264 L_2E0020D0:
   4265     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   4266 L_2E0020D3:
   4267     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   4268     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   4269     _cf = 0;
   4270     _flag_k = FK_TEST;
   4271 L_2E0020D6:
   4272     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   4273     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4274     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4275     _flag_k = FK_CMP;
   4276 L_2E0020D8:
   4277     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   4278 L_2E0020DA:
   4279     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   4280 L_2E0020DD:
   4281     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   4282 L_2E0020DF:
   4283     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   4284 L_2E0020E5:
   4285     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   4286 L_2E0115A3:
   4287     ecx = ebp + (-0x18); /* 0x2E0115A3: lea ecx, [ebp - 0x18] */
   4288 L_2E0115A6:
   4289     RECOMP_BACKEDGE();
   4290     goto L_2E0020D0; /* 0x2E0115A6: jmp 0x2e0020d0 */
   4291     { RECOMP_REGS_OUT(); return; } /* end of function */
   4292   _ljump:
   4293     switch (_itail_tgt) {
   4294       case 0x2E0020D0u: goto L_2E0020D0;
   4295       case 0x2E0020D3u: goto L_2E0020D3;
   4296       case 0x2E0020D6u: goto L_2E0020D6;
   4297       case 0x2E0020D8u: goto L_2E0020D8;
   4298       case 0x2E0020DAu: goto L_2E0020DA;
   4299       case 0x2E0020DDu: goto L_2E0020DD;
   4300       case 0x2E0020DFu: goto L_2E0020DF;
   4301       case 0x2E0020E5u: goto L_2E0020E5;
   4302       case 0x2E0115A3u: goto L_2E0115A3;
   4303       case 0x2E0115A6u: goto L_2E0115A6;
   4304       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4305     }
   4306     RECOMP_REGS_OUT();
   4307 }
   4308 
   4309 void sub_2E0115AB(void) {
   4310     int _fpu_cmp = 0;
   4311     uint32_t _cf = 0;
   4312     int _df = 1;
   4313     uint32_t _flag_k = FK_NONE;
   4314     uint32_t _flag_a = 0, _flag_b = 0;
   4315     uint32_t _itail_tgt = 0;
   4316     RECOMP_REGS_LOCALS
   4317     RECOMP_ENTER(0x2E0115ABu);
   4318 
   4319     goto L_2E0115AB;
   4320 L_2E0020D0:
   4321     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   4322 L_2E0020D3:
   4323     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   4324     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   4325     _cf = 0;
   4326     _flag_k = FK_TEST;
   4327 L_2E0020D6:
   4328     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   4329     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4331     _flag_k = FK_CMP;
   4332 L_2E0020D8:
   4333     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   4334 L_2E0020DA:
   4335     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   4336 L_2E0020DD:
   4337     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   4338 L_2E0020DF:
   4339     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   4340 L_2E0020E5:
   4341     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   4342 L_2E0115AB:
   4343     ecx = ebp + (-0x18); /* 0x2E0115AB: lea ecx, [ebp - 0x18] */
   4344 L_2E0115AE:
   4345     RECOMP_BACKEDGE();
   4346     goto L_2E0020D0; /* 0x2E0115AE: jmp 0x2e0020d0 */
   4347     { RECOMP_REGS_OUT(); return; } /* end of function */
   4348   _ljump:
   4349     switch (_itail_tgt) {
   4350       case 0x2E0020D0u: goto L_2E0020D0;
   4351       case 0x2E0020D3u: goto L_2E0020D3;
   4352       case 0x2E0020D6u: goto L_2E0020D6;
   4353       case 0x2E0020D8u: goto L_2E0020D8;
   4354       case 0x2E0020DAu: goto L_2E0020DA;
   4355       case 0x2E0020DDu: goto L_2E0020DD;
   4356       case 0x2E0020DFu: goto L_2E0020DF;
   4357       case 0x2E0020E5u: goto L_2E0020E5;
   4358       case 0x2E0115ABu: goto L_2E0115AB;
   4359       case 0x2E0115AEu: goto L_2E0115AE;
   4360       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4361     }
   4362     RECOMP_REGS_OUT();
   4363 }
   4364 
   4365 void sub_2E0115B3(void) {
   4366     int _fpu_cmp = 0;
   4367     uint32_t _cf = 0;
   4368     int _df = 1;
   4369     uint32_t _flag_k = FK_NONE;
   4370     uint32_t _flag_a = 0, _flag_b = 0;
   4371     uint32_t _itail_tgt = 0;
   4372     RECOMP_REGS_LOCALS
   4373     RECOMP_ENTER(0x2E0115B3u);
   4374 
   4375     goto L_2E0115B3;
   4376 L_2E010EA2:
   4377     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   4378 L_2E0115B3:
   4379     eax = 0x2E013480u; /* 0x2E0115B3: mov eax, 0x2e013480 */
   4380 L_2E0115B8:
   4381     RECOMP_BACKEDGE();
   4382     goto L_2E010EA2; /* 0x2E0115B8: jmp 0x2e010ea2 */
   4383     { RECOMP_REGS_OUT(); return; } /* end of function */
   4384   _ljump:
   4385     switch (_itail_tgt) {
   4386       case 0x2E010EA2u: goto L_2E010EA2;
   4387       case 0x2E0115B3u: goto L_2E0115B3;
   4388       case 0x2E0115B8u: goto L_2E0115B8;
   4389       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4390     }
   4391     RECOMP_REGS_OUT();
   4392 }
   4393 
   4394 void sub_2E0115C0(void) {
   4395     int _fpu_cmp = 0;
   4396     uint32_t _cf = 0;
   4397     int _df = 1;
   4398     uint32_t _flag_k = FK_NONE;
   4399     uint32_t _flag_a = 0, _flag_b = 0;
   4400     uint32_t _itail_tgt = 0;
   4401     RECOMP_REGS_LOCALS
   4402     RECOMP_ENTER(0x2E0115C0u);
   4403 
   4404 L_2E0115C0:
   4405     ecx = MEM32(ebp + (-0x18)); /* 0x2E0115C0: mov ecx, dword ptr [ebp - 0x18] */
   4406 L_2E0115C3:
   4407     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   4408     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4409     ecx = ecx + 4; /* 0x2E0115C3: add ecx, 4 */
   4410     _flag_k = FK_ADD;
   4411 L_2E0115C6:
   4412     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
   4413     { RECOMP_REGS_OUT(); return; } /* end of function */
   4414   _ljump:
   4415     switch (_itail_tgt) {
   4416       case 0x2E0115C0u: goto L_2E0115C0;
   4417       case 0x2E0115C3u: goto L_2E0115C3;
   4418       case 0x2E0115C6u: goto L_2E0115C6;
   4419       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4420     }
   4421     RECOMP_REGS_OUT();
   4422 }
   4423 
   4424 void sub_2E0115CC(void) {
   4425     int _fpu_cmp = 0;
   4426     uint32_t _cf = 0;
   4427     int _df = 1;
   4428     uint32_t _flag_k = FK_NONE;
   4429     uint32_t _flag_a = 0, _flag_b = 0;
   4430     uint32_t _itail_tgt = 0;
   4431     RECOMP_REGS_LOCALS
   4432     RECOMP_ENTER(0x2E0115CCu);
   4433 
   4434     goto L_2E0115CC;
   4435 L_2E0030E0:
   4436     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   4437     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   4438     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   4439     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   4440     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4441     _cf = 0;
   4442     _flag_k = FK_TEST;
   4443     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   4444 L_2E0030EE:
   4445     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   4446     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   4447     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   4448 L_2E0030F6:
   4449     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   4450     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   4451     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   4452     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   4453     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4454     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4455     _flag_k = FK_CMP;
   4456     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   4457 L_2E003103:
   4458     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4459     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4460     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   4461     _flag_k = FK_ADD;
   4462     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   4463     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4464     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4465     _flag_k = FK_CMP;
   4466     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   4467     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   4468 L_2E00310D:
   4469     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   4470     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4471     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4472     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   4473     _flag_k = FK_ADD;
   4474     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   4475     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   4476     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4477     _flag_k = FK_CMP;
   4478     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   4479 L_2E003118:
   4480     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   4481     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   4482     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   4483     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   4484     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4485     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   4486     _flag_k = FK_ADD;
   4487     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   4488     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   4489     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   4490 L_2E00312E:
   4491     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   4492     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4493     eax = eax - 1; /* 0x2E003131: dec eax */
   4494     _flag_k = FK_DEC;
   4495     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   4496     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   4497 L_2E003137:
   4498     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   4499     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   4500     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   4501     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   4502     RECOMP_FLAGS_IN();
   4503     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   4504     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   4505     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   4506     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   4507     RECOMP_FLAGS_IN();
   4508     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   4509     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   4510     PUSH32(esp, eax); /* 0x2E003154: push eax */
   4511     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   4512     RECOMP_FLAGS_IN();
   4513     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   4514     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4515     eax = 0; /* 0x2E00315D: xor eax, eax */
   4516     _cf = 0;
   4517     _flag_k = FK_TEST;
   4518     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4519     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   4520     _cf = 0;
   4521     _flag_k = FK_TEST;
   4522     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4523     edx = 0; /* 0x2E003161: xor edx, edx */
   4524     _cf = 0;
   4525     _flag_k = FK_TEST;
   4526     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   4527     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   4528     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   4529     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4530     edi = 0; /* 0x2E00316B: xor edi, edi */
   4531     _cf = 0;
   4532     _flag_k = FK_TEST;
   4533     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   4534     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   4535     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   4536     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   4537     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   4538     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   4539     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   4540     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   4541     RECOMP_FLAGS_IN();
   4542     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4543     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4544     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   4545     _flag_k = FK_ADD;
   4546     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   4547 L_2E00318A:
   4548     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   4549     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   4550     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4551     _flag_k = FK_CMP;
   4552     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   4553 L_2E00318F:
   4554     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   4555     PUSH32(esp, edx); /* 0x2E003191: push edx */
   4556     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   4557     RECOMP_FLAGS_IN();
   4558     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4559     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4560     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   4561     _flag_k = FK_ADD;
   4562     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   4563 L_2E0031A0:
   4564     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   4565     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   4566     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4567     _cf = 0;
   4568     _flag_k = FK_TEST;
   4569     RECOMP_BACKEDGE();
   4570     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   4571 L_2E0031AB:
   4572     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   4573     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   4574 L_2E0031AD:
   4575     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   4576     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   4577 L_2E0115CC:
   4578     ecx = MEM32(ebp + (-0x18)); /* 0x2E0115CC: mov ecx, dword ptr [ebp - 0x18] */
   4579     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   4580     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4581     ecx = ecx + 0x50u; /* 0x2E0115CF: add ecx, 0x50 */
   4582     _flag_k = FK_ADD;
   4583     RECOMP_BACKEDGE();
   4584     goto L_2E0030E0; /* 0x2E0115D2: jmp 0x2e0030e0 */
   4585     { RECOMP_REGS_OUT(); return; } /* end of function */
   4586     RECOMP_REGS_OUT();
   4587 }
   4588 
   4589 void sub_2E0115D7(void) {
   4590     int _fpu_cmp = 0;
   4591     uint32_t _cf = 0;
   4592     int _df = 1;
   4593     uint32_t _flag_k = FK_NONE;
   4594     uint32_t _flag_a = 0, _flag_b = 0;
   4595     uint32_t _itail_tgt = 0;
   4596     RECOMP_REGS_LOCALS
   4597     RECOMP_ENTER(0x2E0115D7u);
   4598 
   4599     goto L_2E0115D7;
   4600 L_2E0030E0:
   4601     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   4602     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   4603     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   4604     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   4605     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4606     _cf = 0;
   4607     _flag_k = FK_TEST;
   4608     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   4609 L_2E0030EE:
   4610     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   4611     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   4612     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   4613 L_2E0030F6:
   4614     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   4615     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   4616     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   4617     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   4618     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4620     _flag_k = FK_CMP;
   4621     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   4622 L_2E003103:
   4623     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4624     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4625     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   4626     _flag_k = FK_ADD;
   4627     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   4628     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4629     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4630     _flag_k = FK_CMP;
   4631     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   4632     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   4633 L_2E00310D:
   4634     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   4635     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4636     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4637     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   4638     _flag_k = FK_ADD;
   4639     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   4640     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   4641     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4642     _flag_k = FK_CMP;
   4643     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   4644 L_2E003118:
   4645     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   4646     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   4647     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   4648     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   4649     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4650     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   4651     _flag_k = FK_ADD;
   4652     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   4653     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   4654     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   4655 L_2E00312E:
   4656     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   4657     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4658     eax = eax - 1; /* 0x2E003131: dec eax */
   4659     _flag_k = FK_DEC;
   4660     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   4661     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   4662 L_2E003137:
   4663     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   4664     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   4665     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   4666     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   4667     RECOMP_FLAGS_IN();
   4668     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   4669     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   4670     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   4671     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   4672     RECOMP_FLAGS_IN();
   4673     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   4674     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   4675     PUSH32(esp, eax); /* 0x2E003154: push eax */
   4676     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   4677     RECOMP_FLAGS_IN();
   4678     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   4679     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4680     eax = 0; /* 0x2E00315D: xor eax, eax */
   4681     _cf = 0;
   4682     _flag_k = FK_TEST;
   4683     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4684     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   4685     _cf = 0;
   4686     _flag_k = FK_TEST;
   4687     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4688     edx = 0; /* 0x2E003161: xor edx, edx */
   4689     _cf = 0;
   4690     _flag_k = FK_TEST;
   4691     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   4692     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   4693     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   4694     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4695     edi = 0; /* 0x2E00316B: xor edi, edi */
   4696     _cf = 0;
   4697     _flag_k = FK_TEST;
   4698     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   4699     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   4700     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   4701     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   4702     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   4703     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   4704     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   4705     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   4706     RECOMP_FLAGS_IN();
   4707     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4708     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4709     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   4710     _flag_k = FK_ADD;
   4711     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   4712 L_2E00318A:
   4713     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   4714     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   4715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4716     _flag_k = FK_CMP;
   4717     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   4718 L_2E00318F:
   4719     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   4720     PUSH32(esp, edx); /* 0x2E003191: push edx */
   4721     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   4722     RECOMP_FLAGS_IN();
   4723     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4724     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4725     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   4726     _flag_k = FK_ADD;
   4727     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   4728 L_2E0031A0:
   4729     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   4730     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   4731     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4732     _cf = 0;
   4733     _flag_k = FK_TEST;
   4734     RECOMP_BACKEDGE();
   4735     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   4736 L_2E0031AB:
   4737     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   4738     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   4739 L_2E0031AD:
   4740     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   4741     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   4742 L_2E0115D7:
   4743     ecx = MEM32(ebp + (-0x18)); /* 0x2E0115D7: mov ecx, dword ptr [ebp - 0x18] */
   4744     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   4745     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4746     ecx = ecx + 0x80u; /* 0x2E0115DA: add ecx, 0x80 */
   4747     _flag_k = FK_ADD;
   4748     RECOMP_BACKEDGE();
   4749     goto L_2E0030E0; /* 0x2E0115E0: jmp 0x2e0030e0 */
   4750     { RECOMP_REGS_OUT(); return; } /* end of function */
   4751     RECOMP_REGS_OUT();
   4752 }
   4753 
   4754 void sub_2E0115E5(void) {
   4755     int _fpu_cmp = 0;
   4756     uint32_t _cf = 0;
   4757     int _df = 1;
   4758     uint32_t _flag_k = FK_NONE;
   4759     uint32_t _flag_a = 0, _flag_b = 0;
   4760     uint32_t _itail_tgt = 0;
   4761     RECOMP_REGS_LOCALS
   4762     RECOMP_ENTER(0x2E0115E5u);
   4763 
   4764     goto L_2E0115E5;
   4765 L_2E0030E0:
   4766     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   4767     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   4768     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   4769     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   4770     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4771     _cf = 0;
   4772     _flag_k = FK_TEST;
   4773     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   4774 L_2E0030EE:
   4775     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   4776     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   4777     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   4778 L_2E0030F6:
   4779     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   4780     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   4781     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   4782     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   4783     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4784     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4785     _flag_k = FK_CMP;
   4786     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   4787 L_2E003103:
   4788     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4789     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4790     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   4791     _flag_k = FK_ADD;
   4792     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   4793     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4795     _flag_k = FK_CMP;
   4796     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   4797     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   4798 L_2E00310D:
   4799     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   4800     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4801     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4802     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   4803     _flag_k = FK_ADD;
   4804     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   4805     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   4806     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4807     _flag_k = FK_CMP;
   4808     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   4809 L_2E003118:
   4810     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   4811     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   4812     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   4813     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   4814     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4815     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   4816     _flag_k = FK_ADD;
   4817     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   4818     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   4819     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   4820 L_2E00312E:
   4821     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   4822     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4823     eax = eax - 1; /* 0x2E003131: dec eax */
   4824     _flag_k = FK_DEC;
   4825     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   4826     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   4827 L_2E003137:
   4828     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   4829     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   4830     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   4831     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   4832     RECOMP_FLAGS_IN();
   4833     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   4834     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   4835     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   4836     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   4837     RECOMP_FLAGS_IN();
   4838     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   4839     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   4840     PUSH32(esp, eax); /* 0x2E003154: push eax */
   4841     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   4842     RECOMP_FLAGS_IN();
   4843     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   4844     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4845     eax = 0; /* 0x2E00315D: xor eax, eax */
   4846     _cf = 0;
   4847     _flag_k = FK_TEST;
   4848     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4849     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   4850     _cf = 0;
   4851     _flag_k = FK_TEST;
   4852     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4853     edx = 0; /* 0x2E003161: xor edx, edx */
   4854     _cf = 0;
   4855     _flag_k = FK_TEST;
   4856     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   4857     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   4858     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   4859     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4860     edi = 0; /* 0x2E00316B: xor edi, edi */
   4861     _cf = 0;
   4862     _flag_k = FK_TEST;
   4863     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   4864     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   4865     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   4866     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   4867     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   4868     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   4869     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   4870     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   4871     RECOMP_FLAGS_IN();
   4872     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4873     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4874     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   4875     _flag_k = FK_ADD;
   4876     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   4877 L_2E00318A:
   4878     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   4879     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   4880     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4881     _flag_k = FK_CMP;
   4882     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   4883 L_2E00318F:
   4884     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   4885     PUSH32(esp, edx); /* 0x2E003191: push edx */
   4886     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   4887     RECOMP_FLAGS_IN();
   4888     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4889     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4890     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   4891     _flag_k = FK_ADD;
   4892     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   4893 L_2E0031A0:
   4894     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   4895     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   4896     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4897     _cf = 0;
   4898     _flag_k = FK_TEST;
   4899     RECOMP_BACKEDGE();
   4900     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   4901 L_2E0031AB:
   4902     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   4903     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   4904 L_2E0031AD:
   4905     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   4906     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   4907 L_2E0115E5:
   4908     ecx = MEM32(ebp + (-0x18)); /* 0x2E0115E5: mov ecx, dword ptr [ebp - 0x18] */
   4909     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xB0u);
   4910     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4911     ecx = ecx + 0xB0u; /* 0x2E0115E8: add ecx, 0xb0 */
   4912     _flag_k = FK_ADD;
   4913     RECOMP_BACKEDGE();
   4914     goto L_2E0030E0; /* 0x2E0115EE: jmp 0x2e0030e0 */
   4915     { RECOMP_REGS_OUT(); return; } /* end of function */
   4916     RECOMP_REGS_OUT();
   4917 }
   4918 
   4919 void sub_2E0115F3(void) {
   4920     int _fpu_cmp = 0;
   4921     uint32_t _cf = 0;
   4922     int _df = 1;
   4923     uint32_t _flag_k = FK_NONE;
   4924     uint32_t _flag_a = 0, _flag_b = 0;
   4925     uint32_t _itail_tgt = 0;
   4926     RECOMP_REGS_LOCALS
   4927     RECOMP_ENTER(0x2E0115F3u);
   4928 
   4929     goto L_2E0115F3;
   4930 L_2E0037D0:
   4931     PUSH32(esp, ebp); /* 0x2E0037D0: push ebp */
   4932     ebp = esp; /* 0x2E0037D1: mov ebp, esp */
   4933     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0037D3: push -1 */
   4934     PUSH32(esp, 0x2E011543u); /* 0x2E0037D5: push 0x2e011543 */
   4935     eax = MEM32(FS_BASE + (0)); /* 0x2E0037DA: mov eax, dword ptr fs:[0] */
   4936     PUSH32(esp, eax); /* 0x2E0037E0: push eax */
   4937     MEM32(FS_BASE + (0)) = esp; /* 0x2E0037E1: mov dword ptr fs:[0], esp */
   4938     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
   4939     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4940     esp = esp - 0x18u; /* 0x2E0037E8: sub esp, 0x18 */
   4941     _flag_k = FK_CMP;
   4942     PUSH32(esp, ebx); /* 0x2E0037EB: push ebx */
   4943     PUSH32(esp, esi); /* 0x2E0037EC: push esi */
   4944     PUSH32(esp, edi); /* 0x2E0037ED: push edi */
   4945     edi = ecx; /* 0x2E0037EE: mov edi, ecx */
   4946     MEM32(ebp + (-0x14)) = edi; /* 0x2E0037F0: mov dword ptr [ebp - 0x14], edi */
   4947     MEM32(edi) = 0x2E012264u; /* 0x2E0037F3: mov dword ptr [edi], 0x2e012264 */
   4948     ebx = edi + 0x50; /* 0x2E0037F9: lea ebx, [edi + 0x50] */
   4949     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4950     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4951     esp = esp - 0x10u; /* 0x2E0037FC: sub esp, 0x10 */
   4952     _flag_k = FK_CMP;
   4953     ecx = esp; /* 0x2E0037FF: mov ecx, esp */
   4954     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4955     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4956     esp = esp - 0x10u; /* 0x2E003801: sub esp, 0x10 */
   4957     _flag_k = FK_CMP;
   4958     eax = ebx + 0x14; /* 0x2E003804: lea eax, [ebx + 0x14] */
   4959     MEM32(ebp + (-0x4)) = 3; /* 0x2E003807: mov dword ptr [ebp - 4], 3 */
   4960     edx = MEM32(eax); /* 0x2E00380E: mov edx, dword ptr [eax] */
   4961     MEM32(ecx) = edx; /* 0x2E003810: mov dword ptr [ecx], edx */
   4962     edx = MEM32(eax + 0x4); /* 0x2E003812: mov edx, dword ptr [eax + 4] */
   4963     MEM32(ecx + 0x4) = edx; /* 0x2E003815: mov dword ptr [ecx + 4], edx */
   4964     edx = MEM32(eax + 0x8); /* 0x2E003818: mov edx, dword ptr [eax + 8] */
   4965     MEM32(ecx + 0x8) = edx; /* 0x2E00381B: mov dword ptr [ecx + 8], edx */
   4966     edx = esp; /* 0x2E00381E: mov edx, esp */
   4967     eax = MEM32(eax + 0xC); /* 0x2E003820: mov eax, dword ptr [eax + 0xc] */
   4968     MEM32(ecx + 0xC) = eax; /* 0x2E003823: mov dword ptr [ecx + 0xc], eax */
   4969     ecx = ebx + 0x4; /* 0x2E003826: lea ecx, [ebx + 4] */
   4970     eax = MEM32(ebx + 0x4); /* 0x2E003829: mov eax, dword ptr [ebx + 4] */
   4971     MEM32(edx) = eax; /* 0x2E00382C: mov dword ptr [edx], eax */
   4972     eax = MEM32(ecx + 0x4); /* 0x2E00382E: mov eax, dword ptr [ecx + 4] */
   4973     MEM32(edx + 0x4) = eax; /* 0x2E003831: mov dword ptr [edx + 4], eax */
   4974     eax = MEM32(ecx + 0x8); /* 0x2E003834: mov eax, dword ptr [ecx + 8] */
   4975     MEM32(edx + 0x8) = eax; /* 0x2E003837: mov dword ptr [edx + 8], eax */
   4976     ecx = MEM32(ecx + 0xC); /* 0x2E00383A: mov ecx, dword ptr [ecx + 0xc] */
   4977     MEM32(edx + 0xC) = ecx; /* 0x2E00383D: mov dword ptr [edx + 0xc], ecx */
   4978     edx = ebp + (-0x24); /* 0x2E003840: lea edx, [ebp - 0x24] */
   4979     PUSH32(esp, edx); /* 0x2E003843: push edx */
   4980     ecx = ebx; /* 0x2E003844: mov ecx, ebx */
   4981     RECOMP_ICALL(0x2E003B30u); /* 0x2E003846: call 0x2e003b30 */ /* not lifted */
   4982     RECOMP_FLAGS_IN();
   4983     esi = edi + 0x80; /* 0x2E00384B: lea esi, [edi + 0x80] */
   4984     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4985     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4986     esp = esp - 0x10u; /* 0x2E003851: sub esp, 0x10 */
   4987     _flag_k = FK_CMP;
   4988     ecx = esp; /* 0x2E003854: mov ecx, esp */
   4989     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4990     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4991     esp = esp - 0x10u; /* 0x2E003856: sub esp, 0x10 */
   4992     _flag_k = FK_CMP;
   4993     eax = esi + 0x14; /* 0x2E003859: lea eax, [esi + 0x14] */
   4994     edx = MEM32(esi + 0x14); /* 0x2E00385C: mov edx, dword ptr [esi + 0x14] */
   4995     MEM32(ecx) = edx; /* 0x2E00385F: mov dword ptr [ecx], edx */
   4996     edx = MEM32(eax + 0x4); /* 0x2E003861: mov edx, dword ptr [eax + 4] */
   4997     MEM32(ecx + 0x4) = edx; /* 0x2E003864: mov dword ptr [ecx + 4], edx */
   4998     edx = MEM32(eax + 0x8); /* 0x2E003867: mov edx, dword ptr [eax + 8] */
   4999     MEM32(ecx + 0x8) = edx; /* 0x2E00386A: mov dword ptr [ecx + 8], edx */
   5000     edx = esp; /* 0x2E00386D: mov edx, esp */
   5001     eax = MEM32(eax + 0xC); /* 0x2E00386F: mov eax, dword ptr [eax + 0xc] */
   5002     MEM32(ecx + 0xC) = eax; /* 0x2E003872: mov dword ptr [ecx + 0xc], eax */
   5003     ecx = esi + 0x4; /* 0x2E003875: lea ecx, [esi + 4] */
   5004     eax = MEM32(esi + 0x4); /* 0x2E003878: mov eax, dword ptr [esi + 4] */
   5005     MEM32(edx) = eax; /* 0x2E00387B: mov dword ptr [edx], eax */
   5006     eax = MEM32(ecx + 0x4); /* 0x2E00387D: mov eax, dword ptr [ecx + 4] */
   5007     MEM32(edx + 0x4) = eax; /* 0x2E003880: mov dword ptr [edx + 4], eax */
   5008     eax = MEM32(ecx + 0x8); /* 0x2E003883: mov eax, dword ptr [ecx + 8] */
   5009     MEM32(edx + 0x8) = eax; /* 0x2E003886: mov dword ptr [edx + 8], eax */
   5010     ecx = MEM32(ecx + 0xC); /* 0x2E003889: mov ecx, dword ptr [ecx + 0xc] */
   5011     MEM32(edx + 0xC) = ecx; /* 0x2E00388C: mov dword ptr [edx + 0xc], ecx */
   5012     edx = ebp + (-0x24); /* 0x2E00388F: lea edx, [ebp - 0x24] */
   5013     PUSH32(esp, edx); /* 0x2E003892: push edx */
   5014     ecx = esi; /* 0x2E003893: mov ecx, esi */
   5015     RECOMP_ICALL(0x2E003B30u); /* 0x2E003895: call 0x2e003b30 */ /* not lifted */
   5016     RECOMP_FLAGS_IN();
   5017     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xB0u);
   5018     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5019     edi = edi + 0xB0u; /* 0x2E00389A: add edi, 0xb0 */
   5020     _flag_k = FK_ADD;
   5021     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5022     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5023     esp = esp - 0x10u; /* 0x2E0038A0: sub esp, 0x10 */
   5024     _flag_k = FK_CMP;
   5025     ecx = esp; /* 0x2E0038A3: mov ecx, esp */
   5026     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5027     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5028     esp = esp - 0x10u; /* 0x2E0038A5: sub esp, 0x10 */
   5029     _flag_k = FK_CMP;
   5030     eax = edi + 0x14; /* 0x2E0038A8: lea eax, [edi + 0x14] */
   5031     edx = MEM32(edi + 0x14); /* 0x2E0038AB: mov edx, dword ptr [edi + 0x14] */
   5032     MEM32(ecx) = edx; /* 0x2E0038AE: mov dword ptr [ecx], edx */
   5033     edx = MEM32(eax + 0x4); /* 0x2E0038B0: mov edx, dword ptr [eax + 4] */
   5034     MEM32(ecx + 0x4) = edx; /* 0x2E0038B3: mov dword ptr [ecx + 4], edx */
   5035     edx = MEM32(eax + 0x8); /* 0x2E0038B6: mov edx, dword ptr [eax + 8] */
   5036     MEM32(ecx + 0x8) = edx; /* 0x2E0038B9: mov dword ptr [ecx + 8], edx */
   5037     edx = esp; /* 0x2E0038BC: mov edx, esp */
   5038     eax = MEM32(eax + 0xC); /* 0x2E0038BE: mov eax, dword ptr [eax + 0xc] */
   5039     MEM32(ecx + 0xC) = eax; /* 0x2E0038C1: mov dword ptr [ecx + 0xc], eax */
   5040     ecx = edi + 0x4; /* 0x2E0038C4: lea ecx, [edi + 4] */
   5041     eax = MEM32(edi + 0x4); /* 0x2E0038C7: mov eax, dword ptr [edi + 4] */
   5042     MEM32(edx) = eax; /* 0x2E0038CA: mov dword ptr [edx], eax */
   5043     eax = MEM32(ecx + 0x4); /* 0x2E0038CC: mov eax, dword ptr [ecx + 4] */
   5044     MEM32(edx + 0x4) = eax; /* 0x2E0038CF: mov dword ptr [edx + 4], eax */
   5045     eax = MEM32(ecx + 0x8); /* 0x2E0038D2: mov eax, dword ptr [ecx + 8] */
   5046     ecx = MEM32(ecx + 0xC); /* 0x2E0038D5: mov ecx, dword ptr [ecx + 0xc] */
   5047     MEM32(edx + 0x8) = eax; /* 0x2E0038D8: mov dword ptr [edx + 8], eax */
   5048     MEM32(edx + 0xC) = ecx; /* 0x2E0038DB: mov dword ptr [edx + 0xc], ecx */
   5049     edx = ebp + (-0x24); /* 0x2E0038DE: lea edx, [ebp - 0x24] */
   5050     PUSH32(esp, edx); /* 0x2E0038E1: push edx */
   5051     ecx = edi; /* 0x2E0038E2: mov ecx, edi */
   5052     RECOMP_ICALL(0x2E003B30u); /* 0x2E0038E4: call 0x2e003b30 */ /* not lifted */
   5053     RECOMP_FLAGS_IN();
   5054     eax = MEM32(edi + 0x2C); /* 0x2E0038E9: mov eax, dword ptr [edi + 0x2c] */
   5055     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E0038EC: mov byte ptr [ebp - 4], 2 */
   5056     /* test eax, eax */ /* 0x2E0038F0: test eax, eax */
   5057     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5058     _cf = 0;
   5059     _flag_k = FK_TEST;
   5060     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00393D; /* 0x2E0038F2: je 0x2e00393d */
   5061 L_2E0038F4:
   5062     eax = MEM32(edi + 0x10); /* 0x2E0038F4: mov eax, dword ptr [edi + 0x10] */
   5063     ecx = edi + 0x4; /* 0x2E0038F7: lea ecx, [edi + 4] */
   5064     MEM32(ebp + (-0x10)) = eax; /* 0x2E0038FA: mov dword ptr [ebp - 0x10], eax */
   5065     RECOMP_ICALL(0x2E003A80u); /* 0x2E0038FD: call 0x2e003a80 */ /* not lifted */
   5066     RECOMP_FLAGS_IN();
   5067     ecx = MEM32(edi + 0x2C); /* 0x2E003902: mov ecx, dword ptr [edi + 0x2c] */
   5068     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5069     ecx = ecx - 1; /* 0x2E003905: dec ecx */
   5070     _flag_k = FK_DEC;
   5071     eax = ecx; /* 0x2E003906: mov eax, ecx */
   5072     MEM32(edi + 0x2C) = ecx; /* 0x2E003908: mov dword ptr [edi + 0x2c], ecx */
   5073     /* test eax, eax */ /* 0x2E00390B: test eax, eax */
   5074     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5075     _cf = 0;
   5076     _flag_k = FK_TEST;
   5077     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003918; /* 0x2E00390D: jne 0x2e003918 */
   5078 L_2E00390F:
   5079     ecx = edi; /* 0x2E00390F: mov ecx, edi */
   5080     RECOMP_ICALL(0x2E003A20u); /* 0x2E003911: call 0x2e003a20 */ /* not lifted */
   5081     RECOMP_FLAGS_IN();
   5082     goto L_2E003936; /* 0x2E003916: jmp 0x2e003936 */
   5083 L_2E003918:
   5084     eax = MEM32(ebp + (-0x10)); /* 0x2E003918: mov eax, dword ptr [ebp - 0x10] */
   5085     ecx = MEM32(edi + 0x10); /* 0x2E00391B: mov ecx, dword ptr [edi + 0x10] */
   5086     /* cmp eax, ecx */ /* 0x2E00391E: cmp eax, ecx */
   5087     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5088     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5089     _flag_k = FK_CMP;
   5090     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003936; /* 0x2E003920: je 0x2e003936 */
   5091 L_2E003922:
   5092     eax = MEM32(eax); /* 0x2E003922: mov eax, dword ptr [eax] */
   5093     PUSH32(esp, eax); /* 0x2E003924: push eax */
   5094     RECOMP_ICALL(0x2E010E90u); /* 0x2E003925: call 0x2e010e90 */ /* not lifted */
   5095     RECOMP_FLAGS_IN();
   5096     ecx = MEM32(ebp + (-0x10)); /* 0x2E00392A: mov ecx, dword ptr [ebp - 0x10] */
   5097     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5098     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5099     esp = esp + 4; /* 0x2E00392D: add esp, 4 */
   5100     _flag_k = FK_ADD;
   5101     MEM32(ecx) = 0; /* 0x2E003930: mov dword ptr [ecx], 0 */
   5102 L_2E003936:
   5103     eax = MEM32(edi + 0x2C); /* 0x2E003936: mov eax, dword ptr [edi + 0x2c] */
   5104     /* test eax, eax */ /* 0x2E003939: test eax, eax */
   5105     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5106     _cf = 0;
   5107     _flag_k = FK_TEST;
   5108     RECOMP_BACKEDGE();
   5109     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0038F4; /* 0x2E00393B: jne 0x2e0038f4 */
   5110 L_2E00393D:
   5111     eax = MEM32(esi + 0x2C); /* 0x2E00393D: mov eax, dword ptr [esi + 0x2c] */
   5112     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E003940: mov byte ptr [ebp - 4], 1 */
   5113     /* test eax, eax */ /* 0x2E003944: test eax, eax */
   5114     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5115     _cf = 0;
   5116     _flag_k = FK_TEST;
   5117     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039B3; /* 0x2E003946: je 0x2e0039b3 */
   5118 L_2E003948:
   5119     eax = MEM32(esi + 0xC); /* 0x2E003948: mov eax, dword ptr [esi + 0xc] */
   5120     ecx = MEM32(esi + 0x8); /* 0x2E00394B: mov ecx, dword ptr [esi + 8] */
   5121     edi = MEM32(esi + 0x10); /* 0x2E00394E: mov edi, dword ptr [esi + 0x10] */
   5122     /* cmp eax, ecx */ /* 0x2E003951: cmp eax, ecx */
   5123     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5124     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5125     _flag_k = FK_CMP;
   5126     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003953: je 0x2e003980 */
   5127 L_2E003955:
   5128     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5129     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5130     eax = eax + 4; /* 0x2E003955: add eax, 4 */
   5131     _flag_k = FK_ADD;
   5132     /* cmp eax, ecx */ /* 0x2E003958: cmp eax, ecx */
   5133     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5134     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5135     _flag_k = FK_CMP;
   5136     MEM32(esi + 0xC) = eax; /* 0x2E00395A: mov dword ptr [esi + 0xc], eax */
   5137     if (CMP_NE(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E00395D: jne 0x2e003980 */
   5138 L_2E00395F:
   5139     eax = MEM32(esi + 0x10); /* 0x2E00395F: mov eax, dword ptr [esi + 0x10] */
   5140     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5141     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5142     eax = eax + 4; /* 0x2E003962: add eax, 4 */
   5143     _flag_k = FK_ADD;
   5144     /* cmp MEM32(eax), 0 */ /* 0x2E003965: cmp dword ptr [eax], 0 */
   5145     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   5146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5147     _flag_k = FK_CMP;
   5148     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003968: je 0x2e003980 */
   5149 L_2E00396A:
   5150     MEM32(esi + 0x10) = eax; /* 0x2E00396A: mov dword ptr [esi + 0x10], eax */
   5151     eax = MEM32(eax); /* 0x2E00396D: mov eax, dword ptr [eax] */
   5152     MEM32(esi + 0x4) = eax; /* 0x2E00396F: mov dword ptr [esi + 4], eax */
   5153     edx = MEM32(esi + 0x4); /* 0x2E003972: mov edx, dword ptr [esi + 4] */
   5154     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   5155     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5156     eax = eax + 0x1000u; /* 0x2E003975: add eax, 0x1000 */
   5157     _flag_k = FK_ADD;
   5158     MEM32(esi + 0xC) = edx; /* 0x2E00397A: mov dword ptr [esi + 0xc], edx */
   5159     MEM32(esi + 0x8) = eax; /* 0x2E00397D: mov dword ptr [esi + 8], eax */
   5160 L_2E003980:
   5161     ecx = MEM32(esi + 0x2C); /* 0x2E003980: mov ecx, dword ptr [esi + 0x2c] */
   5162     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5163     ecx = ecx - 1; /* 0x2E003983: dec ecx */
   5164     _flag_k = FK_DEC;
   5165     eax = ecx; /* 0x2E003984: mov eax, ecx */
   5166     MEM32(esi + 0x2C) = ecx; /* 0x2E003986: mov dword ptr [esi + 0x2c], ecx */
   5167     /* test eax, eax */ /* 0x2E003989: test eax, eax */
   5168     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5169     _cf = 0;
   5170     _flag_k = FK_TEST;
   5171     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003996; /* 0x2E00398B: jne 0x2e003996 */
   5172 L_2E00398D:
   5173     ecx = esi; /* 0x2E00398D: mov ecx, esi */
   5174     RECOMP_ICALL(0x2E003A20u); /* 0x2E00398F: call 0x2e003a20 */ /* not lifted */
   5175     RECOMP_FLAGS_IN();
   5176     goto L_2E0039AC; /* 0x2E003994: jmp 0x2e0039ac */
   5177 L_2E003996:
   5178     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E003996: cmp edi, dword ptr [esi + 0x10] */
   5179     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   5180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5181     _flag_k = FK_CMP;
   5182     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039AC; /* 0x2E003999: je 0x2e0039ac */
   5183 L_2E00399B:
   5184     eax = MEM32(edi); /* 0x2E00399B: mov eax, dword ptr [edi] */
   5185     PUSH32(esp, eax); /* 0x2E00399D: push eax */
   5186     RECOMP_ICALL(0x2E010E90u); /* 0x2E00399E: call 0x2e010e90 */ /* not lifted */
   5187     RECOMP_FLAGS_IN();
   5188     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5189     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5190     esp = esp + 4; /* 0x2E0039A3: add esp, 4 */
   5191     _flag_k = FK_ADD;
   5192     MEM32(edi) = 0; /* 0x2E0039A6: mov dword ptr [edi], 0 */
   5193 L_2E0039AC:
   5194     eax = MEM32(esi + 0x2C); /* 0x2E0039AC: mov eax, dword ptr [esi + 0x2c] */
   5195     /* test eax, eax */ /* 0x2E0039AF: test eax, eax */
   5196     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5197     _cf = 0;
   5198     _flag_k = FK_TEST;
   5199     RECOMP_BACKEDGE();
   5200     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003948; /* 0x2E0039B1: jne 0x2e003948 */
   5201 L_2E0039B3:
   5202     eax = MEM32(ebx + 0x2C); /* 0x2E0039B3: mov eax, dword ptr [ebx + 0x2c] */
   5203     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2E0039B6: mov byte ptr [ebp - 4], 0 */
   5204     /* test eax, eax */ /* 0x2E0039BA: test eax, eax */
   5205     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5206     _cf = 0;
   5207     _flag_k = FK_TEST;
   5208     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039FC; /* 0x2E0039BC: je 0x2e0039fc */
   5209 L_2E0039BE:
   5210     esi = MEM32(ebx + 0x10); /* 0x2E0039BE: mov esi, dword ptr [ebx + 0x10] */
   5211     ecx = ebx + 0x4; /* 0x2E0039C1: lea ecx, [ebx + 4] */
   5212     RECOMP_ICALL(0x2E003A80u); /* 0x2E0039C4: call 0x2e003a80 */ /* not lifted */
   5213     RECOMP_FLAGS_IN();
   5214     ecx = MEM32(ebx + 0x2C); /* 0x2E0039C9: mov ecx, dword ptr [ebx + 0x2c] */
   5215     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5216     ecx = ecx - 1; /* 0x2E0039CC: dec ecx */
   5217     _flag_k = FK_DEC;
   5218     eax = ecx; /* 0x2E0039CD: mov eax, ecx */
   5219     MEM32(ebx + 0x2C) = ecx; /* 0x2E0039CF: mov dword ptr [ebx + 0x2c], ecx */
   5220     /* test eax, eax */ /* 0x2E0039D2: test eax, eax */
   5221     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5222     _cf = 0;
   5223     _flag_k = FK_TEST;
   5224     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039DF; /* 0x2E0039D4: jne 0x2e0039df */
   5225 L_2E0039D6:
   5226     ecx = ebx; /* 0x2E0039D6: mov ecx, ebx */
   5227     RECOMP_ICALL(0x2E003A20u); /* 0x2E0039D8: call 0x2e003a20 */ /* not lifted */
   5228     RECOMP_FLAGS_IN();
   5229     goto L_2E0039F5; /* 0x2E0039DD: jmp 0x2e0039f5 */
   5230 L_2E0039DF:
   5231     /* cmp esi, MEM32(ebx + 0x10) */ /* 0x2E0039DF: cmp esi, dword ptr [ebx + 0x10] */
   5232     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x10));
   5233     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5234     _flag_k = FK_CMP;
   5235     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039F5; /* 0x2E0039E2: je 0x2e0039f5 */
   5236 L_2E0039E4:
   5237     eax = MEM32(esi); /* 0x2E0039E4: mov eax, dword ptr [esi] */
   5238     PUSH32(esp, eax); /* 0x2E0039E6: push eax */
   5239     RECOMP_ICALL(0x2E010E90u); /* 0x2E0039E7: call 0x2e010e90 */ /* not lifted */
   5240     RECOMP_FLAGS_IN();
   5241     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5242     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5243     esp = esp + 4; /* 0x2E0039EC: add esp, 4 */
   5244     _flag_k = FK_ADD;
   5245     MEM32(esi) = 0; /* 0x2E0039EF: mov dword ptr [esi], 0 */
   5246 L_2E0039F5:
   5247     eax = MEM32(ebx + 0x2C); /* 0x2E0039F5: mov eax, dword ptr [ebx + 0x2c] */
   5248     /* test eax, eax */ /* 0x2E0039F8: test eax, eax */
   5249     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5250     _cf = 0;
   5251     _flag_k = FK_TEST;
   5252     RECOMP_BACKEDGE();
   5253     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039BE; /* 0x2E0039FA: jne 0x2e0039be */
   5254 L_2E0039FC:
   5255     eax = MEM32(ebp + (-0x14)); /* 0x2E0039FC: mov eax, dword ptr [ebp - 0x14] */
   5256     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0039FF: mov dword ptr [ebp - 4], 0xffffffff */
   5257     ecx = eax + 0x4; /* 0x2E003A06: lea ecx, [eax + 4] */
   5258     RECOMP_ICALL(MEM32(0x2E0121C8)); /* 0x2E003A09: call dword ptr [0x2e0121c8] */
   5259     RECOMP_FLAGS_IN();
   5260     ecx = MEM32(ebp + (-0xC)); /* 0x2E003A0F: mov ecx, dword ptr [ebp - 0xc] */
   5261     edi = POP32_VAL(esp); /* 0x2E003A12: pop edi */
   5262     esi = POP32_VAL(esp); /* 0x2E003A13: pop esi */
   5263     MEM32(FS_BASE + (0)) = ecx; /* 0x2E003A14: mov dword ptr fs:[0], ecx */
   5264     ebx = POP32_VAL(esp); /* 0x2E003A1B: pop ebx */
   5265     esp = ebp; /* 0x2E003A1C: mov esp, ebp */
   5266     ebp = POP32_VAL(esp); /* 0x2E003A1E: pop ebp */
   5267     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E003A1F: ret  */
   5268 L_2E0115F3:
   5269     ecx = MEM32(ebp + (-0x14)); /* 0x2E0115F3: mov ecx, dword ptr [ebp - 0x14] */
   5270     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
   5271     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5272     ecx = ecx + 0x18u; /* 0x2E0115F6: add ecx, 0x18 */
   5273     _flag_k = FK_ADD;
   5274     RECOMP_BACKEDGE();
   5275     goto L_2E0037D0; /* 0x2E0115F9: jmp 0x2e0037d0 */
   5276     { RECOMP_REGS_OUT(); return; } /* end of function */
   5277     RECOMP_REGS_OUT();
   5278 }
   5279 
   5280 void sub_2E0115FE(void) {
   5281     int _fpu_cmp = 0;
   5282     uint32_t _cf = 0;
   5283     int _df = 1;
   5284     uint32_t _flag_k = FK_NONE;
   5285     uint32_t _flag_a = 0, _flag_b = 0;
   5286     uint32_t _itail_tgt = 0;
   5287     RECOMP_REGS_LOCALS
   5288     RECOMP_ENTER(0x2E0115FEu);
   5289 
   5290     goto L_2E0115FE;
   5291 L_2E004150:
   5292     PUSH32(esp, ebp); /* 0x2E004150: push ebp */
   5293     ebp = esp; /* 0x2E004151: mov ebp, esp */
   5294     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5295     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5296     esp = esp - 8; /* 0x2E004153: sub esp, 8 */
   5297     _flag_k = FK_CMP;
   5298     PUSH32(esp, ebx); /* 0x2E004156: push ebx */
   5299     PUSH32(esp, esi); /* 0x2E004157: push esi */
   5300     esi = ecx; /* 0x2E004158: mov esi, ecx */
   5301     PUSH32(esp, edi); /* 0x2E00415A: push edi */
   5302     edi = MEM32(esi + 0x4); /* 0x2E00415B: mov edi, dword ptr [esi + 4] */
   5303     ecx = MEM32(esi + 0x10); /* 0x2E00415E: mov ecx, dword ptr [esi + 0x10] */
   5304     /* test ecx, ecx */ /* 0x2E004161: test ecx, ecx */
   5305     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   5306     _cf = 0;
   5307     _flag_k = FK_TEST;
   5308     eax = MEM32(edi); /* 0x2E004163: mov eax, dword ptr [edi] */
   5309     MEM32(ebp + (-0x4)) = eax; /* 0x2E004165: mov dword ptr [ebp - 4], eax */
   5310     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004168: je 0x2e0041c7 */
   5311 L_2E00416A:
   5312     ecx = eax; /* 0x2E00416A: mov ecx, eax */
   5313     /* cmp eax, ecx */ /* 0x2E00416C: cmp eax, ecx */
   5314     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5315     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5316     _flag_k = FK_CMP;
   5317     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E00416E: jne 0x2e0041c7 */
   5318 L_2E004170:
   5319     /* cmp edi, edi */ /* 0x2E004170: cmp edi, edi */
   5320     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5321     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5322     _flag_k = FK_CMP;
   5323     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004172: jne 0x2e0041c7 */
   5324 L_2E004174:
   5325     ebx = MEM32(edi + 0x4); /* 0x2E004174: mov ebx, dword ptr [edi + 4] */
   5326     eax = MEM32(esi + 0x8); /* 0x2E004177: mov eax, dword ptr [esi + 8] */
   5327     /* cmp ebx, eax */ /* 0x2E00417A: cmp ebx, eax */
   5328     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   5329     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5330     _flag_k = FK_CMP;
   5331     edi = ebx; /* 0x2E00417C: mov edi, ebx */
   5332     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00419F; /* 0x2E00417E: je 0x2e00419f */
   5333 L_2E004180:
   5334     eax = MEM32(edi + 0x8); /* 0x2E004180: mov eax, dword ptr [edi + 8] */
   5335     ecx = esi; /* 0x2E004183: mov ecx, esi */
   5336     PUSH32(esp, eax); /* 0x2E004185: push eax */
   5337     RECOMP_ICALL(0x2E0045F0u); /* 0x2E004186: call 0x2e0045f0 */ /* not lifted */
   5338     RECOMP_FLAGS_IN();
   5339     edi = MEM32(edi); /* 0x2E00418B: mov edi, dword ptr [edi] */
   5340     PUSH32(esp, ebx); /* 0x2E00418D: push ebx */
   5341     RECOMP_ICALL(0x2E010E90u); /* 0x2E00418E: call 0x2e010e90 */ /* not lifted */
   5342     RECOMP_FLAGS_IN();
   5343     eax = MEM32(esi + 0x8); /* 0x2E004193: mov eax, dword ptr [esi + 8] */
   5344     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5345     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5346     esp = esp + 4; /* 0x2E004196: add esp, 4 */
   5347     _flag_k = FK_ADD;
   5348     /* cmp edi, eax */ /* 0x2E004199: cmp edi, eax */
   5349     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   5350     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5351     _flag_k = FK_CMP;
   5352     ebx = edi; /* 0x2E00419B: mov ebx, edi */
   5353     RECOMP_BACKEDGE();
   5354     if (CMP_NE(_flag_a, _flag_b)) goto L_2E004180; /* 0x2E00419D: jne 0x2e004180 */
   5355 L_2E00419F:
   5356     ecx = MEM32(esi + 0x4); /* 0x2E00419F: mov ecx, dword ptr [esi + 4] */
   5357     edx = MEM32(esi + 0x8); /* 0x2E0041A2: mov edx, dword ptr [esi + 8] */
   5358     MEM32(ecx + 0x4) = edx; /* 0x2E0041A5: mov dword ptr [ecx + 4], edx */
   5359     eax = MEM32(esi + 0x4); /* 0x2E0041A8: mov eax, dword ptr [esi + 4] */
   5360     MEM32(esi + 0x10) = 0; /* 0x2E0041AB: mov dword ptr [esi + 0x10], 0 */
   5361     ecx = esi; /* 0x2E0041B2: mov ecx, esi */
   5362     MEM32(eax) = eax; /* 0x2E0041B4: mov dword ptr [eax], eax */
   5363     eax = MEM32(esi + 0x4); /* 0x2E0041B6: mov eax, dword ptr [esi + 4] */
   5364     MEM32(eax + 0x8) = eax; /* 0x2E0041B9: mov dword ptr [eax + 8], eax */
   5365     eax = ebp + (-0x8); /* 0x2E0041BC: lea eax, [ebp - 8] */
   5366     PUSH32(esp, eax); /* 0x2E0041BF: push eax */
   5367     RECOMP_ICALL(0x2E004210u); /* 0x2E0041C0: call 0x2e004210 */ /* not lifted */
   5368     RECOMP_FLAGS_IN();
   5369     goto L_2E0041E8; /* 0x2E0041C5: jmp 0x2e0041e8 */
   5370 L_2E0041C7:
   5371     /* cmp eax, edi */ /* 0x2E0041C7: cmp eax, edi */
   5372     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5373     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5374     _flag_k = FK_CMP;
   5375     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0041E8; /* 0x2E0041C9: je 0x2e0041e8 */
   5376 L_2E0041CB:
   5377     ecx = ebp + (-0x4); /* 0x2E0041CB: lea ecx, [ebp - 4] */
   5378     ebx = eax; /* 0x2E0041CE: mov ebx, eax */
   5379     RECOMP_ICALL(0x2E004630u); /* 0x2E0041D0: call 0x2e004630 */ /* not lifted */
   5380     RECOMP_FLAGS_IN();
   5381     ecx = ebp + (-0x8); /* 0x2E0041D5: lea ecx, [ebp - 8] */
   5382     PUSH32(esp, ebx); /* 0x2E0041D8: push ebx */
   5383     PUSH32(esp, ecx); /* 0x2E0041D9: push ecx */
   5384     ecx = esi; /* 0x2E0041DA: mov ecx, esi */
   5385     RECOMP_ICALL(0x2E004230u); /* 0x2E0041DC: call 0x2e004230 */ /* not lifted */
   5386     RECOMP_FLAGS_IN();
   5387     eax = MEM32(ebp + (-0x4)); /* 0x2E0041E1: mov eax, dword ptr [ebp - 4] */
   5388     /* cmp eax, edi */ /* 0x2E0041E4: cmp eax, edi */
   5389     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5390     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5391     _flag_k = FK_CMP;
   5392     RECOMP_BACKEDGE();
   5393     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041CB; /* 0x2E0041E6: jne 0x2e0041cb */
   5394 L_2E0041E8:
   5395     edx = MEM32(esi + 0x4); /* 0x2E0041E8: mov edx, dword ptr [esi + 4] */
   5396     PUSH32(esp, edx); /* 0x2E0041EB: push edx */
   5397     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041EC: call 0x2e010e90 */ /* not lifted */
   5398     RECOMP_FLAGS_IN();
   5399     eax = MEM32(esi + 0x8); /* 0x2E0041F1: mov eax, dword ptr [esi + 8] */
   5400     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5401     edi = 0; /* 0x2E0041F4: xor edi, edi */
   5402     _cf = 0;
   5403     _flag_k = FK_TEST;
   5404     PUSH32(esp, eax); /* 0x2E0041F6: push eax */
   5405     MEM32(esi + 0x4) = edi; /* 0x2E0041F7: mov dword ptr [esi + 4], edi */
   5406     MEM32(esi + 0x10) = edi; /* 0x2E0041FA: mov dword ptr [esi + 0x10], edi */
   5407     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041FD: call 0x2e010e90 */ /* not lifted */
   5408     RECOMP_FLAGS_IN();
   5409     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5410     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5411     esp = esp + 8; /* 0x2E004202: add esp, 8 */
   5412     _flag_k = FK_ADD;
   5413     MEM32(esi + 0x8) = edi; /* 0x2E004205: mov dword ptr [esi + 8], edi */
   5414     edi = POP32_VAL(esp); /* 0x2E004208: pop edi */
   5415     esi = POP32_VAL(esp); /* 0x2E004209: pop esi */
   5416     ebx = POP32_VAL(esp); /* 0x2E00420A: pop ebx */
   5417     esp = ebp; /* 0x2E00420B: mov esp, ebp */
   5418     ebp = POP32_VAL(esp); /* 0x2E00420D: pop ebp */
   5419     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00420E: ret  */
   5420 L_2E0115FE:
   5421     ecx = MEM32(ebp + (-0x14)); /* 0x2E0115FE: mov ecx, dword ptr [ebp - 0x14] */
   5422     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x124u);
   5423     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5424     ecx = ecx + 0x124u; /* 0x2E011601: add ecx, 0x124 */
   5425     _flag_k = FK_ADD;
   5426     RECOMP_BACKEDGE();
   5427     goto L_2E004150; /* 0x2E011607: jmp 0x2e004150 */
   5428     { RECOMP_REGS_OUT(); return; } /* end of function */
   5429     RECOMP_REGS_OUT();
   5430 }
   5431 
   5432 void sub_2E01160C(void) {
   5433     int _fpu_cmp = 0;
   5434     uint32_t _cf = 0;
   5435     int _df = 1;
   5436     uint32_t _flag_k = FK_NONE;
   5437     uint32_t _flag_a = 0, _flag_b = 0;
   5438     uint32_t _itail_tgt = 0;
   5439     RECOMP_REGS_LOCALS
   5440     RECOMP_ENTER(0x2E01160Cu);
   5441 
   5442 L_2E01160C:
   5443     ecx = MEM32(ebp + (-0x18)); /* 0x2E01160C: mov ecx, dword ptr [ebp - 0x18] */
   5444 L_2E01160F:
   5445     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   5446     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5447     ecx = ecx + 4; /* 0x2E01160F: add ecx, 4 */
   5448     _flag_k = FK_ADD;
   5449 L_2E011612:
   5450     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
   5451     { RECOMP_REGS_OUT(); return; } /* end of function */
   5452   _ljump:
   5453     switch (_itail_tgt) {
   5454       case 0x2E01160Cu: goto L_2E01160C;
   5455       case 0x2E01160Fu: goto L_2E01160F;
   5456       case 0x2E011612u: goto L_2E011612;
   5457       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5458     }
   5459     RECOMP_REGS_OUT();
   5460 }
   5461 
   5462 void sub_2E011618(void) {
   5463     int _fpu_cmp = 0;
   5464     uint32_t _cf = 0;
   5465     int _df = 1;
   5466     uint32_t _flag_k = FK_NONE;
   5467     uint32_t _flag_a = 0, _flag_b = 0;
   5468     uint32_t _itail_tgt = 0;
   5469     RECOMP_REGS_LOCALS
   5470     RECOMP_ENTER(0x2E011618u);
   5471 
   5472     goto L_2E011618;
   5473 L_2E0030E0:
   5474     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   5475     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   5476     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   5477     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   5478     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5479     _cf = 0;
   5480     _flag_k = FK_TEST;
   5481     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   5482 L_2E0030EE:
   5483     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   5484     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   5485     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   5486 L_2E0030F6:
   5487     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   5488     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   5489     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   5490     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   5491     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5493     _flag_k = FK_CMP;
   5494     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   5495 L_2E003103:
   5496     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5497     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5498     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   5499     _flag_k = FK_ADD;
   5500     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   5501     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5503     _flag_k = FK_CMP;
   5504     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   5505     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   5506 L_2E00310D:
   5507     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   5508     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5509     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5510     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   5511     _flag_k = FK_ADD;
   5512     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   5513     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   5514     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5515     _flag_k = FK_CMP;
   5516     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   5517 L_2E003118:
   5518     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   5519     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   5520     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   5521     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   5522     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5523     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   5524     _flag_k = FK_ADD;
   5525     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   5526     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   5527     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   5528 L_2E00312E:
   5529     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   5530     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5531     eax = eax - 1; /* 0x2E003131: dec eax */
   5532     _flag_k = FK_DEC;
   5533     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   5534     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   5535 L_2E003137:
   5536     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   5537     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   5538     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   5539     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   5540     RECOMP_FLAGS_IN();
   5541     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   5542     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   5543     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   5544     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   5545     RECOMP_FLAGS_IN();
   5546     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   5547     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   5548     PUSH32(esp, eax); /* 0x2E003154: push eax */
   5549     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   5550     RECOMP_FLAGS_IN();
   5551     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   5552     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5553     eax = 0; /* 0x2E00315D: xor eax, eax */
   5554     _cf = 0;
   5555     _flag_k = FK_TEST;
   5556     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5557     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   5558     _cf = 0;
   5559     _flag_k = FK_TEST;
   5560     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5561     edx = 0; /* 0x2E003161: xor edx, edx */
   5562     _cf = 0;
   5563     _flag_k = FK_TEST;
   5564     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   5565     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   5566     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   5567     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5568     edi = 0; /* 0x2E00316B: xor edi, edi */
   5569     _cf = 0;
   5570     _flag_k = FK_TEST;
   5571     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   5572     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   5573     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   5574     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   5575     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   5576     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   5577     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   5578     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   5579     RECOMP_FLAGS_IN();
   5580     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5581     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5582     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   5583     _flag_k = FK_ADD;
   5584     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   5585 L_2E00318A:
   5586     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   5587     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   5588     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5589     _flag_k = FK_CMP;
   5590     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   5591 L_2E00318F:
   5592     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   5593     PUSH32(esp, edx); /* 0x2E003191: push edx */
   5594     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   5595     RECOMP_FLAGS_IN();
   5596     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5597     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5598     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   5599     _flag_k = FK_ADD;
   5600     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   5601 L_2E0031A0:
   5602     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   5603     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   5604     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5605     _cf = 0;
   5606     _flag_k = FK_TEST;
   5607     RECOMP_BACKEDGE();
   5608     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   5609 L_2E0031AB:
   5610     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   5611     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   5612 L_2E0031AD:
   5613     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   5614     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   5615 L_2E011618:
   5616     ecx = MEM32(ebp + (-0x18)); /* 0x2E011618: mov ecx, dword ptr [ebp - 0x18] */
   5617     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   5618     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5619     ecx = ecx + 0x50u; /* 0x2E01161B: add ecx, 0x50 */
   5620     _flag_k = FK_ADD;
   5621     RECOMP_BACKEDGE();
   5622     goto L_2E0030E0; /* 0x2E01161E: jmp 0x2e0030e0 */
   5623     { RECOMP_REGS_OUT(); return; } /* end of function */
   5624     RECOMP_REGS_OUT();
   5625 }
   5626 
   5627 void sub_2E011623(void) {
   5628     int _fpu_cmp = 0;
   5629     uint32_t _cf = 0;
   5630     int _df = 1;
   5631     uint32_t _flag_k = FK_NONE;
   5632     uint32_t _flag_a = 0, _flag_b = 0;
   5633     uint32_t _itail_tgt = 0;
   5634     RECOMP_REGS_LOCALS
   5635     RECOMP_ENTER(0x2E011623u);
   5636 
   5637     goto L_2E011623;
   5638 L_2E0030E0:
   5639     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   5640     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   5641     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   5642     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   5643     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5644     _cf = 0;
   5645     _flag_k = FK_TEST;
   5646     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   5647 L_2E0030EE:
   5648     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   5649     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   5650     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   5651 L_2E0030F6:
   5652     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   5653     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   5654     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   5655     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   5656     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5657     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5658     _flag_k = FK_CMP;
   5659     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   5660 L_2E003103:
   5661     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5662     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5663     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   5664     _flag_k = FK_ADD;
   5665     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   5666     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5667     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5668     _flag_k = FK_CMP;
   5669     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   5670     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   5671 L_2E00310D:
   5672     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   5673     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5674     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5675     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   5676     _flag_k = FK_ADD;
   5677     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   5678     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   5679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5680     _flag_k = FK_CMP;
   5681     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   5682 L_2E003118:
   5683     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   5684     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   5685     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   5686     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   5687     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5688     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   5689     _flag_k = FK_ADD;
   5690     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   5691     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   5692     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   5693 L_2E00312E:
   5694     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   5695     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5696     eax = eax - 1; /* 0x2E003131: dec eax */
   5697     _flag_k = FK_DEC;
   5698     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   5699     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   5700 L_2E003137:
   5701     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   5702     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   5703     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   5704     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   5705     RECOMP_FLAGS_IN();
   5706     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   5707     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   5708     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   5709     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   5710     RECOMP_FLAGS_IN();
   5711     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   5712     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   5713     PUSH32(esp, eax); /* 0x2E003154: push eax */
   5714     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   5715     RECOMP_FLAGS_IN();
   5716     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   5717     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5718     eax = 0; /* 0x2E00315D: xor eax, eax */
   5719     _cf = 0;
   5720     _flag_k = FK_TEST;
   5721     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5722     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   5723     _cf = 0;
   5724     _flag_k = FK_TEST;
   5725     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5726     edx = 0; /* 0x2E003161: xor edx, edx */
   5727     _cf = 0;
   5728     _flag_k = FK_TEST;
   5729     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   5730     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   5731     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   5732     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5733     edi = 0; /* 0x2E00316B: xor edi, edi */
   5734     _cf = 0;
   5735     _flag_k = FK_TEST;
   5736     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   5737     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   5738     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   5739     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   5740     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   5741     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   5742     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   5743     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   5744     RECOMP_FLAGS_IN();
   5745     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5746     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5747     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   5748     _flag_k = FK_ADD;
   5749     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   5750 L_2E00318A:
   5751     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   5752     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   5753     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5754     _flag_k = FK_CMP;
   5755     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   5756 L_2E00318F:
   5757     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   5758     PUSH32(esp, edx); /* 0x2E003191: push edx */
   5759     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   5760     RECOMP_FLAGS_IN();
   5761     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5762     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5763     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   5764     _flag_k = FK_ADD;
   5765     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   5766 L_2E0031A0:
   5767     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   5768     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   5769     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5770     _cf = 0;
   5771     _flag_k = FK_TEST;
   5772     RECOMP_BACKEDGE();
   5773     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   5774 L_2E0031AB:
   5775     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   5776     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   5777 L_2E0031AD:
   5778     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   5779     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   5780 L_2E011623:
   5781     ecx = MEM32(ebp + (-0x18)); /* 0x2E011623: mov ecx, dword ptr [ebp - 0x18] */
   5782     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   5783     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5784     ecx = ecx + 0x80u; /* 0x2E011626: add ecx, 0x80 */
   5785     _flag_k = FK_ADD;
   5786     RECOMP_BACKEDGE();
   5787     goto L_2E0030E0; /* 0x2E01162C: jmp 0x2e0030e0 */
   5788     { RECOMP_REGS_OUT(); return; } /* end of function */
   5789     RECOMP_REGS_OUT();
   5790 }
   5791 
   5792 void sub_2E011631(void) {
   5793     int _fpu_cmp = 0;
   5794     uint32_t _cf = 0;
   5795     int _df = 1;
   5796     uint32_t _flag_k = FK_NONE;
   5797     uint32_t _flag_a = 0, _flag_b = 0;
   5798     uint32_t _itail_tgt = 0;
   5799     RECOMP_REGS_LOCALS
   5800     RECOMP_ENTER(0x2E011631u);
   5801 
   5802     goto L_2E011631;
   5803 L_2E0030E0:
   5804     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   5805     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   5806     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   5807     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   5808     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5809     _cf = 0;
   5810     _flag_k = FK_TEST;
   5811     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   5812 L_2E0030EE:
   5813     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   5814     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   5815     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   5816 L_2E0030F6:
   5817     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   5818     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   5819     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   5820     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   5821     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5822     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5823     _flag_k = FK_CMP;
   5824     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   5825 L_2E003103:
   5826     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5827     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5828     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   5829     _flag_k = FK_ADD;
   5830     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   5831     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5832     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5833     _flag_k = FK_CMP;
   5834     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   5835     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   5836 L_2E00310D:
   5837     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   5838     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5839     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5840     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   5841     _flag_k = FK_ADD;
   5842     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   5843     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   5844     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5845     _flag_k = FK_CMP;
   5846     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   5847 L_2E003118:
   5848     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   5849     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   5850     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   5851     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   5852     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5853     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   5854     _flag_k = FK_ADD;
   5855     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   5856     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   5857     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   5858 L_2E00312E:
   5859     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   5860     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5861     eax = eax - 1; /* 0x2E003131: dec eax */
   5862     _flag_k = FK_DEC;
   5863     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   5864     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   5865 L_2E003137:
   5866     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   5867     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   5868     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   5869     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   5870     RECOMP_FLAGS_IN();
   5871     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   5872     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   5873     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   5874     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   5875     RECOMP_FLAGS_IN();
   5876     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   5877     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   5878     PUSH32(esp, eax); /* 0x2E003154: push eax */
   5879     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   5880     RECOMP_FLAGS_IN();
   5881     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   5882     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5883     eax = 0; /* 0x2E00315D: xor eax, eax */
   5884     _cf = 0;
   5885     _flag_k = FK_TEST;
   5886     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5887     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   5888     _cf = 0;
   5889     _flag_k = FK_TEST;
   5890     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5891     edx = 0; /* 0x2E003161: xor edx, edx */
   5892     _cf = 0;
   5893     _flag_k = FK_TEST;
   5894     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   5895     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   5896     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   5897     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5898     edi = 0; /* 0x2E00316B: xor edi, edi */
   5899     _cf = 0;
   5900     _flag_k = FK_TEST;
   5901     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   5902     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   5903     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   5904     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   5905     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   5906     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   5907     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   5908     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   5909     RECOMP_FLAGS_IN();
   5910     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5911     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5912     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   5913     _flag_k = FK_ADD;
   5914     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   5915 L_2E00318A:
   5916     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   5917     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   5918     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5919     _flag_k = FK_CMP;
   5920     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   5921 L_2E00318F:
   5922     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   5923     PUSH32(esp, edx); /* 0x2E003191: push edx */
   5924     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   5925     RECOMP_FLAGS_IN();
   5926     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5927     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5928     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   5929     _flag_k = FK_ADD;
   5930     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   5931 L_2E0031A0:
   5932     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   5933     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   5934     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5935     _cf = 0;
   5936     _flag_k = FK_TEST;
   5937     RECOMP_BACKEDGE();
   5938     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   5939 L_2E0031AB:
   5940     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   5941     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   5942 L_2E0031AD:
   5943     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   5944     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   5945 L_2E011631:
   5946     ecx = MEM32(ebp + (-0x18)); /* 0x2E011631: mov ecx, dword ptr [ebp - 0x18] */
   5947     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xB0u);
   5948     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5949     ecx = ecx + 0xB0u; /* 0x2E011634: add ecx, 0xb0 */
   5950     _flag_k = FK_ADD;
   5951     RECOMP_BACKEDGE();
   5952     goto L_2E0030E0; /* 0x2E01163A: jmp 0x2e0030e0 */
   5953     { RECOMP_REGS_OUT(); return; } /* end of function */
   5954     RECOMP_REGS_OUT();
   5955 }
   5956 
   5957 void sub_2E01163F(void) {
   5958     int _fpu_cmp = 0;
   5959     uint32_t _cf = 0;
   5960     int _df = 1;
   5961     uint32_t _flag_k = FK_NONE;
   5962     uint32_t _flag_a = 0, _flag_b = 0;
   5963     uint32_t _itail_tgt = 0;
   5964     RECOMP_REGS_LOCALS
   5965     RECOMP_ENTER(0x2E01163Fu);
   5966 
   5967     goto L_2E01163F;
   5968 L_2E0037D0:
   5969     PUSH32(esp, ebp); /* 0x2E0037D0: push ebp */
   5970     ebp = esp; /* 0x2E0037D1: mov ebp, esp */
   5971     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0037D3: push -1 */
   5972     PUSH32(esp, 0x2E011543u); /* 0x2E0037D5: push 0x2e011543 */
   5973     eax = MEM32(FS_BASE + (0)); /* 0x2E0037DA: mov eax, dword ptr fs:[0] */
   5974     PUSH32(esp, eax); /* 0x2E0037E0: push eax */
   5975     MEM32(FS_BASE + (0)) = esp; /* 0x2E0037E1: mov dword ptr fs:[0], esp */
   5976     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
   5977     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5978     esp = esp - 0x18u; /* 0x2E0037E8: sub esp, 0x18 */
   5979     _flag_k = FK_CMP;
   5980     PUSH32(esp, ebx); /* 0x2E0037EB: push ebx */
   5981     PUSH32(esp, esi); /* 0x2E0037EC: push esi */
   5982     PUSH32(esp, edi); /* 0x2E0037ED: push edi */
   5983     edi = ecx; /* 0x2E0037EE: mov edi, ecx */
   5984     MEM32(ebp + (-0x14)) = edi; /* 0x2E0037F0: mov dword ptr [ebp - 0x14], edi */
   5985     MEM32(edi) = 0x2E012264u; /* 0x2E0037F3: mov dword ptr [edi], 0x2e012264 */
   5986     ebx = edi + 0x50; /* 0x2E0037F9: lea ebx, [edi + 0x50] */
   5987     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5988     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5989     esp = esp - 0x10u; /* 0x2E0037FC: sub esp, 0x10 */
   5990     _flag_k = FK_CMP;
   5991     ecx = esp; /* 0x2E0037FF: mov ecx, esp */
   5992     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5993     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5994     esp = esp - 0x10u; /* 0x2E003801: sub esp, 0x10 */
   5995     _flag_k = FK_CMP;
   5996     eax = ebx + 0x14; /* 0x2E003804: lea eax, [ebx + 0x14] */
   5997     MEM32(ebp + (-0x4)) = 3; /* 0x2E003807: mov dword ptr [ebp - 4], 3 */
   5998     edx = MEM32(eax); /* 0x2E00380E: mov edx, dword ptr [eax] */
   5999     MEM32(ecx) = edx; /* 0x2E003810: mov dword ptr [ecx], edx */
   6000     edx = MEM32(eax + 0x4); /* 0x2E003812: mov edx, dword ptr [eax + 4] */
   6001     MEM32(ecx + 0x4) = edx; /* 0x2E003815: mov dword ptr [ecx + 4], edx */
   6002     edx = MEM32(eax + 0x8); /* 0x2E003818: mov edx, dword ptr [eax + 8] */
   6003     MEM32(ecx + 0x8) = edx; /* 0x2E00381B: mov dword ptr [ecx + 8], edx */
   6004     edx = esp; /* 0x2E00381E: mov edx, esp */
   6005     eax = MEM32(eax + 0xC); /* 0x2E003820: mov eax, dword ptr [eax + 0xc] */
   6006     MEM32(ecx + 0xC) = eax; /* 0x2E003823: mov dword ptr [ecx + 0xc], eax */
   6007     ecx = ebx + 0x4; /* 0x2E003826: lea ecx, [ebx + 4] */
   6008     eax = MEM32(ebx + 0x4); /* 0x2E003829: mov eax, dword ptr [ebx + 4] */
   6009     MEM32(edx) = eax; /* 0x2E00382C: mov dword ptr [edx], eax */
   6010     eax = MEM32(ecx + 0x4); /* 0x2E00382E: mov eax, dword ptr [ecx + 4] */
   6011     MEM32(edx + 0x4) = eax; /* 0x2E003831: mov dword ptr [edx + 4], eax */
   6012     eax = MEM32(ecx + 0x8); /* 0x2E003834: mov eax, dword ptr [ecx + 8] */
   6013     MEM32(edx + 0x8) = eax; /* 0x2E003837: mov dword ptr [edx + 8], eax */
   6014     ecx = MEM32(ecx + 0xC); /* 0x2E00383A: mov ecx, dword ptr [ecx + 0xc] */
   6015     MEM32(edx + 0xC) = ecx; /* 0x2E00383D: mov dword ptr [edx + 0xc], ecx */
   6016     edx = ebp + (-0x24); /* 0x2E003840: lea edx, [ebp - 0x24] */
   6017     PUSH32(esp, edx); /* 0x2E003843: push edx */
   6018     ecx = ebx; /* 0x2E003844: mov ecx, ebx */
   6019     RECOMP_ICALL(0x2E003B30u); /* 0x2E003846: call 0x2e003b30 */ /* not lifted */
   6020     RECOMP_FLAGS_IN();
   6021     esi = edi + 0x80; /* 0x2E00384B: lea esi, [edi + 0x80] */
   6022     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6023     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6024     esp = esp - 0x10u; /* 0x2E003851: sub esp, 0x10 */
   6025     _flag_k = FK_CMP;
   6026     ecx = esp; /* 0x2E003854: mov ecx, esp */
   6027     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6028     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6029     esp = esp - 0x10u; /* 0x2E003856: sub esp, 0x10 */
   6030     _flag_k = FK_CMP;
   6031     eax = esi + 0x14; /* 0x2E003859: lea eax, [esi + 0x14] */
   6032     edx = MEM32(esi + 0x14); /* 0x2E00385C: mov edx, dword ptr [esi + 0x14] */
   6033     MEM32(ecx) = edx; /* 0x2E00385F: mov dword ptr [ecx], edx */
   6034     edx = MEM32(eax + 0x4); /* 0x2E003861: mov edx, dword ptr [eax + 4] */
   6035     MEM32(ecx + 0x4) = edx; /* 0x2E003864: mov dword ptr [ecx + 4], edx */
   6036     edx = MEM32(eax + 0x8); /* 0x2E003867: mov edx, dword ptr [eax + 8] */
   6037     MEM32(ecx + 0x8) = edx; /* 0x2E00386A: mov dword ptr [ecx + 8], edx */
   6038     edx = esp; /* 0x2E00386D: mov edx, esp */
   6039     eax = MEM32(eax + 0xC); /* 0x2E00386F: mov eax, dword ptr [eax + 0xc] */
   6040     MEM32(ecx + 0xC) = eax; /* 0x2E003872: mov dword ptr [ecx + 0xc], eax */
   6041     ecx = esi + 0x4; /* 0x2E003875: lea ecx, [esi + 4] */
   6042     eax = MEM32(esi + 0x4); /* 0x2E003878: mov eax, dword ptr [esi + 4] */
   6043     MEM32(edx) = eax; /* 0x2E00387B: mov dword ptr [edx], eax */
   6044     eax = MEM32(ecx + 0x4); /* 0x2E00387D: mov eax, dword ptr [ecx + 4] */
   6045     MEM32(edx + 0x4) = eax; /* 0x2E003880: mov dword ptr [edx + 4], eax */
   6046     eax = MEM32(ecx + 0x8); /* 0x2E003883: mov eax, dword ptr [ecx + 8] */
   6047     MEM32(edx + 0x8) = eax; /* 0x2E003886: mov dword ptr [edx + 8], eax */
   6048     ecx = MEM32(ecx + 0xC); /* 0x2E003889: mov ecx, dword ptr [ecx + 0xc] */
   6049     MEM32(edx + 0xC) = ecx; /* 0x2E00388C: mov dword ptr [edx + 0xc], ecx */
   6050     edx = ebp + (-0x24); /* 0x2E00388F: lea edx, [ebp - 0x24] */
   6051     PUSH32(esp, edx); /* 0x2E003892: push edx */
   6052     ecx = esi; /* 0x2E003893: mov ecx, esi */
   6053     RECOMP_ICALL(0x2E003B30u); /* 0x2E003895: call 0x2e003b30 */ /* not lifted */
   6054     RECOMP_FLAGS_IN();
   6055     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xB0u);
   6056     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6057     edi = edi + 0xB0u; /* 0x2E00389A: add edi, 0xb0 */
   6058     _flag_k = FK_ADD;
   6059     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6060     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6061     esp = esp - 0x10u; /* 0x2E0038A0: sub esp, 0x10 */
   6062     _flag_k = FK_CMP;
   6063     ecx = esp; /* 0x2E0038A3: mov ecx, esp */
   6064     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6065     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6066     esp = esp - 0x10u; /* 0x2E0038A5: sub esp, 0x10 */
   6067     _flag_k = FK_CMP;
   6068     eax = edi + 0x14; /* 0x2E0038A8: lea eax, [edi + 0x14] */
   6069     edx = MEM32(edi + 0x14); /* 0x2E0038AB: mov edx, dword ptr [edi + 0x14] */
   6070     MEM32(ecx) = edx; /* 0x2E0038AE: mov dword ptr [ecx], edx */
   6071     edx = MEM32(eax + 0x4); /* 0x2E0038B0: mov edx, dword ptr [eax + 4] */
   6072     MEM32(ecx + 0x4) = edx; /* 0x2E0038B3: mov dword ptr [ecx + 4], edx */
   6073     edx = MEM32(eax + 0x8); /* 0x2E0038B6: mov edx, dword ptr [eax + 8] */
   6074     MEM32(ecx + 0x8) = edx; /* 0x2E0038B9: mov dword ptr [ecx + 8], edx */
   6075     edx = esp; /* 0x2E0038BC: mov edx, esp */
   6076     eax = MEM32(eax + 0xC); /* 0x2E0038BE: mov eax, dword ptr [eax + 0xc] */
   6077     MEM32(ecx + 0xC) = eax; /* 0x2E0038C1: mov dword ptr [ecx + 0xc], eax */
   6078     ecx = edi + 0x4; /* 0x2E0038C4: lea ecx, [edi + 4] */
   6079     eax = MEM32(edi + 0x4); /* 0x2E0038C7: mov eax, dword ptr [edi + 4] */
   6080     MEM32(edx) = eax; /* 0x2E0038CA: mov dword ptr [edx], eax */
   6081     eax = MEM32(ecx + 0x4); /* 0x2E0038CC: mov eax, dword ptr [ecx + 4] */
   6082     MEM32(edx + 0x4) = eax; /* 0x2E0038CF: mov dword ptr [edx + 4], eax */
   6083     eax = MEM32(ecx + 0x8); /* 0x2E0038D2: mov eax, dword ptr [ecx + 8] */
   6084     ecx = MEM32(ecx + 0xC); /* 0x2E0038D5: mov ecx, dword ptr [ecx + 0xc] */
   6085     MEM32(edx + 0x8) = eax; /* 0x2E0038D8: mov dword ptr [edx + 8], eax */
   6086     MEM32(edx + 0xC) = ecx; /* 0x2E0038DB: mov dword ptr [edx + 0xc], ecx */
   6087     edx = ebp + (-0x24); /* 0x2E0038DE: lea edx, [ebp - 0x24] */
   6088     PUSH32(esp, edx); /* 0x2E0038E1: push edx */
   6089     ecx = edi; /* 0x2E0038E2: mov ecx, edi */
   6090     RECOMP_ICALL(0x2E003B30u); /* 0x2E0038E4: call 0x2e003b30 */ /* not lifted */
   6091     RECOMP_FLAGS_IN();
   6092     eax = MEM32(edi + 0x2C); /* 0x2E0038E9: mov eax, dword ptr [edi + 0x2c] */
   6093     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E0038EC: mov byte ptr [ebp - 4], 2 */
   6094     /* test eax, eax */ /* 0x2E0038F0: test eax, eax */
   6095     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6096     _cf = 0;
   6097     _flag_k = FK_TEST;
   6098     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00393D; /* 0x2E0038F2: je 0x2e00393d */
   6099 L_2E0038F4:
   6100     eax = MEM32(edi + 0x10); /* 0x2E0038F4: mov eax, dword ptr [edi + 0x10] */
   6101     ecx = edi + 0x4; /* 0x2E0038F7: lea ecx, [edi + 4] */
   6102     MEM32(ebp + (-0x10)) = eax; /* 0x2E0038FA: mov dword ptr [ebp - 0x10], eax */
   6103     RECOMP_ICALL(0x2E003A80u); /* 0x2E0038FD: call 0x2e003a80 */ /* not lifted */
   6104     RECOMP_FLAGS_IN();
   6105     ecx = MEM32(edi + 0x2C); /* 0x2E003902: mov ecx, dword ptr [edi + 0x2c] */
   6106     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   6107     ecx = ecx - 1; /* 0x2E003905: dec ecx */
   6108     _flag_k = FK_DEC;
   6109     eax = ecx; /* 0x2E003906: mov eax, ecx */
   6110     MEM32(edi + 0x2C) = ecx; /* 0x2E003908: mov dword ptr [edi + 0x2c], ecx */
   6111     /* test eax, eax */ /* 0x2E00390B: test eax, eax */
   6112     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6113     _cf = 0;
   6114     _flag_k = FK_TEST;
   6115     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003918; /* 0x2E00390D: jne 0x2e003918 */
   6116 L_2E00390F:
   6117     ecx = edi; /* 0x2E00390F: mov ecx, edi */
   6118     RECOMP_ICALL(0x2E003A20u); /* 0x2E003911: call 0x2e003a20 */ /* not lifted */
   6119     RECOMP_FLAGS_IN();
   6120     goto L_2E003936; /* 0x2E003916: jmp 0x2e003936 */
   6121 L_2E003918:
   6122     eax = MEM32(ebp + (-0x10)); /* 0x2E003918: mov eax, dword ptr [ebp - 0x10] */
   6123     ecx = MEM32(edi + 0x10); /* 0x2E00391B: mov ecx, dword ptr [edi + 0x10] */
   6124     /* cmp eax, ecx */ /* 0x2E00391E: cmp eax, ecx */
   6125     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6126     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6127     _flag_k = FK_CMP;
   6128     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003936; /* 0x2E003920: je 0x2e003936 */
   6129 L_2E003922:
   6130     eax = MEM32(eax); /* 0x2E003922: mov eax, dword ptr [eax] */
   6131     PUSH32(esp, eax); /* 0x2E003924: push eax */
   6132     RECOMP_ICALL(0x2E010E90u); /* 0x2E003925: call 0x2e010e90 */ /* not lifted */
   6133     RECOMP_FLAGS_IN();
   6134     ecx = MEM32(ebp + (-0x10)); /* 0x2E00392A: mov ecx, dword ptr [ebp - 0x10] */
   6135     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6136     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6137     esp = esp + 4; /* 0x2E00392D: add esp, 4 */
   6138     _flag_k = FK_ADD;
   6139     MEM32(ecx) = 0; /* 0x2E003930: mov dword ptr [ecx], 0 */
   6140 L_2E003936:
   6141     eax = MEM32(edi + 0x2C); /* 0x2E003936: mov eax, dword ptr [edi + 0x2c] */
   6142     /* test eax, eax */ /* 0x2E003939: test eax, eax */
   6143     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6144     _cf = 0;
   6145     _flag_k = FK_TEST;
   6146     RECOMP_BACKEDGE();
   6147     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0038F4; /* 0x2E00393B: jne 0x2e0038f4 */
   6148 L_2E00393D:
   6149     eax = MEM32(esi + 0x2C); /* 0x2E00393D: mov eax, dword ptr [esi + 0x2c] */
   6150     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E003940: mov byte ptr [ebp - 4], 1 */
   6151     /* test eax, eax */ /* 0x2E003944: test eax, eax */
   6152     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6153     _cf = 0;
   6154     _flag_k = FK_TEST;
   6155     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039B3; /* 0x2E003946: je 0x2e0039b3 */
   6156 L_2E003948:
   6157     eax = MEM32(esi + 0xC); /* 0x2E003948: mov eax, dword ptr [esi + 0xc] */
   6158     ecx = MEM32(esi + 0x8); /* 0x2E00394B: mov ecx, dword ptr [esi + 8] */
   6159     edi = MEM32(esi + 0x10); /* 0x2E00394E: mov edi, dword ptr [esi + 0x10] */
   6160     /* cmp eax, ecx */ /* 0x2E003951: cmp eax, ecx */
   6161     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6162     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6163     _flag_k = FK_CMP;
   6164     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003953: je 0x2e003980 */
   6165 L_2E003955:
   6166     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   6167     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6168     eax = eax + 4; /* 0x2E003955: add eax, 4 */
   6169     _flag_k = FK_ADD;
   6170     /* cmp eax, ecx */ /* 0x2E003958: cmp eax, ecx */
   6171     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6172     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6173     _flag_k = FK_CMP;
   6174     MEM32(esi + 0xC) = eax; /* 0x2E00395A: mov dword ptr [esi + 0xc], eax */
   6175     if (CMP_NE(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E00395D: jne 0x2e003980 */
   6176 L_2E00395F:
   6177     eax = MEM32(esi + 0x10); /* 0x2E00395F: mov eax, dword ptr [esi + 0x10] */
   6178     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   6179     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6180     eax = eax + 4; /* 0x2E003962: add eax, 4 */
   6181     _flag_k = FK_ADD;
   6182     /* cmp MEM32(eax), 0 */ /* 0x2E003965: cmp dword ptr [eax], 0 */
   6183     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   6184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6185     _flag_k = FK_CMP;
   6186     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003968: je 0x2e003980 */
   6187 L_2E00396A:
   6188     MEM32(esi + 0x10) = eax; /* 0x2E00396A: mov dword ptr [esi + 0x10], eax */
   6189     eax = MEM32(eax); /* 0x2E00396D: mov eax, dword ptr [eax] */
   6190     MEM32(esi + 0x4) = eax; /* 0x2E00396F: mov dword ptr [esi + 4], eax */
   6191     edx = MEM32(esi + 0x4); /* 0x2E003972: mov edx, dword ptr [esi + 4] */
   6192     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   6193     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6194     eax = eax + 0x1000u; /* 0x2E003975: add eax, 0x1000 */
   6195     _flag_k = FK_ADD;
   6196     MEM32(esi + 0xC) = edx; /* 0x2E00397A: mov dword ptr [esi + 0xc], edx */
   6197     MEM32(esi + 0x8) = eax; /* 0x2E00397D: mov dword ptr [esi + 8], eax */
   6198 L_2E003980:
   6199     ecx = MEM32(esi + 0x2C); /* 0x2E003980: mov ecx, dword ptr [esi + 0x2c] */
   6200     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   6201     ecx = ecx - 1; /* 0x2E003983: dec ecx */
   6202     _flag_k = FK_DEC;
   6203     eax = ecx; /* 0x2E003984: mov eax, ecx */
   6204     MEM32(esi + 0x2C) = ecx; /* 0x2E003986: mov dword ptr [esi + 0x2c], ecx */
   6205     /* test eax, eax */ /* 0x2E003989: test eax, eax */
   6206     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6207     _cf = 0;
   6208     _flag_k = FK_TEST;
   6209     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003996; /* 0x2E00398B: jne 0x2e003996 */
   6210 L_2E00398D:
   6211     ecx = esi; /* 0x2E00398D: mov ecx, esi */
   6212     RECOMP_ICALL(0x2E003A20u); /* 0x2E00398F: call 0x2e003a20 */ /* not lifted */
   6213     RECOMP_FLAGS_IN();
   6214     goto L_2E0039AC; /* 0x2E003994: jmp 0x2e0039ac */
   6215 L_2E003996:
   6216     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E003996: cmp edi, dword ptr [esi + 0x10] */
   6217     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   6218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6219     _flag_k = FK_CMP;
   6220     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039AC; /* 0x2E003999: je 0x2e0039ac */
   6221 L_2E00399B:
   6222     eax = MEM32(edi); /* 0x2E00399B: mov eax, dword ptr [edi] */
   6223     PUSH32(esp, eax); /* 0x2E00399D: push eax */
   6224     RECOMP_ICALL(0x2E010E90u); /* 0x2E00399E: call 0x2e010e90 */ /* not lifted */
   6225     RECOMP_FLAGS_IN();
   6226     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6227     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6228     esp = esp + 4; /* 0x2E0039A3: add esp, 4 */
   6229     _flag_k = FK_ADD;
   6230     MEM32(edi) = 0; /* 0x2E0039A6: mov dword ptr [edi], 0 */
   6231 L_2E0039AC:
   6232     eax = MEM32(esi + 0x2C); /* 0x2E0039AC: mov eax, dword ptr [esi + 0x2c] */
   6233     /* test eax, eax */ /* 0x2E0039AF: test eax, eax */
   6234     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6235     _cf = 0;
   6236     _flag_k = FK_TEST;
   6237     RECOMP_BACKEDGE();
   6238     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003948; /* 0x2E0039B1: jne 0x2e003948 */
   6239 L_2E0039B3:
   6240     eax = MEM32(ebx + 0x2C); /* 0x2E0039B3: mov eax, dword ptr [ebx + 0x2c] */
   6241     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2E0039B6: mov byte ptr [ebp - 4], 0 */
   6242     /* test eax, eax */ /* 0x2E0039BA: test eax, eax */
   6243     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6244     _cf = 0;
   6245     _flag_k = FK_TEST;
   6246     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039FC; /* 0x2E0039BC: je 0x2e0039fc */
   6247 L_2E0039BE:
   6248     esi = MEM32(ebx + 0x10); /* 0x2E0039BE: mov esi, dword ptr [ebx + 0x10] */
   6249     ecx = ebx + 0x4; /* 0x2E0039C1: lea ecx, [ebx + 4] */
   6250     RECOMP_ICALL(0x2E003A80u); /* 0x2E0039C4: call 0x2e003a80 */ /* not lifted */
   6251     RECOMP_FLAGS_IN();
   6252     ecx = MEM32(ebx + 0x2C); /* 0x2E0039C9: mov ecx, dword ptr [ebx + 0x2c] */
   6253     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   6254     ecx = ecx - 1; /* 0x2E0039CC: dec ecx */
   6255     _flag_k = FK_DEC;
   6256     eax = ecx; /* 0x2E0039CD: mov eax, ecx */
   6257     MEM32(ebx + 0x2C) = ecx; /* 0x2E0039CF: mov dword ptr [ebx + 0x2c], ecx */
   6258     /* test eax, eax */ /* 0x2E0039D2: test eax, eax */
   6259     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6260     _cf = 0;
   6261     _flag_k = FK_TEST;
   6262     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039DF; /* 0x2E0039D4: jne 0x2e0039df */
   6263 L_2E0039D6:
   6264     ecx = ebx; /* 0x2E0039D6: mov ecx, ebx */
   6265     RECOMP_ICALL(0x2E003A20u); /* 0x2E0039D8: call 0x2e003a20 */ /* not lifted */
   6266     RECOMP_FLAGS_IN();
   6267     goto L_2E0039F5; /* 0x2E0039DD: jmp 0x2e0039f5 */
   6268 L_2E0039DF:
   6269     /* cmp esi, MEM32(ebx + 0x10) */ /* 0x2E0039DF: cmp esi, dword ptr [ebx + 0x10] */
   6270     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x10));
   6271     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6272     _flag_k = FK_CMP;
   6273     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039F5; /* 0x2E0039E2: je 0x2e0039f5 */
   6274 L_2E0039E4:
   6275     eax = MEM32(esi); /* 0x2E0039E4: mov eax, dword ptr [esi] */
   6276     PUSH32(esp, eax); /* 0x2E0039E6: push eax */
   6277     RECOMP_ICALL(0x2E010E90u); /* 0x2E0039E7: call 0x2e010e90 */ /* not lifted */
   6278     RECOMP_FLAGS_IN();
   6279     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6280     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6281     esp = esp + 4; /* 0x2E0039EC: add esp, 4 */
   6282     _flag_k = FK_ADD;
   6283     MEM32(esi) = 0; /* 0x2E0039EF: mov dword ptr [esi], 0 */
   6284 L_2E0039F5:
   6285     eax = MEM32(ebx + 0x2C); /* 0x2E0039F5: mov eax, dword ptr [ebx + 0x2c] */
   6286     /* test eax, eax */ /* 0x2E0039F8: test eax, eax */
   6287     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6288     _cf = 0;
   6289     _flag_k = FK_TEST;
   6290     RECOMP_BACKEDGE();
   6291     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039BE; /* 0x2E0039FA: jne 0x2e0039be */
   6292 L_2E0039FC:
   6293     eax = MEM32(ebp + (-0x14)); /* 0x2E0039FC: mov eax, dword ptr [ebp - 0x14] */
   6294     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0039FF: mov dword ptr [ebp - 4], 0xffffffff */
   6295     ecx = eax + 0x4; /* 0x2E003A06: lea ecx, [eax + 4] */
   6296     RECOMP_ICALL(MEM32(0x2E0121C8)); /* 0x2E003A09: call dword ptr [0x2e0121c8] */
   6297     RECOMP_FLAGS_IN();
   6298     ecx = MEM32(ebp + (-0xC)); /* 0x2E003A0F: mov ecx, dword ptr [ebp - 0xc] */
   6299     edi = POP32_VAL(esp); /* 0x2E003A12: pop edi */
   6300     esi = POP32_VAL(esp); /* 0x2E003A13: pop esi */
   6301     MEM32(FS_BASE + (0)) = ecx; /* 0x2E003A14: mov dword ptr fs:[0], ecx */
   6302     ebx = POP32_VAL(esp); /* 0x2E003A1B: pop ebx */
   6303     esp = ebp; /* 0x2E003A1C: mov esp, ebp */
   6304     ebp = POP32_VAL(esp); /* 0x2E003A1E: pop ebp */
   6305     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E003A1F: ret  */
   6306 L_2E01163F:
   6307     ecx = MEM32(ebp + (-0x14)); /* 0x2E01163F: mov ecx, dword ptr [ebp - 0x14] */
   6308     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   6309     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6310     ecx = ecx + 0x138u; /* 0x2E011642: add ecx, 0x138 */
   6311     _flag_k = FK_ADD;
   6312     RECOMP_BACKEDGE();
   6313     goto L_2E0037D0; /* 0x2E011648: jmp 0x2e0037d0 */
   6314     { RECOMP_REGS_OUT(); return; } /* end of function */
   6315     RECOMP_REGS_OUT();
   6316 }
   6317 
   6318 void sub_2E01164D(void) {
   6319     int _fpu_cmp = 0;
   6320     uint32_t _cf = 0;
   6321     int _df = 1;
   6322     uint32_t _flag_k = FK_NONE;
   6323     uint32_t _flag_a = 0, _flag_b = 0;
   6324     uint32_t _itail_tgt = 0;
   6325     RECOMP_REGS_LOCALS
   6326     RECOMP_ENTER(0x2E01164Du);
   6327 
   6328     goto L_2E01164D;
   6329 L_2E004150:
   6330     PUSH32(esp, ebp); /* 0x2E004150: push ebp */
   6331     ebp = esp; /* 0x2E004151: mov ebp, esp */
   6332     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6333     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6334     esp = esp - 8; /* 0x2E004153: sub esp, 8 */
   6335     _flag_k = FK_CMP;
   6336     PUSH32(esp, ebx); /* 0x2E004156: push ebx */
   6337     PUSH32(esp, esi); /* 0x2E004157: push esi */
   6338     esi = ecx; /* 0x2E004158: mov esi, ecx */
   6339     PUSH32(esp, edi); /* 0x2E00415A: push edi */
   6340     edi = MEM32(esi + 0x4); /* 0x2E00415B: mov edi, dword ptr [esi + 4] */
   6341     ecx = MEM32(esi + 0x10); /* 0x2E00415E: mov ecx, dword ptr [esi + 0x10] */
   6342     /* test ecx, ecx */ /* 0x2E004161: test ecx, ecx */
   6343     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   6344     _cf = 0;
   6345     _flag_k = FK_TEST;
   6346     eax = MEM32(edi); /* 0x2E004163: mov eax, dword ptr [edi] */
   6347     MEM32(ebp + (-0x4)) = eax; /* 0x2E004165: mov dword ptr [ebp - 4], eax */
   6348     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004168: je 0x2e0041c7 */
   6349 L_2E00416A:
   6350     ecx = eax; /* 0x2E00416A: mov ecx, eax */
   6351     /* cmp eax, ecx */ /* 0x2E00416C: cmp eax, ecx */
   6352     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6353     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6354     _flag_k = FK_CMP;
   6355     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E00416E: jne 0x2e0041c7 */
   6356 L_2E004170:
   6357     /* cmp edi, edi */ /* 0x2E004170: cmp edi, edi */
   6358     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6359     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6360     _flag_k = FK_CMP;
   6361     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004172: jne 0x2e0041c7 */
   6362 L_2E004174:
   6363     ebx = MEM32(edi + 0x4); /* 0x2E004174: mov ebx, dword ptr [edi + 4] */
   6364     eax = MEM32(esi + 0x8); /* 0x2E004177: mov eax, dword ptr [esi + 8] */
   6365     /* cmp ebx, eax */ /* 0x2E00417A: cmp ebx, eax */
   6366     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   6367     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6368     _flag_k = FK_CMP;
   6369     edi = ebx; /* 0x2E00417C: mov edi, ebx */
   6370     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00419F; /* 0x2E00417E: je 0x2e00419f */
   6371 L_2E004180:
   6372     eax = MEM32(edi + 0x8); /* 0x2E004180: mov eax, dword ptr [edi + 8] */
   6373     ecx = esi; /* 0x2E004183: mov ecx, esi */
   6374     PUSH32(esp, eax); /* 0x2E004185: push eax */
   6375     RECOMP_ICALL(0x2E0045F0u); /* 0x2E004186: call 0x2e0045f0 */ /* not lifted */
   6376     RECOMP_FLAGS_IN();
   6377     edi = MEM32(edi); /* 0x2E00418B: mov edi, dword ptr [edi] */
   6378     PUSH32(esp, ebx); /* 0x2E00418D: push ebx */
   6379     RECOMP_ICALL(0x2E010E90u); /* 0x2E00418E: call 0x2e010e90 */ /* not lifted */
   6380     RECOMP_FLAGS_IN();
   6381     eax = MEM32(esi + 0x8); /* 0x2E004193: mov eax, dword ptr [esi + 8] */
   6382     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6383     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6384     esp = esp + 4; /* 0x2E004196: add esp, 4 */
   6385     _flag_k = FK_ADD;
   6386     /* cmp edi, eax */ /* 0x2E004199: cmp edi, eax */
   6387     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   6388     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6389     _flag_k = FK_CMP;
   6390     ebx = edi; /* 0x2E00419B: mov ebx, edi */
   6391     RECOMP_BACKEDGE();
   6392     if (CMP_NE(_flag_a, _flag_b)) goto L_2E004180; /* 0x2E00419D: jne 0x2e004180 */
   6393 L_2E00419F:
   6394     ecx = MEM32(esi + 0x4); /* 0x2E00419F: mov ecx, dword ptr [esi + 4] */
   6395     edx = MEM32(esi + 0x8); /* 0x2E0041A2: mov edx, dword ptr [esi + 8] */
   6396     MEM32(ecx + 0x4) = edx; /* 0x2E0041A5: mov dword ptr [ecx + 4], edx */
   6397     eax = MEM32(esi + 0x4); /* 0x2E0041A8: mov eax, dword ptr [esi + 4] */
   6398     MEM32(esi + 0x10) = 0; /* 0x2E0041AB: mov dword ptr [esi + 0x10], 0 */
   6399     ecx = esi; /* 0x2E0041B2: mov ecx, esi */
   6400     MEM32(eax) = eax; /* 0x2E0041B4: mov dword ptr [eax], eax */
   6401     eax = MEM32(esi + 0x4); /* 0x2E0041B6: mov eax, dword ptr [esi + 4] */
   6402     MEM32(eax + 0x8) = eax; /* 0x2E0041B9: mov dword ptr [eax + 8], eax */
   6403     eax = ebp + (-0x8); /* 0x2E0041BC: lea eax, [ebp - 8] */
   6404     PUSH32(esp, eax); /* 0x2E0041BF: push eax */
   6405     RECOMP_ICALL(0x2E004210u); /* 0x2E0041C0: call 0x2e004210 */ /* not lifted */
   6406     RECOMP_FLAGS_IN();
   6407     goto L_2E0041E8; /* 0x2E0041C5: jmp 0x2e0041e8 */
   6408 L_2E0041C7:
   6409     /* cmp eax, edi */ /* 0x2E0041C7: cmp eax, edi */
   6410     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   6411     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6412     _flag_k = FK_CMP;
   6413     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0041E8; /* 0x2E0041C9: je 0x2e0041e8 */
   6414 L_2E0041CB:
   6415     ecx = ebp + (-0x4); /* 0x2E0041CB: lea ecx, [ebp - 4] */
   6416     ebx = eax; /* 0x2E0041CE: mov ebx, eax */
   6417     RECOMP_ICALL(0x2E004630u); /* 0x2E0041D0: call 0x2e004630 */ /* not lifted */
   6418     RECOMP_FLAGS_IN();
   6419     ecx = ebp + (-0x8); /* 0x2E0041D5: lea ecx, [ebp - 8] */
   6420     PUSH32(esp, ebx); /* 0x2E0041D8: push ebx */
   6421     PUSH32(esp, ecx); /* 0x2E0041D9: push ecx */
   6422     ecx = esi; /* 0x2E0041DA: mov ecx, esi */
   6423     RECOMP_ICALL(0x2E004230u); /* 0x2E0041DC: call 0x2e004230 */ /* not lifted */
   6424     RECOMP_FLAGS_IN();
   6425     eax = MEM32(ebp + (-0x4)); /* 0x2E0041E1: mov eax, dword ptr [ebp - 4] */
   6426     /* cmp eax, edi */ /* 0x2E0041E4: cmp eax, edi */
   6427     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   6428     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6429     _flag_k = FK_CMP;
   6430     RECOMP_BACKEDGE();
   6431     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041CB; /* 0x2E0041E6: jne 0x2e0041cb */
   6432 L_2E0041E8:
   6433     edx = MEM32(esi + 0x4); /* 0x2E0041E8: mov edx, dword ptr [esi + 4] */
   6434     PUSH32(esp, edx); /* 0x2E0041EB: push edx */
   6435     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041EC: call 0x2e010e90 */ /* not lifted */
   6436     RECOMP_FLAGS_IN();
   6437     eax = MEM32(esi + 0x8); /* 0x2E0041F1: mov eax, dword ptr [esi + 8] */
   6438     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6439     edi = 0; /* 0x2E0041F4: xor edi, edi */
   6440     _cf = 0;
   6441     _flag_k = FK_TEST;
   6442     PUSH32(esp, eax); /* 0x2E0041F6: push eax */
   6443     MEM32(esi + 0x4) = edi; /* 0x2E0041F7: mov dword ptr [esi + 4], edi */
   6444     MEM32(esi + 0x10) = edi; /* 0x2E0041FA: mov dword ptr [esi + 0x10], edi */
   6445     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041FD: call 0x2e010e90 */ /* not lifted */
   6446     RECOMP_FLAGS_IN();
   6447     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6448     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6449     esp = esp + 8; /* 0x2E004202: add esp, 8 */
   6450     _flag_k = FK_ADD;
   6451     MEM32(esi + 0x8) = edi; /* 0x2E004205: mov dword ptr [esi + 8], edi */
   6452     edi = POP32_VAL(esp); /* 0x2E004208: pop edi */
   6453     esi = POP32_VAL(esp); /* 0x2E004209: pop esi */
   6454     ebx = POP32_VAL(esp); /* 0x2E00420A: pop ebx */
   6455     esp = ebp; /* 0x2E00420B: mov esp, ebp */
   6456     ebp = POP32_VAL(esp); /* 0x2E00420D: pop ebp */
   6457     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00420E: ret  */
   6458 L_2E01164D:
   6459     ecx = MEM32(ebp + (-0x14)); /* 0x2E01164D: mov ecx, dword ptr [ebp - 0x14] */
   6460     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x244u);
   6461     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6462     ecx = ecx + 0x244u; /* 0x2E011650: add ecx, 0x244 */
   6463     _flag_k = FK_ADD;
   6464     RECOMP_BACKEDGE();
   6465     goto L_2E004150; /* 0x2E011656: jmp 0x2e004150 */
   6466     { RECOMP_REGS_OUT(); return; } /* end of function */
   6467     RECOMP_REGS_OUT();
   6468 }
   6469 
   6470 void sub_2E01165B(void) {
   6471     int _fpu_cmp = 0;
   6472     uint32_t _cf = 0;
   6473     int _df = 1;
   6474     uint32_t _flag_k = FK_NONE;
   6475     uint32_t _flag_a = 0, _flag_b = 0;
   6476     uint32_t _itail_tgt = 0;
   6477     RECOMP_REGS_LOCALS
   6478     RECOMP_ENTER(0x2E01165Bu);
   6479 
   6480 L_2E01165B:
   6481     PUSH32(esp, 0x2E0037D0u); /* 0x2E01165B: push 0x2e0037d0 */
   6482     PUSH32(esp, 5); /* 0x2E011660: push 5 */
   6483     PUSH32(esp, 0x100u); /* 0x2E011662: push 0x100 */
   6484     eax = MEM32(ebp + (-0x14)); /* 0x2E011667: mov eax, dword ptr [ebp - 0x14] */
   6485     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x268u);
   6486     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6487     eax = eax + 0x268u; /* 0x2E01166A: add eax, 0x268 */
   6488     _flag_k = FK_ADD;
   6489     PUSH32(esp, eax); /* 0x2E01166F: push eax */
   6490     RECOMP_ICALL(0x2E010EB0u); /* 0x2E011670: call 0x2e010eb0 */ /* not lifted */
   6491     RECOMP_FLAGS_IN();
   6492     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E011675: ret  */
   6493     RECOMP_REGS_OUT();
   6494 }
   6495 
   6496 void sub_2E011676(void) {
   6497     int _fpu_cmp = 0;
   6498     uint32_t _cf = 0;
   6499     int _df = 1;
   6500     uint32_t _flag_k = FK_NONE;
   6501     uint32_t _flag_a = 0, _flag_b = 0;
   6502     uint32_t _itail_tgt = 0;
   6503     RECOMP_REGS_LOCALS
   6504     RECOMP_ENTER(0x2E011676u);
   6505 
   6506 L_2E011676:
   6507     ecx = MEM32(ebp + (-0x14)); /* 0x2E011676: mov ecx, dword ptr [ebp - 0x14] */
   6508 L_2E011679:
   6509     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x76Cu);
   6510     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6511     ecx = ecx + 0x76Cu; /* 0x2E011679: add ecx, 0x76c */
   6512     _flag_k = FK_ADD;
   6513 L_2E01167F:
   6514     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
   6515     { RECOMP_REGS_OUT(); return; } /* end of function */
   6516   _ljump:
   6517     switch (_itail_tgt) {
   6518       case 0x2E011676u: goto L_2E011676;
   6519       case 0x2E011679u: goto L_2E011679;
   6520       case 0x2E01167Fu: goto L_2E01167F;
   6521       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6522     }
   6523     RECOMP_REGS_OUT();
   6524 }
   6525 
   6526 void sub_2E011685(void) {
   6527     int _fpu_cmp = 0;
   6528     uint32_t _cf = 0;
   6529     int _df = 1;
   6530     uint32_t _flag_k = FK_NONE;
   6531     uint32_t _flag_a = 0, _flag_b = 0;
   6532     uint32_t _itail_tgt = 0;
   6533     RECOMP_REGS_LOCALS
   6534     RECOMP_ENTER(0x2E011685u);
   6535 
   6536     goto L_2E011685;
   6537 L_2E010EA2:
   6538     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   6539 L_2E011685:
   6540     eax = 0x2E0134D0u; /* 0x2E011685: mov eax, 0x2e0134d0 */
   6541 L_2E01168A:
   6542     RECOMP_BACKEDGE();
   6543     goto L_2E010EA2; /* 0x2E01168A: jmp 0x2e010ea2 */
   6544     { RECOMP_REGS_OUT(); return; } /* end of function */
   6545   _ljump:
   6546     switch (_itail_tgt) {
   6547       case 0x2E010EA2u: goto L_2E010EA2;
   6548       case 0x2E011685u: goto L_2E011685;
   6549       case 0x2E01168Au: goto L_2E01168A;
   6550       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6551     }
   6552     RECOMP_REGS_OUT();
   6553 }
   6554 
   6555 void sub_2E011690(void) {
   6556     int _fpu_cmp = 0;
   6557     uint32_t _cf = 0;
   6558     int _df = 1;
   6559     uint32_t _flag_k = FK_NONE;
   6560     uint32_t _flag_a = 0, _flag_b = 0;
   6561     uint32_t _itail_tgt = 0;
   6562     RECOMP_REGS_LOCALS
   6563     RECOMP_ENTER(0x2E011690u);
   6564 
   6565     goto L_2E011690;
   6566 L_2E0037D0:
   6567     PUSH32(esp, ebp); /* 0x2E0037D0: push ebp */
   6568     ebp = esp; /* 0x2E0037D1: mov ebp, esp */
   6569     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0037D3: push -1 */
   6570     PUSH32(esp, 0x2E011543u); /* 0x2E0037D5: push 0x2e011543 */
   6571     eax = MEM32(FS_BASE + (0)); /* 0x2E0037DA: mov eax, dword ptr fs:[0] */
   6572     PUSH32(esp, eax); /* 0x2E0037E0: push eax */
   6573     MEM32(FS_BASE + (0)) = esp; /* 0x2E0037E1: mov dword ptr fs:[0], esp */
   6574     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
   6575     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6576     esp = esp - 0x18u; /* 0x2E0037E8: sub esp, 0x18 */
   6577     _flag_k = FK_CMP;
   6578     PUSH32(esp, ebx); /* 0x2E0037EB: push ebx */
   6579     PUSH32(esp, esi); /* 0x2E0037EC: push esi */
   6580     PUSH32(esp, edi); /* 0x2E0037ED: push edi */
   6581     edi = ecx; /* 0x2E0037EE: mov edi, ecx */
   6582     MEM32(ebp + (-0x14)) = edi; /* 0x2E0037F0: mov dword ptr [ebp - 0x14], edi */
   6583     MEM32(edi) = 0x2E012264u; /* 0x2E0037F3: mov dword ptr [edi], 0x2e012264 */
   6584     ebx = edi + 0x50; /* 0x2E0037F9: lea ebx, [edi + 0x50] */
   6585     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6586     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6587     esp = esp - 0x10u; /* 0x2E0037FC: sub esp, 0x10 */
   6588     _flag_k = FK_CMP;
   6589     ecx = esp; /* 0x2E0037FF: mov ecx, esp */
   6590     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6591     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6592     esp = esp - 0x10u; /* 0x2E003801: sub esp, 0x10 */
   6593     _flag_k = FK_CMP;
   6594     eax = ebx + 0x14; /* 0x2E003804: lea eax, [ebx + 0x14] */
   6595     MEM32(ebp + (-0x4)) = 3; /* 0x2E003807: mov dword ptr [ebp - 4], 3 */
   6596     edx = MEM32(eax); /* 0x2E00380E: mov edx, dword ptr [eax] */
   6597     MEM32(ecx) = edx; /* 0x2E003810: mov dword ptr [ecx], edx */
   6598     edx = MEM32(eax + 0x4); /* 0x2E003812: mov edx, dword ptr [eax + 4] */
   6599     MEM32(ecx + 0x4) = edx; /* 0x2E003815: mov dword ptr [ecx + 4], edx */
   6600     edx = MEM32(eax + 0x8); /* 0x2E003818: mov edx, dword ptr [eax + 8] */
   6601     MEM32(ecx + 0x8) = edx; /* 0x2E00381B: mov dword ptr [ecx + 8], edx */
   6602     edx = esp; /* 0x2E00381E: mov edx, esp */
   6603     eax = MEM32(eax + 0xC); /* 0x2E003820: mov eax, dword ptr [eax + 0xc] */
   6604     MEM32(ecx + 0xC) = eax; /* 0x2E003823: mov dword ptr [ecx + 0xc], eax */
   6605     ecx = ebx + 0x4; /* 0x2E003826: lea ecx, [ebx + 4] */
   6606     eax = MEM32(ebx + 0x4); /* 0x2E003829: mov eax, dword ptr [ebx + 4] */
   6607     MEM32(edx) = eax; /* 0x2E00382C: mov dword ptr [edx], eax */
   6608     eax = MEM32(ecx + 0x4); /* 0x2E00382E: mov eax, dword ptr [ecx + 4] */
   6609     MEM32(edx + 0x4) = eax; /* 0x2E003831: mov dword ptr [edx + 4], eax */
   6610     eax = MEM32(ecx + 0x8); /* 0x2E003834: mov eax, dword ptr [ecx + 8] */
   6611     MEM32(edx + 0x8) = eax; /* 0x2E003837: mov dword ptr [edx + 8], eax */
   6612     ecx = MEM32(ecx + 0xC); /* 0x2E00383A: mov ecx, dword ptr [ecx + 0xc] */
   6613     MEM32(edx + 0xC) = ecx; /* 0x2E00383D: mov dword ptr [edx + 0xc], ecx */
   6614     edx = ebp + (-0x24); /* 0x2E003840: lea edx, [ebp - 0x24] */
   6615     PUSH32(esp, edx); /* 0x2E003843: push edx */
   6616     ecx = ebx; /* 0x2E003844: mov ecx, ebx */
   6617     RECOMP_ICALL(0x2E003B30u); /* 0x2E003846: call 0x2e003b30 */ /* not lifted */
   6618     RECOMP_FLAGS_IN();
   6619     esi = edi + 0x80; /* 0x2E00384B: lea esi, [edi + 0x80] */
   6620     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6621     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6622     esp = esp - 0x10u; /* 0x2E003851: sub esp, 0x10 */
   6623     _flag_k = FK_CMP;
   6624     ecx = esp; /* 0x2E003854: mov ecx, esp */
   6625     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6626     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6627     esp = esp - 0x10u; /* 0x2E003856: sub esp, 0x10 */
   6628     _flag_k = FK_CMP;
   6629     eax = esi + 0x14; /* 0x2E003859: lea eax, [esi + 0x14] */
   6630     edx = MEM32(esi + 0x14); /* 0x2E00385C: mov edx, dword ptr [esi + 0x14] */
   6631     MEM32(ecx) = edx; /* 0x2E00385F: mov dword ptr [ecx], edx */
   6632     edx = MEM32(eax + 0x4); /* 0x2E003861: mov edx, dword ptr [eax + 4] */
   6633     MEM32(ecx + 0x4) = edx; /* 0x2E003864: mov dword ptr [ecx + 4], edx */
   6634     edx = MEM32(eax + 0x8); /* 0x2E003867: mov edx, dword ptr [eax + 8] */
   6635     MEM32(ecx + 0x8) = edx; /* 0x2E00386A: mov dword ptr [ecx + 8], edx */
   6636     edx = esp; /* 0x2E00386D: mov edx, esp */
   6637     eax = MEM32(eax + 0xC); /* 0x2E00386F: mov eax, dword ptr [eax + 0xc] */
   6638     MEM32(ecx + 0xC) = eax; /* 0x2E003872: mov dword ptr [ecx + 0xc], eax */
   6639     ecx = esi + 0x4; /* 0x2E003875: lea ecx, [esi + 4] */
   6640     eax = MEM32(esi + 0x4); /* 0x2E003878: mov eax, dword ptr [esi + 4] */
   6641     MEM32(edx) = eax; /* 0x2E00387B: mov dword ptr [edx], eax */
   6642     eax = MEM32(ecx + 0x4); /* 0x2E00387D: mov eax, dword ptr [ecx + 4] */
   6643     MEM32(edx + 0x4) = eax; /* 0x2E003880: mov dword ptr [edx + 4], eax */
   6644     eax = MEM32(ecx + 0x8); /* 0x2E003883: mov eax, dword ptr [ecx + 8] */
   6645     MEM32(edx + 0x8) = eax; /* 0x2E003886: mov dword ptr [edx + 8], eax */
   6646     ecx = MEM32(ecx + 0xC); /* 0x2E003889: mov ecx, dword ptr [ecx + 0xc] */
   6647     MEM32(edx + 0xC) = ecx; /* 0x2E00388C: mov dword ptr [edx + 0xc], ecx */
   6648     edx = ebp + (-0x24); /* 0x2E00388F: lea edx, [ebp - 0x24] */
   6649     PUSH32(esp, edx); /* 0x2E003892: push edx */
   6650     ecx = esi; /* 0x2E003893: mov ecx, esi */
   6651     RECOMP_ICALL(0x2E003B30u); /* 0x2E003895: call 0x2e003b30 */ /* not lifted */
   6652     RECOMP_FLAGS_IN();
   6653     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xB0u);
   6654     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6655     edi = edi + 0xB0u; /* 0x2E00389A: add edi, 0xb0 */
   6656     _flag_k = FK_ADD;
   6657     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6658     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6659     esp = esp - 0x10u; /* 0x2E0038A0: sub esp, 0x10 */
   6660     _flag_k = FK_CMP;
   6661     ecx = esp; /* 0x2E0038A3: mov ecx, esp */
   6662     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6663     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6664     esp = esp - 0x10u; /* 0x2E0038A5: sub esp, 0x10 */
   6665     _flag_k = FK_CMP;
   6666     eax = edi + 0x14; /* 0x2E0038A8: lea eax, [edi + 0x14] */
   6667     edx = MEM32(edi + 0x14); /* 0x2E0038AB: mov edx, dword ptr [edi + 0x14] */
   6668     MEM32(ecx) = edx; /* 0x2E0038AE: mov dword ptr [ecx], edx */
   6669     edx = MEM32(eax + 0x4); /* 0x2E0038B0: mov edx, dword ptr [eax + 4] */
   6670     MEM32(ecx + 0x4) = edx; /* 0x2E0038B3: mov dword ptr [ecx + 4], edx */
   6671     edx = MEM32(eax + 0x8); /* 0x2E0038B6: mov edx, dword ptr [eax + 8] */
   6672     MEM32(ecx + 0x8) = edx; /* 0x2E0038B9: mov dword ptr [ecx + 8], edx */
   6673     edx = esp; /* 0x2E0038BC: mov edx, esp */
   6674     eax = MEM32(eax + 0xC); /* 0x2E0038BE: mov eax, dword ptr [eax + 0xc] */
   6675     MEM32(ecx + 0xC) = eax; /* 0x2E0038C1: mov dword ptr [ecx + 0xc], eax */
   6676     ecx = edi + 0x4; /* 0x2E0038C4: lea ecx, [edi + 4] */
   6677     eax = MEM32(edi + 0x4); /* 0x2E0038C7: mov eax, dword ptr [edi + 4] */
   6678     MEM32(edx) = eax; /* 0x2E0038CA: mov dword ptr [edx], eax */
   6679     eax = MEM32(ecx + 0x4); /* 0x2E0038CC: mov eax, dword ptr [ecx + 4] */
   6680     MEM32(edx + 0x4) = eax; /* 0x2E0038CF: mov dword ptr [edx + 4], eax */
   6681     eax = MEM32(ecx + 0x8); /* 0x2E0038D2: mov eax, dword ptr [ecx + 8] */
   6682     ecx = MEM32(ecx + 0xC); /* 0x2E0038D5: mov ecx, dword ptr [ecx + 0xc] */
   6683     MEM32(edx + 0x8) = eax; /* 0x2E0038D8: mov dword ptr [edx + 8], eax */
   6684     MEM32(edx + 0xC) = ecx; /* 0x2E0038DB: mov dword ptr [edx + 0xc], ecx */
   6685     edx = ebp + (-0x24); /* 0x2E0038DE: lea edx, [ebp - 0x24] */
   6686     PUSH32(esp, edx); /* 0x2E0038E1: push edx */
   6687     ecx = edi; /* 0x2E0038E2: mov ecx, edi */
   6688     RECOMP_ICALL(0x2E003B30u); /* 0x2E0038E4: call 0x2e003b30 */ /* not lifted */
   6689     RECOMP_FLAGS_IN();
   6690     eax = MEM32(edi + 0x2C); /* 0x2E0038E9: mov eax, dword ptr [edi + 0x2c] */
   6691     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E0038EC: mov byte ptr [ebp - 4], 2 */
   6692     /* test eax, eax */ /* 0x2E0038F0: test eax, eax */
   6693     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6694     _cf = 0;
   6695     _flag_k = FK_TEST;
   6696     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00393D; /* 0x2E0038F2: je 0x2e00393d */
   6697 L_2E0038F4:
   6698     eax = MEM32(edi + 0x10); /* 0x2E0038F4: mov eax, dword ptr [edi + 0x10] */
   6699     ecx = edi + 0x4; /* 0x2E0038F7: lea ecx, [edi + 4] */
   6700     MEM32(ebp + (-0x10)) = eax; /* 0x2E0038FA: mov dword ptr [ebp - 0x10], eax */
   6701     RECOMP_ICALL(0x2E003A80u); /* 0x2E0038FD: call 0x2e003a80 */ /* not lifted */
   6702     RECOMP_FLAGS_IN();
   6703     ecx = MEM32(edi + 0x2C); /* 0x2E003902: mov ecx, dword ptr [edi + 0x2c] */
   6704     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   6705     ecx = ecx - 1; /* 0x2E003905: dec ecx */
   6706     _flag_k = FK_DEC;
   6707     eax = ecx; /* 0x2E003906: mov eax, ecx */
   6708     MEM32(edi + 0x2C) = ecx; /* 0x2E003908: mov dword ptr [edi + 0x2c], ecx */
   6709     /* test eax, eax */ /* 0x2E00390B: test eax, eax */
   6710     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6711     _cf = 0;
   6712     _flag_k = FK_TEST;
   6713     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003918; /* 0x2E00390D: jne 0x2e003918 */
   6714 L_2E00390F:
   6715     ecx = edi; /* 0x2E00390F: mov ecx, edi */
   6716     RECOMP_ICALL(0x2E003A20u); /* 0x2E003911: call 0x2e003a20 */ /* not lifted */
   6717     RECOMP_FLAGS_IN();
   6718     goto L_2E003936; /* 0x2E003916: jmp 0x2e003936 */
   6719 L_2E003918:
   6720     eax = MEM32(ebp + (-0x10)); /* 0x2E003918: mov eax, dword ptr [ebp - 0x10] */
   6721     ecx = MEM32(edi + 0x10); /* 0x2E00391B: mov ecx, dword ptr [edi + 0x10] */
   6722     /* cmp eax, ecx */ /* 0x2E00391E: cmp eax, ecx */
   6723     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6724     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6725     _flag_k = FK_CMP;
   6726     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003936; /* 0x2E003920: je 0x2e003936 */
   6727 L_2E003922:
   6728     eax = MEM32(eax); /* 0x2E003922: mov eax, dword ptr [eax] */
   6729     PUSH32(esp, eax); /* 0x2E003924: push eax */
   6730     RECOMP_ICALL(0x2E010E90u); /* 0x2E003925: call 0x2e010e90 */ /* not lifted */
   6731     RECOMP_FLAGS_IN();
   6732     ecx = MEM32(ebp + (-0x10)); /* 0x2E00392A: mov ecx, dword ptr [ebp - 0x10] */
   6733     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6734     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6735     esp = esp + 4; /* 0x2E00392D: add esp, 4 */
   6736     _flag_k = FK_ADD;
   6737     MEM32(ecx) = 0; /* 0x2E003930: mov dword ptr [ecx], 0 */
   6738 L_2E003936:
   6739     eax = MEM32(edi + 0x2C); /* 0x2E003936: mov eax, dword ptr [edi + 0x2c] */
   6740     /* test eax, eax */ /* 0x2E003939: test eax, eax */
   6741     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6742     _cf = 0;
   6743     _flag_k = FK_TEST;
   6744     RECOMP_BACKEDGE();
   6745     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0038F4; /* 0x2E00393B: jne 0x2e0038f4 */
   6746 L_2E00393D:
   6747     eax = MEM32(esi + 0x2C); /* 0x2E00393D: mov eax, dword ptr [esi + 0x2c] */
   6748     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E003940: mov byte ptr [ebp - 4], 1 */
   6749     /* test eax, eax */ /* 0x2E003944: test eax, eax */
   6750     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6751     _cf = 0;
   6752     _flag_k = FK_TEST;
   6753     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039B3; /* 0x2E003946: je 0x2e0039b3 */
   6754 L_2E003948:
   6755     eax = MEM32(esi + 0xC); /* 0x2E003948: mov eax, dword ptr [esi + 0xc] */
   6756     ecx = MEM32(esi + 0x8); /* 0x2E00394B: mov ecx, dword ptr [esi + 8] */
   6757     edi = MEM32(esi + 0x10); /* 0x2E00394E: mov edi, dword ptr [esi + 0x10] */
   6758     /* cmp eax, ecx */ /* 0x2E003951: cmp eax, ecx */
   6759     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6760     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6761     _flag_k = FK_CMP;
   6762     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003953: je 0x2e003980 */
   6763 L_2E003955:
   6764     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   6765     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6766     eax = eax + 4; /* 0x2E003955: add eax, 4 */
   6767     _flag_k = FK_ADD;
   6768     /* cmp eax, ecx */ /* 0x2E003958: cmp eax, ecx */
   6769     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6770     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6771     _flag_k = FK_CMP;
   6772     MEM32(esi + 0xC) = eax; /* 0x2E00395A: mov dword ptr [esi + 0xc], eax */
   6773     if (CMP_NE(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E00395D: jne 0x2e003980 */
   6774 L_2E00395F:
   6775     eax = MEM32(esi + 0x10); /* 0x2E00395F: mov eax, dword ptr [esi + 0x10] */
   6776     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   6777     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6778     eax = eax + 4; /* 0x2E003962: add eax, 4 */
   6779     _flag_k = FK_ADD;
   6780     /* cmp MEM32(eax), 0 */ /* 0x2E003965: cmp dword ptr [eax], 0 */
   6781     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   6782     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6783     _flag_k = FK_CMP;
   6784     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003968: je 0x2e003980 */
   6785 L_2E00396A:
   6786     MEM32(esi + 0x10) = eax; /* 0x2E00396A: mov dword ptr [esi + 0x10], eax */
   6787     eax = MEM32(eax); /* 0x2E00396D: mov eax, dword ptr [eax] */
   6788     MEM32(esi + 0x4) = eax; /* 0x2E00396F: mov dword ptr [esi + 4], eax */
   6789     edx = MEM32(esi + 0x4); /* 0x2E003972: mov edx, dword ptr [esi + 4] */
   6790     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   6791     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6792     eax = eax + 0x1000u; /* 0x2E003975: add eax, 0x1000 */
   6793     _flag_k = FK_ADD;
   6794     MEM32(esi + 0xC) = edx; /* 0x2E00397A: mov dword ptr [esi + 0xc], edx */
   6795     MEM32(esi + 0x8) = eax; /* 0x2E00397D: mov dword ptr [esi + 8], eax */
   6796 L_2E003980:
   6797     ecx = MEM32(esi + 0x2C); /* 0x2E003980: mov ecx, dword ptr [esi + 0x2c] */
   6798     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   6799     ecx = ecx - 1; /* 0x2E003983: dec ecx */
   6800     _flag_k = FK_DEC;
   6801     eax = ecx; /* 0x2E003984: mov eax, ecx */
   6802     MEM32(esi + 0x2C) = ecx; /* 0x2E003986: mov dword ptr [esi + 0x2c], ecx */
   6803     /* test eax, eax */ /* 0x2E003989: test eax, eax */
   6804     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6805     _cf = 0;
   6806     _flag_k = FK_TEST;
   6807     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003996; /* 0x2E00398B: jne 0x2e003996 */
   6808 L_2E00398D:
   6809     ecx = esi; /* 0x2E00398D: mov ecx, esi */
   6810     RECOMP_ICALL(0x2E003A20u); /* 0x2E00398F: call 0x2e003a20 */ /* not lifted */
   6811     RECOMP_FLAGS_IN();
   6812     goto L_2E0039AC; /* 0x2E003994: jmp 0x2e0039ac */
   6813 L_2E003996:
   6814     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E003996: cmp edi, dword ptr [esi + 0x10] */
   6815     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   6816     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6817     _flag_k = FK_CMP;
   6818     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039AC; /* 0x2E003999: je 0x2e0039ac */
   6819 L_2E00399B:
   6820     eax = MEM32(edi); /* 0x2E00399B: mov eax, dword ptr [edi] */
   6821     PUSH32(esp, eax); /* 0x2E00399D: push eax */
   6822     RECOMP_ICALL(0x2E010E90u); /* 0x2E00399E: call 0x2e010e90 */ /* not lifted */
   6823     RECOMP_FLAGS_IN();
   6824     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6825     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6826     esp = esp + 4; /* 0x2E0039A3: add esp, 4 */
   6827     _flag_k = FK_ADD;
   6828     MEM32(edi) = 0; /* 0x2E0039A6: mov dword ptr [edi], 0 */
   6829 L_2E0039AC:
   6830     eax = MEM32(esi + 0x2C); /* 0x2E0039AC: mov eax, dword ptr [esi + 0x2c] */
   6831     /* test eax, eax */ /* 0x2E0039AF: test eax, eax */
   6832     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6833     _cf = 0;
   6834     _flag_k = FK_TEST;
   6835     RECOMP_BACKEDGE();
   6836     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003948; /* 0x2E0039B1: jne 0x2e003948 */
   6837 L_2E0039B3:
   6838     eax = MEM32(ebx + 0x2C); /* 0x2E0039B3: mov eax, dword ptr [ebx + 0x2c] */
   6839     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2E0039B6: mov byte ptr [ebp - 4], 0 */
   6840     /* test eax, eax */ /* 0x2E0039BA: test eax, eax */
   6841     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6842     _cf = 0;
   6843     _flag_k = FK_TEST;
   6844     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039FC; /* 0x2E0039BC: je 0x2e0039fc */
   6845 L_2E0039BE:
   6846     esi = MEM32(ebx + 0x10); /* 0x2E0039BE: mov esi, dword ptr [ebx + 0x10] */
   6847     ecx = ebx + 0x4; /* 0x2E0039C1: lea ecx, [ebx + 4] */
   6848     RECOMP_ICALL(0x2E003A80u); /* 0x2E0039C4: call 0x2e003a80 */ /* not lifted */
   6849     RECOMP_FLAGS_IN();
   6850     ecx = MEM32(ebx + 0x2C); /* 0x2E0039C9: mov ecx, dword ptr [ebx + 0x2c] */
   6851     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   6852     ecx = ecx - 1; /* 0x2E0039CC: dec ecx */
   6853     _flag_k = FK_DEC;
   6854     eax = ecx; /* 0x2E0039CD: mov eax, ecx */
   6855     MEM32(ebx + 0x2C) = ecx; /* 0x2E0039CF: mov dword ptr [ebx + 0x2c], ecx */
   6856     /* test eax, eax */ /* 0x2E0039D2: test eax, eax */
   6857     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6858     _cf = 0;
   6859     _flag_k = FK_TEST;
   6860     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039DF; /* 0x2E0039D4: jne 0x2e0039df */
   6861 L_2E0039D6:
   6862     ecx = ebx; /* 0x2E0039D6: mov ecx, ebx */
   6863     RECOMP_ICALL(0x2E003A20u); /* 0x2E0039D8: call 0x2e003a20 */ /* not lifted */
   6864     RECOMP_FLAGS_IN();
   6865     goto L_2E0039F5; /* 0x2E0039DD: jmp 0x2e0039f5 */
   6866 L_2E0039DF:
   6867     /* cmp esi, MEM32(ebx + 0x10) */ /* 0x2E0039DF: cmp esi, dword ptr [ebx + 0x10] */
   6868     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x10));
   6869     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6870     _flag_k = FK_CMP;
   6871     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039F5; /* 0x2E0039E2: je 0x2e0039f5 */
   6872 L_2E0039E4:
   6873     eax = MEM32(esi); /* 0x2E0039E4: mov eax, dword ptr [esi] */
   6874     PUSH32(esp, eax); /* 0x2E0039E6: push eax */
   6875     RECOMP_ICALL(0x2E010E90u); /* 0x2E0039E7: call 0x2e010e90 */ /* not lifted */
   6876     RECOMP_FLAGS_IN();
   6877     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6878     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6879     esp = esp + 4; /* 0x2E0039EC: add esp, 4 */
   6880     _flag_k = FK_ADD;
   6881     MEM32(esi) = 0; /* 0x2E0039EF: mov dword ptr [esi], 0 */
   6882 L_2E0039F5:
   6883     eax = MEM32(ebx + 0x2C); /* 0x2E0039F5: mov eax, dword ptr [ebx + 0x2c] */
   6884     /* test eax, eax */ /* 0x2E0039F8: test eax, eax */
   6885     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6886     _cf = 0;
   6887     _flag_k = FK_TEST;
   6888     RECOMP_BACKEDGE();
   6889     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039BE; /* 0x2E0039FA: jne 0x2e0039be */
   6890 L_2E0039FC:
   6891     eax = MEM32(ebp + (-0x14)); /* 0x2E0039FC: mov eax, dword ptr [ebp - 0x14] */
   6892     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0039FF: mov dword ptr [ebp - 4], 0xffffffff */
   6893     ecx = eax + 0x4; /* 0x2E003A06: lea ecx, [eax + 4] */
   6894     RECOMP_ICALL(MEM32(0x2E0121C8)); /* 0x2E003A09: call dword ptr [0x2e0121c8] */
   6895     RECOMP_FLAGS_IN();
   6896     ecx = MEM32(ebp + (-0xC)); /* 0x2E003A0F: mov ecx, dword ptr [ebp - 0xc] */
   6897     edi = POP32_VAL(esp); /* 0x2E003A12: pop edi */
   6898     esi = POP32_VAL(esp); /* 0x2E003A13: pop esi */
   6899     MEM32(FS_BASE + (0)) = ecx; /* 0x2E003A14: mov dword ptr fs:[0], ecx */
   6900     ebx = POP32_VAL(esp); /* 0x2E003A1B: pop ebx */
   6901     esp = ebp; /* 0x2E003A1C: mov esp, ebp */
   6902     ebp = POP32_VAL(esp); /* 0x2E003A1E: pop ebp */
   6903     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E003A1F: ret  */
   6904 L_2E011690:
   6905     ecx = MEM32(ebp + (-0x10)); /* 0x2E011690: mov ecx, dword ptr [ebp - 0x10] */
   6906     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
   6907     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6908     ecx = ecx + 0x18u; /* 0x2E011693: add ecx, 0x18 */
   6909     _flag_k = FK_ADD;
   6910     RECOMP_BACKEDGE();
   6911     goto L_2E0037D0; /* 0x2E011696: jmp 0x2e0037d0 */
   6912     { RECOMP_REGS_OUT(); return; } /* end of function */
   6913     RECOMP_REGS_OUT();
   6914 }
   6915 
   6916 void sub_2E01169B(void) {
   6917     int _fpu_cmp = 0;
   6918     uint32_t _cf = 0;
   6919     int _df = 1;
   6920     uint32_t _flag_k = FK_NONE;
   6921     uint32_t _flag_a = 0, _flag_b = 0;
   6922     uint32_t _itail_tgt = 0;
   6923     RECOMP_REGS_LOCALS
   6924     RECOMP_ENTER(0x2E01169Bu);
   6925 
   6926     goto L_2E01169B;
   6927 L_2E004150:
   6928     PUSH32(esp, ebp); /* 0x2E004150: push ebp */
   6929     ebp = esp; /* 0x2E004151: mov ebp, esp */
   6930     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6932     esp = esp - 8; /* 0x2E004153: sub esp, 8 */
   6933     _flag_k = FK_CMP;
   6934     PUSH32(esp, ebx); /* 0x2E004156: push ebx */
   6935     PUSH32(esp, esi); /* 0x2E004157: push esi */
   6936     esi = ecx; /* 0x2E004158: mov esi, ecx */
   6937     PUSH32(esp, edi); /* 0x2E00415A: push edi */
   6938     edi = MEM32(esi + 0x4); /* 0x2E00415B: mov edi, dword ptr [esi + 4] */
   6939     ecx = MEM32(esi + 0x10); /* 0x2E00415E: mov ecx, dword ptr [esi + 0x10] */
   6940     /* test ecx, ecx */ /* 0x2E004161: test ecx, ecx */
   6941     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   6942     _cf = 0;
   6943     _flag_k = FK_TEST;
   6944     eax = MEM32(edi); /* 0x2E004163: mov eax, dword ptr [edi] */
   6945     MEM32(ebp + (-0x4)) = eax; /* 0x2E004165: mov dword ptr [ebp - 4], eax */
   6946     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004168: je 0x2e0041c7 */
   6947 L_2E00416A:
   6948     ecx = eax; /* 0x2E00416A: mov ecx, eax */
   6949     /* cmp eax, ecx */ /* 0x2E00416C: cmp eax, ecx */
   6950     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6951     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6952     _flag_k = FK_CMP;
   6953     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E00416E: jne 0x2e0041c7 */
   6954 L_2E004170:
   6955     /* cmp edi, edi */ /* 0x2E004170: cmp edi, edi */
   6956     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6957     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6958     _flag_k = FK_CMP;
   6959     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004172: jne 0x2e0041c7 */
   6960 L_2E004174:
   6961     ebx = MEM32(edi + 0x4); /* 0x2E004174: mov ebx, dword ptr [edi + 4] */
   6962     eax = MEM32(esi + 0x8); /* 0x2E004177: mov eax, dword ptr [esi + 8] */
   6963     /* cmp ebx, eax */ /* 0x2E00417A: cmp ebx, eax */
   6964     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   6965     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6966     _flag_k = FK_CMP;
   6967     edi = ebx; /* 0x2E00417C: mov edi, ebx */
   6968     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00419F; /* 0x2E00417E: je 0x2e00419f */
   6969 L_2E004180:
   6970     eax = MEM32(edi + 0x8); /* 0x2E004180: mov eax, dword ptr [edi + 8] */
   6971     ecx = esi; /* 0x2E004183: mov ecx, esi */
   6972     PUSH32(esp, eax); /* 0x2E004185: push eax */
   6973     RECOMP_ICALL(0x2E0045F0u); /* 0x2E004186: call 0x2e0045f0 */ /* not lifted */
   6974     RECOMP_FLAGS_IN();
   6975     edi = MEM32(edi); /* 0x2E00418B: mov edi, dword ptr [edi] */
   6976     PUSH32(esp, ebx); /* 0x2E00418D: push ebx */
   6977     RECOMP_ICALL(0x2E010E90u); /* 0x2E00418E: call 0x2e010e90 */ /* not lifted */
   6978     RECOMP_FLAGS_IN();
   6979     eax = MEM32(esi + 0x8); /* 0x2E004193: mov eax, dword ptr [esi + 8] */
   6980     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6981     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6982     esp = esp + 4; /* 0x2E004196: add esp, 4 */
   6983     _flag_k = FK_ADD;
   6984     /* cmp edi, eax */ /* 0x2E004199: cmp edi, eax */
   6985     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   6986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6987     _flag_k = FK_CMP;
   6988     ebx = edi; /* 0x2E00419B: mov ebx, edi */
   6989     RECOMP_BACKEDGE();
   6990     if (CMP_NE(_flag_a, _flag_b)) goto L_2E004180; /* 0x2E00419D: jne 0x2e004180 */
   6991 L_2E00419F:
   6992     ecx = MEM32(esi + 0x4); /* 0x2E00419F: mov ecx, dword ptr [esi + 4] */
   6993     edx = MEM32(esi + 0x8); /* 0x2E0041A2: mov edx, dword ptr [esi + 8] */
   6994     MEM32(ecx + 0x4) = edx; /* 0x2E0041A5: mov dword ptr [ecx + 4], edx */
   6995     eax = MEM32(esi + 0x4); /* 0x2E0041A8: mov eax, dword ptr [esi + 4] */
   6996     MEM32(esi + 0x10) = 0; /* 0x2E0041AB: mov dword ptr [esi + 0x10], 0 */
   6997     ecx = esi; /* 0x2E0041B2: mov ecx, esi */
   6998     MEM32(eax) = eax; /* 0x2E0041B4: mov dword ptr [eax], eax */
   6999     eax = MEM32(esi + 0x4); /* 0x2E0041B6: mov eax, dword ptr [esi + 4] */
   7000     MEM32(eax + 0x8) = eax; /* 0x2E0041B9: mov dword ptr [eax + 8], eax */
   7001     eax = ebp + (-0x8); /* 0x2E0041BC: lea eax, [ebp - 8] */
   7002     PUSH32(esp, eax); /* 0x2E0041BF: push eax */
   7003     RECOMP_ICALL(0x2E004210u); /* 0x2E0041C0: call 0x2e004210 */ /* not lifted */
   7004     RECOMP_FLAGS_IN();
   7005     goto L_2E0041E8; /* 0x2E0041C5: jmp 0x2e0041e8 */
   7006 L_2E0041C7:
   7007     /* cmp eax, edi */ /* 0x2E0041C7: cmp eax, edi */
   7008     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   7009     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7010     _flag_k = FK_CMP;
   7011     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0041E8; /* 0x2E0041C9: je 0x2e0041e8 */
   7012 L_2E0041CB:
   7013     ecx = ebp + (-0x4); /* 0x2E0041CB: lea ecx, [ebp - 4] */
   7014     ebx = eax; /* 0x2E0041CE: mov ebx, eax */
   7015     RECOMP_ICALL(0x2E004630u); /* 0x2E0041D0: call 0x2e004630 */ /* not lifted */
   7016     RECOMP_FLAGS_IN();
   7017     ecx = ebp + (-0x8); /* 0x2E0041D5: lea ecx, [ebp - 8] */
   7018     PUSH32(esp, ebx); /* 0x2E0041D8: push ebx */
   7019     PUSH32(esp, ecx); /* 0x2E0041D9: push ecx */
   7020     ecx = esi; /* 0x2E0041DA: mov ecx, esi */
   7021     RECOMP_ICALL(0x2E004230u); /* 0x2E0041DC: call 0x2e004230 */ /* not lifted */
   7022     RECOMP_FLAGS_IN();
   7023     eax = MEM32(ebp + (-0x4)); /* 0x2E0041E1: mov eax, dword ptr [ebp - 4] */
   7024     /* cmp eax, edi */ /* 0x2E0041E4: cmp eax, edi */
   7025     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   7026     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7027     _flag_k = FK_CMP;
   7028     RECOMP_BACKEDGE();
   7029     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041CB; /* 0x2E0041E6: jne 0x2e0041cb */
   7030 L_2E0041E8:
   7031     edx = MEM32(esi + 0x4); /* 0x2E0041E8: mov edx, dword ptr [esi + 4] */
   7032     PUSH32(esp, edx); /* 0x2E0041EB: push edx */
   7033     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041EC: call 0x2e010e90 */ /* not lifted */
   7034     RECOMP_FLAGS_IN();
   7035     eax = MEM32(esi + 0x8); /* 0x2E0041F1: mov eax, dword ptr [esi + 8] */
   7036     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7037     edi = 0; /* 0x2E0041F4: xor edi, edi */
   7038     _cf = 0;
   7039     _flag_k = FK_TEST;
   7040     PUSH32(esp, eax); /* 0x2E0041F6: push eax */
   7041     MEM32(esi + 0x4) = edi; /* 0x2E0041F7: mov dword ptr [esi + 4], edi */
   7042     MEM32(esi + 0x10) = edi; /* 0x2E0041FA: mov dword ptr [esi + 0x10], edi */
   7043     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041FD: call 0x2e010e90 */ /* not lifted */
   7044     RECOMP_FLAGS_IN();
   7045     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7046     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7047     esp = esp + 8; /* 0x2E004202: add esp, 8 */
   7048     _flag_k = FK_ADD;
   7049     MEM32(esi + 0x8) = edi; /* 0x2E004205: mov dword ptr [esi + 8], edi */
   7050     edi = POP32_VAL(esp); /* 0x2E004208: pop edi */
   7051     esi = POP32_VAL(esp); /* 0x2E004209: pop esi */
   7052     ebx = POP32_VAL(esp); /* 0x2E00420A: pop ebx */
   7053     esp = ebp; /* 0x2E00420B: mov esp, ebp */
   7054     ebp = POP32_VAL(esp); /* 0x2E00420D: pop ebp */
   7055     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00420E: ret  */
   7056 L_2E01169B:
   7057     ecx = MEM32(ebp + (-0x10)); /* 0x2E01169B: mov ecx, dword ptr [ebp - 0x10] */
   7058     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x124u);
   7059     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7060     ecx = ecx + 0x124u; /* 0x2E01169E: add ecx, 0x124 */
   7061     _flag_k = FK_ADD;
   7062     RECOMP_BACKEDGE();
   7063     goto L_2E004150; /* 0x2E0116A4: jmp 0x2e004150 */
   7064     { RECOMP_REGS_OUT(); return; } /* end of function */
   7065     RECOMP_REGS_OUT();
   7066 }
   7067 
   7068 void sub_2E0116A9(void) {
   7069     int _fpu_cmp = 0;
   7070     uint32_t _cf = 0;
   7071     int _df = 1;
   7072     uint32_t _flag_k = FK_NONE;
   7073     uint32_t _flag_a = 0, _flag_b = 0;
   7074     uint32_t _itail_tgt = 0;
   7075     RECOMP_REGS_LOCALS
   7076     RECOMP_ENTER(0x2E0116A9u);
   7077 
   7078     goto L_2E0116A9;
   7079 L_2E0037D0:
   7080     PUSH32(esp, ebp); /* 0x2E0037D0: push ebp */
   7081     ebp = esp; /* 0x2E0037D1: mov ebp, esp */
   7082     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0037D3: push -1 */
   7083     PUSH32(esp, 0x2E011543u); /* 0x2E0037D5: push 0x2e011543 */
   7084     eax = MEM32(FS_BASE + (0)); /* 0x2E0037DA: mov eax, dword ptr fs:[0] */
   7085     PUSH32(esp, eax); /* 0x2E0037E0: push eax */
   7086     MEM32(FS_BASE + (0)) = esp; /* 0x2E0037E1: mov dword ptr fs:[0], esp */
   7087     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
   7088     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7089     esp = esp - 0x18u; /* 0x2E0037E8: sub esp, 0x18 */
   7090     _flag_k = FK_CMP;
   7091     PUSH32(esp, ebx); /* 0x2E0037EB: push ebx */
   7092     PUSH32(esp, esi); /* 0x2E0037EC: push esi */
   7093     PUSH32(esp, edi); /* 0x2E0037ED: push edi */
   7094     edi = ecx; /* 0x2E0037EE: mov edi, ecx */
   7095     MEM32(ebp + (-0x14)) = edi; /* 0x2E0037F0: mov dword ptr [ebp - 0x14], edi */
   7096     MEM32(edi) = 0x2E012264u; /* 0x2E0037F3: mov dword ptr [edi], 0x2e012264 */
   7097     ebx = edi + 0x50; /* 0x2E0037F9: lea ebx, [edi + 0x50] */
   7098     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7099     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7100     esp = esp - 0x10u; /* 0x2E0037FC: sub esp, 0x10 */
   7101     _flag_k = FK_CMP;
   7102     ecx = esp; /* 0x2E0037FF: mov ecx, esp */
   7103     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7105     esp = esp - 0x10u; /* 0x2E003801: sub esp, 0x10 */
   7106     _flag_k = FK_CMP;
   7107     eax = ebx + 0x14; /* 0x2E003804: lea eax, [ebx + 0x14] */
   7108     MEM32(ebp + (-0x4)) = 3; /* 0x2E003807: mov dword ptr [ebp - 4], 3 */
   7109     edx = MEM32(eax); /* 0x2E00380E: mov edx, dword ptr [eax] */
   7110     MEM32(ecx) = edx; /* 0x2E003810: mov dword ptr [ecx], edx */
   7111     edx = MEM32(eax + 0x4); /* 0x2E003812: mov edx, dword ptr [eax + 4] */
   7112     MEM32(ecx + 0x4) = edx; /* 0x2E003815: mov dword ptr [ecx + 4], edx */
   7113     edx = MEM32(eax + 0x8); /* 0x2E003818: mov edx, dword ptr [eax + 8] */
   7114     MEM32(ecx + 0x8) = edx; /* 0x2E00381B: mov dword ptr [ecx + 8], edx */
   7115     edx = esp; /* 0x2E00381E: mov edx, esp */
   7116     eax = MEM32(eax + 0xC); /* 0x2E003820: mov eax, dword ptr [eax + 0xc] */
   7117     MEM32(ecx + 0xC) = eax; /* 0x2E003823: mov dword ptr [ecx + 0xc], eax */
   7118     ecx = ebx + 0x4; /* 0x2E003826: lea ecx, [ebx + 4] */
   7119     eax = MEM32(ebx + 0x4); /* 0x2E003829: mov eax, dword ptr [ebx + 4] */
   7120     MEM32(edx) = eax; /* 0x2E00382C: mov dword ptr [edx], eax */
   7121     eax = MEM32(ecx + 0x4); /* 0x2E00382E: mov eax, dword ptr [ecx + 4] */
   7122     MEM32(edx + 0x4) = eax; /* 0x2E003831: mov dword ptr [edx + 4], eax */
   7123     eax = MEM32(ecx + 0x8); /* 0x2E003834: mov eax, dword ptr [ecx + 8] */
   7124     MEM32(edx + 0x8) = eax; /* 0x2E003837: mov dword ptr [edx + 8], eax */
   7125     ecx = MEM32(ecx + 0xC); /* 0x2E00383A: mov ecx, dword ptr [ecx + 0xc] */
   7126     MEM32(edx + 0xC) = ecx; /* 0x2E00383D: mov dword ptr [edx + 0xc], ecx */
   7127     edx = ebp + (-0x24); /* 0x2E003840: lea edx, [ebp - 0x24] */
   7128     PUSH32(esp, edx); /* 0x2E003843: push edx */
   7129     ecx = ebx; /* 0x2E003844: mov ecx, ebx */
   7130     RECOMP_ICALL(0x2E003B30u); /* 0x2E003846: call 0x2e003b30 */ /* not lifted */
   7131     RECOMP_FLAGS_IN();
   7132     esi = edi + 0x80; /* 0x2E00384B: lea esi, [edi + 0x80] */
   7133     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7134     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7135     esp = esp - 0x10u; /* 0x2E003851: sub esp, 0x10 */
   7136     _flag_k = FK_CMP;
   7137     ecx = esp; /* 0x2E003854: mov ecx, esp */
   7138     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7139     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7140     esp = esp - 0x10u; /* 0x2E003856: sub esp, 0x10 */
   7141     _flag_k = FK_CMP;
   7142     eax = esi + 0x14; /* 0x2E003859: lea eax, [esi + 0x14] */
   7143     edx = MEM32(esi + 0x14); /* 0x2E00385C: mov edx, dword ptr [esi + 0x14] */
   7144     MEM32(ecx) = edx; /* 0x2E00385F: mov dword ptr [ecx], edx */
   7145     edx = MEM32(eax + 0x4); /* 0x2E003861: mov edx, dword ptr [eax + 4] */
   7146     MEM32(ecx + 0x4) = edx; /* 0x2E003864: mov dword ptr [ecx + 4], edx */
   7147     edx = MEM32(eax + 0x8); /* 0x2E003867: mov edx, dword ptr [eax + 8] */
   7148     MEM32(ecx + 0x8) = edx; /* 0x2E00386A: mov dword ptr [ecx + 8], edx */
   7149     edx = esp; /* 0x2E00386D: mov edx, esp */
   7150     eax = MEM32(eax + 0xC); /* 0x2E00386F: mov eax, dword ptr [eax + 0xc] */
   7151     MEM32(ecx + 0xC) = eax; /* 0x2E003872: mov dword ptr [ecx + 0xc], eax */
   7152     ecx = esi + 0x4; /* 0x2E003875: lea ecx, [esi + 4] */
   7153     eax = MEM32(esi + 0x4); /* 0x2E003878: mov eax, dword ptr [esi + 4] */
   7154     MEM32(edx) = eax; /* 0x2E00387B: mov dword ptr [edx], eax */
   7155     eax = MEM32(ecx + 0x4); /* 0x2E00387D: mov eax, dword ptr [ecx + 4] */
   7156     MEM32(edx + 0x4) = eax; /* 0x2E003880: mov dword ptr [edx + 4], eax */
   7157     eax = MEM32(ecx + 0x8); /* 0x2E003883: mov eax, dword ptr [ecx + 8] */
   7158     MEM32(edx + 0x8) = eax; /* 0x2E003886: mov dword ptr [edx + 8], eax */
   7159     ecx = MEM32(ecx + 0xC); /* 0x2E003889: mov ecx, dword ptr [ecx + 0xc] */
   7160     MEM32(edx + 0xC) = ecx; /* 0x2E00388C: mov dword ptr [edx + 0xc], ecx */
   7161     edx = ebp + (-0x24); /* 0x2E00388F: lea edx, [ebp - 0x24] */
   7162     PUSH32(esp, edx); /* 0x2E003892: push edx */
   7163     ecx = esi; /* 0x2E003893: mov ecx, esi */
   7164     RECOMP_ICALL(0x2E003B30u); /* 0x2E003895: call 0x2e003b30 */ /* not lifted */
   7165     RECOMP_FLAGS_IN();
   7166     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xB0u);
   7167     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7168     edi = edi + 0xB0u; /* 0x2E00389A: add edi, 0xb0 */
   7169     _flag_k = FK_ADD;
   7170     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7172     esp = esp - 0x10u; /* 0x2E0038A0: sub esp, 0x10 */
   7173     _flag_k = FK_CMP;
   7174     ecx = esp; /* 0x2E0038A3: mov ecx, esp */
   7175     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7176     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7177     esp = esp - 0x10u; /* 0x2E0038A5: sub esp, 0x10 */
   7178     _flag_k = FK_CMP;
   7179     eax = edi + 0x14; /* 0x2E0038A8: lea eax, [edi + 0x14] */
   7180     edx = MEM32(edi + 0x14); /* 0x2E0038AB: mov edx, dword ptr [edi + 0x14] */
   7181     MEM32(ecx) = edx; /* 0x2E0038AE: mov dword ptr [ecx], edx */
   7182     edx = MEM32(eax + 0x4); /* 0x2E0038B0: mov edx, dword ptr [eax + 4] */
   7183     MEM32(ecx + 0x4) = edx; /* 0x2E0038B3: mov dword ptr [ecx + 4], edx */
   7184     edx = MEM32(eax + 0x8); /* 0x2E0038B6: mov edx, dword ptr [eax + 8] */
   7185     MEM32(ecx + 0x8) = edx; /* 0x2E0038B9: mov dword ptr [ecx + 8], edx */
   7186     edx = esp; /* 0x2E0038BC: mov edx, esp */
   7187     eax = MEM32(eax + 0xC); /* 0x2E0038BE: mov eax, dword ptr [eax + 0xc] */
   7188     MEM32(ecx + 0xC) = eax; /* 0x2E0038C1: mov dword ptr [ecx + 0xc], eax */
   7189     ecx = edi + 0x4; /* 0x2E0038C4: lea ecx, [edi + 4] */
   7190     eax = MEM32(edi + 0x4); /* 0x2E0038C7: mov eax, dword ptr [edi + 4] */
   7191     MEM32(edx) = eax; /* 0x2E0038CA: mov dword ptr [edx], eax */
   7192     eax = MEM32(ecx + 0x4); /* 0x2E0038CC: mov eax, dword ptr [ecx + 4] */
   7193     MEM32(edx + 0x4) = eax; /* 0x2E0038CF: mov dword ptr [edx + 4], eax */
   7194     eax = MEM32(ecx + 0x8); /* 0x2E0038D2: mov eax, dword ptr [ecx + 8] */
   7195     ecx = MEM32(ecx + 0xC); /* 0x2E0038D5: mov ecx, dword ptr [ecx + 0xc] */
   7196     MEM32(edx + 0x8) = eax; /* 0x2E0038D8: mov dword ptr [edx + 8], eax */
   7197     MEM32(edx + 0xC) = ecx; /* 0x2E0038DB: mov dword ptr [edx + 0xc], ecx */
   7198     edx = ebp + (-0x24); /* 0x2E0038DE: lea edx, [ebp - 0x24] */
   7199     PUSH32(esp, edx); /* 0x2E0038E1: push edx */
   7200     ecx = edi; /* 0x2E0038E2: mov ecx, edi */
   7201     RECOMP_ICALL(0x2E003B30u); /* 0x2E0038E4: call 0x2e003b30 */ /* not lifted */
   7202     RECOMP_FLAGS_IN();
   7203     eax = MEM32(edi + 0x2C); /* 0x2E0038E9: mov eax, dword ptr [edi + 0x2c] */
   7204     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E0038EC: mov byte ptr [ebp - 4], 2 */
   7205     /* test eax, eax */ /* 0x2E0038F0: test eax, eax */
   7206     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7207     _cf = 0;
   7208     _flag_k = FK_TEST;
   7209     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00393D; /* 0x2E0038F2: je 0x2e00393d */
   7210 L_2E0038F4:
   7211     eax = MEM32(edi + 0x10); /* 0x2E0038F4: mov eax, dword ptr [edi + 0x10] */
   7212     ecx = edi + 0x4; /* 0x2E0038F7: lea ecx, [edi + 4] */
   7213     MEM32(ebp + (-0x10)) = eax; /* 0x2E0038FA: mov dword ptr [ebp - 0x10], eax */
   7214     RECOMP_ICALL(0x2E003A80u); /* 0x2E0038FD: call 0x2e003a80 */ /* not lifted */
   7215     RECOMP_FLAGS_IN();
   7216     ecx = MEM32(edi + 0x2C); /* 0x2E003902: mov ecx, dword ptr [edi + 0x2c] */
   7217     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   7218     ecx = ecx - 1; /* 0x2E003905: dec ecx */
   7219     _flag_k = FK_DEC;
   7220     eax = ecx; /* 0x2E003906: mov eax, ecx */
   7221     MEM32(edi + 0x2C) = ecx; /* 0x2E003908: mov dword ptr [edi + 0x2c], ecx */
   7222     /* test eax, eax */ /* 0x2E00390B: test eax, eax */
   7223     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7224     _cf = 0;
   7225     _flag_k = FK_TEST;
   7226     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003918; /* 0x2E00390D: jne 0x2e003918 */
   7227 L_2E00390F:
   7228     ecx = edi; /* 0x2E00390F: mov ecx, edi */
   7229     RECOMP_ICALL(0x2E003A20u); /* 0x2E003911: call 0x2e003a20 */ /* not lifted */
   7230     RECOMP_FLAGS_IN();
   7231     goto L_2E003936; /* 0x2E003916: jmp 0x2e003936 */
   7232 L_2E003918:
   7233     eax = MEM32(ebp + (-0x10)); /* 0x2E003918: mov eax, dword ptr [ebp - 0x10] */
   7234     ecx = MEM32(edi + 0x10); /* 0x2E00391B: mov ecx, dword ptr [edi + 0x10] */
   7235     /* cmp eax, ecx */ /* 0x2E00391E: cmp eax, ecx */
   7236     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7237     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7238     _flag_k = FK_CMP;
   7239     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003936; /* 0x2E003920: je 0x2e003936 */
   7240 L_2E003922:
   7241     eax = MEM32(eax); /* 0x2E003922: mov eax, dword ptr [eax] */
   7242     PUSH32(esp, eax); /* 0x2E003924: push eax */
   7243     RECOMP_ICALL(0x2E010E90u); /* 0x2E003925: call 0x2e010e90 */ /* not lifted */
   7244     RECOMP_FLAGS_IN();
   7245     ecx = MEM32(ebp + (-0x10)); /* 0x2E00392A: mov ecx, dword ptr [ebp - 0x10] */
   7246     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7247     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7248     esp = esp + 4; /* 0x2E00392D: add esp, 4 */
   7249     _flag_k = FK_ADD;
   7250     MEM32(ecx) = 0; /* 0x2E003930: mov dword ptr [ecx], 0 */
   7251 L_2E003936:
   7252     eax = MEM32(edi + 0x2C); /* 0x2E003936: mov eax, dword ptr [edi + 0x2c] */
   7253     /* test eax, eax */ /* 0x2E003939: test eax, eax */
   7254     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7255     _cf = 0;
   7256     _flag_k = FK_TEST;
   7257     RECOMP_BACKEDGE();
   7258     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0038F4; /* 0x2E00393B: jne 0x2e0038f4 */
   7259 L_2E00393D:
   7260     eax = MEM32(esi + 0x2C); /* 0x2E00393D: mov eax, dword ptr [esi + 0x2c] */
   7261     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E003940: mov byte ptr [ebp - 4], 1 */
   7262     /* test eax, eax */ /* 0x2E003944: test eax, eax */
   7263     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7264     _cf = 0;
   7265     _flag_k = FK_TEST;
   7266     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039B3; /* 0x2E003946: je 0x2e0039b3 */
   7267 L_2E003948:
   7268     eax = MEM32(esi + 0xC); /* 0x2E003948: mov eax, dword ptr [esi + 0xc] */
   7269     ecx = MEM32(esi + 0x8); /* 0x2E00394B: mov ecx, dword ptr [esi + 8] */
   7270     edi = MEM32(esi + 0x10); /* 0x2E00394E: mov edi, dword ptr [esi + 0x10] */
   7271     /* cmp eax, ecx */ /* 0x2E003951: cmp eax, ecx */
   7272     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7273     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7274     _flag_k = FK_CMP;
   7275     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003953: je 0x2e003980 */
   7276 L_2E003955:
   7277     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7278     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7279     eax = eax + 4; /* 0x2E003955: add eax, 4 */
   7280     _flag_k = FK_ADD;
   7281     /* cmp eax, ecx */ /* 0x2E003958: cmp eax, ecx */
   7282     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7283     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7284     _flag_k = FK_CMP;
   7285     MEM32(esi + 0xC) = eax; /* 0x2E00395A: mov dword ptr [esi + 0xc], eax */
   7286     if (CMP_NE(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E00395D: jne 0x2e003980 */
   7287 L_2E00395F:
   7288     eax = MEM32(esi + 0x10); /* 0x2E00395F: mov eax, dword ptr [esi + 0x10] */
   7289     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7290     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7291     eax = eax + 4; /* 0x2E003962: add eax, 4 */
   7292     _flag_k = FK_ADD;
   7293     /* cmp MEM32(eax), 0 */ /* 0x2E003965: cmp dword ptr [eax], 0 */
   7294     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   7295     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7296     _flag_k = FK_CMP;
   7297     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E003980; /* 0x2E003968: je 0x2e003980 */
   7298 L_2E00396A:
   7299     MEM32(esi + 0x10) = eax; /* 0x2E00396A: mov dword ptr [esi + 0x10], eax */
   7300     eax = MEM32(eax); /* 0x2E00396D: mov eax, dword ptr [eax] */
   7301     MEM32(esi + 0x4) = eax; /* 0x2E00396F: mov dword ptr [esi + 4], eax */
   7302     edx = MEM32(esi + 0x4); /* 0x2E003972: mov edx, dword ptr [esi + 4] */
   7303     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   7304     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7305     eax = eax + 0x1000u; /* 0x2E003975: add eax, 0x1000 */
   7306     _flag_k = FK_ADD;
   7307     MEM32(esi + 0xC) = edx; /* 0x2E00397A: mov dword ptr [esi + 0xc], edx */
   7308     MEM32(esi + 0x8) = eax; /* 0x2E00397D: mov dword ptr [esi + 8], eax */
   7309 L_2E003980:
   7310     ecx = MEM32(esi + 0x2C); /* 0x2E003980: mov ecx, dword ptr [esi + 0x2c] */
   7311     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   7312     ecx = ecx - 1; /* 0x2E003983: dec ecx */
   7313     _flag_k = FK_DEC;
   7314     eax = ecx; /* 0x2E003984: mov eax, ecx */
   7315     MEM32(esi + 0x2C) = ecx; /* 0x2E003986: mov dword ptr [esi + 0x2c], ecx */
   7316     /* test eax, eax */ /* 0x2E003989: test eax, eax */
   7317     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7318     _cf = 0;
   7319     _flag_k = FK_TEST;
   7320     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003996; /* 0x2E00398B: jne 0x2e003996 */
   7321 L_2E00398D:
   7322     ecx = esi; /* 0x2E00398D: mov ecx, esi */
   7323     RECOMP_ICALL(0x2E003A20u); /* 0x2E00398F: call 0x2e003a20 */ /* not lifted */
   7324     RECOMP_FLAGS_IN();
   7325     goto L_2E0039AC; /* 0x2E003994: jmp 0x2e0039ac */
   7326 L_2E003996:
   7327     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E003996: cmp edi, dword ptr [esi + 0x10] */
   7328     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   7329     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7330     _flag_k = FK_CMP;
   7331     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039AC; /* 0x2E003999: je 0x2e0039ac */
   7332 L_2E00399B:
   7333     eax = MEM32(edi); /* 0x2E00399B: mov eax, dword ptr [edi] */
   7334     PUSH32(esp, eax); /* 0x2E00399D: push eax */
   7335     RECOMP_ICALL(0x2E010E90u); /* 0x2E00399E: call 0x2e010e90 */ /* not lifted */
   7336     RECOMP_FLAGS_IN();
   7337     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7338     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7339     esp = esp + 4; /* 0x2E0039A3: add esp, 4 */
   7340     _flag_k = FK_ADD;
   7341     MEM32(edi) = 0; /* 0x2E0039A6: mov dword ptr [edi], 0 */
   7342 L_2E0039AC:
   7343     eax = MEM32(esi + 0x2C); /* 0x2E0039AC: mov eax, dword ptr [esi + 0x2c] */
   7344     /* test eax, eax */ /* 0x2E0039AF: test eax, eax */
   7345     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7346     _cf = 0;
   7347     _flag_k = FK_TEST;
   7348     RECOMP_BACKEDGE();
   7349     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E003948; /* 0x2E0039B1: jne 0x2e003948 */
   7350 L_2E0039B3:
   7351     eax = MEM32(ebx + 0x2C); /* 0x2E0039B3: mov eax, dword ptr [ebx + 0x2c] */
   7352     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2E0039B6: mov byte ptr [ebp - 4], 0 */
   7353     /* test eax, eax */ /* 0x2E0039BA: test eax, eax */
   7354     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7355     _cf = 0;
   7356     _flag_k = FK_TEST;
   7357     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0039FC; /* 0x2E0039BC: je 0x2e0039fc */
   7358 L_2E0039BE:
   7359     esi = MEM32(ebx + 0x10); /* 0x2E0039BE: mov esi, dword ptr [ebx + 0x10] */
   7360     ecx = ebx + 0x4; /* 0x2E0039C1: lea ecx, [ebx + 4] */
   7361     RECOMP_ICALL(0x2E003A80u); /* 0x2E0039C4: call 0x2e003a80 */ /* not lifted */
   7362     RECOMP_FLAGS_IN();
   7363     ecx = MEM32(ebx + 0x2C); /* 0x2E0039C9: mov ecx, dword ptr [ebx + 0x2c] */
   7364     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   7365     ecx = ecx - 1; /* 0x2E0039CC: dec ecx */
   7366     _flag_k = FK_DEC;
   7367     eax = ecx; /* 0x2E0039CD: mov eax, ecx */
   7368     MEM32(ebx + 0x2C) = ecx; /* 0x2E0039CF: mov dword ptr [ebx + 0x2c], ecx */
   7369     /* test eax, eax */ /* 0x2E0039D2: test eax, eax */
   7370     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7371     _cf = 0;
   7372     _flag_k = FK_TEST;
   7373     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039DF; /* 0x2E0039D4: jne 0x2e0039df */
   7374 L_2E0039D6:
   7375     ecx = ebx; /* 0x2E0039D6: mov ecx, ebx */
   7376     RECOMP_ICALL(0x2E003A20u); /* 0x2E0039D8: call 0x2e003a20 */ /* not lifted */
   7377     RECOMP_FLAGS_IN();
   7378     goto L_2E0039F5; /* 0x2E0039DD: jmp 0x2e0039f5 */
   7379 L_2E0039DF:
   7380     /* cmp esi, MEM32(ebx + 0x10) */ /* 0x2E0039DF: cmp esi, dword ptr [ebx + 0x10] */
   7381     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x10));
   7382     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7383     _flag_k = FK_CMP;
   7384     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0039F5; /* 0x2E0039E2: je 0x2e0039f5 */
   7385 L_2E0039E4:
   7386     eax = MEM32(esi); /* 0x2E0039E4: mov eax, dword ptr [esi] */
   7387     PUSH32(esp, eax); /* 0x2E0039E6: push eax */
   7388     RECOMP_ICALL(0x2E010E90u); /* 0x2E0039E7: call 0x2e010e90 */ /* not lifted */
   7389     RECOMP_FLAGS_IN();
   7390     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7391     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7392     esp = esp + 4; /* 0x2E0039EC: add esp, 4 */
   7393     _flag_k = FK_ADD;
   7394     MEM32(esi) = 0; /* 0x2E0039EF: mov dword ptr [esi], 0 */
   7395 L_2E0039F5:
   7396     eax = MEM32(ebx + 0x2C); /* 0x2E0039F5: mov eax, dword ptr [ebx + 0x2c] */
   7397     /* test eax, eax */ /* 0x2E0039F8: test eax, eax */
   7398     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7399     _cf = 0;
   7400     _flag_k = FK_TEST;
   7401     RECOMP_BACKEDGE();
   7402     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0039BE; /* 0x2E0039FA: jne 0x2e0039be */
   7403 L_2E0039FC:
   7404     eax = MEM32(ebp + (-0x14)); /* 0x2E0039FC: mov eax, dword ptr [ebp - 0x14] */
   7405     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0039FF: mov dword ptr [ebp - 4], 0xffffffff */
   7406     ecx = eax + 0x4; /* 0x2E003A06: lea ecx, [eax + 4] */
   7407     RECOMP_ICALL(MEM32(0x2E0121C8)); /* 0x2E003A09: call dword ptr [0x2e0121c8] */
   7408     RECOMP_FLAGS_IN();
   7409     ecx = MEM32(ebp + (-0xC)); /* 0x2E003A0F: mov ecx, dword ptr [ebp - 0xc] */
   7410     edi = POP32_VAL(esp); /* 0x2E003A12: pop edi */
   7411     esi = POP32_VAL(esp); /* 0x2E003A13: pop esi */
   7412     MEM32(FS_BASE + (0)) = ecx; /* 0x2E003A14: mov dword ptr fs:[0], ecx */
   7413     ebx = POP32_VAL(esp); /* 0x2E003A1B: pop ebx */
   7414     esp = ebp; /* 0x2E003A1C: mov esp, ebp */
   7415     ebp = POP32_VAL(esp); /* 0x2E003A1E: pop ebp */
   7416     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E003A1F: ret  */
   7417 L_2E0116A9:
   7418     ecx = MEM32(ebp + (-0x10)); /* 0x2E0116A9: mov ecx, dword ptr [ebp - 0x10] */
   7419     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   7420     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7421     ecx = ecx + 0x138u; /* 0x2E0116AC: add ecx, 0x138 */
   7422     _flag_k = FK_ADD;
   7423     RECOMP_BACKEDGE();
   7424     goto L_2E0037D0; /* 0x2E0116B2: jmp 0x2e0037d0 */
   7425     { RECOMP_REGS_OUT(); return; } /* end of function */
   7426     RECOMP_REGS_OUT();
   7427 }
   7428 
   7429 void sub_2E0116B7(void) {
   7430     int _fpu_cmp = 0;
   7431     uint32_t _cf = 0;
   7432     int _df = 1;
   7433     uint32_t _flag_k = FK_NONE;
   7434     uint32_t _flag_a = 0, _flag_b = 0;
   7435     uint32_t _itail_tgt = 0;
   7436     RECOMP_REGS_LOCALS
   7437     RECOMP_ENTER(0x2E0116B7u);
   7438 
   7439     goto L_2E0116B7;
   7440 L_2E004150:
   7441     PUSH32(esp, ebp); /* 0x2E004150: push ebp */
   7442     ebp = esp; /* 0x2E004151: mov ebp, esp */
   7443     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7444     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7445     esp = esp - 8; /* 0x2E004153: sub esp, 8 */
   7446     _flag_k = FK_CMP;
   7447     PUSH32(esp, ebx); /* 0x2E004156: push ebx */
   7448     PUSH32(esp, esi); /* 0x2E004157: push esi */
   7449     esi = ecx; /* 0x2E004158: mov esi, ecx */
   7450     PUSH32(esp, edi); /* 0x2E00415A: push edi */
   7451     edi = MEM32(esi + 0x4); /* 0x2E00415B: mov edi, dword ptr [esi + 4] */
   7452     ecx = MEM32(esi + 0x10); /* 0x2E00415E: mov ecx, dword ptr [esi + 0x10] */
   7453     /* test ecx, ecx */ /* 0x2E004161: test ecx, ecx */
   7454     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   7455     _cf = 0;
   7456     _flag_k = FK_TEST;
   7457     eax = MEM32(edi); /* 0x2E004163: mov eax, dword ptr [edi] */
   7458     MEM32(ebp + (-0x4)) = eax; /* 0x2E004165: mov dword ptr [ebp - 4], eax */
   7459     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004168: je 0x2e0041c7 */
   7460 L_2E00416A:
   7461     ecx = eax; /* 0x2E00416A: mov ecx, eax */
   7462     /* cmp eax, ecx */ /* 0x2E00416C: cmp eax, ecx */
   7463     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7464     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7465     _flag_k = FK_CMP;
   7466     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E00416E: jne 0x2e0041c7 */
   7467 L_2E004170:
   7468     /* cmp edi, edi */ /* 0x2E004170: cmp edi, edi */
   7469     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7470     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7471     _flag_k = FK_CMP;
   7472     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041C7; /* 0x2E004172: jne 0x2e0041c7 */
   7473 L_2E004174:
   7474     ebx = MEM32(edi + 0x4); /* 0x2E004174: mov ebx, dword ptr [edi + 4] */
   7475     eax = MEM32(esi + 0x8); /* 0x2E004177: mov eax, dword ptr [esi + 8] */
   7476     /* cmp ebx, eax */ /* 0x2E00417A: cmp ebx, eax */
   7477     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   7478     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7479     _flag_k = FK_CMP;
   7480     edi = ebx; /* 0x2E00417C: mov edi, ebx */
   7481     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00419F; /* 0x2E00417E: je 0x2e00419f */
   7482 L_2E004180:
   7483     eax = MEM32(edi + 0x8); /* 0x2E004180: mov eax, dword ptr [edi + 8] */
   7484     ecx = esi; /* 0x2E004183: mov ecx, esi */
   7485     PUSH32(esp, eax); /* 0x2E004185: push eax */
   7486     RECOMP_ICALL(0x2E0045F0u); /* 0x2E004186: call 0x2e0045f0 */ /* not lifted */
   7487     RECOMP_FLAGS_IN();
   7488     edi = MEM32(edi); /* 0x2E00418B: mov edi, dword ptr [edi] */
   7489     PUSH32(esp, ebx); /* 0x2E00418D: push ebx */
   7490     RECOMP_ICALL(0x2E010E90u); /* 0x2E00418E: call 0x2e010e90 */ /* not lifted */
   7491     RECOMP_FLAGS_IN();
   7492     eax = MEM32(esi + 0x8); /* 0x2E004193: mov eax, dword ptr [esi + 8] */
   7493     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7494     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7495     esp = esp + 4; /* 0x2E004196: add esp, 4 */
   7496     _flag_k = FK_ADD;
   7497     /* cmp edi, eax */ /* 0x2E004199: cmp edi, eax */
   7498     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   7499     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7500     _flag_k = FK_CMP;
   7501     ebx = edi; /* 0x2E00419B: mov ebx, edi */
   7502     RECOMP_BACKEDGE();
   7503     if (CMP_NE(_flag_a, _flag_b)) goto L_2E004180; /* 0x2E00419D: jne 0x2e004180 */
   7504 L_2E00419F:
   7505     ecx = MEM32(esi + 0x4); /* 0x2E00419F: mov ecx, dword ptr [esi + 4] */
   7506     edx = MEM32(esi + 0x8); /* 0x2E0041A2: mov edx, dword ptr [esi + 8] */
   7507     MEM32(ecx + 0x4) = edx; /* 0x2E0041A5: mov dword ptr [ecx + 4], edx */
   7508     eax = MEM32(esi + 0x4); /* 0x2E0041A8: mov eax, dword ptr [esi + 4] */
   7509     MEM32(esi + 0x10) = 0; /* 0x2E0041AB: mov dword ptr [esi + 0x10], 0 */
   7510     ecx = esi; /* 0x2E0041B2: mov ecx, esi */
   7511     MEM32(eax) = eax; /* 0x2E0041B4: mov dword ptr [eax], eax */
   7512     eax = MEM32(esi + 0x4); /* 0x2E0041B6: mov eax, dword ptr [esi + 4] */
   7513     MEM32(eax + 0x8) = eax; /* 0x2E0041B9: mov dword ptr [eax + 8], eax */
   7514     eax = ebp + (-0x8); /* 0x2E0041BC: lea eax, [ebp - 8] */
   7515     PUSH32(esp, eax); /* 0x2E0041BF: push eax */
   7516     RECOMP_ICALL(0x2E004210u); /* 0x2E0041C0: call 0x2e004210 */ /* not lifted */
   7517     RECOMP_FLAGS_IN();
   7518     goto L_2E0041E8; /* 0x2E0041C5: jmp 0x2e0041e8 */
   7519 L_2E0041C7:
   7520     /* cmp eax, edi */ /* 0x2E0041C7: cmp eax, edi */
   7521     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   7522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7523     _flag_k = FK_CMP;
   7524     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0041E8; /* 0x2E0041C9: je 0x2e0041e8 */
   7525 L_2E0041CB:
   7526     ecx = ebp + (-0x4); /* 0x2E0041CB: lea ecx, [ebp - 4] */
   7527     ebx = eax; /* 0x2E0041CE: mov ebx, eax */
   7528     RECOMP_ICALL(0x2E004630u); /* 0x2E0041D0: call 0x2e004630 */ /* not lifted */
   7529     RECOMP_FLAGS_IN();
   7530     ecx = ebp + (-0x8); /* 0x2E0041D5: lea ecx, [ebp - 8] */
   7531     PUSH32(esp, ebx); /* 0x2E0041D8: push ebx */
   7532     PUSH32(esp, ecx); /* 0x2E0041D9: push ecx */
   7533     ecx = esi; /* 0x2E0041DA: mov ecx, esi */
   7534     RECOMP_ICALL(0x2E004230u); /* 0x2E0041DC: call 0x2e004230 */ /* not lifted */
   7535     RECOMP_FLAGS_IN();
   7536     eax = MEM32(ebp + (-0x4)); /* 0x2E0041E1: mov eax, dword ptr [ebp - 4] */
   7537     /* cmp eax, edi */ /* 0x2E0041E4: cmp eax, edi */
   7538     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   7539     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7540     _flag_k = FK_CMP;
   7541     RECOMP_BACKEDGE();
   7542     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0041CB; /* 0x2E0041E6: jne 0x2e0041cb */
   7543 L_2E0041E8:
   7544     edx = MEM32(esi + 0x4); /* 0x2E0041E8: mov edx, dword ptr [esi + 4] */
   7545     PUSH32(esp, edx); /* 0x2E0041EB: push edx */
   7546     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041EC: call 0x2e010e90 */ /* not lifted */
   7547     RECOMP_FLAGS_IN();
   7548     eax = MEM32(esi + 0x8); /* 0x2E0041F1: mov eax, dword ptr [esi + 8] */
   7549     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7550     edi = 0; /* 0x2E0041F4: xor edi, edi */
   7551     _cf = 0;
   7552     _flag_k = FK_TEST;
   7553     PUSH32(esp, eax); /* 0x2E0041F6: push eax */
   7554     MEM32(esi + 0x4) = edi; /* 0x2E0041F7: mov dword ptr [esi + 4], edi */
   7555     MEM32(esi + 0x10) = edi; /* 0x2E0041FA: mov dword ptr [esi + 0x10], edi */
   7556     RECOMP_ICALL(0x2E010E90u); /* 0x2E0041FD: call 0x2e010e90 */ /* not lifted */
   7557     RECOMP_FLAGS_IN();
   7558     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7559     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7560     esp = esp + 8; /* 0x2E004202: add esp, 8 */
   7561     _flag_k = FK_ADD;
   7562     MEM32(esi + 0x8) = edi; /* 0x2E004205: mov dword ptr [esi + 8], edi */
   7563     edi = POP32_VAL(esp); /* 0x2E004208: pop edi */
   7564     esi = POP32_VAL(esp); /* 0x2E004209: pop esi */
   7565     ebx = POP32_VAL(esp); /* 0x2E00420A: pop ebx */
   7566     esp = ebp; /* 0x2E00420B: mov esp, ebp */
   7567     ebp = POP32_VAL(esp); /* 0x2E00420D: pop ebp */
   7568     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00420E: ret  */
   7569 L_2E0116B7:
   7570     ecx = MEM32(ebp + (-0x10)); /* 0x2E0116B7: mov ecx, dword ptr [ebp - 0x10] */
   7571     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x244u);
   7572     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7573     ecx = ecx + 0x244u; /* 0x2E0116BA: add ecx, 0x244 */
   7574     _flag_k = FK_ADD;
   7575     RECOMP_BACKEDGE();
   7576     goto L_2E004150; /* 0x2E0116C0: jmp 0x2e004150 */
   7577     { RECOMP_REGS_OUT(); return; } /* end of function */
   7578     RECOMP_REGS_OUT();
   7579 }
   7580 
   7581 void sub_2E0116C5(void) {
   7582     int _fpu_cmp = 0;
   7583     uint32_t _cf = 0;
   7584     int _df = 1;
   7585     uint32_t _flag_k = FK_NONE;
   7586     uint32_t _flag_a = 0, _flag_b = 0;
   7587     uint32_t _itail_tgt = 0;
   7588     RECOMP_REGS_LOCALS
   7589     RECOMP_ENTER(0x2E0116C5u);
   7590 
   7591 L_2E0116C5:
   7592     PUSH32(esp, 0x2E0037D0u); /* 0x2E0116C5: push 0x2e0037d0 */
   7593     PUSH32(esp, 5); /* 0x2E0116CA: push 5 */
   7594     PUSH32(esp, 0x100u); /* 0x2E0116CC: push 0x100 */
   7595     eax = MEM32(ebp + (-0x10)); /* 0x2E0116D1: mov eax, dword ptr [ebp - 0x10] */
   7596     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x268u);
   7597     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7598     eax = eax + 0x268u; /* 0x2E0116D4: add eax, 0x268 */
   7599     _flag_k = FK_ADD;
   7600     PUSH32(esp, eax); /* 0x2E0116D9: push eax */
   7601     RECOMP_ICALL(0x2E010EB0u); /* 0x2E0116DA: call 0x2e010eb0 */ /* not lifted */
   7602     RECOMP_FLAGS_IN();
   7603     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0116DF: ret  */
   7604     RECOMP_REGS_OUT();
   7605 }
   7606 
   7607 void sub_2E0116E0(void) {
   7608     int _fpu_cmp = 0;
   7609     uint32_t _cf = 0;
   7610     int _df = 1;
   7611     uint32_t _flag_k = FK_NONE;
   7612     uint32_t _flag_a = 0, _flag_b = 0;
   7613     uint32_t _itail_tgt = 0;
   7614     RECOMP_REGS_LOCALS
   7615     RECOMP_ENTER(0x2E0116E0u);
   7616 
   7617 L_2E0116E0:
   7618     ecx = MEM32(ebp + (-0x14)); /* 0x2E0116E0: mov ecx, dword ptr [ebp - 0x14] */
   7619 L_2E0116E3:
   7620     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   7621     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7622     ecx = ecx + 4; /* 0x2E0116E3: add ecx, 4 */
   7623     _flag_k = FK_ADD;
   7624 L_2E0116E6:
   7625     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
   7626     { RECOMP_REGS_OUT(); return; } /* end of function */
   7627   _ljump:
   7628     switch (_itail_tgt) {
   7629       case 0x2E0116E0u: goto L_2E0116E0;
   7630       case 0x2E0116E3u: goto L_2E0116E3;
   7631       case 0x2E0116E6u: goto L_2E0116E6;
   7632       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7633     }
   7634     RECOMP_REGS_OUT();
   7635 }
   7636 
   7637 void sub_2E0116EC(void) {
   7638     int _fpu_cmp = 0;
   7639     uint32_t _cf = 0;
   7640     int _df = 1;
   7641     uint32_t _flag_k = FK_NONE;
   7642     uint32_t _flag_a = 0, _flag_b = 0;
   7643     uint32_t _itail_tgt = 0;
   7644     RECOMP_REGS_LOCALS
   7645     RECOMP_ENTER(0x2E0116ECu);
   7646 
   7647     goto L_2E0116EC;
   7648 L_2E0030E0:
   7649     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   7650     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   7651     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   7652     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   7653     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7654     _cf = 0;
   7655     _flag_k = FK_TEST;
   7656     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   7657 L_2E0030EE:
   7658     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   7659     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   7660     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   7661 L_2E0030F6:
   7662     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   7663     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   7664     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   7665     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   7666     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7667     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7668     _flag_k = FK_CMP;
   7669     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   7670 L_2E003103:
   7671     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7672     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7673     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   7674     _flag_k = FK_ADD;
   7675     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   7676     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7677     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7678     _flag_k = FK_CMP;
   7679     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   7680     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   7681 L_2E00310D:
   7682     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   7683     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7684     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7685     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   7686     _flag_k = FK_ADD;
   7687     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   7688     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   7689     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7690     _flag_k = FK_CMP;
   7691     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   7692 L_2E003118:
   7693     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   7694     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   7695     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   7696     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   7697     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7698     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   7699     _flag_k = FK_ADD;
   7700     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   7701     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   7702     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   7703 L_2E00312E:
   7704     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   7705     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7706     eax = eax - 1; /* 0x2E003131: dec eax */
   7707     _flag_k = FK_DEC;
   7708     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   7709     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   7710 L_2E003137:
   7711     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   7712     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   7713     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   7714     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   7715     RECOMP_FLAGS_IN();
   7716     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   7717     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   7718     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   7719     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   7720     RECOMP_FLAGS_IN();
   7721     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   7722     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   7723     PUSH32(esp, eax); /* 0x2E003154: push eax */
   7724     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   7725     RECOMP_FLAGS_IN();
   7726     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   7727     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7728     eax = 0; /* 0x2E00315D: xor eax, eax */
   7729     _cf = 0;
   7730     _flag_k = FK_TEST;
   7731     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7732     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   7733     _cf = 0;
   7734     _flag_k = FK_TEST;
   7735     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7736     edx = 0; /* 0x2E003161: xor edx, edx */
   7737     _cf = 0;
   7738     _flag_k = FK_TEST;
   7739     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   7740     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   7741     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   7742     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7743     edi = 0; /* 0x2E00316B: xor edi, edi */
   7744     _cf = 0;
   7745     _flag_k = FK_TEST;
   7746     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   7747     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   7748     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   7749     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   7750     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   7751     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   7752     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   7753     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   7754     RECOMP_FLAGS_IN();
   7755     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7756     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7757     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   7758     _flag_k = FK_ADD;
   7759     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   7760 L_2E00318A:
   7761     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   7762     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   7763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7764     _flag_k = FK_CMP;
   7765     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   7766 L_2E00318F:
   7767     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   7768     PUSH32(esp, edx); /* 0x2E003191: push edx */
   7769     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   7770     RECOMP_FLAGS_IN();
   7771     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7772     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7773     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   7774     _flag_k = FK_ADD;
   7775     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   7776 L_2E0031A0:
   7777     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   7778     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   7779     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7780     _cf = 0;
   7781     _flag_k = FK_TEST;
   7782     RECOMP_BACKEDGE();
   7783     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   7784 L_2E0031AB:
   7785     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   7786     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   7787 L_2E0031AD:
   7788     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   7789     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   7790 L_2E0116EC:
   7791     ecx = MEM32(ebp + (-0x14)); /* 0x2E0116EC: mov ecx, dword ptr [ebp - 0x14] */
   7792     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   7793     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7794     ecx = ecx + 0x50u; /* 0x2E0116EF: add ecx, 0x50 */
   7795     _flag_k = FK_ADD;
   7796     RECOMP_BACKEDGE();
   7797     goto L_2E0030E0; /* 0x2E0116F2: jmp 0x2e0030e0 */
   7798     { RECOMP_REGS_OUT(); return; } /* end of function */
   7799     RECOMP_REGS_OUT();
   7800 }
   7801 
   7802 void sub_2E0116F7(void) {
   7803     int _fpu_cmp = 0;
   7804     uint32_t _cf = 0;
   7805     int _df = 1;
   7806     uint32_t _flag_k = FK_NONE;
   7807     uint32_t _flag_a = 0, _flag_b = 0;
   7808     uint32_t _itail_tgt = 0;
   7809     RECOMP_REGS_LOCALS
   7810     RECOMP_ENTER(0x2E0116F7u);
   7811 
   7812     goto L_2E0116F7;
   7813 L_2E0030E0:
   7814     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   7815     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   7816     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   7817     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   7818     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7819     _cf = 0;
   7820     _flag_k = FK_TEST;
   7821     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   7822 L_2E0030EE:
   7823     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   7824     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   7825     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   7826 L_2E0030F6:
   7827     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   7828     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   7829     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   7830     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   7831     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7832     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7833     _flag_k = FK_CMP;
   7834     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   7835 L_2E003103:
   7836     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7837     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7838     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   7839     _flag_k = FK_ADD;
   7840     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   7841     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7842     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7843     _flag_k = FK_CMP;
   7844     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   7845     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   7846 L_2E00310D:
   7847     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   7848     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7849     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7850     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   7851     _flag_k = FK_ADD;
   7852     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   7853     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   7854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7855     _flag_k = FK_CMP;
   7856     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   7857 L_2E003118:
   7858     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   7859     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   7860     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   7861     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   7862     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7863     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   7864     _flag_k = FK_ADD;
   7865     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   7866     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   7867     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   7868 L_2E00312E:
   7869     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   7870     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7871     eax = eax - 1; /* 0x2E003131: dec eax */
   7872     _flag_k = FK_DEC;
   7873     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   7874     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   7875 L_2E003137:
   7876     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   7877     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   7878     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   7879     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   7880     RECOMP_FLAGS_IN();
   7881     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   7882     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   7883     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   7884     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   7885     RECOMP_FLAGS_IN();
   7886     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   7887     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   7888     PUSH32(esp, eax); /* 0x2E003154: push eax */
   7889     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   7890     RECOMP_FLAGS_IN();
   7891     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   7892     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7893     eax = 0; /* 0x2E00315D: xor eax, eax */
   7894     _cf = 0;
   7895     _flag_k = FK_TEST;
   7896     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7897     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   7898     _cf = 0;
   7899     _flag_k = FK_TEST;
   7900     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7901     edx = 0; /* 0x2E003161: xor edx, edx */
   7902     _cf = 0;
   7903     _flag_k = FK_TEST;
   7904     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   7905     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   7906     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   7907     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7908     edi = 0; /* 0x2E00316B: xor edi, edi */
   7909     _cf = 0;
   7910     _flag_k = FK_TEST;
   7911     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   7912     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   7913     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   7914     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   7915     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   7916     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   7917     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   7918     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   7919     RECOMP_FLAGS_IN();
   7920     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7921     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7922     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   7923     _flag_k = FK_ADD;
   7924     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   7925 L_2E00318A:
   7926     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   7927     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   7928     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7929     _flag_k = FK_CMP;
   7930     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   7931 L_2E00318F:
   7932     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   7933     PUSH32(esp, edx); /* 0x2E003191: push edx */
   7934     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   7935     RECOMP_FLAGS_IN();
   7936     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7937     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7938     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   7939     _flag_k = FK_ADD;
   7940     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   7941 L_2E0031A0:
   7942     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   7943     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   7944     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7945     _cf = 0;
   7946     _flag_k = FK_TEST;
   7947     RECOMP_BACKEDGE();
   7948     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   7949 L_2E0031AB:
   7950     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   7951     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   7952 L_2E0031AD:
   7953     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   7954     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   7955 L_2E0116F7:
   7956     ecx = MEM32(ebp + (-0x14)); /* 0x2E0116F7: mov ecx, dword ptr [ebp - 0x14] */
   7957     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   7958     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7959     ecx = ecx + 0x80u; /* 0x2E0116FA: add ecx, 0x80 */
   7960     _flag_k = FK_ADD;
   7961     RECOMP_BACKEDGE();
   7962     goto L_2E0030E0; /* 0x2E011700: jmp 0x2e0030e0 */
   7963     { RECOMP_REGS_OUT(); return; } /* end of function */
   7964     RECOMP_REGS_OUT();
   7965 }
   7966 
   7967 void sub_2E011705(void) {
   7968     int _fpu_cmp = 0;
   7969     uint32_t _cf = 0;
   7970     int _df = 1;
   7971     uint32_t _flag_k = FK_NONE;
   7972     uint32_t _flag_a = 0, _flag_b = 0;
   7973     uint32_t _itail_tgt = 0;
   7974     RECOMP_REGS_LOCALS
   7975     RECOMP_ENTER(0x2E011705u);
   7976 
   7977     goto L_2E011705;
   7978 L_2E0030E0:
   7979     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   7980     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   7981     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   7982     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   7983     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7984     _cf = 0;
   7985     _flag_k = FK_TEST;
   7986     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   7987 L_2E0030EE:
   7988     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   7989     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   7990     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   7991 L_2E0030F6:
   7992     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   7993     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   7994     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   7995     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   7996     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7997     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7998     _flag_k = FK_CMP;
   7999     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   8000 L_2E003103:
   8001     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8002     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8003     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   8004     _flag_k = FK_ADD;
   8005     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   8006     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8007     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8008     _flag_k = FK_CMP;
   8009     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   8010     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   8011 L_2E00310D:
   8012     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   8013     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8014     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8015     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   8016     _flag_k = FK_ADD;
   8017     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   8018     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   8019     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8020     _flag_k = FK_CMP;
   8021     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   8022 L_2E003118:
   8023     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   8024     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   8025     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   8026     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   8027     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8028     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   8029     _flag_k = FK_ADD;
   8030     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   8031     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   8032     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   8033 L_2E00312E:
   8034     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   8035     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8036     eax = eax - 1; /* 0x2E003131: dec eax */
   8037     _flag_k = FK_DEC;
   8038     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   8039     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   8040 L_2E003137:
   8041     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   8042     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   8043     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   8044     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   8045     RECOMP_FLAGS_IN();
   8046     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   8047     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   8048     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   8049     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   8050     RECOMP_FLAGS_IN();
   8051     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   8052     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   8053     PUSH32(esp, eax); /* 0x2E003154: push eax */
   8054     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   8055     RECOMP_FLAGS_IN();
   8056     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   8057     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8058     eax = 0; /* 0x2E00315D: xor eax, eax */
   8059     _cf = 0;
   8060     _flag_k = FK_TEST;
   8061     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8062     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   8063     _cf = 0;
   8064     _flag_k = FK_TEST;
   8065     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8066     edx = 0; /* 0x2E003161: xor edx, edx */
   8067     _cf = 0;
   8068     _flag_k = FK_TEST;
   8069     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   8070     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   8071     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   8072     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8073     edi = 0; /* 0x2E00316B: xor edi, edi */
   8074     _cf = 0;
   8075     _flag_k = FK_TEST;
   8076     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   8077     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   8078     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   8079     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   8080     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   8081     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   8082     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   8083     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   8084     RECOMP_FLAGS_IN();
   8085     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   8086     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8087     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   8088     _flag_k = FK_ADD;
   8089     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   8090 L_2E00318A:
   8091     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   8092     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   8093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8094     _flag_k = FK_CMP;
   8095     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   8096 L_2E00318F:
   8097     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   8098     PUSH32(esp, edx); /* 0x2E003191: push edx */
   8099     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   8100     RECOMP_FLAGS_IN();
   8101     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8102     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8103     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   8104     _flag_k = FK_ADD;
   8105     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   8106 L_2E0031A0:
   8107     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   8108     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   8109     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8110     _cf = 0;
   8111     _flag_k = FK_TEST;
   8112     RECOMP_BACKEDGE();
   8113     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   8114 L_2E0031AB:
   8115     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   8116     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   8117 L_2E0031AD:
   8118     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   8119     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   8120 L_2E011705:
   8121     ecx = MEM32(ebp + (-0x14)); /* 0x2E011705: mov ecx, dword ptr [ebp - 0x14] */
   8122     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xB0u);
   8123     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8124     ecx = ecx + 0xB0u; /* 0x2E011708: add ecx, 0xb0 */
   8125     _flag_k = FK_ADD;
   8126     RECOMP_BACKEDGE();
   8127     goto L_2E0030E0; /* 0x2E01170E: jmp 0x2e0030e0 */
   8128     { RECOMP_REGS_OUT(); return; } /* end of function */
   8129     RECOMP_REGS_OUT();
   8130 }
   8131 
   8132 void sub_2E011713(void) {
   8133     int _fpu_cmp = 0;
   8134     uint32_t _cf = 0;
   8135     int _df = 1;
   8136     uint32_t _flag_k = FK_NONE;
   8137     uint32_t _flag_a = 0, _flag_b = 0;
   8138     uint32_t _itail_tgt = 0;
   8139     RECOMP_REGS_LOCALS
   8140     RECOMP_ENTER(0x2E011713u);
   8141 
   8142 L_2E011713:
   8143     ecx = MEM32(ebp + (-0x14)); /* 0x2E011713: mov ecx, dword ptr [ebp - 0x14] */
   8144 L_2E011716:
   8145     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   8146     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8147     ecx = ecx + 4; /* 0x2E011716: add ecx, 4 */
   8148     _flag_k = FK_ADD;
   8149 L_2E011719:
   8150     { _itail_tgt = (uint32_t)(MEM32(0x2E0121C8)); goto _ljump; }
   8151     { RECOMP_REGS_OUT(); return; } /* end of function */
   8152   _ljump:
   8153     switch (_itail_tgt) {
   8154       case 0x2E011713u: goto L_2E011713;
   8155       case 0x2E011716u: goto L_2E011716;
   8156       case 0x2E011719u: goto L_2E011719;
   8157       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8158     }
   8159     RECOMP_REGS_OUT();
   8160 }
   8161 
   8162 void sub_2E01171F(void) {
   8163     int _fpu_cmp = 0;
   8164     uint32_t _cf = 0;
   8165     int _df = 1;
   8166     uint32_t _flag_k = FK_NONE;
   8167     uint32_t _flag_a = 0, _flag_b = 0;
   8168     uint32_t _itail_tgt = 0;
   8169     RECOMP_REGS_LOCALS
   8170     RECOMP_ENTER(0x2E01171Fu);
   8171 
   8172     goto L_2E01171F;
   8173 L_2E0030E0:
   8174     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   8175     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   8176     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   8177     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   8178     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8179     _cf = 0;
   8180     _flag_k = FK_TEST;
   8181     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   8182 L_2E0030EE:
   8183     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   8184     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   8185     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   8186 L_2E0030F6:
   8187     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   8188     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   8189     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   8190     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   8191     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8192     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8193     _flag_k = FK_CMP;
   8194     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   8195 L_2E003103:
   8196     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8197     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8198     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   8199     _flag_k = FK_ADD;
   8200     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   8201     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8202     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8203     _flag_k = FK_CMP;
   8204     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   8205     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   8206 L_2E00310D:
   8207     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   8208     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8209     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8210     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   8211     _flag_k = FK_ADD;
   8212     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   8213     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   8214     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8215     _flag_k = FK_CMP;
   8216     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   8217 L_2E003118:
   8218     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   8219     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   8220     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   8221     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   8222     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8223     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   8224     _flag_k = FK_ADD;
   8225     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   8226     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   8227     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   8228 L_2E00312E:
   8229     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   8230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8231     eax = eax - 1; /* 0x2E003131: dec eax */
   8232     _flag_k = FK_DEC;
   8233     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   8234     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   8235 L_2E003137:
   8236     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   8237     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   8238     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   8239     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   8240     RECOMP_FLAGS_IN();
   8241     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   8242     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   8243     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   8244     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   8245     RECOMP_FLAGS_IN();
   8246     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   8247     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   8248     PUSH32(esp, eax); /* 0x2E003154: push eax */
   8249     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   8250     RECOMP_FLAGS_IN();
   8251     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   8252     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8253     eax = 0; /* 0x2E00315D: xor eax, eax */
   8254     _cf = 0;
   8255     _flag_k = FK_TEST;
   8256     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8257     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   8258     _cf = 0;
   8259     _flag_k = FK_TEST;
   8260     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8261     edx = 0; /* 0x2E003161: xor edx, edx */
   8262     _cf = 0;
   8263     _flag_k = FK_TEST;
   8264     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   8265     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   8266     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   8267     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8268     edi = 0; /* 0x2E00316B: xor edi, edi */
   8269     _cf = 0;
   8270     _flag_k = FK_TEST;
   8271     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   8272     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   8273     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   8274     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   8275     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   8276     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   8277     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   8278     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   8279     RECOMP_FLAGS_IN();
   8280     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   8281     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8282     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   8283     _flag_k = FK_ADD;
   8284     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   8285 L_2E00318A:
   8286     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   8287     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   8288     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8289     _flag_k = FK_CMP;
   8290     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   8291 L_2E00318F:
   8292     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   8293     PUSH32(esp, edx); /* 0x2E003191: push edx */
   8294     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   8295     RECOMP_FLAGS_IN();
   8296     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8297     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8298     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   8299     _flag_k = FK_ADD;
   8300     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   8301 L_2E0031A0:
   8302     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   8303     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   8304     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8305     _cf = 0;
   8306     _flag_k = FK_TEST;
   8307     RECOMP_BACKEDGE();
   8308     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   8309 L_2E0031AB:
   8310     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   8311     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   8312 L_2E0031AD:
   8313     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   8314     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   8315 L_2E01171F:
   8316     ecx = MEM32(ebp + (-0x14)); /* 0x2E01171F: mov ecx, dword ptr [ebp - 0x14] */
   8317     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   8318     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8319     ecx = ecx + 0x50u; /* 0x2E011722: add ecx, 0x50 */
   8320     _flag_k = FK_ADD;
   8321     RECOMP_BACKEDGE();
   8322     goto L_2E0030E0; /* 0x2E011725: jmp 0x2e0030e0 */
   8323     { RECOMP_REGS_OUT(); return; } /* end of function */
   8324     RECOMP_REGS_OUT();
   8325 }
   8326 
   8327 void sub_2E01172A(void) {
   8328     int _fpu_cmp = 0;
   8329     uint32_t _cf = 0;
   8330     int _df = 1;
   8331     uint32_t _flag_k = FK_NONE;
   8332     uint32_t _flag_a = 0, _flag_b = 0;
   8333     uint32_t _itail_tgt = 0;
   8334     RECOMP_REGS_LOCALS
   8335     RECOMP_ENTER(0x2E01172Au);
   8336 
   8337     goto L_2E01172A;
   8338 L_2E0030E0:
   8339     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   8340     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   8341     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   8342     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   8343     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8344     _cf = 0;
   8345     _flag_k = FK_TEST;
   8346     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   8347 L_2E0030EE:
   8348     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   8349     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   8350     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   8351 L_2E0030F6:
   8352     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   8353     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   8354     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   8355     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   8356     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8357     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8358     _flag_k = FK_CMP;
   8359     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   8360 L_2E003103:
   8361     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8362     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8363     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   8364     _flag_k = FK_ADD;
   8365     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   8366     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8367     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8368     _flag_k = FK_CMP;
   8369     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   8370     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   8371 L_2E00310D:
   8372     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   8373     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8374     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8375     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   8376     _flag_k = FK_ADD;
   8377     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   8378     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   8379     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8380     _flag_k = FK_CMP;
   8381     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   8382 L_2E003118:
   8383     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   8384     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   8385     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   8386     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   8387     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8388     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   8389     _flag_k = FK_ADD;
   8390     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   8391     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   8392     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   8393 L_2E00312E:
   8394     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   8395     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8396     eax = eax - 1; /* 0x2E003131: dec eax */
   8397     _flag_k = FK_DEC;
   8398     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   8399     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   8400 L_2E003137:
   8401     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   8402     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   8403     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   8404     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   8405     RECOMP_FLAGS_IN();
   8406     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   8407     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   8408     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   8409     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   8410     RECOMP_FLAGS_IN();
   8411     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   8412     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   8413     PUSH32(esp, eax); /* 0x2E003154: push eax */
   8414     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   8415     RECOMP_FLAGS_IN();
   8416     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   8417     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8418     eax = 0; /* 0x2E00315D: xor eax, eax */
   8419     _cf = 0;
   8420     _flag_k = FK_TEST;
   8421     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8422     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   8423     _cf = 0;
   8424     _flag_k = FK_TEST;
   8425     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8426     edx = 0; /* 0x2E003161: xor edx, edx */
   8427     _cf = 0;
   8428     _flag_k = FK_TEST;
   8429     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   8430     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   8431     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   8432     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8433     edi = 0; /* 0x2E00316B: xor edi, edi */
   8434     _cf = 0;
   8435     _flag_k = FK_TEST;
   8436     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   8437     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   8438     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   8439     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   8440     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   8441     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   8442     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   8443     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   8444     RECOMP_FLAGS_IN();
   8445     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   8446     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8447     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   8448     _flag_k = FK_ADD;
   8449     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   8450 L_2E00318A:
   8451     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   8452     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   8453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8454     _flag_k = FK_CMP;
   8455     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   8456 L_2E00318F:
   8457     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   8458     PUSH32(esp, edx); /* 0x2E003191: push edx */
   8459     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   8460     RECOMP_FLAGS_IN();
   8461     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8462     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8463     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   8464     _flag_k = FK_ADD;
   8465     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   8466 L_2E0031A0:
   8467     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   8468     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   8469     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8470     _cf = 0;
   8471     _flag_k = FK_TEST;
   8472     RECOMP_BACKEDGE();
   8473     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   8474 L_2E0031AB:
   8475     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   8476     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   8477 L_2E0031AD:
   8478     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   8479     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   8480 L_2E01172A:
   8481     ecx = MEM32(ebp + (-0x14)); /* 0x2E01172A: mov ecx, dword ptr [ebp - 0x14] */
   8482     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u);
   8483     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8484     ecx = ecx + 0x80u; /* 0x2E01172D: add ecx, 0x80 */
   8485     _flag_k = FK_ADD;
   8486     RECOMP_BACKEDGE();
   8487     goto L_2E0030E0; /* 0x2E011733: jmp 0x2e0030e0 */
   8488     { RECOMP_REGS_OUT(); return; } /* end of function */
   8489     RECOMP_REGS_OUT();
   8490 }
   8491 
   8492 void sub_2E011738(void) {
   8493     int _fpu_cmp = 0;
   8494     uint32_t _cf = 0;
   8495     int _df = 1;
   8496     uint32_t _flag_k = FK_NONE;
   8497     uint32_t _flag_a = 0, _flag_b = 0;
   8498     uint32_t _itail_tgt = 0;
   8499     RECOMP_REGS_LOCALS
   8500     RECOMP_ENTER(0x2E011738u);
   8501 
   8502     goto L_2E011738;
   8503 L_2E0030E0:
   8504     PUSH32(esp, esi); /* 0x2E0030E0: push esi */
   8505     esi = ecx; /* 0x2E0030E1: mov esi, ecx */
   8506     eax = MEM32(esi + 0x2C); /* 0x2E0030E3: mov eax, dword ptr [esi + 0x2c] */
   8507     /* test eax, eax */ /* 0x2E0030E6: test eax, eax */
   8508     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8509     _cf = 0;
   8510     _flag_k = FK_TEST;
   8511     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031AD; /* 0x2E0030E8: je 0x2e0031ad */
   8512 L_2E0030EE:
   8513     PUSH32(esp, ebx); /* 0x2E0030EE: push ebx */
   8514     PUSH32(esp, edi); /* 0x2E0030EF: push edi */
   8515     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E0030F0: je 0x2e0031a0 */
   8516 L_2E0030F6:
   8517     eax = MEM32(esi + 0xC); /* 0x2E0030F6: mov eax, dword ptr [esi + 0xc] */
   8518     ecx = MEM32(esi + 0x8); /* 0x2E0030F9: mov ecx, dword ptr [esi + 8] */
   8519     edi = MEM32(esi + 0x10); /* 0x2E0030FC: mov edi, dword ptr [esi + 0x10] */
   8520     /* cmp eax, ecx */ /* 0x2E0030FF: cmp eax, ecx */
   8521     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8523     _flag_k = FK_CMP;
   8524     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003101: je 0x2e00312e */
   8525 L_2E003103:
   8526     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8527     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8528     eax = eax + 4; /* 0x2E003103: add eax, 4 */
   8529     _flag_k = FK_ADD;
   8530     /* cmp eax, ecx */ /* 0x2E003106: cmp eax, ecx */
   8531     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8532     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8533     _flag_k = FK_CMP;
   8534     MEM32(esi + 0xC) = eax; /* 0x2E003108: mov dword ptr [esi + 0xc], eax */
   8535     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E00310B: jne 0x2e00312e */
   8536 L_2E00310D:
   8537     eax = MEM32(esi + 0x10); /* 0x2E00310D: mov eax, dword ptr [esi + 0x10] */
   8538     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8539     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8540     eax = eax + 4; /* 0x2E003110: add eax, 4 */
   8541     _flag_k = FK_ADD;
   8542     /* cmp MEM32(eax), 0 */ /* 0x2E003113: cmp dword ptr [eax], 0 */
   8543     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   8544     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8545     _flag_k = FK_CMP;
   8546     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00312E; /* 0x2E003116: je 0x2e00312e */
   8547 L_2E003118:
   8548     MEM32(esi + 0x10) = eax; /* 0x2E003118: mov dword ptr [esi + 0x10], eax */
   8549     eax = MEM32(eax); /* 0x2E00311B: mov eax, dword ptr [eax] */
   8550     MEM32(esi + 0x4) = eax; /* 0x2E00311D: mov dword ptr [esi + 4], eax */
   8551     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   8552     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8553     eax = eax + 0x1000u; /* 0x2E003120: add eax, 0x1000 */
   8554     _flag_k = FK_ADD;
   8555     MEM32(esi + 0x8) = eax; /* 0x2E003125: mov dword ptr [esi + 8], eax */
   8556     eax = MEM32(esi + 0x4); /* 0x2E003128: mov eax, dword ptr [esi + 4] */
   8557     MEM32(esi + 0xC) = eax; /* 0x2E00312B: mov dword ptr [esi + 0xc], eax */
   8558 L_2E00312E:
   8559     eax = MEM32(esi + 0x2C); /* 0x2E00312E: mov eax, dword ptr [esi + 0x2c] */
   8560     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8561     eax = eax - 1; /* 0x2E003131: dec eax */
   8562     _flag_k = FK_DEC;
   8563     MEM32(esi + 0x2C) = eax; /* 0x2E003132: mov dword ptr [esi + 0x2c], eax */
   8564     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00318A; /* 0x2E003135: jne 0x2e00318a */
   8565 L_2E003137:
   8566     ecx = MEM32(esi + 0x10); /* 0x2E003137: mov ecx, dword ptr [esi + 0x10] */
   8567     edx = MEM32(ecx + (-0x4)); /* 0x2E00313A: mov edx, dword ptr [ecx - 4] */
   8568     PUSH32(esp, edx); /* 0x2E00313D: push edx */
   8569     RECOMP_ICALL(0x2E010E90u); /* 0x2E00313E: call 0x2e010e90 */ /* not lifted */
   8570     RECOMP_FLAGS_IN();
   8571     eax = MEM32(esi + 0x10); /* 0x2E003143: mov eax, dword ptr [esi + 0x10] */
   8572     ecx = MEM32(eax); /* 0x2E003146: mov ecx, dword ptr [eax] */
   8573     PUSH32(esp, ecx); /* 0x2E003148: push ecx */
   8574     RECOMP_ICALL(0x2E010E90u); /* 0x2E003149: call 0x2e010e90 */ /* not lifted */
   8575     RECOMP_FLAGS_IN();
   8576     edx = MEM32(esi + 0x10); /* 0x2E00314E: mov edx, dword ptr [esi + 0x10] */
   8577     eax = MEM32(edx + 0x4); /* 0x2E003151: mov eax, dword ptr [edx + 4] */
   8578     PUSH32(esp, eax); /* 0x2E003154: push eax */
   8579     RECOMP_ICALL(0x2E010E90u); /* 0x2E003155: call 0x2e010e90 */ /* not lifted */
   8580     RECOMP_FLAGS_IN();
   8581     ebx = esi + 0x14; /* 0x2E00315A: lea ebx, [esi + 0x14] */
   8582     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8583     eax = 0; /* 0x2E00315D: xor eax, eax */
   8584     _cf = 0;
   8585     _flag_k = FK_TEST;
   8586     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8587     ecx = 0; /* 0x2E00315F: xor ecx, ecx */
   8588     _cf = 0;
   8589     _flag_k = FK_TEST;
   8590     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8591     edx = 0; /* 0x2E003161: xor edx, edx */
   8592     _cf = 0;
   8593     _flag_k = FK_TEST;
   8594     MEM32(ebx) = eax; /* 0x2E003163: mov dword ptr [ebx], eax */
   8595     MEM32(esi + 0x4) = eax; /* 0x2E003165: mov dword ptr [esi + 4], eax */
   8596     MEM32(esi + 0x8) = ecx; /* 0x2E003168: mov dword ptr [esi + 8], ecx */
   8597     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8598     edi = 0; /* 0x2E00316B: xor edi, edi */
   8599     _cf = 0;
   8600     _flag_k = FK_TEST;
   8601     MEM32(ebx + 0x4) = ecx; /* 0x2E00316D: mov dword ptr [ebx + 4], ecx */
   8602     ecx = MEM32(esi + 0x24); /* 0x2E003170: mov ecx, dword ptr [esi + 0x24] */
   8603     MEM32(esi + 0xC) = edx; /* 0x2E003173: mov dword ptr [esi + 0xc], edx */
   8604     PUSH32(esp, ecx); /* 0x2E003176: push ecx */
   8605     MEM32(ebx + 0x8) = edx; /* 0x2E003177: mov dword ptr [ebx + 8], edx */
   8606     MEM32(esi + 0x10) = edi; /* 0x2E00317A: mov dword ptr [esi + 0x10], edi */
   8607     MEM32(ebx + 0xC) = edi; /* 0x2E00317D: mov dword ptr [ebx + 0xc], edi */
   8608     RECOMP_ICALL(0x2E010E90u); /* 0x2E003180: call 0x2e010e90 */ /* not lifted */
   8609     RECOMP_FLAGS_IN();
   8610     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   8611     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8612     esp = esp + 0x10u; /* 0x2E003185: add esp, 0x10 */
   8613     _flag_k = FK_ADD;
   8614     goto L_2E0031A0; /* 0x2E003188: jmp 0x2e0031a0 */
   8615 L_2E00318A:
   8616     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E00318A: cmp edi, dword ptr [esi + 0x10] */
   8617     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   8618     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8619     _flag_k = FK_CMP;
   8620     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0031A0; /* 0x2E00318D: je 0x2e0031a0 */
   8621 L_2E00318F:
   8622     edx = MEM32(edi); /* 0x2E00318F: mov edx, dword ptr [edi] */
   8623     PUSH32(esp, edx); /* 0x2E003191: push edx */
   8624     RECOMP_ICALL(0x2E010E90u); /* 0x2E003192: call 0x2e010e90 */ /* not lifted */
   8625     RECOMP_FLAGS_IN();
   8626     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8627     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8628     esp = esp + 4; /* 0x2E003197: add esp, 4 */
   8629     _flag_k = FK_ADD;
   8630     MEM32(edi) = 0; /* 0x2E00319A: mov dword ptr [edi], 0 */
   8631 L_2E0031A0:
   8632     eax = MEM32(esi + 0x2C); /* 0x2E0031A0: mov eax, dword ptr [esi + 0x2c] */
   8633     /* test eax, eax */ /* 0x2E0031A3: test eax, eax */
   8634     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8635     _cf = 0;
   8636     _flag_k = FK_TEST;
   8637     RECOMP_BACKEDGE();
   8638     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0030F6; /* 0x2E0031A5: jne 0x2e0030f6 */
   8639 L_2E0031AB:
   8640     edi = POP32_VAL(esp); /* 0x2E0031AB: pop edi */
   8641     ebx = POP32_VAL(esp); /* 0x2E0031AC: pop ebx */
   8642 L_2E0031AD:
   8643     esi = POP32_VAL(esp); /* 0x2E0031AD: pop esi */
   8644     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0031AE: ret  */
   8645 L_2E011738:
   8646     ecx = MEM32(ebp + (-0x14)); /* 0x2E011738: mov ecx, dword ptr [ebp - 0x14] */
   8647     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xB0u);
   8648     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8649     ecx = ecx + 0xB0u; /* 0x2E01173B: add ecx, 0xb0 */
   8650     _flag_k = FK_ADD;
   8651     RECOMP_BACKEDGE();
   8652     goto L_2E0030E0; /* 0x2E011741: jmp 0x2e0030e0 */
   8653     { RECOMP_REGS_OUT(); return; } /* end of function */
   8654     RECOMP_REGS_OUT();
   8655 }
   8656 
   8657 void sub_2E011746(void) {
   8658     int _fpu_cmp = 0;
   8659     uint32_t _cf = 0;
   8660     int _df = 1;
   8661     uint32_t _flag_k = FK_NONE;
   8662     uint32_t _flag_a = 0, _flag_b = 0;
   8663     uint32_t _itail_tgt = 0;
   8664     RECOMP_REGS_LOCALS
   8665     RECOMP_ENTER(0x2E011746u);
   8666 
   8667     goto L_2E011746;
   8668 L_2E010EA2:
   8669     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   8670 L_2E011746:
   8671     eax = 0x2E013560u; /* 0x2E011746: mov eax, 0x2e013560 */
   8672 L_2E01174B:
   8673     RECOMP_BACKEDGE();
   8674     goto L_2E010EA2; /* 0x2E01174B: jmp 0x2e010ea2 */
   8675     { RECOMP_REGS_OUT(); return; } /* end of function */
   8676   _ljump:
   8677     switch (_itail_tgt) {
   8678       case 0x2E010EA2u: goto L_2E010EA2;
   8679       case 0x2E011746u: goto L_2E011746;
   8680       case 0x2E01174Bu: goto L_2E01174B;
   8681       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8682     }
   8683     RECOMP_REGS_OUT();
   8684 }
   8685 
   8686 void sub_2E011750(void) {
   8687     int _fpu_cmp = 0;
   8688     uint32_t _cf = 0;
   8689     int _df = 1;
   8690     uint32_t _flag_k = FK_NONE;
   8691     uint32_t _flag_a = 0, _flag_b = 0;
   8692     uint32_t _itail_tgt = 0;
   8693     RECOMP_REGS_LOCALS
   8694     RECOMP_ENTER(0x2E011750u);
   8695 
   8696     goto L_2E011750;
   8697 L_2E0020D0:
   8698     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   8699 L_2E0020D3:
   8700     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   8701     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   8702     _cf = 0;
   8703     _flag_k = FK_TEST;
   8704 L_2E0020D6:
   8705     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   8706     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   8707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8708     _flag_k = FK_CMP;
   8709 L_2E0020D8:
   8710     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   8711 L_2E0020DA:
   8712     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   8713 L_2E0020DD:
   8714     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   8715 L_2E0020DF:
   8716     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   8717 L_2E0020E5:
   8718     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   8719 L_2E011750:
   8720     ecx = ebp + (-0x20); /* 0x2E011750: lea ecx, [ebp - 0x20] */
   8721 L_2E011753:
   8722     RECOMP_BACKEDGE();
   8723     goto L_2E0020D0; /* 0x2E011753: jmp 0x2e0020d0 */
   8724     { RECOMP_REGS_OUT(); return; } /* end of function */
   8725   _ljump:
   8726     switch (_itail_tgt) {
   8727       case 0x2E0020D0u: goto L_2E0020D0;
   8728       case 0x2E0020D3u: goto L_2E0020D3;
   8729       case 0x2E0020D6u: goto L_2E0020D6;
   8730       case 0x2E0020D8u: goto L_2E0020D8;
   8731       case 0x2E0020DAu: goto L_2E0020DA;
   8732       case 0x2E0020DDu: goto L_2E0020DD;
   8733       case 0x2E0020DFu: goto L_2E0020DF;
   8734       case 0x2E0020E5u: goto L_2E0020E5;
   8735       case 0x2E011750u: goto L_2E011750;
   8736       case 0x2E011753u: goto L_2E011753;
   8737       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8738     }
   8739     RECOMP_REGS_OUT();
   8740 }
   8741 
   8742 void sub_2E011758(void) {
   8743     int _fpu_cmp = 0;
   8744     uint32_t _cf = 0;
   8745     int _df = 1;
   8746     uint32_t _flag_k = FK_NONE;
   8747     uint32_t _flag_a = 0, _flag_b = 0;
   8748     uint32_t _itail_tgt = 0;
   8749     RECOMP_REGS_LOCALS
   8750     RECOMP_ENTER(0x2E011758u);
   8751 
   8752     goto L_2E011758;
   8753 L_2E0020D0:
   8754     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   8755 L_2E0020D3:
   8756     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   8757     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   8758     _cf = 0;
   8759     _flag_k = FK_TEST;
   8760 L_2E0020D6:
   8761     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   8762     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   8763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8764     _flag_k = FK_CMP;
   8765 L_2E0020D8:
   8766     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   8767 L_2E0020DA:
   8768     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   8769 L_2E0020DD:
   8770     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   8771 L_2E0020DF:
   8772     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   8773 L_2E0020E5:
   8774     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   8775 L_2E011758:
   8776     ecx = ebp + (-0x20); /* 0x2E011758: lea ecx, [ebp - 0x20] */
   8777 L_2E01175B:
   8778     RECOMP_BACKEDGE();
   8779     goto L_2E0020D0; /* 0x2E01175B: jmp 0x2e0020d0 */
   8780     { RECOMP_REGS_OUT(); return; } /* end of function */
   8781   _ljump:
   8782     switch (_itail_tgt) {
   8783       case 0x2E0020D0u: goto L_2E0020D0;
   8784       case 0x2E0020D3u: goto L_2E0020D3;
   8785       case 0x2E0020D6u: goto L_2E0020D6;
   8786       case 0x2E0020D8u: goto L_2E0020D8;
   8787       case 0x2E0020DAu: goto L_2E0020DA;
   8788       case 0x2E0020DDu: goto L_2E0020DD;
   8789       case 0x2E0020DFu: goto L_2E0020DF;
   8790       case 0x2E0020E5u: goto L_2E0020E5;
   8791       case 0x2E011758u: goto L_2E011758;
   8792       case 0x2E01175Bu: goto L_2E01175B;
   8793       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8794     }
   8795     RECOMP_REGS_OUT();
   8796 }
   8797 
   8798 void sub_2E011760(void) {
   8799     int _fpu_cmp = 0;
   8800     uint32_t _cf = 0;
   8801     int _df = 1;
   8802     uint32_t _flag_k = FK_NONE;
   8803     uint32_t _flag_a = 0, _flag_b = 0;
   8804     uint32_t _itail_tgt = 0;
   8805     RECOMP_REGS_LOCALS
   8806     RECOMP_ENTER(0x2E011760u);
   8807 
   8808     goto L_2E011760;
   8809 L_2E0020D0:
   8810     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   8811 L_2E0020D3:
   8812     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   8813     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   8814     _cf = 0;
   8815     _flag_k = FK_TEST;
   8816 L_2E0020D6:
   8817     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   8818     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   8819     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8820     _flag_k = FK_CMP;
   8821 L_2E0020D8:
   8822     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   8823 L_2E0020DA:
   8824     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   8825 L_2E0020DD:
   8826     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   8827 L_2E0020DF:
   8828     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   8829 L_2E0020E5:
   8830     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   8831 L_2E011760:
   8832     ecx = ebp + (-0x18); /* 0x2E011760: lea ecx, [ebp - 0x18] */
   8833 L_2E011763:
   8834     RECOMP_BACKEDGE();
   8835     goto L_2E0020D0; /* 0x2E011763: jmp 0x2e0020d0 */
   8836     { RECOMP_REGS_OUT(); return; } /* end of function */
   8837   _ljump:
   8838     switch (_itail_tgt) {
   8839       case 0x2E0020D0u: goto L_2E0020D0;
   8840       case 0x2E0020D3u: goto L_2E0020D3;
   8841       case 0x2E0020D6u: goto L_2E0020D6;
   8842       case 0x2E0020D8u: goto L_2E0020D8;
   8843       case 0x2E0020DAu: goto L_2E0020DA;
   8844       case 0x2E0020DDu: goto L_2E0020DD;
   8845       case 0x2E0020DFu: goto L_2E0020DF;
   8846       case 0x2E0020E5u: goto L_2E0020E5;
   8847       case 0x2E011760u: goto L_2E011760;
   8848       case 0x2E011763u: goto L_2E011763;
   8849       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8850     }
   8851     RECOMP_REGS_OUT();
   8852 }
   8853 
   8854 void sub_2E011768(void) {
   8855     int _fpu_cmp = 0;
   8856     uint32_t _cf = 0;
   8857     int _df = 1;
   8858     uint32_t _flag_k = FK_NONE;
   8859     uint32_t _flag_a = 0, _flag_b = 0;
   8860     uint32_t _itail_tgt = 0;
   8861     RECOMP_REGS_LOCALS
   8862     RECOMP_ENTER(0x2E011768u);
   8863 
   8864     goto L_2E011768;
   8865 L_2E0020D0:
   8866     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   8867 L_2E0020D3:
   8868     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   8869     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   8870     _cf = 0;
   8871     _flag_k = FK_TEST;
   8872 L_2E0020D6:
   8873     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   8874     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   8875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8876     _flag_k = FK_CMP;
   8877 L_2E0020D8:
   8878     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   8879 L_2E0020DA:
   8880     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   8881 L_2E0020DD:
   8882     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   8883 L_2E0020DF:
   8884     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   8885 L_2E0020E5:
   8886     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   8887 L_2E011768:
   8888     ecx = ebp + (-0x18); /* 0x2E011768: lea ecx, [ebp - 0x18] */
   8889 L_2E01176B:
   8890     RECOMP_BACKEDGE();
   8891     goto L_2E0020D0; /* 0x2E01176B: jmp 0x2e0020d0 */
   8892     { RECOMP_REGS_OUT(); return; } /* end of function */
   8893   _ljump:
   8894     switch (_itail_tgt) {
   8895       case 0x2E0020D0u: goto L_2E0020D0;
   8896       case 0x2E0020D3u: goto L_2E0020D3;
   8897       case 0x2E0020D6u: goto L_2E0020D6;
   8898       case 0x2E0020D8u: goto L_2E0020D8;
   8899       case 0x2E0020DAu: goto L_2E0020DA;
   8900       case 0x2E0020DDu: goto L_2E0020DD;
   8901       case 0x2E0020DFu: goto L_2E0020DF;
   8902       case 0x2E0020E5u: goto L_2E0020E5;
   8903       case 0x2E011768u: goto L_2E011768;
   8904       case 0x2E01176Bu: goto L_2E01176B;
   8905       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8906     }
   8907     RECOMP_REGS_OUT();
   8908 }
   8909 
   8910 void sub_2E011770(void) {
   8911     int _fpu_cmp = 0;
   8912     uint32_t _cf = 0;
   8913     int _df = 1;
   8914     uint32_t _flag_k = FK_NONE;
   8915     uint32_t _flag_a = 0, _flag_b = 0;
   8916     uint32_t _itail_tgt = 0;
   8917     RECOMP_REGS_LOCALS
   8918     RECOMP_ENTER(0x2E011770u);
   8919 
   8920     goto L_2E011770;
   8921 L_2E0020D0:
   8922     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   8923 L_2E0020D3:
   8924     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   8925     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   8926     _cf = 0;
   8927     _flag_k = FK_TEST;
   8928 L_2E0020D6:
   8929     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   8930     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   8931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8932     _flag_k = FK_CMP;
   8933 L_2E0020D8:
   8934     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   8935 L_2E0020DA:
   8936     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   8937 L_2E0020DD:
   8938     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   8939 L_2E0020DF:
   8940     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   8941 L_2E0020E5:
   8942     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   8943 L_2E011770:
   8944     ecx = ebp + (-0x18); /* 0x2E011770: lea ecx, [ebp - 0x18] */
   8945 L_2E011773:
   8946     RECOMP_BACKEDGE();
   8947     goto L_2E0020D0; /* 0x2E011773: jmp 0x2e0020d0 */
   8948     { RECOMP_REGS_OUT(); return; } /* end of function */
   8949   _ljump:
   8950     switch (_itail_tgt) {
   8951       case 0x2E0020D0u: goto L_2E0020D0;
   8952       case 0x2E0020D3u: goto L_2E0020D3;
   8953       case 0x2E0020D6u: goto L_2E0020D6;
   8954       case 0x2E0020D8u: goto L_2E0020D8;
   8955       case 0x2E0020DAu: goto L_2E0020DA;
   8956       case 0x2E0020DDu: goto L_2E0020DD;
   8957       case 0x2E0020DFu: goto L_2E0020DF;
   8958       case 0x2E0020E5u: goto L_2E0020E5;
   8959       case 0x2E011770u: goto L_2E011770;
   8960       case 0x2E011773u: goto L_2E011773;
   8961       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8962     }
   8963     RECOMP_REGS_OUT();
   8964 }
   8965 
   8966 void sub_2E011778(void) {
   8967     int _fpu_cmp = 0;
   8968     uint32_t _cf = 0;
   8969     int _df = 1;
   8970     uint32_t _flag_k = FK_NONE;
   8971     uint32_t _flag_a = 0, _flag_b = 0;
   8972     uint32_t _itail_tgt = 0;
   8973     RECOMP_REGS_LOCALS
   8974     RECOMP_ENTER(0x2E011778u);
   8975 
   8976     goto L_2E011778;
   8977 L_2E0020D0:
   8978     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   8979 L_2E0020D3:
   8980     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   8981     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   8982     _cf = 0;
   8983     _flag_k = FK_TEST;
   8984 L_2E0020D6:
   8985     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   8986     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   8987     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8988     _flag_k = FK_CMP;
   8989 L_2E0020D8:
   8990     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   8991 L_2E0020DA:
   8992     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   8993 L_2E0020DD:
   8994     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   8995 L_2E0020DF:
   8996     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   8997 L_2E0020E5:
   8998     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   8999 L_2E011778:
   9000     ecx = ebp + (-0x18); /* 0x2E011778: lea ecx, [ebp - 0x18] */
   9001 L_2E01177B:
   9002     RECOMP_BACKEDGE();
   9003     goto L_2E0020D0; /* 0x2E01177B: jmp 0x2e0020d0 */
   9004     { RECOMP_REGS_OUT(); return; } /* end of function */
   9005   _ljump:
   9006     switch (_itail_tgt) {
   9007       case 0x2E0020D0u: goto L_2E0020D0;
   9008       case 0x2E0020D3u: goto L_2E0020D3;
   9009       case 0x2E0020D6u: goto L_2E0020D6;
   9010       case 0x2E0020D8u: goto L_2E0020D8;
   9011       case 0x2E0020DAu: goto L_2E0020DA;
   9012       case 0x2E0020DDu: goto L_2E0020DD;
   9013       case 0x2E0020DFu: goto L_2E0020DF;
   9014       case 0x2E0020E5u: goto L_2E0020E5;
   9015       case 0x2E011778u: goto L_2E011778;
   9016       case 0x2E01177Bu: goto L_2E01177B;
   9017       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9018     }
   9019     RECOMP_REGS_OUT();
   9020 }
   9021 
   9022 void sub_2E011780(void) {
   9023     int _fpu_cmp = 0;
   9024     uint32_t _cf = 0;
   9025     int _df = 1;
   9026     uint32_t _flag_k = FK_NONE;
   9027     uint32_t _flag_a = 0, _flag_b = 0;
   9028     uint32_t _itail_tgt = 0;
   9029     RECOMP_REGS_LOCALS
   9030     RECOMP_ENTER(0x2E011780u);
   9031 
   9032     goto L_2E011780;
   9033 L_2E010EA2:
   9034     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   9035 L_2E011780:
   9036     eax = 0x2E0135E8u; /* 0x2E011780: mov eax, 0x2e0135e8 */
   9037 L_2E011785:
   9038     RECOMP_BACKEDGE();
   9039     goto L_2E010EA2; /* 0x2E011785: jmp 0x2e010ea2 */
   9040     { RECOMP_REGS_OUT(); return; } /* end of function */
   9041   _ljump:
   9042     switch (_itail_tgt) {
   9043       case 0x2E010EA2u: goto L_2E010EA2;
   9044       case 0x2E011780u: goto L_2E011780;
   9045       case 0x2E011785u: goto L_2E011785;
   9046       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9047     }
   9048     RECOMP_REGS_OUT();
   9049 }
   9050 
   9051 void sub_2E011790(void) {
   9052     int _fpu_cmp = 0;
   9053     uint32_t _cf = 0;
   9054     int _df = 1;
   9055     uint32_t _flag_k = FK_NONE;
   9056     uint32_t _flag_a = 0, _flag_b = 0;
   9057     uint32_t _itail_tgt = 0;
   9058     RECOMP_REGS_LOCALS
   9059     RECOMP_ENTER(0x2E011790u);
   9060 
   9061     goto L_2E011790;
   9062 L_2E0020D0:
   9063     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9064 L_2E0020D3:
   9065     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9066     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9067     _cf = 0;
   9068     _flag_k = FK_TEST;
   9069 L_2E0020D6:
   9070     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9071     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9072     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9073     _flag_k = FK_CMP;
   9074 L_2E0020D8:
   9075     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9076 L_2E0020DA:
   9077     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9078 L_2E0020DD:
   9079     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9080 L_2E0020DF:
   9081     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9082 L_2E0020E5:
   9083     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9084 L_2E011790:
   9085     ecx = ebp + (-0x20); /* 0x2E011790: lea ecx, [ebp - 0x20] */
   9086 L_2E011793:
   9087     RECOMP_BACKEDGE();
   9088     goto L_2E0020D0; /* 0x2E011793: jmp 0x2e0020d0 */
   9089     { RECOMP_REGS_OUT(); return; } /* end of function */
   9090   _ljump:
   9091     switch (_itail_tgt) {
   9092       case 0x2E0020D0u: goto L_2E0020D0;
   9093       case 0x2E0020D3u: goto L_2E0020D3;
   9094       case 0x2E0020D6u: goto L_2E0020D6;
   9095       case 0x2E0020D8u: goto L_2E0020D8;
   9096       case 0x2E0020DAu: goto L_2E0020DA;
   9097       case 0x2E0020DDu: goto L_2E0020DD;
   9098       case 0x2E0020DFu: goto L_2E0020DF;
   9099       case 0x2E0020E5u: goto L_2E0020E5;
   9100       case 0x2E011790u: goto L_2E011790;
   9101       case 0x2E011793u: goto L_2E011793;
   9102       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9103     }
   9104     RECOMP_REGS_OUT();
   9105 }
   9106 
   9107 void sub_2E011798(void) {
   9108     int _fpu_cmp = 0;
   9109     uint32_t _cf = 0;
   9110     int _df = 1;
   9111     uint32_t _flag_k = FK_NONE;
   9112     uint32_t _flag_a = 0, _flag_b = 0;
   9113     uint32_t _itail_tgt = 0;
   9114     RECOMP_REGS_LOCALS
   9115     RECOMP_ENTER(0x2E011798u);
   9116 
   9117     goto L_2E011798;
   9118 L_2E0020D0:
   9119     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9120 L_2E0020D3:
   9121     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9122     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9123     _cf = 0;
   9124     _flag_k = FK_TEST;
   9125 L_2E0020D6:
   9126     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9127     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9128     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9129     _flag_k = FK_CMP;
   9130 L_2E0020D8:
   9131     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9132 L_2E0020DA:
   9133     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9134 L_2E0020DD:
   9135     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9136 L_2E0020DF:
   9137     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9138 L_2E0020E5:
   9139     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9140 L_2E011798:
   9141     ecx = ebp + (-0x20); /* 0x2E011798: lea ecx, [ebp - 0x20] */
   9142 L_2E01179B:
   9143     RECOMP_BACKEDGE();
   9144     goto L_2E0020D0; /* 0x2E01179B: jmp 0x2e0020d0 */
   9145     { RECOMP_REGS_OUT(); return; } /* end of function */
   9146   _ljump:
   9147     switch (_itail_tgt) {
   9148       case 0x2E0020D0u: goto L_2E0020D0;
   9149       case 0x2E0020D3u: goto L_2E0020D3;
   9150       case 0x2E0020D6u: goto L_2E0020D6;
   9151       case 0x2E0020D8u: goto L_2E0020D8;
   9152       case 0x2E0020DAu: goto L_2E0020DA;
   9153       case 0x2E0020DDu: goto L_2E0020DD;
   9154       case 0x2E0020DFu: goto L_2E0020DF;
   9155       case 0x2E0020E5u: goto L_2E0020E5;
   9156       case 0x2E011798u: goto L_2E011798;
   9157       case 0x2E01179Bu: goto L_2E01179B;
   9158       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9159     }
   9160     RECOMP_REGS_OUT();
   9161 }
   9162 
   9163 void sub_2E0117A0(void) {
   9164     int _fpu_cmp = 0;
   9165     uint32_t _cf = 0;
   9166     int _df = 1;
   9167     uint32_t _flag_k = FK_NONE;
   9168     uint32_t _flag_a = 0, _flag_b = 0;
   9169     uint32_t _itail_tgt = 0;
   9170     RECOMP_REGS_LOCALS
   9171     RECOMP_ENTER(0x2E0117A0u);
   9172 
   9173     goto L_2E0117A0;
   9174 L_2E0020D0:
   9175     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9176 L_2E0020D3:
   9177     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9178     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9179     _cf = 0;
   9180     _flag_k = FK_TEST;
   9181 L_2E0020D6:
   9182     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9183     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9185     _flag_k = FK_CMP;
   9186 L_2E0020D8:
   9187     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9188 L_2E0020DA:
   9189     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9190 L_2E0020DD:
   9191     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9192 L_2E0020DF:
   9193     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9194 L_2E0020E5:
   9195     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9196 L_2E0117A0:
   9197     ecx = ebp + (-0x18); /* 0x2E0117A0: lea ecx, [ebp - 0x18] */
   9198 L_2E0117A3:
   9199     RECOMP_BACKEDGE();
   9200     goto L_2E0020D0; /* 0x2E0117A3: jmp 0x2e0020d0 */
   9201     { RECOMP_REGS_OUT(); return; } /* end of function */
   9202   _ljump:
   9203     switch (_itail_tgt) {
   9204       case 0x2E0020D0u: goto L_2E0020D0;
   9205       case 0x2E0020D3u: goto L_2E0020D3;
   9206       case 0x2E0020D6u: goto L_2E0020D6;
   9207       case 0x2E0020D8u: goto L_2E0020D8;
   9208       case 0x2E0020DAu: goto L_2E0020DA;
   9209       case 0x2E0020DDu: goto L_2E0020DD;
   9210       case 0x2E0020DFu: goto L_2E0020DF;
   9211       case 0x2E0020E5u: goto L_2E0020E5;
   9212       case 0x2E0117A0u: goto L_2E0117A0;
   9213       case 0x2E0117A3u: goto L_2E0117A3;
   9214       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9215     }
   9216     RECOMP_REGS_OUT();
   9217 }
   9218 
   9219 void sub_2E0117A8(void) {
   9220     int _fpu_cmp = 0;
   9221     uint32_t _cf = 0;
   9222     int _df = 1;
   9223     uint32_t _flag_k = FK_NONE;
   9224     uint32_t _flag_a = 0, _flag_b = 0;
   9225     uint32_t _itail_tgt = 0;
   9226     RECOMP_REGS_LOCALS
   9227     RECOMP_ENTER(0x2E0117A8u);
   9228 
   9229     goto L_2E0117A8;
   9230 L_2E0020D0:
   9231     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9232 L_2E0020D3:
   9233     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9234     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9235     _cf = 0;
   9236     _flag_k = FK_TEST;
   9237 L_2E0020D6:
   9238     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9239     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9240     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9241     _flag_k = FK_CMP;
   9242 L_2E0020D8:
   9243     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9244 L_2E0020DA:
   9245     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9246 L_2E0020DD:
   9247     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9248 L_2E0020DF:
   9249     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9250 L_2E0020E5:
   9251     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9252 L_2E0117A8:
   9253     ecx = ebp + (-0x18); /* 0x2E0117A8: lea ecx, [ebp - 0x18] */
   9254 L_2E0117AB:
   9255     RECOMP_BACKEDGE();
   9256     goto L_2E0020D0; /* 0x2E0117AB: jmp 0x2e0020d0 */
   9257     { RECOMP_REGS_OUT(); return; } /* end of function */
   9258   _ljump:
   9259     switch (_itail_tgt) {
   9260       case 0x2E0020D0u: goto L_2E0020D0;
   9261       case 0x2E0020D3u: goto L_2E0020D3;
   9262       case 0x2E0020D6u: goto L_2E0020D6;
   9263       case 0x2E0020D8u: goto L_2E0020D8;
   9264       case 0x2E0020DAu: goto L_2E0020DA;
   9265       case 0x2E0020DDu: goto L_2E0020DD;
   9266       case 0x2E0020DFu: goto L_2E0020DF;
   9267       case 0x2E0020E5u: goto L_2E0020E5;
   9268       case 0x2E0117A8u: goto L_2E0117A8;
   9269       case 0x2E0117ABu: goto L_2E0117AB;
   9270       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9271     }
   9272     RECOMP_REGS_OUT();
   9273 }
   9274 
   9275 void sub_2E0117B0(void) {
   9276     int _fpu_cmp = 0;
   9277     uint32_t _cf = 0;
   9278     int _df = 1;
   9279     uint32_t _flag_k = FK_NONE;
   9280     uint32_t _flag_a = 0, _flag_b = 0;
   9281     uint32_t _itail_tgt = 0;
   9282     RECOMP_REGS_LOCALS
   9283     RECOMP_ENTER(0x2E0117B0u);
   9284 
   9285     goto L_2E0117B0;
   9286 L_2E0020D0:
   9287     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9288 L_2E0020D3:
   9289     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9290     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9291     _cf = 0;
   9292     _flag_k = FK_TEST;
   9293 L_2E0020D6:
   9294     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9295     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9297     _flag_k = FK_CMP;
   9298 L_2E0020D8:
   9299     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9300 L_2E0020DA:
   9301     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9302 L_2E0020DD:
   9303     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9304 L_2E0020DF:
   9305     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9306 L_2E0020E5:
   9307     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9308 L_2E0117B0:
   9309     ecx = ebp + (-0x18); /* 0x2E0117B0: lea ecx, [ebp - 0x18] */
   9310 L_2E0117B3:
   9311     RECOMP_BACKEDGE();
   9312     goto L_2E0020D0; /* 0x2E0117B3: jmp 0x2e0020d0 */
   9313     { RECOMP_REGS_OUT(); return; } /* end of function */
   9314   _ljump:
   9315     switch (_itail_tgt) {
   9316       case 0x2E0020D0u: goto L_2E0020D0;
   9317       case 0x2E0020D3u: goto L_2E0020D3;
   9318       case 0x2E0020D6u: goto L_2E0020D6;
   9319       case 0x2E0020D8u: goto L_2E0020D8;
   9320       case 0x2E0020DAu: goto L_2E0020DA;
   9321       case 0x2E0020DDu: goto L_2E0020DD;
   9322       case 0x2E0020DFu: goto L_2E0020DF;
   9323       case 0x2E0020E5u: goto L_2E0020E5;
   9324       case 0x2E0117B0u: goto L_2E0117B0;
   9325       case 0x2E0117B3u: goto L_2E0117B3;
   9326       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9327     }
   9328     RECOMP_REGS_OUT();
   9329 }
   9330 
   9331 void sub_2E0117B8(void) {
   9332     int _fpu_cmp = 0;
   9333     uint32_t _cf = 0;
   9334     int _df = 1;
   9335     uint32_t _flag_k = FK_NONE;
   9336     uint32_t _flag_a = 0, _flag_b = 0;
   9337     uint32_t _itail_tgt = 0;
   9338     RECOMP_REGS_LOCALS
   9339     RECOMP_ENTER(0x2E0117B8u);
   9340 
   9341     goto L_2E0117B8;
   9342 L_2E0020D0:
   9343     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9344 L_2E0020D3:
   9345     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9346     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9347     _cf = 0;
   9348     _flag_k = FK_TEST;
   9349 L_2E0020D6:
   9350     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9351     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9352     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9353     _flag_k = FK_CMP;
   9354 L_2E0020D8:
   9355     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9356 L_2E0020DA:
   9357     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9358 L_2E0020DD:
   9359     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9360 L_2E0020DF:
   9361     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9362 L_2E0020E5:
   9363     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9364 L_2E0117B8:
   9365     ecx = ebp + (-0x18); /* 0x2E0117B8: lea ecx, [ebp - 0x18] */
   9366 L_2E0117BB:
   9367     RECOMP_BACKEDGE();
   9368     goto L_2E0020D0; /* 0x2E0117BB: jmp 0x2e0020d0 */
   9369     { RECOMP_REGS_OUT(); return; } /* end of function */
   9370   _ljump:
   9371     switch (_itail_tgt) {
   9372       case 0x2E0020D0u: goto L_2E0020D0;
   9373       case 0x2E0020D3u: goto L_2E0020D3;
   9374       case 0x2E0020D6u: goto L_2E0020D6;
   9375       case 0x2E0020D8u: goto L_2E0020D8;
   9376       case 0x2E0020DAu: goto L_2E0020DA;
   9377       case 0x2E0020DDu: goto L_2E0020DD;
   9378       case 0x2E0020DFu: goto L_2E0020DF;
   9379       case 0x2E0020E5u: goto L_2E0020E5;
   9380       case 0x2E0117B8u: goto L_2E0117B8;
   9381       case 0x2E0117BBu: goto L_2E0117BB;
   9382       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9383     }
   9384     RECOMP_REGS_OUT();
   9385 }
   9386 
   9387 void sub_2E0117C0(void) {
   9388     int _fpu_cmp = 0;
   9389     uint32_t _cf = 0;
   9390     int _df = 1;
   9391     uint32_t _flag_k = FK_NONE;
   9392     uint32_t _flag_a = 0, _flag_b = 0;
   9393     uint32_t _itail_tgt = 0;
   9394     RECOMP_REGS_LOCALS
   9395     RECOMP_ENTER(0x2E0117C0u);
   9396 
   9397     goto L_2E0117C0;
   9398 L_2E010EA2:
   9399     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   9400 L_2E0117C0:
   9401     eax = 0x2E013638u; /* 0x2E0117C0: mov eax, 0x2e013638 */
   9402 L_2E0117C5:
   9403     RECOMP_BACKEDGE();
   9404     goto L_2E010EA2; /* 0x2E0117C5: jmp 0x2e010ea2 */
   9405     { RECOMP_REGS_OUT(); return; } /* end of function */
   9406   _ljump:
   9407     switch (_itail_tgt) {
   9408       case 0x2E010EA2u: goto L_2E010EA2;
   9409       case 0x2E0117C0u: goto L_2E0117C0;
   9410       case 0x2E0117C5u: goto L_2E0117C5;
   9411       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9412     }
   9413     RECOMP_REGS_OUT();
   9414 }
   9415 
   9416 void sub_2E0117D0(void) {
   9417     int _fpu_cmp = 0;
   9418     uint32_t _cf = 0;
   9419     int _df = 1;
   9420     uint32_t _flag_k = FK_NONE;
   9421     uint32_t _flag_a = 0, _flag_b = 0;
   9422     uint32_t _itail_tgt = 0;
   9423     RECOMP_REGS_LOCALS
   9424     RECOMP_ENTER(0x2E0117D0u);
   9425 
   9426     goto L_2E0117D0;
   9427 L_2E0020D0:
   9428     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9429 L_2E0020D3:
   9430     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9431     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9432     _cf = 0;
   9433     _flag_k = FK_TEST;
   9434 L_2E0020D6:
   9435     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9436     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9437     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9438     _flag_k = FK_CMP;
   9439 L_2E0020D8:
   9440     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9441 L_2E0020DA:
   9442     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9443 L_2E0020DD:
   9444     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9445 L_2E0020DF:
   9446     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9447 L_2E0020E5:
   9448     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9449 L_2E0117D0:
   9450     ecx = ebp + (-0x14); /* 0x2E0117D0: lea ecx, [ebp - 0x14] */
   9451 L_2E0117D3:
   9452     RECOMP_BACKEDGE();
   9453     goto L_2E0020D0; /* 0x2E0117D3: jmp 0x2e0020d0 */
   9454     { RECOMP_REGS_OUT(); return; } /* end of function */
   9455   _ljump:
   9456     switch (_itail_tgt) {
   9457       case 0x2E0020D0u: goto L_2E0020D0;
   9458       case 0x2E0020D3u: goto L_2E0020D3;
   9459       case 0x2E0020D6u: goto L_2E0020D6;
   9460       case 0x2E0020D8u: goto L_2E0020D8;
   9461       case 0x2E0020DAu: goto L_2E0020DA;
   9462       case 0x2E0020DDu: goto L_2E0020DD;
   9463       case 0x2E0020DFu: goto L_2E0020DF;
   9464       case 0x2E0020E5u: goto L_2E0020E5;
   9465       case 0x2E0117D0u: goto L_2E0117D0;
   9466       case 0x2E0117D3u: goto L_2E0117D3;
   9467       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9468     }
   9469     RECOMP_REGS_OUT();
   9470 }
   9471 
   9472 void sub_2E0117D8(void) {
   9473     int _fpu_cmp = 0;
   9474     uint32_t _cf = 0;
   9475     int _df = 1;
   9476     uint32_t _flag_k = FK_NONE;
   9477     uint32_t _flag_a = 0, _flag_b = 0;
   9478     uint32_t _itail_tgt = 0;
   9479     RECOMP_REGS_LOCALS
   9480     RECOMP_ENTER(0x2E0117D8u);
   9481 
   9482     goto L_2E0117D8;
   9483 L_2E0020D0:
   9484     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9485 L_2E0020D3:
   9486     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9487     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9488     _cf = 0;
   9489     _flag_k = FK_TEST;
   9490 L_2E0020D6:
   9491     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9492     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9493     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9494     _flag_k = FK_CMP;
   9495 L_2E0020D8:
   9496     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9497 L_2E0020DA:
   9498     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9499 L_2E0020DD:
   9500     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9501 L_2E0020DF:
   9502     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9503 L_2E0020E5:
   9504     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9505 L_2E0117D8:
   9506     ecx = ebp + (-0x14); /* 0x2E0117D8: lea ecx, [ebp - 0x14] */
   9507 L_2E0117DB:
   9508     RECOMP_BACKEDGE();
   9509     goto L_2E0020D0; /* 0x2E0117DB: jmp 0x2e0020d0 */
   9510     { RECOMP_REGS_OUT(); return; } /* end of function */
   9511   _ljump:
   9512     switch (_itail_tgt) {
   9513       case 0x2E0020D0u: goto L_2E0020D0;
   9514       case 0x2E0020D3u: goto L_2E0020D3;
   9515       case 0x2E0020D6u: goto L_2E0020D6;
   9516       case 0x2E0020D8u: goto L_2E0020D8;
   9517       case 0x2E0020DAu: goto L_2E0020DA;
   9518       case 0x2E0020DDu: goto L_2E0020DD;
   9519       case 0x2E0020DFu: goto L_2E0020DF;
   9520       case 0x2E0020E5u: goto L_2E0020E5;
   9521       case 0x2E0117D8u: goto L_2E0117D8;
   9522       case 0x2E0117DBu: goto L_2E0117DB;
   9523       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9524     }
   9525     RECOMP_REGS_OUT();
   9526 }
   9527 
   9528 void sub_2E0117E0(void) {
   9529     int _fpu_cmp = 0;
   9530     uint32_t _cf = 0;
   9531     int _df = 1;
   9532     uint32_t _flag_k = FK_NONE;
   9533     uint32_t _flag_a = 0, _flag_b = 0;
   9534     uint32_t _itail_tgt = 0;
   9535     RECOMP_REGS_LOCALS
   9536     RECOMP_ENTER(0x2E0117E0u);
   9537 
   9538     goto L_2E0117E0;
   9539 L_2E010EA2:
   9540     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   9541 L_2E0117E0:
   9542     eax = 0x2E013688u; /* 0x2E0117E0: mov eax, 0x2e013688 */
   9543 L_2E0117E5:
   9544     RECOMP_BACKEDGE();
   9545     goto L_2E010EA2; /* 0x2E0117E5: jmp 0x2e010ea2 */
   9546     { RECOMP_REGS_OUT(); return; } /* end of function */
   9547   _ljump:
   9548     switch (_itail_tgt) {
   9549       case 0x2E010EA2u: goto L_2E010EA2;
   9550       case 0x2E0117E0u: goto L_2E0117E0;
   9551       case 0x2E0117E5u: goto L_2E0117E5;
   9552       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9553     }
   9554     RECOMP_REGS_OUT();
   9555 }
   9556 
   9557 void sub_2E0117F0(void) {
   9558     int _fpu_cmp = 0;
   9559     uint32_t _cf = 0;
   9560     int _df = 1;
   9561     uint32_t _flag_k = FK_NONE;
   9562     uint32_t _flag_a = 0, _flag_b = 0;
   9563     uint32_t _itail_tgt = 0;
   9564     RECOMP_REGS_LOCALS
   9565     RECOMP_ENTER(0x2E0117F0u);
   9566 
   9567     goto L_2E0117F0;
   9568 L_2E0020D0:
   9569     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9570 L_2E0020D3:
   9571     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9572     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9573     _cf = 0;
   9574     _flag_k = FK_TEST;
   9575 L_2E0020D6:
   9576     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9577     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9578     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9579     _flag_k = FK_CMP;
   9580 L_2E0020D8:
   9581     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9582 L_2E0020DA:
   9583     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9584 L_2E0020DD:
   9585     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9586 L_2E0020DF:
   9587     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9588 L_2E0020E5:
   9589     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9590 L_2E0117F0:
   9591     ecx = ebp + (-0x14); /* 0x2E0117F0: lea ecx, [ebp - 0x14] */
   9592 L_2E0117F3:
   9593     RECOMP_BACKEDGE();
   9594     goto L_2E0020D0; /* 0x2E0117F3: jmp 0x2e0020d0 */
   9595     { RECOMP_REGS_OUT(); return; } /* end of function */
   9596   _ljump:
   9597     switch (_itail_tgt) {
   9598       case 0x2E0020D0u: goto L_2E0020D0;
   9599       case 0x2E0020D3u: goto L_2E0020D3;
   9600       case 0x2E0020D6u: goto L_2E0020D6;
   9601       case 0x2E0020D8u: goto L_2E0020D8;
   9602       case 0x2E0020DAu: goto L_2E0020DA;
   9603       case 0x2E0020DDu: goto L_2E0020DD;
   9604       case 0x2E0020DFu: goto L_2E0020DF;
   9605       case 0x2E0020E5u: goto L_2E0020E5;
   9606       case 0x2E0117F0u: goto L_2E0117F0;
   9607       case 0x2E0117F3u: goto L_2E0117F3;
   9608       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9609     }
   9610     RECOMP_REGS_OUT();
   9611 }
   9612 
   9613 void sub_2E0117F8(void) {
   9614     int _fpu_cmp = 0;
   9615     uint32_t _cf = 0;
   9616     int _df = 1;
   9617     uint32_t _flag_k = FK_NONE;
   9618     uint32_t _flag_a = 0, _flag_b = 0;
   9619     uint32_t _itail_tgt = 0;
   9620     RECOMP_REGS_LOCALS
   9621     RECOMP_ENTER(0x2E0117F8u);
   9622 
   9623     goto L_2E0117F8;
   9624 L_2E0020D0:
   9625     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9626 L_2E0020D3:
   9627     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9628     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9629     _cf = 0;
   9630     _flag_k = FK_TEST;
   9631 L_2E0020D6:
   9632     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9633     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9634     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9635     _flag_k = FK_CMP;
   9636 L_2E0020D8:
   9637     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9638 L_2E0020DA:
   9639     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9640 L_2E0020DD:
   9641     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9642 L_2E0020DF:
   9643     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9644 L_2E0020E5:
   9645     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9646 L_2E0117F8:
   9647     ecx = ebp + (-0x14); /* 0x2E0117F8: lea ecx, [ebp - 0x14] */
   9648 L_2E0117FB:
   9649     RECOMP_BACKEDGE();
   9650     goto L_2E0020D0; /* 0x2E0117FB: jmp 0x2e0020d0 */
   9651     { RECOMP_REGS_OUT(); return; } /* end of function */
   9652   _ljump:
   9653     switch (_itail_tgt) {
   9654       case 0x2E0020D0u: goto L_2E0020D0;
   9655       case 0x2E0020D3u: goto L_2E0020D3;
   9656       case 0x2E0020D6u: goto L_2E0020D6;
   9657       case 0x2E0020D8u: goto L_2E0020D8;
   9658       case 0x2E0020DAu: goto L_2E0020DA;
   9659       case 0x2E0020DDu: goto L_2E0020DD;
   9660       case 0x2E0020DFu: goto L_2E0020DF;
   9661       case 0x2E0020E5u: goto L_2E0020E5;
   9662       case 0x2E0117F8u: goto L_2E0117F8;
   9663       case 0x2E0117FBu: goto L_2E0117FB;
   9664       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9665     }
   9666     RECOMP_REGS_OUT();
   9667 }
   9668 
   9669 void sub_2E011800(void) {
   9670     int _fpu_cmp = 0;
   9671     uint32_t _cf = 0;
   9672     int _df = 1;
   9673     uint32_t _flag_k = FK_NONE;
   9674     uint32_t _flag_a = 0, _flag_b = 0;
   9675     uint32_t _itail_tgt = 0;
   9676     RECOMP_REGS_LOCALS
   9677     RECOMP_ENTER(0x2E011800u);
   9678 
   9679     goto L_2E011800;
   9680 L_2E010EA2:
   9681     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   9682 L_2E011800:
   9683     eax = 0x2E0136B8u; /* 0x2E011800: mov eax, 0x2e0136b8 */
   9684 L_2E011805:
   9685     RECOMP_BACKEDGE();
   9686     goto L_2E010EA2; /* 0x2E011805: jmp 0x2e010ea2 */
   9687     { RECOMP_REGS_OUT(); return; } /* end of function */
   9688   _ljump:
   9689     switch (_itail_tgt) {
   9690       case 0x2E010EA2u: goto L_2E010EA2;
   9691       case 0x2E011800u: goto L_2E011800;
   9692       case 0x2E011805u: goto L_2E011805;
   9693       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9694     }
   9695     RECOMP_REGS_OUT();
   9696 }
   9697 
   9698 void sub_2E011810(void) {
   9699     int _fpu_cmp = 0;
   9700     uint32_t _cf = 0;
   9701     int _df = 1;
   9702     uint32_t _flag_k = FK_NONE;
   9703     uint32_t _flag_a = 0, _flag_b = 0;
   9704     uint32_t _itail_tgt = 0;
   9705     RECOMP_REGS_LOCALS
   9706     RECOMP_ENTER(0x2E011810u);
   9707 
   9708     goto L_2E011810;
   9709 L_2E0020D0:
   9710     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9711 L_2E0020D3:
   9712     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9713     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9714     _cf = 0;
   9715     _flag_k = FK_TEST;
   9716 L_2E0020D6:
   9717     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9718     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9719     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9720     _flag_k = FK_CMP;
   9721 L_2E0020D8:
   9722     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9723 L_2E0020DA:
   9724     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9725 L_2E0020DD:
   9726     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9727 L_2E0020DF:
   9728     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9729 L_2E0020E5:
   9730     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9731 L_2E011810:
   9732     ecx = ebp + (-0x14); /* 0x2E011810: lea ecx, [ebp - 0x14] */
   9733 L_2E011813:
   9734     RECOMP_BACKEDGE();
   9735     goto L_2E0020D0; /* 0x2E011813: jmp 0x2e0020d0 */
   9736     { RECOMP_REGS_OUT(); return; } /* end of function */
   9737   _ljump:
   9738     switch (_itail_tgt) {
   9739       case 0x2E0020D0u: goto L_2E0020D0;
   9740       case 0x2E0020D3u: goto L_2E0020D3;
   9741       case 0x2E0020D6u: goto L_2E0020D6;
   9742       case 0x2E0020D8u: goto L_2E0020D8;
   9743       case 0x2E0020DAu: goto L_2E0020DA;
   9744       case 0x2E0020DDu: goto L_2E0020DD;
   9745       case 0x2E0020DFu: goto L_2E0020DF;
   9746       case 0x2E0020E5u: goto L_2E0020E5;
   9747       case 0x2E011810u: goto L_2E011810;
   9748       case 0x2E011813u: goto L_2E011813;
   9749       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9750     }
   9751     RECOMP_REGS_OUT();
   9752 }
   9753 
   9754 void sub_2E011818(void) {
   9755     int _fpu_cmp = 0;
   9756     uint32_t _cf = 0;
   9757     int _df = 1;
   9758     uint32_t _flag_k = FK_NONE;
   9759     uint32_t _flag_a = 0, _flag_b = 0;
   9760     uint32_t _itail_tgt = 0;
   9761     RECOMP_REGS_LOCALS
   9762     RECOMP_ENTER(0x2E011818u);
   9763 
   9764     goto L_2E011818;
   9765 L_2E0020D0:
   9766     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9767 L_2E0020D3:
   9768     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9769     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9770     _cf = 0;
   9771     _flag_k = FK_TEST;
   9772 L_2E0020D6:
   9773     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9774     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9775     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9776     _flag_k = FK_CMP;
   9777 L_2E0020D8:
   9778     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9779 L_2E0020DA:
   9780     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9781 L_2E0020DD:
   9782     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9783 L_2E0020DF:
   9784     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9785 L_2E0020E5:
   9786     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9787 L_2E011818:
   9788     ecx = ebp + (-0x14); /* 0x2E011818: lea ecx, [ebp - 0x14] */
   9789 L_2E01181B:
   9790     RECOMP_BACKEDGE();
   9791     goto L_2E0020D0; /* 0x2E01181B: jmp 0x2e0020d0 */
   9792     { RECOMP_REGS_OUT(); return; } /* end of function */
   9793   _ljump:
   9794     switch (_itail_tgt) {
   9795       case 0x2E0020D0u: goto L_2E0020D0;
   9796       case 0x2E0020D3u: goto L_2E0020D3;
   9797       case 0x2E0020D6u: goto L_2E0020D6;
   9798       case 0x2E0020D8u: goto L_2E0020D8;
   9799       case 0x2E0020DAu: goto L_2E0020DA;
   9800       case 0x2E0020DDu: goto L_2E0020DD;
   9801       case 0x2E0020DFu: goto L_2E0020DF;
   9802       case 0x2E0020E5u: goto L_2E0020E5;
   9803       case 0x2E011818u: goto L_2E011818;
   9804       case 0x2E01181Bu: goto L_2E01181B;
   9805       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9806     }
   9807     RECOMP_REGS_OUT();
   9808 }
   9809 
   9810 void sub_2E011820(void) {
   9811     int _fpu_cmp = 0;
   9812     uint32_t _cf = 0;
   9813     int _df = 1;
   9814     uint32_t _flag_k = FK_NONE;
   9815     uint32_t _flag_a = 0, _flag_b = 0;
   9816     uint32_t _itail_tgt = 0;
   9817     RECOMP_REGS_LOCALS
   9818     RECOMP_ENTER(0x2E011820u);
   9819 
   9820     goto L_2E011820;
   9821 L_2E010EA2:
   9822     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
   9823 L_2E011820:
   9824     eax = 0x2E0136E8u; /* 0x2E011820: mov eax, 0x2e0136e8 */
   9825 L_2E011825:
   9826     RECOMP_BACKEDGE();
   9827     goto L_2E010EA2; /* 0x2E011825: jmp 0x2e010ea2 */
   9828     { RECOMP_REGS_OUT(); return; } /* end of function */
   9829   _ljump:
   9830     switch (_itail_tgt) {
   9831       case 0x2E010EA2u: goto L_2E010EA2;
   9832       case 0x2E011820u: goto L_2E011820;
   9833       case 0x2E011825u: goto L_2E011825;
   9834       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9835     }
   9836     RECOMP_REGS_OUT();
   9837 }
   9838 
   9839 void sub_2E011830(void) {
   9840     int _fpu_cmp = 0;
   9841     uint32_t _cf = 0;
   9842     int _df = 1;
   9843     uint32_t _flag_k = FK_NONE;
   9844     uint32_t _flag_a = 0, _flag_b = 0;
   9845     uint32_t _itail_tgt = 0;
   9846     RECOMP_REGS_LOCALS
   9847     RECOMP_ENTER(0x2E011830u);
   9848 
   9849     goto L_2E011830;
   9850 L_2E0020D0:
   9851     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9852 L_2E0020D3:
   9853     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9854     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9855     _cf = 0;
   9856     _flag_k = FK_TEST;
   9857 L_2E0020D6:
   9858     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9859     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9860     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9861     _flag_k = FK_CMP;
   9862 L_2E0020D8:
   9863     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9864 L_2E0020DA:
   9865     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9866 L_2E0020DD:
   9867     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9868 L_2E0020DF:
   9869     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9870 L_2E0020E5:
   9871     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9872 L_2E011830:
   9873     ecx = ebp + (-0x30); /* 0x2E011830: lea ecx, [ebp - 0x30] */
   9874 L_2E011833:
   9875     RECOMP_BACKEDGE();
   9876     goto L_2E0020D0; /* 0x2E011833: jmp 0x2e0020d0 */
   9877     { RECOMP_REGS_OUT(); return; } /* end of function */
   9878   _ljump:
   9879     switch (_itail_tgt) {
   9880       case 0x2E0020D0u: goto L_2E0020D0;
   9881       case 0x2E0020D3u: goto L_2E0020D3;
   9882       case 0x2E0020D6u: goto L_2E0020D6;
   9883       case 0x2E0020D8u: goto L_2E0020D8;
   9884       case 0x2E0020DAu: goto L_2E0020DA;
   9885       case 0x2E0020DDu: goto L_2E0020DD;
   9886       case 0x2E0020DFu: goto L_2E0020DF;
   9887       case 0x2E0020E5u: goto L_2E0020E5;
   9888       case 0x2E011830u: goto L_2E011830;
   9889       case 0x2E011833u: goto L_2E011833;
   9890       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9891     }
   9892     RECOMP_REGS_OUT();
   9893 }
   9894 
   9895 void sub_2E011838(void) {
   9896     int _fpu_cmp = 0;
   9897     uint32_t _cf = 0;
   9898     int _df = 1;
   9899     uint32_t _flag_k = FK_NONE;
   9900     uint32_t _flag_a = 0, _flag_b = 0;
   9901     uint32_t _itail_tgt = 0;
   9902     RECOMP_REGS_LOCALS
   9903     RECOMP_ENTER(0x2E011838u);
   9904 
   9905     goto L_2E011838;
   9906 L_2E0020D0:
   9907     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9908 L_2E0020D3:
   9909     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9910     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9911     _cf = 0;
   9912     _flag_k = FK_TEST;
   9913 L_2E0020D6:
   9914     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9915     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9916     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9917     _flag_k = FK_CMP;
   9918 L_2E0020D8:
   9919     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9920 L_2E0020DA:
   9921     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9922 L_2E0020DD:
   9923     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9924 L_2E0020DF:
   9925     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9926 L_2E0020E5:
   9927     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9928 L_2E011838:
   9929     ecx = ebp + (-0x30); /* 0x2E011838: lea ecx, [ebp - 0x30] */
   9930 L_2E01183B:
   9931     RECOMP_BACKEDGE();
   9932     goto L_2E0020D0; /* 0x2E01183B: jmp 0x2e0020d0 */
   9933     { RECOMP_REGS_OUT(); return; } /* end of function */
   9934   _ljump:
   9935     switch (_itail_tgt) {
   9936       case 0x2E0020D0u: goto L_2E0020D0;
   9937       case 0x2E0020D3u: goto L_2E0020D3;
   9938       case 0x2E0020D6u: goto L_2E0020D6;
   9939       case 0x2E0020D8u: goto L_2E0020D8;
   9940       case 0x2E0020DAu: goto L_2E0020DA;
   9941       case 0x2E0020DDu: goto L_2E0020DD;
   9942       case 0x2E0020DFu: goto L_2E0020DF;
   9943       case 0x2E0020E5u: goto L_2E0020E5;
   9944       case 0x2E011838u: goto L_2E011838;
   9945       case 0x2E01183Bu: goto L_2E01183B;
   9946       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9947     }
   9948     RECOMP_REGS_OUT();
   9949 }
   9950 
   9951 void sub_2E011840(void) {
   9952     int _fpu_cmp = 0;
   9953     uint32_t _cf = 0;
   9954     int _df = 1;
   9955     uint32_t _flag_k = FK_NONE;
   9956     uint32_t _flag_a = 0, _flag_b = 0;
   9957     uint32_t _itail_tgt = 0;
   9958     RECOMP_REGS_LOCALS
   9959     RECOMP_ENTER(0x2E011840u);
   9960 
   9961     goto L_2E011840;
   9962 L_2E0020D0:
   9963     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
   9964 L_2E0020D3:
   9965     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9966     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
   9967     _cf = 0;
   9968     _flag_k = FK_TEST;
   9969 L_2E0020D6:
   9970     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
   9971     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9973     _flag_k = FK_CMP;
   9974 L_2E0020D8:
   9975     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
   9976 L_2E0020DA:
   9977     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
   9978 L_2E0020DD:
   9979     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
   9980 L_2E0020DF:
   9981     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
   9982 L_2E0020E5:
   9983     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
   9984 L_2E011840:
   9985     ecx = ebp + (-0x28); /* 0x2E011840: lea ecx, [ebp - 0x28] */
   9986 L_2E011843:
   9987     RECOMP_BACKEDGE();
   9988     goto L_2E0020D0; /* 0x2E011843: jmp 0x2e0020d0 */
   9989     { RECOMP_REGS_OUT(); return; } /* end of function */
   9990   _ljump:
   9991     switch (_itail_tgt) {
   9992       case 0x2E0020D0u: goto L_2E0020D0;
   9993       case 0x2E0020D3u: goto L_2E0020D3;
   9994       case 0x2E0020D6u: goto L_2E0020D6;
   9995       case 0x2E0020D8u: goto L_2E0020D8;
   9996       case 0x2E0020DAu: goto L_2E0020DA;
   9997       case 0x2E0020DDu: goto L_2E0020DD;
   9998       case 0x2E0020DFu: goto L_2E0020DF;
   9999       case 0x2E0020E5u: goto L_2E0020E5;
  10000       case 0x2E011840u: goto L_2E011840;
  10001       case 0x2E011843u: goto L_2E011843;
  10002       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  10003     }
  10004     RECOMP_REGS_OUT();
  10005 }
  10006 
  10007 void sub_2E011848(void) {
  10008     int _fpu_cmp = 0;
  10009     uint32_t _cf = 0;
  10010     int _df = 1;
  10011     uint32_t _flag_k = FK_NONE;
  10012     uint32_t _flag_a = 0, _flag_b = 0;
  10013     uint32_t _itail_tgt = 0;
  10014     RECOMP_REGS_LOCALS
  10015     RECOMP_ENTER(0x2E011848u);
  10016 
  10017     goto L_2E011848;
  10018 L_2E0020D0:
  10019     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
  10020 L_2E0020D3:
  10021     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
  10022     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
  10023     _cf = 0;
  10024     _flag_k = FK_TEST;
  10025 L_2E0020D6:
  10026     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
  10027     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  10028     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10029     _flag_k = FK_CMP;
  10030 L_2E0020D8:
  10031     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
  10032 L_2E0020DA:
  10033     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
  10034 L_2E0020DD:
  10035     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
  10036 L_2E0020DF:
  10037     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
  10038 L_2E0020E5:
  10039     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
  10040 L_2E011848:
  10041     ecx = ebp + (-0x28); /* 0x2E011848: lea ecx, [ebp - 0x28] */
  10042 L_2E01184B:
  10043     RECOMP_BACKEDGE();
  10044     goto L_2E0020D0; /* 0x2E01184B: jmp 0x2e0020d0 */
  10045     { RECOMP_REGS_OUT(); return; } /* end of function */
  10046   _ljump:
  10047     switch (_itail_tgt) {
  10048       case 0x2E0020D0u: goto L_2E0020D0;
  10049       case 0x2E0020D3u: goto L_2E0020D3;
  10050       case 0x2E0020D6u: goto L_2E0020D6;
  10051       case 0x2E0020D8u: goto L_2E0020D8;
  10052       case 0x2E0020DAu: goto L_2E0020DA;
  10053       case 0x2E0020DDu: goto L_2E0020DD;
  10054       case 0x2E0020DFu: goto L_2E0020DF;
  10055       case 0x2E0020E5u: goto L_2E0020E5;
  10056       case 0x2E011848u: goto L_2E011848;
  10057       case 0x2E01184Bu: goto L_2E01184B;
  10058       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  10059     }
  10060     RECOMP_REGS_OUT();
  10061 }
  10062 
  10063 void sub_2E011850(void) {
  10064     int _fpu_cmp = 0;
  10065     uint32_t _cf = 0;
  10066     int _df = 1;
  10067     uint32_t _flag_k = FK_NONE;
  10068     uint32_t _flag_a = 0, _flag_b = 0;
  10069     uint32_t _itail_tgt = 0;
  10070     RECOMP_REGS_LOCALS
  10071     RECOMP_ENTER(0x2E011850u);
  10072 
  10073     goto L_2E011850;
  10074 L_2E0020D0:
  10075     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
  10076 L_2E0020D3:
  10077     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
  10078     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
  10079     _cf = 0;
  10080     _flag_k = FK_TEST;
  10081 L_2E0020D6:
  10082     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
  10083     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  10084     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10085     _flag_k = FK_CMP;
  10086 L_2E0020D8:
  10087     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
  10088 L_2E0020DA:
  10089     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
  10090 L_2E0020DD:
  10091     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
  10092 L_2E0020DF:
  10093     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
  10094 L_2E0020E5:
  10095     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
  10096 L_2E011850:
  10097     ecx = ebp + (-0x28); /* 0x2E011850: lea ecx, [ebp - 0x28] */
  10098 L_2E011853:
  10099     RECOMP_BACKEDGE();
  10100     goto L_2E0020D0; /* 0x2E011853: jmp 0x2e0020d0 */
  10101     { RECOMP_REGS_OUT(); return; } /* end of function */
  10102   _ljump:
  10103     switch (_itail_tgt) {
  10104       case 0x2E0020D0u: goto L_2E0020D0;
  10105       case 0x2E0020D3u: goto L_2E0020D3;
  10106       case 0x2E0020D6u: goto L_2E0020D6;
  10107       case 0x2E0020D8u: goto L_2E0020D8;
  10108       case 0x2E0020DAu: goto L_2E0020DA;
  10109       case 0x2E0020DDu: goto L_2E0020DD;
  10110       case 0x2E0020DFu: goto L_2E0020DF;
  10111       case 0x2E0020E5u: goto L_2E0020E5;
  10112       case 0x2E011850u: goto L_2E011850;
  10113       case 0x2E011853u: goto L_2E011853;
  10114       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  10115     }
  10116     RECOMP_REGS_OUT();
  10117 }
  10118 
  10119 void sub_2E011858(void) {
  10120     int _fpu_cmp = 0;
  10121     uint32_t _cf = 0;
  10122     int _df = 1;
  10123     uint32_t _flag_k = FK_NONE;
  10124     uint32_t _flag_a = 0, _flag_b = 0;
  10125     uint32_t _itail_tgt = 0;
  10126     RECOMP_REGS_LOCALS
  10127     RECOMP_ENTER(0x2E011858u);
  10128 
  10129     goto L_2E011858;
  10130 L_2E0020D0:
  10131     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
  10132 L_2E0020D3:
  10133     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
  10134     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
  10135     _cf = 0;
  10136     _flag_k = FK_TEST;
  10137 L_2E0020D6:
  10138     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
  10139     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  10140     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10141     _flag_k = FK_CMP;
  10142 L_2E0020D8:
  10143     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
  10144 L_2E0020DA:
  10145     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
  10146 L_2E0020DD:
  10147     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
  10148 L_2E0020DF:
  10149     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
  10150 L_2E0020E5:
  10151     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
  10152 L_2E011858:
  10153     ecx = ebp + (-0x28); /* 0x2E011858: lea ecx, [ebp - 0x28] */
  10154 L_2E01185B:
  10155     RECOMP_BACKEDGE();
  10156     goto L_2E0020D0; /* 0x2E01185B: jmp 0x2e0020d0 */
  10157     { RECOMP_REGS_OUT(); return; } /* end of function */
  10158   _ljump:
  10159     switch (_itail_tgt) {
  10160       case 0x2E0020D0u: goto L_2E0020D0;
  10161       case 0x2E0020D3u: goto L_2E0020D3;
  10162       case 0x2E0020D6u: goto L_2E0020D6;
  10163       case 0x2E0020D8u: goto L_2E0020D8;
  10164       case 0x2E0020DAu: goto L_2E0020DA;
  10165       case 0x2E0020DDu: goto L_2E0020DD;
  10166       case 0x2E0020DFu: goto L_2E0020DF;
  10167       case 0x2E0020E5u: goto L_2E0020E5;
  10168       case 0x2E011858u: goto L_2E011858;
  10169       case 0x2E01185Bu: goto L_2E01185B;
  10170       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  10171     }
  10172     RECOMP_REGS_OUT();
  10173 }
  10174 
  10175 void sub_2E011860(void) {
  10176     int _fpu_cmp = 0;
  10177     uint32_t _cf = 0;
  10178     int _df = 1;
  10179     uint32_t _flag_k = FK_NONE;
  10180     uint32_t _flag_a = 0, _flag_b = 0;
  10181     uint32_t _itail_tgt = 0;
  10182     RECOMP_REGS_LOCALS
  10183     RECOMP_ENTER(0x2E011860u);
  10184 
  10185     goto L_2E011860;
  10186 L_2E0020D0:
  10187     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
  10188 L_2E0020D3:
  10189     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
  10190     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
  10191     _cf = 0;
  10192     _flag_k = FK_TEST;
  10193 L_2E0020D6:
  10194     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
  10195     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  10196     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10197     _flag_k = FK_CMP;
  10198 L_2E0020D8:
  10199     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
  10200 L_2E0020DA:
  10201     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
  10202 L_2E0020DD:
  10203     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
  10204 L_2E0020DF:
  10205     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
  10206 L_2E0020E5:
  10207     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
  10208 L_2E011860:
  10209     ecx = ebp + (-0x38); /* 0x2E011860: lea ecx, [ebp - 0x38] */
  10210 L_2E011863:
  10211     RECOMP_BACKEDGE();
  10212     goto L_2E0020D0; /* 0x2E011863: jmp 0x2e0020d0 */
  10213     { RECOMP_REGS_OUT(); return; } /* end of function */
  10214   _ljump:
  10215     switch (_itail_tgt) {
  10216       case 0x2E0020D0u: goto L_2E0020D0;
  10217       case 0x2E0020D3u: goto L_2E0020D3;
  10218       case 0x2E0020D6u: goto L_2E0020D6;
  10219       case 0x2E0020D8u: goto L_2E0020D8;
  10220       case 0x2E0020DAu: goto L_2E0020DA;
  10221       case 0x2E0020DDu: goto L_2E0020DD;
  10222       case 0x2E0020DFu: goto L_2E0020DF;
  10223       case 0x2E0020E5u: goto L_2E0020E5;
  10224       case 0x2E011860u: goto L_2E011860;
  10225       case 0x2E011863u: goto L_2E011863;
  10226       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  10227     }
  10228     RECOMP_REGS_OUT();
  10229 }
  10230 
  10231 void sub_2E011868(void) {
  10232     int _fpu_cmp = 0;
  10233     uint32_t _cf = 0;
  10234     int _df = 1;
  10235     uint32_t _flag_k = FK_NONE;
  10236     uint32_t _flag_a = 0, _flag_b = 0;
  10237     uint32_t _itail_tgt = 0;
  10238     RECOMP_REGS_LOCALS
  10239     RECOMP_ENTER(0x2E011868u);
  10240 
  10241     goto L_2E011868;
  10242 L_2E010EA2:
  10243     { _itail_tgt = (uint32_t)(MEM32(0x2E0120B8)); goto _ljump; }
  10244 L_2E011868:
  10245     eax = 0x2E013718u; /* 0x2E011868: mov eax, 0x2e013718 */
  10246 L_2E01186D:
  10247     RECOMP_BACKEDGE();
  10248     goto L_2E010EA2; /* 0x2E01186D: jmp 0x2e010ea2 */
  10249     { RECOMP_REGS_OUT(); return; } /* end of function */
  10250   _ljump:
  10251     switch (_itail_tgt) {
  10252       case 0x2E010EA2u: goto L_2E010EA2;
  10253       case 0x2E011868u: goto L_2E011868;
  10254       case 0x2E01186Du: goto L_2E01186D;
  10255       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  10256     }
  10257     RECOMP_REGS_OUT();
  10258 }
  10259 
  10260 void sub_2E011880(void) {
  10261     int _fpu_cmp = 0;
  10262     uint32_t _cf = 0;
  10263     int _df = 1;
  10264     uint32_t _flag_k = FK_NONE;
  10265     uint32_t _flag_a = 0, _flag_b = 0;
  10266     uint32_t _itail_tgt = 0;
  10267     RECOMP_REGS_LOCALS
  10268     RECOMP_ENTER(0x2E011880u);
  10269 
  10270     goto L_2E011880;
  10271 L_2E0020D0:
  10272     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
  10273 L_2E0020D3:
  10274     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
  10275     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
  10276     _cf = 0;
  10277     _flag_k = FK_TEST;
  10278 L_2E0020D6:
  10279     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
  10280     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  10281     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10282     _flag_k = FK_CMP;
  10283 L_2E0020D8:
  10284     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
  10285 L_2E0020DA:
  10286     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
  10287 L_2E0020DD:
  10288     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
  10289 L_2E0020DF:
  10290     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
  10291 L_2E0020E5:
  10292     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
  10293 L_2E011880:
  10294     ecx = ebp + (-0x30); /* 0x2E011880: lea ecx, [ebp - 0x30] */
  10295 L_2E011883:
  10296     RECOMP_BACKEDGE();
  10297     goto L_2E0020D0; /* 0x2E011883: jmp 0x2e0020d0 */
  10298     { RECOMP_REGS_OUT(); return; } /* end of function */
  10299   _ljump:
  10300     switch (_itail_tgt) {
  10301       case 0x2E0020D0u: goto L_2E0020D0;
  10302       case 0x2E0020D3u: goto L_2E0020D3;
  10303       case 0x2E0020D6u: goto L_2E0020D6;
  10304       case 0x2E0020D8u: goto L_2E0020D8;
  10305       case 0x2E0020DAu: goto L_2E0020DA;
  10306       case 0x2E0020DDu: goto L_2E0020DD;
  10307       case 0x2E0020DFu: goto L_2E0020DF;
  10308       case 0x2E0020E5u: goto L_2E0020E5;
  10309       case 0x2E011880u: goto L_2E011880;
  10310       case 0x2E011883u: goto L_2E011883;
  10311       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  10312     }
  10313     RECOMP_REGS_OUT();
  10314 }
  10315 
  10316 void sub_2E011888(void) {
  10317     int _fpu_cmp = 0;
  10318     uint32_t _cf = 0;
  10319     int _df = 1;
  10320     uint32_t _flag_k = FK_NONE;
  10321     uint32_t _flag_a = 0, _flag_b = 0;
  10322     uint32_t _itail_tgt = 0;
  10323     RECOMP_REGS_LOCALS
  10324     RECOMP_ENTER(0x2E011888u);
  10325 
  10326     goto L_2E011888;
  10327 L_2E0020D0:
  10328     edx = MEM32(ecx + 0x4); /* 0x2E0020D0: mov edx, dword ptr [ecx + 4] */
  10329 L_2E0020D3:
  10330     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
  10331     eax = eax | 0xFFFFFFFFu; /* 0x2E0020D3: or eax, 0xffffffff */
  10332     _cf = 0;
  10333     _flag_k = FK_TEST;
  10334 L_2E0020D6:
  10335     /* cmp edx, eax */ /* 0x2E0020D6: cmp edx, eax */
  10336     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  10337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10338     _flag_k = FK_CMP;
  10339 L_2E0020D8:
  10340     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0020E5; /* 0x2E0020D8: je 0x2e0020e5 */
  10341 L_2E0020DA:
  10342     MEM32(ecx + 0x4) = eax; /* 0x2E0020DA: mov dword ptr [ecx + 4], eax */
  10343 L_2E0020DD:
  10344     ecx = MEM32(ecx); /* 0x2E0020DD: mov ecx, dword ptr [ecx] */
  10345 L_2E0020DF:
  10346     { _itail_tgt = (uint32_t)(MEM32(0x2E0121A4)); goto _ljump; }
  10347 L_2E0020E5:
  10348     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0020E5: ret  */
  10349 L_2E011888:
  10350     ecx = ebp + (-0x30); /* 0x2E011888: lea ecx, [ebp - 0x30] */
  10351 L_2E01188B:
  10352     RECOMP_BACKEDGE();
  10353     goto L_2E0020D0; /* 0x2E01188B: jmp 0x2e0020d0 */
  10354     { RECOMP_REGS_OUT(); return; } /* end of function */
  10355   _ljump:
  10356     switch (_itail_tgt) {
  10357       case 0x2E0020D0u: goto L_2E0020D0;
  10358       case 0x2E0020D3u: goto L_2E0020D3;
  10359       case 0x2E0020D6u: goto L_2E0020D6;
  10360       case 0x2E0020D8u: goto L_2E0020D8;
  10361       case 0x2E0020DAu: goto L_2E0020DA;
  10362       case 0x2E0020DDu: goto L_2E0020DD;
  10363       case 0x2E0020DFu: goto L_2E0020DF;
  10364       case 0x2E0020E5u: goto L_2E0020E5;
  10365       case 0x2E011888u: goto L_2E011888;
  10366       case 0x2E01188Bu: goto L_2E01188B;
  10367       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  10368     }
  10369     RECOMP_REGS_OUT();
  10370 }