aorecomp

Anarchy Online classic in the browser

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


client/game/er.dll/lifted-0002.c (633798B)


      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_2E005100(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(0x2E005100u);
     17 
     18 L_2E005100:
     19     PUSH32(esp, ebp); /* 0x2E005100: push ebp */
     20     ebp = esp; /* 0x2E005101: mov ebp, esp */
     21     PUSH32(esp, ecx); /* 0x2E005103: push ecx */
     22     ecx = 0x2E01AB80u; /* 0x2E005104: mov ecx, 0x2e01ab80 */
     23     RECOMP_ICALL(0x2E007980u); /* 0x2E005109: call 0x2e007980 */ /* not lifted */
     24     RECOMP_FLAGS_IN();
     25     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2E00510E: fstp dword ptr [ebp - 4] */
     26     ecx = 0x2E01AB80u; /* 0x2E005111: mov ecx, 0x2e01ab80 */
     27     RECOMP_ICALL(0x2E002490u); /* 0x2E005116: call 0x2e002490 */ /* not lifted */
     28     RECOMP_FLAGS_IN();
     29     _st[0] = (double)*(float*)ADDR(ebp + (-0x4)) / _st[0]; /* 0x2E00511B: fdivr dword ptr [ebp - 4] */
     30     esp = ebp; /* 0x2E00511E: mov esp, ebp */
     31     ebp = POP32_VAL(esp); /* 0x2E005120: pop ebp */
     32     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E005121: ret  */
     33     RECOMP_REGS_OUT();
     34 }
     35 
     36 void sub_2E005130(void) {
     37     int _fpu_cmp = 0;
     38     uint32_t _cf = 0;
     39     int _df = 1;
     40     uint32_t _flag_k = FK_NONE;
     41     uint32_t _flag_a = 0, _flag_b = 0;
     42     uint32_t _itail_tgt = 0;
     43     RECOMP_REGS_LOCALS
     44     RECOMP_ENTER(0x2E005130u);
     45 
     46     goto L_2E005130;
     47 L_2E0021C0:
     48     PUSH32(esp, ebp); /* 0x2E0021C0: push ebp */
     49     ebp = esp; /* 0x2E0021C1: mov ebp, esp */
     50     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0021C3: push -1 */
     51     PUSH32(esp, 0x2E0112E0u); /* 0x2E0021C5: push 0x2e0112e0 */
     52     eax = MEM32(FS_BASE + (0)); /* 0x2E0021CA: mov eax, dword ptr fs:[0] */
     53     PUSH32(esp, eax); /* 0x2E0021D0: push eax */
     54     MEM32(FS_BASE + (0)) = esp; /* 0x2E0021D1: mov dword ptr fs:[0], esp */
     55     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
     56     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     57     esp = esp - 8; /* 0x2E0021D8: sub esp, 8 */
     58     _flag_k = FK_CMP;
     59     PUSH32(esp, ebx); /* 0x2E0021DB: push ebx */
     60     PUSH32(esp, esi); /* 0x2E0021DC: push esi */
     61     esi = ecx; /* 0x2E0021DD: mov esi, ecx */
     62     PUSH32(esp, edi); /* 0x2E0021DF: push edi */
     63     ebx = esi + 0x4; /* 0x2E0021E0: lea ebx, [esi + 4] */
     64     MEM32(ebp + (-0x14)) = ebx; /* 0x2E0021E3: mov dword ptr [ebp - 0x14], ebx */
     65     PUSH32(esp, 1); /* 0x2E0021E6: push 1 */
     66     PUSH32(esp, 0); /* 0x2E0021E8: push 0 */
     67     PUSH32(esp, 0); /* 0x2E0021EA: push 0 */
     68     PUSH32(esp, 0); /* 0x2E0021EC: push 0 */
     69     ecx = ebx; /* 0x2E0021EE: mov ecx, ebx */
     70     MEM32(ebp + (-0x4)) = 0; /* 0x2E0021F0: mov dword ptr [ebp - 4], 0 */
     71     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E0021F7: call dword ptr [0x2e01212c] */
     72     RECOMP_FLAGS_IN();
     73     edi = eax; /* 0x2E0021FD: mov edi, eax */
     74     esi = MEM32(esi + 0xF8); /* 0x2E0021FF: mov esi, dword ptr [esi + 0xf8] */
     75     /* cmp edi, 0xFFFFFFFFu */ /* 0x2E002205: cmp edi, -1 */
     76     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
     77     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     78     _flag_k = FK_CMP;
     79     MEM32(ebp + (-0x4)) = 1; /* 0x2E002208: mov dword ptr [ebp - 4], 1 */
     80     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00221F; /* 0x2E00220F: je 0x2e00221f */
     81 L_2E002211:
     82     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
     83     edi = edi | 0xFFFFFFFFu; /* 0x2E002211: or edi, 0xffffffff */
     84     _cf = 0;
     85     _flag_k = FK_TEST;
     86     ecx = ebx; /* 0x2E002214: mov ecx, ebx */
     87     MEM32(ebp + (-0x10)) = edi; /* 0x2E002216: mov dword ptr [ebp - 0x10], edi */
     88     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E002219: call dword ptr [0x2e0121a4] */
     89     RECOMP_FLAGS_IN();
     90 L_2E00221F:
     91     /* cmp edi, 0xFFFFFFFFu */ /* 0x2E00221F: cmp edi, -1 */
     92     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
     93     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     94     _flag_k = FK_CMP;
     95     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E002222: mov dword ptr [ebp - 4], 0xffffffff */
     96     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E002233; /* 0x2E002229: je 0x2e002233 */
     97 L_2E00222B:
     98     ecx = ebx; /* 0x2E00222B: mov ecx, ebx */
     99     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E00222D: call dword ptr [0x2e0121a4] */
    100     RECOMP_FLAGS_IN();
    101 L_2E002233:
    102     ecx = MEM32(ebp + (-0xC)); /* 0x2E002233: mov ecx, dword ptr [ebp - 0xc] */
    103     eax = esi; /* 0x2E002236: mov eax, esi */
    104     edi = POP32_VAL(esp); /* 0x2E002238: pop edi */
    105     esi = POP32_VAL(esp); /* 0x2E002239: pop esi */
    106     ebx = POP32_VAL(esp); /* 0x2E00223A: pop ebx */
    107     MEM32(FS_BASE + (0)) = ecx; /* 0x2E00223B: mov dword ptr fs:[0], ecx */
    108     esp = ebp; /* 0x2E002242: mov esp, ebp */
    109     ebp = POP32_VAL(esp); /* 0x2E002244: pop ebp */
    110     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E002245: ret  */
    111 L_2E005130:
    112     ecx = 0x2E01AB80u; /* 0x2E005130: mov ecx, 0x2e01ab80 */
    113     RECOMP_BACKEDGE();
    114     goto L_2E0021C0; /* 0x2E005135: jmp 0x2e0021c0 */
    115     { RECOMP_REGS_OUT(); return; } /* end of function */
    116     RECOMP_REGS_OUT();
    117 }
    118 
    119 void sub_2E005140(void) {
    120     int _fpu_cmp = 0;
    121     uint32_t _cf = 0;
    122     int _df = 1;
    123     uint32_t _flag_k = FK_NONE;
    124     uint32_t _flag_a = 0, _flag_b = 0;
    125     uint32_t _itail_tgt = 0;
    126     RECOMP_REGS_LOCALS
    127     RECOMP_ENTER(0x2E005140u);
    128 
    129     goto L_2E005140;
    130 L_2E0021C0:
    131     PUSH32(esp, ebp); /* 0x2E0021C0: push ebp */
    132     ebp = esp; /* 0x2E0021C1: mov ebp, esp */
    133     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0021C3: push -1 */
    134     PUSH32(esp, 0x2E0112E0u); /* 0x2E0021C5: push 0x2e0112e0 */
    135     eax = MEM32(FS_BASE + (0)); /* 0x2E0021CA: mov eax, dword ptr fs:[0] */
    136     PUSH32(esp, eax); /* 0x2E0021D0: push eax */
    137     MEM32(FS_BASE + (0)) = esp; /* 0x2E0021D1: mov dword ptr fs:[0], esp */
    138     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    139     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    140     esp = esp - 8; /* 0x2E0021D8: sub esp, 8 */
    141     _flag_k = FK_CMP;
    142     PUSH32(esp, ebx); /* 0x2E0021DB: push ebx */
    143     PUSH32(esp, esi); /* 0x2E0021DC: push esi */
    144     esi = ecx; /* 0x2E0021DD: mov esi, ecx */
    145     PUSH32(esp, edi); /* 0x2E0021DF: push edi */
    146     ebx = esi + 0x4; /* 0x2E0021E0: lea ebx, [esi + 4] */
    147     MEM32(ebp + (-0x14)) = ebx; /* 0x2E0021E3: mov dword ptr [ebp - 0x14], ebx */
    148     PUSH32(esp, 1); /* 0x2E0021E6: push 1 */
    149     PUSH32(esp, 0); /* 0x2E0021E8: push 0 */
    150     PUSH32(esp, 0); /* 0x2E0021EA: push 0 */
    151     PUSH32(esp, 0); /* 0x2E0021EC: push 0 */
    152     ecx = ebx; /* 0x2E0021EE: mov ecx, ebx */
    153     MEM32(ebp + (-0x4)) = 0; /* 0x2E0021F0: mov dword ptr [ebp - 4], 0 */
    154     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E0021F7: call dword ptr [0x2e01212c] */
    155     RECOMP_FLAGS_IN();
    156     edi = eax; /* 0x2E0021FD: mov edi, eax */
    157     esi = MEM32(esi + 0xF8); /* 0x2E0021FF: mov esi, dword ptr [esi + 0xf8] */
    158     /* cmp edi, 0xFFFFFFFFu */ /* 0x2E002205: cmp edi, -1 */
    159     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
    160     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    161     _flag_k = FK_CMP;
    162     MEM32(ebp + (-0x4)) = 1; /* 0x2E002208: mov dword ptr [ebp - 4], 1 */
    163     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00221F; /* 0x2E00220F: je 0x2e00221f */
    164 L_2E002211:
    165     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
    166     edi = edi | 0xFFFFFFFFu; /* 0x2E002211: or edi, 0xffffffff */
    167     _cf = 0;
    168     _flag_k = FK_TEST;
    169     ecx = ebx; /* 0x2E002214: mov ecx, ebx */
    170     MEM32(ebp + (-0x10)) = edi; /* 0x2E002216: mov dword ptr [ebp - 0x10], edi */
    171     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E002219: call dword ptr [0x2e0121a4] */
    172     RECOMP_FLAGS_IN();
    173 L_2E00221F:
    174     /* cmp edi, 0xFFFFFFFFu */ /* 0x2E00221F: cmp edi, -1 */
    175     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
    176     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    177     _flag_k = FK_CMP;
    178     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E002222: mov dword ptr [ebp - 4], 0xffffffff */
    179     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E002233; /* 0x2E002229: je 0x2e002233 */
    180 L_2E00222B:
    181     ecx = ebx; /* 0x2E00222B: mov ecx, ebx */
    182     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E00222D: call dword ptr [0x2e0121a4] */
    183     RECOMP_FLAGS_IN();
    184 L_2E002233:
    185     ecx = MEM32(ebp + (-0xC)); /* 0x2E002233: mov ecx, dword ptr [ebp - 0xc] */
    186     eax = esi; /* 0x2E002236: mov eax, esi */
    187     edi = POP32_VAL(esp); /* 0x2E002238: pop edi */
    188     esi = POP32_VAL(esp); /* 0x2E002239: pop esi */
    189     ebx = POP32_VAL(esp); /* 0x2E00223A: pop ebx */
    190     MEM32(FS_BASE + (0)) = ecx; /* 0x2E00223B: mov dword ptr fs:[0], ecx */
    191     esp = ebp; /* 0x2E002242: mov esp, ebp */
    192     ebp = POP32_VAL(esp); /* 0x2E002244: pop ebp */
    193     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E002245: ret  */
    194 L_2E005140:
    195     ecx = 0x2E01B1E8u; /* 0x2E005140: mov ecx, 0x2e01b1e8 */
    196     RECOMP_BACKEDGE();
    197     goto L_2E0021C0; /* 0x2E005145: jmp 0x2e0021c0 */
    198     { RECOMP_REGS_OUT(); return; } /* end of function */
    199     RECOMP_REGS_OUT();
    200 }
    201 
    202 void sub_2E005150(void) {
    203     int _fpu_cmp = 0;
    204     uint32_t _cf = 0;
    205     int _df = 1;
    206     uint32_t _flag_k = FK_NONE;
    207     uint32_t _flag_a = 0, _flag_b = 0;
    208     uint32_t _itail_tgt = 0;
    209     RECOMP_REGS_LOCALS
    210     RECOMP_ENTER(0x2E005150u);
    211 
    212 L_2E005150:
    213     eax = 0x2E01AB68u; /* 0x2E005150: mov eax, 0x2e01ab68 */
    214     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E005155: ret  */
    215     RECOMP_REGS_OUT();
    216 }
    217 
    218 void sub_2E005160(void) {
    219     int _fpu_cmp = 0;
    220     uint32_t _cf = 0;
    221     int _df = 1;
    222     uint32_t _flag_k = FK_NONE;
    223     uint32_t _flag_a = 0, _flag_b = 0;
    224     uint32_t _itail_tgt = 0;
    225     RECOMP_REGS_LOCALS
    226     RECOMP_ENTER(0x2E005160u);
    227 
    228 L_2E005160:
    229     eax = 0x2E01B188u; /* 0x2E005160: mov eax, 0x2e01b188 */
    230     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E005165: ret  */
    231     RECOMP_REGS_OUT();
    232 }
    233 
    234 void sub_2E005170(void) {
    235     int _fpu_cmp = 0;
    236     uint32_t _cf = 0;
    237     int _df = 1;
    238     uint32_t _flag_k = FK_NONE;
    239     uint32_t _flag_a = 0, _flag_b = 0;
    240     uint32_t _itail_tgt = 0;
    241     RECOMP_REGS_LOCALS
    242     RECOMP_ENTER(0x2E005170u);
    243 
    244 L_2E005170:
    245     PUSH32(esp, ebp); /* 0x2E005170: push ebp */
    246     ebp = esp; /* 0x2E005171: mov ebp, esp */
    247     ecx = MEM32(ebp + 0x8); /* 0x2E005173: mov ecx, dword ptr [ebp + 8] */
    248     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2E005176: shl ecx, 8 */
    249     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    250     ecx = ecx << 8u; /* 0x2E005176: shl ecx, 8 */
    251     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2E01AC80u);
    252     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    253     ecx = ecx + 0x2E01AC80u; /* 0x2E005179: add ecx, 0x2e01ac80 */
    254     _flag_k = FK_ADD;
    255     RECOMP_ICALL(0x2E002390u); /* 0x2E00517F: call 0x2e002390 */ /* not lifted */
    256     RECOMP_FLAGS_IN();
    257     ebp = POP32_VAL(esp); /* 0x2E005184: pop ebp */
    258     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E005185: ret  */
    259     RECOMP_REGS_OUT();
    260 }
    261 
    262 void sub_2E005190(void) {
    263     int _fpu_cmp = 0;
    264     uint32_t _cf = 0;
    265     int _df = 1;
    266     uint32_t _flag_k = FK_NONE;
    267     uint32_t _flag_a = 0, _flag_b = 0;
    268     uint32_t _itail_tgt = 0;
    269     RECOMP_REGS_LOCALS
    270     RECOMP_ENTER(0x2E005190u);
    271 
    272 L_2E005190:
    273     PUSH32(esp, ebp); /* 0x2E005190: push ebp */
    274     ebp = esp; /* 0x2E005191: mov ebp, esp */
    275     ecx = MEM32(ebp + 0x8); /* 0x2E005193: mov ecx, dword ptr [ebp + 8] */
    276     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2E005196: shl ecx, 8 */
    277     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    278     ecx = ecx << 8u; /* 0x2E005196: shl ecx, 8 */
    279     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2E01AC80u);
    280     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    281     ecx = ecx + 0x2E01AC80u; /* 0x2E005199: add ecx, 0x2e01ac80 */
    282     _flag_k = FK_ADD;
    283     RECOMP_ICALL(0x2E0027B0u); /* 0x2E00519F: call 0x2e0027b0 */ /* not lifted */
    284     RECOMP_FLAGS_IN();
    285     ebp = POP32_VAL(esp); /* 0x2E0051A4: pop ebp */
    286     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0051A5: ret  */
    287     RECOMP_REGS_OUT();
    288 }
    289 
    290 void sub_2E0051B0(void) {
    291     int _fpu_cmp = 0;
    292     uint32_t _cf = 0;
    293     int _df = 1;
    294     uint32_t _flag_k = FK_NONE;
    295     uint32_t _flag_a = 0, _flag_b = 0;
    296     uint32_t _itail_tgt = 0;
    297     RECOMP_REGS_LOCALS
    298     RECOMP_ENTER(0x2E0051B0u);
    299 
    300 L_2E0051B0:
    301     PUSH32(esp, ebp); /* 0x2E0051B0: push ebp */
    302     ebp = esp; /* 0x2E0051B1: mov ebp, esp */
    303     ecx = MEM32(ebp + 0x8); /* 0x2E0051B3: mov ecx, dword ptr [ebp + 8] */
    304     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2E0051B6: shl ecx, 8 */
    305     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    306     ecx = ecx << 8u; /* 0x2E0051B6: shl ecx, 8 */
    307     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2E01AC80u);
    308     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    309     ecx = ecx + 0x2E01AC80u; /* 0x2E0051B9: add ecx, 0x2e01ac80 */
    310     _flag_k = FK_ADD;
    311     RECOMP_ICALL(0x2E002860u); /* 0x2E0051BF: call 0x2e002860 */ /* not lifted */
    312     RECOMP_FLAGS_IN();
    313     ebp = POP32_VAL(esp); /* 0x2E0051C4: pop ebp */
    314     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0051C5: ret  */
    315     RECOMP_REGS_OUT();
    316 }
    317 
    318 void sub_2E0051D0(void) {
    319     int _fpu_cmp = 0;
    320     uint32_t _cf = 0;
    321     int _df = 1;
    322     uint32_t _flag_k = FK_NONE;
    323     uint32_t _flag_a = 0, _flag_b = 0;
    324     uint32_t _itail_tgt = 0;
    325     RECOMP_REGS_LOCALS
    326     RECOMP_ENTER(0x2E0051D0u);
    327 
    328 L_2E0051D0:
    329     PUSH32(esp, ebp); /* 0x2E0051D0: push ebp */
    330     ebp = esp; /* 0x2E0051D1: mov ebp, esp */
    331     ecx = MEM32(ebp + 0x8); /* 0x2E0051D3: mov ecx, dword ptr [ebp + 8] */
    332     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2E0051D6: shl ecx, 8 */
    333     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    334     ecx = ecx << 8u; /* 0x2E0051D6: shl ecx, 8 */
    335     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2E01AC80u);
    336     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    337     ecx = ecx + 0x2E01AC80u; /* 0x2E0051D9: add ecx, 0x2e01ac80 */
    338     _flag_k = FK_ADD;
    339     RECOMP_ICALL(0x2E002990u); /* 0x2E0051DF: call 0x2e002990 */ /* not lifted */
    340     RECOMP_FLAGS_IN();
    341     ebp = POP32_VAL(esp); /* 0x2E0051E4: pop ebp */
    342     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0051E5: ret  */
    343     RECOMP_REGS_OUT();
    344 }
    345 
    346 void sub_2E0051F0(void) {
    347     int _fpu_cmp = 0;
    348     uint32_t _cf = 0;
    349     int _df = 1;
    350     uint32_t _flag_k = FK_NONE;
    351     uint32_t _flag_a = 0, _flag_b = 0;
    352     uint32_t _itail_tgt = 0;
    353     RECOMP_REGS_LOCALS
    354     RECOMP_ENTER(0x2E0051F0u);
    355 
    356 L_2E0051F0:
    357     PUSH32(esp, ebp); /* 0x2E0051F0: push ebp */
    358     ebp = esp; /* 0x2E0051F1: mov ebp, esp */
    359     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0051F3: push -1 */
    360     PUSH32(esp, 0x2E011780u); /* 0x2E0051F5: push 0x2e011780 */
    361     eax = MEM32(FS_BASE + (0)); /* 0x2E0051FA: mov eax, dword ptr fs:[0] */
    362     PUSH32(esp, eax); /* 0x2E005200: push eax */
    363     MEM32(FS_BASE + (0)) = esp; /* 0x2E005201: mov dword ptr fs:[0], esp */
    364     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    365     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    366     esp = esp - 0x14u; /* 0x2E005208: sub esp, 0x14 */
    367     _flag_k = FK_CMP;
    368     PUSH32(esp, ebx); /* 0x2E00520B: push ebx */
    369     PUSH32(esp, esi); /* 0x2E00520C: push esi */
    370     esi = ecx; /* 0x2E00520D: mov esi, ecx */
    371     PUSH32(esp, edi); /* 0x2E00520F: push edi */
    372     ecx = esi + 0x76C; /* 0x2E005210: lea ecx, [esi + 0x76c] */
    373     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005216: mov dword ptr [ebp - 0x20], ecx */
    374     PUSH32(esp, 2); /* 0x2E005219: push 2 */
    375     PUSH32(esp, 0); /* 0x2E00521B: push 0 */
    376     PUSH32(esp, 0); /* 0x2E00521D: push 0 */
    377     PUSH32(esp, 0); /* 0x2E00521F: push 0 */
    378     MEM32(ebp + (-0x4)) = 0; /* 0x2E005221: mov dword ptr [ebp - 4], 0 */
    379     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E005228: call dword ptr [0x2e01212c] */
    380     RECOMP_FLAGS_IN();
    381     MEM32(ebp + (-0x1C)) = eax; /* 0x2E00522E: mov dword ptr [ebp - 0x1c], eax */
    382     PUSH32(esp, 0); /* 0x2E005231: push 0 */
    383     MEM32(ebp + (-0x4)) = 1; /* 0x2E005233: mov dword ptr [ebp - 4], 1 */
    384     RECOMP_ICALL(MEM32(0x2E0120A4)); /* 0x2E00523A: call dword ptr [0x2e0120a4] */
    385     RECOMP_FLAGS_IN();
    386     ecx = MEM32(ebp + 0x8); /* 0x2E005240: mov ecx, dword ptr [ebp + 8] */
    387     edi = MEM32(esi + 0x11C); /* 0x2E005243: mov edi, dword ptr [esi + 0x11c] */
    388     edx = MEM32(esi + 0x120); /* 0x2E005249: mov edx, dword ptr [esi + 0x120] */
    389     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    390     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    391     esp = esp + 4; /* 0x2E00524F: add esp, 4 */
    392     _flag_k = FK_ADD;
    393     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
    394     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    395     edi = edi + ecx; /* 0x2E005252: add edi, ecx */
    396     _flag_k = FK_ADD;
    397     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
    398     edx = edx + 1; /* 0x2E005254: inc edx */
    399     _flag_k = FK_INC;
    400     MEM32(esi + 0x120) = edx; /* 0x2E005255: mov dword ptr [esi + 0x120], edx */
    401     ebx = edx; /* 0x2E00525B: mov ebx, edx */
    402     edx = MEM32(esi + 0x118); /* 0x2E00525D: mov edx, dword ptr [esi + 0x118] */
    403     MEM32(ebp + (-0x10)) = eax; /* 0x2E005263: mov dword ptr [ebp - 0x10], eax */
    404     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5);
    405     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    406     edx = edx + 5; /* 0x2E005266: add edx, 5 */
    407     _flag_k = FK_ADD;
    408     MEM32(esi + 0x11C) = edi; /* 0x2E005269: mov dword ptr [esi + 0x11c], edi */
    409     /* cmp eax, edx */ /* 0x2E00526F: cmp eax, edx */
    410     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    411     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    412     _flag_k = FK_CMP;
    413     if (CMP_LE(_flag_a, _flag_b)) goto L_2E0053D9; /* 0x2E005271: jle 0x2e0053d9 */
    414 L_2E005277:
    415     ecx = esi + 0x1C; /* 0x2E005277: lea ecx, [esi + 0x1c] */
    416     MEM32(ebp + (-0x18)) = ecx; /* 0x2E00527A: mov dword ptr [ebp - 0x18], ecx */
    417     PUSH32(esp, 2); /* 0x2E00527D: push 2 */
    418     PUSH32(esp, 0); /* 0x2E00527F: push 0 */
    419     PUSH32(esp, 0); /* 0x2E005281: push 0 */
    420     PUSH32(esp, 0); /* 0x2E005283: push 0 */
    421     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E005285: mov byte ptr [ebp - 4], 2 */
    422     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E005289: call dword ptr [0x2e01212c] */
    423     RECOMP_FLAGS_IN();
    424     ecx = eax; /* 0x2E00528F: mov ecx, eax */
    425     eax = edi; /* 0x2E005291: mov eax, edi */
    426     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    427     edx = 0; /* 0x2E005293: xor edx, edx */
    428     _cf = 0;
    429     _flag_k = FK_TEST;
    430     { uint64_t _dividend = ((uint64_t)edx << 32) | eax; uint32_t _dv = (uint32_t)ebx; /* 0x2E005295: div ebx */
    431       if (_dv) { eax = (uint32_t)(_dividend / _dv); edx = (uint32_t)(_dividend % _dv); }
    432       else { eax = 0; edx = 0; } }
    433     edx = MEM32(esi + 0x108); /* 0x2E005297: mov edx, dword ptr [esi + 0x108] */
    434     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2E00529D: mov byte ptr [ebp - 4], 3 */
    435     /* cmp eax, edx */ /* 0x2E0052A1: cmp eax, edx */
    436     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    437     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    438     _flag_k = FK_CMP;
    439     if (CMP_BE(_flag_a, _flag_b)) goto L_2E0052AB; /* 0x2E0052A3: jbe 0x2e0052ab */
    440 L_2E0052A5:
    441     MEM32(esi + 0x108) = eax; /* 0x2E0052A5: mov dword ptr [esi + 0x108], eax */
    442 L_2E0052AB:
    443     edx = MEM32(esi + 0x104); /* 0x2E0052AB: mov edx, dword ptr [esi + 0x104] */
    444     /* cmp eax, edx */ /* 0x2E0052B1: cmp eax, edx */
    445     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    446     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    447     _flag_k = FK_CMP;
    448     if (CMP_B(_flag_a, _flag_b)) goto L_2E0052B9; /* 0x2E0052B3: jb 0x2e0052b9 */
    449 L_2E0052B5:
    450     /* test edx, edx */ /* 0x2E0052B5: test edx, edx */
    451     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    452     _cf = 0;
    453     _flag_k = FK_TEST;
    454     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0052BF; /* 0x2E0052B7: jne 0x2e0052bf */
    455 L_2E0052B9:
    456     MEM32(esi + 0x104) = eax; /* 0x2E0052B9: mov dword ptr [esi + 0x104], eax */
    457 L_2E0052BF:
    458     edx = MEM32(esi + 0xFC); /* 0x2E0052BF: mov edx, dword ptr [esi + 0xfc] */
    459     MEM32(esi + 0x10C) = eax; /* 0x2E0052C5: mov dword ptr [esi + 0x10c], eax */
    460     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
    461     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    462     edx = edx + edi; /* 0x2E0052CB: add edx, edi */
    463     _flag_k = FK_ADD;
    464     MEM32(esi + 0xFC) = edx; /* 0x2E0052CD: mov dword ptr [esi + 0xfc], edx */
    465     edx = MEM32(esi + 0x110); /* 0x2E0052D3: mov edx, dword ptr [esi + 0x110] */
    466     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
    467     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    468     edx = edx + ebx; /* 0x2E0052D9: add edx, ebx */
    469     _flag_k = FK_ADD;
    470     /* cmp ecx, 0xFFFFFFFFu */ /* 0x2E0052DB: cmp ecx, -1 */
    471     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFFu);
    472     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    473     _flag_k = FK_CMP;
    474     MEM32(esi + 0x110) = edx; /* 0x2E0052DE: mov dword ptr [esi + 0x110], edx */
    475     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0052F9; /* 0x2E0052E4: je 0x2e0052f9 */
    476 L_2E0052E6:
    477     ecx = MEM32(ebp + (-0x18)); /* 0x2E0052E6: mov ecx, dword ptr [ebp - 0x18] */
    478     MEM32(ebp + (-0x14)) = 0xFFFFFFFFu; /* 0x2E0052E9: mov dword ptr [ebp - 0x14], 0xffffffff */
    479     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E0052F0: call dword ptr [0x2e0121a4] */
    480     RECOMP_FLAGS_IN();
    481     ecx = MEM32(ebp + (-0x14)); /* 0x2E0052F6: mov ecx, dword ptr [ebp - 0x14] */
    482 L_2E0052F9:
    483     /* cmp ecx, 0xFFFFFFFFu */ /* 0x2E0052F9: cmp ecx, -1 */
    484     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFFu);
    485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    486     _flag_k = FK_CMP;
    487     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E0052FC: mov byte ptr [ebp - 4], 1 */
    488     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00530B; /* 0x2E005300: je 0x2e00530b */
    489 L_2E005302:
    490     ecx = MEM32(ebp + (-0x18)); /* 0x2E005302: mov ecx, dword ptr [ebp - 0x18] */
    491     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E005305: call dword ptr [0x2e0121a4] */
    492     RECOMP_FLAGS_IN();
    493 L_2E00530B:
    494     edi = MEM32(esi + 0x120); /* 0x2E00530B: mov edi, dword ptr [esi + 0x120] */
    495     ebx = MEM32(esi + 0x11C); /* 0x2E005311: mov ebx, dword ptr [esi + 0x11c] */
    496     ecx = 0x2E01AB84u; /* 0x2E005317: mov ecx, 0x2e01ab84 */
    497     MEM32(ebp + (-0x18)) = ecx; /* 0x2E00531C: mov dword ptr [ebp - 0x18], ecx */
    498     PUSH32(esp, 2); /* 0x2E00531F: push 2 */
    499     PUSH32(esp, 0); /* 0x2E005321: push 0 */
    500     PUSH32(esp, 0); /* 0x2E005323: push 0 */
    501     PUSH32(esp, 0); /* 0x2E005325: push 0 */
    502     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2E005327: mov byte ptr [ebp - 4], 4 */
    503     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E00532B: call dword ptr [0x2e01212c] */
    504     RECOMP_FLAGS_IN();
    505     ecx = eax; /* 0x2E005331: mov ecx, eax */
    506     eax = ebx; /* 0x2E005333: mov eax, ebx */
    507     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    508     edx = 0; /* 0x2E005335: xor edx, edx */
    509     _cf = 0;
    510     _flag_k = FK_TEST;
    511     { uint64_t _dividend = ((uint64_t)edx << 32) | eax; uint32_t _dv = (uint32_t)edi; /* 0x2E005337: div edi */
    512       if (_dv) { eax = (uint32_t)(_dividend / _dv); edx = (uint32_t)(_dividend % _dv); }
    513       else { eax = 0; edx = 0; } }
    514     edx = MEM32(0x2E01AC70); /* 0x2E005339: mov edx, dword ptr [0x2e01ac70] */
    515     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2E00533F: mov byte ptr [ebp - 4], 5 */
    516     /* cmp eax, edx */ /* 0x2E005343: cmp eax, edx */
    517     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    518     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    519     _flag_k = FK_CMP;
    520     if (CMP_BE(_flag_a, _flag_b)) goto L_2E00534C; /* 0x2E005345: jbe 0x2e00534c */
    521 L_2E005347:
    522     MEM32(0x2E01AC70) = eax; /* 0x2E005347: mov dword ptr [0x2e01ac70], eax */
    523 L_2E00534C:
    524     edx = MEM32(0x2E01AC6C); /* 0x2E00534C: mov edx, dword ptr [0x2e01ac6c] */
    525     /* cmp eax, edx */ /* 0x2E005352: cmp eax, edx */
    526     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    527     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    528     _flag_k = FK_CMP;
    529     if (CMP_B(_flag_a, _flag_b)) goto L_2E00535A; /* 0x2E005354: jb 0x2e00535a */
    530 L_2E005356:
    531     /* test edx, edx */ /* 0x2E005356: test edx, edx */
    532     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    533     _cf = 0;
    534     _flag_k = FK_TEST;
    535     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E00535F; /* 0x2E005358: jne 0x2e00535f */
    536 L_2E00535A:
    537     MEM32(0x2E01AC6C) = eax; /* 0x2E00535A: mov dword ptr [0x2e01ac6c], eax */
    538 L_2E00535F:
    539     edx = MEM32(0x2E01AC64); /* 0x2E00535F: mov edx, dword ptr [0x2e01ac64] */
    540     MEM32(0x2E01AC74) = eax; /* 0x2E005365: mov dword ptr [0x2e01ac74], eax */
    541     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
    542     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    543     edx = edx + ebx; /* 0x2E00536A: add edx, ebx */
    544     _flag_k = FK_ADD;
    545     MEM32(0x2E01AC64) = edx; /* 0x2E00536C: mov dword ptr [0x2e01ac64], edx */
    546     edx = MEM32(0x2E01AC78); /* 0x2E005372: mov edx, dword ptr [0x2e01ac78] */
    547     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
    548     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    549     edx = edx + edi; /* 0x2E005378: add edx, edi */
    550     _flag_k = FK_ADD;
    551     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
    552     edi = edi | 0xFFFFFFFFu; /* 0x2E00537A: or edi, 0xffffffff */
    553     _cf = 0;
    554     _flag_k = FK_TEST;
    555     /* cmp ecx, edi */ /* 0x2E00537D: cmp ecx, edi */
    556     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
    557     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    558     _flag_k = FK_CMP;
    559     MEM32(0x2E01AC78) = edx; /* 0x2E00537F: mov dword ptr [0x2e01ac78], edx */
    560     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E005397; /* 0x2E005385: je 0x2e005397 */
    561 L_2E005387:
    562     ecx = 0x2E01AB84u; /* 0x2E005387: mov ecx, 0x2e01ab84 */
    563     MEM32(ebp + (-0x14)) = edi; /* 0x2E00538C: mov dword ptr [ebp - 0x14], edi */
    564     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E00538F: call dword ptr [0x2e0121a4] */
    565     RECOMP_FLAGS_IN();
    566     ecx = edi; /* 0x2E005395: mov ecx, edi */
    567 L_2E005397:
    568     /* cmp ecx, edi */ /* 0x2E005397: cmp ecx, edi */
    569     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
    570     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    571     _flag_k = FK_CMP;
    572     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005399: mov byte ptr [ebp - 4], 1 */
    573     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0053AA; /* 0x2E00539D: je 0x2e0053aa */
    574 L_2E00539F:
    575     ecx = 0x2E01AB84u; /* 0x2E00539F: mov ecx, 0x2e01ab84 */
    576     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E0053A4: call dword ptr [0x2e0121a4] */
    577     RECOMP_FLAGS_IN();
    578 L_2E0053AA:
    579     eax = MEM32(ebp + (-0x10)); /* 0x2E0053AA: mov eax, dword ptr [ebp - 0x10] */
    580     MEM32(esi + 0x118) = eax; /* 0x2E0053AD: mov dword ptr [esi + 0x118], eax */
    581     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    582     eax = 0; /* 0x2E0053B3: xor eax, eax */
    583     _cf = 0;
    584     _flag_k = FK_TEST;
    585     MEM32(esi + 0x11C) = eax; /* 0x2E0053B5: mov dword ptr [esi + 0x11c], eax */
    586     MEM32(esi + 0x120) = eax; /* 0x2E0053BB: mov dword ptr [esi + 0x120], eax */
    587     SET_LO8(eax, MEM8(esi + 0x768)); /* 0x2E0053C1: mov al, byte ptr [esi + 0x768] */
    588     /* test LO8(eax), LO8(eax) */ /* 0x2E0053C7: test al, al */
    589     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    590     _cf = 0;
    591     _flag_k = FK_NARROW(FK_TEST, 24);
    592     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0053DC; /* 0x2E0053C9: je 0x2e0053dc */
    593 L_2E0053CB:
    594     ecx = esi; /* 0x2E0053CB: mov ecx, esi */
    595     RECOMP_ICALL(0x2E0058D0u); /* 0x2E0053CD: call 0x2e0058d0 */ /* not lifted */
    596     RECOMP_FLAGS_IN();
    597     RECOMP_ICALL(0x2E005C50u); /* 0x2E0053D2: call 0x2e005c50 */ /* not lifted */
    598     RECOMP_FLAGS_IN();
    599     goto L_2E0053DC; /* 0x2E0053D7: jmp 0x2e0053dc */
    600 L_2E0053D9:
    601     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
    602     edi = edi | 0xFFFFFFFFu; /* 0x2E0053D9: or edi, 0xffffffff */
    603     _cf = 0;
    604     _flag_k = FK_TEST;
    605 L_2E0053DC:
    606     eax = MEM32(ebp + (-0x1C)); /* 0x2E0053DC: mov eax, dword ptr [ebp - 0x1c] */
    607     MEM32(ebp + (-0x4)) = edi; /* 0x2E0053DF: mov dword ptr [ebp - 4], edi */
    608     /* cmp eax, edi */ /* 0x2E0053E2: cmp eax, edi */
    609     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    610     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    611     _flag_k = FK_CMP;
    612     edi = POP32_VAL(esp); /* 0x2E0053E4: pop edi */
    613     esi = POP32_VAL(esp); /* 0x2E0053E5: pop esi */
    614     ebx = POP32_VAL(esp); /* 0x2E0053E6: pop ebx */
    615     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0053F2; /* 0x2E0053E7: je 0x2e0053f2 */
    616 L_2E0053E9:
    617     ecx = MEM32(ebp + (-0x20)); /* 0x2E0053E9: mov ecx, dword ptr [ebp - 0x20] */
    618     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E0053EC: call dword ptr [0x2e0121a4] */
    619     RECOMP_FLAGS_IN();
    620 L_2E0053F2:
    621     ecx = MEM32(ebp + (-0xC)); /* 0x2E0053F2: mov ecx, dword ptr [ebp - 0xc] */
    622     MEM32(FS_BASE + (0)) = ecx; /* 0x2E0053F5: mov dword ptr fs:[0], ecx */
    623     esp = ebp; /* 0x2E0053FC: mov esp, ebp */
    624     ebp = POP32_VAL(esp); /* 0x2E0053FE: pop ebp */
    625     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E0053FF: ret 8 */
    626     RECOMP_REGS_OUT();
    627 }
    628 
    629 void sub_2E005410(void) {
    630     int _fpu_cmp = 0;
    631     uint32_t _cf = 0;
    632     int _df = 1;
    633     uint32_t _flag_k = FK_NONE;
    634     uint32_t _flag_a = 0, _flag_b = 0;
    635     uint32_t _itail_tgt = 0;
    636     RECOMP_REGS_LOCALS
    637     RECOMP_ENTER(0x2E005410u);
    638 
    639 L_2E005410:
    640     PUSH32(esp, ebp); /* 0x2E005410: push ebp */
    641     ebp = esp; /* 0x2E005411: mov ebp, esp */
    642     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E005413: push -1 */
    643     PUSH32(esp, 0x2E0117C0u); /* 0x2E005415: push 0x2e0117c0 */
    644     eax = MEM32(FS_BASE + (0)); /* 0x2E00541A: mov eax, dword ptr fs:[0] */
    645     PUSH32(esp, eax); /* 0x2E005420: push eax */
    646     MEM32(FS_BASE + (0)) = esp; /* 0x2E005421: mov dword ptr fs:[0], esp */
    647     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    648     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    649     esp = esp - 0x14u; /* 0x2E005428: sub esp, 0x14 */
    650     _flag_k = FK_CMP;
    651     PUSH32(esp, ebx); /* 0x2E00542B: push ebx */
    652     PUSH32(esp, esi); /* 0x2E00542C: push esi */
    653     PUSH32(esp, edi); /* 0x2E00542D: push edi */
    654     esi = ecx; /* 0x2E00542E: mov esi, ecx */
    655     PUSH32(esp, 0); /* 0x2E005430: push 0 */
    656     RECOMP_ICALL(MEM32(0x2E0120A4)); /* 0x2E005432: call dword ptr [0x2e0120a4] */
    657     RECOMP_FLAGS_IN();
    658     ecx = esi + 0x76C; /* 0x2E005438: lea ecx, [esi + 0x76c] */
    659     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    660     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    661     esp = esp + 4; /* 0x2E00543E: add esp, 4 */
    662     _flag_k = FK_ADD;
    663     MEM32(ebp + (-0x10)) = eax; /* 0x2E005441: mov dword ptr [ebp - 0x10], eax */
    664     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005444: mov dword ptr [ebp - 0x20], ecx */
    665     PUSH32(esp, 2); /* 0x2E005447: push 2 */
    666     PUSH32(esp, 0); /* 0x2E005449: push 0 */
    667     PUSH32(esp, 0); /* 0x2E00544B: push 0 */
    668     PUSH32(esp, 0); /* 0x2E00544D: push 0 */
    669     MEM32(ebp + (-0x4)) = 0; /* 0x2E00544F: mov dword ptr [ebp - 4], 0 */
    670     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E005456: call dword ptr [0x2e01212c] */
    671     RECOMP_FLAGS_IN();
    672     MEM32(ebp + (-0x1C)) = eax; /* 0x2E00545C: mov dword ptr [ebp - 0x1c], eax */
    673     eax = MEM32(ebp + 0x8); /* 0x2E00545F: mov eax, dword ptr [ebp + 8] */
    674     ecx = MEM32(esi + 0x23C); /* 0x2E005462: mov ecx, dword ptr [esi + 0x23c] */
    675     ebx = MEM32(esi + 0x240); /* 0x2E005468: mov ebx, dword ptr [esi + 0x240] */
    676     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
    677     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    678     ecx = ecx + eax; /* 0x2E00546E: add ecx, eax */
    679     _flag_k = FK_ADD;
    680     eax = MEM32(ebp + (-0x10)); /* 0x2E005470: mov eax, dword ptr [ebp - 0x10] */
    681     MEM32(esi + 0x23C) = ecx; /* 0x2E005473: mov dword ptr [esi + 0x23c], ecx */
    682     edi = ecx; /* 0x2E005479: mov edi, ecx */
    683     ecx = MEM32(esi + 0x238); /* 0x2E00547B: mov ecx, dword ptr [esi + 0x238] */
    684     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(5);
    685     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    686     ecx = ecx + 5; /* 0x2E005481: add ecx, 5 */
    687     _flag_k = FK_ADD;
    688     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
    689     ebx = ebx + 1; /* 0x2E005484: inc ebx */
    690     _flag_k = FK_INC;
    691     /* cmp eax, ecx */ /* 0x2E005485: cmp eax, ecx */
    692     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    693     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    694     _flag_k = FK_CMP;
    695     MEM32(ebp + (-0x4)) = 1; /* 0x2E005487: mov dword ptr [ebp - 4], 1 */
    696     MEM32(esi + 0x240) = ebx; /* 0x2E00548E: mov dword ptr [esi + 0x240], ebx */
    697     if (CMP_LE(_flag_a, _flag_b)) goto L_2E0055FF; /* 0x2E005494: jle 0x2e0055ff */
    698 L_2E00549A:
    699     ecx = esi + 0x13C; /* 0x2E00549A: lea ecx, [esi + 0x13c] */
    700     MEM32(ebp + (-0x18)) = ecx; /* 0x2E0054A0: mov dword ptr [ebp - 0x18], ecx */
    701     PUSH32(esp, 2); /* 0x2E0054A3: push 2 */
    702     PUSH32(esp, 0); /* 0x2E0054A5: push 0 */
    703     PUSH32(esp, 0); /* 0x2E0054A7: push 0 */
    704     PUSH32(esp, 0); /* 0x2E0054A9: push 0 */
    705     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E0054AB: mov byte ptr [ebp - 4], 2 */
    706     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E0054AF: call dword ptr [0x2e01212c] */
    707     RECOMP_FLAGS_IN();
    708     ecx = eax; /* 0x2E0054B5: mov ecx, eax */
    709     eax = edi; /* 0x2E0054B7: mov eax, edi */
    710     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    711     edx = 0; /* 0x2E0054B9: xor edx, edx */
    712     _cf = 0;
    713     _flag_k = FK_TEST;
    714     { uint64_t _dividend = ((uint64_t)edx << 32) | eax; uint32_t _dv = (uint32_t)ebx; /* 0x2E0054BB: div ebx */
    715       if (_dv) { eax = (uint32_t)(_dividend / _dv); edx = (uint32_t)(_dividend % _dv); }
    716       else { eax = 0; edx = 0; } }
    717     edx = MEM32(esi + 0x228); /* 0x2E0054BD: mov edx, dword ptr [esi + 0x228] */
    718     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2E0054C3: mov byte ptr [ebp - 4], 3 */
    719     /* cmp eax, edx */ /* 0x2E0054C7: cmp eax, edx */
    720     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    721     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    722     _flag_k = FK_CMP;
    723     if (CMP_BE(_flag_a, _flag_b)) goto L_2E0054D1; /* 0x2E0054C9: jbe 0x2e0054d1 */
    724 L_2E0054CB:
    725     MEM32(esi + 0x228) = eax; /* 0x2E0054CB: mov dword ptr [esi + 0x228], eax */
    726 L_2E0054D1:
    727     edx = MEM32(esi + 0x224); /* 0x2E0054D1: mov edx, dword ptr [esi + 0x224] */
    728     /* cmp eax, edx */ /* 0x2E0054D7: cmp eax, edx */
    729     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    730     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    731     _flag_k = FK_CMP;
    732     if (CMP_B(_flag_a, _flag_b)) goto L_2E0054DF; /* 0x2E0054D9: jb 0x2e0054df */
    733 L_2E0054DB:
    734     /* test edx, edx */ /* 0x2E0054DB: test edx, edx */
    735     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    736     _cf = 0;
    737     _flag_k = FK_TEST;
    738     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0054E5; /* 0x2E0054DD: jne 0x2e0054e5 */
    739 L_2E0054DF:
    740     MEM32(esi + 0x224) = eax; /* 0x2E0054DF: mov dword ptr [esi + 0x224], eax */
    741 L_2E0054E5:
    742     edx = MEM32(esi + 0x21C); /* 0x2E0054E5: mov edx, dword ptr [esi + 0x21c] */
    743     MEM32(esi + 0x22C) = eax; /* 0x2E0054EB: mov dword ptr [esi + 0x22c], eax */
    744     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
    745     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    746     edx = edx + edi; /* 0x2E0054F1: add edx, edi */
    747     _flag_k = FK_ADD;
    748     MEM32(esi + 0x21C) = edx; /* 0x2E0054F3: mov dword ptr [esi + 0x21c], edx */
    749     edx = MEM32(esi + 0x230); /* 0x2E0054F9: mov edx, dword ptr [esi + 0x230] */
    750     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
    751     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    752     edx = edx + ebx; /* 0x2E0054FF: add edx, ebx */
    753     _flag_k = FK_ADD;
    754     /* cmp ecx, 0xFFFFFFFFu */ /* 0x2E005501: cmp ecx, -1 */
    755     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFFu);
    756     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    757     _flag_k = FK_CMP;
    758     MEM32(esi + 0x230) = edx; /* 0x2E005504: mov dword ptr [esi + 0x230], edx */
    759     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00551F; /* 0x2E00550A: je 0x2e00551f */
    760 L_2E00550C:
    761     ecx = MEM32(ebp + (-0x18)); /* 0x2E00550C: mov ecx, dword ptr [ebp - 0x18] */
    762     MEM32(ebp + (-0x14)) = 0xFFFFFFFFu; /* 0x2E00550F: mov dword ptr [ebp - 0x14], 0xffffffff */
    763     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E005516: call dword ptr [0x2e0121a4] */
    764     RECOMP_FLAGS_IN();
    765     ecx = MEM32(ebp + (-0x14)); /* 0x2E00551C: mov ecx, dword ptr [ebp - 0x14] */
    766 L_2E00551F:
    767     /* cmp ecx, 0xFFFFFFFFu */ /* 0x2E00551F: cmp ecx, -1 */
    768     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFFu);
    769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    770     _flag_k = FK_CMP;
    771     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005522: mov byte ptr [ebp - 4], 1 */
    772     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E005531; /* 0x2E005526: je 0x2e005531 */
    773 L_2E005528:
    774     ecx = MEM32(ebp + (-0x18)); /* 0x2E005528: mov ecx, dword ptr [ebp - 0x18] */
    775     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E00552B: call dword ptr [0x2e0121a4] */
    776     RECOMP_FLAGS_IN();
    777 L_2E005531:
    778     edi = MEM32(esi + 0x240); /* 0x2E005531: mov edi, dword ptr [esi + 0x240] */
    779     ebx = MEM32(esi + 0x23C); /* 0x2E005537: mov ebx, dword ptr [esi + 0x23c] */
    780     ecx = 0x2E01B1ECu; /* 0x2E00553D: mov ecx, 0x2e01b1ec */
    781     MEM32(ebp + (-0x18)) = ecx; /* 0x2E005542: mov dword ptr [ebp - 0x18], ecx */
    782     PUSH32(esp, 2); /* 0x2E005545: push 2 */
    783     PUSH32(esp, 0); /* 0x2E005547: push 0 */
    784     PUSH32(esp, 0); /* 0x2E005549: push 0 */
    785     PUSH32(esp, 0); /* 0x2E00554B: push 0 */
    786     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2E00554D: mov byte ptr [ebp - 4], 4 */
    787     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E005551: call dword ptr [0x2e01212c] */
    788     RECOMP_FLAGS_IN();
    789     ecx = eax; /* 0x2E005557: mov ecx, eax */
    790     eax = ebx; /* 0x2E005559: mov eax, ebx */
    791     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    792     edx = 0; /* 0x2E00555B: xor edx, edx */
    793     _cf = 0;
    794     _flag_k = FK_TEST;
    795     { uint64_t _dividend = ((uint64_t)edx << 32) | eax; uint32_t _dv = (uint32_t)edi; /* 0x2E00555D: div edi */
    796       if (_dv) { eax = (uint32_t)(_dividend / _dv); edx = (uint32_t)(_dividend % _dv); }
    797       else { eax = 0; edx = 0; } }
    798     edx = MEM32(0x2E01B2D8); /* 0x2E00555F: mov edx, dword ptr [0x2e01b2d8] */
    799     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2E005565: mov byte ptr [ebp - 4], 5 */
    800     /* cmp eax, edx */ /* 0x2E005569: cmp eax, edx */
    801     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    802     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    803     _flag_k = FK_CMP;
    804     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005572; /* 0x2E00556B: jbe 0x2e005572 */
    805 L_2E00556D:
    806     MEM32(0x2E01B2D8) = eax; /* 0x2E00556D: mov dword ptr [0x2e01b2d8], eax */
    807 L_2E005572:
    808     edx = MEM32(0x2E01B2D4); /* 0x2E005572: mov edx, dword ptr [0x2e01b2d4] */
    809     /* cmp eax, edx */ /* 0x2E005578: cmp eax, edx */
    810     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    811     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    812     _flag_k = FK_CMP;
    813     if (CMP_B(_flag_a, _flag_b)) goto L_2E005580; /* 0x2E00557A: jb 0x2e005580 */
    814 L_2E00557C:
    815     /* test edx, edx */ /* 0x2E00557C: test edx, edx */
    816     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    817     _cf = 0;
    818     _flag_k = FK_TEST;
    819     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E005585; /* 0x2E00557E: jne 0x2e005585 */
    820 L_2E005580:
    821     MEM32(0x2E01B2D4) = eax; /* 0x2E005580: mov dword ptr [0x2e01b2d4], eax */
    822 L_2E005585:
    823     edx = MEM32(0x2E01B2CC); /* 0x2E005585: mov edx, dword ptr [0x2e01b2cc] */
    824     MEM32(0x2E01B2DC) = eax; /* 0x2E00558B: mov dword ptr [0x2e01b2dc], eax */
    825     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
    826     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    827     edx = edx + ebx; /* 0x2E005590: add edx, ebx */
    828     _flag_k = FK_ADD;
    829     MEM32(0x2E01B2CC) = edx; /* 0x2E005592: mov dword ptr [0x2e01b2cc], edx */
    830     edx = MEM32(0x2E01B2E0); /* 0x2E005598: mov edx, dword ptr [0x2e01b2e0] */
    831     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
    832     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    833     edx = edx + edi; /* 0x2E00559E: add edx, edi */
    834     _flag_k = FK_ADD;
    835     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
    836     edi = edi | 0xFFFFFFFFu; /* 0x2E0055A0: or edi, 0xffffffff */
    837     _cf = 0;
    838     _flag_k = FK_TEST;
    839     /* cmp ecx, edi */ /* 0x2E0055A3: cmp ecx, edi */
    840     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
    841     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    842     _flag_k = FK_CMP;
    843     MEM32(0x2E01B2E0) = edx; /* 0x2E0055A5: mov dword ptr [0x2e01b2e0], edx */
    844     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0055BD; /* 0x2E0055AB: je 0x2e0055bd */
    845 L_2E0055AD:
    846     ecx = 0x2E01B1ECu; /* 0x2E0055AD: mov ecx, 0x2e01b1ec */
    847     MEM32(ebp + (-0x14)) = edi; /* 0x2E0055B2: mov dword ptr [ebp - 0x14], edi */
    848     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E0055B5: call dword ptr [0x2e0121a4] */
    849     RECOMP_FLAGS_IN();
    850     ecx = edi; /* 0x2E0055BB: mov ecx, edi */
    851 L_2E0055BD:
    852     /* cmp ecx, edi */ /* 0x2E0055BD: cmp ecx, edi */
    853     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
    854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    855     _flag_k = FK_CMP;
    856     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E0055BF: mov byte ptr [ebp - 4], 1 */
    857     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0055D0; /* 0x2E0055C3: je 0x2e0055d0 */
    858 L_2E0055C5:
    859     ecx = 0x2E01B1ECu; /* 0x2E0055C5: mov ecx, 0x2e01b1ec */
    860     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E0055CA: call dword ptr [0x2e0121a4] */
    861     RECOMP_FLAGS_IN();
    862 L_2E0055D0:
    863     edx = MEM32(ebp + (-0x10)); /* 0x2E0055D0: mov edx, dword ptr [ebp - 0x10] */
    864     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    865     eax = 0; /* 0x2E0055D3: xor eax, eax */
    866     _cf = 0;
    867     _flag_k = FK_TEST;
    868     MEM32(esi + 0x23C) = eax; /* 0x2E0055D5: mov dword ptr [esi + 0x23c], eax */
    869     MEM32(esi + 0x240) = eax; /* 0x2E0055DB: mov dword ptr [esi + 0x240], eax */
    870     SET_LO8(eax, MEM8(esi + 0x768)); /* 0x2E0055E1: mov al, byte ptr [esi + 0x768] */
    871     MEM32(esi + 0x238) = edx; /* 0x2E0055E7: mov dword ptr [esi + 0x238], edx */
    872     /* test LO8(eax), LO8(eax) */ /* 0x2E0055ED: test al, al */
    873     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    874     _cf = 0;
    875     _flag_k = FK_NARROW(FK_TEST, 24);
    876     if (TEST_Z(_flag_a, _flag_b)) goto L_2E005602; /* 0x2E0055EF: je 0x2e005602 */
    877 L_2E0055F1:
    878     ecx = esi; /* 0x2E0055F1: mov ecx, esi */
    879     RECOMP_ICALL(0x2E0058D0u); /* 0x2E0055F3: call 0x2e0058d0 */ /* not lifted */
    880     RECOMP_FLAGS_IN();
    881     RECOMP_ICALL(0x2E005C50u); /* 0x2E0055F8: call 0x2e005c50 */ /* not lifted */
    882     RECOMP_FLAGS_IN();
    883     goto L_2E005602; /* 0x2E0055FD: jmp 0x2e005602 */
    884 L_2E0055FF:
    885     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
    886     edi = edi | 0xFFFFFFFFu; /* 0x2E0055FF: or edi, 0xffffffff */
    887     _cf = 0;
    888     _flag_k = FK_TEST;
    889 L_2E005602:
    890     eax = MEM32(ebp + (-0x1C)); /* 0x2E005602: mov eax, dword ptr [ebp - 0x1c] */
    891     MEM32(ebp + (-0x4)) = edi; /* 0x2E005605: mov dword ptr [ebp - 4], edi */
    892     /* cmp eax, edi */ /* 0x2E005608: cmp eax, edi */
    893     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    894     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    895     _flag_k = FK_CMP;
    896     edi = POP32_VAL(esp); /* 0x2E00560A: pop edi */
    897     esi = POP32_VAL(esp); /* 0x2E00560B: pop esi */
    898     ebx = POP32_VAL(esp); /* 0x2E00560C: pop ebx */
    899     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E005618; /* 0x2E00560D: je 0x2e005618 */
    900 L_2E00560F:
    901     ecx = MEM32(ebp + (-0x20)); /* 0x2E00560F: mov ecx, dword ptr [ebp - 0x20] */
    902     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E005612: call dword ptr [0x2e0121a4] */
    903     RECOMP_FLAGS_IN();
    904 L_2E005618:
    905     ecx = MEM32(ebp + (-0xC)); /* 0x2E005618: mov ecx, dword ptr [ebp - 0xc] */
    906     MEM32(FS_BASE + (0)) = ecx; /* 0x2E00561B: mov dword ptr fs:[0], ecx */
    907     esp = ebp; /* 0x2E005622: mov esp, ebp */
    908     ebp = POP32_VAL(esp); /* 0x2E005624: pop ebp */
    909     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E005625: ret 8 */
    910     RECOMP_REGS_OUT();
    911 }
    912 
    913 void sub_2E005630(void) {
    914     int _fpu_cmp = 0;
    915     uint32_t _cf = 0;
    916     int _df = 1;
    917     uint32_t _flag_k = FK_NONE;
    918     uint32_t _flag_a = 0, _flag_b = 0;
    919     uint32_t _itail_tgt = 0;
    920     RECOMP_REGS_LOCALS
    921     RECOMP_ENTER(0x2E005630u);
    922 
    923 L_2E005630:
    924     PUSH32(esp, ebp); /* 0x2E005630: push ebp */
    925     ebp = esp; /* 0x2E005631: mov ebp, esp */
    926     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E005633: push -1 */
    927     PUSH32(esp, 0x2E0117E0u); /* 0x2E005635: push 0x2e0117e0 */
    928     eax = MEM32(FS_BASE + (0)); /* 0x2E00563A: mov eax, dword ptr fs:[0] */
    929     PUSH32(esp, eax); /* 0x2E005640: push eax */
    930     MEM32(FS_BASE + (0)) = esp; /* 0x2E005641: mov dword ptr fs:[0], esp */
    931     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    933     esp = esp - 8; /* 0x2E005648: sub esp, 8 */
    934     _flag_k = FK_CMP;
    935     PUSH32(esp, ebx); /* 0x2E00564B: push ebx */
    936     PUSH32(esp, esi); /* 0x2E00564C: push esi */
    937     esi = ecx; /* 0x2E00564D: mov esi, ecx */
    938     PUSH32(esp, edi); /* 0x2E00564F: push edi */
    939     edi = esi + 0x76C; /* 0x2E005650: lea edi, [esi + 0x76c] */
    940     MEM32(ebp + (-0x14)) = edi; /* 0x2E005656: mov dword ptr [ebp - 0x14], edi */
    941     ebx = MEM32(0x2E01212C); /* 0x2E005659: mov ebx, dword ptr [0x2e01212c] */
    942     PUSH32(esp, 2); /* 0x2E00565F: push 2 */
    943     PUSH32(esp, 0); /* 0x2E005661: push 0 */
    944     PUSH32(esp, 0); /* 0x2E005663: push 0 */
    945     PUSH32(esp, 0); /* 0x2E005665: push 0 */
    946     ecx = edi; /* 0x2E005667: mov ecx, edi */
    947     MEM32(ebp + (-0x4)) = 0; /* 0x2E005669: mov dword ptr [ebp - 4], 0 */
    948     RECOMP_ICALL(ebx); /* 0x2E005670: call ebx */
    949     RECOMP_FLAGS_IN();
    950     ecx = MEM32(ebp + 0x8); /* 0x2E005672: mov ecx, dword ptr [ebp + 8] */
    951     edx = MEM32(esi + 0x260); /* 0x2E005675: mov edx, dword ptr [esi + 0x260] */
    952     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
    953     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    954     edx = edx + ecx; /* 0x2E00567B: add edx, ecx */
    955     _flag_k = FK_ADD;
    956     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E00567D: mov dword ptr [ebp - 4], 0xffffffff */
    957     MEM32(esi + 0x260) = edx; /* 0x2E005684: mov dword ptr [esi + 0x260], edx */
    958     edx = MEM32(esi + 0x258); /* 0x2E00568A: mov edx, dword ptr [esi + 0x258] */
    959     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
    960     edx = edx + 1; /* 0x2E005690: inc edx */
    961     _flag_k = FK_INC;
    962     /* cmp eax, 0xFFFFFFFFu */ /* 0x2E005691: cmp eax, -1 */
    963     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
    964     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    965     _flag_k = FK_CMP;
    966     MEM32(esi + 0x258) = edx; /* 0x2E005694: mov dword ptr [esi + 0x258], edx */
    967     esi = MEM32(0x2E0121A4); /* 0x2E00569A: mov esi, dword ptr [0x2e0121a4] */
    968     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0056A6; /* 0x2E0056A0: je 0x2e0056a6 */
    969 L_2E0056A2:
    970     ecx = edi; /* 0x2E0056A2: mov ecx, edi */
    971     RECOMP_ICALL(esi); /* 0x2E0056A4: call esi */
    972     RECOMP_FLAGS_IN();
    973 L_2E0056A6:
    974     MEM32(ebp + (-0x14)) = 0x2E01B1A0u; /* 0x2E0056A6: mov dword ptr [ebp - 0x14], 0x2e01b1a0 */
    975     PUSH32(esp, 2); /* 0x2E0056AD: push 2 */
    976     PUSH32(esp, 0); /* 0x2E0056AF: push 0 */
    977     PUSH32(esp, 0); /* 0x2E0056B1: push 0 */
    978     PUSH32(esp, 0); /* 0x2E0056B3: push 0 */
    979     ecx = 0x2E01B1A0u; /* 0x2E0056B5: mov ecx, 0x2e01b1a0 */
    980     MEM32(ebp + (-0x4)) = 1; /* 0x2E0056BA: mov dword ptr [ebp - 4], 1 */
    981     RECOMP_ICALL(ebx); /* 0x2E0056C1: call ebx */
    982     RECOMP_FLAGS_IN();
    983     edx = MEM32(ebp + 0x8); /* 0x2E0056C3: mov edx, dword ptr [ebp + 8] */
    984     edi = MEM32(0x2E01B2FC); /* 0x2E0056C6: mov edi, dword ptr [0x2e01b2fc] */
    985     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
    986     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    987     edi = edi + edx; /* 0x2E0056CC: add edi, edx */
    988     _flag_k = FK_ADD;
    989     edx = MEM32(0x2E01B2F4); /* 0x2E0056CE: mov edx, dword ptr [0x2e01b2f4] */
    990     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
    991     edx = edx + 1; /* 0x2E0056D4: inc edx */
    992     _flag_k = FK_INC;
    993     /* cmp eax, 0xFFFFFFFFu */ /* 0x2E0056D5: cmp eax, -1 */
    994     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
    995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    996     _flag_k = FK_CMP;
    997     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0056D8: mov dword ptr [ebp - 4], 0xffffffff */
    998     MEM32(0x2E01B2FC) = edi; /* 0x2E0056DF: mov dword ptr [0x2e01b2fc], edi */
    999     MEM32(0x2E01B2F4) = edx; /* 0x2E0056E5: mov dword ptr [0x2e01b2f4], edx */
   1000     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0056F4; /* 0x2E0056EB: je 0x2e0056f4 */
   1001 L_2E0056ED:
   1002     ecx = 0x2E01B1A0u; /* 0x2E0056ED: mov ecx, 0x2e01b1a0 */
   1003     RECOMP_ICALL(esi); /* 0x2E0056F2: call esi */
   1004     RECOMP_FLAGS_IN();
   1005 L_2E0056F4:
   1006     ecx = MEM32(ebp + (-0xC)); /* 0x2E0056F4: mov ecx, dword ptr [ebp - 0xc] */
   1007     edi = POP32_VAL(esp); /* 0x2E0056F7: pop edi */
   1008     esi = POP32_VAL(esp); /* 0x2E0056F8: pop esi */
   1009     ebx = POP32_VAL(esp); /* 0x2E0056F9: pop ebx */
   1010     MEM32(FS_BASE + (0)) = ecx; /* 0x2E0056FA: mov dword ptr fs:[0], ecx */
   1011     esp = ebp; /* 0x2E005701: mov esp, ebp */
   1012     ebp = POP32_VAL(esp); /* 0x2E005703: pop ebp */
   1013     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E005704: ret 8 */
   1014     RECOMP_REGS_OUT();
   1015 }
   1016 
   1017 void sub_2E005710(void) {
   1018     int _fpu_cmp = 0;
   1019     uint32_t _cf = 0;
   1020     int _df = 1;
   1021     uint32_t _flag_k = FK_NONE;
   1022     uint32_t _flag_a = 0, _flag_b = 0;
   1023     uint32_t _itail_tgt = 0;
   1024     RECOMP_REGS_LOCALS
   1025     RECOMP_ENTER(0x2E005710u);
   1026 
   1027 L_2E005710:
   1028     PUSH32(esp, ebp); /* 0x2E005710: push ebp */
   1029     ebp = esp; /* 0x2E005711: mov ebp, esp */
   1030     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E005713: push -1 */
   1031     PUSH32(esp, 0x2E011800u); /* 0x2E005715: push 0x2e011800 */
   1032     eax = MEM32(FS_BASE + (0)); /* 0x2E00571A: mov eax, dword ptr fs:[0] */
   1033     PUSH32(esp, eax); /* 0x2E005720: push eax */
   1034     MEM32(FS_BASE + (0)) = esp; /* 0x2E005721: mov dword ptr fs:[0], esp */
   1035     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1036     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1037     esp = esp - 8; /* 0x2E005728: sub esp, 8 */
   1038     _flag_k = FK_CMP;
   1039     PUSH32(esp, ebx); /* 0x2E00572B: push ebx */
   1040     PUSH32(esp, esi); /* 0x2E00572C: push esi */
   1041     esi = ecx; /* 0x2E00572D: mov esi, ecx */
   1042     PUSH32(esp, edi); /* 0x2E00572F: push edi */
   1043     edi = esi + 0x76C; /* 0x2E005730: lea edi, [esi + 0x76c] */
   1044     MEM32(ebp + (-0x14)) = edi; /* 0x2E005736: mov dword ptr [ebp - 0x14], edi */
   1045     ebx = MEM32(0x2E01212C); /* 0x2E005739: mov ebx, dword ptr [0x2e01212c] */
   1046     PUSH32(esp, 2); /* 0x2E00573F: push 2 */
   1047     PUSH32(esp, 0); /* 0x2E005741: push 0 */
   1048     PUSH32(esp, 0); /* 0x2E005743: push 0 */
   1049     PUSH32(esp, 0); /* 0x2E005745: push 0 */
   1050     ecx = edi; /* 0x2E005747: mov ecx, edi */
   1051     MEM32(ebp + (-0x4)) = 0; /* 0x2E005749: mov dword ptr [ebp - 4], 0 */
   1052     RECOMP_ICALL(ebx); /* 0x2E005750: call ebx */
   1053     RECOMP_FLAGS_IN();
   1054     ecx = MEM32(ebp + 0x8); /* 0x2E005752: mov ecx, dword ptr [ebp + 8] */
   1055     edx = MEM32(esi + 0x264); /* 0x2E005755: mov edx, dword ptr [esi + 0x264] */
   1056     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   1057     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1058     edx = edx + ecx; /* 0x2E00575B: add edx, ecx */
   1059     _flag_k = FK_ADD;
   1060     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E00575D: mov dword ptr [ebp - 4], 0xffffffff */
   1061     MEM32(esi + 0x264) = edx; /* 0x2E005764: mov dword ptr [esi + 0x264], edx */
   1062     edx = MEM32(esi + 0x25C); /* 0x2E00576A: mov edx, dword ptr [esi + 0x25c] */
   1063     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   1064     edx = edx + 1; /* 0x2E005770: inc edx */
   1065     _flag_k = FK_INC;
   1066     /* cmp eax, 0xFFFFFFFFu */ /* 0x2E005771: cmp eax, -1 */
   1067     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   1068     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1069     _flag_k = FK_CMP;
   1070     MEM32(esi + 0x25C) = edx; /* 0x2E005774: mov dword ptr [esi + 0x25c], edx */
   1071     esi = MEM32(0x2E0121A4); /* 0x2E00577A: mov esi, dword ptr [0x2e0121a4] */
   1072     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E005786; /* 0x2E005780: je 0x2e005786 */
   1073 L_2E005782:
   1074     ecx = edi; /* 0x2E005782: mov ecx, edi */
   1075     RECOMP_ICALL(esi); /* 0x2E005784: call esi */
   1076     RECOMP_FLAGS_IN();
   1077 L_2E005786:
   1078     MEM32(ebp + (-0x14)) = 0x2E01B1A0u; /* 0x2E005786: mov dword ptr [ebp - 0x14], 0x2e01b1a0 */
   1079     PUSH32(esp, 2); /* 0x2E00578D: push 2 */
   1080     PUSH32(esp, 0); /* 0x2E00578F: push 0 */
   1081     PUSH32(esp, 0); /* 0x2E005791: push 0 */
   1082     PUSH32(esp, 0); /* 0x2E005793: push 0 */
   1083     ecx = 0x2E01B1A0u; /* 0x2E005795: mov ecx, 0x2e01b1a0 */
   1084     MEM32(ebp + (-0x4)) = 1; /* 0x2E00579A: mov dword ptr [ebp - 4], 1 */
   1085     RECOMP_ICALL(ebx); /* 0x2E0057A1: call ebx */
   1086     RECOMP_FLAGS_IN();
   1087     edx = MEM32(ebp + 0x8); /* 0x2E0057A3: mov edx, dword ptr [ebp + 8] */
   1088     edi = MEM32(0x2E01B300); /* 0x2E0057A6: mov edi, dword ptr [0x2e01b300] */
   1089     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   1090     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1091     edi = edi + edx; /* 0x2E0057AC: add edi, edx */
   1092     _flag_k = FK_ADD;
   1093     edx = MEM32(0x2E01B2F8); /* 0x2E0057AE: mov edx, dword ptr [0x2e01b2f8] */
   1094     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   1095     edx = edx + 1; /* 0x2E0057B4: inc edx */
   1096     _flag_k = FK_INC;
   1097     /* cmp eax, 0xFFFFFFFFu */ /* 0x2E0057B5: cmp eax, -1 */
   1098     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   1099     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1100     _flag_k = FK_CMP;
   1101     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0057B8: mov dword ptr [ebp - 4], 0xffffffff */
   1102     MEM32(0x2E01B300) = edi; /* 0x2E0057BF: mov dword ptr [0x2e01b300], edi */
   1103     MEM32(0x2E01B2F8) = edx; /* 0x2E0057C5: mov dword ptr [0x2e01b2f8], edx */
   1104     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0057D4; /* 0x2E0057CB: je 0x2e0057d4 */
   1105 L_2E0057CD:
   1106     ecx = 0x2E01B1A0u; /* 0x2E0057CD: mov ecx, 0x2e01b1a0 */
   1107     RECOMP_ICALL(esi); /* 0x2E0057D2: call esi */
   1108     RECOMP_FLAGS_IN();
   1109 L_2E0057D4:
   1110     ecx = MEM32(ebp + (-0xC)); /* 0x2E0057D4: mov ecx, dword ptr [ebp - 0xc] */
   1111     edi = POP32_VAL(esp); /* 0x2E0057D7: pop edi */
   1112     esi = POP32_VAL(esp); /* 0x2E0057D8: pop esi */
   1113     ebx = POP32_VAL(esp); /* 0x2E0057D9: pop ebx */
   1114     MEM32(FS_BASE + (0)) = ecx; /* 0x2E0057DA: mov dword ptr fs:[0], ecx */
   1115     esp = ebp; /* 0x2E0057E1: mov esp, ebp */
   1116     ebp = POP32_VAL(esp); /* 0x2E0057E3: pop ebp */
   1117     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E0057E4: ret 8 */
   1118     RECOMP_REGS_OUT();
   1119 }
   1120 
   1121 void sub_2E0057F0(void) {
   1122     int _fpu_cmp = 0;
   1123     uint32_t _cf = 0;
   1124     int _df = 1;
   1125     uint32_t _flag_k = FK_NONE;
   1126     uint32_t _flag_a = 0, _flag_b = 0;
   1127     uint32_t _itail_tgt = 0;
   1128     RECOMP_REGS_LOCALS
   1129     RECOMP_ENTER(0x2E0057F0u);
   1130 
   1131 L_2E0057F0:
   1132     PUSH32(esp, ebp); /* 0x2E0057F0: push ebp */
   1133     ebp = esp; /* 0x2E0057F1: mov ebp, esp */
   1134     PUSH32(esp, ebx); /* 0x2E0057F3: push ebx */
   1135     ebx = MEM32(ebp + 0x8); /* 0x2E0057F4: mov ebx, dword ptr [ebp + 8] */
   1136     PUSH32(esp, esi); /* 0x2E0057F7: push esi */
   1137     esi = MEM32(ebp + 0xC); /* 0x2E0057F8: mov esi, dword ptr [ebp + 0xc] */
   1138     PUSH32(esp, edi); /* 0x2E0057FB: push edi */
   1139     edi = ecx; /* 0x2E0057FC: mov edi, ecx */
   1140     if (8u) _cf = (((esi) >> 24) & 1u); /* 0x2E0057FE: shl esi, 8 */
   1141     if (8u) { _flag_a = recomp_flags_pack((esi << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1142     esi = esi << 8u; /* 0x2E0057FE: shl esi, 8 */
   1143     PUSH32(esp, 1); /* 0x2E005801: push 1 */
   1144     PUSH32(esp, ebx); /* 0x2E005803: push ebx */
   1145     ecx = esi + edi + 0x268; /* 0x2E005804: lea ecx, [esi + edi + 0x268] */
   1146     RECOMP_ICALL(0x2E0078B0u); /* 0x2E00580B: call 0x2e0078b0 */ /* not lifted */
   1147     RECOMP_FLAGS_IN();
   1148     ecx = edi; /* 0x2E005810: mov ecx, edi */
   1149     RECOMP_ICALL(0x2E0058D0u); /* 0x2E005812: call 0x2e0058d0 */ /* not lifted */
   1150     RECOMP_FLAGS_IN();
   1151     PUSH32(esp, 1); /* 0x2E005817: push 1 */
   1152     PUSH32(esp, ebx); /* 0x2E005819: push ebx */
   1153     ecx = esi + 0x2E01AC80; /* 0x2E00581A: lea ecx, [esi + 0x2e01ac80] */
   1154     RECOMP_ICALL(0x2E0078B0u); /* 0x2E005820: call 0x2e0078b0 */ /* not lifted */
   1155     RECOMP_FLAGS_IN();
   1156     SET_LO8(eax, MEM8(edi + 0x768)); /* 0x2E005825: mov al, byte ptr [edi + 0x768] */
   1157     edi = POP32_VAL(esp); /* 0x2E00582B: pop edi */
   1158     esi = POP32_VAL(esp); /* 0x2E00582C: pop esi */
   1159     ebx = POP32_VAL(esp); /* 0x2E00582D: pop ebx */
   1160     /* test LO8(eax), LO8(eax) */ /* 0x2E00582E: test al, al */
   1161     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1162     _cf = 0;
   1163     _flag_k = FK_NARROW(FK_TEST, 24);
   1164     if (TEST_Z(_flag_a, _flag_b)) goto L_2E005837; /* 0x2E005830: je 0x2e005837 */
   1165 L_2E005832:
   1166     RECOMP_ICALL(0x2E005C50u); /* 0x2E005832: call 0x2e005c50 */ /* not lifted */
   1167     RECOMP_FLAGS_IN();
   1168 L_2E005837:
   1169     ebp = POP32_VAL(esp); /* 0x2E005837: pop ebp */
   1170     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E005838: ret 8 */
   1171     RECOMP_REGS_OUT();
   1172 }
   1173 
   1174 void sub_2E005840(void) {
   1175     int _fpu_cmp = 0;
   1176     uint32_t _cf = 0;
   1177     int _df = 1;
   1178     uint32_t _flag_k = FK_NONE;
   1179     uint32_t _flag_a = 0, _flag_b = 0;
   1180     uint32_t _itail_tgt = 0;
   1181     RECOMP_REGS_LOCALS
   1182     RECOMP_ENTER(0x2E005840u);
   1183 
   1184 L_2E005840:
   1185     PUSH32(esp, ebp); /* 0x2E005840: push ebp */
   1186     ebp = esp; /* 0x2E005841: mov ebp, esp */
   1187     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E005843: push -1 */
   1188     PUSH32(esp, 0x2E011820u); /* 0x2E005845: push 0x2e011820 */
   1189     eax = MEM32(FS_BASE + (0)); /* 0x2E00584A: mov eax, dword ptr fs:[0] */
   1190     PUSH32(esp, eax); /* 0x2E005850: push eax */
   1191     MEM32(FS_BASE + (0)) = esp; /* 0x2E005851: mov dword ptr fs:[0], esp */
   1192     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1193     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1194     esp = esp - 8; /* 0x2E005858: sub esp, 8 */
   1195     _flag_k = FK_CMP;
   1196     PUSH32(esp, ebx); /* 0x2E00585B: push ebx */
   1197     PUSH32(esp, esi); /* 0x2E00585C: push esi */
   1198     esi = ecx; /* 0x2E00585D: mov esi, ecx */
   1199     PUSH32(esp, edi); /* 0x2E00585F: push edi */
   1200     edi = esi + 0x76C; /* 0x2E005860: lea edi, [esi + 0x76c] */
   1201     MEM32(ebp + (-0x14)) = edi; /* 0x2E005866: mov dword ptr [ebp - 0x14], edi */
   1202     PUSH32(esp, 1); /* 0x2E005869: push 1 */
   1203     PUSH32(esp, 0); /* 0x2E00586B: push 0 */
   1204     PUSH32(esp, 0); /* 0x2E00586D: push 0 */
   1205     PUSH32(esp, 0); /* 0x2E00586F: push 0 */
   1206     ecx = edi; /* 0x2E005871: mov ecx, edi */
   1207     MEM32(ebp + (-0x4)) = 0; /* 0x2E005873: mov dword ptr [ebp - 4], 0 */
   1208     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E00587A: call dword ptr [0x2e01212c] */
   1209     RECOMP_FLAGS_IN();
   1210     ebx = eax; /* 0x2E005880: mov ebx, eax */
   1211     MEM32(ebp + (-0x10)) = ebx; /* 0x2E005882: mov dword ptr [ebp - 0x10], ebx */
   1212     ecx = esi; /* 0x2E005885: mov ecx, esi */
   1213     MEM32(ebp + (-0x4)) = 1; /* 0x2E005887: mov dword ptr [ebp - 4], 1 */
   1214     RECOMP_ICALL(0x2E0058D0u); /* 0x2E00588E: call 0x2e0058d0 */ /* not lifted */
   1215     RECOMP_FLAGS_IN();
   1216     /* cmp ebx, 0xFFFFFFFFu */ /* 0x2E005893: cmp ebx, -1 */
   1217     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFFFFFFFu);
   1218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1219     _flag_k = FK_CMP;
   1220     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E005896: mov dword ptr [ebp - 4], 0xffffffff */
   1221     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0058A7; /* 0x2E00589D: je 0x2e0058a7 */
   1222 L_2E00589F:
   1223     ecx = edi; /* 0x2E00589F: mov ecx, edi */
   1224     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E0058A1: call dword ptr [0x2e0121a4] */
   1225     RECOMP_FLAGS_IN();
   1226 L_2E0058A7:
   1227     ecx = MEM32(ebp + (-0xC)); /* 0x2E0058A7: mov ecx, dword ptr [ebp - 0xc] */
   1228     edi = POP32_VAL(esp); /* 0x2E0058AA: pop edi */
   1229     esi = POP32_VAL(esp); /* 0x2E0058AB: pop esi */
   1230     ebx = POP32_VAL(esp); /* 0x2E0058AC: pop ebx */
   1231     MEM32(FS_BASE + (0)) = ecx; /* 0x2E0058AD: mov dword ptr fs:[0], ecx */
   1232     esp = ebp; /* 0x2E0058B4: mov esp, ebp */
   1233     ebp = POP32_VAL(esp); /* 0x2E0058B6: pop ebp */
   1234     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0058B7: ret  */
   1235     RECOMP_REGS_OUT();
   1236 }
   1237 
   1238 void sub_2E0058C0(void) {
   1239     int _fpu_cmp = 0;
   1240     uint32_t _cf = 0;
   1241     int _df = 1;
   1242     uint32_t _flag_k = FK_NONE;
   1243     uint32_t _flag_a = 0, _flag_b = 0;
   1244     uint32_t _itail_tgt = 0;
   1245     RECOMP_REGS_LOCALS
   1246     RECOMP_ENTER(0x2E0058C0u);
   1247 
   1248 L_2E0058C0:
   1249     SET_LO8(eax, MEM8(ecx + 0x768)); /* 0x2E0058C0: mov al, byte ptr [ecx + 0x768] */
   1250     /* test LO8(eax), LO8(eax) */ /* 0x2E0058C6: test al, al */
   1251     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1252     _cf = 0;
   1253     _flag_k = FK_NARROW(FK_TEST, 24);
   1254     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0058CF; /* 0x2E0058C8: je 0x2e0058cf */
   1255 L_2E0058CA:
   1256     goto L_2E0058D0; /* 0x2E0058CA: jmp 0x2e0058d0 */
   1257 L_2E0058CF:
   1258     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0058CF: ret  */
   1259 L_2E0058D0:
   1260     PUSH32(esp, ebp); /* 0x2E0058D0: push ebp */
   1261     ebp = esp; /* 0x2E0058D1: mov ebp, esp */
   1262     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0058D3: push -1 */
   1263     PUSH32(esp, 0x2E011868u); /* 0x2E0058D5: push 0x2e011868 */
   1264     eax = MEM32(FS_BASE + (0)); /* 0x2E0058DA: mov eax, dword ptr fs:[0] */
   1265     PUSH32(esp, eax); /* 0x2E0058E0: push eax */
   1266     MEM32(FS_BASE + (0)) = esp; /* 0x2E0058E1: mov dword ptr fs:[0], esp */
   1267     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u);
   1268     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1269     esp = esp - 0x44u; /* 0x2E0058E8: sub esp, 0x44 */
   1270     _flag_k = FK_CMP;
   1271     PUSH32(esp, esi); /* 0x2E0058EB: push esi */
   1272     esi = ecx; /* 0x2E0058EC: mov esi, ecx */
   1273     SET_LO8(eax, MEM8(esi + 0x768)); /* 0x2E0058EE: mov al, byte ptr [esi + 0x768] */
   1274     /* test LO8(eax), LO8(eax) */ /* 0x2E0058F4: test al, al */
   1275     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1276     _cf = 0;
   1277     _flag_k = FK_NARROW(FK_TEST, 24);
   1278     if (TEST_Z(_flag_a, _flag_b)) goto L_2E005C26; /* 0x2E0058F6: je 0x2e005c26 */
   1279 L_2E0058FC:
   1280     ecx = esi + 0x76C; /* 0x2E0058FC: lea ecx, [esi + 0x76c] */
   1281     PUSH32(esp, ebx); /* 0x2E005902: push ebx */
   1282     PUSH32(esp, edi); /* 0x2E005903: push edi */
   1283     MEM32(ebp + (-0x30)) = ecx; /* 0x2E005904: mov dword ptr [ebp - 0x30], ecx */
   1284     ebx = MEM32(0x2E01212C); /* 0x2E005907: mov ebx, dword ptr [0x2e01212c] */
   1285     PUSH32(esp, 2); /* 0x2E00590D: push 2 */
   1286     PUSH32(esp, 0); /* 0x2E00590F: push 0 */
   1287     PUSH32(esp, 0); /* 0x2E005911: push 0 */
   1288     PUSH32(esp, 0); /* 0x2E005913: push 0 */
   1289     MEM32(ebp + (-0x4)) = 0; /* 0x2E005915: mov dword ptr [ebp - 4], 0 */
   1290     RECOMP_ICALL(ebx); /* 0x2E00591C: call ebx */
   1291     RECOMP_FLAGS_IN();
   1292     MEM32(ebp + (-0x2C)) = eax; /* 0x2E00591E: mov dword ptr [ebp - 0x2c], eax */
   1293     edi = esi + 0x8; /* 0x2E005921: lea edi, [esi + 8] */
   1294     eax = ebp + (-0x24); /* 0x2E005924: lea eax, [ebp - 0x24] */
   1295     PUSH32(esp, eax); /* 0x2E005927: push eax */
   1296     ecx = edi; /* 0x2E005928: mov ecx, edi */
   1297     MEM32(ebp + (-0x4)) = 1; /* 0x2E00592A: mov dword ptr [ebp - 4], 1 */
   1298     RECOMP_ICALL(MEM32(0x2E012204)); /* 0x2E005931: call dword ptr [0x2e012204] */
   1299     RECOMP_FLAGS_IN();
   1300     ecx = MEM32(eax); /* 0x2E005937: mov ecx, dword ptr [eax] */
   1301     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E005939: mov dword ptr [ebp - 0x1c], ecx */
   1302     ecx = edi; /* 0x2E00593C: mov ecx, edi */
   1303     RECOMP_ICALL(MEM32(0x2E012208)); /* 0x2E00593E: call dword ptr [0x2e012208] */
   1304     RECOMP_FLAGS_IN();
   1305     ecx = ebp + (-0x1C); /* 0x2E005944: lea ecx, [ebp - 0x1c] */
   1306     RECOMP_ICALL(MEM32(0x2E01220C)); /* 0x2E005947: call dword ptr [0x2e01220c] */
   1307     RECOMP_FLAGS_IN();
   1308     edi = MEM32(esi + 0x4); /* 0x2E00594D: mov edi, dword ptr [esi + 4] */
   1309     ecx = esi + 0x1C; /* 0x2E005950: lea ecx, [esi + 0x1c] */
   1310     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2E005953: fst dword ptr [ebp - 0x14] */
   1311     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2E005956: fstp dword ptr [ebp - 0x10] */
   1312     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1313     edi = edi + 1; /* 0x2E005959: inc edi */
   1314     _flag_k = FK_INC;
   1315     MEM32(ebp + (-0x28)) = ecx; /* 0x2E00595A: mov dword ptr [ebp - 0x28], ecx */
   1316     MEM32(esi + 0x4) = edi; /* 0x2E00595D: mov dword ptr [esi + 4], edi */
   1317     PUSH32(esp, 2); /* 0x2E005960: push 2 */
   1318     PUSH32(esp, 0); /* 0x2E005962: push 0 */
   1319     PUSH32(esp, 0); /* 0x2E005964: push 0 */
   1320     PUSH32(esp, 0); /* 0x2E005966: push 0 */
   1321     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E005968: mov byte ptr [ebp - 4], 2 */
   1322     RECOMP_ICALL(ebx); /* 0x2E00596C: call ebx */
   1323     RECOMP_FLAGS_IN();
   1324     MEM32(ebp + (-0x24)) = eax; /* 0x2E00596E: mov dword ptr [ebp - 0x24], eax */
   1325     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E005971: fld dword ptr [ebp - 0x10] */
   1326     _st[0] += (double)*(float*)ADDR(esi + 0x64); /* 0x2E005974: fadd dword ptr [esi + 0x64] */
   1327     edi = esi + 0xC8; /* 0x2E005977: lea edi, [esi + 0xc8] */
   1328     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2E00597D: mov byte ptr [ebp - 4], 3 */
   1329     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x64) = _v; } /* 0x2E005981: fstp dword ptr [esi + 0x64] */
   1330     eax = MEM32(edi + 0x2C); /* 0x2E005984: mov eax, dword ptr [edi + 0x2c] */
   1331     /* test eax, eax */ /* 0x2E005987: test eax, eax */
   1332     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1333     _cf = 0;
   1334     _flag_k = FK_TEST;
   1335     if (TEST_Z(_flag_a, _flag_b)) goto L_2E005995; /* 0x2E005989: je 0x2e005995 */
   1336 L_2E00598B:
   1337     edx = MEM32(edi + 0x1C); /* 0x2E00598B: mov edx, dword ptr [edi + 0x1c] */
   1338     eax = MEM32(edi + 0x18); /* 0x2E00598E: mov eax, dword ptr [edi + 0x18] */
   1339     /* cmp edx, eax */ /* 0x2E005991: cmp edx, eax */
   1340     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   1341     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1342     _flag_k = FK_CMP;
   1343     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00599C; /* 0x2E005993: jne 0x2e00599c */
   1344 L_2E005995:
   1345     ecx = edi; /* 0x2E005995: mov ecx, edi */
   1346     RECOMP_ICALL(0x2E008400u); /* 0x2E005997: call 0x2e008400 */ /* not lifted */
   1347     RECOMP_FLAGS_IN();
   1348 L_2E00599C:
   1349     ebx = edi + 0x14; /* 0x2E00599C: lea ebx, [edi + 0x14] */
   1350     ecx = ebx; /* 0x2E00599F: mov ecx, ebx */
   1351     RECOMP_ICALL(0x2E003A80u); /* 0x2E0059A1: call 0x2e003a80 */ /* not lifted */
   1352     RECOMP_FLAGS_IN();
   1353     eax = ebp + (-0x50); /* 0x2E0059A6: lea eax, [ebp - 0x50] */
   1354     PUSH32(esp, 1); /* 0x2E0059A9: push 1 */
   1355     PUSH32(esp, eax); /* 0x2E0059AB: push eax */
   1356     ecx = ebx; /* 0x2E0059AC: mov ecx, ebx */
   1357     RECOMP_ICALL(0x2E004870u); /* 0x2E0059AE: call 0x2e004870 */ /* not lifted */
   1358     RECOMP_FLAGS_IN();
   1359     ecx = eax; /* 0x2E0059B3: mov ecx, eax */
   1360     edx = MEM32(ecx); /* 0x2E0059B5: mov edx, dword ptr [ecx] */
   1361     MEM32(ebp + (-0x40)) = edx; /* 0x2E0059B7: mov dword ptr [ebp - 0x40], edx */
   1362     edx = ebp + (-0x10); /* 0x2E0059BA: lea edx, [ebp - 0x10] */
   1363     eax = MEM32(ecx + 0x4); /* 0x2E0059BD: mov eax, dword ptr [ecx + 4] */
   1364     PUSH32(esp, edx); /* 0x2E0059C0: push edx */
   1365     MEM32(ebp + (-0x3C)) = eax; /* 0x2E0059C1: mov dword ptr [ebp - 0x3c], eax */
   1366     eax = MEM32(ecx + 0x8); /* 0x2E0059C4: mov eax, dword ptr [ecx + 8] */
   1367     PUSH32(esp, eax); /* 0x2E0059C7: push eax */
   1368     ecx = MEM32(ecx + 0xC); /* 0x2E0059C8: mov ecx, dword ptr [ecx + 0xc] */
   1369     MEM32(ebp + (-0x34)) = ecx; /* 0x2E0059CB: mov dword ptr [ebp - 0x34], ecx */
   1370     RECOMP_ICALL(0x2E008600u); /* 0x2E0059CE: call 0x2e008600 */ /* not lifted */
   1371     RECOMP_FLAGS_IN();
   1372     ebx = MEM32(edi + 0x2C); /* 0x2E0059D3: mov ebx, dword ptr [edi + 0x2c] */
   1373     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1374     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1375     esp = esp + 8; /* 0x2E0059D6: add esp, 8 */
   1376     _flag_k = FK_ADD;
   1377     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   1378     ebx = ebx + 1; /* 0x2E0059D9: inc ebx */
   1379     _flag_k = FK_INC;
   1380     MEM32(edi + 0x2C) = ebx; /* 0x2E0059DA: mov dword ptr [edi + 0x2c], ebx */
   1381     eax = MEM32(esi + 0xFC); /* 0x2E0059DD: mov eax, dword ptr [esi + 0xfc] */
   1382     edx = MEM32(esi + 0x100); /* 0x2E0059E3: mov edx, dword ptr [esi + 0x100] */
   1383     ecx = eax; /* 0x2E0059E9: mov ecx, eax */
   1384     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1385     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1386     ecx = ecx - edx; /* 0x2E0059EB: sub ecx, edx */
   1387     _flag_k = FK_CMP;
   1388     ebx = esi + 0x68; /* 0x2E0059ED: lea ebx, [esi + 0x68] */
   1389     edx = ebp + (-0x18); /* 0x2E0059F0: lea edx, [ebp - 0x18] */
   1390     MEM32(ebp + (-0x18)) = ecx; /* 0x2E0059F3: mov dword ptr [ebp - 0x18], ecx */
   1391     PUSH32(esp, edx); /* 0x2E0059F6: push edx */
   1392     ecx = ebx; /* 0x2E0059F7: mov ecx, ebx */
   1393     MEM32(esi + 0x100) = eax; /* 0x2E0059F9: mov dword ptr [esi + 0x100], eax */
   1394     RECOMP_ICALL(0x2E003220u); /* 0x2E0059FF: call 0x2e003220 */ /* not lifted */
   1395     RECOMP_FLAGS_IN();
   1396     eax = MEM32(esi + 0x110); /* 0x2E005A04: mov eax, dword ptr [esi + 0x110] */
   1397     edx = MEM32(esi + 0x114); /* 0x2E005A0A: mov edx, dword ptr [esi + 0x114] */
   1398     ecx = eax; /* 0x2E005A10: mov ecx, eax */
   1399     MEM32(esi + 0x114) = eax; /* 0x2E005A12: mov dword ptr [esi + 0x114], eax */
   1400     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1401     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1402     ecx = ecx - edx; /* 0x2E005A18: sub ecx, edx */
   1403     _flag_k = FK_CMP;
   1404     edx = ebp + (-0x20); /* 0x2E005A1A: lea edx, [ebp - 0x20] */
   1405     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005A1D: mov dword ptr [ebp - 0x20], ecx */
   1406     ecx = esi + 0x98; /* 0x2E005A20: lea ecx, [esi + 0x98] */
   1407     PUSH32(esp, edx); /* 0x2E005A26: push edx */
   1408     RECOMP_ICALL(0x2E003220u); /* 0x2E005A27: call 0x2e003220 */ /* not lifted */
   1409     RECOMP_FLAGS_IN();
   1410     eax = MEM32(esi + 0x94); /* 0x2E005A2C: mov eax, dword ptr [esi + 0x94] */
   1411     ecx = MEM32(esi + 0xF8); /* 0x2E005A32: mov ecx, dword ptr [esi + 0xf8] */
   1412     /* cmp eax, ecx */ /* 0x2E005A38: cmp eax, ecx */
   1413     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1414     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1415     _flag_k = FK_CMP;
   1416     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005A55; /* 0x2E005A3A: jbe 0x2e005a55 */
   1417 L_2E005A3C:
   1418     ecx = ebx; /* 0x2E005A3C: mov ecx, ebx */
   1419     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005A3E: call 0x2e0073a0 */ /* not lifted */
   1420     RECOMP_FLAGS_IN();
   1421     ecx = edi; /* 0x2E005A43: mov ecx, edi */
   1422     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005A45: call 0x2e0073a0 */ /* not lifted */
   1423     RECOMP_FLAGS_IN();
   1424     ecx = esi + 0x98; /* 0x2E005A4A: lea ecx, [esi + 0x98] */
   1425     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005A50: call 0x2e0073a0 */ /* not lifted */
   1426     RECOMP_FLAGS_IN();
   1427 L_2E005A55:
   1428     ecx = ebp + (-0x28); /* 0x2E005A55: lea ecx, [ebp - 0x28] */
   1429     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005A58: call 0x2e0048e0 */ /* not lifted */
   1430     RECOMP_FLAGS_IN();
   1431     ecx = ebp + (-0x28); /* 0x2E005A5D: lea ecx, [ebp - 0x28] */
   1432     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005A60: mov byte ptr [ebp - 4], 1 */
   1433     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005A64: call 0x2e0048e0 */ /* not lifted */
   1434     RECOMP_FLAGS_IN();
   1435     eax = MEM32(ebp + (-0x14)); /* 0x2E005A69: mov eax, dword ptr [ebp - 0x14] */
   1436     ecx = esi + 0x13C; /* 0x2E005A6C: lea ecx, [esi + 0x13c] */
   1437     MEM32(ebp + (-0x10)) = eax; /* 0x2E005A72: mov dword ptr [ebp - 0x10], eax */
   1438     MEM32(ebp + (-0x28)) = ecx; /* 0x2E005A75: mov dword ptr [ebp - 0x28], ecx */
   1439     PUSH32(esp, 2); /* 0x2E005A78: push 2 */
   1440     PUSH32(esp, 0); /* 0x2E005A7A: push 0 */
   1441     PUSH32(esp, 0); /* 0x2E005A7C: push 0 */
   1442     PUSH32(esp, 0); /* 0x2E005A7E: push 0 */
   1443     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2E005A80: mov byte ptr [ebp - 4], 4 */
   1444     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E005A84: call dword ptr [0x2e01212c] */
   1445     RECOMP_FLAGS_IN();
   1446     MEM32(ebp + (-0x24)) = eax; /* 0x2E005A8A: mov dword ptr [ebp - 0x24], eax */
   1447     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E005A8D: fld dword ptr [ebp - 0x10] */
   1448     _st[0] += (double)*(float*)ADDR(esi + 0x184); /* 0x2E005A90: fadd dword ptr [esi + 0x184] */
   1449     ecx = ebp + (-0x10); /* 0x2E005A96: lea ecx, [ebp - 0x10] */
   1450     edi = esi + 0x1E8; /* 0x2E005A99: lea edi, [esi + 0x1e8] */
   1451     PUSH32(esp, ecx); /* 0x2E005A9F: push ecx */
   1452     ecx = edi; /* 0x2E005AA0: mov ecx, edi */
   1453     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2E005AA2: mov byte ptr [ebp - 4], 5 */
   1454     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x184) = _v; } /* 0x2E005AA6: fstp dword ptr [esi + 0x184] */
   1455     RECOMP_ICALL(0x2E003220u); /* 0x2E005AAC: call 0x2e003220 */ /* not lifted */
   1456     RECOMP_FLAGS_IN();
   1457     eax = MEM32(esi + 0x21C); /* 0x2E005AB1: mov eax, dword ptr [esi + 0x21c] */
   1458     ebx = MEM32(esi + 0x220); /* 0x2E005AB7: mov ebx, dword ptr [esi + 0x220] */
   1459     edx = eax; /* 0x2E005ABD: mov edx, eax */
   1460     MEM32(esi + 0x220) = eax; /* 0x2E005ABF: mov dword ptr [esi + 0x220], eax */
   1461     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   1462     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1463     edx = edx - ebx; /* 0x2E005AC5: sub edx, ebx */
   1464     _flag_k = FK_CMP;
   1465     ebx = esi + 0x188; /* 0x2E005AC7: lea ebx, [esi + 0x188] */
   1466     eax = ebp + (-0x20); /* 0x2E005ACD: lea eax, [ebp - 0x20] */
   1467     ecx = ebx; /* 0x2E005AD0: mov ecx, ebx */
   1468     PUSH32(esp, eax); /* 0x2E005AD2: push eax */
   1469     MEM32(ebp + (-0x20)) = edx; /* 0x2E005AD3: mov dword ptr [ebp - 0x20], edx */
   1470     RECOMP_ICALL(0x2E003220u); /* 0x2E005AD6: call 0x2e003220 */ /* not lifted */
   1471     RECOMP_FLAGS_IN();
   1472     eax = MEM32(esi + 0x230); /* 0x2E005ADB: mov eax, dword ptr [esi + 0x230] */
   1473     edx = MEM32(esi + 0x234); /* 0x2E005AE1: mov edx, dword ptr [esi + 0x234] */
   1474     ecx = eax; /* 0x2E005AE7: mov ecx, eax */
   1475     MEM32(esi + 0x234) = eax; /* 0x2E005AE9: mov dword ptr [esi + 0x234], eax */
   1476     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1478     ecx = ecx - edx; /* 0x2E005AEF: sub ecx, edx */
   1479     _flag_k = FK_CMP;
   1480     edx = ebp + (-0x18); /* 0x2E005AF1: lea edx, [ebp - 0x18] */
   1481     MEM32(ebp + (-0x18)) = ecx; /* 0x2E005AF4: mov dword ptr [ebp - 0x18], ecx */
   1482     ecx = esi + 0x1B8; /* 0x2E005AF7: lea ecx, [esi + 0x1b8] */
   1483     PUSH32(esp, edx); /* 0x2E005AFD: push edx */
   1484     RECOMP_ICALL(0x2E003220u); /* 0x2E005AFE: call 0x2e003220 */ /* not lifted */
   1485     RECOMP_FLAGS_IN();
   1486     eax = MEM32(esi + 0x1B4); /* 0x2E005B03: mov eax, dword ptr [esi + 0x1b4] */
   1487     ecx = MEM32(esi + 0x218); /* 0x2E005B09: mov ecx, dword ptr [esi + 0x218] */
   1488     /* cmp eax, ecx */ /* 0x2E005B0F: cmp eax, ecx */
   1489     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1490     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1491     _flag_k = FK_CMP;
   1492     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005B2C; /* 0x2E005B11: jbe 0x2e005b2c */
   1493 L_2E005B13:
   1494     ecx = ebx; /* 0x2E005B13: mov ecx, ebx */
   1495     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005B15: call 0x2e0073a0 */ /* not lifted */
   1496     RECOMP_FLAGS_IN();
   1497     ecx = edi; /* 0x2E005B1A: mov ecx, edi */
   1498     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005B1C: call 0x2e0073a0 */ /* not lifted */
   1499     RECOMP_FLAGS_IN();
   1500     ecx = esi + 0x1B8; /* 0x2E005B21: lea ecx, [esi + 0x1b8] */
   1501     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005B27: call 0x2e0073a0 */ /* not lifted */
   1502     RECOMP_FLAGS_IN();
   1503 L_2E005B2C:
   1504     ecx = ebp + (-0x28); /* 0x2E005B2C: lea ecx, [ebp - 0x28] */
   1505     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005B2F: call 0x2e0048e0 */ /* not lifted */
   1506     RECOMP_FLAGS_IN();
   1507     ecx = ebp + (-0x28); /* 0x2E005B34: lea ecx, [ebp - 0x28] */
   1508     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005B37: mov byte ptr [ebp - 4], 1 */
   1509     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005B3B: call 0x2e0048e0 */ /* not lifted */
   1510     RECOMP_FLAGS_IN();
   1511     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x2B4u);
   1512     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1513     esi = esi + 0x2B4u; /* 0x2E005B40: add esi, 0x2b4 */
   1514     _flag_k = FK_ADD;
   1515     MEM32(ebp + (-0x18)) = 5; /* 0x2E005B46: mov dword ptr [ebp - 0x18], 5 */
   1516 L_2E005B4D:
   1517     eax = MEM32(ebp + (-0x14)); /* 0x2E005B4D: mov eax, dword ptr [ebp - 0x14] */
   1518     ecx = esi + (-0x48); /* 0x2E005B50: lea ecx, [esi - 0x48] */
   1519     PUSH32(esp, ecx); /* 0x2E005B53: push ecx */
   1520     ecx = ebp + (-0x38); /* 0x2E005B54: lea ecx, [ebp - 0x38] */
   1521     MEM32(ebp + (-0x10)) = eax; /* 0x2E005B57: mov dword ptr [ebp - 0x10], eax */
   1522     RECOMP_ICALL(0x2E008130u); /* 0x2E005B5A: call 0x2e008130 */ /* not lifted */
   1523     RECOMP_FLAGS_IN();
   1524     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E005B5F: fld dword ptr [ebp - 0x10] */
   1525     _st[0] += (double)*(float*)ADDR(esi); /* 0x2E005B62: fadd dword ptr [esi] */
   1526     edi = esi + 0x64; /* 0x2E005B64: lea edi, [esi + 0x64] */
   1527     edx = ebp + (-0x10); /* 0x2E005B67: lea edx, [ebp - 0x10] */
   1528     PUSH32(esp, edx); /* 0x2E005B6A: push edx */
   1529     ecx = edi; /* 0x2E005B6B: mov ecx, edi */
   1530     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2E005B6D: mov byte ptr [ebp - 4], 6 */
   1531     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x2E005B71: fstp dword ptr [esi] */
   1532     RECOMP_ICALL(0x2E003220u); /* 0x2E005B73: call 0x2e003220 */ /* not lifted */
   1533     RECOMP_FLAGS_IN();
   1534     eax = MEM32(esi + 0x98); /* 0x2E005B78: mov eax, dword ptr [esi + 0x98] */
   1535     edx = MEM32(esi + 0x9C); /* 0x2E005B7E: mov edx, dword ptr [esi + 0x9c] */
   1536     ecx = eax; /* 0x2E005B84: mov ecx, eax */
   1537     ebx = esi + 0x4; /* 0x2E005B86: lea ebx, [esi + 4] */
   1538     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1539     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1540     ecx = ecx - edx; /* 0x2E005B89: sub ecx, edx */
   1541     _flag_k = FK_CMP;
   1542     edx = ebp + (-0x20); /* 0x2E005B8B: lea edx, [ebp - 0x20] */
   1543     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005B8E: mov dword ptr [ebp - 0x20], ecx */
   1544     PUSH32(esp, edx); /* 0x2E005B91: push edx */
   1545     ecx = ebx; /* 0x2E005B92: mov ecx, ebx */
   1546     MEM32(esi + 0x9C) = eax; /* 0x2E005B94: mov dword ptr [esi + 0x9c], eax */
   1547     RECOMP_ICALL(0x2E003220u); /* 0x2E005B9A: call 0x2e003220 */ /* not lifted */
   1548     RECOMP_FLAGS_IN();
   1549     eax = MEM32(esi + 0xAC); /* 0x2E005B9F: mov eax, dword ptr [esi + 0xac] */
   1550     edx = MEM32(esi + 0xB0); /* 0x2E005BA5: mov edx, dword ptr [esi + 0xb0] */
   1551     ecx = eax; /* 0x2E005BAB: mov ecx, eax */
   1552     MEM32(esi + 0xB0) = eax; /* 0x2E005BAD: mov dword ptr [esi + 0xb0], eax */
   1553     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1554     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1555     ecx = ecx - edx; /* 0x2E005BB3: sub ecx, edx */
   1556     _flag_k = FK_CMP;
   1557     edx = ebp + (-0x24); /* 0x2E005BB5: lea edx, [ebp - 0x24] */
   1558     MEM32(ebp + (-0x24)) = ecx; /* 0x2E005BB8: mov dword ptr [ebp - 0x24], ecx */
   1559     ecx = esi + 0x34; /* 0x2E005BBB: lea ecx, [esi + 0x34] */
   1560     PUSH32(esp, edx); /* 0x2E005BBE: push edx */
   1561     RECOMP_ICALL(0x2E003220u); /* 0x2E005BBF: call 0x2e003220 */ /* not lifted */
   1562     RECOMP_FLAGS_IN();
   1563     eax = MEM32(esi + 0x30); /* 0x2E005BC4: mov eax, dword ptr [esi + 0x30] */
   1564     ecx = MEM32(esi + 0x94); /* 0x2E005BC7: mov ecx, dword ptr [esi + 0x94] */
   1565     /* cmp eax, ecx */ /* 0x2E005BCD: cmp eax, ecx */
   1566     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1567     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1568     _flag_k = FK_CMP;
   1569     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005BE7; /* 0x2E005BCF: jbe 0x2e005be7 */
   1570 L_2E005BD1:
   1571     ecx = ebx; /* 0x2E005BD1: mov ecx, ebx */
   1572     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005BD3: call 0x2e0073a0 */ /* not lifted */
   1573     RECOMP_FLAGS_IN();
   1574     ecx = edi; /* 0x2E005BD8: mov ecx, edi */
   1575     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005BDA: call 0x2e0073a0 */ /* not lifted */
   1576     RECOMP_FLAGS_IN();
   1577     ecx = esi + 0x34; /* 0x2E005BDF: lea ecx, [esi + 0x34] */
   1578     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005BE2: call 0x2e0073a0 */ /* not lifted */
   1579     RECOMP_FLAGS_IN();
   1580 L_2E005BE7:
   1581     ecx = ebp + (-0x38); /* 0x2E005BE7: lea ecx, [ebp - 0x38] */
   1582     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005BEA: call 0x2e0048e0 */ /* not lifted */
   1583     RECOMP_FLAGS_IN();
   1584     ecx = ebp + (-0x38); /* 0x2E005BEF: lea ecx, [ebp - 0x38] */
   1585     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005BF2: mov byte ptr [ebp - 4], 1 */
   1586     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005BF6: call 0x2e0048e0 */ /* not lifted */
   1587     RECOMP_FLAGS_IN();
   1588     eax = MEM32(ebp + (-0x18)); /* 0x2E005BFB: mov eax, dword ptr [ebp - 0x18] */
   1589     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x100u);
   1590     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1591     esi = esi + 0x100u; /* 0x2E005BFE: add esi, 0x100 */
   1592     _flag_k = FK_ADD;
   1593     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1594     eax = eax - 1; /* 0x2E005C04: dec eax */
   1595     _flag_k = FK_DEC;
   1596     MEM32(ebp + (-0x18)) = eax; /* 0x2E005C05: mov dword ptr [ebp - 0x18], eax */
   1597     RECOMP_BACKEDGE();
   1598     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E005B4D; /* 0x2E005C08: jne 0x2e005b4d */
   1599 L_2E005C0E:
   1600     ecx = MEM32(ebp + (-0x2C)); /* 0x2E005C0E: mov ecx, dword ptr [ebp - 0x2c] */
   1601     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   1602     eax = eax | 0xFFFFFFFFu; /* 0x2E005C11: or eax, 0xffffffff */
   1603     _cf = 0;
   1604     _flag_k = FK_TEST;
   1605     edi = POP32_VAL(esp); /* 0x2E005C14: pop edi */
   1606     /* cmp ecx, eax */ /* 0x2E005C15: cmp ecx, eax */
   1607     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1608     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1609     _flag_k = FK_CMP;
   1610     MEM32(ebp + (-0x4)) = eax; /* 0x2E005C17: mov dword ptr [ebp - 4], eax */
   1611     ebx = POP32_VAL(esp); /* 0x2E005C1A: pop ebx */
   1612     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E005C26; /* 0x2E005C1B: je 0x2e005c26 */
   1613 L_2E005C1D:
   1614     ecx = MEM32(ebp + (-0x30)); /* 0x2E005C1D: mov ecx, dword ptr [ebp - 0x30] */
   1615     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E005C20: call dword ptr [0x2e0121a4] */
   1616     RECOMP_FLAGS_IN();
   1617 L_2E005C26:
   1618     ecx = MEM32(ebp + (-0xC)); /* 0x2E005C26: mov ecx, dword ptr [ebp - 0xc] */
   1619     esi = POP32_VAL(esp); /* 0x2E005C29: pop esi */
   1620     MEM32(FS_BASE + (0)) = ecx; /* 0x2E005C2A: mov dword ptr fs:[0], ecx */
   1621     esp = ebp; /* 0x2E005C31: mov esp, ebp */
   1622     ebp = POP32_VAL(esp); /* 0x2E005C33: pop ebp */
   1623     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E005C34: ret  */
   1624     RECOMP_REGS_OUT();
   1625 }
   1626 
   1627 void sub_2E0058D0(void) {
   1628     int _fpu_cmp = 0;
   1629     uint32_t _cf = 0;
   1630     int _df = 1;
   1631     uint32_t _flag_k = FK_NONE;
   1632     uint32_t _flag_a = 0, _flag_b = 0;
   1633     uint32_t _itail_tgt = 0;
   1634     RECOMP_REGS_LOCALS
   1635     RECOMP_ENTER(0x2E0058D0u);
   1636 
   1637 L_2E0058D0:
   1638     PUSH32(esp, ebp); /* 0x2E0058D0: push ebp */
   1639     ebp = esp; /* 0x2E0058D1: mov ebp, esp */
   1640     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0058D3: push -1 */
   1641     PUSH32(esp, 0x2E011868u); /* 0x2E0058D5: push 0x2e011868 */
   1642     eax = MEM32(FS_BASE + (0)); /* 0x2E0058DA: mov eax, dword ptr fs:[0] */
   1643     PUSH32(esp, eax); /* 0x2E0058E0: push eax */
   1644     MEM32(FS_BASE + (0)) = esp; /* 0x2E0058E1: mov dword ptr fs:[0], esp */
   1645     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u);
   1646     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1647     esp = esp - 0x44u; /* 0x2E0058E8: sub esp, 0x44 */
   1648     _flag_k = FK_CMP;
   1649     PUSH32(esp, esi); /* 0x2E0058EB: push esi */
   1650     esi = ecx; /* 0x2E0058EC: mov esi, ecx */
   1651     SET_LO8(eax, MEM8(esi + 0x768)); /* 0x2E0058EE: mov al, byte ptr [esi + 0x768] */
   1652     /* test LO8(eax), LO8(eax) */ /* 0x2E0058F4: test al, al */
   1653     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1654     _cf = 0;
   1655     _flag_k = FK_NARROW(FK_TEST, 24);
   1656     if (TEST_Z(_flag_a, _flag_b)) goto L_2E005C26; /* 0x2E0058F6: je 0x2e005c26 */
   1657 L_2E0058FC:
   1658     ecx = esi + 0x76C; /* 0x2E0058FC: lea ecx, [esi + 0x76c] */
   1659     PUSH32(esp, ebx); /* 0x2E005902: push ebx */
   1660     PUSH32(esp, edi); /* 0x2E005903: push edi */
   1661     MEM32(ebp + (-0x30)) = ecx; /* 0x2E005904: mov dword ptr [ebp - 0x30], ecx */
   1662     ebx = MEM32(0x2E01212C); /* 0x2E005907: mov ebx, dword ptr [0x2e01212c] */
   1663     PUSH32(esp, 2); /* 0x2E00590D: push 2 */
   1664     PUSH32(esp, 0); /* 0x2E00590F: push 0 */
   1665     PUSH32(esp, 0); /* 0x2E005911: push 0 */
   1666     PUSH32(esp, 0); /* 0x2E005913: push 0 */
   1667     MEM32(ebp + (-0x4)) = 0; /* 0x2E005915: mov dword ptr [ebp - 4], 0 */
   1668     RECOMP_ICALL(ebx); /* 0x2E00591C: call ebx */
   1669     RECOMP_FLAGS_IN();
   1670     MEM32(ebp + (-0x2C)) = eax; /* 0x2E00591E: mov dword ptr [ebp - 0x2c], eax */
   1671     edi = esi + 0x8; /* 0x2E005921: lea edi, [esi + 8] */
   1672     eax = ebp + (-0x24); /* 0x2E005924: lea eax, [ebp - 0x24] */
   1673     PUSH32(esp, eax); /* 0x2E005927: push eax */
   1674     ecx = edi; /* 0x2E005928: mov ecx, edi */
   1675     MEM32(ebp + (-0x4)) = 1; /* 0x2E00592A: mov dword ptr [ebp - 4], 1 */
   1676     RECOMP_ICALL(MEM32(0x2E012204)); /* 0x2E005931: call dword ptr [0x2e012204] */
   1677     RECOMP_FLAGS_IN();
   1678     ecx = MEM32(eax); /* 0x2E005937: mov ecx, dword ptr [eax] */
   1679     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E005939: mov dword ptr [ebp - 0x1c], ecx */
   1680     ecx = edi; /* 0x2E00593C: mov ecx, edi */
   1681     RECOMP_ICALL(MEM32(0x2E012208)); /* 0x2E00593E: call dword ptr [0x2e012208] */
   1682     RECOMP_FLAGS_IN();
   1683     ecx = ebp + (-0x1C); /* 0x2E005944: lea ecx, [ebp - 0x1c] */
   1684     RECOMP_ICALL(MEM32(0x2E01220C)); /* 0x2E005947: call dword ptr [0x2e01220c] */
   1685     RECOMP_FLAGS_IN();
   1686     edi = MEM32(esi + 0x4); /* 0x2E00594D: mov edi, dword ptr [esi + 4] */
   1687     ecx = esi + 0x1C; /* 0x2E005950: lea ecx, [esi + 0x1c] */
   1688     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2E005953: fst dword ptr [ebp - 0x14] */
   1689     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2E005956: fstp dword ptr [ebp - 0x10] */
   1690     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1691     edi = edi + 1; /* 0x2E005959: inc edi */
   1692     _flag_k = FK_INC;
   1693     MEM32(ebp + (-0x28)) = ecx; /* 0x2E00595A: mov dword ptr [ebp - 0x28], ecx */
   1694     MEM32(esi + 0x4) = edi; /* 0x2E00595D: mov dword ptr [esi + 4], edi */
   1695     PUSH32(esp, 2); /* 0x2E005960: push 2 */
   1696     PUSH32(esp, 0); /* 0x2E005962: push 0 */
   1697     PUSH32(esp, 0); /* 0x2E005964: push 0 */
   1698     PUSH32(esp, 0); /* 0x2E005966: push 0 */
   1699     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E005968: mov byte ptr [ebp - 4], 2 */
   1700     RECOMP_ICALL(ebx); /* 0x2E00596C: call ebx */
   1701     RECOMP_FLAGS_IN();
   1702     MEM32(ebp + (-0x24)) = eax; /* 0x2E00596E: mov dword ptr [ebp - 0x24], eax */
   1703     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E005971: fld dword ptr [ebp - 0x10] */
   1704     _st[0] += (double)*(float*)ADDR(esi + 0x64); /* 0x2E005974: fadd dword ptr [esi + 0x64] */
   1705     edi = esi + 0xC8; /* 0x2E005977: lea edi, [esi + 0xc8] */
   1706     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2E00597D: mov byte ptr [ebp - 4], 3 */
   1707     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x64) = _v; } /* 0x2E005981: fstp dword ptr [esi + 0x64] */
   1708     eax = MEM32(edi + 0x2C); /* 0x2E005984: mov eax, dword ptr [edi + 0x2c] */
   1709     /* test eax, eax */ /* 0x2E005987: test eax, eax */
   1710     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1711     _cf = 0;
   1712     _flag_k = FK_TEST;
   1713     if (TEST_Z(_flag_a, _flag_b)) goto L_2E005995; /* 0x2E005989: je 0x2e005995 */
   1714 L_2E00598B:
   1715     edx = MEM32(edi + 0x1C); /* 0x2E00598B: mov edx, dword ptr [edi + 0x1c] */
   1716     eax = MEM32(edi + 0x18); /* 0x2E00598E: mov eax, dword ptr [edi + 0x18] */
   1717     /* cmp edx, eax */ /* 0x2E005991: cmp edx, eax */
   1718     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   1719     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1720     _flag_k = FK_CMP;
   1721     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00599C; /* 0x2E005993: jne 0x2e00599c */
   1722 L_2E005995:
   1723     ecx = edi; /* 0x2E005995: mov ecx, edi */
   1724     RECOMP_ICALL(0x2E008400u); /* 0x2E005997: call 0x2e008400 */ /* not lifted */
   1725     RECOMP_FLAGS_IN();
   1726 L_2E00599C:
   1727     ebx = edi + 0x14; /* 0x2E00599C: lea ebx, [edi + 0x14] */
   1728     ecx = ebx; /* 0x2E00599F: mov ecx, ebx */
   1729     RECOMP_ICALL(0x2E003A80u); /* 0x2E0059A1: call 0x2e003a80 */ /* not lifted */
   1730     RECOMP_FLAGS_IN();
   1731     eax = ebp + (-0x50); /* 0x2E0059A6: lea eax, [ebp - 0x50] */
   1732     PUSH32(esp, 1); /* 0x2E0059A9: push 1 */
   1733     PUSH32(esp, eax); /* 0x2E0059AB: push eax */
   1734     ecx = ebx; /* 0x2E0059AC: mov ecx, ebx */
   1735     RECOMP_ICALL(0x2E004870u); /* 0x2E0059AE: call 0x2e004870 */ /* not lifted */
   1736     RECOMP_FLAGS_IN();
   1737     ecx = eax; /* 0x2E0059B3: mov ecx, eax */
   1738     edx = MEM32(ecx); /* 0x2E0059B5: mov edx, dword ptr [ecx] */
   1739     MEM32(ebp + (-0x40)) = edx; /* 0x2E0059B7: mov dword ptr [ebp - 0x40], edx */
   1740     edx = ebp + (-0x10); /* 0x2E0059BA: lea edx, [ebp - 0x10] */
   1741     eax = MEM32(ecx + 0x4); /* 0x2E0059BD: mov eax, dword ptr [ecx + 4] */
   1742     PUSH32(esp, edx); /* 0x2E0059C0: push edx */
   1743     MEM32(ebp + (-0x3C)) = eax; /* 0x2E0059C1: mov dword ptr [ebp - 0x3c], eax */
   1744     eax = MEM32(ecx + 0x8); /* 0x2E0059C4: mov eax, dword ptr [ecx + 8] */
   1745     PUSH32(esp, eax); /* 0x2E0059C7: push eax */
   1746     ecx = MEM32(ecx + 0xC); /* 0x2E0059C8: mov ecx, dword ptr [ecx + 0xc] */
   1747     MEM32(ebp + (-0x34)) = ecx; /* 0x2E0059CB: mov dword ptr [ebp - 0x34], ecx */
   1748     RECOMP_ICALL(0x2E008600u); /* 0x2E0059CE: call 0x2e008600 */ /* not lifted */
   1749     RECOMP_FLAGS_IN();
   1750     ebx = MEM32(edi + 0x2C); /* 0x2E0059D3: mov ebx, dword ptr [edi + 0x2c] */
   1751     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1752     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1753     esp = esp + 8; /* 0x2E0059D6: add esp, 8 */
   1754     _flag_k = FK_ADD;
   1755     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   1756     ebx = ebx + 1; /* 0x2E0059D9: inc ebx */
   1757     _flag_k = FK_INC;
   1758     MEM32(edi + 0x2C) = ebx; /* 0x2E0059DA: mov dword ptr [edi + 0x2c], ebx */
   1759     eax = MEM32(esi + 0xFC); /* 0x2E0059DD: mov eax, dword ptr [esi + 0xfc] */
   1760     edx = MEM32(esi + 0x100); /* 0x2E0059E3: mov edx, dword ptr [esi + 0x100] */
   1761     ecx = eax; /* 0x2E0059E9: mov ecx, eax */
   1762     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1764     ecx = ecx - edx; /* 0x2E0059EB: sub ecx, edx */
   1765     _flag_k = FK_CMP;
   1766     ebx = esi + 0x68; /* 0x2E0059ED: lea ebx, [esi + 0x68] */
   1767     edx = ebp + (-0x18); /* 0x2E0059F0: lea edx, [ebp - 0x18] */
   1768     MEM32(ebp + (-0x18)) = ecx; /* 0x2E0059F3: mov dword ptr [ebp - 0x18], ecx */
   1769     PUSH32(esp, edx); /* 0x2E0059F6: push edx */
   1770     ecx = ebx; /* 0x2E0059F7: mov ecx, ebx */
   1771     MEM32(esi + 0x100) = eax; /* 0x2E0059F9: mov dword ptr [esi + 0x100], eax */
   1772     RECOMP_ICALL(0x2E003220u); /* 0x2E0059FF: call 0x2e003220 */ /* not lifted */
   1773     RECOMP_FLAGS_IN();
   1774     eax = MEM32(esi + 0x110); /* 0x2E005A04: mov eax, dword ptr [esi + 0x110] */
   1775     edx = MEM32(esi + 0x114); /* 0x2E005A0A: mov edx, dword ptr [esi + 0x114] */
   1776     ecx = eax; /* 0x2E005A10: mov ecx, eax */
   1777     MEM32(esi + 0x114) = eax; /* 0x2E005A12: mov dword ptr [esi + 0x114], eax */
   1778     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1779     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1780     ecx = ecx - edx; /* 0x2E005A18: sub ecx, edx */
   1781     _flag_k = FK_CMP;
   1782     edx = ebp + (-0x20); /* 0x2E005A1A: lea edx, [ebp - 0x20] */
   1783     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005A1D: mov dword ptr [ebp - 0x20], ecx */
   1784     ecx = esi + 0x98; /* 0x2E005A20: lea ecx, [esi + 0x98] */
   1785     PUSH32(esp, edx); /* 0x2E005A26: push edx */
   1786     RECOMP_ICALL(0x2E003220u); /* 0x2E005A27: call 0x2e003220 */ /* not lifted */
   1787     RECOMP_FLAGS_IN();
   1788     eax = MEM32(esi + 0x94); /* 0x2E005A2C: mov eax, dword ptr [esi + 0x94] */
   1789     ecx = MEM32(esi + 0xF8); /* 0x2E005A32: mov ecx, dword ptr [esi + 0xf8] */
   1790     /* cmp eax, ecx */ /* 0x2E005A38: cmp eax, ecx */
   1791     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1792     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1793     _flag_k = FK_CMP;
   1794     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005A55; /* 0x2E005A3A: jbe 0x2e005a55 */
   1795 L_2E005A3C:
   1796     ecx = ebx; /* 0x2E005A3C: mov ecx, ebx */
   1797     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005A3E: call 0x2e0073a0 */ /* not lifted */
   1798     RECOMP_FLAGS_IN();
   1799     ecx = edi; /* 0x2E005A43: mov ecx, edi */
   1800     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005A45: call 0x2e0073a0 */ /* not lifted */
   1801     RECOMP_FLAGS_IN();
   1802     ecx = esi + 0x98; /* 0x2E005A4A: lea ecx, [esi + 0x98] */
   1803     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005A50: call 0x2e0073a0 */ /* not lifted */
   1804     RECOMP_FLAGS_IN();
   1805 L_2E005A55:
   1806     ecx = ebp + (-0x28); /* 0x2E005A55: lea ecx, [ebp - 0x28] */
   1807     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005A58: call 0x2e0048e0 */ /* not lifted */
   1808     RECOMP_FLAGS_IN();
   1809     ecx = ebp + (-0x28); /* 0x2E005A5D: lea ecx, [ebp - 0x28] */
   1810     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005A60: mov byte ptr [ebp - 4], 1 */
   1811     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005A64: call 0x2e0048e0 */ /* not lifted */
   1812     RECOMP_FLAGS_IN();
   1813     eax = MEM32(ebp + (-0x14)); /* 0x2E005A69: mov eax, dword ptr [ebp - 0x14] */
   1814     ecx = esi + 0x13C; /* 0x2E005A6C: lea ecx, [esi + 0x13c] */
   1815     MEM32(ebp + (-0x10)) = eax; /* 0x2E005A72: mov dword ptr [ebp - 0x10], eax */
   1816     MEM32(ebp + (-0x28)) = ecx; /* 0x2E005A75: mov dword ptr [ebp - 0x28], ecx */
   1817     PUSH32(esp, 2); /* 0x2E005A78: push 2 */
   1818     PUSH32(esp, 0); /* 0x2E005A7A: push 0 */
   1819     PUSH32(esp, 0); /* 0x2E005A7C: push 0 */
   1820     PUSH32(esp, 0); /* 0x2E005A7E: push 0 */
   1821     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2E005A80: mov byte ptr [ebp - 4], 4 */
   1822     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E005A84: call dword ptr [0x2e01212c] */
   1823     RECOMP_FLAGS_IN();
   1824     MEM32(ebp + (-0x24)) = eax; /* 0x2E005A8A: mov dword ptr [ebp - 0x24], eax */
   1825     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E005A8D: fld dword ptr [ebp - 0x10] */
   1826     _st[0] += (double)*(float*)ADDR(esi + 0x184); /* 0x2E005A90: fadd dword ptr [esi + 0x184] */
   1827     ecx = ebp + (-0x10); /* 0x2E005A96: lea ecx, [ebp - 0x10] */
   1828     edi = esi + 0x1E8; /* 0x2E005A99: lea edi, [esi + 0x1e8] */
   1829     PUSH32(esp, ecx); /* 0x2E005A9F: push ecx */
   1830     ecx = edi; /* 0x2E005AA0: mov ecx, edi */
   1831     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2E005AA2: mov byte ptr [ebp - 4], 5 */
   1832     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x184) = _v; } /* 0x2E005AA6: fstp dword ptr [esi + 0x184] */
   1833     RECOMP_ICALL(0x2E003220u); /* 0x2E005AAC: call 0x2e003220 */ /* not lifted */
   1834     RECOMP_FLAGS_IN();
   1835     eax = MEM32(esi + 0x21C); /* 0x2E005AB1: mov eax, dword ptr [esi + 0x21c] */
   1836     ebx = MEM32(esi + 0x220); /* 0x2E005AB7: mov ebx, dword ptr [esi + 0x220] */
   1837     edx = eax; /* 0x2E005ABD: mov edx, eax */
   1838     MEM32(esi + 0x220) = eax; /* 0x2E005ABF: mov dword ptr [esi + 0x220], eax */
   1839     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   1840     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1841     edx = edx - ebx; /* 0x2E005AC5: sub edx, ebx */
   1842     _flag_k = FK_CMP;
   1843     ebx = esi + 0x188; /* 0x2E005AC7: lea ebx, [esi + 0x188] */
   1844     eax = ebp + (-0x20); /* 0x2E005ACD: lea eax, [ebp - 0x20] */
   1845     ecx = ebx; /* 0x2E005AD0: mov ecx, ebx */
   1846     PUSH32(esp, eax); /* 0x2E005AD2: push eax */
   1847     MEM32(ebp + (-0x20)) = edx; /* 0x2E005AD3: mov dword ptr [ebp - 0x20], edx */
   1848     RECOMP_ICALL(0x2E003220u); /* 0x2E005AD6: call 0x2e003220 */ /* not lifted */
   1849     RECOMP_FLAGS_IN();
   1850     eax = MEM32(esi + 0x230); /* 0x2E005ADB: mov eax, dword ptr [esi + 0x230] */
   1851     edx = MEM32(esi + 0x234); /* 0x2E005AE1: mov edx, dword ptr [esi + 0x234] */
   1852     ecx = eax; /* 0x2E005AE7: mov ecx, eax */
   1853     MEM32(esi + 0x234) = eax; /* 0x2E005AE9: mov dword ptr [esi + 0x234], eax */
   1854     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1855     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1856     ecx = ecx - edx; /* 0x2E005AEF: sub ecx, edx */
   1857     _flag_k = FK_CMP;
   1858     edx = ebp + (-0x18); /* 0x2E005AF1: lea edx, [ebp - 0x18] */
   1859     MEM32(ebp + (-0x18)) = ecx; /* 0x2E005AF4: mov dword ptr [ebp - 0x18], ecx */
   1860     ecx = esi + 0x1B8; /* 0x2E005AF7: lea ecx, [esi + 0x1b8] */
   1861     PUSH32(esp, edx); /* 0x2E005AFD: push edx */
   1862     RECOMP_ICALL(0x2E003220u); /* 0x2E005AFE: call 0x2e003220 */ /* not lifted */
   1863     RECOMP_FLAGS_IN();
   1864     eax = MEM32(esi + 0x1B4); /* 0x2E005B03: mov eax, dword ptr [esi + 0x1b4] */
   1865     ecx = MEM32(esi + 0x218); /* 0x2E005B09: mov ecx, dword ptr [esi + 0x218] */
   1866     /* cmp eax, ecx */ /* 0x2E005B0F: cmp eax, ecx */
   1867     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1868     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1869     _flag_k = FK_CMP;
   1870     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005B2C; /* 0x2E005B11: jbe 0x2e005b2c */
   1871 L_2E005B13:
   1872     ecx = ebx; /* 0x2E005B13: mov ecx, ebx */
   1873     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005B15: call 0x2e0073a0 */ /* not lifted */
   1874     RECOMP_FLAGS_IN();
   1875     ecx = edi; /* 0x2E005B1A: mov ecx, edi */
   1876     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005B1C: call 0x2e0073a0 */ /* not lifted */
   1877     RECOMP_FLAGS_IN();
   1878     ecx = esi + 0x1B8; /* 0x2E005B21: lea ecx, [esi + 0x1b8] */
   1879     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005B27: call 0x2e0073a0 */ /* not lifted */
   1880     RECOMP_FLAGS_IN();
   1881 L_2E005B2C:
   1882     ecx = ebp + (-0x28); /* 0x2E005B2C: lea ecx, [ebp - 0x28] */
   1883     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005B2F: call 0x2e0048e0 */ /* not lifted */
   1884     RECOMP_FLAGS_IN();
   1885     ecx = ebp + (-0x28); /* 0x2E005B34: lea ecx, [ebp - 0x28] */
   1886     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005B37: mov byte ptr [ebp - 4], 1 */
   1887     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005B3B: call 0x2e0048e0 */ /* not lifted */
   1888     RECOMP_FLAGS_IN();
   1889     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x2B4u);
   1890     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1891     esi = esi + 0x2B4u; /* 0x2E005B40: add esi, 0x2b4 */
   1892     _flag_k = FK_ADD;
   1893     MEM32(ebp + (-0x18)) = 5; /* 0x2E005B46: mov dword ptr [ebp - 0x18], 5 */
   1894 L_2E005B4D:
   1895     eax = MEM32(ebp + (-0x14)); /* 0x2E005B4D: mov eax, dword ptr [ebp - 0x14] */
   1896     ecx = esi + (-0x48); /* 0x2E005B50: lea ecx, [esi - 0x48] */
   1897     PUSH32(esp, ecx); /* 0x2E005B53: push ecx */
   1898     ecx = ebp + (-0x38); /* 0x2E005B54: lea ecx, [ebp - 0x38] */
   1899     MEM32(ebp + (-0x10)) = eax; /* 0x2E005B57: mov dword ptr [ebp - 0x10], eax */
   1900     RECOMP_ICALL(0x2E008130u); /* 0x2E005B5A: call 0x2e008130 */ /* not lifted */
   1901     RECOMP_FLAGS_IN();
   1902     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E005B5F: fld dword ptr [ebp - 0x10] */
   1903     _st[0] += (double)*(float*)ADDR(esi); /* 0x2E005B62: fadd dword ptr [esi] */
   1904     edi = esi + 0x64; /* 0x2E005B64: lea edi, [esi + 0x64] */
   1905     edx = ebp + (-0x10); /* 0x2E005B67: lea edx, [ebp - 0x10] */
   1906     PUSH32(esp, edx); /* 0x2E005B6A: push edx */
   1907     ecx = edi; /* 0x2E005B6B: mov ecx, edi */
   1908     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2E005B6D: mov byte ptr [ebp - 4], 6 */
   1909     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x2E005B71: fstp dword ptr [esi] */
   1910     RECOMP_ICALL(0x2E003220u); /* 0x2E005B73: call 0x2e003220 */ /* not lifted */
   1911     RECOMP_FLAGS_IN();
   1912     eax = MEM32(esi + 0x98); /* 0x2E005B78: mov eax, dword ptr [esi + 0x98] */
   1913     edx = MEM32(esi + 0x9C); /* 0x2E005B7E: mov edx, dword ptr [esi + 0x9c] */
   1914     ecx = eax; /* 0x2E005B84: mov ecx, eax */
   1915     ebx = esi + 0x4; /* 0x2E005B86: lea ebx, [esi + 4] */
   1916     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1917     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1918     ecx = ecx - edx; /* 0x2E005B89: sub ecx, edx */
   1919     _flag_k = FK_CMP;
   1920     edx = ebp + (-0x20); /* 0x2E005B8B: lea edx, [ebp - 0x20] */
   1921     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005B8E: mov dword ptr [ebp - 0x20], ecx */
   1922     PUSH32(esp, edx); /* 0x2E005B91: push edx */
   1923     ecx = ebx; /* 0x2E005B92: mov ecx, ebx */
   1924     MEM32(esi + 0x9C) = eax; /* 0x2E005B94: mov dword ptr [esi + 0x9c], eax */
   1925     RECOMP_ICALL(0x2E003220u); /* 0x2E005B9A: call 0x2e003220 */ /* not lifted */
   1926     RECOMP_FLAGS_IN();
   1927     eax = MEM32(esi + 0xAC); /* 0x2E005B9F: mov eax, dword ptr [esi + 0xac] */
   1928     edx = MEM32(esi + 0xB0); /* 0x2E005BA5: mov edx, dword ptr [esi + 0xb0] */
   1929     ecx = eax; /* 0x2E005BAB: mov ecx, eax */
   1930     MEM32(esi + 0xB0) = eax; /* 0x2E005BAD: mov dword ptr [esi + 0xb0], eax */
   1931     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1933     ecx = ecx - edx; /* 0x2E005BB3: sub ecx, edx */
   1934     _flag_k = FK_CMP;
   1935     edx = ebp + (-0x24); /* 0x2E005BB5: lea edx, [ebp - 0x24] */
   1936     MEM32(ebp + (-0x24)) = ecx; /* 0x2E005BB8: mov dword ptr [ebp - 0x24], ecx */
   1937     ecx = esi + 0x34; /* 0x2E005BBB: lea ecx, [esi + 0x34] */
   1938     PUSH32(esp, edx); /* 0x2E005BBE: push edx */
   1939     RECOMP_ICALL(0x2E003220u); /* 0x2E005BBF: call 0x2e003220 */ /* not lifted */
   1940     RECOMP_FLAGS_IN();
   1941     eax = MEM32(esi + 0x30); /* 0x2E005BC4: mov eax, dword ptr [esi + 0x30] */
   1942     ecx = MEM32(esi + 0x94); /* 0x2E005BC7: mov ecx, dword ptr [esi + 0x94] */
   1943     /* cmp eax, ecx */ /* 0x2E005BCD: cmp eax, ecx */
   1944     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1946     _flag_k = FK_CMP;
   1947     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005BE7; /* 0x2E005BCF: jbe 0x2e005be7 */
   1948 L_2E005BD1:
   1949     ecx = ebx; /* 0x2E005BD1: mov ecx, ebx */
   1950     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005BD3: call 0x2e0073a0 */ /* not lifted */
   1951     RECOMP_FLAGS_IN();
   1952     ecx = edi; /* 0x2E005BD8: mov ecx, edi */
   1953     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005BDA: call 0x2e0073a0 */ /* not lifted */
   1954     RECOMP_FLAGS_IN();
   1955     ecx = esi + 0x34; /* 0x2E005BDF: lea ecx, [esi + 0x34] */
   1956     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005BE2: call 0x2e0073a0 */ /* not lifted */
   1957     RECOMP_FLAGS_IN();
   1958 L_2E005BE7:
   1959     ecx = ebp + (-0x38); /* 0x2E005BE7: lea ecx, [ebp - 0x38] */
   1960     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005BEA: call 0x2e0048e0 */ /* not lifted */
   1961     RECOMP_FLAGS_IN();
   1962     ecx = ebp + (-0x38); /* 0x2E005BEF: lea ecx, [ebp - 0x38] */
   1963     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005BF2: mov byte ptr [ebp - 4], 1 */
   1964     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005BF6: call 0x2e0048e0 */ /* not lifted */
   1965     RECOMP_FLAGS_IN();
   1966     eax = MEM32(ebp + (-0x18)); /* 0x2E005BFB: mov eax, dword ptr [ebp - 0x18] */
   1967     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x100u);
   1968     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1969     esi = esi + 0x100u; /* 0x2E005BFE: add esi, 0x100 */
   1970     _flag_k = FK_ADD;
   1971     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1972     eax = eax - 1; /* 0x2E005C04: dec eax */
   1973     _flag_k = FK_DEC;
   1974     MEM32(ebp + (-0x18)) = eax; /* 0x2E005C05: mov dword ptr [ebp - 0x18], eax */
   1975     RECOMP_BACKEDGE();
   1976     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E005B4D; /* 0x2E005C08: jne 0x2e005b4d */
   1977 L_2E005C0E:
   1978     ecx = MEM32(ebp + (-0x2C)); /* 0x2E005C0E: mov ecx, dword ptr [ebp - 0x2c] */
   1979     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   1980     eax = eax | 0xFFFFFFFFu; /* 0x2E005C11: or eax, 0xffffffff */
   1981     _cf = 0;
   1982     _flag_k = FK_TEST;
   1983     edi = POP32_VAL(esp); /* 0x2E005C14: pop edi */
   1984     /* cmp ecx, eax */ /* 0x2E005C15: cmp ecx, eax */
   1985     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1987     _flag_k = FK_CMP;
   1988     MEM32(ebp + (-0x4)) = eax; /* 0x2E005C17: mov dword ptr [ebp - 4], eax */
   1989     ebx = POP32_VAL(esp); /* 0x2E005C1A: pop ebx */
   1990     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E005C26; /* 0x2E005C1B: je 0x2e005c26 */
   1991 L_2E005C1D:
   1992     ecx = MEM32(ebp + (-0x30)); /* 0x2E005C1D: mov ecx, dword ptr [ebp - 0x30] */
   1993     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E005C20: call dword ptr [0x2e0121a4] */
   1994     RECOMP_FLAGS_IN();
   1995 L_2E005C26:
   1996     ecx = MEM32(ebp + (-0xC)); /* 0x2E005C26: mov ecx, dword ptr [ebp - 0xc] */
   1997     esi = POP32_VAL(esp); /* 0x2E005C29: pop esi */
   1998     MEM32(FS_BASE + (0)) = ecx; /* 0x2E005C2A: mov dword ptr fs:[0], ecx */
   1999     esp = ebp; /* 0x2E005C31: mov esp, ebp */
   2000     ebp = POP32_VAL(esp); /* 0x2E005C33: pop ebp */
   2001     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E005C34: ret  */
   2002     RECOMP_REGS_OUT();
   2003 }
   2004 
   2005 void sub_2E005C40(void) {
   2006     int _fpu_cmp = 0;
   2007     uint32_t _cf = 0;
   2008     int _df = 1;
   2009     uint32_t _flag_k = FK_NONE;
   2010     uint32_t _flag_a = 0, _flag_b = 0;
   2011     uint32_t _itail_tgt = 0;
   2012     RECOMP_REGS_LOCALS
   2013     RECOMP_ENTER(0x2E005C40u);
   2014 
   2015 L_2E005C40:
   2016     goto L_2E005C50; /* 0x2E005C40: jmp 0x2e005c50 */
   2017 L_2E005C50:
   2018     PUSH32(esp, ebp); /* 0x2E005C50: push ebp */
   2019     ebp = esp; /* 0x2E005C51: mov ebp, esp */
   2020     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E005C53: push -1 */
   2021     PUSH32(esp, 0x2E0118B8u); /* 0x2E005C55: push 0x2e0118b8 */
   2022     eax = MEM32(FS_BASE + (0)); /* 0x2E005C5A: mov eax, dword ptr fs:[0] */
   2023     PUSH32(esp, eax); /* 0x2E005C60: push eax */
   2024     MEM32(FS_BASE + (0)) = esp; /* 0x2E005C61: mov dword ptr fs:[0], esp */
   2025     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u);
   2026     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2027     esp = esp - 0x44u; /* 0x2E005C68: sub esp, 0x44 */
   2028     _flag_k = FK_CMP;
   2029     PUSH32(esp, edi); /* 0x2E005C6B: push edi */
   2030     PUSH32(esp, 0); /* 0x2E005C6C: push 0 */
   2031     RECOMP_ICALL(MEM32(0x2E0120A4)); /* 0x2E005C6E: call dword ptr [0x2e0120a4] */
   2032     RECOMP_FLAGS_IN();
   2033     edi = eax; /* 0x2E005C74: mov edi, eax */
   2034     eax = MEM32(0x2E01B304); /* 0x2E005C76: mov eax, dword ptr [0x2e01b304] */
   2035     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5);
   2036     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2037     eax = eax + 5; /* 0x2E005C7B: add eax, 5 */
   2038     _flag_k = FK_ADD;
   2039     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2040     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2041     esp = esp + 4; /* 0x2E005C7E: add esp, 4 */
   2042     _flag_k = FK_ADD;
   2043     /* cmp edi, eax */ /* 0x2E005C81: cmp edi, eax */
   2044     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2045     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2046     _flag_k = FK_CMP;
   2047     if (CMP_LE(_flag_a, _flag_b)) goto L_2E005FC2; /* 0x2E005C83: jle 0x2e005fc2 */
   2048 L_2E005C89:
   2049     ecx = 0x2E01B1A0u; /* 0x2E005C89: mov ecx, 0x2e01b1a0 */
   2050     PUSH32(esp, ebx); /* 0x2E005C8E: push ebx */
   2051     PUSH32(esp, esi); /* 0x2E005C8F: push esi */
   2052     MEM32(ebp + (-0x30)) = ecx; /* 0x2E005C90: mov dword ptr [ebp - 0x30], ecx */
   2053     esi = MEM32(0x2E01212C); /* 0x2E005C93: mov esi, dword ptr [0x2e01212c] */
   2054     PUSH32(esp, 2); /* 0x2E005C99: push 2 */
   2055     PUSH32(esp, 0); /* 0x2E005C9B: push 0 */
   2056     PUSH32(esp, 0); /* 0x2E005C9D: push 0 */
   2057     PUSH32(esp, 0); /* 0x2E005C9F: push 0 */
   2058     MEM32(ebp + (-0x4)) = 0; /* 0x2E005CA1: mov dword ptr [ebp - 4], 0 */
   2059     RECOMP_ICALL(esi); /* 0x2E005CA8: call esi */
   2060     RECOMP_FLAGS_IN();
   2061     MEM32(ebp + (-0x2C)) = eax; /* 0x2E005CAA: mov dword ptr [ebp - 0x2c], eax */
   2062     ecx = ebp + (-0x20); /* 0x2E005CAD: lea ecx, [ebp - 0x20] */
   2063     MEM32(ebp + (-0x4)) = 1; /* 0x2E005CB0: mov dword ptr [ebp - 4], 1 */
   2064     PUSH32(esp, ecx); /* 0x2E005CB7: push ecx */
   2065     ecx = 0x2E01B180u; /* 0x2E005CB8: mov ecx, 0x2e01b180 */
   2066     RECOMP_ICALL(MEM32(0x2E012204)); /* 0x2E005CBD: call dword ptr [0x2e012204] */
   2067     RECOMP_FLAGS_IN();
   2068     edx = MEM32(eax); /* 0x2E005CC3: mov edx, dword ptr [eax] */
   2069     ecx = 0x2E01B180u; /* 0x2E005CC5: mov ecx, 0x2e01b180 */
   2070     MEM32(ebp + (-0x18)) = edx; /* 0x2E005CCA: mov dword ptr [ebp - 0x18], edx */
   2071     RECOMP_ICALL(MEM32(0x2E012208)); /* 0x2E005CCD: call dword ptr [0x2e012208] */
   2072     RECOMP_FLAGS_IN();
   2073     ecx = ebp + (-0x18); /* 0x2E005CD3: lea ecx, [ebp - 0x18] */
   2074     MEM32(0x2E01B304) = edi; /* 0x2E005CD6: mov dword ptr [0x2e01b304], edi */
   2075     RECOMP_ICALL(MEM32(0x2E01220C)); /* 0x2E005CDC: call dword ptr [0x2e01220c] */
   2076     RECOMP_FLAGS_IN();
   2077     ecx = MEM32(0x2E01B2EC); /* 0x2E005CE2: mov ecx, dword ptr [0x2e01b2ec] */
   2078     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2E005CE8: fst dword ptr [ebp - 0x14] */
   2079     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2E005CEB: fstp dword ptr [ebp - 0x10] */
   2080     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2081     ecx = ecx + 1; /* 0x2E005CEE: inc ecx */
   2082     _flag_k = FK_INC;
   2083     MEM32(0x2E01B2EC) = ecx; /* 0x2E005CEF: mov dword ptr [0x2e01b2ec], ecx */
   2084     ecx = 0x2E01AB84u; /* 0x2E005CF5: mov ecx, 0x2e01ab84 */
   2085     MEM32(ebp + (-0x28)) = ecx; /* 0x2E005CFA: mov dword ptr [ebp - 0x28], ecx */
   2086     PUSH32(esp, 2); /* 0x2E005CFD: push 2 */
   2087     PUSH32(esp, 0); /* 0x2E005CFF: push 0 */
   2088     PUSH32(esp, 0); /* 0x2E005D01: push 0 */
   2089     PUSH32(esp, 0); /* 0x2E005D03: push 0 */
   2090     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E005D05: mov byte ptr [ebp - 4], 2 */
   2091     RECOMP_ICALL(esi); /* 0x2E005D09: call esi */
   2092     RECOMP_FLAGS_IN();
   2093     MEM32(ebp + (-0x24)) = eax; /* 0x2E005D0B: mov dword ptr [ebp - 0x24], eax */
   2094     fp_push(*(float*)&MEM32(0x2E01ABCC)); /* 0x2E005D0E: fld dword ptr [0x2e01abcc] */
   2095     _st[0] += (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2E005D14: fadd dword ptr [ebp - 0x10] */
   2096     eax = MEM32(0x2E01AC5C); /* 0x2E005D17: mov eax, dword ptr [0x2e01ac5c] */
   2097     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2E005D1C: mov byte ptr [ebp - 4], 3 */
   2098     /* test eax, eax */ /* 0x2E005D20: test eax, eax */
   2099     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2100     _cf = 0;
   2101     _flag_k = FK_TEST;
   2102     { float _v = (float)fp_pop(); *(float*)ADDR(0x2E01ABCC) = _v; } /* 0x2E005D22: fstp dword ptr [0x2e01abcc] */
   2103     if (TEST_Z(_flag_a, _flag_b)) goto L_2E005D39; /* 0x2E005D28: je 0x2e005d39 */
   2104 L_2E005D2A:
   2105     eax = MEM32(0x2E01AC4C); /* 0x2E005D2A: mov eax, dword ptr [0x2e01ac4c] */
   2106     ecx = MEM32(0x2E01AC48); /* 0x2E005D2F: mov ecx, dword ptr [0x2e01ac48] */
   2107     /* cmp eax, ecx */ /* 0x2E005D35: cmp eax, ecx */
   2108     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2109     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2110     _flag_k = FK_CMP;
   2111     if (CMP_NE(_flag_a, _flag_b)) goto L_2E005D43; /* 0x2E005D37: jne 0x2e005d43 */
   2112 L_2E005D39:
   2113     ecx = 0x2E01AC30u; /* 0x2E005D39: mov ecx, 0x2e01ac30 */
   2114     RECOMP_ICALL(0x2E008400u); /* 0x2E005D3E: call 0x2e008400 */ /* not lifted */
   2115     RECOMP_FLAGS_IN();
   2116 L_2E005D43:
   2117     ecx = 0x2E01AC44u; /* 0x2E005D43: mov ecx, 0x2e01ac44 */
   2118     RECOMP_ICALL(0x2E003A80u); /* 0x2E005D48: call 0x2e003a80 */ /* not lifted */
   2119     RECOMP_FLAGS_IN();
   2120     ecx = ebp + (-0x50); /* 0x2E005D4D: lea ecx, [ebp - 0x50] */
   2121     PUSH32(esp, 1); /* 0x2E005D50: push 1 */
   2122     PUSH32(esp, ecx); /* 0x2E005D52: push ecx */
   2123     ecx = 0x2E01AC44u; /* 0x2E005D53: mov ecx, 0x2e01ac44 */
   2124     RECOMP_ICALL(0x2E004870u); /* 0x2E005D58: call 0x2e004870 */ /* not lifted */
   2125     RECOMP_FLAGS_IN();
   2126     edx = eax; /* 0x2E005D5D: mov edx, eax */
   2127     eax = MEM32(edx); /* 0x2E005D5F: mov eax, dword ptr [edx] */
   2128     MEM32(ebp + (-0x40)) = eax; /* 0x2E005D61: mov dword ptr [ebp - 0x40], eax */
   2129     ecx = MEM32(edx + 0x4); /* 0x2E005D64: mov ecx, dword ptr [edx + 4] */
   2130     MEM32(ebp + (-0x3C)) = ecx; /* 0x2E005D67: mov dword ptr [ebp - 0x3c], ecx */
   2131     ecx = ebp + (-0x10); /* 0x2E005D6A: lea ecx, [ebp - 0x10] */
   2132     eax = MEM32(edx + 0x8); /* 0x2E005D6D: mov eax, dword ptr [edx + 8] */
   2133     PUSH32(esp, ecx); /* 0x2E005D70: push ecx */
   2134     PUSH32(esp, eax); /* 0x2E005D71: push eax */
   2135     edx = MEM32(edx + 0xC); /* 0x2E005D72: mov edx, dword ptr [edx + 0xc] */
   2136     MEM32(ebp + (-0x34)) = edx; /* 0x2E005D75: mov dword ptr [ebp - 0x34], edx */
   2137     RECOMP_ICALL(0x2E008600u); /* 0x2E005D78: call 0x2e008600 */ /* not lifted */
   2138     RECOMP_FLAGS_IN();
   2139     eax = MEM32(0x2E01AC64); /* 0x2E005D7D: mov eax, dword ptr [0x2e01ac64] */
   2140     edi = MEM32(0x2E01AC68); /* 0x2E005D82: mov edi, dword ptr [0x2e01ac68] */
   2141     ebx = MEM32(0x2E01AC5C); /* 0x2E005D88: mov ebx, dword ptr [0x2e01ac5c] */
   2142     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2143     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2144     esp = esp + 8; /* 0x2E005D8E: add esp, 8 */
   2145     _flag_k = FK_ADD;
   2146     edx = eax; /* 0x2E005D91: mov edx, eax */
   2147     MEM32(0x2E01AC68) = eax; /* 0x2E005D93: mov dword ptr [0x2e01ac68], eax */
   2148     eax = ebp + (-0x1C); /* 0x2E005D98: lea eax, [ebp - 0x1c] */
   2149     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   2150     ebx = ebx + 1; /* 0x2E005D9B: inc ebx */
   2151     _flag_k = FK_INC;
   2152     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   2153     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2154     edx = edx - edi; /* 0x2E005D9C: sub edx, edi */
   2155     _flag_k = FK_CMP;
   2156     PUSH32(esp, eax); /* 0x2E005D9E: push eax */
   2157     ecx = 0x2E01ABD0u; /* 0x2E005D9F: mov ecx, 0x2e01abd0 */
   2158     MEM32(0x2E01AC5C) = ebx; /* 0x2E005DA4: mov dword ptr [0x2e01ac5c], ebx */
   2159     MEM32(ebp + (-0x1C)) = edx; /* 0x2E005DAA: mov dword ptr [ebp - 0x1c], edx */
   2160     RECOMP_ICALL(0x2E003220u); /* 0x2E005DAD: call 0x2e003220 */ /* not lifted */
   2161     RECOMP_FLAGS_IN();
   2162     eax = MEM32(0x2E01AC78); /* 0x2E005DB2: mov eax, dword ptr [0x2e01ac78] */
   2163     ebx = MEM32(0x2E01AC7C); /* 0x2E005DB7: mov ebx, dword ptr [0x2e01ac7c] */
   2164     ecx = eax; /* 0x2E005DBD: mov ecx, eax */
   2165     edx = ebp + (-0x20); /* 0x2E005DBF: lea edx, [ebp - 0x20] */
   2166     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2167     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2168     ecx = ecx - ebx; /* 0x2E005DC2: sub ecx, ebx */
   2169     _flag_k = FK_CMP;
   2170     PUSH32(esp, edx); /* 0x2E005DC4: push edx */
   2171     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005DC5: mov dword ptr [ebp - 0x20], ecx */
   2172     ecx = 0x2E01AC00u; /* 0x2E005DC8: mov ecx, 0x2e01ac00 */
   2173     MEM32(0x2E01AC7C) = eax; /* 0x2E005DCD: mov dword ptr [0x2e01ac7c], eax */
   2174     RECOMP_ICALL(0x2E003220u); /* 0x2E005DD2: call 0x2e003220 */ /* not lifted */
   2175     RECOMP_FLAGS_IN();
   2176     eax = MEM32(0x2E01ABFC); /* 0x2E005DD7: mov eax, dword ptr [0x2e01abfc] */
   2177     ecx = MEM32(0x2E01AC60); /* 0x2E005DDC: mov ecx, dword ptr [0x2e01ac60] */
   2178     /* cmp eax, ecx */ /* 0x2E005DE2: cmp eax, ecx */
   2179     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2181     _flag_k = FK_CMP;
   2182     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005E04; /* 0x2E005DE4: jbe 0x2e005e04 */
   2183 L_2E005DE6:
   2184     ecx = 0x2E01ABD0u; /* 0x2E005DE6: mov ecx, 0x2e01abd0 */
   2185     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005DEB: call 0x2e0073a0 */ /* not lifted */
   2186     RECOMP_FLAGS_IN();
   2187     ecx = 0x2E01AC30u; /* 0x2E005DF0: mov ecx, 0x2e01ac30 */
   2188     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005DF5: call 0x2e0073a0 */ /* not lifted */
   2189     RECOMP_FLAGS_IN();
   2190     ecx = 0x2E01AC00u; /* 0x2E005DFA: mov ecx, 0x2e01ac00 */
   2191     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005DFF: call 0x2e0073a0 */ /* not lifted */
   2192     RECOMP_FLAGS_IN();
   2193 L_2E005E04:
   2194     ecx = ebp + (-0x28); /* 0x2E005E04: lea ecx, [ebp - 0x28] */
   2195     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005E07: call 0x2e0048e0 */ /* not lifted */
   2196     RECOMP_FLAGS_IN();
   2197     ecx = ebp + (-0x28); /* 0x2E005E0C: lea ecx, [ebp - 0x28] */
   2198     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005E0F: mov byte ptr [ebp - 4], 1 */
   2199     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005E13: call 0x2e0048e0 */ /* not lifted */
   2200     RECOMP_FLAGS_IN();
   2201     eax = MEM32(ebp + (-0x14)); /* 0x2E005E18: mov eax, dword ptr [ebp - 0x14] */
   2202     ecx = 0x2E01B1ECu; /* 0x2E005E1B: mov ecx, 0x2e01b1ec */
   2203     MEM32(ebp + (-0x10)) = eax; /* 0x2E005E20: mov dword ptr [ebp - 0x10], eax */
   2204     MEM32(ebp + (-0x28)) = ecx; /* 0x2E005E23: mov dword ptr [ebp - 0x28], ecx */
   2205     PUSH32(esp, 2); /* 0x2E005E26: push 2 */
   2206     PUSH32(esp, 0); /* 0x2E005E28: push 0 */
   2207     PUSH32(esp, 0); /* 0x2E005E2A: push 0 */
   2208     PUSH32(esp, 0); /* 0x2E005E2C: push 0 */
   2209     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2E005E2E: mov byte ptr [ebp - 4], 4 */
   2210     RECOMP_ICALL(esi); /* 0x2E005E32: call esi */
   2211     RECOMP_FLAGS_IN();
   2212     MEM32(ebp + (-0x24)) = eax; /* 0x2E005E34: mov dword ptr [ebp - 0x24], eax */
   2213     fp_push(*(float*)&MEM32(0x2E01B234)); /* 0x2E005E37: fld dword ptr [0x2e01b234] */
   2214     _st[0] += (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2E005E3D: fadd dword ptr [ebp - 0x10] */
   2215     ecx = ebp + (-0x10); /* 0x2E005E40: lea ecx, [ebp - 0x10] */
   2216     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2E005E43: mov byte ptr [ebp - 4], 5 */
   2217     PUSH32(esp, ecx); /* 0x2E005E47: push ecx */
   2218     ecx = 0x2E01B298u; /* 0x2E005E48: mov ecx, 0x2e01b298 */
   2219     { float _v = (float)fp_pop(); *(float*)ADDR(0x2E01B234) = _v; } /* 0x2E005E4D: fstp dword ptr [0x2e01b234] */
   2220     RECOMP_ICALL(0x2E003220u); /* 0x2E005E53: call 0x2e003220 */ /* not lifted */
   2221     RECOMP_FLAGS_IN();
   2222     eax = MEM32(0x2E01B2CC); /* 0x2E005E58: mov eax, dword ptr [0x2e01b2cc] */
   2223     ecx = MEM32(0x2E01B2D0); /* 0x2E005E5D: mov ecx, dword ptr [0x2e01b2d0] */
   2224     edx = eax; /* 0x2E005E63: mov edx, eax */
   2225     MEM32(0x2E01B2D0) = eax; /* 0x2E005E65: mov dword ptr [0x2e01b2d0], eax */
   2226     eax = ebp + (-0x20); /* 0x2E005E6A: lea eax, [ebp - 0x20] */
   2227     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2228     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2229     edx = edx - ecx; /* 0x2E005E6D: sub edx, ecx */
   2230     _flag_k = FK_CMP;
   2231     PUSH32(esp, eax); /* 0x2E005E6F: push eax */
   2232     ecx = 0x2E01B238u; /* 0x2E005E70: mov ecx, 0x2e01b238 */
   2233     MEM32(ebp + (-0x20)) = edx; /* 0x2E005E75: mov dword ptr [ebp - 0x20], edx */
   2234     RECOMP_ICALL(0x2E003220u); /* 0x2E005E78: call 0x2e003220 */ /* not lifted */
   2235     RECOMP_FLAGS_IN();
   2236     eax = MEM32(0x2E01B2E0); /* 0x2E005E7D: mov eax, dword ptr [0x2e01b2e0] */
   2237     edi = MEM32(0x2E01B2E4); /* 0x2E005E82: mov edi, dword ptr [0x2e01b2e4] */
   2238     ecx = eax; /* 0x2E005E88: mov ecx, eax */
   2239     edx = ebp + (-0x1C); /* 0x2E005E8A: lea edx, [ebp - 0x1c] */
   2240     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   2241     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2242     ecx = ecx - edi; /* 0x2E005E8D: sub ecx, edi */
   2243     _flag_k = FK_CMP;
   2244     PUSH32(esp, edx); /* 0x2E005E8F: push edx */
   2245     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E005E90: mov dword ptr [ebp - 0x1c], ecx */
   2246     ecx = 0x2E01B268u; /* 0x2E005E93: mov ecx, 0x2e01b268 */
   2247     MEM32(0x2E01B2E4) = eax; /* 0x2E005E98: mov dword ptr [0x2e01b2e4], eax */
   2248     RECOMP_ICALL(0x2E003220u); /* 0x2E005E9D: call 0x2e003220 */ /* not lifted */
   2249     RECOMP_FLAGS_IN();
   2250     eax = MEM32(0x2E01B264); /* 0x2E005EA2: mov eax, dword ptr [0x2e01b264] */
   2251     ecx = MEM32(0x2E01B2C8); /* 0x2E005EA7: mov ecx, dword ptr [0x2e01b2c8] */
   2252     /* cmp eax, ecx */ /* 0x2E005EAD: cmp eax, ecx */
   2253     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2254     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2255     _flag_k = FK_CMP;
   2256     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005ECF; /* 0x2E005EAF: jbe 0x2e005ecf */
   2257 L_2E005EB1:
   2258     ecx = 0x2E01B238u; /* 0x2E005EB1: mov ecx, 0x2e01b238 */
   2259     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005EB6: call 0x2e0073a0 */ /* not lifted */
   2260     RECOMP_FLAGS_IN();
   2261     ecx = 0x2E01B298u; /* 0x2E005EBB: mov ecx, 0x2e01b298 */
   2262     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005EC0: call 0x2e0073a0 */ /* not lifted */
   2263     RECOMP_FLAGS_IN();
   2264     ecx = 0x2E01B268u; /* 0x2E005EC5: mov ecx, 0x2e01b268 */
   2265     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005ECA: call 0x2e0073a0 */ /* not lifted */
   2266     RECOMP_FLAGS_IN();
   2267 L_2E005ECF:
   2268     ecx = ebp + (-0x28); /* 0x2E005ECF: lea ecx, [ebp - 0x28] */
   2269     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005ED2: call 0x2e0048e0 */ /* not lifted */
   2270     RECOMP_FLAGS_IN();
   2271     ecx = ebp + (-0x28); /* 0x2E005ED7: lea ecx, [ebp - 0x28] */
   2272     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005EDA: mov byte ptr [ebp - 4], 1 */
   2273     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005EDE: call 0x2e0048e0 */ /* not lifted */
   2274     RECOMP_FLAGS_IN();
   2275     esi = 0x2E01ACCCu; /* 0x2E005EE3: mov esi, 0x2e01accc */
   2276 L_2E005EE8:
   2277     eax = MEM32(ebp + (-0x14)); /* 0x2E005EE8: mov eax, dword ptr [ebp - 0x14] */
   2278     ecx = esi + (-0x48); /* 0x2E005EEB: lea ecx, [esi - 0x48] */
   2279     PUSH32(esp, ecx); /* 0x2E005EEE: push ecx */
   2280     ecx = ebp + (-0x28); /* 0x2E005EEF: lea ecx, [ebp - 0x28] */
   2281     MEM32(ebp + (-0x10)) = eax; /* 0x2E005EF2: mov dword ptr [ebp - 0x10], eax */
   2282     RECOMP_ICALL(0x2E008130u); /* 0x2E005EF5: call 0x2e008130 */ /* not lifted */
   2283     RECOMP_FLAGS_IN();
   2284     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E005EFA: fld dword ptr [ebp - 0x10] */
   2285     _st[0] += (double)*(float*)ADDR(esi); /* 0x2E005EFD: fadd dword ptr [esi] */
   2286     edi = esi + 0x64; /* 0x2E005EFF: lea edi, [esi + 0x64] */
   2287     edx = ebp + (-0x10); /* 0x2E005F02: lea edx, [ebp - 0x10] */
   2288     PUSH32(esp, edx); /* 0x2E005F05: push edx */
   2289     ecx = edi; /* 0x2E005F06: mov ecx, edi */
   2290     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2E005F08: mov byte ptr [ebp - 4], 6 */
   2291     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x2E005F0C: fstp dword ptr [esi] */
   2292     RECOMP_ICALL(0x2E003220u); /* 0x2E005F0E: call 0x2e003220 */ /* not lifted */
   2293     RECOMP_FLAGS_IN();
   2294     eax = MEM32(esi + 0x98); /* 0x2E005F13: mov eax, dword ptr [esi + 0x98] */
   2295     edx = MEM32(esi + 0x9C); /* 0x2E005F19: mov edx, dword ptr [esi + 0x9c] */
   2296     ecx = eax; /* 0x2E005F1F: mov ecx, eax */
   2297     ebx = esi + 0x4; /* 0x2E005F21: lea ebx, [esi + 4] */
   2298     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2299     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2300     ecx = ecx - edx; /* 0x2E005F24: sub ecx, edx */
   2301     _flag_k = FK_CMP;
   2302     edx = ebp + (-0x20); /* 0x2E005F26: lea edx, [ebp - 0x20] */
   2303     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005F29: mov dword ptr [ebp - 0x20], ecx */
   2304     PUSH32(esp, edx); /* 0x2E005F2C: push edx */
   2305     ecx = ebx; /* 0x2E005F2D: mov ecx, ebx */
   2306     MEM32(esi + 0x9C) = eax; /* 0x2E005F2F: mov dword ptr [esi + 0x9c], eax */
   2307     RECOMP_ICALL(0x2E003220u); /* 0x2E005F35: call 0x2e003220 */ /* not lifted */
   2308     RECOMP_FLAGS_IN();
   2309     eax = MEM32(esi + 0xAC); /* 0x2E005F3A: mov eax, dword ptr [esi + 0xac] */
   2310     edx = MEM32(esi + 0xB0); /* 0x2E005F40: mov edx, dword ptr [esi + 0xb0] */
   2311     ecx = eax; /* 0x2E005F46: mov ecx, eax */
   2312     MEM32(esi + 0xB0) = eax; /* 0x2E005F48: mov dword ptr [esi + 0xb0], eax */
   2313     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2314     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2315     ecx = ecx - edx; /* 0x2E005F4E: sub ecx, edx */
   2316     _flag_k = FK_CMP;
   2317     edx = ebp + (-0x1C); /* 0x2E005F50: lea edx, [ebp - 0x1c] */
   2318     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E005F53: mov dword ptr [ebp - 0x1c], ecx */
   2319     ecx = esi + 0x34; /* 0x2E005F56: lea ecx, [esi + 0x34] */
   2320     PUSH32(esp, edx); /* 0x2E005F59: push edx */
   2321     RECOMP_ICALL(0x2E003220u); /* 0x2E005F5A: call 0x2e003220 */ /* not lifted */
   2322     RECOMP_FLAGS_IN();
   2323     eax = MEM32(esi + 0x30); /* 0x2E005F5F: mov eax, dword ptr [esi + 0x30] */
   2324     ecx = MEM32(esi + 0x94); /* 0x2E005F62: mov ecx, dword ptr [esi + 0x94] */
   2325     /* cmp eax, ecx */ /* 0x2E005F68: cmp eax, ecx */
   2326     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2327     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2328     _flag_k = FK_CMP;
   2329     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005F82; /* 0x2E005F6A: jbe 0x2e005f82 */
   2330 L_2E005F6C:
   2331     ecx = ebx; /* 0x2E005F6C: mov ecx, ebx */
   2332     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005F6E: call 0x2e0073a0 */ /* not lifted */
   2333     RECOMP_FLAGS_IN();
   2334     ecx = edi; /* 0x2E005F73: mov ecx, edi */
   2335     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005F75: call 0x2e0073a0 */ /* not lifted */
   2336     RECOMP_FLAGS_IN();
   2337     ecx = esi + 0x34; /* 0x2E005F7A: lea ecx, [esi + 0x34] */
   2338     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005F7D: call 0x2e0073a0 */ /* not lifted */
   2339     RECOMP_FLAGS_IN();
   2340 L_2E005F82:
   2341     ecx = ebp + (-0x28); /* 0x2E005F82: lea ecx, [ebp - 0x28] */
   2342     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005F85: call 0x2e0048e0 */ /* not lifted */
   2343     RECOMP_FLAGS_IN();
   2344     ecx = ebp + (-0x28); /* 0x2E005F8A: lea ecx, [ebp - 0x28] */
   2345     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005F8D: mov byte ptr [ebp - 4], 1 */
   2346     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005F91: call 0x2e0048e0 */ /* not lifted */
   2347     RECOMP_FLAGS_IN();
   2348     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x100u);
   2349     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2350     esi = esi + 0x100u; /* 0x2E005F96: add esi, 0x100 */
   2351     _flag_k = FK_ADD;
   2352     /* cmp esi, 0x2E01B1CCu */ /* 0x2E005F9C: cmp esi, 0x2e01b1cc */
   2353     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x2E01B1CCu);
   2354     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2355     _flag_k = FK_CMP;
   2356     RECOMP_BACKEDGE();
   2357     if (CMP_L(_flag_a, _flag_b)) goto L_2E005EE8; /* 0x2E005FA2: jl 0x2e005ee8 */
   2358 L_2E005FA8:
   2359     ecx = MEM32(ebp + (-0x2C)); /* 0x2E005FA8: mov ecx, dword ptr [ebp - 0x2c] */
   2360     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   2361     eax = eax | 0xFFFFFFFFu; /* 0x2E005FAB: or eax, 0xffffffff */
   2362     _cf = 0;
   2363     _flag_k = FK_TEST;
   2364     esi = POP32_VAL(esp); /* 0x2E005FAE: pop esi */
   2365     /* cmp ecx, eax */ /* 0x2E005FAF: cmp ecx, eax */
   2366     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2367     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2368     _flag_k = FK_CMP;
   2369     MEM32(ebp + (-0x4)) = eax; /* 0x2E005FB1: mov dword ptr [ebp - 4], eax */
   2370     ebx = POP32_VAL(esp); /* 0x2E005FB4: pop ebx */
   2371     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E005FC2; /* 0x2E005FB5: je 0x2e005fc2 */
   2372 L_2E005FB7:
   2373     ecx = 0x2E01B1A0u; /* 0x2E005FB7: mov ecx, 0x2e01b1a0 */
   2374     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E005FBC: call dword ptr [0x2e0121a4] */
   2375     RECOMP_FLAGS_IN();
   2376 L_2E005FC2:
   2377     ecx = MEM32(ebp + (-0xC)); /* 0x2E005FC2: mov ecx, dword ptr [ebp - 0xc] */
   2378     edi = POP32_VAL(esp); /* 0x2E005FC5: pop edi */
   2379     MEM32(FS_BASE + (0)) = ecx; /* 0x2E005FC6: mov dword ptr fs:[0], ecx */
   2380     esp = ebp; /* 0x2E005FCD: mov esp, ebp */
   2381     ebp = POP32_VAL(esp); /* 0x2E005FCF: pop ebp */
   2382     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E005FD0: ret  */
   2383     RECOMP_REGS_OUT();
   2384 }
   2385 
   2386 void sub_2E005C50(void) {
   2387     int _fpu_cmp = 0;
   2388     uint32_t _cf = 0;
   2389     int _df = 1;
   2390     uint32_t _flag_k = FK_NONE;
   2391     uint32_t _flag_a = 0, _flag_b = 0;
   2392     uint32_t _itail_tgt = 0;
   2393     RECOMP_REGS_LOCALS
   2394     RECOMP_ENTER(0x2E005C50u);
   2395 
   2396 L_2E005C50:
   2397     PUSH32(esp, ebp); /* 0x2E005C50: push ebp */
   2398     ebp = esp; /* 0x2E005C51: mov ebp, esp */
   2399     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E005C53: push -1 */
   2400     PUSH32(esp, 0x2E0118B8u); /* 0x2E005C55: push 0x2e0118b8 */
   2401     eax = MEM32(FS_BASE + (0)); /* 0x2E005C5A: mov eax, dword ptr fs:[0] */
   2402     PUSH32(esp, eax); /* 0x2E005C60: push eax */
   2403     MEM32(FS_BASE + (0)) = esp; /* 0x2E005C61: mov dword ptr fs:[0], esp */
   2404     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u);
   2405     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2406     esp = esp - 0x44u; /* 0x2E005C68: sub esp, 0x44 */
   2407     _flag_k = FK_CMP;
   2408     PUSH32(esp, edi); /* 0x2E005C6B: push edi */
   2409     PUSH32(esp, 0); /* 0x2E005C6C: push 0 */
   2410     RECOMP_ICALL(MEM32(0x2E0120A4)); /* 0x2E005C6E: call dword ptr [0x2e0120a4] */
   2411     RECOMP_FLAGS_IN();
   2412     edi = eax; /* 0x2E005C74: mov edi, eax */
   2413     eax = MEM32(0x2E01B304); /* 0x2E005C76: mov eax, dword ptr [0x2e01b304] */
   2414     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5);
   2415     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2416     eax = eax + 5; /* 0x2E005C7B: add eax, 5 */
   2417     _flag_k = FK_ADD;
   2418     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2419     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2420     esp = esp + 4; /* 0x2E005C7E: add esp, 4 */
   2421     _flag_k = FK_ADD;
   2422     /* cmp edi, eax */ /* 0x2E005C81: cmp edi, eax */
   2423     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2424     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2425     _flag_k = FK_CMP;
   2426     if (CMP_LE(_flag_a, _flag_b)) goto L_2E005FC2; /* 0x2E005C83: jle 0x2e005fc2 */
   2427 L_2E005C89:
   2428     ecx = 0x2E01B1A0u; /* 0x2E005C89: mov ecx, 0x2e01b1a0 */
   2429     PUSH32(esp, ebx); /* 0x2E005C8E: push ebx */
   2430     PUSH32(esp, esi); /* 0x2E005C8F: push esi */
   2431     MEM32(ebp + (-0x30)) = ecx; /* 0x2E005C90: mov dword ptr [ebp - 0x30], ecx */
   2432     esi = MEM32(0x2E01212C); /* 0x2E005C93: mov esi, dword ptr [0x2e01212c] */
   2433     PUSH32(esp, 2); /* 0x2E005C99: push 2 */
   2434     PUSH32(esp, 0); /* 0x2E005C9B: push 0 */
   2435     PUSH32(esp, 0); /* 0x2E005C9D: push 0 */
   2436     PUSH32(esp, 0); /* 0x2E005C9F: push 0 */
   2437     MEM32(ebp + (-0x4)) = 0; /* 0x2E005CA1: mov dword ptr [ebp - 4], 0 */
   2438     RECOMP_ICALL(esi); /* 0x2E005CA8: call esi */
   2439     RECOMP_FLAGS_IN();
   2440     MEM32(ebp + (-0x2C)) = eax; /* 0x2E005CAA: mov dword ptr [ebp - 0x2c], eax */
   2441     ecx = ebp + (-0x20); /* 0x2E005CAD: lea ecx, [ebp - 0x20] */
   2442     MEM32(ebp + (-0x4)) = 1; /* 0x2E005CB0: mov dword ptr [ebp - 4], 1 */
   2443     PUSH32(esp, ecx); /* 0x2E005CB7: push ecx */
   2444     ecx = 0x2E01B180u; /* 0x2E005CB8: mov ecx, 0x2e01b180 */
   2445     RECOMP_ICALL(MEM32(0x2E012204)); /* 0x2E005CBD: call dword ptr [0x2e012204] */
   2446     RECOMP_FLAGS_IN();
   2447     edx = MEM32(eax); /* 0x2E005CC3: mov edx, dword ptr [eax] */
   2448     ecx = 0x2E01B180u; /* 0x2E005CC5: mov ecx, 0x2e01b180 */
   2449     MEM32(ebp + (-0x18)) = edx; /* 0x2E005CCA: mov dword ptr [ebp - 0x18], edx */
   2450     RECOMP_ICALL(MEM32(0x2E012208)); /* 0x2E005CCD: call dword ptr [0x2e012208] */
   2451     RECOMP_FLAGS_IN();
   2452     ecx = ebp + (-0x18); /* 0x2E005CD3: lea ecx, [ebp - 0x18] */
   2453     MEM32(0x2E01B304) = edi; /* 0x2E005CD6: mov dword ptr [0x2e01b304], edi */
   2454     RECOMP_ICALL(MEM32(0x2E01220C)); /* 0x2E005CDC: call dword ptr [0x2e01220c] */
   2455     RECOMP_FLAGS_IN();
   2456     ecx = MEM32(0x2E01B2EC); /* 0x2E005CE2: mov ecx, dword ptr [0x2e01b2ec] */
   2457     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2E005CE8: fst dword ptr [ebp - 0x14] */
   2458     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2E005CEB: fstp dword ptr [ebp - 0x10] */
   2459     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2460     ecx = ecx + 1; /* 0x2E005CEE: inc ecx */
   2461     _flag_k = FK_INC;
   2462     MEM32(0x2E01B2EC) = ecx; /* 0x2E005CEF: mov dword ptr [0x2e01b2ec], ecx */
   2463     ecx = 0x2E01AB84u; /* 0x2E005CF5: mov ecx, 0x2e01ab84 */
   2464     MEM32(ebp + (-0x28)) = ecx; /* 0x2E005CFA: mov dword ptr [ebp - 0x28], ecx */
   2465     PUSH32(esp, 2); /* 0x2E005CFD: push 2 */
   2466     PUSH32(esp, 0); /* 0x2E005CFF: push 0 */
   2467     PUSH32(esp, 0); /* 0x2E005D01: push 0 */
   2468     PUSH32(esp, 0); /* 0x2E005D03: push 0 */
   2469     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E005D05: mov byte ptr [ebp - 4], 2 */
   2470     RECOMP_ICALL(esi); /* 0x2E005D09: call esi */
   2471     RECOMP_FLAGS_IN();
   2472     MEM32(ebp + (-0x24)) = eax; /* 0x2E005D0B: mov dword ptr [ebp - 0x24], eax */
   2473     fp_push(*(float*)&MEM32(0x2E01ABCC)); /* 0x2E005D0E: fld dword ptr [0x2e01abcc] */
   2474     _st[0] += (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2E005D14: fadd dword ptr [ebp - 0x10] */
   2475     eax = MEM32(0x2E01AC5C); /* 0x2E005D17: mov eax, dword ptr [0x2e01ac5c] */
   2476     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2E005D1C: mov byte ptr [ebp - 4], 3 */
   2477     /* test eax, eax */ /* 0x2E005D20: test eax, eax */
   2478     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2479     _cf = 0;
   2480     _flag_k = FK_TEST;
   2481     { float _v = (float)fp_pop(); *(float*)ADDR(0x2E01ABCC) = _v; } /* 0x2E005D22: fstp dword ptr [0x2e01abcc] */
   2482     if (TEST_Z(_flag_a, _flag_b)) goto L_2E005D39; /* 0x2E005D28: je 0x2e005d39 */
   2483 L_2E005D2A:
   2484     eax = MEM32(0x2E01AC4C); /* 0x2E005D2A: mov eax, dword ptr [0x2e01ac4c] */
   2485     ecx = MEM32(0x2E01AC48); /* 0x2E005D2F: mov ecx, dword ptr [0x2e01ac48] */
   2486     /* cmp eax, ecx */ /* 0x2E005D35: cmp eax, ecx */
   2487     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2488     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2489     _flag_k = FK_CMP;
   2490     if (CMP_NE(_flag_a, _flag_b)) goto L_2E005D43; /* 0x2E005D37: jne 0x2e005d43 */
   2491 L_2E005D39:
   2492     ecx = 0x2E01AC30u; /* 0x2E005D39: mov ecx, 0x2e01ac30 */
   2493     RECOMP_ICALL(0x2E008400u); /* 0x2E005D3E: call 0x2e008400 */ /* not lifted */
   2494     RECOMP_FLAGS_IN();
   2495 L_2E005D43:
   2496     ecx = 0x2E01AC44u; /* 0x2E005D43: mov ecx, 0x2e01ac44 */
   2497     RECOMP_ICALL(0x2E003A80u); /* 0x2E005D48: call 0x2e003a80 */ /* not lifted */
   2498     RECOMP_FLAGS_IN();
   2499     ecx = ebp + (-0x50); /* 0x2E005D4D: lea ecx, [ebp - 0x50] */
   2500     PUSH32(esp, 1); /* 0x2E005D50: push 1 */
   2501     PUSH32(esp, ecx); /* 0x2E005D52: push ecx */
   2502     ecx = 0x2E01AC44u; /* 0x2E005D53: mov ecx, 0x2e01ac44 */
   2503     RECOMP_ICALL(0x2E004870u); /* 0x2E005D58: call 0x2e004870 */ /* not lifted */
   2504     RECOMP_FLAGS_IN();
   2505     edx = eax; /* 0x2E005D5D: mov edx, eax */
   2506     eax = MEM32(edx); /* 0x2E005D5F: mov eax, dword ptr [edx] */
   2507     MEM32(ebp + (-0x40)) = eax; /* 0x2E005D61: mov dword ptr [ebp - 0x40], eax */
   2508     ecx = MEM32(edx + 0x4); /* 0x2E005D64: mov ecx, dword ptr [edx + 4] */
   2509     MEM32(ebp + (-0x3C)) = ecx; /* 0x2E005D67: mov dword ptr [ebp - 0x3c], ecx */
   2510     ecx = ebp + (-0x10); /* 0x2E005D6A: lea ecx, [ebp - 0x10] */
   2511     eax = MEM32(edx + 0x8); /* 0x2E005D6D: mov eax, dword ptr [edx + 8] */
   2512     PUSH32(esp, ecx); /* 0x2E005D70: push ecx */
   2513     PUSH32(esp, eax); /* 0x2E005D71: push eax */
   2514     edx = MEM32(edx + 0xC); /* 0x2E005D72: mov edx, dword ptr [edx + 0xc] */
   2515     MEM32(ebp + (-0x34)) = edx; /* 0x2E005D75: mov dword ptr [ebp - 0x34], edx */
   2516     RECOMP_ICALL(0x2E008600u); /* 0x2E005D78: call 0x2e008600 */ /* not lifted */
   2517     RECOMP_FLAGS_IN();
   2518     eax = MEM32(0x2E01AC64); /* 0x2E005D7D: mov eax, dword ptr [0x2e01ac64] */
   2519     edi = MEM32(0x2E01AC68); /* 0x2E005D82: mov edi, dword ptr [0x2e01ac68] */
   2520     ebx = MEM32(0x2E01AC5C); /* 0x2E005D88: mov ebx, dword ptr [0x2e01ac5c] */
   2521     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2522     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2523     esp = esp + 8; /* 0x2E005D8E: add esp, 8 */
   2524     _flag_k = FK_ADD;
   2525     edx = eax; /* 0x2E005D91: mov edx, eax */
   2526     MEM32(0x2E01AC68) = eax; /* 0x2E005D93: mov dword ptr [0x2e01ac68], eax */
   2527     eax = ebp + (-0x1C); /* 0x2E005D98: lea eax, [ebp - 0x1c] */
   2528     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   2529     ebx = ebx + 1; /* 0x2E005D9B: inc ebx */
   2530     _flag_k = FK_INC;
   2531     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   2532     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2533     edx = edx - edi; /* 0x2E005D9C: sub edx, edi */
   2534     _flag_k = FK_CMP;
   2535     PUSH32(esp, eax); /* 0x2E005D9E: push eax */
   2536     ecx = 0x2E01ABD0u; /* 0x2E005D9F: mov ecx, 0x2e01abd0 */
   2537     MEM32(0x2E01AC5C) = ebx; /* 0x2E005DA4: mov dword ptr [0x2e01ac5c], ebx */
   2538     MEM32(ebp + (-0x1C)) = edx; /* 0x2E005DAA: mov dword ptr [ebp - 0x1c], edx */
   2539     RECOMP_ICALL(0x2E003220u); /* 0x2E005DAD: call 0x2e003220 */ /* not lifted */
   2540     RECOMP_FLAGS_IN();
   2541     eax = MEM32(0x2E01AC78); /* 0x2E005DB2: mov eax, dword ptr [0x2e01ac78] */
   2542     ebx = MEM32(0x2E01AC7C); /* 0x2E005DB7: mov ebx, dword ptr [0x2e01ac7c] */
   2543     ecx = eax; /* 0x2E005DBD: mov ecx, eax */
   2544     edx = ebp + (-0x20); /* 0x2E005DBF: lea edx, [ebp - 0x20] */
   2545     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   2546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2547     ecx = ecx - ebx; /* 0x2E005DC2: sub ecx, ebx */
   2548     _flag_k = FK_CMP;
   2549     PUSH32(esp, edx); /* 0x2E005DC4: push edx */
   2550     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005DC5: mov dword ptr [ebp - 0x20], ecx */
   2551     ecx = 0x2E01AC00u; /* 0x2E005DC8: mov ecx, 0x2e01ac00 */
   2552     MEM32(0x2E01AC7C) = eax; /* 0x2E005DCD: mov dword ptr [0x2e01ac7c], eax */
   2553     RECOMP_ICALL(0x2E003220u); /* 0x2E005DD2: call 0x2e003220 */ /* not lifted */
   2554     RECOMP_FLAGS_IN();
   2555     eax = MEM32(0x2E01ABFC); /* 0x2E005DD7: mov eax, dword ptr [0x2e01abfc] */
   2556     ecx = MEM32(0x2E01AC60); /* 0x2E005DDC: mov ecx, dword ptr [0x2e01ac60] */
   2557     /* cmp eax, ecx */ /* 0x2E005DE2: cmp eax, ecx */
   2558     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2559     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2560     _flag_k = FK_CMP;
   2561     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005E04; /* 0x2E005DE4: jbe 0x2e005e04 */
   2562 L_2E005DE6:
   2563     ecx = 0x2E01ABD0u; /* 0x2E005DE6: mov ecx, 0x2e01abd0 */
   2564     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005DEB: call 0x2e0073a0 */ /* not lifted */
   2565     RECOMP_FLAGS_IN();
   2566     ecx = 0x2E01AC30u; /* 0x2E005DF0: mov ecx, 0x2e01ac30 */
   2567     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005DF5: call 0x2e0073a0 */ /* not lifted */
   2568     RECOMP_FLAGS_IN();
   2569     ecx = 0x2E01AC00u; /* 0x2E005DFA: mov ecx, 0x2e01ac00 */
   2570     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005DFF: call 0x2e0073a0 */ /* not lifted */
   2571     RECOMP_FLAGS_IN();
   2572 L_2E005E04:
   2573     ecx = ebp + (-0x28); /* 0x2E005E04: lea ecx, [ebp - 0x28] */
   2574     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005E07: call 0x2e0048e0 */ /* not lifted */
   2575     RECOMP_FLAGS_IN();
   2576     ecx = ebp + (-0x28); /* 0x2E005E0C: lea ecx, [ebp - 0x28] */
   2577     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005E0F: mov byte ptr [ebp - 4], 1 */
   2578     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005E13: call 0x2e0048e0 */ /* not lifted */
   2579     RECOMP_FLAGS_IN();
   2580     eax = MEM32(ebp + (-0x14)); /* 0x2E005E18: mov eax, dword ptr [ebp - 0x14] */
   2581     ecx = 0x2E01B1ECu; /* 0x2E005E1B: mov ecx, 0x2e01b1ec */
   2582     MEM32(ebp + (-0x10)) = eax; /* 0x2E005E20: mov dword ptr [ebp - 0x10], eax */
   2583     MEM32(ebp + (-0x28)) = ecx; /* 0x2E005E23: mov dword ptr [ebp - 0x28], ecx */
   2584     PUSH32(esp, 2); /* 0x2E005E26: push 2 */
   2585     PUSH32(esp, 0); /* 0x2E005E28: push 0 */
   2586     PUSH32(esp, 0); /* 0x2E005E2A: push 0 */
   2587     PUSH32(esp, 0); /* 0x2E005E2C: push 0 */
   2588     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2E005E2E: mov byte ptr [ebp - 4], 4 */
   2589     RECOMP_ICALL(esi); /* 0x2E005E32: call esi */
   2590     RECOMP_FLAGS_IN();
   2591     MEM32(ebp + (-0x24)) = eax; /* 0x2E005E34: mov dword ptr [ebp - 0x24], eax */
   2592     fp_push(*(float*)&MEM32(0x2E01B234)); /* 0x2E005E37: fld dword ptr [0x2e01b234] */
   2593     _st[0] += (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2E005E3D: fadd dword ptr [ebp - 0x10] */
   2594     ecx = ebp + (-0x10); /* 0x2E005E40: lea ecx, [ebp - 0x10] */
   2595     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2E005E43: mov byte ptr [ebp - 4], 5 */
   2596     PUSH32(esp, ecx); /* 0x2E005E47: push ecx */
   2597     ecx = 0x2E01B298u; /* 0x2E005E48: mov ecx, 0x2e01b298 */
   2598     { float _v = (float)fp_pop(); *(float*)ADDR(0x2E01B234) = _v; } /* 0x2E005E4D: fstp dword ptr [0x2e01b234] */
   2599     RECOMP_ICALL(0x2E003220u); /* 0x2E005E53: call 0x2e003220 */ /* not lifted */
   2600     RECOMP_FLAGS_IN();
   2601     eax = MEM32(0x2E01B2CC); /* 0x2E005E58: mov eax, dword ptr [0x2e01b2cc] */
   2602     ecx = MEM32(0x2E01B2D0); /* 0x2E005E5D: mov ecx, dword ptr [0x2e01b2d0] */
   2603     edx = eax; /* 0x2E005E63: mov edx, eax */
   2604     MEM32(0x2E01B2D0) = eax; /* 0x2E005E65: mov dword ptr [0x2e01b2d0], eax */
   2605     eax = ebp + (-0x20); /* 0x2E005E6A: lea eax, [ebp - 0x20] */
   2606     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2608     edx = edx - ecx; /* 0x2E005E6D: sub edx, ecx */
   2609     _flag_k = FK_CMP;
   2610     PUSH32(esp, eax); /* 0x2E005E6F: push eax */
   2611     ecx = 0x2E01B238u; /* 0x2E005E70: mov ecx, 0x2e01b238 */
   2612     MEM32(ebp + (-0x20)) = edx; /* 0x2E005E75: mov dword ptr [ebp - 0x20], edx */
   2613     RECOMP_ICALL(0x2E003220u); /* 0x2E005E78: call 0x2e003220 */ /* not lifted */
   2614     RECOMP_FLAGS_IN();
   2615     eax = MEM32(0x2E01B2E0); /* 0x2E005E7D: mov eax, dword ptr [0x2e01b2e0] */
   2616     edi = MEM32(0x2E01B2E4); /* 0x2E005E82: mov edi, dword ptr [0x2e01b2e4] */
   2617     ecx = eax; /* 0x2E005E88: mov ecx, eax */
   2618     edx = ebp + (-0x1C); /* 0x2E005E8A: lea edx, [ebp - 0x1c] */
   2619     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   2620     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2621     ecx = ecx - edi; /* 0x2E005E8D: sub ecx, edi */
   2622     _flag_k = FK_CMP;
   2623     PUSH32(esp, edx); /* 0x2E005E8F: push edx */
   2624     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E005E90: mov dword ptr [ebp - 0x1c], ecx */
   2625     ecx = 0x2E01B268u; /* 0x2E005E93: mov ecx, 0x2e01b268 */
   2626     MEM32(0x2E01B2E4) = eax; /* 0x2E005E98: mov dword ptr [0x2e01b2e4], eax */
   2627     RECOMP_ICALL(0x2E003220u); /* 0x2E005E9D: call 0x2e003220 */ /* not lifted */
   2628     RECOMP_FLAGS_IN();
   2629     eax = MEM32(0x2E01B264); /* 0x2E005EA2: mov eax, dword ptr [0x2e01b264] */
   2630     ecx = MEM32(0x2E01B2C8); /* 0x2E005EA7: mov ecx, dword ptr [0x2e01b2c8] */
   2631     /* cmp eax, ecx */ /* 0x2E005EAD: cmp eax, ecx */
   2632     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2633     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2634     _flag_k = FK_CMP;
   2635     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005ECF; /* 0x2E005EAF: jbe 0x2e005ecf */
   2636 L_2E005EB1:
   2637     ecx = 0x2E01B238u; /* 0x2E005EB1: mov ecx, 0x2e01b238 */
   2638     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005EB6: call 0x2e0073a0 */ /* not lifted */
   2639     RECOMP_FLAGS_IN();
   2640     ecx = 0x2E01B298u; /* 0x2E005EBB: mov ecx, 0x2e01b298 */
   2641     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005EC0: call 0x2e0073a0 */ /* not lifted */
   2642     RECOMP_FLAGS_IN();
   2643     ecx = 0x2E01B268u; /* 0x2E005EC5: mov ecx, 0x2e01b268 */
   2644     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005ECA: call 0x2e0073a0 */ /* not lifted */
   2645     RECOMP_FLAGS_IN();
   2646 L_2E005ECF:
   2647     ecx = ebp + (-0x28); /* 0x2E005ECF: lea ecx, [ebp - 0x28] */
   2648     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005ED2: call 0x2e0048e0 */ /* not lifted */
   2649     RECOMP_FLAGS_IN();
   2650     ecx = ebp + (-0x28); /* 0x2E005ED7: lea ecx, [ebp - 0x28] */
   2651     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005EDA: mov byte ptr [ebp - 4], 1 */
   2652     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005EDE: call 0x2e0048e0 */ /* not lifted */
   2653     RECOMP_FLAGS_IN();
   2654     esi = 0x2E01ACCCu; /* 0x2E005EE3: mov esi, 0x2e01accc */
   2655 L_2E005EE8:
   2656     eax = MEM32(ebp + (-0x14)); /* 0x2E005EE8: mov eax, dword ptr [ebp - 0x14] */
   2657     ecx = esi + (-0x48); /* 0x2E005EEB: lea ecx, [esi - 0x48] */
   2658     PUSH32(esp, ecx); /* 0x2E005EEE: push ecx */
   2659     ecx = ebp + (-0x28); /* 0x2E005EEF: lea ecx, [ebp - 0x28] */
   2660     MEM32(ebp + (-0x10)) = eax; /* 0x2E005EF2: mov dword ptr [ebp - 0x10], eax */
   2661     RECOMP_ICALL(0x2E008130u); /* 0x2E005EF5: call 0x2e008130 */ /* not lifted */
   2662     RECOMP_FLAGS_IN();
   2663     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E005EFA: fld dword ptr [ebp - 0x10] */
   2664     _st[0] += (double)*(float*)ADDR(esi); /* 0x2E005EFD: fadd dword ptr [esi] */
   2665     edi = esi + 0x64; /* 0x2E005EFF: lea edi, [esi + 0x64] */
   2666     edx = ebp + (-0x10); /* 0x2E005F02: lea edx, [ebp - 0x10] */
   2667     PUSH32(esp, edx); /* 0x2E005F05: push edx */
   2668     ecx = edi; /* 0x2E005F06: mov ecx, edi */
   2669     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2E005F08: mov byte ptr [ebp - 4], 6 */
   2670     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x2E005F0C: fstp dword ptr [esi] */
   2671     RECOMP_ICALL(0x2E003220u); /* 0x2E005F0E: call 0x2e003220 */ /* not lifted */
   2672     RECOMP_FLAGS_IN();
   2673     eax = MEM32(esi + 0x98); /* 0x2E005F13: mov eax, dword ptr [esi + 0x98] */
   2674     edx = MEM32(esi + 0x9C); /* 0x2E005F19: mov edx, dword ptr [esi + 0x9c] */
   2675     ecx = eax; /* 0x2E005F1F: mov ecx, eax */
   2676     ebx = esi + 0x4; /* 0x2E005F21: lea ebx, [esi + 4] */
   2677     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2678     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2679     ecx = ecx - edx; /* 0x2E005F24: sub ecx, edx */
   2680     _flag_k = FK_CMP;
   2681     edx = ebp + (-0x20); /* 0x2E005F26: lea edx, [ebp - 0x20] */
   2682     MEM32(ebp + (-0x20)) = ecx; /* 0x2E005F29: mov dword ptr [ebp - 0x20], ecx */
   2683     PUSH32(esp, edx); /* 0x2E005F2C: push edx */
   2684     ecx = ebx; /* 0x2E005F2D: mov ecx, ebx */
   2685     MEM32(esi + 0x9C) = eax; /* 0x2E005F2F: mov dword ptr [esi + 0x9c], eax */
   2686     RECOMP_ICALL(0x2E003220u); /* 0x2E005F35: call 0x2e003220 */ /* not lifted */
   2687     RECOMP_FLAGS_IN();
   2688     eax = MEM32(esi + 0xAC); /* 0x2E005F3A: mov eax, dword ptr [esi + 0xac] */
   2689     edx = MEM32(esi + 0xB0); /* 0x2E005F40: mov edx, dword ptr [esi + 0xb0] */
   2690     ecx = eax; /* 0x2E005F46: mov ecx, eax */
   2691     MEM32(esi + 0xB0) = eax; /* 0x2E005F48: mov dword ptr [esi + 0xb0], eax */
   2692     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2693     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2694     ecx = ecx - edx; /* 0x2E005F4E: sub ecx, edx */
   2695     _flag_k = FK_CMP;
   2696     edx = ebp + (-0x1C); /* 0x2E005F50: lea edx, [ebp - 0x1c] */
   2697     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E005F53: mov dword ptr [ebp - 0x1c], ecx */
   2698     ecx = esi + 0x34; /* 0x2E005F56: lea ecx, [esi + 0x34] */
   2699     PUSH32(esp, edx); /* 0x2E005F59: push edx */
   2700     RECOMP_ICALL(0x2E003220u); /* 0x2E005F5A: call 0x2e003220 */ /* not lifted */
   2701     RECOMP_FLAGS_IN();
   2702     eax = MEM32(esi + 0x30); /* 0x2E005F5F: mov eax, dword ptr [esi + 0x30] */
   2703     ecx = MEM32(esi + 0x94); /* 0x2E005F62: mov ecx, dword ptr [esi + 0x94] */
   2704     /* cmp eax, ecx */ /* 0x2E005F68: cmp eax, ecx */
   2705     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2706     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2707     _flag_k = FK_CMP;
   2708     if (CMP_BE(_flag_a, _flag_b)) goto L_2E005F82; /* 0x2E005F6A: jbe 0x2e005f82 */
   2709 L_2E005F6C:
   2710     ecx = ebx; /* 0x2E005F6C: mov ecx, ebx */
   2711     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005F6E: call 0x2e0073a0 */ /* not lifted */
   2712     RECOMP_FLAGS_IN();
   2713     ecx = edi; /* 0x2E005F73: mov ecx, edi */
   2714     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005F75: call 0x2e0073a0 */ /* not lifted */
   2715     RECOMP_FLAGS_IN();
   2716     ecx = esi + 0x34; /* 0x2E005F7A: lea ecx, [esi + 0x34] */
   2717     RECOMP_ICALL(0x2E0073A0u); /* 0x2E005F7D: call 0x2e0073a0 */ /* not lifted */
   2718     RECOMP_FLAGS_IN();
   2719 L_2E005F82:
   2720     ecx = ebp + (-0x28); /* 0x2E005F82: lea ecx, [ebp - 0x28] */
   2721     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005F85: call 0x2e0048e0 */ /* not lifted */
   2722     RECOMP_FLAGS_IN();
   2723     ecx = ebp + (-0x28); /* 0x2E005F8A: lea ecx, [ebp - 0x28] */
   2724     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E005F8D: mov byte ptr [ebp - 4], 1 */
   2725     RECOMP_ICALL(0x2E0048E0u); /* 0x2E005F91: call 0x2e0048e0 */ /* not lifted */
   2726     RECOMP_FLAGS_IN();
   2727     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x100u);
   2728     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2729     esi = esi + 0x100u; /* 0x2E005F96: add esi, 0x100 */
   2730     _flag_k = FK_ADD;
   2731     /* cmp esi, 0x2E01B1CCu */ /* 0x2E005F9C: cmp esi, 0x2e01b1cc */
   2732     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x2E01B1CCu);
   2733     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2734     _flag_k = FK_CMP;
   2735     RECOMP_BACKEDGE();
   2736     if (CMP_L(_flag_a, _flag_b)) goto L_2E005EE8; /* 0x2E005FA2: jl 0x2e005ee8 */
   2737 L_2E005FA8:
   2738     ecx = MEM32(ebp + (-0x2C)); /* 0x2E005FA8: mov ecx, dword ptr [ebp - 0x2c] */
   2739     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   2740     eax = eax | 0xFFFFFFFFu; /* 0x2E005FAB: or eax, 0xffffffff */
   2741     _cf = 0;
   2742     _flag_k = FK_TEST;
   2743     esi = POP32_VAL(esp); /* 0x2E005FAE: pop esi */
   2744     /* cmp ecx, eax */ /* 0x2E005FAF: cmp ecx, eax */
   2745     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2746     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2747     _flag_k = FK_CMP;
   2748     MEM32(ebp + (-0x4)) = eax; /* 0x2E005FB1: mov dword ptr [ebp - 4], eax */
   2749     ebx = POP32_VAL(esp); /* 0x2E005FB4: pop ebx */
   2750     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E005FC2; /* 0x2E005FB5: je 0x2e005fc2 */
   2751 L_2E005FB7:
   2752     ecx = 0x2E01B1A0u; /* 0x2E005FB7: mov ecx, 0x2e01b1a0 */
   2753     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E005FBC: call dword ptr [0x2e0121a4] */
   2754     RECOMP_FLAGS_IN();
   2755 L_2E005FC2:
   2756     ecx = MEM32(ebp + (-0xC)); /* 0x2E005FC2: mov ecx, dword ptr [ebp - 0xc] */
   2757     edi = POP32_VAL(esp); /* 0x2E005FC5: pop edi */
   2758     MEM32(FS_BASE + (0)) = ecx; /* 0x2E005FC6: mov dword ptr fs:[0], ecx */
   2759     esp = ebp; /* 0x2E005FCD: mov esp, ebp */
   2760     ebp = POP32_VAL(esp); /* 0x2E005FCF: pop ebp */
   2761     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E005FD0: ret  */
   2762     RECOMP_REGS_OUT();
   2763 }
   2764 
   2765 void sub_2E005FE0(void) {
   2766     int _fpu_cmp = 0;
   2767     uint32_t _cf = 0;
   2768     int _df = 1;
   2769     uint32_t _flag_k = FK_NONE;
   2770     uint32_t _flag_a = 0, _flag_b = 0;
   2771     uint32_t _itail_tgt = 0;
   2772     RECOMP_REGS_LOCALS
   2773     RECOMP_ENTER(0x2E005FE0u);
   2774 
   2775 L_2E005FE0:
   2776     PUSH32(esp, ebp); /* 0x2E005FE0: push ebp */
   2777     ebp = esp; /* 0x2E005FE1: mov ebp, esp */
   2778     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E005FE3: push -1 */
   2779     PUSH32(esp, 0x2E0118E8u); /* 0x2E005FE5: push 0x2e0118e8 */
   2780     eax = MEM32(FS_BASE + (0)); /* 0x2E005FEA: mov eax, dword ptr fs:[0] */
   2781     PUSH32(esp, eax); /* 0x2E005FF0: push eax */
   2782     MEM32(FS_BASE + (0)) = esp; /* 0x2E005FF1: mov dword ptr fs:[0], esp */
   2783     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x78u);
   2784     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2785     esp = esp - 0x78u; /* 0x2E005FF8: sub esp, 0x78 */
   2786     _flag_k = FK_CMP;
   2787     PUSH32(esp, ebx); /* 0x2E005FFB: push ebx */
   2788     PUSH32(esp, esi); /* 0x2E005FFC: push esi */
   2789     esi = ecx; /* 0x2E005FFD: mov esi, ecx */
   2790     PUSH32(esp, edi); /* 0x2E005FFF: push edi */
   2791     ecx = esi + 0x76C; /* 0x2E006000: lea ecx, [esi + 0x76c] */
   2792     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E006006: mov dword ptr [ebp - 0x1c], ecx */
   2793     PUSH32(esp, 1); /* 0x2E006009: push 1 */
   2794     PUSH32(esp, 0); /* 0x2E00600B: push 0 */
   2795     PUSH32(esp, 0); /* 0x2E00600D: push 0 */
   2796     PUSH32(esp, 0); /* 0x2E00600F: push 0 */
   2797     MEM32(ebp + (-0x4)) = 0; /* 0x2E006011: mov dword ptr [ebp - 4], 0 */
   2798     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E006018: call dword ptr [0x2e01212c] */
   2799     RECOMP_FLAGS_IN();
   2800     MEM32(ebp + (-0x18)) = eax; /* 0x2E00601E: mov dword ptr [ebp - 0x18], eax */
   2801     ecx = esi; /* 0x2E006021: mov ecx, esi */
   2802     MEM32(ebp + (-0x4)) = 1; /* 0x2E006023: mov dword ptr [ebp - 4], 1 */
   2803     RECOMP_ICALL(0x2E0058D0u); /* 0x2E00602A: call 0x2e0058d0 */ /* not lifted */
   2804     RECOMP_FLAGS_IN();
   2805     eax = esi + 0x1C; /* 0x2E00602F: lea eax, [esi + 0x1c] */
   2806     ecx = ebp + (-0x24); /* 0x2E006032: lea ecx, [ebp - 0x24] */
   2807     PUSH32(esp, eax); /* 0x2E006035: push eax */
   2808     RECOMP_ICALL(0x2E008180u); /* 0x2E006036: call 0x2e008180 */ /* not lifted */
   2809     RECOMP_FLAGS_IN();
   2810     eax = MEM32(esi + 0x94); /* 0x2E00603B: mov eax, dword ptr [esi + 0x94] */
   2811     edi = MEM32(ebp + 0x8); /* 0x2E006041: mov edi, dword ptr [ebp + 8] */
   2812     ebx = MEM32(0x2E0121E8); /* 0x2E006044: mov ebx, dword ptr [0x2e0121e8] */
   2813     PUSH32(esp, eax); /* 0x2E00604A: push eax */
   2814     ecx = edi; /* 0x2E00604B: mov ecx, edi */
   2815     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2E00604D: mov byte ptr [ebp - 4], 2 */
   2816     RECOMP_ICALL(ebx); /* 0x2E006051: call ebx */
   2817     RECOMP_FLAGS_IN();
   2818     edx = ebp + (-0x64); /* 0x2E006053: lea edx, [ebp - 0x64] */
   2819     ecx = esi + 0x68; /* 0x2E006056: lea ecx, [esi + 0x68] */
   2820     PUSH32(esp, edx); /* 0x2E006059: push edx */
   2821     RECOMP_ICALL(0x2E0082F0u); /* 0x2E00605A: call 0x2e0082f0 */ /* not lifted */
   2822     RECOMP_FLAGS_IN();
   2823     ecx = MEM32(eax); /* 0x2E00605F: mov ecx, dword ptr [eax] */
   2824     MEM32(ebp + (-0x34)) = ecx; /* 0x2E006061: mov dword ptr [ebp - 0x34], ecx */
   2825     edx = MEM32(eax + 0x4); /* 0x2E006064: mov edx, dword ptr [eax + 4] */
   2826     MEM32(ebp + (-0x30)) = edx; /* 0x2E006067: mov dword ptr [ebp - 0x30], edx */
   2827     ecx = MEM32(eax + 0x8); /* 0x2E00606A: mov ecx, dword ptr [eax + 8] */
   2828     MEM32(ebp + (-0x2C)) = ecx; /* 0x2E00606D: mov dword ptr [ebp - 0x2c], ecx */
   2829     ecx = esi + 0x68; /* 0x2E006070: lea ecx, [esi + 0x68] */
   2830     edx = MEM32(eax + 0xC); /* 0x2E006073: mov edx, dword ptr [eax + 0xc] */
   2831     eax = ebp + (-0x64); /* 0x2E006076: lea eax, [ebp - 0x64] */
   2832     PUSH32(esp, eax); /* 0x2E006079: push eax */
   2833     MEM32(ebp + (-0x28)) = edx; /* 0x2E00607A: mov dword ptr [ebp - 0x28], edx */
   2834     RECOMP_ICALL(0x2E008320u); /* 0x2E00607D: call 0x2e008320 */ /* not lifted */
   2835     RECOMP_FLAGS_IN();
   2836     ecx = ebp + (-0x34); /* 0x2E006082: lea ecx, [ebp - 0x34] */
   2837     PUSH32(esp, eax); /* 0x2E006085: push eax */
   2838     PUSH32(esp, ecx); /* 0x2E006086: push ecx */
   2839     RECOMP_ICALL(0x2E008620u); /* 0x2E006087: call 0x2e008620 */ /* not lifted */
   2840     RECOMP_FLAGS_IN();
   2841     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2842     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2843     esp = esp + 8; /* 0x2E00608C: add esp, 8 */
   2844     _flag_k = FK_ADD;
   2845     /* test LO8(eax), LO8(eax) */ /* 0x2E00608F: test al, al */
   2846     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2847     _cf = 0;
   2848     _flag_k = FK_NARROW(FK_TEST, 24);
   2849     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0060D9; /* 0x2E006091: jne 0x2e0060d9 */
   2850 L_2E006093:
   2851     edx = ebp + (-0x74); /* 0x2E006093: lea edx, [ebp - 0x74] */
   2852     PUSH32(esp, 1); /* 0x2E006096: push 1 */
   2853     PUSH32(esp, edx); /* 0x2E006098: push edx */
   2854     ecx = ebp + (-0x34); /* 0x2E006099: lea ecx, [ebp - 0x34] */
   2855     RECOMP_ICALL(0x2E004870u); /* 0x2E00609C: call 0x2e004870 */ /* not lifted */
   2856     RECOMP_FLAGS_IN();
   2857     eax = MEM32(eax + 0x8); /* 0x2E0060A1: mov eax, dword ptr [eax + 8] */
   2858     ecx = edi; /* 0x2E0060A4: mov ecx, edi */
   2859     eax = MEM32(eax); /* 0x2E0060A6: mov eax, dword ptr [eax] */
   2860     PUSH32(esp, eax); /* 0x2E0060A8: push eax */
   2861     RECOMP_ICALL(ebx); /* 0x2E0060A9: call ebx */
   2862     RECOMP_FLAGS_IN();
   2863     eax = ebp + (-0x84); /* 0x2E0060AB: lea eax, [ebp - 0x84] */
   2864     PUSH32(esp, 0); /* 0x2E0060B1: push 0 */
   2865     PUSH32(esp, eax); /* 0x2E0060B3: push eax */
   2866     ecx = ebp + (-0x34); /* 0x2E0060B4: lea ecx, [ebp - 0x34] */
   2867     RECOMP_ICALL(0x2E008370u); /* 0x2E0060B7: call 0x2e008370 */ /* not lifted */
   2868     RECOMP_FLAGS_IN();
   2869     ecx = ebp + (-0x64); /* 0x2E0060BC: lea ecx, [ebp - 0x64] */
   2870     PUSH32(esp, ecx); /* 0x2E0060BF: push ecx */
   2871     ecx = esi + 0x68; /* 0x2E0060C0: lea ecx, [esi + 0x68] */
   2872     RECOMP_ICALL(0x2E008320u); /* 0x2E0060C3: call 0x2e008320 */ /* not lifted */
   2873     RECOMP_FLAGS_IN();
   2874     edx = ebp + (-0x34); /* 0x2E0060C8: lea edx, [ebp - 0x34] */
   2875     PUSH32(esp, eax); /* 0x2E0060CB: push eax */
   2876     PUSH32(esp, edx); /* 0x2E0060CC: push edx */
   2877     RECOMP_ICALL(0x2E008620u); /* 0x2E0060CD: call 0x2e008620 */ /* not lifted */
   2878     RECOMP_FLAGS_IN();
   2879     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2880     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2881     esp = esp + 8; /* 0x2E0060D2: add esp, 8 */
   2882     _flag_k = FK_ADD;
   2883     /* test LO8(eax), LO8(eax) */ /* 0x2E0060D5: test al, al */
   2884     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2885     _cf = 0;
   2886     _flag_k = FK_NARROW(FK_TEST, 24);
   2887     RECOMP_BACKEDGE();
   2888     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006093; /* 0x2E0060D7: je 0x2e006093 */
   2889 L_2E0060D9:
   2890     eax = MEM32(esi + 0x94); /* 0x2E0060D9: mov eax, dword ptr [esi + 0x94] */
   2891     ecx = edi; /* 0x2E0060DF: mov ecx, edi */
   2892     PUSH32(esp, eax); /* 0x2E0060E1: push eax */
   2893     RECOMP_ICALL(ebx); /* 0x2E0060E2: call ebx */
   2894     RECOMP_FLAGS_IN();
   2895     eax = ebp + (-0x84); /* 0x2E0060E4: lea eax, [ebp - 0x84] */
   2896     ecx = esi + 0x98; /* 0x2E0060EA: lea ecx, [esi + 0x98] */
   2897     PUSH32(esp, eax); /* 0x2E0060F0: push eax */
   2898     RECOMP_ICALL(0x2E0082F0u); /* 0x2E0060F1: call 0x2e0082f0 */ /* not lifted */
   2899     RECOMP_FLAGS_IN();
   2900     ecx = MEM32(eax); /* 0x2E0060F6: mov ecx, dword ptr [eax] */
   2901     MEM32(ebp + (-0x44)) = ecx; /* 0x2E0060F8: mov dword ptr [ebp - 0x44], ecx */
   2902     edx = MEM32(eax + 0x4); /* 0x2E0060FB: mov edx, dword ptr [eax + 4] */
   2903     MEM32(ebp + (-0x40)) = edx; /* 0x2E0060FE: mov dword ptr [ebp - 0x40], edx */
   2904     ecx = MEM32(eax + 0x8); /* 0x2E006101: mov ecx, dword ptr [eax + 8] */
   2905     MEM32(ebp + (-0x3C)) = ecx; /* 0x2E006104: mov dword ptr [ebp - 0x3c], ecx */
   2906     ecx = esi + 0x98; /* 0x2E006107: lea ecx, [esi + 0x98] */
   2907     edx = MEM32(eax + 0xC); /* 0x2E00610D: mov edx, dword ptr [eax + 0xc] */
   2908     eax = ebp + (-0x64); /* 0x2E006110: lea eax, [ebp - 0x64] */
   2909     PUSH32(esp, eax); /* 0x2E006113: push eax */
   2910     MEM32(ebp + (-0x38)) = edx; /* 0x2E006114: mov dword ptr [ebp - 0x38], edx */
   2911     RECOMP_ICALL(0x2E008320u); /* 0x2E006117: call 0x2e008320 */ /* not lifted */
   2912     RECOMP_FLAGS_IN();
   2913     ecx = ebp + (-0x44); /* 0x2E00611C: lea ecx, [ebp - 0x44] */
   2914     PUSH32(esp, eax); /* 0x2E00611F: push eax */
   2915     PUSH32(esp, ecx); /* 0x2E006120: push ecx */
   2916     RECOMP_ICALL(0x2E008620u); /* 0x2E006121: call 0x2e008620 */ /* not lifted */
   2917     RECOMP_FLAGS_IN();
   2918     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2919     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2920     esp = esp + 8; /* 0x2E006126: add esp, 8 */
   2921     _flag_k = FK_ADD;
   2922     /* test LO8(eax), LO8(eax) */ /* 0x2E006129: test al, al */
   2923     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2924     _cf = 0;
   2925     _flag_k = FK_NARROW(FK_TEST, 24);
   2926     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E006176; /* 0x2E00612B: jne 0x2e006176 */
   2927 L_2E00612D:
   2928     edx = ebp + (-0x84); /* 0x2E00612D: lea edx, [ebp - 0x84] */
   2929     PUSH32(esp, 1); /* 0x2E006133: push 1 */
   2930     PUSH32(esp, edx); /* 0x2E006135: push edx */
   2931     ecx = ebp + (-0x44); /* 0x2E006136: lea ecx, [ebp - 0x44] */
   2932     RECOMP_ICALL(0x2E004870u); /* 0x2E006139: call 0x2e004870 */ /* not lifted */
   2933     RECOMP_FLAGS_IN();
   2934     eax = MEM32(eax + 0x8); /* 0x2E00613E: mov eax, dword ptr [eax + 8] */
   2935     ecx = edi; /* 0x2E006141: mov ecx, edi */
   2936     eax = MEM32(eax); /* 0x2E006143: mov eax, dword ptr [eax] */
   2937     PUSH32(esp, eax); /* 0x2E006145: push eax */
   2938     RECOMP_ICALL(ebx); /* 0x2E006146: call ebx */
   2939     RECOMP_FLAGS_IN();
   2940     eax = ebp + (-0x74); /* 0x2E006148: lea eax, [ebp - 0x74] */
   2941     PUSH32(esp, 0); /* 0x2E00614B: push 0 */
   2942     PUSH32(esp, eax); /* 0x2E00614D: push eax */
   2943     ecx = ebp + (-0x44); /* 0x2E00614E: lea ecx, [ebp - 0x44] */
   2944     RECOMP_ICALL(0x2E008370u); /* 0x2E006151: call 0x2e008370 */ /* not lifted */
   2945     RECOMP_FLAGS_IN();
   2946     ecx = ebp + (-0x64); /* 0x2E006156: lea ecx, [ebp - 0x64] */
   2947     PUSH32(esp, ecx); /* 0x2E006159: push ecx */
   2948     ecx = esi + 0x98; /* 0x2E00615A: lea ecx, [esi + 0x98] */
   2949     RECOMP_ICALL(0x2E008320u); /* 0x2E006160: call 0x2e008320 */ /* not lifted */
   2950     RECOMP_FLAGS_IN();
   2951     edx = ebp + (-0x44); /* 0x2E006165: lea edx, [ebp - 0x44] */
   2952     PUSH32(esp, eax); /* 0x2E006168: push eax */
   2953     PUSH32(esp, edx); /* 0x2E006169: push edx */
   2954     RECOMP_ICALL(0x2E008620u); /* 0x2E00616A: call 0x2e008620 */ /* not lifted */
   2955     RECOMP_FLAGS_IN();
   2956     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2957     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2958     esp = esp + 8; /* 0x2E00616F: add esp, 8 */
   2959     _flag_k = FK_ADD;
   2960     /* test LO8(eax), LO8(eax) */ /* 0x2E006172: test al, al */
   2961     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2962     _cf = 0;
   2963     _flag_k = FK_NARROW(FK_TEST, 24);
   2964     RECOMP_BACKEDGE();
   2965     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00612D; /* 0x2E006174: je 0x2e00612d */
   2966 L_2E006176:
   2967     eax = MEM32(esi + 0xF4); /* 0x2E006176: mov eax, dword ptr [esi + 0xf4] */
   2968     ecx = edi; /* 0x2E00617C: mov ecx, edi */
   2969     PUSH32(esp, eax); /* 0x2E00617E: push eax */
   2970     RECOMP_ICALL(ebx); /* 0x2E00617F: call ebx */
   2971     RECOMP_FLAGS_IN();
   2972     eax = ebp + (-0x84); /* 0x2E006181: lea eax, [ebp - 0x84] */
   2973     ecx = esi + 0xC8; /* 0x2E006187: lea ecx, [esi + 0xc8] */
   2974     PUSH32(esp, eax); /* 0x2E00618D: push eax */
   2975     RECOMP_ICALL(0x2E0082F0u); /* 0x2E00618E: call 0x2e0082f0 */ /* not lifted */
   2976     RECOMP_FLAGS_IN();
   2977     ecx = MEM32(eax); /* 0x2E006193: mov ecx, dword ptr [eax] */
   2978     MEM32(ebp + (-0x54)) = ecx; /* 0x2E006195: mov dword ptr [ebp - 0x54], ecx */
   2979     edx = MEM32(eax + 0x4); /* 0x2E006198: mov edx, dword ptr [eax + 4] */
   2980     MEM32(ebp + (-0x50)) = edx; /* 0x2E00619B: mov dword ptr [ebp - 0x50], edx */
   2981     ecx = MEM32(eax + 0x8); /* 0x2E00619E: mov ecx, dword ptr [eax + 8] */
   2982     MEM32(ebp + (-0x4C)) = ecx; /* 0x2E0061A1: mov dword ptr [ebp - 0x4c], ecx */
   2983     ecx = esi + 0xC8; /* 0x2E0061A4: lea ecx, [esi + 0xc8] */
   2984     edx = MEM32(eax + 0xC); /* 0x2E0061AA: mov edx, dword ptr [eax + 0xc] */
   2985     eax = ebp + (-0x64); /* 0x2E0061AD: lea eax, [ebp - 0x64] */
   2986     PUSH32(esp, eax); /* 0x2E0061B0: push eax */
   2987     MEM32(ebp + (-0x48)) = edx; /* 0x2E0061B1: mov dword ptr [ebp - 0x48], edx */
   2988     RECOMP_ICALL(0x2E008320u); /* 0x2E0061B4: call 0x2e008320 */ /* not lifted */
   2989     RECOMP_FLAGS_IN();
   2990     ecx = ebp + (-0x54); /* 0x2E0061B9: lea ecx, [ebp - 0x54] */
   2991     PUSH32(esp, eax); /* 0x2E0061BC: push eax */
   2992     PUSH32(esp, ecx); /* 0x2E0061BD: push ecx */
   2993     RECOMP_ICALL(0x2E008620u); /* 0x2E0061BE: call 0x2e008620 */ /* not lifted */
   2994     RECOMP_FLAGS_IN();
   2995     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2996     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2997     esp = esp + 8; /* 0x2E0061C3: add esp, 8 */
   2998     _flag_k = FK_ADD;
   2999     /* test LO8(eax), LO8(eax) */ /* 0x2E0061C6: test al, al */
   3000     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3001     _cf = 0;
   3002     _flag_k = FK_NARROW(FK_TEST, 24);
   3003     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E00621A; /* 0x2E0061C8: jne 0x2e00621a */
   3004 L_2E0061CA:
   3005     edx = ebp + (-0x84); /* 0x2E0061CA: lea edx, [ebp - 0x84] */
   3006     PUSH32(esp, 1); /* 0x2E0061D0: push 1 */
   3007     PUSH32(esp, edx); /* 0x2E0061D2: push edx */
   3008     ecx = ebp + (-0x54); /* 0x2E0061D3: lea ecx, [ebp - 0x54] */
   3009     RECOMP_ICALL(0x2E004870u); /* 0x2E0061D6: call 0x2e004870 */ /* not lifted */
   3010     RECOMP_FLAGS_IN();
   3011     eax = MEM32(eax + 0x8); /* 0x2E0061DB: mov eax, dword ptr [eax + 8] */
   3012     PUSH32(esp, ecx); /* 0x2E0061DE: push ecx */
   3013     ecx = edi; /* 0x2E0061DF: mov ecx, edi */
   3014     fp_push(*(float*)&MEM32(eax)); /* 0x2E0061E1: fld dword ptr [eax] */
   3015     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2E0061E3: fstp dword ptr [esp] */
   3016     RECOMP_ICALL(MEM32(0x2E0121E0)); /* 0x2E0061E6: call dword ptr [0x2e0121e0] */
   3017     RECOMP_FLAGS_IN();
   3018     eax = ebp + (-0x74); /* 0x2E0061EC: lea eax, [ebp - 0x74] */
   3019     PUSH32(esp, 0); /* 0x2E0061EF: push 0 */
   3020     PUSH32(esp, eax); /* 0x2E0061F1: push eax */
   3021     ecx = ebp + (-0x54); /* 0x2E0061F2: lea ecx, [ebp - 0x54] */
   3022     RECOMP_ICALL(0x2E008370u); /* 0x2E0061F5: call 0x2e008370 */ /* not lifted */
   3023     RECOMP_FLAGS_IN();
   3024     ecx = ebp + (-0x64); /* 0x2E0061FA: lea ecx, [ebp - 0x64] */
   3025     PUSH32(esp, ecx); /* 0x2E0061FD: push ecx */
   3026     ecx = esi + 0xC8; /* 0x2E0061FE: lea ecx, [esi + 0xc8] */
   3027     RECOMP_ICALL(0x2E008320u); /* 0x2E006204: call 0x2e008320 */ /* not lifted */
   3028     RECOMP_FLAGS_IN();
   3029     edx = ebp + (-0x54); /* 0x2E006209: lea edx, [ebp - 0x54] */
   3030     PUSH32(esp, eax); /* 0x2E00620C: push eax */
   3031     PUSH32(esp, edx); /* 0x2E00620D: push edx */
   3032     RECOMP_ICALL(0x2E008620u); /* 0x2E00620E: call 0x2e008620 */ /* not lifted */
   3033     RECOMP_FLAGS_IN();
   3034     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3035     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3036     esp = esp + 8; /* 0x2E006213: add esp, 8 */
   3037     _flag_k = FK_ADD;
   3038     /* test LO8(eax), LO8(eax) */ /* 0x2E006216: test al, al */
   3039     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3040     _cf = 0;
   3041     _flag_k = FK_NARROW(FK_TEST, 24);
   3042     RECOMP_BACKEDGE();
   3043     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0061CA; /* 0x2E006218: je 0x2e0061ca */
   3044 L_2E00621A:
   3045     eax = MEM32(esi + 0x64); /* 0x2E00621A: mov eax, dword ptr [esi + 0x64] */
   3046     ecx = edi; /* 0x2E00621D: mov ecx, edi */
   3047     PUSH32(esp, eax); /* 0x2E00621F: push eax */
   3048     RECOMP_ICALL(MEM32(0x2E0121E0)); /* 0x2E006220: call dword ptr [0x2e0121e0] */
   3049     RECOMP_FLAGS_IN();
   3050     eax = MEM32(esi + 0xF8); /* 0x2E006226: mov eax, dword ptr [esi + 0xf8] */
   3051     ecx = edi; /* 0x2E00622C: mov ecx, edi */
   3052     PUSH32(esp, eax); /* 0x2E00622E: push eax */
   3053     RECOMP_ICALL(ebx); /* 0x2E00622F: call ebx */
   3054     RECOMP_FLAGS_IN();
   3055     eax = MEM32(esi + 0xFC); /* 0x2E006231: mov eax, dword ptr [esi + 0xfc] */
   3056     ecx = edi; /* 0x2E006237: mov ecx, edi */
   3057     PUSH32(esp, eax); /* 0x2E006239: push eax */
   3058     RECOMP_ICALL(ebx); /* 0x2E00623A: call ebx */
   3059     RECOMP_FLAGS_IN();
   3060     eax = MEM32(esi + 0x100); /* 0x2E00623C: mov eax, dword ptr [esi + 0x100] */
   3061     ecx = edi; /* 0x2E006242: mov ecx, edi */
   3062     PUSH32(esp, eax); /* 0x2E006244: push eax */
   3063     RECOMP_ICALL(ebx); /* 0x2E006245: call ebx */
   3064     RECOMP_FLAGS_IN();
   3065     eax = MEM32(esi + 0x104); /* 0x2E006247: mov eax, dword ptr [esi + 0x104] */
   3066     ecx = edi; /* 0x2E00624D: mov ecx, edi */
   3067     PUSH32(esp, eax); /* 0x2E00624F: push eax */
   3068     RECOMP_ICALL(ebx); /* 0x2E006250: call ebx */
   3069     RECOMP_FLAGS_IN();
   3070     eax = MEM32(esi + 0x108); /* 0x2E006252: mov eax, dword ptr [esi + 0x108] */
   3071     ecx = edi; /* 0x2E006258: mov ecx, edi */
   3072     PUSH32(esp, eax); /* 0x2E00625A: push eax */
   3073     RECOMP_ICALL(ebx); /* 0x2E00625B: call ebx */
   3074     RECOMP_FLAGS_IN();
   3075     eax = MEM32(esi + 0x110); /* 0x2E00625D: mov eax, dword ptr [esi + 0x110] */
   3076     ecx = edi; /* 0x2E006263: mov ecx, edi */
   3077     PUSH32(esp, eax); /* 0x2E006265: push eax */
   3078     RECOMP_ICALL(ebx); /* 0x2E006266: call ebx */
   3079     RECOMP_FLAGS_IN();
   3080     eax = MEM32(esi + 0x10C); /* 0x2E006268: mov eax, dword ptr [esi + 0x10c] */
   3081     ecx = edi; /* 0x2E00626E: mov ecx, edi */
   3082     PUSH32(esp, eax); /* 0x2E006270: push eax */
   3083     RECOMP_ICALL(ebx); /* 0x2E006271: call ebx */
   3084     RECOMP_FLAGS_IN();
   3085     ecx = ebp + (-0x24); /* 0x2E006273: lea ecx, [ebp - 0x24] */
   3086     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006276: call 0x2e0048e0 */ /* not lifted */
   3087     RECOMP_FLAGS_IN();
   3088     ecx = ebp + (-0x24); /* 0x2E00627B: lea ecx, [ebp - 0x24] */
   3089     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2E00627E: mov byte ptr [ebp - 4], 1 */
   3090     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006282: call 0x2e0048e0 */ /* not lifted */
   3091     RECOMP_FLAGS_IN();
   3092     PUSH32(esp, edi); /* 0x2E006287: push edi */
   3093     ecx = esi + 0x138; /* 0x2E006288: lea ecx, [esi + 0x138] */
   3094     RECOMP_ICALL(0x2E007B00u); /* 0x2E00628E: call 0x2e007b00 */ /* not lifted */
   3095     RECOMP_FLAGS_IN();
   3096     PUSH32(esp, edi); /* 0x2E006293: push edi */
   3097     ecx = esi + 0x268; /* 0x2E006294: lea ecx, [esi + 0x268] */
   3098     RECOMP_ICALL(0x2E007B00u); /* 0x2E00629A: call 0x2e007b00 */ /* not lifted */
   3099     RECOMP_FLAGS_IN();
   3100     eax = MEM32(esi + 0x4); /* 0x2E00629F: mov eax, dword ptr [esi + 4] */
   3101     ecx = edi; /* 0x2E0062A2: mov ecx, edi */
   3102     PUSH32(esp, eax); /* 0x2E0062A4: push eax */
   3103     RECOMP_ICALL(ebx); /* 0x2E0062A5: call ebx */
   3104     RECOMP_FLAGS_IN();
   3105     eax = MEM32(esi + 0x14); /* 0x2E0062A7: mov eax, dword ptr [esi + 0x14] */
   3106     ecx = edi; /* 0x2E0062AA: mov ecx, edi */
   3107     PUSH32(esp, eax); /* 0x2E0062AC: push eax */
   3108     RECOMP_ICALL(ebx); /* 0x2E0062AD: call ebx */
   3109     RECOMP_FLAGS_IN();
   3110     eax = MEM32(esi + 0x258); /* 0x2E0062AF: mov eax, dword ptr [esi + 0x258] */
   3111     ecx = edi; /* 0x2E0062B5: mov ecx, edi */
   3112     PUSH32(esp, eax); /* 0x2E0062B7: push eax */
   3113     RECOMP_ICALL(ebx); /* 0x2E0062B8: call ebx */
   3114     RECOMP_FLAGS_IN();
   3115     eax = MEM32(esi + 0x25C); /* 0x2E0062BA: mov eax, dword ptr [esi + 0x25c] */
   3116     ecx = edi; /* 0x2E0062C0: mov ecx, edi */
   3117     PUSH32(esp, eax); /* 0x2E0062C2: push eax */
   3118     RECOMP_ICALL(ebx); /* 0x2E0062C3: call ebx */
   3119     RECOMP_FLAGS_IN();
   3120     eax = MEM32(esi + 0x260); /* 0x2E0062C5: mov eax, dword ptr [esi + 0x260] */
   3121     ecx = edi; /* 0x2E0062CB: mov ecx, edi */
   3122     PUSH32(esp, eax); /* 0x2E0062CD: push eax */
   3123     RECOMP_ICALL(ebx); /* 0x2E0062CE: call ebx */
   3124     RECOMP_FLAGS_IN();
   3125     eax = MEM32(esi + 0x264); /* 0x2E0062D0: mov eax, dword ptr [esi + 0x264] */
   3126     ecx = edi; /* 0x2E0062D6: mov ecx, edi */
   3127     PUSH32(esp, eax); /* 0x2E0062D8: push eax */
   3128     RECOMP_ICALL(ebx); /* 0x2E0062D9: call ebx */
   3129     RECOMP_FLAGS_IN();
   3130     eax = MEM32(esi + 0x134); /* 0x2E0062DB: mov eax, dword ptr [esi + 0x134] */
   3131     ecx = edi; /* 0x2E0062E1: mov ecx, edi */
   3132     PUSH32(esp, eax); /* 0x2E0062E3: push eax */
   3133     RECOMP_ICALL(ebx); /* 0x2E0062E4: call ebx */
   3134     RECOMP_FLAGS_IN();
   3135     ecx = ebp + 0x8; /* 0x2E0062E6: lea ecx, [ebp + 8] */
   3136     PUSH32(esp, ecx); /* 0x2E0062E9: push ecx */
   3137     ecx = esi + 0x124; /* 0x2E0062EA: lea ecx, [esi + 0x124] */
   3138     RECOMP_ICALL(0x2E004210u); /* 0x2E0062F0: call 0x2e004210 */ /* not lifted */
   3139     RECOMP_FLAGS_IN();
   3140     eax = MEM32(eax); /* 0x2E0062F5: mov eax, dword ptr [eax] */
   3141     MEM32(ebp + (-0x10)) = eax; /* 0x2E0062F7: mov dword ptr [ebp - 0x10], eax */
   3142 L_2E0062FA:
   3143     /* cmp eax, MEM32(esi + 0x128) */ /* 0x2E0062FA: cmp eax, dword ptr [esi + 0x128] */
   3144     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x128));
   3145     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3146     _flag_k = FK_CMP;
   3147     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006322; /* 0x2E006300: je 0x2e006322 */
   3148 L_2E006302:
   3149     edx = MEM32(eax + 0xC); /* 0x2E006302: mov edx, dword ptr [eax + 0xc] */
   3150     ecx = edi; /* 0x2E006305: mov ecx, edi */
   3151     PUSH32(esp, edx); /* 0x2E006307: push edx */
   3152     RECOMP_ICALL(ebx); /* 0x2E006308: call ebx */
   3153     RECOMP_FLAGS_IN();
   3154     eax = MEM32(ebp + (-0x10)); /* 0x2E00630A: mov eax, dword ptr [ebp - 0x10] */
   3155     ecx = MEM32(eax + 0x10); /* 0x2E00630D: mov ecx, dword ptr [eax + 0x10] */
   3156     PUSH32(esp, ecx); /* 0x2E006310: push ecx */
   3157     ecx = edi; /* 0x2E006311: mov ecx, edi */
   3158     RECOMP_ICALL(ebx); /* 0x2E006313: call ebx */
   3159     RECOMP_FLAGS_IN();
   3160     ecx = ebp + (-0x10); /* 0x2E006315: lea ecx, [ebp - 0x10] */
   3161     RECOMP_ICALL(0x2E004630u); /* 0x2E006318: call 0x2e004630 */ /* not lifted */
   3162     RECOMP_FLAGS_IN();
   3163     eax = MEM32(ebp + (-0x10)); /* 0x2E00631D: mov eax, dword ptr [ebp - 0x10] */
   3164     RECOMP_BACKEDGE();
   3165     goto L_2E0062FA; /* 0x2E006320: jmp 0x2e0062fa */
   3166 L_2E006322:
   3167     eax = MEM32(esi + 0x254); /* 0x2E006322: mov eax, dword ptr [esi + 0x254] */
   3168     ecx = edi; /* 0x2E006328: mov ecx, edi */
   3169     PUSH32(esp, eax); /* 0x2E00632A: push eax */
   3170     RECOMP_ICALL(ebx); /* 0x2E00632B: call ebx */
   3171     RECOMP_FLAGS_IN();
   3172     edx = ebp + 0x8; /* 0x2E00632D: lea edx, [ebp + 8] */
   3173     ecx = esi + 0x244; /* 0x2E006330: lea ecx, [esi + 0x244] */
   3174     PUSH32(esp, edx); /* 0x2E006336: push edx */
   3175     RECOMP_ICALL(0x2E004210u); /* 0x2E006337: call 0x2e004210 */ /* not lifted */
   3176     RECOMP_FLAGS_IN();
   3177     eax = MEM32(eax); /* 0x2E00633C: mov eax, dword ptr [eax] */
   3178     MEM32(ebp + (-0x14)) = eax; /* 0x2E00633E: mov dword ptr [ebp - 0x14], eax */
   3179 L_2E006341:
   3180     /* cmp eax, MEM32(esi + 0x248) */ /* 0x2E006341: cmp eax, dword ptr [esi + 0x248] */
   3181     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x248));
   3182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3183     _flag_k = FK_CMP;
   3184     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006369; /* 0x2E006347: je 0x2e006369 */
   3185 L_2E006349:
   3186     eax = MEM32(eax + 0xC); /* 0x2E006349: mov eax, dword ptr [eax + 0xc] */
   3187     ecx = edi; /* 0x2E00634C: mov ecx, edi */
   3188     PUSH32(esp, eax); /* 0x2E00634E: push eax */
   3189     RECOMP_ICALL(ebx); /* 0x2E00634F: call ebx */
   3190     RECOMP_FLAGS_IN();
   3191     ecx = MEM32(ebp + (-0x14)); /* 0x2E006351: mov ecx, dword ptr [ebp - 0x14] */
   3192     edx = MEM32(ecx + 0x10); /* 0x2E006354: mov edx, dword ptr [ecx + 0x10] */
   3193     ecx = edi; /* 0x2E006357: mov ecx, edi */
   3194     PUSH32(esp, edx); /* 0x2E006359: push edx */
   3195     RECOMP_ICALL(ebx); /* 0x2E00635A: call ebx */
   3196     RECOMP_FLAGS_IN();
   3197     ecx = ebp + (-0x14); /* 0x2E00635C: lea ecx, [ebp - 0x14] */
   3198     RECOMP_ICALL(0x2E004630u); /* 0x2E00635F: call 0x2e004630 */ /* not lifted */
   3199     RECOMP_FLAGS_IN();
   3200     eax = MEM32(ebp + (-0x14)); /* 0x2E006364: mov eax, dword ptr [ebp - 0x14] */
   3201     RECOMP_BACKEDGE();
   3202     goto L_2E006341; /* 0x2E006367: jmp 0x2e006341 */
   3203 L_2E006369:
   3204     ecx = MEM32(ebp + (-0x18)); /* 0x2E006369: mov ecx, dword ptr [ebp - 0x18] */
   3205     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   3206     eax = eax | 0xFFFFFFFFu; /* 0x2E00636C: or eax, 0xffffffff */
   3207     _cf = 0;
   3208     _flag_k = FK_TEST;
   3209     edi = POP32_VAL(esp); /* 0x2E00636F: pop edi */
   3210     esi = POP32_VAL(esp); /* 0x2E006370: pop esi */
   3211     /* cmp ecx, eax */ /* 0x2E006371: cmp ecx, eax */
   3212     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   3213     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3214     _flag_k = FK_CMP;
   3215     MEM32(ebp + (-0x4)) = eax; /* 0x2E006373: mov dword ptr [ebp - 4], eax */
   3216     ebx = POP32_VAL(esp); /* 0x2E006376: pop ebx */
   3217     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006382; /* 0x2E006377: je 0x2e006382 */
   3218 L_2E006379:
   3219     ecx = MEM32(ebp + (-0x1C)); /* 0x2E006379: mov ecx, dword ptr [ebp - 0x1c] */
   3220     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E00637C: call dword ptr [0x2e0121a4] */
   3221     RECOMP_FLAGS_IN();
   3222 L_2E006382:
   3223     ecx = MEM32(ebp + (-0xC)); /* 0x2E006382: mov ecx, dword ptr [ebp - 0xc] */
   3224     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3225     eax = 0; /* 0x2E006385: xor eax, eax */
   3226     _cf = 0;
   3227     _flag_k = FK_TEST;
   3228     MEM32(FS_BASE + (0)) = ecx; /* 0x2E006387: mov dword ptr fs:[0], ecx */
   3229     esp = ebp; /* 0x2E00638E: mov esp, ebp */
   3230     ebp = POP32_VAL(esp); /* 0x2E006390: pop ebp */
   3231     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E006391: ret 4 */
   3232     RECOMP_REGS_OUT();
   3233 }
   3234 
   3235 void sub_2E0063A0(void) {
   3236     int _fpu_cmp = 0;
   3237     uint32_t _cf = 0;
   3238     int _df = 1;
   3239     uint32_t _flag_k = FK_NONE;
   3240     uint32_t _flag_a = 0, _flag_b = 0;
   3241     uint32_t _itail_tgt = 0;
   3242     RECOMP_REGS_LOCALS
   3243     RECOMP_ENTER(0x2E0063A0u);
   3244 
   3245 L_2E0063A0:
   3246     PUSH32(esp, ebp); /* 0x2E0063A0: push ebp */
   3247     ebp = esp; /* 0x2E0063A1: mov ebp, esp */
   3248     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0063A3: push -1 */
   3249     PUSH32(esp, 0x2E011918u); /* 0x2E0063A5: push 0x2e011918 */
   3250     eax = MEM32(FS_BASE + (0)); /* 0x2E0063AA: mov eax, dword ptr fs:[0] */
   3251     PUSH32(esp, eax); /* 0x2E0063B0: push eax */
   3252     MEM32(FS_BASE + (0)) = esp; /* 0x2E0063B1: mov dword ptr fs:[0], esp */
   3253     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x70u);
   3254     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3255     esp = esp - 0x70u; /* 0x2E0063B8: sub esp, 0x70 */
   3256     _flag_k = FK_CMP;
   3257     PUSH32(esp, ebx); /* 0x2E0063BB: push ebx */
   3258     PUSH32(esp, esi); /* 0x2E0063BC: push esi */
   3259     PUSH32(esp, edi); /* 0x2E0063BD: push edi */
   3260     RECOMP_ICALL(0x2E005C50u); /* 0x2E0063BE: call 0x2e005c50 */ /* not lifted */
   3261     RECOMP_FLAGS_IN();
   3262     PUSH32(esp, 0x2E01AB84u); /* 0x2E0063C3: push 0x2e01ab84 */
   3263     ecx = ebp + (-0x1C); /* 0x2E0063C8: lea ecx, [ebp - 0x1c] */
   3264     RECOMP_ICALL(0x2E008180u); /* 0x2E0063CB: call 0x2e008180 */ /* not lifted */
   3265     RECOMP_FLAGS_IN();
   3266     eax = MEM32(0x2E01ABFC); /* 0x2E0063D0: mov eax, dword ptr [0x2e01abfc] */
   3267     esi = MEM32(ebp + 0x8); /* 0x2E0063D5: mov esi, dword ptr [ebp + 8] */
   3268     edi = MEM32(0x2E0121E8); /* 0x2E0063D8: mov edi, dword ptr [0x2e0121e8] */
   3269     PUSH32(esp, eax); /* 0x2E0063DE: push eax */
   3270     ecx = esi; /* 0x2E0063DF: mov ecx, esi */
   3271     MEM32(ebp + (-0x4)) = 0; /* 0x2E0063E1: mov dword ptr [ebp - 4], 0 */
   3272     RECOMP_ICALL(edi); /* 0x2E0063E8: call edi */
   3273     RECOMP_FLAGS_IN();
   3274     eax = ebp + (-0x2C); /* 0x2E0063EA: lea eax, [ebp - 0x2c] */
   3275     ecx = 0x2E01ABD0u; /* 0x2E0063ED: mov ecx, 0x2e01abd0 */
   3276     PUSH32(esp, eax); /* 0x2E0063F2: push eax */
   3277     RECOMP_ICALL(0x2E0082F0u); /* 0x2E0063F3: call 0x2e0082f0 */ /* not lifted */
   3278     RECOMP_FLAGS_IN();
   3279     ecx = MEM32(eax); /* 0x2E0063F8: mov ecx, dword ptr [eax] */
   3280     MEM32(ebp + (-0x3C)) = ecx; /* 0x2E0063FA: mov dword ptr [ebp - 0x3c], ecx */
   3281     edx = MEM32(eax + 0x4); /* 0x2E0063FD: mov edx, dword ptr [eax + 4] */
   3282     MEM32(ebp + (-0x38)) = edx; /* 0x2E006400: mov dword ptr [ebp - 0x38], edx */
   3283     ecx = MEM32(eax + 0x8); /* 0x2E006403: mov ecx, dword ptr [eax + 8] */
   3284     MEM32(ebp + (-0x34)) = ecx; /* 0x2E006406: mov dword ptr [ebp - 0x34], ecx */
   3285     ecx = 0x2E01ABD0u; /* 0x2E006409: mov ecx, 0x2e01abd0 */
   3286     edx = MEM32(eax + 0xC); /* 0x2E00640E: mov edx, dword ptr [eax + 0xc] */
   3287     eax = ebp + (-0x2C); /* 0x2E006411: lea eax, [ebp - 0x2c] */
   3288     PUSH32(esp, eax); /* 0x2E006414: push eax */
   3289     MEM32(ebp + (-0x30)) = edx; /* 0x2E006415: mov dword ptr [ebp - 0x30], edx */
   3290     RECOMP_ICALL(0x2E008320u); /* 0x2E006418: call 0x2e008320 */ /* not lifted */
   3291     RECOMP_FLAGS_IN();
   3292     ecx = ebp + (-0x3C); /* 0x2E00641D: lea ecx, [ebp - 0x3c] */
   3293     PUSH32(esp, eax); /* 0x2E006420: push eax */
   3294     PUSH32(esp, ecx); /* 0x2E006421: push ecx */
   3295     RECOMP_ICALL(0x2E008620u); /* 0x2E006422: call 0x2e008620 */ /* not lifted */
   3296     RECOMP_FLAGS_IN();
   3297     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3298     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3299     esp = esp + 8; /* 0x2E006427: add esp, 8 */
   3300     _flag_k = FK_ADD;
   3301     /* test LO8(eax), LO8(eax) */ /* 0x2E00642A: test al, al */
   3302     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3303     _cf = 0;
   3304     _flag_k = FK_NARROW(FK_TEST, 24);
   3305     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E006473; /* 0x2E00642C: jne 0x2e006473 */
   3306 L_2E00642E:
   3307     edx = ebp + (-0x6C); /* 0x2E00642E: lea edx, [ebp - 0x6c] */
   3308     PUSH32(esp, 1); /* 0x2E006431: push 1 */
   3309     PUSH32(esp, edx); /* 0x2E006433: push edx */
   3310     ecx = ebp + (-0x3C); /* 0x2E006434: lea ecx, [ebp - 0x3c] */
   3311     RECOMP_ICALL(0x2E004870u); /* 0x2E006437: call 0x2e004870 */ /* not lifted */
   3312     RECOMP_FLAGS_IN();
   3313     eax = MEM32(eax + 0x8); /* 0x2E00643C: mov eax, dword ptr [eax + 8] */
   3314     ecx = esi; /* 0x2E00643F: mov ecx, esi */
   3315     eax = MEM32(eax); /* 0x2E006441: mov eax, dword ptr [eax] */
   3316     PUSH32(esp, eax); /* 0x2E006443: push eax */
   3317     RECOMP_ICALL(edi); /* 0x2E006444: call edi */
   3318     RECOMP_FLAGS_IN();
   3319     eax = ebp + (-0x7C); /* 0x2E006446: lea eax, [ebp - 0x7c] */
   3320     PUSH32(esp, 0); /* 0x2E006449: push 0 */
   3321     PUSH32(esp, eax); /* 0x2E00644B: push eax */
   3322     ecx = ebp + (-0x3C); /* 0x2E00644C: lea ecx, [ebp - 0x3c] */
   3323     RECOMP_ICALL(0x2E008370u); /* 0x2E00644F: call 0x2e008370 */ /* not lifted */
   3324     RECOMP_FLAGS_IN();
   3325     ecx = ebp + (-0x2C); /* 0x2E006454: lea ecx, [ebp - 0x2c] */
   3326     PUSH32(esp, ecx); /* 0x2E006457: push ecx */
   3327     ecx = 0x2E01ABD0u; /* 0x2E006458: mov ecx, 0x2e01abd0 */
   3328     RECOMP_ICALL(0x2E008320u); /* 0x2E00645D: call 0x2e008320 */ /* not lifted */
   3329     RECOMP_FLAGS_IN();
   3330     edx = ebp + (-0x3C); /* 0x2E006462: lea edx, [ebp - 0x3c] */
   3331     PUSH32(esp, eax); /* 0x2E006465: push eax */
   3332     PUSH32(esp, edx); /* 0x2E006466: push edx */
   3333     RECOMP_ICALL(0x2E008620u); /* 0x2E006467: call 0x2e008620 */ /* not lifted */
   3334     RECOMP_FLAGS_IN();
   3335     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3336     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3337     esp = esp + 8; /* 0x2E00646C: add esp, 8 */
   3338     _flag_k = FK_ADD;
   3339     /* test LO8(eax), LO8(eax) */ /* 0x2E00646F: test al, al */
   3340     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3341     _cf = 0;
   3342     _flag_k = FK_NARROW(FK_TEST, 24);
   3343     RECOMP_BACKEDGE();
   3344     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00642E; /* 0x2E006471: je 0x2e00642e */
   3345 L_2E006473:
   3346     eax = MEM32(0x2E01ABFC); /* 0x2E006473: mov eax, dword ptr [0x2e01abfc] */
   3347     ecx = esi; /* 0x2E006478: mov ecx, esi */
   3348     PUSH32(esp, eax); /* 0x2E00647A: push eax */
   3349     RECOMP_ICALL(edi); /* 0x2E00647B: call edi */
   3350     RECOMP_FLAGS_IN();
   3351     eax = ebp + (-0x7C); /* 0x2E00647D: lea eax, [ebp - 0x7c] */
   3352     ecx = 0x2E01AC00u; /* 0x2E006480: mov ecx, 0x2e01ac00 */
   3353     PUSH32(esp, eax); /* 0x2E006485: push eax */
   3354     RECOMP_ICALL(0x2E0082F0u); /* 0x2E006486: call 0x2e0082f0 */ /* not lifted */
   3355     RECOMP_FLAGS_IN();
   3356     ecx = MEM32(eax); /* 0x2E00648B: mov ecx, dword ptr [eax] */
   3357     MEM32(ebp + (-0x4C)) = ecx; /* 0x2E00648D: mov dword ptr [ebp - 0x4c], ecx */
   3358     edx = MEM32(eax + 0x4); /* 0x2E006490: mov edx, dword ptr [eax + 4] */
   3359     MEM32(ebp + (-0x48)) = edx; /* 0x2E006493: mov dword ptr [ebp - 0x48], edx */
   3360     ecx = MEM32(eax + 0x8); /* 0x2E006496: mov ecx, dword ptr [eax + 8] */
   3361     MEM32(ebp + (-0x44)) = ecx; /* 0x2E006499: mov dword ptr [ebp - 0x44], ecx */
   3362     ecx = 0x2E01AC00u; /* 0x2E00649C: mov ecx, 0x2e01ac00 */
   3363     edx = MEM32(eax + 0xC); /* 0x2E0064A1: mov edx, dword ptr [eax + 0xc] */
   3364     eax = ebp + (-0x2C); /* 0x2E0064A4: lea eax, [ebp - 0x2c] */
   3365     PUSH32(esp, eax); /* 0x2E0064A7: push eax */
   3366     MEM32(ebp + (-0x40)) = edx; /* 0x2E0064A8: mov dword ptr [ebp - 0x40], edx */
   3367     RECOMP_ICALL(0x2E008320u); /* 0x2E0064AB: call 0x2e008320 */ /* not lifted */
   3368     RECOMP_FLAGS_IN();
   3369     ecx = ebp + (-0x4C); /* 0x2E0064B0: lea ecx, [ebp - 0x4c] */
   3370     PUSH32(esp, eax); /* 0x2E0064B3: push eax */
   3371     PUSH32(esp, ecx); /* 0x2E0064B4: push ecx */
   3372     RECOMP_ICALL(0x2E008620u); /* 0x2E0064B5: call 0x2e008620 */ /* not lifted */
   3373     RECOMP_FLAGS_IN();
   3374     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3375     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3376     esp = esp + 8; /* 0x2E0064BA: add esp, 8 */
   3377     _flag_k = FK_ADD;
   3378     /* test LO8(eax), LO8(eax) */ /* 0x2E0064BD: test al, al */
   3379     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3380     _cf = 0;
   3381     _flag_k = FK_NARROW(FK_TEST, 24);
   3382     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E006506; /* 0x2E0064BF: jne 0x2e006506 */
   3383 L_2E0064C1:
   3384     edx = ebp + (-0x7C); /* 0x2E0064C1: lea edx, [ebp - 0x7c] */
   3385     PUSH32(esp, 1); /* 0x2E0064C4: push 1 */
   3386     PUSH32(esp, edx); /* 0x2E0064C6: push edx */
   3387     ecx = ebp + (-0x4C); /* 0x2E0064C7: lea ecx, [ebp - 0x4c] */
   3388     RECOMP_ICALL(0x2E004870u); /* 0x2E0064CA: call 0x2e004870 */ /* not lifted */
   3389     RECOMP_FLAGS_IN();
   3390     eax = MEM32(eax + 0x8); /* 0x2E0064CF: mov eax, dword ptr [eax + 8] */
   3391     ecx = esi; /* 0x2E0064D2: mov ecx, esi */
   3392     eax = MEM32(eax); /* 0x2E0064D4: mov eax, dword ptr [eax] */
   3393     PUSH32(esp, eax); /* 0x2E0064D6: push eax */
   3394     RECOMP_ICALL(edi); /* 0x2E0064D7: call edi */
   3395     RECOMP_FLAGS_IN();
   3396     eax = ebp + (-0x6C); /* 0x2E0064D9: lea eax, [ebp - 0x6c] */
   3397     PUSH32(esp, 0); /* 0x2E0064DC: push 0 */
   3398     PUSH32(esp, eax); /* 0x2E0064DE: push eax */
   3399     ecx = ebp + (-0x4C); /* 0x2E0064DF: lea ecx, [ebp - 0x4c] */
   3400     RECOMP_ICALL(0x2E008370u); /* 0x2E0064E2: call 0x2e008370 */ /* not lifted */
   3401     RECOMP_FLAGS_IN();
   3402     ecx = ebp + (-0x2C); /* 0x2E0064E7: lea ecx, [ebp - 0x2c] */
   3403     PUSH32(esp, ecx); /* 0x2E0064EA: push ecx */
   3404     ecx = 0x2E01AC00u; /* 0x2E0064EB: mov ecx, 0x2e01ac00 */
   3405     RECOMP_ICALL(0x2E008320u); /* 0x2E0064F0: call 0x2e008320 */ /* not lifted */
   3406     RECOMP_FLAGS_IN();
   3407     edx = ebp + (-0x4C); /* 0x2E0064F5: lea edx, [ebp - 0x4c] */
   3408     PUSH32(esp, eax); /* 0x2E0064F8: push eax */
   3409     PUSH32(esp, edx); /* 0x2E0064F9: push edx */
   3410     RECOMP_ICALL(0x2E008620u); /* 0x2E0064FA: call 0x2e008620 */ /* not lifted */
   3411     RECOMP_FLAGS_IN();
   3412     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3413     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3414     esp = esp + 8; /* 0x2E0064FF: add esp, 8 */
   3415     _flag_k = FK_ADD;
   3416     /* test LO8(eax), LO8(eax) */ /* 0x2E006502: test al, al */
   3417     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3418     _cf = 0;
   3419     _flag_k = FK_NARROW(FK_TEST, 24);
   3420     RECOMP_BACKEDGE();
   3421     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0064C1; /* 0x2E006504: je 0x2e0064c1 */
   3422 L_2E006506:
   3423     eax = MEM32(0x2E01AC5C); /* 0x2E006506: mov eax, dword ptr [0x2e01ac5c] */
   3424     ecx = esi; /* 0x2E00650B: mov ecx, esi */
   3425     PUSH32(esp, eax); /* 0x2E00650D: push eax */
   3426     RECOMP_ICALL(edi); /* 0x2E00650E: call edi */
   3427     RECOMP_FLAGS_IN();
   3428     eax = ebp + (-0x7C); /* 0x2E006510: lea eax, [ebp - 0x7c] */
   3429     ecx = 0x2E01AC30u; /* 0x2E006513: mov ecx, 0x2e01ac30 */
   3430     PUSH32(esp, eax); /* 0x2E006518: push eax */
   3431     RECOMP_ICALL(0x2E0082F0u); /* 0x2E006519: call 0x2e0082f0 */ /* not lifted */
   3432     RECOMP_FLAGS_IN();
   3433     ecx = MEM32(eax); /* 0x2E00651E: mov ecx, dword ptr [eax] */
   3434     MEM32(ebp + (-0x5C)) = ecx; /* 0x2E006520: mov dword ptr [ebp - 0x5c], ecx */
   3435     edx = MEM32(eax + 0x4); /* 0x2E006523: mov edx, dword ptr [eax + 4] */
   3436     MEM32(ebp + (-0x58)) = edx; /* 0x2E006526: mov dword ptr [ebp - 0x58], edx */
   3437     ecx = MEM32(eax + 0x8); /* 0x2E006529: mov ecx, dword ptr [eax + 8] */
   3438     MEM32(ebp + (-0x54)) = ecx; /* 0x2E00652C: mov dword ptr [ebp - 0x54], ecx */
   3439     ecx = 0x2E01AC30u; /* 0x2E00652F: mov ecx, 0x2e01ac30 */
   3440     edx = MEM32(eax + 0xC); /* 0x2E006534: mov edx, dword ptr [eax + 0xc] */
   3441     eax = ebp + (-0x2C); /* 0x2E006537: lea eax, [ebp - 0x2c] */
   3442     PUSH32(esp, eax); /* 0x2E00653A: push eax */
   3443     MEM32(ebp + (-0x50)) = edx; /* 0x2E00653B: mov dword ptr [ebp - 0x50], edx */
   3444     RECOMP_ICALL(0x2E008320u); /* 0x2E00653E: call 0x2e008320 */ /* not lifted */
   3445     RECOMP_FLAGS_IN();
   3446     ecx = ebp + (-0x5C); /* 0x2E006543: lea ecx, [ebp - 0x5c] */
   3447     PUSH32(esp, eax); /* 0x2E006546: push eax */
   3448     PUSH32(esp, ecx); /* 0x2E006547: push ecx */
   3449     RECOMP_ICALL(0x2E008620u); /* 0x2E006548: call 0x2e008620 */ /* not lifted */
   3450     RECOMP_FLAGS_IN();
   3451     ebx = MEM32(0x2E0121E0); /* 0x2E00654D: mov ebx, dword ptr [0x2e0121e0] */
   3452     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3453     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3454     esp = esp + 8; /* 0x2E006553: add esp, 8 */
   3455     _flag_k = FK_ADD;
   3456     /* test LO8(eax), LO8(eax) */ /* 0x2E006556: test al, al */
   3457     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3458     _cf = 0;
   3459     _flag_k = FK_NARROW(FK_TEST, 24);
   3460     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0065A2; /* 0x2E006558: jne 0x2e0065a2 */
   3461 L_2E00655A:
   3462     edx = ebp + (-0x7C); /* 0x2E00655A: lea edx, [ebp - 0x7c] */
   3463     PUSH32(esp, 1); /* 0x2E00655D: push 1 */
   3464     PUSH32(esp, edx); /* 0x2E00655F: push edx */
   3465     ecx = ebp + (-0x5C); /* 0x2E006560: lea ecx, [ebp - 0x5c] */
   3466     RECOMP_ICALL(0x2E004870u); /* 0x2E006563: call 0x2e004870 */ /* not lifted */
   3467     RECOMP_FLAGS_IN();
   3468     eax = MEM32(eax + 0x8); /* 0x2E006568: mov eax, dword ptr [eax + 8] */
   3469     PUSH32(esp, ecx); /* 0x2E00656B: push ecx */
   3470     ecx = esi; /* 0x2E00656C: mov ecx, esi */
   3471     fp_push(*(float*)&MEM32(eax)); /* 0x2E00656E: fld dword ptr [eax] */
   3472     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2E006570: fstp dword ptr [esp] */
   3473     RECOMP_ICALL(ebx); /* 0x2E006573: call ebx */
   3474     RECOMP_FLAGS_IN();
   3475     eax = ebp + (-0x6C); /* 0x2E006575: lea eax, [ebp - 0x6c] */
   3476     PUSH32(esp, 0); /* 0x2E006578: push 0 */
   3477     PUSH32(esp, eax); /* 0x2E00657A: push eax */
   3478     ecx = ebp + (-0x5C); /* 0x2E00657B: lea ecx, [ebp - 0x5c] */
   3479     RECOMP_ICALL(0x2E008370u); /* 0x2E00657E: call 0x2e008370 */ /* not lifted */
   3480     RECOMP_FLAGS_IN();
   3481     ecx = ebp + (-0x2C); /* 0x2E006583: lea ecx, [ebp - 0x2c] */
   3482     PUSH32(esp, ecx); /* 0x2E006586: push ecx */
   3483     ecx = 0x2E01AC30u; /* 0x2E006587: mov ecx, 0x2e01ac30 */
   3484     RECOMP_ICALL(0x2E008320u); /* 0x2E00658C: call 0x2e008320 */ /* not lifted */
   3485     RECOMP_FLAGS_IN();
   3486     edx = ebp + (-0x5C); /* 0x2E006591: lea edx, [ebp - 0x5c] */
   3487     PUSH32(esp, eax); /* 0x2E006594: push eax */
   3488     PUSH32(esp, edx); /* 0x2E006595: push edx */
   3489     RECOMP_ICALL(0x2E008620u); /* 0x2E006596: call 0x2e008620 */ /* not lifted */
   3490     RECOMP_FLAGS_IN();
   3491     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3492     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3493     esp = esp + 8; /* 0x2E00659B: add esp, 8 */
   3494     _flag_k = FK_ADD;
   3495     /* test LO8(eax), LO8(eax) */ /* 0x2E00659E: test al, al */
   3496     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3497     _cf = 0;
   3498     _flag_k = FK_NARROW(FK_TEST, 24);
   3499     RECOMP_BACKEDGE();
   3500     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00655A; /* 0x2E0065A0: je 0x2e00655a */
   3501 L_2E0065A2:
   3502     eax = MEM32(0x2E01ABCC); /* 0x2E0065A2: mov eax, dword ptr [0x2e01abcc] */
   3503     ecx = esi; /* 0x2E0065A7: mov ecx, esi */
   3504     PUSH32(esp, eax); /* 0x2E0065A9: push eax */
   3505     RECOMP_ICALL(ebx); /* 0x2E0065AA: call ebx */
   3506     RECOMP_FLAGS_IN();
   3507     eax = MEM32(0x2E01AC60); /* 0x2E0065AC: mov eax, dword ptr [0x2e01ac60] */
   3508     ecx = esi; /* 0x2E0065B1: mov ecx, esi */
   3509     PUSH32(esp, eax); /* 0x2E0065B3: push eax */
   3510     RECOMP_ICALL(edi); /* 0x2E0065B4: call edi */
   3511     RECOMP_FLAGS_IN();
   3512     eax = MEM32(0x2E01AC64); /* 0x2E0065B6: mov eax, dword ptr [0x2e01ac64] */
   3513     ecx = esi; /* 0x2E0065BB: mov ecx, esi */
   3514     PUSH32(esp, eax); /* 0x2E0065BD: push eax */
   3515     RECOMP_ICALL(edi); /* 0x2E0065BE: call edi */
   3516     RECOMP_FLAGS_IN();
   3517     eax = MEM32(0x2E01AC68); /* 0x2E0065C0: mov eax, dword ptr [0x2e01ac68] */
   3518     ecx = esi; /* 0x2E0065C5: mov ecx, esi */
   3519     PUSH32(esp, eax); /* 0x2E0065C7: push eax */
   3520     RECOMP_ICALL(edi); /* 0x2E0065C8: call edi */
   3521     RECOMP_FLAGS_IN();
   3522     eax = MEM32(0x2E01AC6C); /* 0x2E0065CA: mov eax, dword ptr [0x2e01ac6c] */
   3523     ecx = esi; /* 0x2E0065CF: mov ecx, esi */
   3524     PUSH32(esp, eax); /* 0x2E0065D1: push eax */
   3525     RECOMP_ICALL(edi); /* 0x2E0065D2: call edi */
   3526     RECOMP_FLAGS_IN();
   3527     eax = MEM32(0x2E01AC70); /* 0x2E0065D4: mov eax, dword ptr [0x2e01ac70] */
   3528     ecx = esi; /* 0x2E0065D9: mov ecx, esi */
   3529     PUSH32(esp, eax); /* 0x2E0065DB: push eax */
   3530     RECOMP_ICALL(edi); /* 0x2E0065DC: call edi */
   3531     RECOMP_FLAGS_IN();
   3532     eax = MEM32(0x2E01AC78); /* 0x2E0065DE: mov eax, dword ptr [0x2e01ac78] */
   3533     ecx = esi; /* 0x2E0065E3: mov ecx, esi */
   3534     PUSH32(esp, eax); /* 0x2E0065E5: push eax */
   3535     RECOMP_ICALL(edi); /* 0x2E0065E6: call edi */
   3536     RECOMP_FLAGS_IN();
   3537     eax = MEM32(0x2E01AC74); /* 0x2E0065E8: mov eax, dword ptr [0x2e01ac74] */
   3538     ecx = esi; /* 0x2E0065ED: mov ecx, esi */
   3539     PUSH32(esp, eax); /* 0x2E0065EF: push eax */
   3540     RECOMP_ICALL(edi); /* 0x2E0065F0: call edi */
   3541     RECOMP_FLAGS_IN();
   3542     ecx = ebp + (-0x1C); /* 0x2E0065F2: lea ecx, [ebp - 0x1c] */
   3543     RECOMP_ICALL(0x2E0048E0u); /* 0x2E0065F5: call 0x2e0048e0 */ /* not lifted */
   3544     RECOMP_FLAGS_IN();
   3545     ecx = ebp + (-0x1C); /* 0x2E0065FA: lea ecx, [ebp - 0x1c] */
   3546     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E0065FD: mov dword ptr [ebp - 4], 0xffffffff */
   3547     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006604: call 0x2e0048e0 */ /* not lifted */
   3548     RECOMP_FLAGS_IN();
   3549     PUSH32(esp, 0x2E01B1ECu); /* 0x2E006609: push 0x2e01b1ec */
   3550     ecx = ebp + (-0x1C); /* 0x2E00660E: lea ecx, [ebp - 0x1c] */
   3551     RECOMP_ICALL(0x2E008180u); /* 0x2E006611: call 0x2e008180 */ /* not lifted */
   3552     RECOMP_FLAGS_IN();
   3553     eax = MEM32(0x2E01B264); /* 0x2E006616: mov eax, dword ptr [0x2e01b264] */
   3554     ecx = esi; /* 0x2E00661B: mov ecx, esi */
   3555     PUSH32(esp, eax); /* 0x2E00661D: push eax */
   3556     MEM32(ebp + (-0x4)) = 1; /* 0x2E00661E: mov dword ptr [ebp - 4], 1 */
   3557     RECOMP_ICALL(edi); /* 0x2E006625: call edi */
   3558     RECOMP_FLAGS_IN();
   3559     ecx = ebp + (-0x7C); /* 0x2E006627: lea ecx, [ebp - 0x7c] */
   3560     PUSH32(esp, ecx); /* 0x2E00662A: push ecx */
   3561     ecx = 0x2E01B238u; /* 0x2E00662B: mov ecx, 0x2e01b238 */
   3562     RECOMP_ICALL(0x2E0082F0u); /* 0x2E006630: call 0x2e0082f0 */ /* not lifted */
   3563     RECOMP_FLAGS_IN();
   3564     edx = MEM32(eax); /* 0x2E006635: mov edx, dword ptr [eax] */
   3565     MEM32(ebp + (-0x5C)) = edx; /* 0x2E006637: mov dword ptr [ebp - 0x5c], edx */
   3566     ecx = MEM32(eax + 0x4); /* 0x2E00663A: mov ecx, dword ptr [eax + 4] */
   3567     MEM32(ebp + (-0x58)) = ecx; /* 0x2E00663D: mov dword ptr [ebp - 0x58], ecx */
   3568     ecx = ebp + (-0x2C); /* 0x2E006640: lea ecx, [ebp - 0x2c] */
   3569     edx = MEM32(eax + 0x8); /* 0x2E006643: mov edx, dword ptr [eax + 8] */
   3570     PUSH32(esp, ecx); /* 0x2E006646: push ecx */
   3571     MEM32(ebp + (-0x54)) = edx; /* 0x2E006647: mov dword ptr [ebp - 0x54], edx */
   3572     ecx = 0x2E01B238u; /* 0x2E00664A: mov ecx, 0x2e01b238 */
   3573     eax = MEM32(eax + 0xC); /* 0x2E00664F: mov eax, dword ptr [eax + 0xc] */
   3574     MEM32(ebp + (-0x50)) = eax; /* 0x2E006652: mov dword ptr [ebp - 0x50], eax */
   3575     RECOMP_ICALL(0x2E008320u); /* 0x2E006655: call 0x2e008320 */ /* not lifted */
   3576     RECOMP_FLAGS_IN();
   3577     edx = ebp + (-0x5C); /* 0x2E00665A: lea edx, [ebp - 0x5c] */
   3578     PUSH32(esp, eax); /* 0x2E00665D: push eax */
   3579     PUSH32(esp, edx); /* 0x2E00665E: push edx */
   3580     RECOMP_ICALL(0x2E008620u); /* 0x2E00665F: call 0x2e008620 */ /* not lifted */
   3581     RECOMP_FLAGS_IN();
   3582     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3583     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3584     esp = esp + 8; /* 0x2E006664: add esp, 8 */
   3585     _flag_k = FK_ADD;
   3586     /* test LO8(eax), LO8(eax) */ /* 0x2E006667: test al, al */
   3587     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3588     _cf = 0;
   3589     _flag_k = FK_NARROW(FK_TEST, 24);
   3590     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0066B0; /* 0x2E006669: jne 0x2e0066b0 */
   3591 L_2E00666B:
   3592     eax = ebp + (-0x7C); /* 0x2E00666B: lea eax, [ebp - 0x7c] */
   3593     PUSH32(esp, 1); /* 0x2E00666E: push 1 */
   3594     PUSH32(esp, eax); /* 0x2E006670: push eax */
   3595     ecx = ebp + (-0x5C); /* 0x2E006671: lea ecx, [ebp - 0x5c] */
   3596     RECOMP_ICALL(0x2E004870u); /* 0x2E006674: call 0x2e004870 */ /* not lifted */
   3597     RECOMP_FLAGS_IN();
   3598     eax = MEM32(eax + 0x8); /* 0x2E006679: mov eax, dword ptr [eax + 8] */
   3599     ecx = esi; /* 0x2E00667C: mov ecx, esi */
   3600     eax = MEM32(eax); /* 0x2E00667E: mov eax, dword ptr [eax] */
   3601     PUSH32(esp, eax); /* 0x2E006680: push eax */
   3602     RECOMP_ICALL(edi); /* 0x2E006681: call edi */
   3603     RECOMP_FLAGS_IN();
   3604     ecx = ebp + (-0x6C); /* 0x2E006683: lea ecx, [ebp - 0x6c] */
   3605     PUSH32(esp, 0); /* 0x2E006686: push 0 */
   3606     PUSH32(esp, ecx); /* 0x2E006688: push ecx */
   3607     ecx = ebp + (-0x5C); /* 0x2E006689: lea ecx, [ebp - 0x5c] */
   3608     RECOMP_ICALL(0x2E008370u); /* 0x2E00668C: call 0x2e008370 */ /* not lifted */
   3609     RECOMP_FLAGS_IN();
   3610     edx = ebp + (-0x2C); /* 0x2E006691: lea edx, [ebp - 0x2c] */
   3611     ecx = 0x2E01B238u; /* 0x2E006694: mov ecx, 0x2e01b238 */
   3612     PUSH32(esp, edx); /* 0x2E006699: push edx */
   3613     RECOMP_ICALL(0x2E008320u); /* 0x2E00669A: call 0x2e008320 */ /* not lifted */
   3614     RECOMP_FLAGS_IN();
   3615     PUSH32(esp, eax); /* 0x2E00669F: push eax */
   3616     eax = ebp + (-0x5C); /* 0x2E0066A0: lea eax, [ebp - 0x5c] */
   3617     PUSH32(esp, eax); /* 0x2E0066A3: push eax */
   3618     RECOMP_ICALL(0x2E008620u); /* 0x2E0066A4: call 0x2e008620 */ /* not lifted */
   3619     RECOMP_FLAGS_IN();
   3620     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3621     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3622     esp = esp + 8; /* 0x2E0066A9: add esp, 8 */
   3623     _flag_k = FK_ADD;
   3624     /* test LO8(eax), LO8(eax) */ /* 0x2E0066AC: test al, al */
   3625     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3626     _cf = 0;
   3627     _flag_k = FK_NARROW(FK_TEST, 24);
   3628     RECOMP_BACKEDGE();
   3629     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00666B; /* 0x2E0066AE: je 0x2e00666b */
   3630 L_2E0066B0:
   3631     eax = MEM32(0x2E01B264); /* 0x2E0066B0: mov eax, dword ptr [0x2e01b264] */
   3632     ecx = esi; /* 0x2E0066B5: mov ecx, esi */
   3633     PUSH32(esp, eax); /* 0x2E0066B7: push eax */
   3634     RECOMP_ICALL(edi); /* 0x2E0066B8: call edi */
   3635     RECOMP_FLAGS_IN();
   3636     ecx = ebp + (-0x7C); /* 0x2E0066BA: lea ecx, [ebp - 0x7c] */
   3637     PUSH32(esp, ecx); /* 0x2E0066BD: push ecx */
   3638     ecx = 0x2E01B268u; /* 0x2E0066BE: mov ecx, 0x2e01b268 */
   3639     RECOMP_ICALL(0x2E0082F0u); /* 0x2E0066C3: call 0x2e0082f0 */ /* not lifted */
   3640     RECOMP_FLAGS_IN();
   3641     edx = MEM32(eax); /* 0x2E0066C8: mov edx, dword ptr [eax] */
   3642     MEM32(ebp + (-0x4C)) = edx; /* 0x2E0066CA: mov dword ptr [ebp - 0x4c], edx */
   3643     ecx = MEM32(eax + 0x4); /* 0x2E0066CD: mov ecx, dword ptr [eax + 4] */
   3644     MEM32(ebp + (-0x48)) = ecx; /* 0x2E0066D0: mov dword ptr [ebp - 0x48], ecx */
   3645     ecx = ebp + (-0x2C); /* 0x2E0066D3: lea ecx, [ebp - 0x2c] */
   3646     edx = MEM32(eax + 0x8); /* 0x2E0066D6: mov edx, dword ptr [eax + 8] */
   3647     PUSH32(esp, ecx); /* 0x2E0066D9: push ecx */
   3648     MEM32(ebp + (-0x44)) = edx; /* 0x2E0066DA: mov dword ptr [ebp - 0x44], edx */
   3649     ecx = 0x2E01B268u; /* 0x2E0066DD: mov ecx, 0x2e01b268 */
   3650     eax = MEM32(eax + 0xC); /* 0x2E0066E2: mov eax, dword ptr [eax + 0xc] */
   3651     MEM32(ebp + (-0x40)) = eax; /* 0x2E0066E5: mov dword ptr [ebp - 0x40], eax */
   3652     RECOMP_ICALL(0x2E008320u); /* 0x2E0066E8: call 0x2e008320 */ /* not lifted */
   3653     RECOMP_FLAGS_IN();
   3654     edx = ebp + (-0x4C); /* 0x2E0066ED: lea edx, [ebp - 0x4c] */
   3655     PUSH32(esp, eax); /* 0x2E0066F0: push eax */
   3656     PUSH32(esp, edx); /* 0x2E0066F1: push edx */
   3657     RECOMP_ICALL(0x2E008620u); /* 0x2E0066F2: call 0x2e008620 */ /* not lifted */
   3658     RECOMP_FLAGS_IN();
   3659     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3660     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3661     esp = esp + 8; /* 0x2E0066F7: add esp, 8 */
   3662     _flag_k = FK_ADD;
   3663     /* test LO8(eax), LO8(eax) */ /* 0x2E0066FA: test al, al */
   3664     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3665     _cf = 0;
   3666     _flag_k = FK_NARROW(FK_TEST, 24);
   3667     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E006743; /* 0x2E0066FC: jne 0x2e006743 */
   3668 L_2E0066FE:
   3669     eax = ebp + (-0x7C); /* 0x2E0066FE: lea eax, [ebp - 0x7c] */
   3670     PUSH32(esp, 1); /* 0x2E006701: push 1 */
   3671     PUSH32(esp, eax); /* 0x2E006703: push eax */
   3672     ecx = ebp + (-0x4C); /* 0x2E006704: lea ecx, [ebp - 0x4c] */
   3673     RECOMP_ICALL(0x2E004870u); /* 0x2E006707: call 0x2e004870 */ /* not lifted */
   3674     RECOMP_FLAGS_IN();
   3675     eax = MEM32(eax + 0x8); /* 0x2E00670C: mov eax, dword ptr [eax + 8] */
   3676     ecx = esi; /* 0x2E00670F: mov ecx, esi */
   3677     eax = MEM32(eax); /* 0x2E006711: mov eax, dword ptr [eax] */
   3678     PUSH32(esp, eax); /* 0x2E006713: push eax */
   3679     RECOMP_ICALL(edi); /* 0x2E006714: call edi */
   3680     RECOMP_FLAGS_IN();
   3681     ecx = ebp + (-0x6C); /* 0x2E006716: lea ecx, [ebp - 0x6c] */
   3682     PUSH32(esp, 0); /* 0x2E006719: push 0 */
   3683     PUSH32(esp, ecx); /* 0x2E00671B: push ecx */
   3684     ecx = ebp + (-0x4C); /* 0x2E00671C: lea ecx, [ebp - 0x4c] */
   3685     RECOMP_ICALL(0x2E008370u); /* 0x2E00671F: call 0x2e008370 */ /* not lifted */
   3686     RECOMP_FLAGS_IN();
   3687     edx = ebp + (-0x2C); /* 0x2E006724: lea edx, [ebp - 0x2c] */
   3688     ecx = 0x2E01B268u; /* 0x2E006727: mov ecx, 0x2e01b268 */
   3689     PUSH32(esp, edx); /* 0x2E00672C: push edx */
   3690     RECOMP_ICALL(0x2E008320u); /* 0x2E00672D: call 0x2e008320 */ /* not lifted */
   3691     RECOMP_FLAGS_IN();
   3692     PUSH32(esp, eax); /* 0x2E006732: push eax */
   3693     eax = ebp + (-0x4C); /* 0x2E006733: lea eax, [ebp - 0x4c] */
   3694     PUSH32(esp, eax); /* 0x2E006736: push eax */
   3695     RECOMP_ICALL(0x2E008620u); /* 0x2E006737: call 0x2e008620 */ /* not lifted */
   3696     RECOMP_FLAGS_IN();
   3697     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3698     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3699     esp = esp + 8; /* 0x2E00673C: add esp, 8 */
   3700     _flag_k = FK_ADD;
   3701     /* test LO8(eax), LO8(eax) */ /* 0x2E00673F: test al, al */
   3702     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3703     _cf = 0;
   3704     _flag_k = FK_NARROW(FK_TEST, 24);
   3705     RECOMP_BACKEDGE();
   3706     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0066FE; /* 0x2E006741: je 0x2e0066fe */
   3707 L_2E006743:
   3708     eax = MEM32(0x2E01B2C4); /* 0x2E006743: mov eax, dword ptr [0x2e01b2c4] */
   3709     ecx = esi; /* 0x2E006748: mov ecx, esi */
   3710     PUSH32(esp, eax); /* 0x2E00674A: push eax */
   3711     RECOMP_ICALL(edi); /* 0x2E00674B: call edi */
   3712     RECOMP_FLAGS_IN();
   3713     ecx = ebp + (-0x7C); /* 0x2E00674D: lea ecx, [ebp - 0x7c] */
   3714     PUSH32(esp, ecx); /* 0x2E006750: push ecx */
   3715     ecx = 0x2E01B298u; /* 0x2E006751: mov ecx, 0x2e01b298 */
   3716     RECOMP_ICALL(0x2E0082F0u); /* 0x2E006756: call 0x2e0082f0 */ /* not lifted */
   3717     RECOMP_FLAGS_IN();
   3718     edx = MEM32(eax); /* 0x2E00675B: mov edx, dword ptr [eax] */
   3719     MEM32(ebp + (-0x3C)) = edx; /* 0x2E00675D: mov dword ptr [ebp - 0x3c], edx */
   3720     ecx = MEM32(eax + 0x4); /* 0x2E006760: mov ecx, dword ptr [eax + 4] */
   3721     MEM32(ebp + (-0x38)) = ecx; /* 0x2E006763: mov dword ptr [ebp - 0x38], ecx */
   3722     ecx = ebp + (-0x2C); /* 0x2E006766: lea ecx, [ebp - 0x2c] */
   3723     edx = MEM32(eax + 0x8); /* 0x2E006769: mov edx, dword ptr [eax + 8] */
   3724     PUSH32(esp, ecx); /* 0x2E00676C: push ecx */
   3725     MEM32(ebp + (-0x34)) = edx; /* 0x2E00676D: mov dword ptr [ebp - 0x34], edx */
   3726     ecx = 0x2E01B298u; /* 0x2E006770: mov ecx, 0x2e01b298 */
   3727     eax = MEM32(eax + 0xC); /* 0x2E006775: mov eax, dword ptr [eax + 0xc] */
   3728     MEM32(ebp + (-0x30)) = eax; /* 0x2E006778: mov dword ptr [ebp - 0x30], eax */
   3729     RECOMP_ICALL(0x2E008320u); /* 0x2E00677B: call 0x2e008320 */ /* not lifted */
   3730     RECOMP_FLAGS_IN();
   3731     edx = ebp + (-0x3C); /* 0x2E006780: lea edx, [ebp - 0x3c] */
   3732     PUSH32(esp, eax); /* 0x2E006783: push eax */
   3733     PUSH32(esp, edx); /* 0x2E006784: push edx */
   3734     RECOMP_ICALL(0x2E008620u); /* 0x2E006785: call 0x2e008620 */ /* not lifted */
   3735     RECOMP_FLAGS_IN();
   3736     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3737     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3738     esp = esp + 8; /* 0x2E00678A: add esp, 8 */
   3739     _flag_k = FK_ADD;
   3740     /* test LO8(eax), LO8(eax) */ /* 0x2E00678D: test al, al */
   3741     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3742     _cf = 0;
   3743     _flag_k = FK_NARROW(FK_TEST, 24);
   3744     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E0067D9; /* 0x2E00678F: jne 0x2e0067d9 */
   3745 L_2E006791:
   3746     eax = ebp + (-0x7C); /* 0x2E006791: lea eax, [ebp - 0x7c] */
   3747     PUSH32(esp, 1); /* 0x2E006794: push 1 */
   3748     PUSH32(esp, eax); /* 0x2E006796: push eax */
   3749     ecx = ebp + (-0x3C); /* 0x2E006797: lea ecx, [ebp - 0x3c] */
   3750     RECOMP_ICALL(0x2E004870u); /* 0x2E00679A: call 0x2e004870 */ /* not lifted */
   3751     RECOMP_FLAGS_IN();
   3752     eax = MEM32(eax + 0x8); /* 0x2E00679F: mov eax, dword ptr [eax + 8] */
   3753     PUSH32(esp, ecx); /* 0x2E0067A2: push ecx */
   3754     ecx = esi; /* 0x2E0067A3: mov ecx, esi */
   3755     fp_push(*(float*)&MEM32(eax)); /* 0x2E0067A5: fld dword ptr [eax] */
   3756     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2E0067A7: fstp dword ptr [esp] */
   3757     RECOMP_ICALL(ebx); /* 0x2E0067AA: call ebx */
   3758     RECOMP_FLAGS_IN();
   3759     ecx = ebp + (-0x6C); /* 0x2E0067AC: lea ecx, [ebp - 0x6c] */
   3760     PUSH32(esp, 0); /* 0x2E0067AF: push 0 */
   3761     PUSH32(esp, ecx); /* 0x2E0067B1: push ecx */
   3762     ecx = ebp + (-0x3C); /* 0x2E0067B2: lea ecx, [ebp - 0x3c] */
   3763     RECOMP_ICALL(0x2E008370u); /* 0x2E0067B5: call 0x2e008370 */ /* not lifted */
   3764     RECOMP_FLAGS_IN();
   3765     edx = ebp + (-0x2C); /* 0x2E0067BA: lea edx, [ebp - 0x2c] */
   3766     ecx = 0x2E01B298u; /* 0x2E0067BD: mov ecx, 0x2e01b298 */
   3767     PUSH32(esp, edx); /* 0x2E0067C2: push edx */
   3768     RECOMP_ICALL(0x2E008320u); /* 0x2E0067C3: call 0x2e008320 */ /* not lifted */
   3769     RECOMP_FLAGS_IN();
   3770     PUSH32(esp, eax); /* 0x2E0067C8: push eax */
   3771     eax = ebp + (-0x3C); /* 0x2E0067C9: lea eax, [ebp - 0x3c] */
   3772     PUSH32(esp, eax); /* 0x2E0067CC: push eax */
   3773     RECOMP_ICALL(0x2E008620u); /* 0x2E0067CD: call 0x2e008620 */ /* not lifted */
   3774     RECOMP_FLAGS_IN();
   3775     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3776     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3777     esp = esp + 8; /* 0x2E0067D2: add esp, 8 */
   3778     _flag_k = FK_ADD;
   3779     /* test LO8(eax), LO8(eax) */ /* 0x2E0067D5: test al, al */
   3780     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3781     _cf = 0;
   3782     _flag_k = FK_NARROW(FK_TEST, 24);
   3783     RECOMP_BACKEDGE();
   3784     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006791; /* 0x2E0067D7: je 0x2e006791 */
   3785 L_2E0067D9:
   3786     ecx = MEM32(0x2E01B234); /* 0x2E0067D9: mov ecx, dword ptr [0x2e01b234] */
   3787     PUSH32(esp, ecx); /* 0x2E0067DF: push ecx */
   3788     ecx = esi; /* 0x2E0067E0: mov ecx, esi */
   3789     RECOMP_ICALL(ebx); /* 0x2E0067E2: call ebx */
   3790     RECOMP_FLAGS_IN();
   3791     eax = MEM32(0x2E01B2C8); /* 0x2E0067E4: mov eax, dword ptr [0x2e01b2c8] */
   3792     ecx = esi; /* 0x2E0067E9: mov ecx, esi */
   3793     PUSH32(esp, eax); /* 0x2E0067EB: push eax */
   3794     RECOMP_ICALL(edi); /* 0x2E0067EC: call edi */
   3795     RECOMP_FLAGS_IN();
   3796     eax = MEM32(0x2E01B2CC); /* 0x2E0067EE: mov eax, dword ptr [0x2e01b2cc] */
   3797     ecx = esi; /* 0x2E0067F3: mov ecx, esi */
   3798     PUSH32(esp, eax); /* 0x2E0067F5: push eax */
   3799     RECOMP_ICALL(edi); /* 0x2E0067F6: call edi */
   3800     RECOMP_FLAGS_IN();
   3801     eax = MEM32(0x2E01B2D0); /* 0x2E0067F8: mov eax, dword ptr [0x2e01b2d0] */
   3802     ecx = esi; /* 0x2E0067FD: mov ecx, esi */
   3803     PUSH32(esp, eax); /* 0x2E0067FF: push eax */
   3804     RECOMP_ICALL(edi); /* 0x2E006800: call edi */
   3805     RECOMP_FLAGS_IN();
   3806     eax = MEM32(0x2E01B2D4); /* 0x2E006802: mov eax, dword ptr [0x2e01b2d4] */
   3807     ecx = esi; /* 0x2E006807: mov ecx, esi */
   3808     PUSH32(esp, eax); /* 0x2E006809: push eax */
   3809     RECOMP_ICALL(edi); /* 0x2E00680A: call edi */
   3810     RECOMP_FLAGS_IN();
   3811     eax = MEM32(0x2E01B2D8); /* 0x2E00680C: mov eax, dword ptr [0x2e01b2d8] */
   3812     ecx = esi; /* 0x2E006811: mov ecx, esi */
   3813     PUSH32(esp, eax); /* 0x2E006813: push eax */
   3814     RECOMP_ICALL(edi); /* 0x2E006814: call edi */
   3815     RECOMP_FLAGS_IN();
   3816     eax = MEM32(0x2E01B2E0); /* 0x2E006816: mov eax, dword ptr [0x2e01b2e0] */
   3817     ecx = esi; /* 0x2E00681B: mov ecx, esi */
   3818     PUSH32(esp, eax); /* 0x2E00681D: push eax */
   3819     RECOMP_ICALL(edi); /* 0x2E00681E: call edi */
   3820     RECOMP_FLAGS_IN();
   3821     eax = MEM32(0x2E01B2DC); /* 0x2E006820: mov eax, dword ptr [0x2e01b2dc] */
   3822     ecx = esi; /* 0x2E006825: mov ecx, esi */
   3823     PUSH32(esp, eax); /* 0x2E006827: push eax */
   3824     RECOMP_ICALL(edi); /* 0x2E006828: call edi */
   3825     RECOMP_FLAGS_IN();
   3826     ecx = ebp + (-0x1C); /* 0x2E00682A: lea ecx, [ebp - 0x1c] */
   3827     RECOMP_ICALL(0x2E0048E0u); /* 0x2E00682D: call 0x2e0048e0 */ /* not lifted */
   3828     RECOMP_FLAGS_IN();
   3829     _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu));
   3830     ebx = ebx | 0xFFFFFFFFu; /* 0x2E006832: or ebx, 0xffffffff */
   3831     _cf = 0;
   3832     _flag_k = FK_TEST;
   3833     ecx = ebp + (-0x1C); /* 0x2E006835: lea ecx, [ebp - 0x1c] */
   3834     MEM32(ebp + (-0x4)) = ebx; /* 0x2E006838: mov dword ptr [ebp - 4], ebx */
   3835     RECOMP_ICALL(0x2E0048E0u); /* 0x2E00683B: call 0x2e0048e0 */ /* not lifted */
   3836     RECOMP_FLAGS_IN();
   3837     PUSH32(esp, esi); /* 0x2E006840: push esi */
   3838     ecx = 0x2E01AC80u; /* 0x2E006841: mov ecx, 0x2e01ac80 */
   3839     RECOMP_ICALL(0x2E007B00u); /* 0x2E006846: call 0x2e007b00 */ /* not lifted */
   3840     RECOMP_FLAGS_IN();
   3841     PUSH32(esp, 0x2E01B1A0u); /* 0x2E00684B: push 0x2e01b1a0 */
   3842     ecx = ebp + (-0x24); /* 0x2E006850: lea ecx, [ebp - 0x24] */
   3843     RECOMP_ICALL(0x2E008180u); /* 0x2E006853: call 0x2e008180 */ /* not lifted */
   3844     RECOMP_FLAGS_IN();
   3845     edx = MEM32(0x2E01B2EC); /* 0x2E006858: mov edx, dword ptr [0x2e01b2ec] */
   3846     ecx = esi; /* 0x2E00685E: mov ecx, esi */
   3847     PUSH32(esp, edx); /* 0x2E006860: push edx */
   3848     MEM32(ebp + (-0x4)) = 2; /* 0x2E006861: mov dword ptr [ebp - 4], 2 */
   3849     RECOMP_ICALL(edi); /* 0x2E006868: call edi */
   3850     RECOMP_FLAGS_IN();
   3851     eax = MEM32(0x2E01B2F0); /* 0x2E00686A: mov eax, dword ptr [0x2e01b2f0] */
   3852     ecx = esi; /* 0x2E00686F: mov ecx, esi */
   3853     PUSH32(esp, eax); /* 0x2E006871: push eax */
   3854     RECOMP_ICALL(edi); /* 0x2E006872: call edi */
   3855     RECOMP_FLAGS_IN();
   3856     ecx = MEM32(0x2E01B2F4); /* 0x2E006874: mov ecx, dword ptr [0x2e01b2f4] */
   3857     PUSH32(esp, ecx); /* 0x2E00687A: push ecx */
   3858     ecx = esi; /* 0x2E00687B: mov ecx, esi */
   3859     RECOMP_ICALL(edi); /* 0x2E00687D: call edi */
   3860     RECOMP_FLAGS_IN();
   3861     edx = MEM32(0x2E01B2F8); /* 0x2E00687F: mov edx, dword ptr [0x2e01b2f8] */
   3862     ecx = esi; /* 0x2E006885: mov ecx, esi */
   3863     PUSH32(esp, edx); /* 0x2E006887: push edx */
   3864     RECOMP_ICALL(edi); /* 0x2E006888: call edi */
   3865     RECOMP_FLAGS_IN();
   3866     eax = MEM32(0x2E01B2FC); /* 0x2E00688A: mov eax, dword ptr [0x2e01b2fc] */
   3867     ecx = esi; /* 0x2E00688F: mov ecx, esi */
   3868     PUSH32(esp, eax); /* 0x2E006891: push eax */
   3869     RECOMP_ICALL(edi); /* 0x2E006892: call edi */
   3870     RECOMP_FLAGS_IN();
   3871     ecx = MEM32(0x2E01B300); /* 0x2E006894: mov ecx, dword ptr [0x2e01b300] */
   3872     PUSH32(esp, ecx); /* 0x2E00689A: push ecx */
   3873     ecx = esi; /* 0x2E00689B: mov ecx, esi */
   3874     RECOMP_ICALL(edi); /* 0x2E00689D: call edi */
   3875     RECOMP_FLAGS_IN();
   3876     eax = MEM32(0x2E01AB78); /* 0x2E00689F: mov eax, dword ptr [0x2e01ab78] */
   3877     ecx = esi; /* 0x2E0068A4: mov ecx, esi */
   3878     PUSH32(esp, eax); /* 0x2E0068A6: push eax */
   3879     RECOMP_ICALL(edi); /* 0x2E0068A7: call edi */
   3880     RECOMP_FLAGS_IN();
   3881     edx = ebp + (-0x14); /* 0x2E0068A9: lea edx, [ebp - 0x14] */
   3882     ecx = 0x2E01AB68u; /* 0x2E0068AC: mov ecx, 0x2e01ab68 */
   3883     PUSH32(esp, edx); /* 0x2E0068B1: push edx */
   3884     RECOMP_ICALL(0x2E004210u); /* 0x2E0068B2: call 0x2e004210 */ /* not lifted */
   3885     RECOMP_FLAGS_IN();
   3886     eax = MEM32(eax); /* 0x2E0068B7: mov eax, dword ptr [eax] */
   3887     MEM32(ebp + 0x8) = eax; /* 0x2E0068B9: mov dword ptr [ebp + 8], eax */
   3888 L_2E0068BC:
   3889     /* cmp eax, MEM32(0x2E01AB6C) */ /* 0x2E0068BC: cmp eax, dword ptr [0x2e01ab6c] */
   3890     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x2E01AB6C));
   3891     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3892     _flag_k = FK_CMP;
   3893     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0068EA; /* 0x2E0068C2: je 0x2e0068ea */
   3894 L_2E0068C4:
   3895     eax = MEM32(eax + 0xC); /* 0x2E0068C4: mov eax, dword ptr [eax + 0xc] */
   3896     ecx = esi; /* 0x2E0068C7: mov ecx, esi */
   3897     PUSH32(esp, eax); /* 0x2E0068C9: push eax */
   3898     RECOMP_ICALL(edi); /* 0x2E0068CA: call edi */
   3899     RECOMP_FLAGS_IN();
   3900     ecx = MEM32(ebp + 0x8); /* 0x2E0068CC: mov ecx, dword ptr [ebp + 8] */
   3901     edx = MEM32(ecx + 0x10); /* 0x2E0068CF: mov edx, dword ptr [ecx + 0x10] */
   3902     ecx = esi; /* 0x2E0068D2: mov ecx, esi */
   3903     PUSH32(esp, edx); /* 0x2E0068D4: push edx */
   3904     RECOMP_ICALL(edi); /* 0x2E0068D5: call edi */
   3905     RECOMP_FLAGS_IN();
   3906     eax = ebp + (-0x14); /* 0x2E0068D7: lea eax, [ebp - 0x14] */
   3907     PUSH32(esp, 0); /* 0x2E0068DA: push 0 */
   3908     PUSH32(esp, eax); /* 0x2E0068DC: push eax */
   3909     ecx = ebp + 0x8; /* 0x2E0068DD: lea ecx, [ebp + 8] */
   3910     RECOMP_ICALL(0x2E007340u); /* 0x2E0068E0: call 0x2e007340 */ /* not lifted */
   3911     RECOMP_FLAGS_IN();
   3912     eax = MEM32(ebp + 0x8); /* 0x2E0068E5: mov eax, dword ptr [ebp + 8] */
   3913     RECOMP_BACKEDGE();
   3914     goto L_2E0068BC; /* 0x2E0068E8: jmp 0x2e0068bc */
   3915 L_2E0068EA:
   3916     eax = MEM32(0x2E01B198); /* 0x2E0068EA: mov eax, dword ptr [0x2e01b198] */
   3917     ecx = esi; /* 0x2E0068EF: mov ecx, esi */
   3918     PUSH32(esp, eax); /* 0x2E0068F1: push eax */
   3919     RECOMP_ICALL(edi); /* 0x2E0068F2: call edi */
   3920     RECOMP_FLAGS_IN();
   3921     ecx = ebp + (-0x14); /* 0x2E0068F4: lea ecx, [ebp - 0x14] */
   3922     PUSH32(esp, ecx); /* 0x2E0068F7: push ecx */
   3923     ecx = 0x2E01B188u; /* 0x2E0068F8: mov ecx, 0x2e01b188 */
   3924     RECOMP_ICALL(0x2E004210u); /* 0x2E0068FD: call 0x2e004210 */ /* not lifted */
   3925     RECOMP_FLAGS_IN();
   3926     eax = MEM32(eax); /* 0x2E006902: mov eax, dword ptr [eax] */
   3927     MEM32(ebp + (-0x10)) = eax; /* 0x2E006904: mov dword ptr [ebp - 0x10], eax */
   3928 L_2E006907:
   3929     /* cmp eax, MEM32(0x2E01B18C) */ /* 0x2E006907: cmp eax, dword ptr [0x2e01b18c] */
   3930     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x2E01B18C));
   3931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3932     _flag_k = FK_CMP;
   3933     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006935; /* 0x2E00690D: je 0x2e006935 */
   3934 L_2E00690F:
   3935     edx = MEM32(eax + 0xC); /* 0x2E00690F: mov edx, dword ptr [eax + 0xc] */
   3936     ecx = esi; /* 0x2E006912: mov ecx, esi */
   3937     PUSH32(esp, edx); /* 0x2E006914: push edx */
   3938     RECOMP_ICALL(edi); /* 0x2E006915: call edi */
   3939     RECOMP_FLAGS_IN();
   3940     eax = MEM32(ebp + (-0x10)); /* 0x2E006917: mov eax, dword ptr [ebp - 0x10] */
   3941     ecx = MEM32(eax + 0x10); /* 0x2E00691A: mov ecx, dword ptr [eax + 0x10] */
   3942     PUSH32(esp, ecx); /* 0x2E00691D: push ecx */
   3943     ecx = esi; /* 0x2E00691E: mov ecx, esi */
   3944     RECOMP_ICALL(edi); /* 0x2E006920: call edi */
   3945     RECOMP_FLAGS_IN();
   3946     edx = ebp + (-0x14); /* 0x2E006922: lea edx, [ebp - 0x14] */
   3947     PUSH32(esp, 0); /* 0x2E006925: push 0 */
   3948     PUSH32(esp, edx); /* 0x2E006927: push edx */
   3949     ecx = ebp + (-0x10); /* 0x2E006928: lea ecx, [ebp - 0x10] */
   3950     RECOMP_ICALL(0x2E007340u); /* 0x2E00692B: call 0x2e007340 */ /* not lifted */
   3951     RECOMP_FLAGS_IN();
   3952     eax = MEM32(ebp + (-0x10)); /* 0x2E006930: mov eax, dword ptr [ebp - 0x10] */
   3953     RECOMP_BACKEDGE();
   3954     goto L_2E006907; /* 0x2E006933: jmp 0x2e006907 */
   3955 L_2E006935:
   3956     ecx = ebp + (-0x24); /* 0x2E006935: lea ecx, [ebp - 0x24] */
   3957     MEM32(ebp + (-0x4)) = ebx; /* 0x2E006938: mov dword ptr [ebp - 4], ebx */
   3958     RECOMP_ICALL(0x2E0048E0u); /* 0x2E00693B: call 0x2e0048e0 */ /* not lifted */
   3959     RECOMP_FLAGS_IN();
   3960     ecx = MEM32(ebp + (-0xC)); /* 0x2E006940: mov ecx, dword ptr [ebp - 0xc] */
   3961     edi = POP32_VAL(esp); /* 0x2E006943: pop edi */
   3962     esi = POP32_VAL(esp); /* 0x2E006944: pop esi */
   3963     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3964     eax = 0; /* 0x2E006945: xor eax, eax */
   3965     _cf = 0;
   3966     _flag_k = FK_TEST;
   3967     ebx = POP32_VAL(esp); /* 0x2E006947: pop ebx */
   3968     MEM32(FS_BASE + (0)) = ecx; /* 0x2E006948: mov dword ptr fs:[0], ecx */
   3969     esp = ebp; /* 0x2E00694F: mov esp, ebp */
   3970     ebp = POP32_VAL(esp); /* 0x2E006951: pop ebp */
   3971     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E006952: ret  */
   3972     RECOMP_REGS_OUT();
   3973 }
   3974 
   3975 void sub_2E006960(void) {
   3976     int _fpu_cmp = 0;
   3977     uint32_t _cf = 0;
   3978     int _df = 1;
   3979     uint32_t _flag_k = FK_NONE;
   3980     uint32_t _flag_a = 0, _flag_b = 0;
   3981     uint32_t _itail_tgt = 0;
   3982     RECOMP_REGS_LOCALS
   3983     RECOMP_ENTER(0x2E006960u);
   3984 
   3985 L_2E006960:
   3986     PUSH32(esp, ebp); /* 0x2E006960: push ebp */
   3987     ebp = esp; /* 0x2E006961: mov ebp, esp */
   3988     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E006963: push -1 */
   3989     PUSH32(esp, 0x2E011950u); /* 0x2E006965: push 0x2e011950 */
   3990     eax = MEM32(FS_BASE + (0)); /* 0x2E00696A: mov eax, dword ptr fs:[0] */
   3991     PUSH32(esp, eax); /* 0x2E006970: push eax */
   3992     MEM32(FS_BASE + (0)) = esp; /* 0x2E006971: mov dword ptr fs:[0], esp */
   3993     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u);
   3994     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3995     esp = esp - 0x44u; /* 0x2E006978: sub esp, 0x44 */
   3996     _flag_k = FK_CMP;
   3997     PUSH32(esp, ebx); /* 0x2E00697B: push ebx */
   3998     ebx = ecx + 0x18; /* 0x2E00697C: lea ebx, [ecx + 0x18] */
   3999     PUSH32(esp, esi); /* 0x2E00697F: push esi */
   4000     MEM32(ebp + (-0x24)) = ecx; /* 0x2E006980: mov dword ptr [ebp - 0x24], ecx */
   4001     PUSH32(esp, edi); /* 0x2E006983: push edi */
   4002     ecx = ebx; /* 0x2E006984: mov ecx, ebx */
   4003     RECOMP_ICALL(0x2E003EE0u); /* 0x2E006986: call 0x2e003ee0 */ /* not lifted */
   4004     RECOMP_FLAGS_IN();
   4005     eax = ebx + 0x4; /* 0x2E00698B: lea eax, [ebx + 4] */
   4006     ecx = ebp + (-0x40); /* 0x2E00698E: lea ecx, [ebp - 0x40] */
   4007     PUSH32(esp, eax); /* 0x2E006991: push eax */
   4008     RECOMP_ICALL(0x2E008130u); /* 0x2E006992: call 0x2e008130 */ /* not lifted */
   4009     RECOMP_FLAGS_IN();
   4010     esi = MEM32(ebp + 0x8); /* 0x2E006997: mov esi, dword ptr [ebp + 8] */
   4011     edi = MEM32(0x2E0121FC); /* 0x2E00699A: mov edi, dword ptr [0x2e0121fc] */
   4012     ecx = ebp + (-0x10); /* 0x2E0069A0: lea ecx, [ebp - 0x10] */
   4013     MEM32(ebp + (-0x4)) = 0; /* 0x2E0069A3: mov dword ptr [ebp - 4], 0 */
   4014     PUSH32(esp, ecx); /* 0x2E0069AA: push ecx */
   4015     ecx = esi; /* 0x2E0069AB: mov ecx, esi */
   4016     RECOMP_ICALL(edi); /* 0x2E0069AD: call edi */
   4017     RECOMP_FLAGS_IN();
   4018     eax = MEM32(ebp + (-0x10)); /* 0x2E0069AF: mov eax, dword ptr [ebp - 0x10] */
   4019     MEM32(ebp + 0x8) = 0; /* 0x2E0069B2: mov dword ptr [ebp + 8], 0 */
   4020     /* test eax, eax */ /* 0x2E0069B9: test eax, eax */
   4021     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4022     _cf = 0;
   4023     _flag_k = FK_TEST;
   4024     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0069DF; /* 0x2E0069BB: jbe 0x2e0069df */
   4025 L_2E0069BD:
   4026     edx = ebp + (-0x28); /* 0x2E0069BD: lea edx, [ebp - 0x28] */
   4027     ecx = esi; /* 0x2E0069C0: mov ecx, esi */
   4028     PUSH32(esp, edx); /* 0x2E0069C2: push edx */
   4029     RECOMP_ICALL(edi); /* 0x2E0069C3: call edi */
   4030     RECOMP_FLAGS_IN();
   4031     eax = ebp + (-0x28); /* 0x2E0069C5: lea eax, [ebp - 0x28] */
   4032     ecx = ebx + 0x50; /* 0x2E0069C8: lea ecx, [ebx + 0x50] */
   4033     PUSH32(esp, eax); /* 0x2E0069CB: push eax */
   4034     RECOMP_ICALL(0x2E003220u); /* 0x2E0069CC: call 0x2e003220 */ /* not lifted */
   4035     RECOMP_FLAGS_IN();
   4036     eax = MEM32(ebp + 0x8); /* 0x2E0069D1: mov eax, dword ptr [ebp + 8] */
   4037     ecx = MEM32(ebp + (-0x10)); /* 0x2E0069D4: mov ecx, dword ptr [ebp - 0x10] */
   4038     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4039     eax = eax + 1; /* 0x2E0069D7: inc eax */
   4040     _flag_k = FK_INC;
   4041     /* cmp eax, ecx */ /* 0x2E0069D8: cmp eax, ecx */
   4042     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4043     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4044     _flag_k = FK_CMP;
   4045     MEM32(ebp + 0x8) = eax; /* 0x2E0069DA: mov dword ptr [ebp + 8], eax */
   4046     RECOMP_BACKEDGE();
   4047     if (CMP_B(_flag_a, _flag_b)) goto L_2E0069BD; /* 0x2E0069DD: jb 0x2e0069bd */
   4048 L_2E0069DF:
   4049     ecx = ebp + (-0x10); /* 0x2E0069DF: lea ecx, [ebp - 0x10] */
   4050     PUSH32(esp, ecx); /* 0x2E0069E2: push ecx */
   4051     ecx = esi; /* 0x2E0069E3: mov ecx, esi */
   4052     RECOMP_ICALL(edi); /* 0x2E0069E5: call edi */
   4053     RECOMP_FLAGS_IN();
   4054     eax = MEM32(ebp + (-0x10)); /* 0x2E0069E7: mov eax, dword ptr [ebp - 0x10] */
   4055     MEM32(ebp + 0x8) = 0; /* 0x2E0069EA: mov dword ptr [ebp + 8], 0 */
   4056     /* test eax, eax */ /* 0x2E0069F1: test eax, eax */
   4057     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4058     _cf = 0;
   4059     _flag_k = FK_TEST;
   4060     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006A1A; /* 0x2E0069F3: jbe 0x2e006a1a */
   4061 L_2E0069F5:
   4062     edx = ebp + (-0x30); /* 0x2E0069F5: lea edx, [ebp - 0x30] */
   4063     ecx = esi; /* 0x2E0069F8: mov ecx, esi */
   4064     PUSH32(esp, edx); /* 0x2E0069FA: push edx */
   4065     RECOMP_ICALL(edi); /* 0x2E0069FB: call edi */
   4066     RECOMP_FLAGS_IN();
   4067     eax = ebp + (-0x30); /* 0x2E0069FD: lea eax, [ebp - 0x30] */
   4068     ecx = ebx + 0x80; /* 0x2E006A00: lea ecx, [ebx + 0x80] */
   4069     PUSH32(esp, eax); /* 0x2E006A06: push eax */
   4070     RECOMP_ICALL(0x2E003220u); /* 0x2E006A07: call 0x2e003220 */ /* not lifted */
   4071     RECOMP_FLAGS_IN();
   4072     eax = MEM32(ebp + 0x8); /* 0x2E006A0C: mov eax, dword ptr [ebp + 8] */
   4073     ecx = MEM32(ebp + (-0x10)); /* 0x2E006A0F: mov ecx, dword ptr [ebp - 0x10] */
   4074     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4075     eax = eax + 1; /* 0x2E006A12: inc eax */
   4076     _flag_k = FK_INC;
   4077     /* cmp eax, ecx */ /* 0x2E006A13: cmp eax, ecx */
   4078     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4079     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4080     _flag_k = FK_CMP;
   4081     MEM32(ebp + 0x8) = eax; /* 0x2E006A15: mov dword ptr [ebp + 8], eax */
   4082     RECOMP_BACKEDGE();
   4083     if (CMP_B(_flag_a, _flag_b)) goto L_2E0069F5; /* 0x2E006A18: jb 0x2e0069f5 */
   4084 L_2E006A1A:
   4085     ecx = ebp + (-0x10); /* 0x2E006A1A: lea ecx, [ebp - 0x10] */
   4086     PUSH32(esp, ecx); /* 0x2E006A1D: push ecx */
   4087     ecx = esi; /* 0x2E006A1E: mov ecx, esi */
   4088     RECOMP_ICALL(edi); /* 0x2E006A20: call edi */
   4089     RECOMP_FLAGS_IN();
   4090     eax = MEM32(ebp + (-0x10)); /* 0x2E006A22: mov eax, dword ptr [ebp - 0x10] */
   4091     MEM32(ebp + 0x8) = 0; /* 0x2E006A25: mov dword ptr [ebp + 8], 0 */
   4092     /* test eax, eax */ /* 0x2E006A2C: test eax, eax */
   4093     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4094     _cf = 0;
   4095     _flag_k = FK_TEST;
   4096     MEM32(ebp + (-0x1C)) = 0; /* 0x2E006A2E: mov dword ptr [ebp - 0x1c], 0 */
   4097     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006A69; /* 0x2E006A35: jbe 0x2e006a69 */
   4098 L_2E006A37:
   4099     edx = ebp + (-0x20); /* 0x2E006A37: lea edx, [ebp - 0x20] */
   4100     ecx = esi; /* 0x2E006A3A: mov ecx, esi */
   4101     PUSH32(esp, edx); /* 0x2E006A3C: push edx */
   4102     RECOMP_ICALL(MEM32(0x2E0121EC)); /* 0x2E006A3D: call dword ptr [0x2e0121ec] */
   4103     RECOMP_FLAGS_IN();
   4104     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2E006A43: fld dword ptr [ebp - 0x20] */
   4105     _st[0] += (double)*(float*)ADDR(ebp + 0x8); /* 0x2E006A46: fadd dword ptr [ebp + 8] */
   4106     eax = ebp + (-0x20); /* 0x2E006A49: lea eax, [ebp - 0x20] */
   4107     ecx = ebx + 0xB0; /* 0x2E006A4C: lea ecx, [ebx + 0xb0] */
   4108     PUSH32(esp, eax); /* 0x2E006A52: push eax */
   4109     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2E006A53: fstp dword ptr [ebp + 8] */
   4110     RECOMP_ICALL(0x2E003220u); /* 0x2E006A56: call 0x2e003220 */ /* not lifted */
   4111     RECOMP_FLAGS_IN();
   4112     eax = MEM32(ebp + (-0x1C)); /* 0x2E006A5B: mov eax, dword ptr [ebp - 0x1c] */
   4113     ecx = MEM32(ebp + (-0x10)); /* 0x2E006A5E: mov ecx, dword ptr [ebp - 0x10] */
   4114     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4115     eax = eax + 1; /* 0x2E006A61: inc eax */
   4116     _flag_k = FK_INC;
   4117     /* cmp eax, ecx */ /* 0x2E006A62: cmp eax, ecx */
   4118     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4119     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4120     _flag_k = FK_CMP;
   4121     MEM32(ebp + (-0x1C)) = eax; /* 0x2E006A64: mov dword ptr [ebp - 0x1c], eax */
   4122     RECOMP_BACKEDGE();
   4123     if (CMP_B(_flag_a, _flag_b)) goto L_2E006A37; /* 0x2E006A67: jb 0x2e006a37 */
   4124 L_2E006A69:
   4125     ecx = ebx + 0x4C; /* 0x2E006A69: lea ecx, [ebx + 0x4c] */
   4126     PUSH32(esp, ecx); /* 0x2E006A6C: push ecx */
   4127     ecx = esi; /* 0x2E006A6D: mov ecx, esi */
   4128     RECOMP_ICALL(MEM32(0x2E0121EC)); /* 0x2E006A6F: call dword ptr [0x2e0121ec] */
   4129     RECOMP_FLAGS_IN();
   4130     edx = ebx + 0xE0; /* 0x2E006A75: lea edx, [ebx + 0xe0] */
   4131     ecx = esi; /* 0x2E006A7B: mov ecx, esi */
   4132     PUSH32(esp, edx); /* 0x2E006A7D: push edx */
   4133     RECOMP_ICALL(edi); /* 0x2E006A7E: call edi */
   4134     RECOMP_FLAGS_IN();
   4135     eax = ebx + 0xE4; /* 0x2E006A80: lea eax, [ebx + 0xe4] */
   4136     ecx = esi; /* 0x2E006A86: mov ecx, esi */
   4137     PUSH32(esp, eax); /* 0x2E006A88: push eax */
   4138     RECOMP_ICALL(edi); /* 0x2E006A89: call edi */
   4139     RECOMP_FLAGS_IN();
   4140     ecx = ebx + 0xE8; /* 0x2E006A8B: lea ecx, [ebx + 0xe8] */
   4141     PUSH32(esp, ecx); /* 0x2E006A91: push ecx */
   4142     ecx = esi; /* 0x2E006A92: mov ecx, esi */
   4143     RECOMP_ICALL(edi); /* 0x2E006A94: call edi */
   4144     RECOMP_FLAGS_IN();
   4145     edx = ebx + 0xEC; /* 0x2E006A96: lea edx, [ebx + 0xec] */
   4146     ecx = esi; /* 0x2E006A9C: mov ecx, esi */
   4147     PUSH32(esp, edx); /* 0x2E006A9E: push edx */
   4148     RECOMP_ICALL(edi); /* 0x2E006A9F: call edi */
   4149     RECOMP_FLAGS_IN();
   4150     eax = ebx + 0xF0; /* 0x2E006AA1: lea eax, [ebx + 0xf0] */
   4151     ecx = esi; /* 0x2E006AA7: mov ecx, esi */
   4152     PUSH32(esp, eax); /* 0x2E006AA9: push eax */
   4153     RECOMP_ICALL(edi); /* 0x2E006AAA: call edi */
   4154     RECOMP_FLAGS_IN();
   4155     ecx = ebx + 0xF8; /* 0x2E006AAC: lea ecx, [ebx + 0xf8] */
   4156     PUSH32(esp, ecx); /* 0x2E006AB2: push ecx */
   4157     ecx = esi; /* 0x2E006AB3: mov ecx, esi */
   4158     RECOMP_ICALL(edi); /* 0x2E006AB5: call edi */
   4159     RECOMP_FLAGS_IN();
   4160     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xF4u);
   4161     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4162     ebx = ebx + 0xF4u; /* 0x2E006AB7: add ebx, 0xf4 */
   4163     _flag_k = FK_ADD;
   4164     ecx = esi; /* 0x2E006ABD: mov ecx, esi */
   4165     PUSH32(esp, ebx); /* 0x2E006ABF: push ebx */
   4166     RECOMP_ICALL(edi); /* 0x2E006AC0: call edi */
   4167     RECOMP_FLAGS_IN();
   4168     ecx = ebp + (-0x40); /* 0x2E006AC2: lea ecx, [ebp - 0x40] */
   4169     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006AC5: call 0x2e0048e0 */ /* not lifted */
   4170     RECOMP_FLAGS_IN();
   4171     ecx = ebp + (-0x40); /* 0x2E006ACA: lea ecx, [ebp - 0x40] */
   4172     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E006ACD: mov dword ptr [ebp - 4], 0xffffffff */
   4173     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006AD4: call 0x2e0048e0 */ /* not lifted */
   4174     RECOMP_FLAGS_IN();
   4175     edx = MEM32(ebp + (-0x24)); /* 0x2E006AD9: mov edx, dword ptr [ebp - 0x24] */
   4176     ebx = edx + 0x138; /* 0x2E006ADC: lea ebx, [edx + 0x138] */
   4177     ecx = ebx; /* 0x2E006AE2: mov ecx, ebx */
   4178     RECOMP_ICALL(0x2E003EE0u); /* 0x2E006AE4: call 0x2e003ee0 */ /* not lifted */
   4179     RECOMP_FLAGS_IN();
   4180     eax = ebx + 0x4; /* 0x2E006AE9: lea eax, [ebx + 4] */
   4181     ecx = ebp + (-0x40); /* 0x2E006AEC: lea ecx, [ebp - 0x40] */
   4182     PUSH32(esp, eax); /* 0x2E006AEF: push eax */
   4183     RECOMP_ICALL(0x2E008130u); /* 0x2E006AF0: call 0x2e008130 */ /* not lifted */
   4184     RECOMP_FLAGS_IN();
   4185     ecx = ebp + 0x8; /* 0x2E006AF5: lea ecx, [ebp + 8] */
   4186     MEM32(ebp + (-0x4)) = 1; /* 0x2E006AF8: mov dword ptr [ebp - 4], 1 */
   4187     PUSH32(esp, ecx); /* 0x2E006AFF: push ecx */
   4188     ecx = esi; /* 0x2E006B00: mov ecx, esi */
   4189     RECOMP_ICALL(edi); /* 0x2E006B02: call edi */
   4190     RECOMP_FLAGS_IN();
   4191     eax = MEM32(ebp + 0x8); /* 0x2E006B04: mov eax, dword ptr [ebp + 8] */
   4192     MEM32(ebp + (-0x20)) = 0; /* 0x2E006B07: mov dword ptr [ebp - 0x20], 0 */
   4193     /* test eax, eax */ /* 0x2E006B0E: test eax, eax */
   4194     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4195     _cf = 0;
   4196     _flag_k = FK_TEST;
   4197     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006B34; /* 0x2E006B10: jbe 0x2e006b34 */
   4198 L_2E006B12:
   4199     edx = ebp + (-0x30); /* 0x2E006B12: lea edx, [ebp - 0x30] */
   4200     ecx = esi; /* 0x2E006B15: mov ecx, esi */
   4201     PUSH32(esp, edx); /* 0x2E006B17: push edx */
   4202     RECOMP_ICALL(edi); /* 0x2E006B18: call edi */
   4203     RECOMP_FLAGS_IN();
   4204     eax = ebp + (-0x30); /* 0x2E006B1A: lea eax, [ebp - 0x30] */
   4205     ecx = ebx + 0x50; /* 0x2E006B1D: lea ecx, [ebx + 0x50] */
   4206     PUSH32(esp, eax); /* 0x2E006B20: push eax */
   4207     RECOMP_ICALL(0x2E003220u); /* 0x2E006B21: call 0x2e003220 */ /* not lifted */
   4208     RECOMP_FLAGS_IN();
   4209     eax = MEM32(ebp + (-0x20)); /* 0x2E006B26: mov eax, dword ptr [ebp - 0x20] */
   4210     ecx = MEM32(ebp + 0x8); /* 0x2E006B29: mov ecx, dword ptr [ebp + 8] */
   4211     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4212     eax = eax + 1; /* 0x2E006B2C: inc eax */
   4213     _flag_k = FK_INC;
   4214     /* cmp eax, ecx */ /* 0x2E006B2D: cmp eax, ecx */
   4215     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4216     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4217     _flag_k = FK_CMP;
   4218     MEM32(ebp + (-0x20)) = eax; /* 0x2E006B2F: mov dword ptr [ebp - 0x20], eax */
   4219     RECOMP_BACKEDGE();
   4220     if (CMP_B(_flag_a, _flag_b)) goto L_2E006B12; /* 0x2E006B32: jb 0x2e006b12 */
   4221 L_2E006B34:
   4222     ecx = ebp + 0x8; /* 0x2E006B34: lea ecx, [ebp + 8] */
   4223     PUSH32(esp, ecx); /* 0x2E006B37: push ecx */
   4224     ecx = esi; /* 0x2E006B38: mov ecx, esi */
   4225     RECOMP_ICALL(edi); /* 0x2E006B3A: call edi */
   4226     RECOMP_FLAGS_IN();
   4227     eax = MEM32(ebp + 0x8); /* 0x2E006B3C: mov eax, dword ptr [ebp + 8] */
   4228     MEM32(ebp + (-0x20)) = 0; /* 0x2E006B3F: mov dword ptr [ebp - 0x20], 0 */
   4229     /* test eax, eax */ /* 0x2E006B46: test eax, eax */
   4230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4231     _cf = 0;
   4232     _flag_k = FK_TEST;
   4233     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006B6F; /* 0x2E006B48: jbe 0x2e006b6f */
   4234 L_2E006B4A:
   4235     edx = ebp + (-0x28); /* 0x2E006B4A: lea edx, [ebp - 0x28] */
   4236     ecx = esi; /* 0x2E006B4D: mov ecx, esi */
   4237     PUSH32(esp, edx); /* 0x2E006B4F: push edx */
   4238     RECOMP_ICALL(edi); /* 0x2E006B50: call edi */
   4239     RECOMP_FLAGS_IN();
   4240     eax = ebp + (-0x28); /* 0x2E006B52: lea eax, [ebp - 0x28] */
   4241     ecx = ebx + 0x80; /* 0x2E006B55: lea ecx, [ebx + 0x80] */
   4242     PUSH32(esp, eax); /* 0x2E006B5B: push eax */
   4243     RECOMP_ICALL(0x2E003220u); /* 0x2E006B5C: call 0x2e003220 */ /* not lifted */
   4244     RECOMP_FLAGS_IN();
   4245     eax = MEM32(ebp + (-0x20)); /* 0x2E006B61: mov eax, dword ptr [ebp - 0x20] */
   4246     ecx = MEM32(ebp + 0x8); /* 0x2E006B64: mov ecx, dword ptr [ebp + 8] */
   4247     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4248     eax = eax + 1; /* 0x2E006B67: inc eax */
   4249     _flag_k = FK_INC;
   4250     /* cmp eax, ecx */ /* 0x2E006B68: cmp eax, ecx */
   4251     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4252     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4253     _flag_k = FK_CMP;
   4254     MEM32(ebp + (-0x20)) = eax; /* 0x2E006B6A: mov dword ptr [ebp - 0x20], eax */
   4255     RECOMP_BACKEDGE();
   4256     if (CMP_B(_flag_a, _flag_b)) goto L_2E006B4A; /* 0x2E006B6D: jb 0x2e006b4a */
   4257 L_2E006B6F:
   4258     ecx = ebp + 0x8; /* 0x2E006B6F: lea ecx, [ebp + 8] */
   4259     PUSH32(esp, ecx); /* 0x2E006B72: push ecx */
   4260     ecx = esi; /* 0x2E006B73: mov ecx, esi */
   4261     RECOMP_ICALL(edi); /* 0x2E006B75: call edi */
   4262     RECOMP_FLAGS_IN();
   4263     eax = MEM32(ebp + 0x8); /* 0x2E006B77: mov eax, dword ptr [ebp + 8] */
   4264     MEM32(ebp + (-0x20)) = 0; /* 0x2E006B7A: mov dword ptr [ebp - 0x20], 0 */
   4265     /* test eax, eax */ /* 0x2E006B81: test eax, eax */
   4266     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4267     _cf = 0;
   4268     _flag_k = FK_TEST;
   4269     MEM32(ebp + (-0x1C)) = 0; /* 0x2E006B83: mov dword ptr [ebp - 0x1c], 0 */
   4270     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006BBE; /* 0x2E006B8A: jbe 0x2e006bbe */
   4271 L_2E006B8C:
   4272     edx = ebp + (-0x10); /* 0x2E006B8C: lea edx, [ebp - 0x10] */
   4273     ecx = esi; /* 0x2E006B8F: mov ecx, esi */
   4274     PUSH32(esp, edx); /* 0x2E006B91: push edx */
   4275     RECOMP_ICALL(MEM32(0x2E0121EC)); /* 0x2E006B92: call dword ptr [0x2e0121ec] */
   4276     RECOMP_FLAGS_IN();
   4277     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E006B98: fld dword ptr [ebp - 0x10] */
   4278     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2E006B9B: fadd dword ptr [ebp - 0x20] */
   4279     eax = ebp + (-0x10); /* 0x2E006B9E: lea eax, [ebp - 0x10] */
   4280     ecx = ebx + 0xB0; /* 0x2E006BA1: lea ecx, [ebx + 0xb0] */
   4281     PUSH32(esp, eax); /* 0x2E006BA7: push eax */
   4282     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2E006BA8: fstp dword ptr [ebp - 0x20] */
   4283     RECOMP_ICALL(0x2E003220u); /* 0x2E006BAB: call 0x2e003220 */ /* not lifted */
   4284     RECOMP_FLAGS_IN();
   4285     eax = MEM32(ebp + (-0x1C)); /* 0x2E006BB0: mov eax, dword ptr [ebp - 0x1c] */
   4286     ecx = MEM32(ebp + 0x8); /* 0x2E006BB3: mov ecx, dword ptr [ebp + 8] */
   4287     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4288     eax = eax + 1; /* 0x2E006BB6: inc eax */
   4289     _flag_k = FK_INC;
   4290     /* cmp eax, ecx */ /* 0x2E006BB7: cmp eax, ecx */
   4291     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4292     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4293     _flag_k = FK_CMP;
   4294     MEM32(ebp + (-0x1C)) = eax; /* 0x2E006BB9: mov dword ptr [ebp - 0x1c], eax */
   4295     RECOMP_BACKEDGE();
   4296     if (CMP_B(_flag_a, _flag_b)) goto L_2E006B8C; /* 0x2E006BBC: jb 0x2e006b8c */
   4297 L_2E006BBE:
   4298     ecx = ebx + 0x4C; /* 0x2E006BBE: lea ecx, [ebx + 0x4c] */
   4299     PUSH32(esp, ecx); /* 0x2E006BC1: push ecx */
   4300     ecx = esi; /* 0x2E006BC2: mov ecx, esi */
   4301     RECOMP_ICALL(MEM32(0x2E0121EC)); /* 0x2E006BC4: call dword ptr [0x2e0121ec] */
   4302     RECOMP_FLAGS_IN();
   4303     edx = ebx + 0xE0; /* 0x2E006BCA: lea edx, [ebx + 0xe0] */
   4304     ecx = esi; /* 0x2E006BD0: mov ecx, esi */
   4305     PUSH32(esp, edx); /* 0x2E006BD2: push edx */
   4306     RECOMP_ICALL(edi); /* 0x2E006BD3: call edi */
   4307     RECOMP_FLAGS_IN();
   4308     eax = ebx + 0xE4; /* 0x2E006BD5: lea eax, [ebx + 0xe4] */
   4309     ecx = esi; /* 0x2E006BDB: mov ecx, esi */
   4310     PUSH32(esp, eax); /* 0x2E006BDD: push eax */
   4311     RECOMP_ICALL(edi); /* 0x2E006BDE: call edi */
   4312     RECOMP_FLAGS_IN();
   4313     ecx = ebx + 0xE8; /* 0x2E006BE0: lea ecx, [ebx + 0xe8] */
   4314     PUSH32(esp, ecx); /* 0x2E006BE6: push ecx */
   4315     ecx = esi; /* 0x2E006BE7: mov ecx, esi */
   4316     RECOMP_ICALL(edi); /* 0x2E006BE9: call edi */
   4317     RECOMP_FLAGS_IN();
   4318     edx = ebx + 0xEC; /* 0x2E006BEB: lea edx, [ebx + 0xec] */
   4319     ecx = esi; /* 0x2E006BF1: mov ecx, esi */
   4320     PUSH32(esp, edx); /* 0x2E006BF3: push edx */
   4321     RECOMP_ICALL(edi); /* 0x2E006BF4: call edi */
   4322     RECOMP_FLAGS_IN();
   4323     eax = ebx + 0xF0; /* 0x2E006BF6: lea eax, [ebx + 0xf0] */
   4324     ecx = esi; /* 0x2E006BFC: mov ecx, esi */
   4325     PUSH32(esp, eax); /* 0x2E006BFE: push eax */
   4326     RECOMP_ICALL(edi); /* 0x2E006BFF: call edi */
   4327     RECOMP_FLAGS_IN();
   4328     ecx = ebx + 0xF8; /* 0x2E006C01: lea ecx, [ebx + 0xf8] */
   4329     PUSH32(esp, ecx); /* 0x2E006C07: push ecx */
   4330     ecx = esi; /* 0x2E006C08: mov ecx, esi */
   4331     RECOMP_ICALL(edi); /* 0x2E006C0A: call edi */
   4332     RECOMP_FLAGS_IN();
   4333     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xF4u);
   4334     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4335     ebx = ebx + 0xF4u; /* 0x2E006C0C: add ebx, 0xf4 */
   4336     _flag_k = FK_ADD;
   4337     ecx = esi; /* 0x2E006C12: mov ecx, esi */
   4338     PUSH32(esp, ebx); /* 0x2E006C14: push ebx */
   4339     RECOMP_ICALL(edi); /* 0x2E006C15: call edi */
   4340     RECOMP_FLAGS_IN();
   4341     ecx = ebp + (-0x40); /* 0x2E006C17: lea ecx, [ebp - 0x40] */
   4342     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006C1A: call 0x2e0048e0 */ /* not lifted */
   4343     RECOMP_FLAGS_IN();
   4344     ecx = ebp + (-0x40); /* 0x2E006C1F: lea ecx, [ebp - 0x40] */
   4345     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E006C22: mov dword ptr [ebp - 4], 0xffffffff */
   4346     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006C29: call 0x2e0048e0 */ /* not lifted */
   4347     RECOMP_FLAGS_IN();
   4348     ebx = MEM32(ebp + (-0x24)); /* 0x2E006C2E: mov ebx, dword ptr [ebp - 0x24] */
   4349     PUSH32(esp, esi); /* 0x2E006C31: push esi */
   4350     ecx = ebx + 0x268; /* 0x2E006C32: lea ecx, [ebx + 0x268] */
   4351     RECOMP_ICALL(0x2E007DE0u); /* 0x2E006C38: call 0x2e007de0 */ /* not lifted */
   4352     RECOMP_FLAGS_IN();
   4353     ecx = ebx + 0x76C; /* 0x2E006C3D: lea ecx, [ebx + 0x76c] */
   4354     MEM32(ebp + (-0x2C)) = ecx; /* 0x2E006C43: mov dword ptr [ebp - 0x2c], ecx */
   4355     PUSH32(esp, 2); /* 0x2E006C46: push 2 */
   4356     PUSH32(esp, 0); /* 0x2E006C48: push 0 */
   4357     PUSH32(esp, 0); /* 0x2E006C4A: push 0 */
   4358     PUSH32(esp, 0); /* 0x2E006C4C: push 0 */
   4359     MEM32(ebp + (-0x4)) = 2; /* 0x2E006C4E: mov dword ptr [ebp - 4], 2 */
   4360     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E006C55: call dword ptr [0x2e01212c] */
   4361     RECOMP_FLAGS_IN();
   4362     MEM32(ebp + (-0x28)) = eax; /* 0x2E006C5B: mov dword ptr [ebp - 0x28], eax */
   4363     edx = ebx + 0x4; /* 0x2E006C5E: lea edx, [ebx + 4] */
   4364     ecx = esi; /* 0x2E006C61: mov ecx, esi */
   4365     PUSH32(esp, edx); /* 0x2E006C63: push edx */
   4366     MEM32(ebp + (-0x4)) = 3; /* 0x2E006C64: mov dword ptr [ebp - 4], 3 */
   4367     RECOMP_ICALL(edi); /* 0x2E006C6B: call edi */
   4368     RECOMP_FLAGS_IN();
   4369     eax = ebx + 0x14; /* 0x2E006C6D: lea eax, [ebx + 0x14] */
   4370     ecx = esi; /* 0x2E006C70: mov ecx, esi */
   4371     PUSH32(esp, eax); /* 0x2E006C72: push eax */
   4372     RECOMP_ICALL(edi); /* 0x2E006C73: call edi */
   4373     RECOMP_FLAGS_IN();
   4374     ecx = ebx + 0x258; /* 0x2E006C75: lea ecx, [ebx + 0x258] */
   4375     PUSH32(esp, ecx); /* 0x2E006C7B: push ecx */
   4376     ecx = esi; /* 0x2E006C7C: mov ecx, esi */
   4377     RECOMP_ICALL(edi); /* 0x2E006C7E: call edi */
   4378     RECOMP_FLAGS_IN();
   4379     edx = ebx + 0x25C; /* 0x2E006C80: lea edx, [ebx + 0x25c] */
   4380     ecx = esi; /* 0x2E006C86: mov ecx, esi */
   4381     PUSH32(esp, edx); /* 0x2E006C88: push edx */
   4382     RECOMP_ICALL(edi); /* 0x2E006C89: call edi */
   4383     RECOMP_FLAGS_IN();
   4384     eax = ebx + 0x260; /* 0x2E006C8B: lea eax, [ebx + 0x260] */
   4385     ecx = esi; /* 0x2E006C91: mov ecx, esi */
   4386     PUSH32(esp, eax); /* 0x2E006C93: push eax */
   4387     RECOMP_ICALL(edi); /* 0x2E006C94: call edi */
   4388     RECOMP_FLAGS_IN();
   4389     ecx = ebx + 0x264; /* 0x2E006C96: lea ecx, [ebx + 0x264] */
   4390     PUSH32(esp, ecx); /* 0x2E006C9C: push ecx */
   4391     ecx = esi; /* 0x2E006C9D: mov ecx, esi */
   4392     RECOMP_ICALL(edi); /* 0x2E006C9F: call edi */
   4393     RECOMP_FLAGS_IN();
   4394     edx = ebp + (-0x14); /* 0x2E006CA1: lea edx, [ebp - 0x14] */
   4395     ecx = esi; /* 0x2E006CA4: mov ecx, esi */
   4396     PUSH32(esp, edx); /* 0x2E006CA6: push edx */
   4397     RECOMP_ICALL(edi); /* 0x2E006CA7: call edi */
   4398     RECOMP_FLAGS_IN();
   4399     eax = MEM32(ebp + (-0x14)); /* 0x2E006CA9: mov eax, dword ptr [ebp - 0x14] */
   4400     MEM32(ebp + 0x8) = 0; /* 0x2E006CAC: mov dword ptr [ebp + 8], 0 */
   4401     /* test eax, eax */ /* 0x2E006CB3: test eax, eax */
   4402     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4403     _cf = 0;
   4404     _flag_k = FK_TEST;
   4405     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006D04; /* 0x2E006CB5: jbe 0x2e006d04 */
   4406 L_2E006CB7:
   4407     eax = ebp + (-0x18); /* 0x2E006CB7: lea eax, [ebp - 0x18] */
   4408     ecx = esi; /* 0x2E006CBA: mov ecx, esi */
   4409     PUSH32(esp, eax); /* 0x2E006CBC: push eax */
   4410     RECOMP_ICALL(edi); /* 0x2E006CBD: call edi */
   4411     RECOMP_FLAGS_IN();
   4412     ecx = ebp + (-0x1C); /* 0x2E006CBF: lea ecx, [ebp - 0x1c] */
   4413     PUSH32(esp, ecx); /* 0x2E006CC2: push ecx */
   4414     ecx = esi; /* 0x2E006CC3: mov ecx, esi */
   4415     RECOMP_ICALL(edi); /* 0x2E006CC5: call edi */
   4416     RECOMP_FLAGS_IN();
   4417     edx = ebp + (-0x30); /* 0x2E006CC7: lea edx, [ebp - 0x30] */
   4418     eax = ebp + (-0x18); /* 0x2E006CCA: lea eax, [ebp - 0x18] */
   4419     PUSH32(esp, edx); /* 0x2E006CCD: push edx */
   4420     PUSH32(esp, eax); /* 0x2E006CCE: push eax */
   4421     ecx = ebp + (-0x40); /* 0x2E006CCF: lea ecx, [ebp - 0x40] */
   4422     MEM32(ebp + (-0x30)) = 0; /* 0x2E006CD2: mov dword ptr [ebp - 0x30], 0 */
   4423     RECOMP_ICALL(0x2E0075F0u); /* 0x2E006CD9: call 0x2e0075f0 */ /* not lifted */
   4424     RECOMP_FLAGS_IN();
   4425     ecx = ebp + (-0x38); /* 0x2E006CDE: lea ecx, [ebp - 0x38] */
   4426     PUSH32(esp, eax); /* 0x2E006CE1: push eax */
   4427     PUSH32(esp, ecx); /* 0x2E006CE2: push ecx */
   4428     ecx = ebx + 0x124; /* 0x2E006CE3: lea ecx, [ebx + 0x124] */
   4429     RECOMP_ICALL(0x2E007460u); /* 0x2E006CE9: call 0x2e007460 */ /* not lifted */
   4430     RECOMP_FLAGS_IN();
   4431     eax = MEM32(eax); /* 0x2E006CEE: mov eax, dword ptr [eax] */
   4432     edx = MEM32(ebp + (-0x1C)); /* 0x2E006CF0: mov edx, dword ptr [ebp - 0x1c] */
   4433     MEM32(eax + 0x10) = edx; /* 0x2E006CF3: mov dword ptr [eax + 0x10], edx */
   4434     eax = MEM32(ebp + 0x8); /* 0x2E006CF6: mov eax, dword ptr [ebp + 8] */
   4435     ecx = MEM32(ebp + (-0x14)); /* 0x2E006CF9: mov ecx, dword ptr [ebp - 0x14] */
   4436     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4437     eax = eax + 1; /* 0x2E006CFC: inc eax */
   4438     _flag_k = FK_INC;
   4439     /* cmp eax, ecx */ /* 0x2E006CFD: cmp eax, ecx */
   4440     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4442     _flag_k = FK_CMP;
   4443     MEM32(ebp + 0x8) = eax; /* 0x2E006CFF: mov dword ptr [ebp + 8], eax */
   4444     RECOMP_BACKEDGE();
   4445     if (CMP_B(_flag_a, _flag_b)) goto L_2E006CB7; /* 0x2E006D02: jb 0x2e006cb7 */
   4446 L_2E006D04:
   4447     eax = ebp + (-0x14); /* 0x2E006D04: lea eax, [ebp - 0x14] */
   4448     ecx = esi; /* 0x2E006D07: mov ecx, esi */
   4449     PUSH32(esp, eax); /* 0x2E006D09: push eax */
   4450     RECOMP_ICALL(edi); /* 0x2E006D0A: call edi */
   4451     RECOMP_FLAGS_IN();
   4452     eax = MEM32(ebp + (-0x14)); /* 0x2E006D0C: mov eax, dword ptr [ebp - 0x14] */
   4453     MEM32(ebp + 0x8) = 0; /* 0x2E006D0F: mov dword ptr [ebp + 8], 0 */
   4454     /* test eax, eax */ /* 0x2E006D16: test eax, eax */
   4455     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4456     _cf = 0;
   4457     _flag_k = FK_TEST;
   4458     if (TEST_Z(_flag_a, _flag_b)) goto L_2E006D69; /* 0x2E006D18: jbe 0x2e006d69 */
   4459 L_2E006D1A:
   4460     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x244u);
   4461     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4462     ebx = ebx + 0x244u; /* 0x2E006D1A: add ebx, 0x244 */
   4463     _flag_k = FK_ADD;
   4464 L_2E006D20:
   4465     ecx = ebp + (-0x18); /* 0x2E006D20: lea ecx, [ebp - 0x18] */
   4466     PUSH32(esp, ecx); /* 0x2E006D23: push ecx */
   4467     ecx = esi; /* 0x2E006D24: mov ecx, esi */
   4468     RECOMP_ICALL(edi); /* 0x2E006D26: call edi */
   4469     RECOMP_FLAGS_IN();
   4470     edx = ebp + (-0x1C); /* 0x2E006D28: lea edx, [ebp - 0x1c] */
   4471     ecx = esi; /* 0x2E006D2B: mov ecx, esi */
   4472     PUSH32(esp, edx); /* 0x2E006D2D: push edx */
   4473     RECOMP_ICALL(edi); /* 0x2E006D2E: call edi */
   4474     RECOMP_FLAGS_IN();
   4475     eax = ebp + (-0x34); /* 0x2E006D30: lea eax, [ebp - 0x34] */
   4476     ecx = ebp + (-0x18); /* 0x2E006D33: lea ecx, [ebp - 0x18] */
   4477     PUSH32(esp, eax); /* 0x2E006D36: push eax */
   4478     PUSH32(esp, ecx); /* 0x2E006D37: push ecx */
   4479     ecx = ebp + (-0x48); /* 0x2E006D38: lea ecx, [ebp - 0x48] */
   4480     MEM32(ebp + (-0x34)) = 0; /* 0x2E006D3B: mov dword ptr [ebp - 0x34], 0 */
   4481     RECOMP_ICALL(0x2E0075F0u); /* 0x2E006D42: call 0x2e0075f0 */ /* not lifted */
   4482     RECOMP_FLAGS_IN();
   4483     edx = ebp + (-0x50); /* 0x2E006D47: lea edx, [ebp - 0x50] */
   4484     PUSH32(esp, eax); /* 0x2E006D4A: push eax */
   4485     PUSH32(esp, edx); /* 0x2E006D4B: push edx */
   4486     ecx = ebx; /* 0x2E006D4C: mov ecx, ebx */
   4487     RECOMP_ICALL(0x2E007460u); /* 0x2E006D4E: call 0x2e007460 */ /* not lifted */
   4488     RECOMP_FLAGS_IN();
   4489     eax = MEM32(eax); /* 0x2E006D53: mov eax, dword ptr [eax] */
   4490     ecx = MEM32(ebp + (-0x1C)); /* 0x2E006D55: mov ecx, dword ptr [ebp - 0x1c] */
   4491     MEM32(eax + 0x10) = ecx; /* 0x2E006D58: mov dword ptr [eax + 0x10], ecx */
   4492     eax = MEM32(ebp + 0x8); /* 0x2E006D5B: mov eax, dword ptr [ebp + 8] */
   4493     ecx = MEM32(ebp + (-0x14)); /* 0x2E006D5E: mov ecx, dword ptr [ebp - 0x14] */
   4494     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4495     eax = eax + 1; /* 0x2E006D61: inc eax */
   4496     _flag_k = FK_INC;
   4497     /* cmp eax, ecx */ /* 0x2E006D62: cmp eax, ecx */
   4498     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4499     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4500     _flag_k = FK_CMP;
   4501     MEM32(ebp + 0x8) = eax; /* 0x2E006D64: mov dword ptr [ebp + 8], eax */
   4502     RECOMP_BACKEDGE();
   4503     if (CMP_B(_flag_a, _flag_b)) goto L_2E006D20; /* 0x2E006D67: jb 0x2e006d20 */
   4504 L_2E006D69:
   4505     ecx = MEM32(ebp + (-0x28)); /* 0x2E006D69: mov ecx, dword ptr [ebp - 0x28] */
   4506     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   4507     eax = eax | 0xFFFFFFFFu; /* 0x2E006D6C: or eax, 0xffffffff */
   4508     _cf = 0;
   4509     _flag_k = FK_TEST;
   4510     edi = POP32_VAL(esp); /* 0x2E006D6F: pop edi */
   4511     esi = POP32_VAL(esp); /* 0x2E006D70: pop esi */
   4512     /* cmp ecx, eax */ /* 0x2E006D71: cmp ecx, eax */
   4513     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4514     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4515     _flag_k = FK_CMP;
   4516     MEM32(ebp + (-0x4)) = eax; /* 0x2E006D73: mov dword ptr [ebp - 4], eax */
   4517     ebx = POP32_VAL(esp); /* 0x2E006D76: pop ebx */
   4518     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006D82; /* 0x2E006D77: je 0x2e006d82 */
   4519 L_2E006D79:
   4520     ecx = MEM32(ebp + (-0x2C)); /* 0x2E006D79: mov ecx, dword ptr [ebp - 0x2c] */
   4521     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E006D7C: call dword ptr [0x2e0121a4] */
   4522     RECOMP_FLAGS_IN();
   4523 L_2E006D82:
   4524     ecx = MEM32(ebp + (-0xC)); /* 0x2E006D82: mov ecx, dword ptr [ebp - 0xc] */
   4525     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4526     eax = 0; /* 0x2E006D85: xor eax, eax */
   4527     _cf = 0;
   4528     _flag_k = FK_TEST;
   4529     MEM32(FS_BASE + (0)) = ecx; /* 0x2E006D87: mov dword ptr fs:[0], ecx */
   4530     esp = ebp; /* 0x2E006D8E: mov esp, ebp */
   4531     ebp = POP32_VAL(esp); /* 0x2E006D90: pop ebp */
   4532     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E006D91: ret 4 */
   4533     RECOMP_REGS_OUT();
   4534 }
   4535 
   4536 void sub_2E006DA0(void) {
   4537     int _fpu_cmp = 0;
   4538     uint32_t _cf = 0;
   4539     int _df = 1;
   4540     uint32_t _flag_k = FK_NONE;
   4541     uint32_t _flag_a = 0, _flag_b = 0;
   4542     uint32_t _itail_tgt = 0;
   4543     RECOMP_REGS_LOCALS
   4544     RECOMP_ENTER(0x2E006DA0u);
   4545 
   4546 L_2E006DA0:
   4547     PUSH32(esp, ebp); /* 0x2E006DA0: push ebp */
   4548     ebp = esp; /* 0x2E006DA1: mov ebp, esp */
   4549     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E006DA3: push -1 */
   4550     PUSH32(esp, 0x2E011988u); /* 0x2E006DA5: push 0x2e011988 */
   4551     eax = MEM32(FS_BASE + (0)); /* 0x2E006DAA: mov eax, dword ptr fs:[0] */
   4552     PUSH32(esp, eax); /* 0x2E006DB0: push eax */
   4553     MEM32(FS_BASE + (0)) = esp; /* 0x2E006DB1: mov dword ptr fs:[0], esp */
   4554     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu);
   4555     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4556     esp = esp - 0x1Cu; /* 0x2E006DB8: sub esp, 0x1c */
   4557     _flag_k = FK_CMP;
   4558     PUSH32(esp, ebx); /* 0x2E006DBB: push ebx */
   4559     PUSH32(esp, esi); /* 0x2E006DBC: push esi */
   4560     esi = ecx; /* 0x2E006DBD: mov esi, ecx */
   4561     PUSH32(esp, edi); /* 0x2E006DBF: push edi */
   4562     ecx = esi + 0x76C; /* 0x2E006DC0: lea ecx, [esi + 0x76c] */
   4563     MEM32(ebp + (-0x18)) = ecx; /* 0x2E006DC6: mov dword ptr [ebp - 0x18], ecx */
   4564     ebx = MEM32(0x2E01212C); /* 0x2E006DC9: mov ebx, dword ptr [0x2e01212c] */
   4565     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4566     edi = 0; /* 0x2E006DCF: xor edi, edi */
   4567     _cf = 0;
   4568     _flag_k = FK_TEST;
   4569     PUSH32(esp, 2); /* 0x2E006DD1: push 2 */
   4570     PUSH32(esp, edi); /* 0x2E006DD3: push edi */
   4571     PUSH32(esp, edi); /* 0x2E006DD4: push edi */
   4572     PUSH32(esp, edi); /* 0x2E006DD5: push edi */
   4573     MEM32(ebp + (-0x4)) = edi; /* 0x2E006DD6: mov dword ptr [ebp - 4], edi */
   4574     RECOMP_ICALL(ebx); /* 0x2E006DD9: call ebx */
   4575     RECOMP_FLAGS_IN();
   4576     PUSH32(esp, edi); /* 0x2E006DDB: push edi */
   4577     MEM32(ebp + (-0x14)) = eax; /* 0x2E006DDC: mov dword ptr [ebp - 0x14], eax */
   4578     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E006DDF: mov dword ptr [ebp - 4], 0xffffffff */
   4579     MEM32(esi + 0x14) = edi; /* 0x2E006DE6: mov dword ptr [esi + 0x14], edi */
   4580     MEM32(esi + 0x4) = edi; /* 0x2E006DE9: mov dword ptr [esi + 4], edi */
   4581     MEM32(esi + 0x258) = edi; /* 0x2E006DEC: mov dword ptr [esi + 0x258], edi */
   4582     MEM32(esi + 0x25C) = edi; /* 0x2E006DF2: mov dword ptr [esi + 0x25c], edi */
   4583     MEM32(esi + 0x260) = edi; /* 0x2E006DF8: mov dword ptr [esi + 0x260], edi */
   4584     MEM32(esi + 0x264) = edi; /* 0x2E006DFE: mov dword ptr [esi + 0x264], edi */
   4585     MEM32(esi + 0x11C) = edi; /* 0x2E006E04: mov dword ptr [esi + 0x11c], edi */
   4586     MEM32(esi + 0x120) = edi; /* 0x2E006E0A: mov dword ptr [esi + 0x120], edi */
   4587     RECOMP_ICALL(MEM32(0x2E0120A4)); /* 0x2E006E10: call dword ptr [0x2e0120a4] */
   4588     RECOMP_FLAGS_IN();
   4589     PUSH32(esp, edi); /* 0x2E006E16: push edi */
   4590     MEM32(esi + 0x118) = eax; /* 0x2E006E17: mov dword ptr [esi + 0x118], eax */
   4591     MEM32(esi + 0x23C) = edi; /* 0x2E006E1D: mov dword ptr [esi + 0x23c], edi */
   4592     MEM32(esi + 0x240) = edi; /* 0x2E006E23: mov dword ptr [esi + 0x240], edi */
   4593     RECOMP_ICALL(MEM32(0x2E0120A4)); /* 0x2E006E29: call dword ptr [0x2e0120a4] */
   4594     RECOMP_FLAGS_IN();
   4595     MEM32(esi + 0x238) = eax; /* 0x2E006E2F: mov dword ptr [esi + 0x238], eax */
   4596     eax = MEM32(ebp + (-0x14)); /* 0x2E006E35: mov eax, dword ptr [ebp - 0x14] */
   4597     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4598     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4599     esp = esp + 8; /* 0x2E006E38: add esp, 8 */
   4600     _flag_k = FK_ADD;
   4601     /* cmp eax, 0xFFFFFFFFu */ /* 0x2E006E3B: cmp eax, -1 */
   4602     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4603     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4604     _flag_k = FK_CMP;
   4605     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006E49; /* 0x2E006E3E: je 0x2e006e49 */
   4606 L_2E006E40:
   4607     ecx = MEM32(ebp + (-0x18)); /* 0x2E006E40: mov ecx, dword ptr [ebp - 0x18] */
   4608     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E006E43: call dword ptr [0x2e0121a4] */
   4609     RECOMP_FLAGS_IN();
   4610 L_2E006E49:
   4611     ecx = esi + 0x1C; /* 0x2E006E49: lea ecx, [esi + 0x1c] */
   4612     MEM32(ebp + (-0x28)) = ecx; /* 0x2E006E4C: mov dword ptr [ebp - 0x28], ecx */
   4613     PUSH32(esp, 2); /* 0x2E006E4F: push 2 */
   4614     PUSH32(esp, edi); /* 0x2E006E51: push edi */
   4615     PUSH32(esp, edi); /* 0x2E006E52: push edi */
   4616     PUSH32(esp, edi); /* 0x2E006E53: push edi */
   4617     MEM32(ebp + (-0x4)) = 1; /* 0x2E006E54: mov dword ptr [ebp - 4], 1 */
   4618     RECOMP_ICALL(ebx); /* 0x2E006E5B: call ebx */
   4619     RECOMP_FLAGS_IN();
   4620     MEM32(ebp + (-0x24)) = eax; /* 0x2E006E5D: mov dword ptr [ebp - 0x24], eax */
   4621     eax = MEM32(esi + 0x94); /* 0x2E006E60: mov eax, dword ptr [esi + 0x94] */
   4622     MEM32(ebp + (-0x4)) = 2; /* 0x2E006E66: mov dword ptr [ebp - 4], 2 */
   4623     /* cmp eax, edi */ /* 0x2E006E6D: cmp eax, edi */
   4624     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4625     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4626     _flag_k = FK_CMP;
   4627     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006EB6; /* 0x2E006E6F: je 0x2e006eb6 */
   4628 L_2E006E71:
   4629     ebx = esi + 0x68; /* 0x2E006E71: lea ebx, [esi + 0x68] */
   4630     MEM32(ebp + (-0x10)) = eax; /* 0x2E006E74: mov dword ptr [ebp - 0x10], eax */
   4631 L_2E006E77:
   4632     /* cmp MEM32(ebx + 0x2C), edi */ /* 0x2E006E77: cmp dword ptr [ebx + 0x2c], edi */
   4633     _flag_a = (uint32_t)(MEM32(ebx + 0x2C)); _flag_b = (uint32_t)(edi);
   4634     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4635     _flag_k = FK_CMP;
   4636     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006E91; /* 0x2E006E7A: je 0x2e006e91 */
   4637 L_2E006E7C:
   4638     eax = ebp + (-0x20); /* 0x2E006E7C: lea eax, [ebp - 0x20] */
   4639     PUSH32(esp, 1); /* 0x2E006E7F: push 1 */
   4640     PUSH32(esp, eax); /* 0x2E006E81: push eax */
   4641     ecx = ebx + 0x14; /* 0x2E006E82: lea ecx, [ebx + 0x14] */
   4642     RECOMP_ICALL(0x2E004870u); /* 0x2E006E85: call 0x2e004870 */ /* not lifted */
   4643     RECOMP_FLAGS_IN();
   4644     ecx = ebx; /* 0x2E006E8A: mov ecx, ebx */
   4645     RECOMP_ICALL(0x2E003E30u); /* 0x2E006E8C: call 0x2e003e30 */ /* not lifted */
   4646     RECOMP_FLAGS_IN();
   4647 L_2E006E91:
   4648     ecx = esi + 0x98; /* 0x2E006E91: lea ecx, [esi + 0x98] */
   4649     RECOMP_ICALL(0x2E0081F0u); /* 0x2E006E97: call 0x2e0081f0 */ /* not lifted */
   4650     RECOMP_FLAGS_IN();
   4651     ecx = esi + 0xC8; /* 0x2E006E9C: lea ecx, [esi + 0xc8] */
   4652     RECOMP_ICALL(0x2E0081F0u); /* 0x2E006EA2: call 0x2e0081f0 */ /* not lifted */
   4653     RECOMP_FLAGS_IN();
   4654     eax = MEM32(ebp + (-0x10)); /* 0x2E006EA7: mov eax, dword ptr [ebp - 0x10] */
   4655     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4656     eax = eax - 1; /* 0x2E006EAA: dec eax */
   4657     _flag_k = FK_DEC;
   4658     MEM32(ebp + (-0x10)) = eax; /* 0x2E006EAB: mov dword ptr [ebp - 0x10], eax */
   4659     RECOMP_BACKEDGE();
   4660     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E006E77; /* 0x2E006EAE: jne 0x2e006e77 */
   4661 L_2E006EB0:
   4662     ebx = MEM32(0x2E01212C); /* 0x2E006EB0: mov ebx, dword ptr [0x2e01212c] */
   4663 L_2E006EB6:
   4664     ecx = ebp + (-0x28); /* 0x2E006EB6: lea ecx, [ebp - 0x28] */
   4665     MEM32(esi + 0x64) = edi; /* 0x2E006EB9: mov dword ptr [esi + 0x64], edi */
   4666     MEM32(esi + 0xFC) = edi; /* 0x2E006EBC: mov dword ptr [esi + 0xfc], edi */
   4667     MEM32(esi + 0x100) = edi; /* 0x2E006EC2: mov dword ptr [esi + 0x100], edi */
   4668     MEM32(esi + 0x110) = edi; /* 0x2E006EC8: mov dword ptr [esi + 0x110], edi */
   4669     MEM32(esi + 0x114) = edi; /* 0x2E006ECE: mov dword ptr [esi + 0x114], edi */
   4670     MEM32(esi + 0x104) = edi; /* 0x2E006ED4: mov dword ptr [esi + 0x104], edi */
   4671     MEM32(esi + 0x108) = edi; /* 0x2E006EDA: mov dword ptr [esi + 0x108], edi */
   4672     MEM32(esi + 0x10C) = edi; /* 0x2E006EE0: mov dword ptr [esi + 0x10c], edi */
   4673     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006EE6: call 0x2e0048e0 */ /* not lifted */
   4674     RECOMP_FLAGS_IN();
   4675     ecx = ebp + (-0x28); /* 0x2E006EEB: lea ecx, [ebp - 0x28] */
   4676     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E006EEE: mov dword ptr [ebp - 4], 0xffffffff */
   4677     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006EF5: call 0x2e0048e0 */ /* not lifted */
   4678     RECOMP_FLAGS_IN();
   4679     eax = MEM32(esi + 0x128); /* 0x2E006EFA: mov eax, dword ptr [esi + 0x128] */
   4680     ecx = esi + 0x124; /* 0x2E006F00: lea ecx, [esi + 0x124] */
   4681     PUSH32(esp, eax); /* 0x2E006F06: push eax */
   4682     edx = MEM32(eax); /* 0x2E006F07: mov edx, dword ptr [eax] */
   4683     PUSH32(esp, edx); /* 0x2E006F09: push edx */
   4684     edx = ebp + (-0x10); /* 0x2E006F0A: lea edx, [ebp - 0x10] */
   4685     PUSH32(esp, edx); /* 0x2E006F0D: push edx */
   4686     RECOMP_ICALL(0x2E007540u); /* 0x2E006F0E: call 0x2e007540 */ /* not lifted */
   4687     RECOMP_FLAGS_IN();
   4688     ecx = esi + 0x13C; /* 0x2E006F13: lea ecx, [esi + 0x13c] */
   4689     MEM32(ebp + (-0x28)) = ecx; /* 0x2E006F19: mov dword ptr [ebp - 0x28], ecx */
   4690     PUSH32(esp, 2); /* 0x2E006F1C: push 2 */
   4691     PUSH32(esp, edi); /* 0x2E006F1E: push edi */
   4692     PUSH32(esp, edi); /* 0x2E006F1F: push edi */
   4693     PUSH32(esp, edi); /* 0x2E006F20: push edi */
   4694     MEM32(ebp + (-0x4)) = 3; /* 0x2E006F21: mov dword ptr [ebp - 4], 3 */
   4695     RECOMP_ICALL(ebx); /* 0x2E006F28: call ebx */
   4696     RECOMP_FLAGS_IN();
   4697     MEM32(ebp + (-0x24)) = eax; /* 0x2E006F2A: mov dword ptr [ebp - 0x24], eax */
   4698     eax = MEM32(esi + 0x1B4); /* 0x2E006F2D: mov eax, dword ptr [esi + 0x1b4] */
   4699     MEM32(ebp + (-0x4)) = 4; /* 0x2E006F33: mov dword ptr [ebp - 4], 4 */
   4700     /* cmp eax, edi */ /* 0x2E006F3A: cmp eax, edi */
   4701     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4702     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4703     _flag_k = FK_CMP;
   4704     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E006F64; /* 0x2E006F3C: je 0x2e006f64 */
   4705 L_2E006F3E:
   4706     ebx = eax; /* 0x2E006F3E: mov ebx, eax */
   4707 L_2E006F40:
   4708     ecx = esi + 0x188; /* 0x2E006F40: lea ecx, [esi + 0x188] */
   4709     RECOMP_ICALL(0x2E0081F0u); /* 0x2E006F46: call 0x2e0081f0 */ /* not lifted */
   4710     RECOMP_FLAGS_IN();
   4711     ecx = esi + 0x1B8; /* 0x2E006F4B: lea ecx, [esi + 0x1b8] */
   4712     RECOMP_ICALL(0x2E0081F0u); /* 0x2E006F51: call 0x2e0081f0 */ /* not lifted */
   4713     RECOMP_FLAGS_IN();
   4714     ecx = esi + 0x1E8; /* 0x2E006F56: lea ecx, [esi + 0x1e8] */
   4715     RECOMP_ICALL(0x2E0081F0u); /* 0x2E006F5C: call 0x2e0081f0 */ /* not lifted */
   4716     RECOMP_FLAGS_IN();
   4717     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   4718     ebx = ebx - 1; /* 0x2E006F61: dec ebx */
   4719     _flag_k = FK_DEC;
   4720     RECOMP_BACKEDGE();
   4721     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E006F40; /* 0x2E006F62: jne 0x2e006f40 */
   4722 L_2E006F64:
   4723     ecx = ebp + (-0x28); /* 0x2E006F64: lea ecx, [ebp - 0x28] */
   4724     MEM32(esi + 0x184) = edi; /* 0x2E006F67: mov dword ptr [esi + 0x184], edi */
   4725     MEM32(esi + 0x21C) = edi; /* 0x2E006F6D: mov dword ptr [esi + 0x21c], edi */
   4726     MEM32(esi + 0x220) = edi; /* 0x2E006F73: mov dword ptr [esi + 0x220], edi */
   4727     MEM32(esi + 0x230) = edi; /* 0x2E006F79: mov dword ptr [esi + 0x230], edi */
   4728     MEM32(esi + 0x234) = edi; /* 0x2E006F7F: mov dword ptr [esi + 0x234], edi */
   4729     MEM32(esi + 0x224) = edi; /* 0x2E006F85: mov dword ptr [esi + 0x224], edi */
   4730     MEM32(esi + 0x228) = edi; /* 0x2E006F8B: mov dword ptr [esi + 0x228], edi */
   4731     MEM32(esi + 0x22C) = edi; /* 0x2E006F91: mov dword ptr [esi + 0x22c], edi */
   4732     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006F97: call 0x2e0048e0 */ /* not lifted */
   4733     RECOMP_FLAGS_IN();
   4734     ecx = ebp + (-0x28); /* 0x2E006F9C: lea ecx, [ebp - 0x28] */
   4735     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E006F9F: mov dword ptr [ebp - 4], 0xffffffff */
   4736     RECOMP_ICALL(0x2E0048E0u); /* 0x2E006FA6: call 0x2e0048e0 */ /* not lifted */
   4737     RECOMP_FLAGS_IN();
   4738     eax = MEM32(esi + 0x248); /* 0x2E006FAB: mov eax, dword ptr [esi + 0x248] */
   4739     ecx = esi + 0x244; /* 0x2E006FB1: lea ecx, [esi + 0x244] */
   4740     PUSH32(esp, eax); /* 0x2E006FB7: push eax */
   4741     edx = MEM32(eax); /* 0x2E006FB8: mov edx, dword ptr [eax] */
   4742     eax = ebp + (-0x14); /* 0x2E006FBA: lea eax, [ebp - 0x14] */
   4743     PUSH32(esp, edx); /* 0x2E006FBD: push edx */
   4744     PUSH32(esp, eax); /* 0x2E006FBE: push eax */
   4745     RECOMP_ICALL(0x2E007540u); /* 0x2E006FBF: call 0x2e007540 */ /* not lifted */
   4746     RECOMP_FLAGS_IN();
   4747     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x268u);
   4748     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4749     esi = esi + 0x268u; /* 0x2E006FC4: add esi, 0x268 */
   4750     _flag_k = FK_ADD;
   4751     edi = 5; /* 0x2E006FCA: mov edi, 5 */
   4752 L_2E006FCF:
   4753     ecx = esi; /* 0x2E006FCF: mov ecx, esi */
   4754     RECOMP_ICALL(0x2E003EE0u); /* 0x2E006FD1: call 0x2e003ee0 */ /* not lifted */
   4755     RECOMP_FLAGS_IN();
   4756     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x100u);
   4757     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4758     esi = esi + 0x100u; /* 0x2E006FD6: add esi, 0x100 */
   4759     _flag_k = FK_ADD;
   4760     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   4761     edi = edi - 1; /* 0x2E006FDC: dec edi */
   4762     _flag_k = FK_DEC;
   4763     RECOMP_BACKEDGE();
   4764     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E006FCF; /* 0x2E006FDD: jne 0x2e006fcf */
   4765 L_2E006FDF:
   4766     ecx = MEM32(ebp + (-0xC)); /* 0x2E006FDF: mov ecx, dword ptr [ebp - 0xc] */
   4767     edi = POP32_VAL(esp); /* 0x2E006FE2: pop edi */
   4768     esi = POP32_VAL(esp); /* 0x2E006FE3: pop esi */
   4769     ebx = POP32_VAL(esp); /* 0x2E006FE4: pop ebx */
   4770     MEM32(FS_BASE + (0)) = ecx; /* 0x2E006FE5: mov dword ptr fs:[0], ecx */
   4771     esp = ebp; /* 0x2E006FEC: mov esp, ebp */
   4772     ebp = POP32_VAL(esp); /* 0x2E006FEE: pop ebp */
   4773     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E006FEF: ret  */
   4774     RECOMP_REGS_OUT();
   4775 }
   4776 
   4777 void sub_2E006FF0(void) {
   4778     int _fpu_cmp = 0;
   4779     uint32_t _cf = 0;
   4780     int _df = 1;
   4781     uint32_t _flag_k = FK_NONE;
   4782     uint32_t _flag_a = 0, _flag_b = 0;
   4783     uint32_t _itail_tgt = 0;
   4784     RECOMP_REGS_LOCALS
   4785     RECOMP_ENTER(0x2E006FF0u);
   4786 
   4787 L_2E006FF0:
   4788     PUSH32(esp, ebp); /* 0x2E006FF0: push ebp */
   4789     ebp = esp; /* 0x2E006FF1: mov ebp, esp */
   4790     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E006FF3: push -1 */
   4791     PUSH32(esp, 0x2E0119D0u); /* 0x2E006FF5: push 0x2e0119d0 */
   4792     eax = MEM32(FS_BASE + (0)); /* 0x2E006FFA: mov eax, dword ptr fs:[0] */
   4793     PUSH32(esp, eax); /* 0x2E007000: push eax */
   4794     MEM32(FS_BASE + (0)) = esp; /* 0x2E007001: mov dword ptr fs:[0], esp */
   4795     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4797     esp = esp - 8; /* 0x2E007008: sub esp, 8 */
   4798     _flag_k = FK_CMP;
   4799     PUSH32(esp, ebx); /* 0x2E00700B: push ebx */
   4800     ecx = 0x2E01AB84u; /* 0x2E00700C: mov ecx, 0x2e01ab84 */
   4801     PUSH32(esp, esi); /* 0x2E007011: push esi */
   4802     PUSH32(esp, edi); /* 0x2E007012: push edi */
   4803     MEM32(ebp + (-0x14)) = ecx; /* 0x2E007013: mov dword ptr [ebp - 0x14], ecx */
   4804     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4805     edi = 0; /* 0x2E007016: xor edi, edi */
   4806     _cf = 0;
   4807     _flag_k = FK_TEST;
   4808     PUSH32(esp, 2); /* 0x2E007018: push 2 */
   4809     PUSH32(esp, edi); /* 0x2E00701A: push edi */
   4810     PUSH32(esp, edi); /* 0x2E00701B: push edi */
   4811     PUSH32(esp, edi); /* 0x2E00701C: push edi */
   4812     MEM32(ebp + (-0x4)) = edi; /* 0x2E00701D: mov dword ptr [ebp - 4], edi */
   4813     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E007020: call dword ptr [0x2e01212c] */
   4814     RECOMP_FLAGS_IN();
   4815     MEM32(ebp + (-0x10)) = eax; /* 0x2E007026: mov dword ptr [ebp - 0x10], eax */
   4816     eax = MEM32(0x2E01ABFC); /* 0x2E007029: mov eax, dword ptr [0x2e01abfc] */
   4817     MEM32(ebp + (-0x4)) = 1; /* 0x2E00702E: mov dword ptr [ebp - 4], 1 */
   4818     /* cmp eax, edi */ /* 0x2E007035: cmp eax, edi */
   4819     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4820     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4821     _flag_k = FK_CMP;
   4822     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00705C; /* 0x2E007037: je 0x2e00705c */
   4823 L_2E007039:
   4824     esi = eax; /* 0x2E007039: mov esi, eax */
   4825 L_2E00703B:
   4826     ecx = 0x2E01ABD0u; /* 0x2E00703B: mov ecx, 0x2e01abd0 */
   4827     RECOMP_ICALL(0x2E0081F0u); /* 0x2E007040: call 0x2e0081f0 */ /* not lifted */
   4828     RECOMP_FLAGS_IN();
   4829     ecx = 0x2E01AC00u; /* 0x2E007045: mov ecx, 0x2e01ac00 */
   4830     RECOMP_ICALL(0x2E0081F0u); /* 0x2E00704A: call 0x2e0081f0 */ /* not lifted */
   4831     RECOMP_FLAGS_IN();
   4832     ecx = 0x2E01AC30u; /* 0x2E00704F: mov ecx, 0x2e01ac30 */
   4833     RECOMP_ICALL(0x2E0081F0u); /* 0x2E007054: call 0x2e0081f0 */ /* not lifted */
   4834     RECOMP_FLAGS_IN();
   4835     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1);
   4836     esi = esi - 1; /* 0x2E007059: dec esi */
   4837     _flag_k = FK_DEC;
   4838     RECOMP_BACKEDGE();
   4839     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00703B; /* 0x2E00705A: jne 0x2e00703b */
   4840 L_2E00705C:
   4841     ecx = ebp + (-0x14); /* 0x2E00705C: lea ecx, [ebp - 0x14] */
   4842     MEM32(0x2E01ABCC) = 0; /* 0x2E00705F: mov dword ptr [0x2e01abcc], 0 */
   4843     MEM32(0x2E01AC64) = edi; /* 0x2E007069: mov dword ptr [0x2e01ac64], edi */
   4844     MEM32(0x2E01AC68) = edi; /* 0x2E00706F: mov dword ptr [0x2e01ac68], edi */
   4845     MEM32(0x2E01AC78) = edi; /* 0x2E007075: mov dword ptr [0x2e01ac78], edi */
   4846     MEM32(0x2E01AC7C) = edi; /* 0x2E00707B: mov dword ptr [0x2e01ac7c], edi */
   4847     MEM32(0x2E01AC6C) = edi; /* 0x2E007081: mov dword ptr [0x2e01ac6c], edi */
   4848     MEM32(0x2E01AC70) = edi; /* 0x2E007087: mov dword ptr [0x2e01ac70], edi */
   4849     MEM32(0x2E01AC74) = edi; /* 0x2E00708D: mov dword ptr [0x2e01ac74], edi */
   4850     RECOMP_ICALL(0x2E0048E0u); /* 0x2E007093: call 0x2e0048e0 */ /* not lifted */
   4851     RECOMP_FLAGS_IN();
   4852     _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu));
   4853     ebx = ebx | 0xFFFFFFFFu; /* 0x2E007098: or ebx, 0xffffffff */
   4854     _cf = 0;
   4855     _flag_k = FK_TEST;
   4856     ecx = ebp + (-0x14); /* 0x2E00709B: lea ecx, [ebp - 0x14] */
   4857     MEM32(ebp + (-0x4)) = ebx; /* 0x2E00709E: mov dword ptr [ebp - 4], ebx */
   4858     RECOMP_ICALL(0x2E0048E0u); /* 0x2E0070A1: call 0x2e0048e0 */ /* not lifted */
   4859     RECOMP_FLAGS_IN();
   4860     eax = MEM32(0x2E01AB6C); /* 0x2E0070A6: mov eax, dword ptr [0x2e01ab6c] */
   4861     PUSH32(esp, eax); /* 0x2E0070AB: push eax */
   4862     ecx = MEM32(eax); /* 0x2E0070AC: mov ecx, dword ptr [eax] */
   4863     eax = ebp + (-0x10); /* 0x2E0070AE: lea eax, [ebp - 0x10] */
   4864     PUSH32(esp, ecx); /* 0x2E0070B1: push ecx */
   4865     PUSH32(esp, eax); /* 0x2E0070B2: push eax */
   4866     ecx = 0x2E01AB68u; /* 0x2E0070B3: mov ecx, 0x2e01ab68 */
   4867     RECOMP_ICALL(0x2E007540u); /* 0x2E0070B8: call 0x2e007540 */ /* not lifted */
   4868     RECOMP_FLAGS_IN();
   4869     ecx = 0x2E01B1ECu; /* 0x2E0070BD: mov ecx, 0x2e01b1ec */
   4870     MEM32(ebp + (-0x14)) = ecx; /* 0x2E0070C2: mov dword ptr [ebp - 0x14], ecx */
   4871     PUSH32(esp, 2); /* 0x2E0070C5: push 2 */
   4872     PUSH32(esp, edi); /* 0x2E0070C7: push edi */
   4873     PUSH32(esp, edi); /* 0x2E0070C8: push edi */
   4874     PUSH32(esp, edi); /* 0x2E0070C9: push edi */
   4875     MEM32(ebp + (-0x4)) = 2; /* 0x2E0070CA: mov dword ptr [ebp - 4], 2 */
   4876     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E0070D1: call dword ptr [0x2e01212c] */
   4877     RECOMP_FLAGS_IN();
   4878     MEM32(ebp + (-0x10)) = eax; /* 0x2E0070D7: mov dword ptr [ebp - 0x10], eax */
   4879     eax = MEM32(0x2E01B264); /* 0x2E0070DA: mov eax, dword ptr [0x2e01b264] */
   4880     MEM32(ebp + (-0x4)) = 3; /* 0x2E0070DF: mov dword ptr [ebp - 4], 3 */
   4881     /* cmp eax, edi */ /* 0x2E0070E6: cmp eax, edi */
   4882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4883     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4884     _flag_k = FK_CMP;
   4885     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00710D; /* 0x2E0070E8: je 0x2e00710d */
   4886 L_2E0070EA:
   4887     esi = eax; /* 0x2E0070EA: mov esi, eax */
   4888 L_2E0070EC:
   4889     ecx = 0x2E01B238u; /* 0x2E0070EC: mov ecx, 0x2e01b238 */
   4890     RECOMP_ICALL(0x2E0081F0u); /* 0x2E0070F1: call 0x2e0081f0 */ /* not lifted */
   4891     RECOMP_FLAGS_IN();
   4892     ecx = 0x2E01B268u; /* 0x2E0070F6: mov ecx, 0x2e01b268 */
   4893     RECOMP_ICALL(0x2E0081F0u); /* 0x2E0070FB: call 0x2e0081f0 */ /* not lifted */
   4894     RECOMP_FLAGS_IN();
   4895     ecx = 0x2E01B298u; /* 0x2E007100: mov ecx, 0x2e01b298 */
   4896     RECOMP_ICALL(0x2E0081F0u); /* 0x2E007105: call 0x2e0081f0 */ /* not lifted */
   4897     RECOMP_FLAGS_IN();
   4898     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1);
   4899     esi = esi - 1; /* 0x2E00710A: dec esi */
   4900     _flag_k = FK_DEC;
   4901     RECOMP_BACKEDGE();
   4902     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E0070EC; /* 0x2E00710B: jne 0x2e0070ec */
   4903 L_2E00710D:
   4904     ecx = ebp + (-0x14); /* 0x2E00710D: lea ecx, [ebp - 0x14] */
   4905     MEM32(0x2E01B234) = 0; /* 0x2E007110: mov dword ptr [0x2e01b234], 0 */
   4906     MEM32(0x2E01B2CC) = edi; /* 0x2E00711A: mov dword ptr [0x2e01b2cc], edi */
   4907     MEM32(0x2E01B2D0) = edi; /* 0x2E007120: mov dword ptr [0x2e01b2d0], edi */
   4908     MEM32(0x2E01B2E0) = edi; /* 0x2E007126: mov dword ptr [0x2e01b2e0], edi */
   4909     MEM32(0x2E01B2E4) = edi; /* 0x2E00712C: mov dword ptr [0x2e01b2e4], edi */
   4910     MEM32(0x2E01B2D4) = edi; /* 0x2E007132: mov dword ptr [0x2e01b2d4], edi */
   4911     MEM32(0x2E01B2D8) = edi; /* 0x2E007138: mov dword ptr [0x2e01b2d8], edi */
   4912     MEM32(0x2E01B2DC) = edi; /* 0x2E00713E: mov dword ptr [0x2e01b2dc], edi */
   4913     RECOMP_ICALL(0x2E0048E0u); /* 0x2E007144: call 0x2e0048e0 */ /* not lifted */
   4914     RECOMP_FLAGS_IN();
   4915     ecx = ebp + (-0x14); /* 0x2E007149: lea ecx, [ebp - 0x14] */
   4916     MEM32(ebp + (-0x4)) = ebx; /* 0x2E00714C: mov dword ptr [ebp - 4], ebx */
   4917     RECOMP_ICALL(0x2E0048E0u); /* 0x2E00714F: call 0x2e0048e0 */ /* not lifted */
   4918     RECOMP_FLAGS_IN();
   4919     eax = MEM32(0x2E01B18C); /* 0x2E007154: mov eax, dword ptr [0x2e01b18c] */
   4920     PUSH32(esp, eax); /* 0x2E007159: push eax */
   4921     ecx = MEM32(eax); /* 0x2E00715A: mov ecx, dword ptr [eax] */
   4922     PUSH32(esp, ecx); /* 0x2E00715C: push ecx */
   4923     ecx = ebp + (-0x10); /* 0x2E00715D: lea ecx, [ebp - 0x10] */
   4924     PUSH32(esp, ecx); /* 0x2E007160: push ecx */
   4925     ecx = 0x2E01B188u; /* 0x2E007161: mov ecx, 0x2e01b188 */
   4926     RECOMP_ICALL(0x2E007540u); /* 0x2E007166: call 0x2e007540 */ /* not lifted */
   4927     RECOMP_FLAGS_IN();
   4928     esi = 0x2E01ACFCu; /* 0x2E00716B: mov esi, 0x2e01acfc */
   4929 L_2E007170:
   4930     edx = esi + (-0x78); /* 0x2E007170: lea edx, [esi - 0x78] */
   4931     ecx = ebp + (-0x14); /* 0x2E007173: lea ecx, [ebp - 0x14] */
   4932     PUSH32(esp, edx); /* 0x2E007176: push edx */
   4933     RECOMP_ICALL(0x2E008130u); /* 0x2E007177: call 0x2e008130 */ /* not lifted */
   4934     RECOMP_FLAGS_IN();
   4935     eax = MEM32(esi); /* 0x2E00717C: mov eax, dword ptr [esi] */
   4936     MEM32(ebp + (-0x4)) = 4; /* 0x2E00717E: mov dword ptr [ebp - 4], 4 */
   4937     /* cmp eax, edi */ /* 0x2E007185: cmp eax, edi */
   4938     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4939     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4940     _flag_k = FK_CMP;
   4941     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0071A9; /* 0x2E007187: je 0x2e0071a9 */
   4942 L_2E007189:
   4943     ebx = eax; /* 0x2E007189: mov ebx, eax */
   4944 L_2E00718B:
   4945     ecx = esi + (-0x2C); /* 0x2E00718B: lea ecx, [esi - 0x2c] */
   4946     RECOMP_ICALL(0x2E0081F0u); /* 0x2E00718E: call 0x2e0081f0 */ /* not lifted */
   4947     RECOMP_FLAGS_IN();
   4948     ecx = esi + 0x4; /* 0x2E007193: lea ecx, [esi + 4] */
   4949     RECOMP_ICALL(0x2E0081F0u); /* 0x2E007196: call 0x2e0081f0 */ /* not lifted */
   4950     RECOMP_FLAGS_IN();
   4951     ecx = esi + 0x34; /* 0x2E00719B: lea ecx, [esi + 0x34] */
   4952     RECOMP_ICALL(0x2E0081F0u); /* 0x2E00719E: call 0x2e0081f0 */ /* not lifted */
   4953     RECOMP_FLAGS_IN();
   4954     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   4955     ebx = ebx - 1; /* 0x2E0071A3: dec ebx */
   4956     _flag_k = FK_DEC;
   4957     RECOMP_BACKEDGE();
   4958     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E00718B; /* 0x2E0071A4: jne 0x2e00718b */
   4959 L_2E0071A6:
   4960     _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu));
   4961     ebx = ebx | 0xFFFFFFFFu; /* 0x2E0071A6: or ebx, 0xffffffff */
   4962     _cf = 0;
   4963     _flag_k = FK_TEST;
   4964 L_2E0071A9:
   4965     ecx = ebp + (-0x14); /* 0x2E0071A9: lea ecx, [ebp - 0x14] */
   4966     MEM32(esi + (-0x30)) = edi; /* 0x2E0071AC: mov dword ptr [esi - 0x30], edi */
   4967     MEM32(esi + 0x68) = edi; /* 0x2E0071AF: mov dword ptr [esi + 0x68], edi */
   4968     MEM32(esi + 0x6C) = edi; /* 0x2E0071B2: mov dword ptr [esi + 0x6c], edi */
   4969     MEM32(esi + 0x7C) = edi; /* 0x2E0071B5: mov dword ptr [esi + 0x7c], edi */
   4970     MEM32(esi + 0x80) = edi; /* 0x2E0071B8: mov dword ptr [esi + 0x80], edi */
   4971     MEM32(esi + 0x70) = edi; /* 0x2E0071BE: mov dword ptr [esi + 0x70], edi */
   4972     MEM32(esi + 0x74) = edi; /* 0x2E0071C1: mov dword ptr [esi + 0x74], edi */
   4973     MEM32(esi + 0x78) = edi; /* 0x2E0071C4: mov dword ptr [esi + 0x78], edi */
   4974     RECOMP_ICALL(0x2E0048E0u); /* 0x2E0071C7: call 0x2e0048e0 */ /* not lifted */
   4975     RECOMP_FLAGS_IN();
   4976     ecx = ebp + (-0x14); /* 0x2E0071CC: lea ecx, [ebp - 0x14] */
   4977     MEM32(ebp + (-0x4)) = ebx; /* 0x2E0071CF: mov dword ptr [ebp - 4], ebx */
   4978     RECOMP_ICALL(0x2E0048E0u); /* 0x2E0071D2: call 0x2e0048e0 */ /* not lifted */
   4979     RECOMP_FLAGS_IN();
   4980     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x100u);
   4981     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4982     esi = esi + 0x100u; /* 0x2E0071D7: add esi, 0x100 */
   4983     _flag_k = FK_ADD;
   4984     /* cmp esi, 0x2E01B1FCu */ /* 0x2E0071DD: cmp esi, 0x2e01b1fc */
   4985     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x2E01B1FCu);
   4986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4987     _flag_k = FK_CMP;
   4988     RECOMP_BACKEDGE();
   4989     if (CMP_L(_flag_a, _flag_b)) goto L_2E007170; /* 0x2E0071E3: jl 0x2e007170 */
   4990 L_2E0071E5:
   4991     MEM32(ebp + (-0x14)) = 0x2E01B1A0u; /* 0x2E0071E5: mov dword ptr [ebp - 0x14], 0x2e01b1a0 */
   4992     PUSH32(esp, 2); /* 0x2E0071EC: push 2 */
   4993     PUSH32(esp, edi); /* 0x2E0071EE: push edi */
   4994     PUSH32(esp, edi); /* 0x2E0071EF: push edi */
   4995     PUSH32(esp, edi); /* 0x2E0071F0: push edi */
   4996     ecx = 0x2E01B1A0u; /* 0x2E0071F1: mov ecx, 0x2e01b1a0 */
   4997     MEM32(ebp + (-0x4)) = 5; /* 0x2E0071F6: mov dword ptr [ebp - 4], 5 */
   4998     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E0071FD: call dword ptr [0x2e01212c] */
   4999     RECOMP_FLAGS_IN();
   5000     MEM32(0x2E01B2EC) = edi; /* 0x2E007203: mov dword ptr [0x2e01b2ec], edi */
   5001     MEM32(0x2E01B2F0) = edi; /* 0x2E007209: mov dword ptr [0x2e01b2f0], edi */
   5002     MEM32(0x2E01B2F4) = edi; /* 0x2E00720F: mov dword ptr [0x2e01b2f4], edi */
   5003     MEM32(0x2E01B2F8) = edi; /* 0x2E007215: mov dword ptr [0x2e01b2f8], edi */
   5004     MEM32(0x2E01B2FC) = edi; /* 0x2E00721B: mov dword ptr [0x2e01b2fc], edi */
   5005     MEM32(0x2E01B300) = edi; /* 0x2E007221: mov dword ptr [0x2e01b300], edi */
   5006     edi = POP32_VAL(esp); /* 0x2E007227: pop edi */
   5007     MEM32(ebp + (-0x4)) = ebx; /* 0x2E007228: mov dword ptr [ebp - 4], ebx */
   5008     esi = POP32_VAL(esp); /* 0x2E00722B: pop esi */
   5009     /* cmp eax, ebx */ /* 0x2E00722C: cmp eax, ebx */
   5010     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5011     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5012     _flag_k = FK_CMP;
   5013     ebx = POP32_VAL(esp); /* 0x2E00722E: pop ebx */
   5014     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00723C; /* 0x2E00722F: je 0x2e00723c */
   5015 L_2E007231:
   5016     ecx = 0x2E01B1A0u; /* 0x2E007231: mov ecx, 0x2e01b1a0 */
   5017     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E007236: call dword ptr [0x2e0121a4] */
   5018     RECOMP_FLAGS_IN();
   5019 L_2E00723C:
   5020     ecx = MEM32(ebp + (-0xC)); /* 0x2E00723C: mov ecx, dword ptr [ebp - 0xc] */
   5021     MEM32(FS_BASE + (0)) = ecx; /* 0x2E00723F: mov dword ptr fs:[0], ecx */
   5022     esp = ebp; /* 0x2E007246: mov esp, ebp */
   5023     ebp = POP32_VAL(esp); /* 0x2E007248: pop ebp */
   5024     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E007249: ret  */
   5025     RECOMP_REGS_OUT();
   5026 }
   5027 
   5028 void sub_2E007250(void) {
   5029     int _fpu_cmp = 0;
   5030     uint32_t _cf = 0;
   5031     int _df = 1;
   5032     uint32_t _flag_k = FK_NONE;
   5033     uint32_t _flag_a = 0, _flag_b = 0;
   5034     uint32_t _itail_tgt = 0;
   5035     RECOMP_REGS_LOCALS
   5036     RECOMP_ENTER(0x2E007250u);
   5037 
   5038 L_2E007250:
   5039     RECOMP_ICALL(0x2E007260u); /* 0x2E007250: call 0x2e007260 */ /* not lifted */
   5040     RECOMP_FLAGS_IN();
   5041     goto L_2E007270; /* 0x2E007255: jmp 0x2e007270 */
   5042 L_2E007270:
   5043     PUSH32(esp, 0x2E007280u); /* 0x2E007270: push 0x2e007280 */
   5044     RECOMP_ICALL(0x2E010FDCu); /* 0x2E007275: call 0x2e010fdc */ /* not lifted */
   5045     RECOMP_FLAGS_IN();
   5046     ecx = POP32_VAL(esp); /* 0x2E00727A: pop ecx */
   5047     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00727B: ret  */
   5048     RECOMP_REGS_OUT();
   5049 }
   5050 
   5051 void sub_2E007260(void) {
   5052     int _fpu_cmp = 0;
   5053     uint32_t _cf = 0;
   5054     int _df = 1;
   5055     uint32_t _flag_k = FK_NONE;
   5056     uint32_t _flag_a = 0, _flag_b = 0;
   5057     uint32_t _itail_tgt = 0;
   5058     RECOMP_REGS_LOCALS
   5059     RECOMP_ENTER(0x2E007260u);
   5060 
   5061 L_2E007260:
   5062     ecx = 0x2E01B19Du; /* 0x2E007260: mov ecx, 0x2e01b19d */
   5063 L_2E007265:
   5064     { _itail_tgt = (uint32_t)(MEM32(0x2E012074)); goto _ljump; }
   5065     { RECOMP_REGS_OUT(); return; } /* end of function */
   5066   _ljump:
   5067     switch (_itail_tgt) {
   5068       case 0x2E007260u: goto L_2E007260;
   5069       case 0x2E007265u: goto L_2E007265;
   5070       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5071     }
   5072     RECOMP_REGS_OUT();
   5073 }
   5074 
   5075 void sub_2E007270(void) {
   5076     int _fpu_cmp = 0;
   5077     uint32_t _cf = 0;
   5078     int _df = 1;
   5079     uint32_t _flag_k = FK_NONE;
   5080     uint32_t _flag_a = 0, _flag_b = 0;
   5081     uint32_t _itail_tgt = 0;
   5082     RECOMP_REGS_LOCALS
   5083     RECOMP_ENTER(0x2E007270u);
   5084 
   5085 L_2E007270:
   5086     PUSH32(esp, 0x2E007280u); /* 0x2E007270: push 0x2e007280 */
   5087     RECOMP_ICALL(0x2E010FDCu); /* 0x2E007275: call 0x2e010fdc */ /* not lifted */
   5088     RECOMP_FLAGS_IN();
   5089     ecx = POP32_VAL(esp); /* 0x2E00727A: pop ecx */
   5090     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00727B: ret  */
   5091     RECOMP_REGS_OUT();
   5092 }
   5093 
   5094 void sub_2E007280(void) {
   5095     int _fpu_cmp = 0;
   5096     uint32_t _cf = 0;
   5097     int _df = 1;
   5098     uint32_t _flag_k = FK_NONE;
   5099     uint32_t _flag_a = 0, _flag_b = 0;
   5100     uint32_t _itail_tgt = 0;
   5101     RECOMP_REGS_LOCALS
   5102     RECOMP_ENTER(0x2E007280u);
   5103 
   5104 L_2E007280:
   5105     ecx = 0x2E01B19Du; /* 0x2E007280: mov ecx, 0x2e01b19d */
   5106 L_2E007285:
   5107     { _itail_tgt = (uint32_t)(MEM32(0x2E012070)); goto _ljump; }
   5108     { RECOMP_REGS_OUT(); return; } /* end of function */
   5109   _ljump:
   5110     switch (_itail_tgt) {
   5111       case 0x2E007280u: goto L_2E007280;
   5112       case 0x2E007285u: goto L_2E007285;
   5113       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5114     }
   5115     RECOMP_REGS_OUT();
   5116 }
   5117 
   5118 void sub_2E007290(void) {
   5119     int _fpu_cmp = 0;
   5120     uint32_t _cf = 0;
   5121     int _df = 1;
   5122     uint32_t _flag_k = FK_NONE;
   5123     uint32_t _flag_a = 0, _flag_b = 0;
   5124     uint32_t _itail_tgt = 0;
   5125     RECOMP_REGS_LOCALS
   5126     RECOMP_ENTER(0x2E007290u);
   5127 
   5128 L_2E007290:
   5129     RECOMP_ICALL(0x2E0072A0u); /* 0x2E007290: call 0x2e0072a0 */ /* not lifted */
   5130     RECOMP_FLAGS_IN();
   5131     goto L_2E0072B0; /* 0x2E007295: jmp 0x2e0072b0 */
   5132 L_2E0072B0:
   5133     PUSH32(esp, 0x2E0072C0u); /* 0x2E0072B0: push 0x2e0072c0 */
   5134     RECOMP_ICALL(0x2E010FDCu); /* 0x2E0072B5: call 0x2e010fdc */ /* not lifted */
   5135     RECOMP_FLAGS_IN();
   5136     ecx = POP32_VAL(esp); /* 0x2E0072BA: pop ecx */
   5137     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0072BB: ret  */
   5138     RECOMP_REGS_OUT();
   5139 }
   5140 
   5141 void sub_2E0072A0(void) {
   5142     int _fpu_cmp = 0;
   5143     uint32_t _cf = 0;
   5144     int _df = 1;
   5145     uint32_t _flag_k = FK_NONE;
   5146     uint32_t _flag_a = 0, _flag_b = 0;
   5147     uint32_t _itail_tgt = 0;
   5148     RECOMP_REGS_LOCALS
   5149     RECOMP_ENTER(0x2E0072A0u);
   5150 
   5151 L_2E0072A0:
   5152     ecx = 0x2E01B19Cu; /* 0x2E0072A0: mov ecx, 0x2e01b19c */
   5153 L_2E0072A5:
   5154     { _itail_tgt = (uint32_t)(MEM32(0x2E01206C)); goto _ljump; }
   5155     { RECOMP_REGS_OUT(); return; } /* end of function */
   5156   _ljump:
   5157     switch (_itail_tgt) {
   5158       case 0x2E0072A0u: goto L_2E0072A0;
   5159       case 0x2E0072A5u: goto L_2E0072A5;
   5160       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5161     }
   5162     RECOMP_REGS_OUT();
   5163 }
   5164 
   5165 void sub_2E0072B0(void) {
   5166     int _fpu_cmp = 0;
   5167     uint32_t _cf = 0;
   5168     int _df = 1;
   5169     uint32_t _flag_k = FK_NONE;
   5170     uint32_t _flag_a = 0, _flag_b = 0;
   5171     uint32_t _itail_tgt = 0;
   5172     RECOMP_REGS_LOCALS
   5173     RECOMP_ENTER(0x2E0072B0u);
   5174 
   5175 L_2E0072B0:
   5176     PUSH32(esp, 0x2E0072C0u); /* 0x2E0072B0: push 0x2e0072c0 */
   5177     RECOMP_ICALL(0x2E010FDCu); /* 0x2E0072B5: call 0x2e010fdc */ /* not lifted */
   5178     RECOMP_FLAGS_IN();
   5179     ecx = POP32_VAL(esp); /* 0x2E0072BA: pop ecx */
   5180     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0072BB: ret  */
   5181     RECOMP_REGS_OUT();
   5182 }
   5183 
   5184 void sub_2E0072C0(void) {
   5185     int _fpu_cmp = 0;
   5186     uint32_t _cf = 0;
   5187     int _df = 1;
   5188     uint32_t _flag_k = FK_NONE;
   5189     uint32_t _flag_a = 0, _flag_b = 0;
   5190     uint32_t _itail_tgt = 0;
   5191     RECOMP_REGS_LOCALS
   5192     RECOMP_ENTER(0x2E0072C0u);
   5193 
   5194 L_2E0072C0:
   5195     ecx = 0x2E01B19Cu; /* 0x2E0072C0: mov ecx, 0x2e01b19c */
   5196 L_2E0072C5:
   5197     { _itail_tgt = (uint32_t)(MEM32(0x2E012068)); goto _ljump; }
   5198     { RECOMP_REGS_OUT(); return; } /* end of function */
   5199   _ljump:
   5200     switch (_itail_tgt) {
   5201       case 0x2E0072C0u: goto L_2E0072C0;
   5202       case 0x2E0072C5u: goto L_2E0072C5;
   5203       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5204     }
   5205     RECOMP_REGS_OUT();
   5206 }
   5207 
   5208 void sub_2E0072D0(void) {
   5209     int _fpu_cmp = 0;
   5210     uint32_t _cf = 0;
   5211     int _df = 1;
   5212     uint32_t _flag_k = FK_NONE;
   5213     uint32_t _flag_a = 0, _flag_b = 0;
   5214     uint32_t _itail_tgt = 0;
   5215     RECOMP_REGS_LOCALS
   5216     RECOMP_ENTER(0x2E0072D0u);
   5217 
   5218 L_2E0072D0:
   5219     PUSH32(esp, ebp); /* 0x2E0072D0: push ebp */
   5220     ebp = esp; /* 0x2E0072D1: mov ebp, esp */
   5221     eax = MEM32(ebp + 0xC); /* 0x2E0072D3: mov eax, dword ptr [ebp + 0xc] */
   5222     edx = MEM32(ebp + 0x8); /* 0x2E0072D6: mov edx, dword ptr [ebp + 8] */
   5223     PUSH32(esp, ebx); /* 0x2E0072D9: push ebx */
   5224     PUSH32(esp, esi); /* 0x2E0072DA: push esi */
   5225     esi = ecx; /* 0x2E0072DB: mov esi, ecx */
   5226     PUSH32(esp, edi); /* 0x2E0072DD: push edi */
   5227     SET_LO8(ecx, MEM8(eax)); /* 0x2E0072DE: mov cl, byte ptr [eax] */
   5228     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5229     ebx = 0; /* 0x2E0072E0: xor ebx, ebx */
   5230     _cf = 0;
   5231     _flag_k = FK_TEST;
   5232     MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2E0072E2: mov byte ptr [esi], cl */
   5233     SET_LO8(eax, MEM8(edx)); /* 0x2E0072E4: mov al, byte ptr [edx] */
   5234     PUSH32(esp, 0x18u); /* 0x2E0072E6: push 0x18 */
   5235     MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2E0072E8: mov byte ptr [esi + 1], al */
   5236     MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2E0072EB: mov byte ptr [esi + 0xc], bl */
   5237     RECOMP_ICALL(0x2E010FAAu); /* 0x2E0072EE: call 0x2e010faa */ /* not lifted */
   5238     RECOMP_FLAGS_IN();
   5239     SET_LO8(ecx, 1); /* 0x2E0072F3: mov cl, 1 */
   5240     MEM32(eax + 0x4) = ebx; /* 0x2E0072F5: mov dword ptr [eax + 4], ebx */
   5241     MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x2E0072F8: mov byte ptr [eax + 0x14], cl */
   5242     MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x2E0072FB: mov byte ptr [eax + 0x15], bl */
   5243     MEM32(esi + 0x8) = eax; /* 0x2E0072FE: mov dword ptr [esi + 8], eax */
   5244     MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x2E007301: mov byte ptr [eax + 0x15], cl */
   5245     ecx = MEM32(esi + 0x8); /* 0x2E007304: mov ecx, dword ptr [esi + 8] */
   5246     PUSH32(esp, 0x18u); /* 0x2E007307: push 0x18 */
   5247     MEM32(ecx) = ebx; /* 0x2E007309: mov dword ptr [ecx], ebx */
   5248     edx = MEM32(esi + 0x8); /* 0x2E00730B: mov edx, dword ptr [esi + 8] */
   5249     MEM32(edx + 0x8) = ebx; /* 0x2E00730E: mov dword ptr [edx + 8], ebx */
   5250     edi = MEM32(esi + 0x8); /* 0x2E007311: mov edi, dword ptr [esi + 8] */
   5251     RECOMP_ICALL(0x2E010FAAu); /* 0x2E007314: call 0x2e010faa */ /* not lifted */
   5252     RECOMP_FLAGS_IN();
   5253     MEM32(eax + 0x4) = edi; /* 0x2E007319: mov dword ptr [eax + 4], edi */
   5254     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00731C: mov byte ptr [eax + 0x14], bl */
   5255     MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x2E00731F: mov byte ptr [eax + 0x15], bl */
   5256     MEM32(esi + 0x4) = eax; /* 0x2E007322: mov dword ptr [esi + 4], eax */
   5257     MEM32(eax) = eax; /* 0x2E007325: mov dword ptr [eax], eax */
   5258     eax = MEM32(esi + 0x4); /* 0x2E007327: mov eax, dword ptr [esi + 4] */
   5259     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5260     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5261     esp = esp + 8; /* 0x2E00732A: add esp, 8 */
   5262     _flag_k = FK_ADD;
   5263     MEM32(eax + 0x8) = eax; /* 0x2E00732D: mov dword ptr [eax + 8], eax */
   5264     MEM32(esi + 0x10) = ebx; /* 0x2E007330: mov dword ptr [esi + 0x10], ebx */
   5265     eax = esi; /* 0x2E007333: mov eax, esi */
   5266     edi = POP32_VAL(esp); /* 0x2E007335: pop edi */
   5267     esi = POP32_VAL(esp); /* 0x2E007336: pop esi */
   5268     ebx = POP32_VAL(esp); /* 0x2E007337: pop ebx */
   5269     ebp = POP32_VAL(esp); /* 0x2E007338: pop ebp */
   5270     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E007339: ret 8 */
   5271     RECOMP_REGS_OUT();
   5272 }
   5273 
   5274 void sub_2E007340(void) {
   5275     int _fpu_cmp = 0;
   5276     uint32_t _cf = 0;
   5277     int _df = 1;
   5278     uint32_t _flag_k = FK_NONE;
   5279     uint32_t _flag_a = 0, _flag_b = 0;
   5280     uint32_t _itail_tgt = 0;
   5281     RECOMP_REGS_LOCALS
   5282     RECOMP_ENTER(0x2E007340u);
   5283 
   5284 L_2E007340:
   5285     PUSH32(esp, ebp); /* 0x2E007340: push ebp */
   5286     ebp = esp; /* 0x2E007341: mov ebp, esp */
   5287     PUSH32(esp, ebx); /* 0x2E007343: push ebx */
   5288     PUSH32(esp, esi); /* 0x2E007344: push esi */
   5289     esi = MEM32(ecx); /* 0x2E007345: mov esi, dword ptr [ecx] */
   5290     edx = MEM32(esi + 0x8); /* 0x2E007347: mov edx, dword ptr [esi + 8] */
   5291     SET_LO8(eax, MEM8(edx + 0x15)); /* 0x2E00734A: mov al, byte ptr [edx + 0x15] */
   5292     /* test LO8(eax), LO8(eax) */ /* 0x2E00734D: test al, al */
   5293     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5294     _cf = 0;
   5295     _flag_k = FK_NARROW(FK_TEST, 24);
   5296     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007372; /* 0x2E00734F: jne 0x2e007372 */
   5297 L_2E007351:
   5298     eax = MEM32(edx); /* 0x2E007351: mov eax, dword ptr [edx] */
   5299     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2E007353: mov bl, byte ptr [eax + 0x15] */
   5300     /* test LO8(ebx), LO8(ebx) */ /* 0x2E007356: test bl, bl */
   5301     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5302     _cf = 0;
   5303     _flag_k = FK_NARROW(FK_TEST, 24);
   5304     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007365; /* 0x2E007358: jne 0x2e007365 */
   5305 L_2E00735A:
   5306     edx = eax; /* 0x2E00735A: mov edx, eax */
   5307     eax = MEM32(edx); /* 0x2E00735C: mov eax, dword ptr [edx] */
   5308     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2E00735E: mov bl, byte ptr [eax + 0x15] */
   5309     /* test LO8(ebx), LO8(ebx) */ /* 0x2E007361: test bl, bl */
   5310     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5311     _cf = 0;
   5312     _flag_k = FK_NARROW(FK_TEST, 24);
   5313     RECOMP_BACKEDGE();
   5314     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00735A; /* 0x2E007363: je 0x2e00735a */
   5315 L_2E007365:
   5316     eax = MEM32(ebp + 0x8); /* 0x2E007365: mov eax, dword ptr [ebp + 8] */
   5317     MEM32(ecx) = edx; /* 0x2E007368: mov dword ptr [ecx], edx */
   5318     MEM32(eax) = esi; /* 0x2E00736A: mov dword ptr [eax], esi */
   5319     esi = POP32_VAL(esp); /* 0x2E00736C: pop esi */
   5320     ebx = POP32_VAL(esp); /* 0x2E00736D: pop ebx */
   5321     ebp = POP32_VAL(esp); /* 0x2E00736E: pop ebp */
   5322     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E00736F: ret 8 */
   5323 L_2E007372:
   5324     eax = MEM32(esi + 0x4); /* 0x2E007372: mov eax, dword ptr [esi + 4] */
   5325     edx = MEM32(ecx); /* 0x2E007375: mov edx, dword ptr [ecx] */
   5326     /* cmp edx, MEM32(eax + 0x8) */ /* 0x2E007377: cmp edx, dword ptr [eax + 8] */
   5327     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   5328     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5329     _flag_k = FK_CMP;
   5330     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007388; /* 0x2E00737A: jne 0x2e007388 */
   5331 L_2E00737C:
   5332     MEM32(ecx) = eax; /* 0x2E00737C: mov dword ptr [ecx], eax */
   5333     eax = MEM32(eax + 0x4); /* 0x2E00737E: mov eax, dword ptr [eax + 4] */
   5334     edx = MEM32(ecx); /* 0x2E007381: mov edx, dword ptr [ecx] */
   5335     /* cmp edx, MEM32(eax + 0x8) */ /* 0x2E007383: cmp edx, dword ptr [eax + 8] */
   5336     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   5337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5338     _flag_k = FK_CMP;
   5339     RECOMP_BACKEDGE();
   5340     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00737C; /* 0x2E007386: je 0x2e00737c */
   5341 L_2E007388:
   5342     edx = MEM32(ecx); /* 0x2E007388: mov edx, dword ptr [ecx] */
   5343     /* cmp MEM32(edx + 0x8), eax */ /* 0x2E00738A: cmp dword ptr [edx + 8], eax */
   5344     _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax);
   5345     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5346     _flag_k = FK_CMP;
   5347     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007391; /* 0x2E00738D: je 0x2e007391 */
   5348 L_2E00738F:
   5349     MEM32(ecx) = eax; /* 0x2E00738F: mov dword ptr [ecx], eax */
   5350 L_2E007391:
   5351     eax = MEM32(ebp + 0x8); /* 0x2E007391: mov eax, dword ptr [ebp + 8] */
   5352     MEM32(eax) = esi; /* 0x2E007394: mov dword ptr [eax], esi */
   5353     esi = POP32_VAL(esp); /* 0x2E007396: pop esi */
   5354     ebx = POP32_VAL(esp); /* 0x2E007397: pop ebx */
   5355     ebp = POP32_VAL(esp); /* 0x2E007398: pop ebp */
   5356     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E007399: ret 8 */
   5357     RECOMP_REGS_OUT();
   5358 }
   5359 
   5360 void sub_2E0073A0(void) {
   5361     int _fpu_cmp = 0;
   5362     uint32_t _cf = 0;
   5363     int _df = 1;
   5364     uint32_t _flag_k = FK_NONE;
   5365     uint32_t _flag_a = 0, _flag_b = 0;
   5366     uint32_t _itail_tgt = 0;
   5367     RECOMP_REGS_LOCALS
   5368     RECOMP_ENTER(0x2E0073A0u);
   5369 
   5370 L_2E0073A0:
   5371     PUSH32(esp, esi); /* 0x2E0073A0: push esi */
   5372     esi = ecx; /* 0x2E0073A1: mov esi, ecx */
   5373     PUSH32(esp, edi); /* 0x2E0073A3: push edi */
   5374     eax = MEM32(esi + 0x2C); /* 0x2E0073A4: mov eax, dword ptr [esi + 0x2c] */
   5375     /* test eax, eax */ /* 0x2E0073A7: test eax, eax */
   5376     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5377     _cf = 0;
   5378     _flag_k = FK_TEST;
   5379     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00745C; /* 0x2E0073A9: je 0x2e00745c */
   5380 L_2E0073AF:
   5381     eax = MEM32(esi + 0xC); /* 0x2E0073AF: mov eax, dword ptr [esi + 0xc] */
   5382     ecx = MEM32(esi + 0x8); /* 0x2E0073B2: mov ecx, dword ptr [esi + 8] */
   5383     edi = MEM32(esi + 0x10); /* 0x2E0073B5: mov edi, dword ptr [esi + 0x10] */
   5384     /* cmp eax, ecx */ /* 0x2E0073B8: cmp eax, ecx */
   5385     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5386     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5387     _flag_k = FK_CMP;
   5388     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0073E7; /* 0x2E0073BA: je 0x2e0073e7 */
   5389 L_2E0073BC:
   5390     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5391     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5392     eax = eax + 4; /* 0x2E0073BC: add eax, 4 */
   5393     _flag_k = FK_ADD;
   5394     /* cmp eax, ecx */ /* 0x2E0073BF: cmp eax, ecx */
   5395     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5396     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5397     _flag_k = FK_CMP;
   5398     MEM32(esi + 0xC) = eax; /* 0x2E0073C1: mov dword ptr [esi + 0xc], eax */
   5399     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0073E7; /* 0x2E0073C4: jne 0x2e0073e7 */
   5400 L_2E0073C6:
   5401     eax = MEM32(esi + 0x10); /* 0x2E0073C6: mov eax, dword ptr [esi + 0x10] */
   5402     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5403     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5404     eax = eax + 4; /* 0x2E0073C9: add eax, 4 */
   5405     _flag_k = FK_ADD;
   5406     /* cmp MEM32(eax), 0 */ /* 0x2E0073CC: cmp dword ptr [eax], 0 */
   5407     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   5408     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5409     _flag_k = FK_CMP;
   5410     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0073E7; /* 0x2E0073CF: je 0x2e0073e7 */
   5411 L_2E0073D1:
   5412     MEM32(esi + 0x10) = eax; /* 0x2E0073D1: mov dword ptr [esi + 0x10], eax */
   5413     eax = MEM32(eax); /* 0x2E0073D4: mov eax, dword ptr [eax] */
   5414     MEM32(esi + 0x4) = eax; /* 0x2E0073D6: mov dword ptr [esi + 4], eax */
   5415     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
   5416     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5417     eax = eax + 0x1000u; /* 0x2E0073D9: add eax, 0x1000 */
   5418     _flag_k = FK_ADD;
   5419     MEM32(esi + 0x8) = eax; /* 0x2E0073DE: mov dword ptr [esi + 8], eax */
   5420     eax = MEM32(esi + 0x4); /* 0x2E0073E1: mov eax, dword ptr [esi + 4] */
   5421     MEM32(esi + 0xC) = eax; /* 0x2E0073E4: mov dword ptr [esi + 0xc], eax */
   5422 L_2E0073E7:
   5423     eax = MEM32(esi + 0x2C); /* 0x2E0073E7: mov eax, dword ptr [esi + 0x2c] */
   5424     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5425     eax = eax - 1; /* 0x2E0073EA: dec eax */
   5426     _flag_k = FK_DEC;
   5427     MEM32(esi + 0x2C) = eax; /* 0x2E0073EB: mov dword ptr [esi + 0x2c], eax */
   5428     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E007446; /* 0x2E0073EE: jne 0x2e007446 */
   5429 L_2E0073F0:
   5430     ecx = MEM32(esi + 0x10); /* 0x2E0073F0: mov ecx, dword ptr [esi + 0x10] */
   5431     PUSH32(esp, ebx); /* 0x2E0073F3: push ebx */
   5432     edx = MEM32(ecx + (-0x4)); /* 0x2E0073F4: mov edx, dword ptr [ecx - 4] */
   5433     PUSH32(esp, edx); /* 0x2E0073F7: push edx */
   5434     RECOMP_ICALL(0x2E010E90u); /* 0x2E0073F8: call 0x2e010e90 */ /* not lifted */
   5435     RECOMP_FLAGS_IN();
   5436     eax = MEM32(esi + 0x10); /* 0x2E0073FD: mov eax, dword ptr [esi + 0x10] */
   5437     ecx = MEM32(eax); /* 0x2E007400: mov ecx, dword ptr [eax] */
   5438     PUSH32(esp, ecx); /* 0x2E007402: push ecx */
   5439     RECOMP_ICALL(0x2E010E90u); /* 0x2E007403: call 0x2e010e90 */ /* not lifted */
   5440     RECOMP_FLAGS_IN();
   5441     edx = MEM32(esi + 0x10); /* 0x2E007408: mov edx, dword ptr [esi + 0x10] */
   5442     eax = MEM32(edx + 0x4); /* 0x2E00740B: mov eax, dword ptr [edx + 4] */
   5443     PUSH32(esp, eax); /* 0x2E00740E: push eax */
   5444     RECOMP_ICALL(0x2E010E90u); /* 0x2E00740F: call 0x2e010e90 */ /* not lifted */
   5445     RECOMP_FLAGS_IN();
   5446     ebx = esi + 0x14; /* 0x2E007414: lea ebx, [esi + 0x14] */
   5447     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5448     eax = 0; /* 0x2E007417: xor eax, eax */
   5449     _cf = 0;
   5450     _flag_k = FK_TEST;
   5451     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5452     ecx = 0; /* 0x2E007419: xor ecx, ecx */
   5453     _cf = 0;
   5454     _flag_k = FK_TEST;
   5455     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5456     edx = 0; /* 0x2E00741B: xor edx, edx */
   5457     _cf = 0;
   5458     _flag_k = FK_TEST;
   5459     MEM32(ebx) = eax; /* 0x2E00741D: mov dword ptr [ebx], eax */
   5460     MEM32(esi + 0x4) = eax; /* 0x2E00741F: mov dword ptr [esi + 4], eax */
   5461     MEM32(esi + 0x8) = ecx; /* 0x2E007422: mov dword ptr [esi + 8], ecx */
   5462     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5463     edi = 0; /* 0x2E007425: xor edi, edi */
   5464     _cf = 0;
   5465     _flag_k = FK_TEST;
   5466     MEM32(ebx + 0x4) = ecx; /* 0x2E007427: mov dword ptr [ebx + 4], ecx */
   5467     ecx = MEM32(esi + 0x24); /* 0x2E00742A: mov ecx, dword ptr [esi + 0x24] */
   5468     MEM32(esi + 0xC) = edx; /* 0x2E00742D: mov dword ptr [esi + 0xc], edx */
   5469     PUSH32(esp, ecx); /* 0x2E007430: push ecx */
   5470     MEM32(ebx + 0x8) = edx; /* 0x2E007431: mov dword ptr [ebx + 8], edx */
   5471     MEM32(esi + 0x10) = edi; /* 0x2E007434: mov dword ptr [esi + 0x10], edi */
   5472     MEM32(ebx + 0xC) = edi; /* 0x2E007437: mov dword ptr [ebx + 0xc], edi */
   5473     RECOMP_ICALL(0x2E010E90u); /* 0x2E00743A: call 0x2e010e90 */ /* not lifted */
   5474     RECOMP_FLAGS_IN();
   5475     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5476     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5477     esp = esp + 0x10u; /* 0x2E00743F: add esp, 0x10 */
   5478     _flag_k = FK_ADD;
   5479     ebx = POP32_VAL(esp); /* 0x2E007442: pop ebx */
   5480     edi = POP32_VAL(esp); /* 0x2E007443: pop edi */
   5481     esi = POP32_VAL(esp); /* 0x2E007444: pop esi */
   5482     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E007445: ret  */
   5483 L_2E007446:
   5484     /* cmp edi, MEM32(esi + 0x10) */ /* 0x2E007446: cmp edi, dword ptr [esi + 0x10] */
   5485     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x10));
   5486     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5487     _flag_k = FK_CMP;
   5488     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00745C; /* 0x2E007449: je 0x2e00745c */
   5489 L_2E00744B:
   5490     edx = MEM32(edi); /* 0x2E00744B: mov edx, dword ptr [edi] */
   5491     PUSH32(esp, edx); /* 0x2E00744D: push edx */
   5492     RECOMP_ICALL(0x2E010E90u); /* 0x2E00744E: call 0x2e010e90 */ /* not lifted */
   5493     RECOMP_FLAGS_IN();
   5494     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5495     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5496     esp = esp + 4; /* 0x2E007453: add esp, 4 */
   5497     _flag_k = FK_ADD;
   5498     MEM32(edi) = 0; /* 0x2E007456: mov dword ptr [edi], 0 */
   5499 L_2E00745C:
   5500     edi = POP32_VAL(esp); /* 0x2E00745C: pop edi */
   5501     esi = POP32_VAL(esp); /* 0x2E00745D: pop esi */
   5502     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00745E: ret  */
   5503     RECOMP_REGS_OUT();
   5504 }
   5505 
   5506 void sub_2E007460(void) {
   5507     int _fpu_cmp = 0;
   5508     uint32_t _cf = 0;
   5509     int _df = 1;
   5510     uint32_t _flag_k = FK_NONE;
   5511     uint32_t _flag_a = 0, _flag_b = 0;
   5512     uint32_t _itail_tgt = 0;
   5513     RECOMP_REGS_LOCALS
   5514     RECOMP_ENTER(0x2E007460u);
   5515 
   5516 L_2E007460:
   5517     PUSH32(esp, ebp); /* 0x2E007460: push ebp */
   5518     ebp = esp; /* 0x2E007461: mov ebp, esp */
   5519     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5520     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5521     esp = esp - 0x10u; /* 0x2E007463: sub esp, 0x10 */
   5522     _flag_k = FK_CMP;
   5523     PUSH32(esp, ebx); /* 0x2E007466: push ebx */
   5524     ebx = ecx; /* 0x2E007467: mov ebx, ecx */
   5525     PUSH32(esp, esi); /* 0x2E007469: push esi */
   5526     PUSH32(esp, edi); /* 0x2E00746A: push edi */
   5527     edx = MEM32(ebx + 0x4); /* 0x2E00746B: mov edx, dword ptr [ebx + 4] */
   5528     ecx = MEM32(ebx + 0x8); /* 0x2E00746E: mov ecx, dword ptr [ebx + 8] */
   5529     edi = edx; /* 0x2E007471: mov edi, edx */
   5530     SET_LO8(eax, 1); /* 0x2E007473: mov al, 1 */
   5531     esi = MEM32(edx + 0x4); /* 0x2E007475: mov esi, dword ptr [edx + 4] */
   5532     /* cmp esi, ecx */ /* 0x2E007478: cmp esi, ecx */
   5533     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx);
   5534     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5535     _flag_k = FK_CMP;
   5536     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00749E; /* 0x2E00747A: je 0x2e00749e */
   5537 L_2E00747C:
   5538     eax = MEM32(ebp + 0xC); /* 0x2E00747C: mov eax, dword ptr [ebp + 0xc] */
   5539     eax = MEM32(eax); /* 0x2E00747F: mov eax, dword ptr [eax] */
   5540     MEM32(ebp + (-0x4)) = eax; /* 0x2E007481: mov dword ptr [ebp - 4], eax */
   5541 L_2E007484:
   5542     eax = MEM32(ebp + (-0x4)); /* 0x2E007484: mov eax, dword ptr [ebp - 4] */
   5543     edi = esi; /* 0x2E007487: mov edi, esi */
   5544     /* cmp eax, MEM32(esi + 0xC) */ /* 0x2E007489: cmp eax, dword ptr [esi + 0xc] */
   5545     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC));
   5546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5547     _flag_k = FK_CMP;
   5548     SET_LO8(eax, (CMP_B(_flag_a, _flag_b)) ? 1 : 0); /* 0x2E00748C: setb al */
   5549     /* test LO8(eax), LO8(eax) */ /* 0x2E00748F: test al, al */
   5550     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5551     _cf = 0;
   5552     _flag_k = FK_NARROW(FK_TEST, 24);
   5553     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007497; /* 0x2E007491: je 0x2e007497 */
   5554 L_2E007493:
   5555     esi = MEM32(esi); /* 0x2E007493: mov esi, dword ptr [esi] */
   5556     goto L_2E00749A; /* 0x2E007495: jmp 0x2e00749a */
   5557 L_2E007497:
   5558     esi = MEM32(esi + 0x8); /* 0x2E007497: mov esi, dword ptr [esi + 8] */
   5559 L_2E00749A:
   5560     /* cmp esi, ecx */ /* 0x2E00749A: cmp esi, ecx */
   5561     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx);
   5562     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5563     _flag_k = FK_CMP;
   5564     RECOMP_BACKEDGE();
   5565     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007484; /* 0x2E00749C: jne 0x2e007484 */
   5566 L_2E00749E:
   5567     SET_LO8(ecx, MEM8(ebx + 0xC)); /* 0x2E00749E: mov cl, byte ptr [ebx + 0xc] */
   5568     /* test LO8(ecx), LO8(ecx) */ /* 0x2E0074A1: test cl, cl */
   5569     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   5570     _cf = 0;
   5571     _flag_k = FK_NARROW(FK_TEST, 24);
   5572     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0074C3; /* 0x2E0074A3: je 0x2e0074c3 */
   5573 L_2E0074A5:
   5574     ecx = MEM32(ebp + 0xC); /* 0x2E0074A5: mov ecx, dword ptr [ebp + 0xc] */
   5575     edx = ebp + (-0x8); /* 0x2E0074A8: lea edx, [ebp - 8] */
   5576     PUSH32(esp, ecx); /* 0x2E0074AB: push ecx */
   5577     PUSH32(esp, edi); /* 0x2E0074AC: push edi */
   5578     PUSH32(esp, esi); /* 0x2E0074AD: push esi */
   5579     PUSH32(esp, edx); /* 0x2E0074AE: push edx */
   5580     ecx = ebx; /* 0x2E0074AF: mov ecx, ebx */
   5581     RECOMP_ICALL(0x2E007610u); /* 0x2E0074B1: call 0x2e007610 */ /* not lifted */
   5582     RECOMP_FLAGS_IN();
   5583     eax = MEM32(eax); /* 0x2E0074B6: mov eax, dword ptr [eax] */
   5584     MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2E0074B8: mov byte ptr [ebp - 0xc], 1 */
   5585     ecx = eax; /* 0x2E0074BC: mov ecx, eax */
   5586     eax = MEM32(ebp + (-0xC)); /* 0x2E0074BE: mov eax, dword ptr [ebp - 0xc] */
   5587     goto L_2E007525; /* 0x2E0074C1: jmp 0x2e007525 */
   5588 L_2E0074C3:
   5589     ecx = edi; /* 0x2E0074C3: mov ecx, edi */
   5590     /* test LO8(eax), LO8(eax) */ /* 0x2E0074C5: test al, al */
   5591     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5592     _cf = 0;
   5593     _flag_k = FK_NARROW(FK_TEST, 24);
   5594     MEM32(ebp + (-0x4)) = ecx; /* 0x2E0074C7: mov dword ptr [ebp - 4], ecx */
   5595     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0074F9; /* 0x2E0074CA: je 0x2e0074f9 */
   5596 L_2E0074CC:
   5597     /* cmp edi, MEM32(edx) */ /* 0x2E0074CC: cmp edi, dword ptr [edx] */
   5598     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx));
   5599     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5600     _flag_k = FK_CMP;
   5601     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0074EE; /* 0x2E0074CE: jne 0x2e0074ee */
   5602 L_2E0074D0:
   5603     eax = MEM32(ebp + 0xC); /* 0x2E0074D0: mov eax, dword ptr [ebp + 0xc] */
   5604     ecx = ebp + (-0xC); /* 0x2E0074D3: lea ecx, [ebp - 0xc] */
   5605     PUSH32(esp, eax); /* 0x2E0074D6: push eax */
   5606     PUSH32(esp, edi); /* 0x2E0074D7: push edi */
   5607     PUSH32(esp, esi); /* 0x2E0074D8: push esi */
   5608     PUSH32(esp, ecx); /* 0x2E0074D9: push ecx */
   5609     ecx = ebx; /* 0x2E0074DA: mov ecx, ebx */
   5610     RECOMP_ICALL(0x2E007610u); /* 0x2E0074DC: call 0x2e007610 */ /* not lifted */
   5611     RECOMP_FLAGS_IN();
   5612     eax = MEM32(eax); /* 0x2E0074E1: mov eax, dword ptr [eax] */
   5613     MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2E0074E3: mov byte ptr [ebp - 0xc], 1 */
   5614     ecx = eax; /* 0x2E0074E7: mov ecx, eax */
   5615     eax = MEM32(ebp + (-0xC)); /* 0x2E0074E9: mov eax, dword ptr [ebp - 0xc] */
   5616     goto L_2E007525; /* 0x2E0074EC: jmp 0x2e007525 */
   5617 L_2E0074EE:
   5618     ecx = ebp + (-0x4); /* 0x2E0074EE: lea ecx, [ebp - 4] */
   5619     RECOMP_ICALL(0x2E007850u); /* 0x2E0074F1: call 0x2e007850 */ /* not lifted */
   5620     RECOMP_FLAGS_IN();
   5621     ecx = MEM32(ebp + (-0x4)); /* 0x2E0074F6: mov ecx, dword ptr [ebp - 4] */
   5622 L_2E0074F9:
   5623     eax = MEM32(ebp + 0xC); /* 0x2E0074F9: mov eax, dword ptr [ebp + 0xc] */
   5624     edx = MEM32(ecx + 0xC); /* 0x2E0074FC: mov edx, dword ptr [ecx + 0xc] */
   5625     /* cmp edx, MEM32(eax) */ /* 0x2E0074FF: cmp edx, dword ptr [eax] */
   5626     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
   5627     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5628     _flag_k = FK_CMP;
   5629     if (CMP_AE(_flag_a, _flag_b)) goto L_2E00751E; /* 0x2E007501: jae 0x2e00751e */
   5630 L_2E007503:
   5631     PUSH32(esp, eax); /* 0x2E007503: push eax */
   5632     PUSH32(esp, edi); /* 0x2E007504: push edi */
   5633     eax = ebp + 0xC; /* 0x2E007505: lea eax, [ebp + 0xc] */
   5634     PUSH32(esp, esi); /* 0x2E007508: push esi */
   5635     PUSH32(esp, eax); /* 0x2E007509: push eax */
   5636     ecx = ebx; /* 0x2E00750A: mov ecx, ebx */
   5637     RECOMP_ICALL(0x2E007610u); /* 0x2E00750C: call 0x2e007610 */ /* not lifted */
   5638     RECOMP_FLAGS_IN();
   5639     eax = MEM32(eax); /* 0x2E007511: mov eax, dword ptr [eax] */
   5640     MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2E007513: mov byte ptr [ebp - 0xc], 1 */
   5641     ecx = eax; /* 0x2E007517: mov ecx, eax */
   5642     eax = MEM32(ebp + (-0xC)); /* 0x2E007519: mov eax, dword ptr [ebp - 0xc] */
   5643     goto L_2E007525; /* 0x2E00751C: jmp 0x2e007525 */
   5644 L_2E00751E:
   5645     MEM8(ebp + (-0xC)) = (uint8_t)(0); /* 0x2E00751E: mov byte ptr [ebp - 0xc], 0 */
   5646     eax = MEM32(ebp + (-0xC)); /* 0x2E007522: mov eax, dword ptr [ebp - 0xc] */
   5647 L_2E007525:
   5648     MEM8(ebp + (-0xC)) = (uint8_t)(LO8(eax)); /* 0x2E007525: mov byte ptr [ebp - 0xc], al */
   5649     eax = MEM32(ebp + 0x8); /* 0x2E007528: mov eax, dword ptr [ebp + 8] */
   5650     edi = POP32_VAL(esp); /* 0x2E00752B: pop edi */
   5651     esi = POP32_VAL(esp); /* 0x2E00752C: pop esi */
   5652     MEM32(eax) = ecx; /* 0x2E00752D: mov dword ptr [eax], ecx */
   5653     ecx = MEM32(ebp + (-0xC)); /* 0x2E00752F: mov ecx, dword ptr [ebp - 0xc] */
   5654     MEM32(eax + 0x4) = ecx; /* 0x2E007532: mov dword ptr [eax + 4], ecx */
   5655     ebx = POP32_VAL(esp); /* 0x2E007535: pop ebx */
   5656     esp = ebp; /* 0x2E007536: mov esp, ebp */
   5657     ebp = POP32_VAL(esp); /* 0x2E007538: pop ebp */
   5658     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E007539: ret 8 */
   5659     RECOMP_REGS_OUT();
   5660 }
   5661 
   5662 void sub_2E007540(void) {
   5663     int _fpu_cmp = 0;
   5664     uint32_t _cf = 0;
   5665     int _df = 1;
   5666     uint32_t _flag_k = FK_NONE;
   5667     uint32_t _flag_a = 0, _flag_b = 0;
   5668     uint32_t _itail_tgt = 0;
   5669     RECOMP_REGS_LOCALS
   5670     RECOMP_ENTER(0x2E007540u);
   5671 
   5672 L_2E007540:
   5673     PUSH32(esp, ebp); /* 0x2E007540: push ebp */
   5674     ebp = esp; /* 0x2E007541: mov ebp, esp */
   5675     PUSH32(esp, ebx); /* 0x2E007543: push ebx */
   5676     ebx = MEM32(ebp + 0x10); /* 0x2E007544: mov ebx, dword ptr [ebp + 0x10] */
   5677     PUSH32(esp, esi); /* 0x2E007547: push esi */
   5678     esi = ecx; /* 0x2E007548: mov esi, ecx */
   5679     ecx = MEM32(ebp + 0xC); /* 0x2E00754A: mov ecx, dword ptr [ebp + 0xc] */
   5680     PUSH32(esp, edi); /* 0x2E00754D: push edi */
   5681     eax = MEM32(esi + 0x10); /* 0x2E00754E: mov eax, dword ptr [esi + 0x10] */
   5682     /* test eax, eax */ /* 0x2E007551: test eax, eax */
   5683     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5684     _cf = 0;
   5685     _flag_k = FK_TEST;
   5686     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0075B7; /* 0x2E007553: je 0x2e0075b7 */
   5687 L_2E007555:
   5688     eax = MEM32(esi + 0x4); /* 0x2E007555: mov eax, dword ptr [esi + 4] */
   5689     /* cmp ecx, MEM32(eax) */ /* 0x2E007558: cmp ecx, dword ptr [eax] */
   5690     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax));
   5691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5692     _flag_k = FK_CMP;
   5693     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0075B7; /* 0x2E00755A: jne 0x2e0075b7 */
   5694 L_2E00755C:
   5695     /* cmp ebx, eax */ /* 0x2E00755C: cmp ebx, eax */
   5696     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   5697     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5698     _flag_k = FK_CMP;
   5699     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0075B7; /* 0x2E00755E: jne 0x2e0075b7 */
   5700 L_2E007560:
   5701     ebx = MEM32(eax + 0x4); /* 0x2E007560: mov ebx, dword ptr [eax + 4] */
   5702     eax = MEM32(esi + 0x8); /* 0x2E007563: mov eax, dword ptr [esi + 8] */
   5703     /* cmp ebx, eax */ /* 0x2E007566: cmp ebx, eax */
   5704     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   5705     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5706     _flag_k = FK_CMP;
   5707     edi = ebx; /* 0x2E007568: mov edi, ebx */
   5708     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00758B; /* 0x2E00756A: je 0x2e00758b */
   5709 L_2E00756C:
   5710     eax = MEM32(edi + 0x8); /* 0x2E00756C: mov eax, dword ptr [edi + 8] */
   5711     ecx = esi; /* 0x2E00756F: mov ecx, esi */
   5712     PUSH32(esp, eax); /* 0x2E007571: push eax */
   5713     RECOMP_ICALL(0x2E0045F0u); /* 0x2E007572: call 0x2e0045f0 */ /* not lifted */
   5714     RECOMP_FLAGS_IN();
   5715     edi = MEM32(edi); /* 0x2E007577: mov edi, dword ptr [edi] */
   5716     PUSH32(esp, ebx); /* 0x2E007579: push ebx */
   5717     RECOMP_ICALL(0x2E010E90u); /* 0x2E00757A: call 0x2e010e90 */ /* not lifted */
   5718     RECOMP_FLAGS_IN();
   5719     eax = MEM32(esi + 0x8); /* 0x2E00757F: mov eax, dword ptr [esi + 8] */
   5720     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5721     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5722     esp = esp + 4; /* 0x2E007582: add esp, 4 */
   5723     _flag_k = FK_ADD;
   5724     /* cmp edi, eax */ /* 0x2E007585: cmp edi, eax */
   5725     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   5726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5727     _flag_k = FK_CMP;
   5728     ebx = edi; /* 0x2E007587: mov ebx, edi */
   5729     RECOMP_BACKEDGE();
   5730     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00756C; /* 0x2E007589: jne 0x2e00756c */
   5731 L_2E00758B:
   5732     ecx = MEM32(esi + 0x4); /* 0x2E00758B: mov ecx, dword ptr [esi + 4] */
   5733     edx = MEM32(esi + 0x8); /* 0x2E00758E: mov edx, dword ptr [esi + 8] */
   5734     edi = POP32_VAL(esp); /* 0x2E007591: pop edi */
   5735     MEM32(ecx + 0x4) = edx; /* 0x2E007592: mov dword ptr [ecx + 4], edx */
   5736     eax = MEM32(esi + 0x4); /* 0x2E007595: mov eax, dword ptr [esi + 4] */
   5737     MEM32(esi + 0x10) = 0; /* 0x2E007598: mov dword ptr [esi + 0x10], 0 */
   5738     MEM32(eax) = eax; /* 0x2E00759F: mov dword ptr [eax], eax */
   5739     eax = MEM32(esi + 0x4); /* 0x2E0075A1: mov eax, dword ptr [esi + 4] */
   5740     MEM32(eax + 0x8) = eax; /* 0x2E0075A4: mov dword ptr [eax + 8], eax */
   5741     eax = MEM32(esi + 0x4); /* 0x2E0075A7: mov eax, dword ptr [esi + 4] */
   5742     esi = POP32_VAL(esp); /* 0x2E0075AA: pop esi */
   5743     ebx = POP32_VAL(esp); /* 0x2E0075AB: pop ebx */
   5744     ecx = MEM32(eax); /* 0x2E0075AC: mov ecx, dword ptr [eax] */
   5745     eax = MEM32(ebp + 0x8); /* 0x2E0075AE: mov eax, dword ptr [ebp + 8] */
   5746     MEM32(eax) = ecx; /* 0x2E0075B1: mov dword ptr [eax], ecx */
   5747     ebp = POP32_VAL(esp); /* 0x2E0075B3: pop ebp */
   5748     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2E0075B4: ret 0xc */
   5749 L_2E0075B7:
   5750     /* cmp ecx, ebx */ /* 0x2E0075B7: cmp ecx, ebx */
   5751     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5753     _flag_k = FK_CMP;
   5754     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0075D8; /* 0x2E0075B9: je 0x2e0075d8 */
   5755 L_2E0075BB:
   5756     edi = ecx; /* 0x2E0075BB: mov edi, ecx */
   5757     ecx = ebp + 0xC; /* 0x2E0075BD: lea ecx, [ebp + 0xc] */
   5758     RECOMP_ICALL(0x2E004630u); /* 0x2E0075C0: call 0x2e004630 */ /* not lifted */
   5759     RECOMP_FLAGS_IN();
   5760     ecx = ebp + 0x10; /* 0x2E0075C5: lea ecx, [ebp + 0x10] */
   5761     PUSH32(esp, edi); /* 0x2E0075C8: push edi */
   5762     PUSH32(esp, ecx); /* 0x2E0075C9: push ecx */
   5763     ecx = esi; /* 0x2E0075CA: mov ecx, esi */
   5764     RECOMP_ICALL(0x2E004230u); /* 0x2E0075CC: call 0x2e004230 */ /* not lifted */
   5765     RECOMP_FLAGS_IN();
   5766     ecx = MEM32(ebp + 0xC); /* 0x2E0075D1: mov ecx, dword ptr [ebp + 0xc] */
   5767     /* cmp ecx, ebx */ /* 0x2E0075D4: cmp ecx, ebx */
   5768     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5770     _flag_k = FK_CMP;
   5771     RECOMP_BACKEDGE();
   5772     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0075BB; /* 0x2E0075D6: jne 0x2e0075bb */
   5773 L_2E0075D8:
   5774     eax = MEM32(ebp + 0x8); /* 0x2E0075D8: mov eax, dword ptr [ebp + 8] */
   5775     edi = POP32_VAL(esp); /* 0x2E0075DB: pop edi */
   5776     esi = POP32_VAL(esp); /* 0x2E0075DC: pop esi */
   5777     ebx = POP32_VAL(esp); /* 0x2E0075DD: pop ebx */
   5778     MEM32(eax) = ecx; /* 0x2E0075DE: mov dword ptr [eax], ecx */
   5779     ebp = POP32_VAL(esp); /* 0x2E0075E0: pop ebp */
   5780     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2E0075E1: ret 0xc */
   5781     RECOMP_REGS_OUT();
   5782 }
   5783 
   5784 void sub_2E0075F0(void) {
   5785     int _fpu_cmp = 0;
   5786     uint32_t _cf = 0;
   5787     int _df = 1;
   5788     uint32_t _flag_k = FK_NONE;
   5789     uint32_t _flag_a = 0, _flag_b = 0;
   5790     uint32_t _itail_tgt = 0;
   5791     RECOMP_REGS_LOCALS
   5792     RECOMP_ENTER(0x2E0075F0u);
   5793 
   5794 L_2E0075F0:
   5795     PUSH32(esp, ebp); /* 0x2E0075F0: push ebp */
   5796     ebp = esp; /* 0x2E0075F1: mov ebp, esp */
   5797     eax = ecx; /* 0x2E0075F3: mov eax, ecx */
   5798     ecx = MEM32(ebp + 0x8); /* 0x2E0075F5: mov ecx, dword ptr [ebp + 8] */
   5799     edx = MEM32(ecx); /* 0x2E0075F8: mov edx, dword ptr [ecx] */
   5800     ecx = MEM32(ebp + 0xC); /* 0x2E0075FA: mov ecx, dword ptr [ebp + 0xc] */
   5801     MEM32(eax) = edx; /* 0x2E0075FD: mov dword ptr [eax], edx */
   5802     edx = MEM32(ecx); /* 0x2E0075FF: mov edx, dword ptr [ecx] */
   5803     MEM32(eax + 0x4) = edx; /* 0x2E007601: mov dword ptr [eax + 4], edx */
   5804     ebp = POP32_VAL(esp); /* 0x2E007604: pop ebp */
   5805     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E007605: ret 8 */
   5806     RECOMP_REGS_OUT();
   5807 }
   5808 
   5809 void sub_2E007610(void) {
   5810     int _fpu_cmp = 0;
   5811     uint32_t _cf = 0;
   5812     int _df = 1;
   5813     uint32_t _flag_k = FK_NONE;
   5814     uint32_t _flag_a = 0, _flag_b = 0;
   5815     uint32_t _itail_tgt = 0;
   5816     RECOMP_REGS_LOCALS
   5817     RECOMP_ENTER(0x2E007610u);
   5818 
   5819 L_2E007610:
   5820     PUSH32(esp, ebp); /* 0x2E007610: push ebp */
   5821     ebp = esp; /* 0x2E007611: mov ebp, esp */
   5822     PUSH32(esp, ecx); /* 0x2E007613: push ecx */
   5823     PUSH32(esp, ebx); /* 0x2E007614: push ebx */
   5824     PUSH32(esp, esi); /* 0x2E007615: push esi */
   5825     PUSH32(esp, edi); /* 0x2E007616: push edi */
   5826     esi = ecx; /* 0x2E007617: mov esi, ecx */
   5827     PUSH32(esp, 0x18u); /* 0x2E007619: push 0x18 */
   5828     RECOMP_ICALL(0x2E010FAAu); /* 0x2E00761B: call 0x2e010faa */ /* not lifted */
   5829     RECOMP_FLAGS_IN();
   5830     edi = MEM32(ebp + 0x10); /* 0x2E007620: mov edi, dword ptr [ebp + 0x10] */
   5831     ebx = MEM32(ebp + 0x14); /* 0x2E007623: mov ebx, dword ptr [ebp + 0x14] */
   5832     MEM32(eax + 0x4) = edi; /* 0x2E007626: mov dword ptr [eax + 4], edi */
   5833     MEM8(eax + 0x14) = (uint8_t)(0); /* 0x2E007629: mov byte ptr [eax + 0x14], 0 */
   5834     MEM8(eax + 0x15) = (uint8_t)(0); /* 0x2E00762D: mov byte ptr [eax + 0x15], 0 */
   5835     ecx = MEM32(esi + 0x8); /* 0x2E007631: mov ecx, dword ptr [esi + 8] */
   5836     MEM32(eax) = ecx; /* 0x2E007634: mov dword ptr [eax], ecx */
   5837     edx = MEM32(esi + 0x8); /* 0x2E007636: mov edx, dword ptr [esi + 8] */
   5838     MEM32(ebp + (-0x4)) = eax; /* 0x2E007639: mov dword ptr [ebp - 4], eax */
   5839     MEM32(eax + 0x8) = edx; /* 0x2E00763C: mov dword ptr [eax + 8], edx */
   5840     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   5841     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5842     eax = eax + 0xCu; /* 0x2E00763F: add eax, 0xc */
   5843     _flag_k = FK_ADD;
   5844     PUSH32(esp, ebx); /* 0x2E007642: push ebx */
   5845     PUSH32(esp, eax); /* 0x2E007643: push eax */
   5846     RECOMP_ICALL(0x2E0081D0u); /* 0x2E007644: call 0x2e0081d0 */ /* not lifted */
   5847     RECOMP_FLAGS_IN();
   5848     ecx = MEM32(esi + 0x10); /* 0x2E007649: mov ecx, dword ptr [esi + 0x10] */
   5849     eax = MEM32(esi + 0x4); /* 0x2E00764C: mov eax, dword ptr [esi + 4] */
   5850     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5851     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5852     esp = esp + 0xCu; /* 0x2E00764F: add esp, 0xc */
   5853     _flag_k = FK_ADD;
   5854     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5855     ecx = ecx + 1; /* 0x2E007652: inc ecx */
   5856     _flag_k = FK_INC;
   5857     /* cmp edi, eax */ /* 0x2E007653: cmp edi, eax */
   5858     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   5859     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5860     _flag_k = FK_CMP;
   5861     MEM32(esi + 0x10) = ecx; /* 0x2E007655: mov dword ptr [esi + 0x10], ecx */
   5862     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007680; /* 0x2E007658: je 0x2e007680 */
   5863 L_2E00765A:
   5864     eax = MEM32(ebp + 0xC); /* 0x2E00765A: mov eax, dword ptr [ebp + 0xc] */
   5865     ecx = MEM32(esi + 0x8); /* 0x2E00765D: mov ecx, dword ptr [esi + 8] */
   5866     /* cmp eax, ecx */ /* 0x2E007660: cmp eax, ecx */
   5867     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5868     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5869     _flag_k = FK_CMP;
   5870     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007680; /* 0x2E007662: jne 0x2e007680 */
   5871 L_2E007664:
   5872     ecx = MEM32(ebx); /* 0x2E007664: mov ecx, dword ptr [ebx] */
   5873     eax = MEM32(edi + 0xC); /* 0x2E007666: mov eax, dword ptr [edi + 0xc] */
   5874     /* cmp ecx, eax */ /* 0x2E007669: cmp ecx, eax */
   5875     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   5876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5877     _flag_k = FK_CMP;
   5878     if (CMP_B(_flag_a, _flag_b)) goto L_2E007680; /* 0x2E00766B: jb 0x2e007680 */
   5879 L_2E00766D:
   5880     ecx = MEM32(ebp + (-0x4)); /* 0x2E00766D: mov ecx, dword ptr [ebp - 4] */
   5881     MEM32(edi + 0x8) = ecx; /* 0x2E007670: mov dword ptr [edi + 8], ecx */
   5882     eax = MEM32(esi + 0x4); /* 0x2E007673: mov eax, dword ptr [esi + 4] */
   5883     /* cmp edi, MEM32(eax + 0x8) */ /* 0x2E007676: cmp edi, dword ptr [eax + 8] */
   5884     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   5885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5886     _flag_k = FK_CMP;
   5887     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076A0; /* 0x2E007679: jne 0x2e0076a0 */
   5888 L_2E00767B:
   5889     MEM32(eax + 0x8) = ecx; /* 0x2E00767B: mov dword ptr [eax + 8], ecx */
   5890     goto L_2E0076A0; /* 0x2E00767E: jmp 0x2e0076a0 */
   5891 L_2E007680:
   5892     ecx = MEM32(ebp + (-0x4)); /* 0x2E007680: mov ecx, dword ptr [ebp - 4] */
   5893     MEM32(edi) = ecx; /* 0x2E007683: mov dword ptr [edi], ecx */
   5894     eax = MEM32(esi + 0x4); /* 0x2E007685: mov eax, dword ptr [esi + 4] */
   5895     /* cmp edi, eax */ /* 0x2E007688: cmp edi, eax */
   5896     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   5897     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5898     _flag_k = FK_CMP;
   5899     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007697; /* 0x2E00768A: jne 0x2e007697 */
   5900 L_2E00768C:
   5901     MEM32(eax + 0x4) = ecx; /* 0x2E00768C: mov dword ptr [eax + 4], ecx */
   5902     edx = MEM32(esi + 0x4); /* 0x2E00768F: mov edx, dword ptr [esi + 4] */
   5903     MEM32(edx + 0x8) = ecx; /* 0x2E007692: mov dword ptr [edx + 8], ecx */
   5904     goto L_2E0076A0; /* 0x2E007695: jmp 0x2e0076a0 */
   5905 L_2E007697:
   5906     /* cmp edi, MEM32(eax) */ /* 0x2E007697: cmp edi, dword ptr [eax] */
   5907     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   5908     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5909     _flag_k = FK_CMP;
   5910     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076A0; /* 0x2E007699: jne 0x2e0076a0 */
   5911 L_2E00769B:
   5912     ecx = MEM32(ebp + (-0x4)); /* 0x2E00769B: mov ecx, dword ptr [ebp - 4] */
   5913     MEM32(eax) = ecx; /* 0x2E00769E: mov dword ptr [eax], ecx */
   5914 L_2E0076A0:
   5915     edx = MEM32(esi + 0x4); /* 0x2E0076A0: mov edx, dword ptr [esi + 4] */
   5916     eax = MEM32(ebp + (-0x4)); /* 0x2E0076A3: mov eax, dword ptr [ebp - 4] */
   5917     SET_LO8(ebx, 1); /* 0x2E0076A6: mov bl, 1 */
   5918     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0076A8: cmp eax, dword ptr [edx + 4] */
   5919     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   5920     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5921     _flag_k = FK_CMP;
   5922     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076AB: je 0x2e007831 */
   5923 L_2E0076B1:
   5924     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   5925     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   5926     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   5927     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5928     _cf = 0;
   5929     _flag_k = FK_NARROW(FK_TEST, 24);
   5930     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   5931 L_2E0076BF:
   5932     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   5933     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   5934     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   5935     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   5936     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5937     _flag_k = FK_CMP;
   5938     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   5939 L_2E0076CC:
   5940     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   5941     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   5942     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   5943     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5944     _flag_k = FK_NARROW(FK_CMP, 24);
   5945     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   5946 L_2E0076D5:
   5947     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   5948     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   5949     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   5950     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   5951     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   5952     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   5953     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   5954     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   5955 L_2E0076F0:
   5956     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   5957     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   5958     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5959     _flag_k = FK_CMP;
   5960     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   5961 L_2E0076F5:
   5962     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   5963     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   5964     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   5965     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   5966     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   5967     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   5968     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5969     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5970     _flag_k = FK_CMP;
   5971     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   5972 L_2E007706:
   5973     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   5974 L_2E007709:
   5975     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   5976     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   5977     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   5978     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   5979     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   5980     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5981     _flag_k = FK_CMP;
   5982     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   5983 L_2E007717:
   5984     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   5985     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   5986 L_2E00771C:
   5987     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   5988     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   5989     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   5990     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5991     _flag_k = FK_CMP;
   5992     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   5993 L_2E007723:
   5994     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   5995     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   5996 L_2E007727:
   5997     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   5998 L_2E00772A:
   5999     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   6000     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   6001 L_2E00772F:
   6002     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   6003     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   6004     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   6005     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   6006     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   6007     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   6008     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   6009     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   6010     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   6011     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   6012     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   6013     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   6014     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6015     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6016     _flag_k = FK_CMP;
   6017     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   6018 L_2E007754:
   6019     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   6020 L_2E007757:
   6021     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   6022     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   6023     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   6024     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   6025     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   6026     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6027     _flag_k = FK_CMP;
   6028     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   6029 L_2E007765:
   6030     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   6031     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   6032     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   6033 L_2E007770:
   6034     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   6035     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   6036     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6037     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6038     _flag_k = FK_CMP;
   6039     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   6040 L_2E007778:
   6041     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   6042     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   6043     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   6044 L_2E007783:
   6045     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   6046     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   6047     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   6048 L_2E00778D:
   6049     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   6050     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   6051     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6052     _flag_k = FK_NARROW(FK_CMP, 24);
   6053     RECOMP_BACKEDGE();
   6054     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   6055 L_2E007797:
   6056     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   6057     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   6058     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6059     _flag_k = FK_CMP;
   6060     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   6061 L_2E00779B:
   6062     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   6063     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   6064     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   6065     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   6066     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   6067     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   6068     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6070     _flag_k = FK_CMP;
   6071     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   6072 L_2E0077AC:
   6073     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   6074 L_2E0077AF:
   6075     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   6076     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   6077     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   6078     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   6079     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   6080     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6081     _flag_k = FK_CMP;
   6082     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   6083 L_2E0077BD:
   6084     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   6085     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   6086 L_2E0077C2:
   6087     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   6088     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   6089     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   6090     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6091     _flag_k = FK_CMP;
   6092     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   6093 L_2E0077CA:
   6094     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   6095     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   6096 L_2E0077CF:
   6097     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   6098 L_2E0077D1:
   6099     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   6100     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   6101 L_2E0077D7:
   6102     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   6103     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   6104     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   6105     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   6106     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   6107     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   6108     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   6109     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   6110     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   6111     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   6112     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   6113     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   6114     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6115     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6116     _flag_k = FK_CMP;
   6117     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   6118 L_2E0077FC:
   6119     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   6120 L_2E0077FF:
   6121     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   6122     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   6123     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   6124     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   6125     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   6126     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6127     _flag_k = FK_CMP;
   6128     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   6129 L_2E00780D:
   6130     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   6131     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   6132 L_2E007812:
   6133     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   6134     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   6135     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   6136     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6137     _flag_k = FK_CMP;
   6138     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   6139 L_2E007819:
   6140     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   6141     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   6142 L_2E00781D:
   6143     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   6144 L_2E007820:
   6145     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   6146 L_2E007822:
   6147     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   6148 L_2E007825:
   6149     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   6150     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   6151     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6152     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6153     _flag_k = FK_CMP;
   6154     RECOMP_BACKEDGE();
   6155     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   6156 L_2E007831:
   6157     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   6158     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   6159     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   6160     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   6161     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   6162     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   6163     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   6164     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   6165     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   6166     esp = ebp; /* 0x2E007845: mov esp, ebp */
   6167     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   6168     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   6169     RECOMP_REGS_OUT();
   6170 }
   6171 
   6172 void sub_2E0076B1(void) {
   6173     int _fpu_cmp = 0;
   6174     uint32_t _cf = 0;
   6175     int _df = 1;
   6176     uint32_t _flag_k = FK_NONE;
   6177     uint32_t _flag_a = 0, _flag_b = 0;
   6178     uint32_t _itail_tgt = 0;
   6179     RECOMP_REGS_LOCALS
   6180     RECOMP_ENTER(0x2E0076B1u);
   6181 
   6182 L_2E0076B1:
   6183     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   6184     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   6185     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   6186     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6187     _cf = 0;
   6188     _flag_k = FK_NARROW(FK_TEST, 24);
   6189     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   6190 L_2E0076BF:
   6191     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   6192     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   6193     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   6194     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   6195     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6196     _flag_k = FK_CMP;
   6197     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   6198 L_2E0076CC:
   6199     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   6200     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   6201     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   6202     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6203     _flag_k = FK_NARROW(FK_CMP, 24);
   6204     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   6205 L_2E0076D5:
   6206     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   6207     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   6208     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   6209     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   6210     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   6211     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   6212     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   6213     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   6214 L_2E0076F0:
   6215     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   6216     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   6217     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6218     _flag_k = FK_CMP;
   6219     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   6220 L_2E0076F5:
   6221     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   6222     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   6223     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   6224     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   6225     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   6226     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   6227     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6228     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6229     _flag_k = FK_CMP;
   6230     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   6231 L_2E007706:
   6232     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   6233 L_2E007709:
   6234     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   6235     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   6236     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   6237     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   6238     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   6239     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6240     _flag_k = FK_CMP;
   6241     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   6242 L_2E007717:
   6243     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   6244     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   6245 L_2E00771C:
   6246     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   6247     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   6248     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   6249     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6250     _flag_k = FK_CMP;
   6251     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   6252 L_2E007723:
   6253     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   6254     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   6255 L_2E007727:
   6256     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   6257 L_2E00772A:
   6258     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   6259     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   6260 L_2E00772F:
   6261     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   6262     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   6263     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   6264     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   6265     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   6266     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   6267     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   6268     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   6269     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   6270     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   6271     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   6272     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   6273     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6274     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6275     _flag_k = FK_CMP;
   6276     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   6277 L_2E007754:
   6278     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   6279 L_2E007757:
   6280     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   6281     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   6282     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   6283     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   6284     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   6285     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6286     _flag_k = FK_CMP;
   6287     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   6288 L_2E007765:
   6289     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   6290     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   6291     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   6292 L_2E007770:
   6293     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   6294     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   6295     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6297     _flag_k = FK_CMP;
   6298     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   6299 L_2E007778:
   6300     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   6301     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   6302     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   6303 L_2E007783:
   6304     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   6305     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   6306     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   6307 L_2E00778D:
   6308     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   6309     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   6310     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6311     _flag_k = FK_NARROW(FK_CMP, 24);
   6312     RECOMP_BACKEDGE();
   6313     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   6314 L_2E007797:
   6315     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   6316     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   6317     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6318     _flag_k = FK_CMP;
   6319     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   6320 L_2E00779B:
   6321     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   6322     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   6323     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   6324     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   6325     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   6326     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   6327     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6328     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6329     _flag_k = FK_CMP;
   6330     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   6331 L_2E0077AC:
   6332     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   6333 L_2E0077AF:
   6334     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   6335     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   6336     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   6337     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   6338     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   6339     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6340     _flag_k = FK_CMP;
   6341     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   6342 L_2E0077BD:
   6343     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   6344     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   6345 L_2E0077C2:
   6346     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   6347     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   6348     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   6349     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6350     _flag_k = FK_CMP;
   6351     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   6352 L_2E0077CA:
   6353     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   6354     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   6355 L_2E0077CF:
   6356     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   6357 L_2E0077D1:
   6358     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   6359     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   6360 L_2E0077D7:
   6361     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   6362     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   6363     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   6364     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   6365     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   6366     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   6367     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   6368     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   6369     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   6370     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   6371     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   6372     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   6373     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6375     _flag_k = FK_CMP;
   6376     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   6377 L_2E0077FC:
   6378     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   6379 L_2E0077FF:
   6380     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   6381     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   6382     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   6383     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   6384     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   6385     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6386     _flag_k = FK_CMP;
   6387     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   6388 L_2E00780D:
   6389     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   6390     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   6391 L_2E007812:
   6392     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   6393     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   6394     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   6395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6396     _flag_k = FK_CMP;
   6397     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   6398 L_2E007819:
   6399     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   6400     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   6401 L_2E00781D:
   6402     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   6403 L_2E007820:
   6404     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   6405 L_2E007822:
   6406     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   6407 L_2E007825:
   6408     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   6409     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   6410     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6411     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6412     _flag_k = FK_CMP;
   6413     RECOMP_BACKEDGE();
   6414     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   6415 L_2E007831:
   6416     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   6417     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   6418     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   6419     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   6420     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   6421     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   6422     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   6423     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   6424     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   6425     esp = ebp; /* 0x2E007845: mov esp, ebp */
   6426     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   6427     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   6428     RECOMP_REGS_OUT();
   6429 }
   6430 
   6431 void sub_2E0076D5(void) {
   6432     int _fpu_cmp = 0;
   6433     uint32_t _cf = 0;
   6434     int _df = 1;
   6435     uint32_t _flag_k = FK_NONE;
   6436     uint32_t _flag_a = 0, _flag_b = 0;
   6437     uint32_t _itail_tgt = 0;
   6438     RECOMP_REGS_LOCALS
   6439     RECOMP_ENTER(0x2E0076D5u);
   6440 
   6441     goto L_2E0076D5;
   6442 L_2E0076B1:
   6443     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   6444     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   6445     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   6446     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6447     _cf = 0;
   6448     _flag_k = FK_NARROW(FK_TEST, 24);
   6449     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   6450 L_2E0076BF:
   6451     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   6452     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   6453     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   6454     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   6455     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6456     _flag_k = FK_CMP;
   6457     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   6458 L_2E0076CC:
   6459     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   6460     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   6461     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   6462     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6463     _flag_k = FK_NARROW(FK_CMP, 24);
   6464     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   6465 L_2E0076D5:
   6466     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   6467     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   6468     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   6469     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   6470     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   6471     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   6472     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   6473     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   6474 L_2E0076F0:
   6475     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   6476     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   6477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6478     _flag_k = FK_CMP;
   6479     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   6480 L_2E0076F5:
   6481     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   6482     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   6483     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   6484     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   6485     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   6486     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   6487     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6488     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6489     _flag_k = FK_CMP;
   6490     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   6491 L_2E007706:
   6492     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   6493 L_2E007709:
   6494     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   6495     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   6496     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   6497     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   6498     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   6499     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6500     _flag_k = FK_CMP;
   6501     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   6502 L_2E007717:
   6503     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   6504     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   6505 L_2E00771C:
   6506     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   6507     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   6508     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   6509     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6510     _flag_k = FK_CMP;
   6511     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   6512 L_2E007723:
   6513     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   6514     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   6515 L_2E007727:
   6516     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   6517 L_2E00772A:
   6518     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   6519     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   6520 L_2E00772F:
   6521     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   6522     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   6523     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   6524     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   6525     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   6526     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   6527     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   6528     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   6529     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   6530     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   6531     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   6532     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   6533     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6534     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6535     _flag_k = FK_CMP;
   6536     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   6537 L_2E007754:
   6538     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   6539 L_2E007757:
   6540     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   6541     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   6542     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   6543     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   6544     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   6545     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6546     _flag_k = FK_CMP;
   6547     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   6548 L_2E007765:
   6549     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   6550     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   6551     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   6552 L_2E007770:
   6553     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   6554     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   6555     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6556     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6557     _flag_k = FK_CMP;
   6558     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   6559 L_2E007778:
   6560     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   6561     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   6562     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   6563 L_2E007783:
   6564     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   6565     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   6566     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   6567 L_2E00778D:
   6568     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   6569     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   6570     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6571     _flag_k = FK_NARROW(FK_CMP, 24);
   6572     RECOMP_BACKEDGE();
   6573     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   6574 L_2E007797:
   6575     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   6576     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   6577     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6578     _flag_k = FK_CMP;
   6579     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   6580 L_2E00779B:
   6581     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   6582     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   6583     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   6584     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   6585     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   6586     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   6587     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6588     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6589     _flag_k = FK_CMP;
   6590     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   6591 L_2E0077AC:
   6592     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   6593 L_2E0077AF:
   6594     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   6595     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   6596     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   6597     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   6598     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   6599     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6600     _flag_k = FK_CMP;
   6601     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   6602 L_2E0077BD:
   6603     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   6604     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   6605 L_2E0077C2:
   6606     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   6607     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   6608     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   6609     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6610     _flag_k = FK_CMP;
   6611     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   6612 L_2E0077CA:
   6613     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   6614     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   6615 L_2E0077CF:
   6616     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   6617 L_2E0077D1:
   6618     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   6619     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   6620 L_2E0077D7:
   6621     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   6622     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   6623     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   6624     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   6625     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   6626     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   6627     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   6628     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   6629     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   6630     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   6631     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   6632     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   6633     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6634     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6635     _flag_k = FK_CMP;
   6636     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   6637 L_2E0077FC:
   6638     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   6639 L_2E0077FF:
   6640     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   6641     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   6642     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   6643     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   6644     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   6645     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6646     _flag_k = FK_CMP;
   6647     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   6648 L_2E00780D:
   6649     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   6650     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   6651 L_2E007812:
   6652     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   6653     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   6654     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   6655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6656     _flag_k = FK_CMP;
   6657     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   6658 L_2E007819:
   6659     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   6660     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   6661 L_2E00781D:
   6662     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   6663 L_2E007820:
   6664     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   6665 L_2E007822:
   6666     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   6667 L_2E007825:
   6668     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   6669     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   6670     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6671     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6672     _flag_k = FK_CMP;
   6673     RECOMP_BACKEDGE();
   6674     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   6675 L_2E007831:
   6676     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   6677     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   6678     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   6679     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   6680     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   6681     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   6682     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   6683     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   6684     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   6685     esp = ebp; /* 0x2E007845: mov esp, ebp */
   6686     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   6687     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   6688     RECOMP_REGS_OUT();
   6689 }
   6690 
   6691 void sub_2E00772A(void) {
   6692     int _fpu_cmp = 0;
   6693     uint32_t _cf = 0;
   6694     int _df = 1;
   6695     uint32_t _flag_k = FK_NONE;
   6696     uint32_t _flag_a = 0, _flag_b = 0;
   6697     uint32_t _itail_tgt = 0;
   6698     RECOMP_REGS_LOCALS
   6699     RECOMP_ENTER(0x2E00772Au);
   6700 
   6701     goto L_2E00772A;
   6702 L_2E0076B1:
   6703     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   6704     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   6705     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   6706     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6707     _cf = 0;
   6708     _flag_k = FK_NARROW(FK_TEST, 24);
   6709     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   6710 L_2E0076BF:
   6711     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   6712     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   6713     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   6714     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   6715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6716     _flag_k = FK_CMP;
   6717     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   6718 L_2E0076CC:
   6719     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   6720     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   6721     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   6722     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6723     _flag_k = FK_NARROW(FK_CMP, 24);
   6724     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   6725 L_2E0076D5:
   6726     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   6727     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   6728     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   6729     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   6730     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   6731     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   6732     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   6733     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   6734 L_2E0076F0:
   6735     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   6736     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   6737     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6738     _flag_k = FK_CMP;
   6739     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   6740 L_2E0076F5:
   6741     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   6742     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   6743     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   6744     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   6745     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   6746     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   6747     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6748     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6749     _flag_k = FK_CMP;
   6750     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   6751 L_2E007706:
   6752     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   6753 L_2E007709:
   6754     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   6755     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   6756     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   6757     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   6758     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   6759     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6760     _flag_k = FK_CMP;
   6761     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   6762 L_2E007717:
   6763     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   6764     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   6765 L_2E00771C:
   6766     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   6767     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   6768     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   6769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6770     _flag_k = FK_CMP;
   6771     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   6772 L_2E007723:
   6773     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   6774     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   6775 L_2E007727:
   6776     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   6777 L_2E00772A:
   6778     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   6779     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   6780 L_2E00772F:
   6781     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   6782     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   6783     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   6784     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   6785     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   6786     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   6787     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   6788     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   6789     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   6790     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   6791     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   6792     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   6793     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6795     _flag_k = FK_CMP;
   6796     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   6797 L_2E007754:
   6798     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   6799 L_2E007757:
   6800     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   6801     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   6802     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   6803     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   6804     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   6805     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6806     _flag_k = FK_CMP;
   6807     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   6808 L_2E007765:
   6809     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   6810     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   6811     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   6812 L_2E007770:
   6813     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   6814     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   6815     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6816     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6817     _flag_k = FK_CMP;
   6818     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   6819 L_2E007778:
   6820     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   6821     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   6822     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   6823 L_2E007783:
   6824     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   6825     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   6826     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   6827 L_2E00778D:
   6828     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   6829     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   6830     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6831     _flag_k = FK_NARROW(FK_CMP, 24);
   6832     RECOMP_BACKEDGE();
   6833     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   6834 L_2E007797:
   6835     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   6836     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   6837     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6838     _flag_k = FK_CMP;
   6839     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   6840 L_2E00779B:
   6841     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   6842     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   6843     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   6844     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   6845     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   6846     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   6847     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6848     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6849     _flag_k = FK_CMP;
   6850     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   6851 L_2E0077AC:
   6852     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   6853 L_2E0077AF:
   6854     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   6855     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   6856     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   6857     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   6858     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   6859     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6860     _flag_k = FK_CMP;
   6861     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   6862 L_2E0077BD:
   6863     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   6864     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   6865 L_2E0077C2:
   6866     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   6867     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   6868     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   6869     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6870     _flag_k = FK_CMP;
   6871     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   6872 L_2E0077CA:
   6873     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   6874     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   6875 L_2E0077CF:
   6876     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   6877 L_2E0077D1:
   6878     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   6879     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   6880 L_2E0077D7:
   6881     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   6882     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   6883     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   6884     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   6885     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   6886     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   6887     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   6888     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   6889     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   6890     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   6891     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   6892     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   6893     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6894     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6895     _flag_k = FK_CMP;
   6896     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   6897 L_2E0077FC:
   6898     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   6899 L_2E0077FF:
   6900     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   6901     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   6902     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   6903     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   6904     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   6905     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6906     _flag_k = FK_CMP;
   6907     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   6908 L_2E00780D:
   6909     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   6910     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   6911 L_2E007812:
   6912     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   6913     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   6914     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   6915     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6916     _flag_k = FK_CMP;
   6917     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   6918 L_2E007819:
   6919     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   6920     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   6921 L_2E00781D:
   6922     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   6923 L_2E007820:
   6924     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   6925 L_2E007822:
   6926     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   6927 L_2E007825:
   6928     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   6929     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   6930     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6932     _flag_k = FK_CMP;
   6933     RECOMP_BACKEDGE();
   6934     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   6935 L_2E007831:
   6936     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   6937     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   6938     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   6939     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   6940     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   6941     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   6942     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   6943     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   6944     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   6945     esp = ebp; /* 0x2E007845: mov esp, ebp */
   6946     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   6947     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   6948     RECOMP_REGS_OUT();
   6949 }
   6950 
   6951 void sub_2E00772F(void) {
   6952     int _fpu_cmp = 0;
   6953     uint32_t _cf = 0;
   6954     int _df = 1;
   6955     uint32_t _flag_k = FK_NONE;
   6956     uint32_t _flag_a = 0, _flag_b = 0;
   6957     uint32_t _itail_tgt = 0;
   6958     RECOMP_REGS_LOCALS
   6959     RECOMP_ENTER(0x2E00772Fu);
   6960 
   6961     goto L_2E00772F;
   6962 L_2E0076B1:
   6963     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   6964     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   6965     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   6966     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6967     _cf = 0;
   6968     _flag_k = FK_NARROW(FK_TEST, 24);
   6969     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   6970 L_2E0076BF:
   6971     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   6972     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   6973     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   6974     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   6975     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6976     _flag_k = FK_CMP;
   6977     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   6978 L_2E0076CC:
   6979     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   6980     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   6981     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   6982     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6983     _flag_k = FK_NARROW(FK_CMP, 24);
   6984     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   6985 L_2E0076D5:
   6986     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   6987     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   6988     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   6989     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   6990     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   6991     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   6992     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   6993     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   6994 L_2E0076F0:
   6995     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   6996     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   6997     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6998     _flag_k = FK_CMP;
   6999     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   7000 L_2E0076F5:
   7001     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   7002     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   7003     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   7004     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   7005     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   7006     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   7007     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7008     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7009     _flag_k = FK_CMP;
   7010     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   7011 L_2E007706:
   7012     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   7013 L_2E007709:
   7014     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   7015     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   7016     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   7017     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   7018     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   7019     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7020     _flag_k = FK_CMP;
   7021     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   7022 L_2E007717:
   7023     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   7024     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   7025 L_2E00771C:
   7026     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   7027     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   7028     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   7029     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7030     _flag_k = FK_CMP;
   7031     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   7032 L_2E007723:
   7033     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   7034     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   7035 L_2E007727:
   7036     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   7037 L_2E00772A:
   7038     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   7039     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   7040 L_2E00772F:
   7041     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   7042     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   7043     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   7044     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   7045     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   7046     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   7047     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   7048     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   7049     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   7050     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   7051     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   7052     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   7053     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7054     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7055     _flag_k = FK_CMP;
   7056     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   7057 L_2E007754:
   7058     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   7059 L_2E007757:
   7060     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   7061     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   7062     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   7063     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   7064     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   7065     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7066     _flag_k = FK_CMP;
   7067     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   7068 L_2E007765:
   7069     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   7070     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   7071     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   7072 L_2E007770:
   7073     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   7074     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   7075     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7076     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7077     _flag_k = FK_CMP;
   7078     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   7079 L_2E007778:
   7080     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   7081     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   7082     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   7083 L_2E007783:
   7084     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   7085     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   7086     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   7087 L_2E00778D:
   7088     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   7089     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   7090     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7091     _flag_k = FK_NARROW(FK_CMP, 24);
   7092     RECOMP_BACKEDGE();
   7093     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   7094 L_2E007797:
   7095     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   7096     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   7097     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7098     _flag_k = FK_CMP;
   7099     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   7100 L_2E00779B:
   7101     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   7102     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   7103     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   7104     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   7105     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   7106     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   7107     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7108     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7109     _flag_k = FK_CMP;
   7110     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   7111 L_2E0077AC:
   7112     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   7113 L_2E0077AF:
   7114     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   7115     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   7116     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   7117     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   7118     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   7119     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7120     _flag_k = FK_CMP;
   7121     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   7122 L_2E0077BD:
   7123     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   7124     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   7125 L_2E0077C2:
   7126     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   7127     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   7128     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   7129     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7130     _flag_k = FK_CMP;
   7131     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   7132 L_2E0077CA:
   7133     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   7134     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   7135 L_2E0077CF:
   7136     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   7137 L_2E0077D1:
   7138     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   7139     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   7140 L_2E0077D7:
   7141     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   7142     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   7143     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   7144     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   7145     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   7146     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   7147     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   7148     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   7149     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   7150     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   7151     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   7152     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   7153     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7154     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7155     _flag_k = FK_CMP;
   7156     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   7157 L_2E0077FC:
   7158     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   7159 L_2E0077FF:
   7160     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   7161     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   7162     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   7163     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   7164     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   7165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7166     _flag_k = FK_CMP;
   7167     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   7168 L_2E00780D:
   7169     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   7170     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   7171 L_2E007812:
   7172     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   7173     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   7174     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   7175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7176     _flag_k = FK_CMP;
   7177     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   7178 L_2E007819:
   7179     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   7180     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   7181 L_2E00781D:
   7182     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   7183 L_2E007820:
   7184     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   7185 L_2E007822:
   7186     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   7187 L_2E007825:
   7188     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   7189     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   7190     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7191     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7192     _flag_k = FK_CMP;
   7193     RECOMP_BACKEDGE();
   7194     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   7195 L_2E007831:
   7196     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   7197     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   7198     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   7199     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   7200     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   7201     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   7202     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   7203     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   7204     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   7205     esp = ebp; /* 0x2E007845: mov esp, ebp */
   7206     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   7207     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   7208     RECOMP_REGS_OUT();
   7209 }
   7210 
   7211 void sub_2E00778D(void) {
   7212     int _fpu_cmp = 0;
   7213     uint32_t _cf = 0;
   7214     int _df = 1;
   7215     uint32_t _flag_k = FK_NONE;
   7216     uint32_t _flag_a = 0, _flag_b = 0;
   7217     uint32_t _itail_tgt = 0;
   7218     RECOMP_REGS_LOCALS
   7219     RECOMP_ENTER(0x2E00778Du);
   7220 
   7221     goto L_2E00778D;
   7222 L_2E0076B1:
   7223     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   7224     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   7225     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   7226     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7227     _cf = 0;
   7228     _flag_k = FK_NARROW(FK_TEST, 24);
   7229     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   7230 L_2E0076BF:
   7231     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   7232     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   7233     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   7234     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   7235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7236     _flag_k = FK_CMP;
   7237     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   7238 L_2E0076CC:
   7239     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   7240     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   7241     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   7242     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7243     _flag_k = FK_NARROW(FK_CMP, 24);
   7244     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   7245 L_2E0076D5:
   7246     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   7247     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   7248     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   7249     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   7250     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   7251     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   7252     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   7253     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   7254 L_2E0076F0:
   7255     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   7256     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   7257     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7258     _flag_k = FK_CMP;
   7259     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   7260 L_2E0076F5:
   7261     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   7262     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   7263     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   7264     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   7265     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   7266     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   7267     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7268     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7269     _flag_k = FK_CMP;
   7270     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   7271 L_2E007706:
   7272     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   7273 L_2E007709:
   7274     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   7275     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   7276     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   7277     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   7278     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   7279     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7280     _flag_k = FK_CMP;
   7281     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   7282 L_2E007717:
   7283     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   7284     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   7285 L_2E00771C:
   7286     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   7287     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   7288     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   7289     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7290     _flag_k = FK_CMP;
   7291     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   7292 L_2E007723:
   7293     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   7294     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   7295 L_2E007727:
   7296     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   7297 L_2E00772A:
   7298     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   7299     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   7300 L_2E00772F:
   7301     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   7302     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   7303     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   7304     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   7305     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   7306     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   7307     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   7308     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   7309     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   7310     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   7311     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   7312     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   7313     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7314     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7315     _flag_k = FK_CMP;
   7316     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   7317 L_2E007754:
   7318     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   7319 L_2E007757:
   7320     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   7321     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   7322     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   7323     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   7324     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   7325     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7326     _flag_k = FK_CMP;
   7327     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   7328 L_2E007765:
   7329     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   7330     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   7331     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   7332 L_2E007770:
   7333     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   7334     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   7335     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7336     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7337     _flag_k = FK_CMP;
   7338     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   7339 L_2E007778:
   7340     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   7341     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   7342     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   7343 L_2E007783:
   7344     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   7345     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   7346     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   7347 L_2E00778D:
   7348     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   7349     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   7350     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7351     _flag_k = FK_NARROW(FK_CMP, 24);
   7352     RECOMP_BACKEDGE();
   7353     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   7354 L_2E007797:
   7355     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   7356     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   7357     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7358     _flag_k = FK_CMP;
   7359     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   7360 L_2E00779B:
   7361     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   7362     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   7363     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   7364     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   7365     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   7366     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   7367     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7368     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7369     _flag_k = FK_CMP;
   7370     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   7371 L_2E0077AC:
   7372     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   7373 L_2E0077AF:
   7374     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   7375     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   7376     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   7377     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   7378     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   7379     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7380     _flag_k = FK_CMP;
   7381     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   7382 L_2E0077BD:
   7383     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   7384     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   7385 L_2E0077C2:
   7386     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   7387     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   7388     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   7389     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7390     _flag_k = FK_CMP;
   7391     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   7392 L_2E0077CA:
   7393     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   7394     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   7395 L_2E0077CF:
   7396     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   7397 L_2E0077D1:
   7398     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   7399     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   7400 L_2E0077D7:
   7401     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   7402     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   7403     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   7404     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   7405     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   7406     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   7407     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   7408     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   7409     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   7410     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   7411     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   7412     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   7413     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7414     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7415     _flag_k = FK_CMP;
   7416     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   7417 L_2E0077FC:
   7418     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   7419 L_2E0077FF:
   7420     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   7421     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   7422     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   7423     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   7424     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   7425     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7426     _flag_k = FK_CMP;
   7427     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   7428 L_2E00780D:
   7429     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   7430     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   7431 L_2E007812:
   7432     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   7433     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   7434     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   7435     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7436     _flag_k = FK_CMP;
   7437     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   7438 L_2E007819:
   7439     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   7440     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   7441 L_2E00781D:
   7442     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   7443 L_2E007820:
   7444     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   7445 L_2E007822:
   7446     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   7447 L_2E007825:
   7448     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   7449     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   7450     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7451     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7452     _flag_k = FK_CMP;
   7453     RECOMP_BACKEDGE();
   7454     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   7455 L_2E007831:
   7456     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   7457     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   7458     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   7459     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   7460     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   7461     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   7462     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   7463     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   7464     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   7465     esp = ebp; /* 0x2E007845: mov esp, ebp */
   7466     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   7467     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   7468     RECOMP_REGS_OUT();
   7469 }
   7470 
   7471 void sub_2E0077D1(void) {
   7472     int _fpu_cmp = 0;
   7473     uint32_t _cf = 0;
   7474     int _df = 1;
   7475     uint32_t _flag_k = FK_NONE;
   7476     uint32_t _flag_a = 0, _flag_b = 0;
   7477     uint32_t _itail_tgt = 0;
   7478     RECOMP_REGS_LOCALS
   7479     RECOMP_ENTER(0x2E0077D1u);
   7480 
   7481     goto L_2E0077D1;
   7482 L_2E0076B1:
   7483     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   7484     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   7485     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   7486     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7487     _cf = 0;
   7488     _flag_k = FK_NARROW(FK_TEST, 24);
   7489     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   7490 L_2E0076BF:
   7491     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   7492     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   7493     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   7494     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   7495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7496     _flag_k = FK_CMP;
   7497     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   7498 L_2E0076CC:
   7499     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   7500     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   7501     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   7502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7503     _flag_k = FK_NARROW(FK_CMP, 24);
   7504     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   7505 L_2E0076D5:
   7506     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   7507     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   7508     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   7509     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   7510     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   7511     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   7512     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   7513     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   7514 L_2E0076F0:
   7515     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   7516     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   7517     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7518     _flag_k = FK_CMP;
   7519     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   7520 L_2E0076F5:
   7521     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   7522     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   7523     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   7524     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   7525     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   7526     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   7527     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7528     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7529     _flag_k = FK_CMP;
   7530     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   7531 L_2E007706:
   7532     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   7533 L_2E007709:
   7534     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   7535     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   7536     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   7537     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   7538     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   7539     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7540     _flag_k = FK_CMP;
   7541     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   7542 L_2E007717:
   7543     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   7544     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   7545 L_2E00771C:
   7546     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   7547     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   7548     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   7549     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7550     _flag_k = FK_CMP;
   7551     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   7552 L_2E007723:
   7553     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   7554     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   7555 L_2E007727:
   7556     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   7557 L_2E00772A:
   7558     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   7559     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   7560 L_2E00772F:
   7561     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   7562     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   7563     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   7564     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   7565     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   7566     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   7567     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   7568     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   7569     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   7570     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   7571     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   7572     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   7573     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7574     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7575     _flag_k = FK_CMP;
   7576     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   7577 L_2E007754:
   7578     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   7579 L_2E007757:
   7580     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   7581     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   7582     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   7583     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   7584     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   7585     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7586     _flag_k = FK_CMP;
   7587     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   7588 L_2E007765:
   7589     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   7590     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   7591     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   7592 L_2E007770:
   7593     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   7594     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   7595     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7596     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7597     _flag_k = FK_CMP;
   7598     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   7599 L_2E007778:
   7600     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   7601     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   7602     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   7603 L_2E007783:
   7604     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   7605     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   7606     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   7607 L_2E00778D:
   7608     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   7609     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   7610     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7611     _flag_k = FK_NARROW(FK_CMP, 24);
   7612     RECOMP_BACKEDGE();
   7613     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   7614 L_2E007797:
   7615     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   7616     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   7617     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7618     _flag_k = FK_CMP;
   7619     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   7620 L_2E00779B:
   7621     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   7622     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   7623     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   7624     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   7625     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   7626     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   7627     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7628     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7629     _flag_k = FK_CMP;
   7630     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   7631 L_2E0077AC:
   7632     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   7633 L_2E0077AF:
   7634     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   7635     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   7636     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   7637     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   7638     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   7639     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7640     _flag_k = FK_CMP;
   7641     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   7642 L_2E0077BD:
   7643     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   7644     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   7645 L_2E0077C2:
   7646     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   7647     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   7648     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   7649     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7650     _flag_k = FK_CMP;
   7651     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   7652 L_2E0077CA:
   7653     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   7654     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   7655 L_2E0077CF:
   7656     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   7657 L_2E0077D1:
   7658     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   7659     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   7660 L_2E0077D7:
   7661     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   7662     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   7663     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   7664     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   7665     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   7666     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   7667     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   7668     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   7669     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   7670     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   7671     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   7672     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   7673     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7674     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7675     _flag_k = FK_CMP;
   7676     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   7677 L_2E0077FC:
   7678     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   7679 L_2E0077FF:
   7680     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   7681     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   7682     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   7683     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   7684     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   7685     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7686     _flag_k = FK_CMP;
   7687     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   7688 L_2E00780D:
   7689     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   7690     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   7691 L_2E007812:
   7692     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   7693     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   7694     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   7695     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7696     _flag_k = FK_CMP;
   7697     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   7698 L_2E007819:
   7699     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   7700     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   7701 L_2E00781D:
   7702     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   7703 L_2E007820:
   7704     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   7705 L_2E007822:
   7706     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   7707 L_2E007825:
   7708     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   7709     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   7710     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7711     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7712     _flag_k = FK_CMP;
   7713     RECOMP_BACKEDGE();
   7714     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   7715 L_2E007831:
   7716     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   7717     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   7718     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   7719     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   7720     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   7721     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   7722     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   7723     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   7724     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   7725     esp = ebp; /* 0x2E007845: mov esp, ebp */
   7726     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   7727     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   7728     RECOMP_REGS_OUT();
   7729 }
   7730 
   7731 void sub_2E0077D7(void) {
   7732     int _fpu_cmp = 0;
   7733     uint32_t _cf = 0;
   7734     int _df = 1;
   7735     uint32_t _flag_k = FK_NONE;
   7736     uint32_t _flag_a = 0, _flag_b = 0;
   7737     uint32_t _itail_tgt = 0;
   7738     RECOMP_REGS_LOCALS
   7739     RECOMP_ENTER(0x2E0077D7u);
   7740 
   7741     goto L_2E0077D7;
   7742 L_2E0076B1:
   7743     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   7744     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   7745     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   7746     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7747     _cf = 0;
   7748     _flag_k = FK_NARROW(FK_TEST, 24);
   7749     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   7750 L_2E0076BF:
   7751     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   7752     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   7753     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   7754     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   7755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7756     _flag_k = FK_CMP;
   7757     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   7758 L_2E0076CC:
   7759     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   7760     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   7761     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   7762     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7763     _flag_k = FK_NARROW(FK_CMP, 24);
   7764     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   7765 L_2E0076D5:
   7766     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   7767     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   7768     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   7769     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   7770     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   7771     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   7772     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   7773     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   7774 L_2E0076F0:
   7775     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   7776     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   7777     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7778     _flag_k = FK_CMP;
   7779     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   7780 L_2E0076F5:
   7781     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   7782     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   7783     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   7784     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   7785     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   7786     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   7787     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7788     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7789     _flag_k = FK_CMP;
   7790     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   7791 L_2E007706:
   7792     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   7793 L_2E007709:
   7794     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   7795     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   7796     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   7797     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   7798     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   7799     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7800     _flag_k = FK_CMP;
   7801     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   7802 L_2E007717:
   7803     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   7804     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   7805 L_2E00771C:
   7806     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   7807     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   7808     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   7809     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7810     _flag_k = FK_CMP;
   7811     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   7812 L_2E007723:
   7813     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   7814     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   7815 L_2E007727:
   7816     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   7817 L_2E00772A:
   7818     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   7819     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   7820 L_2E00772F:
   7821     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   7822     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   7823     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   7824     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   7825     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   7826     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   7827     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   7828     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   7829     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   7830     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   7831     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   7832     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   7833     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7834     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7835     _flag_k = FK_CMP;
   7836     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   7837 L_2E007754:
   7838     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   7839 L_2E007757:
   7840     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   7841     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   7842     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   7843     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   7844     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   7845     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7846     _flag_k = FK_CMP;
   7847     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   7848 L_2E007765:
   7849     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   7850     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   7851     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   7852 L_2E007770:
   7853     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   7854     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   7855     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7856     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7857     _flag_k = FK_CMP;
   7858     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   7859 L_2E007778:
   7860     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   7861     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   7862     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   7863 L_2E007783:
   7864     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   7865     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   7866     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   7867 L_2E00778D:
   7868     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   7869     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   7870     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7871     _flag_k = FK_NARROW(FK_CMP, 24);
   7872     RECOMP_BACKEDGE();
   7873     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   7874 L_2E007797:
   7875     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   7876     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   7877     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7878     _flag_k = FK_CMP;
   7879     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   7880 L_2E00779B:
   7881     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   7882     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   7883     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   7884     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   7885     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   7886     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   7887     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7888     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7889     _flag_k = FK_CMP;
   7890     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   7891 L_2E0077AC:
   7892     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   7893 L_2E0077AF:
   7894     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   7895     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   7896     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   7897     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   7898     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   7899     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7900     _flag_k = FK_CMP;
   7901     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   7902 L_2E0077BD:
   7903     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   7904     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   7905 L_2E0077C2:
   7906     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   7907     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   7908     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   7909     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7910     _flag_k = FK_CMP;
   7911     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   7912 L_2E0077CA:
   7913     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   7914     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   7915 L_2E0077CF:
   7916     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   7917 L_2E0077D1:
   7918     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   7919     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   7920 L_2E0077D7:
   7921     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   7922     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   7923     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   7924     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   7925     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   7926     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   7927     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   7928     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   7929     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   7930     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   7931     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   7932     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   7933     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7934     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7935     _flag_k = FK_CMP;
   7936     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   7937 L_2E0077FC:
   7938     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   7939 L_2E0077FF:
   7940     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   7941     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   7942     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   7943     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   7944     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   7945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7946     _flag_k = FK_CMP;
   7947     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   7948 L_2E00780D:
   7949     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   7950     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   7951 L_2E007812:
   7952     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   7953     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   7954     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   7955     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7956     _flag_k = FK_CMP;
   7957     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   7958 L_2E007819:
   7959     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   7960     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   7961 L_2E00781D:
   7962     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   7963 L_2E007820:
   7964     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   7965 L_2E007822:
   7966     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   7967 L_2E007825:
   7968     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   7969     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   7970     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7971     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7972     _flag_k = FK_CMP;
   7973     RECOMP_BACKEDGE();
   7974     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   7975 L_2E007831:
   7976     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   7977     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   7978     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   7979     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   7980     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   7981     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   7982     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   7983     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   7984     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   7985     esp = ebp; /* 0x2E007845: mov esp, ebp */
   7986     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   7987     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   7988     RECOMP_REGS_OUT();
   7989 }
   7990 
   7991 void sub_2E007820(void) {
   7992     int _fpu_cmp = 0;
   7993     uint32_t _cf = 0;
   7994     int _df = 1;
   7995     uint32_t _flag_k = FK_NONE;
   7996     uint32_t _flag_a = 0, _flag_b = 0;
   7997     uint32_t _itail_tgt = 0;
   7998     RECOMP_REGS_LOCALS
   7999     RECOMP_ENTER(0x2E007820u);
   8000 
   8001     goto L_2E007820;
   8002 L_2E0076B1:
   8003     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   8004     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   8005     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   8006     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8007     _cf = 0;
   8008     _flag_k = FK_NARROW(FK_TEST, 24);
   8009     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   8010 L_2E0076BF:
   8011     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   8012     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   8013     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   8014     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   8015     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8016     _flag_k = FK_CMP;
   8017     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   8018 L_2E0076CC:
   8019     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   8020     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   8021     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   8022     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8023     _flag_k = FK_NARROW(FK_CMP, 24);
   8024     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   8025 L_2E0076D5:
   8026     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   8027     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   8028     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   8029     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   8030     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   8031     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   8032     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   8033     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   8034 L_2E0076F0:
   8035     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   8036     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   8037     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8038     _flag_k = FK_CMP;
   8039     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   8040 L_2E0076F5:
   8041     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   8042     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   8043     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   8044     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   8045     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   8046     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   8047     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8048     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8049     _flag_k = FK_CMP;
   8050     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   8051 L_2E007706:
   8052     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   8053 L_2E007709:
   8054     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   8055     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   8056     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   8057     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   8058     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   8059     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8060     _flag_k = FK_CMP;
   8061     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   8062 L_2E007717:
   8063     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   8064     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   8065 L_2E00771C:
   8066     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   8067     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   8068     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   8069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8070     _flag_k = FK_CMP;
   8071     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   8072 L_2E007723:
   8073     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   8074     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   8075 L_2E007727:
   8076     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   8077 L_2E00772A:
   8078     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   8079     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   8080 L_2E00772F:
   8081     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   8082     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   8083     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   8084     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   8085     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   8086     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   8087     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   8088     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   8089     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   8090     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   8091     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   8092     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   8093     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8094     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8095     _flag_k = FK_CMP;
   8096     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   8097 L_2E007754:
   8098     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   8099 L_2E007757:
   8100     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   8101     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   8102     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   8103     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   8104     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   8105     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8106     _flag_k = FK_CMP;
   8107     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   8108 L_2E007765:
   8109     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   8110     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   8111     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   8112 L_2E007770:
   8113     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   8114     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   8115     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8116     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8117     _flag_k = FK_CMP;
   8118     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   8119 L_2E007778:
   8120     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   8121     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   8122     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   8123 L_2E007783:
   8124     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   8125     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   8126     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   8127 L_2E00778D:
   8128     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   8129     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   8130     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8131     _flag_k = FK_NARROW(FK_CMP, 24);
   8132     RECOMP_BACKEDGE();
   8133     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   8134 L_2E007797:
   8135     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   8136     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   8137     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8138     _flag_k = FK_CMP;
   8139     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   8140 L_2E00779B:
   8141     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   8142     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   8143     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   8144     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   8145     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   8146     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   8147     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8148     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8149     _flag_k = FK_CMP;
   8150     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   8151 L_2E0077AC:
   8152     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   8153 L_2E0077AF:
   8154     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   8155     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   8156     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   8157     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   8158     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   8159     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8160     _flag_k = FK_CMP;
   8161     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   8162 L_2E0077BD:
   8163     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   8164     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   8165 L_2E0077C2:
   8166     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   8167     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   8168     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   8169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8170     _flag_k = FK_CMP;
   8171     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   8172 L_2E0077CA:
   8173     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   8174     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   8175 L_2E0077CF:
   8176     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   8177 L_2E0077D1:
   8178     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   8179     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   8180 L_2E0077D7:
   8181     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   8182     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   8183     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   8184     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   8185     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   8186     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   8187     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   8188     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   8189     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   8190     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   8191     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   8192     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   8193     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8194     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8195     _flag_k = FK_CMP;
   8196     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   8197 L_2E0077FC:
   8198     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   8199 L_2E0077FF:
   8200     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   8201     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   8202     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   8203     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   8204     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   8205     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8206     _flag_k = FK_CMP;
   8207     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   8208 L_2E00780D:
   8209     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   8210     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   8211 L_2E007812:
   8212     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   8213     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   8214     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   8215     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8216     _flag_k = FK_CMP;
   8217     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   8218 L_2E007819:
   8219     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   8220     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   8221 L_2E00781D:
   8222     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   8223 L_2E007820:
   8224     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   8225 L_2E007822:
   8226     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   8227 L_2E007825:
   8228     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   8229     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   8230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   8231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8232     _flag_k = FK_CMP;
   8233     RECOMP_BACKEDGE();
   8234     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   8235 L_2E007831:
   8236     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   8237     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   8238     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   8239     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   8240     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   8241     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   8242     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   8243     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   8244     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   8245     esp = ebp; /* 0x2E007845: mov esp, ebp */
   8246     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   8247     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   8248     RECOMP_REGS_OUT();
   8249 }
   8250 
   8251 void sub_2E007822(void) {
   8252     int _fpu_cmp = 0;
   8253     uint32_t _cf = 0;
   8254     int _df = 1;
   8255     uint32_t _flag_k = FK_NONE;
   8256     uint32_t _flag_a = 0, _flag_b = 0;
   8257     uint32_t _itail_tgt = 0;
   8258     RECOMP_REGS_LOCALS
   8259     RECOMP_ENTER(0x2E007822u);
   8260 
   8261     goto L_2E007822;
   8262 L_2E0076B1:
   8263     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   8264     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   8265     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   8266     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8267     _cf = 0;
   8268     _flag_k = FK_NARROW(FK_TEST, 24);
   8269     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   8270 L_2E0076BF:
   8271     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   8272     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   8273     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   8274     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   8275     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8276     _flag_k = FK_CMP;
   8277     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   8278 L_2E0076CC:
   8279     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   8280     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   8281     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   8282     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8283     _flag_k = FK_NARROW(FK_CMP, 24);
   8284     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   8285 L_2E0076D5:
   8286     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   8287     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   8288     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   8289     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   8290     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   8291     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   8292     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   8293     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   8294 L_2E0076F0:
   8295     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   8296     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   8297     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8298     _flag_k = FK_CMP;
   8299     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   8300 L_2E0076F5:
   8301     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   8302     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   8303     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   8304     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   8305     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   8306     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   8307     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8308     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8309     _flag_k = FK_CMP;
   8310     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   8311 L_2E007706:
   8312     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   8313 L_2E007709:
   8314     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   8315     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   8316     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   8317     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   8318     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   8319     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8320     _flag_k = FK_CMP;
   8321     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   8322 L_2E007717:
   8323     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   8324     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   8325 L_2E00771C:
   8326     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   8327     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   8328     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   8329     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8330     _flag_k = FK_CMP;
   8331     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   8332 L_2E007723:
   8333     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   8334     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   8335 L_2E007727:
   8336     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   8337 L_2E00772A:
   8338     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   8339     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   8340 L_2E00772F:
   8341     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   8342     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   8343     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   8344     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   8345     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   8346     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   8347     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   8348     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   8349     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   8350     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   8351     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   8352     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   8353     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8354     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8355     _flag_k = FK_CMP;
   8356     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   8357 L_2E007754:
   8358     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   8359 L_2E007757:
   8360     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   8361     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   8362     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   8363     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   8364     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   8365     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8366     _flag_k = FK_CMP;
   8367     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   8368 L_2E007765:
   8369     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   8370     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   8371     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   8372 L_2E007770:
   8373     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   8374     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   8375     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8376     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8377     _flag_k = FK_CMP;
   8378     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   8379 L_2E007778:
   8380     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   8381     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   8382     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   8383 L_2E007783:
   8384     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   8385     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   8386     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   8387 L_2E00778D:
   8388     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   8389     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   8390     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8391     _flag_k = FK_NARROW(FK_CMP, 24);
   8392     RECOMP_BACKEDGE();
   8393     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   8394 L_2E007797:
   8395     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   8396     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   8397     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8398     _flag_k = FK_CMP;
   8399     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   8400 L_2E00779B:
   8401     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   8402     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   8403     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   8404     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   8405     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   8406     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   8407     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8408     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8409     _flag_k = FK_CMP;
   8410     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   8411 L_2E0077AC:
   8412     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   8413 L_2E0077AF:
   8414     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   8415     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   8416     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   8417     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   8418     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   8419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8420     _flag_k = FK_CMP;
   8421     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   8422 L_2E0077BD:
   8423     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   8424     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   8425 L_2E0077C2:
   8426     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   8427     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   8428     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   8429     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8430     _flag_k = FK_CMP;
   8431     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   8432 L_2E0077CA:
   8433     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   8434     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   8435 L_2E0077CF:
   8436     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   8437 L_2E0077D1:
   8438     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   8439     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   8440 L_2E0077D7:
   8441     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   8442     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   8443     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   8444     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   8445     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   8446     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   8447     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   8448     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   8449     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   8450     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   8451     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   8452     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   8453     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8454     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8455     _flag_k = FK_CMP;
   8456     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   8457 L_2E0077FC:
   8458     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   8459 L_2E0077FF:
   8460     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   8461     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   8462     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   8463     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   8464     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   8465     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8466     _flag_k = FK_CMP;
   8467     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   8468 L_2E00780D:
   8469     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   8470     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   8471 L_2E007812:
   8472     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   8473     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   8474     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   8475     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8476     _flag_k = FK_CMP;
   8477     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   8478 L_2E007819:
   8479     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   8480     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   8481 L_2E00781D:
   8482     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   8483 L_2E007820:
   8484     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   8485 L_2E007822:
   8486     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   8487 L_2E007825:
   8488     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   8489     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   8490     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   8491     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8492     _flag_k = FK_CMP;
   8493     RECOMP_BACKEDGE();
   8494     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   8495 L_2E007831:
   8496     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   8497     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   8498     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   8499     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   8500     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   8501     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   8502     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   8503     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   8504     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   8505     esp = ebp; /* 0x2E007845: mov esp, ebp */
   8506     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   8507     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   8508     RECOMP_REGS_OUT();
   8509 }
   8510 
   8511 void sub_2E007825(void) {
   8512     int _fpu_cmp = 0;
   8513     uint32_t _cf = 0;
   8514     int _df = 1;
   8515     uint32_t _flag_k = FK_NONE;
   8516     uint32_t _flag_a = 0, _flag_b = 0;
   8517     uint32_t _itail_tgt = 0;
   8518     RECOMP_REGS_LOCALS
   8519     RECOMP_ENTER(0x2E007825u);
   8520 
   8521     goto L_2E007825;
   8522 L_2E0076B1:
   8523     ecx = MEM32(eax + 0x4); /* 0x2E0076B1: mov ecx, dword ptr [eax + 4] */
   8524     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2E0076B4: mov dl, byte ptr [ecx + 0x14] */
   8525     /* test LO8(edx), LO8(edx) */ /* 0x2E0076B7: test dl, dl */
   8526     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8527     _cf = 0;
   8528     _flag_k = FK_NARROW(FK_TEST, 24);
   8529     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007831; /* 0x2E0076B9: jne 0x2e007831 */
   8530 L_2E0076BF:
   8531     edi = MEM32(ecx + 0x4); /* 0x2E0076BF: mov edi, dword ptr [ecx + 4] */
   8532     edx = MEM32(edi); /* 0x2E0076C2: mov edx, dword ptr [edi] */
   8533     /* cmp ecx, edx */ /* 0x2E0076C4: cmp ecx, edx */
   8534     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   8535     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8536     _flag_k = FK_CMP;
   8537     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00778D; /* 0x2E0076C6: jne 0x2e00778d */
   8538 L_2E0076CC:
   8539     edx = MEM32(edi + 0x8); /* 0x2E0076CC: mov edx, dword ptr [edi + 8] */
   8540     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E0076CF: cmp byte ptr [edx + 0x14], 0 */
   8541     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   8542     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8543     _flag_k = FK_NARROW(FK_CMP, 24);
   8544     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076F0; /* 0x2E0076D3: jne 0x2e0076f0 */
   8545 L_2E0076D5:
   8546     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D5: mov byte ptr [ecx + 0x14], bl */
   8547     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0076D8: mov byte ptr [edx + 0x14], bl */
   8548     ecx = MEM32(eax + 0x4); /* 0x2E0076DB: mov ecx, dword ptr [eax + 4] */
   8549     edx = MEM32(ecx + 0x4); /* 0x2E0076DE: mov edx, dword ptr [ecx + 4] */
   8550     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2E0076E1: mov byte ptr [edx + 0x14], 0 */
   8551     eax = MEM32(eax + 0x4); /* 0x2E0076E5: mov eax, dword ptr [eax + 4] */
   8552     eax = MEM32(eax + 0x4); /* 0x2E0076E8: mov eax, dword ptr [eax + 4] */
   8553     goto L_2E007825; /* 0x2E0076EB: jmp 0x2e007825 */
   8554 L_2E0076F0:
   8555     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2E0076F0: cmp eax, dword ptr [ecx + 8] */
   8556     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   8557     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8558     _flag_k = FK_CMP;
   8559     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00772F; /* 0x2E0076F3: jne 0x2e00772f */
   8560 L_2E0076F5:
   8561     eax = ecx; /* 0x2E0076F5: mov eax, ecx */
   8562     ecx = MEM32(eax + 0x8); /* 0x2E0076F7: mov ecx, dword ptr [eax + 8] */
   8563     edx = MEM32(ecx); /* 0x2E0076FA: mov edx, dword ptr [ecx] */
   8564     MEM32(eax + 0x8) = edx; /* 0x2E0076FC: mov dword ptr [eax + 8], edx */
   8565     edx = MEM32(ecx); /* 0x2E0076FF: mov edx, dword ptr [ecx] */
   8566     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E007701: cmp edx, dword ptr [esi + 8] */
   8567     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8568     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8569     _flag_k = FK_CMP;
   8570     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007709; /* 0x2E007704: je 0x2e007709 */
   8571 L_2E007706:
   8572     MEM32(edx + 0x4) = eax; /* 0x2E007706: mov dword ptr [edx + 4], eax */
   8573 L_2E007709:
   8574     edx = MEM32(eax + 0x4); /* 0x2E007709: mov edx, dword ptr [eax + 4] */
   8575     MEM32(ecx + 0x4) = edx; /* 0x2E00770C: mov dword ptr [ecx + 4], edx */
   8576     edx = MEM32(esi + 0x4); /* 0x2E00770F: mov edx, dword ptr [esi + 4] */
   8577     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E007712: cmp eax, dword ptr [edx + 4] */
   8578     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   8579     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8580     _flag_k = FK_CMP;
   8581     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00771C; /* 0x2E007715: jne 0x2e00771c */
   8582 L_2E007717:
   8583     MEM32(edx + 0x4) = ecx; /* 0x2E007717: mov dword ptr [edx + 4], ecx */
   8584     goto L_2E00772A; /* 0x2E00771A: jmp 0x2e00772a */
   8585 L_2E00771C:
   8586     edx = MEM32(eax + 0x4); /* 0x2E00771C: mov edx, dword ptr [eax + 4] */
   8587     /* cmp eax, MEM32(edx) */ /* 0x2E00771F: cmp eax, dword ptr [edx] */
   8588     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   8589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8590     _flag_k = FK_CMP;
   8591     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007727; /* 0x2E007721: jne 0x2e007727 */
   8592 L_2E007723:
   8593     MEM32(edx) = ecx; /* 0x2E007723: mov dword ptr [edx], ecx */
   8594     goto L_2E00772A; /* 0x2E007725: jmp 0x2e00772a */
   8595 L_2E007727:
   8596     MEM32(edx + 0x8) = ecx; /* 0x2E007727: mov dword ptr [edx + 8], ecx */
   8597 L_2E00772A:
   8598     MEM32(ecx) = eax; /* 0x2E00772A: mov dword ptr [ecx], eax */
   8599     MEM32(eax + 0x4) = ecx; /* 0x2E00772C: mov dword ptr [eax + 4], ecx */
   8600 L_2E00772F:
   8601     ecx = MEM32(eax + 0x4); /* 0x2E00772F: mov ecx, dword ptr [eax + 4] */
   8602     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E007732: mov byte ptr [ecx + 0x14], bl */
   8603     edx = MEM32(eax + 0x4); /* 0x2E007735: mov edx, dword ptr [eax + 4] */
   8604     ecx = MEM32(edx + 0x4); /* 0x2E007738: mov ecx, dword ptr [edx + 4] */
   8605     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E00773B: mov byte ptr [ecx + 0x14], 0 */
   8606     edx = MEM32(eax + 0x4); /* 0x2E00773F: mov edx, dword ptr [eax + 4] */
   8607     ecx = MEM32(edx + 0x4); /* 0x2E007742: mov ecx, dword ptr [edx + 4] */
   8608     edx = MEM32(ecx); /* 0x2E007745: mov edx, dword ptr [ecx] */
   8609     edi = MEM32(edx + 0x8); /* 0x2E007747: mov edi, dword ptr [edx + 8] */
   8610     MEM32(ecx) = edi; /* 0x2E00774A: mov dword ptr [ecx], edi */
   8611     edi = MEM32(edx + 0x8); /* 0x2E00774C: mov edi, dword ptr [edx + 8] */
   8612     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E00774F: cmp edi, dword ptr [esi + 8] */
   8613     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8614     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8615     _flag_k = FK_CMP;
   8616     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007757; /* 0x2E007752: je 0x2e007757 */
   8617 L_2E007754:
   8618     MEM32(edi + 0x4) = ecx; /* 0x2E007754: mov dword ptr [edi + 4], ecx */
   8619 L_2E007757:
   8620     edi = MEM32(ecx + 0x4); /* 0x2E007757: mov edi, dword ptr [ecx + 4] */
   8621     MEM32(edx + 0x4) = edi; /* 0x2E00775A: mov dword ptr [edx + 4], edi */
   8622     edi = MEM32(esi + 0x4); /* 0x2E00775D: mov edi, dword ptr [esi + 4] */
   8623     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007760: cmp ecx, dword ptr [edi + 4] */
   8624     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   8625     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8626     _flag_k = FK_CMP;
   8627     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007770; /* 0x2E007763: jne 0x2e007770 */
   8628 L_2E007765:
   8629     MEM32(edi + 0x4) = edx; /* 0x2E007765: mov dword ptr [edi + 4], edx */
   8630     MEM32(edx + 0x8) = ecx; /* 0x2E007768: mov dword ptr [edx + 8], ecx */
   8631     goto L_2E007822; /* 0x2E00776B: jmp 0x2e007822 */
   8632 L_2E007770:
   8633     edi = MEM32(ecx + 0x4); /* 0x2E007770: mov edi, dword ptr [ecx + 4] */
   8634     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2E007773: cmp ecx, dword ptr [edi + 8] */
   8635     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8636     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8637     _flag_k = FK_CMP;
   8638     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007783; /* 0x2E007776: jne 0x2e007783 */
   8639 L_2E007778:
   8640     MEM32(edi + 0x8) = edx; /* 0x2E007778: mov dword ptr [edi + 8], edx */
   8641     MEM32(edx + 0x8) = ecx; /* 0x2E00777B: mov dword ptr [edx + 8], ecx */
   8642     goto L_2E007822; /* 0x2E00777E: jmp 0x2e007822 */
   8643 L_2E007783:
   8644     MEM32(edi) = edx; /* 0x2E007783: mov dword ptr [edi], edx */
   8645     MEM32(edx + 0x8) = ecx; /* 0x2E007785: mov dword ptr [edx + 8], ecx */
   8646     goto L_2E007822; /* 0x2E007788: jmp 0x2e007822 */
   8647 L_2E00778D:
   8648     /* cmp MEM8(edx + 0x14), 0 */ /* 0x2E00778D: cmp byte ptr [edx + 0x14], 0 */
   8649     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   8650     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8651     _flag_k = FK_NARROW(FK_CMP, 24);
   8652     RECOMP_BACKEDGE();
   8653     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0076D5; /* 0x2E007791: je 0x2e0076d5 */
   8654 L_2E007797:
   8655     /* cmp eax, MEM32(ecx) */ /* 0x2E007797: cmp eax, dword ptr [ecx] */
   8656     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   8657     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8658     _flag_k = FK_CMP;
   8659     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077D7; /* 0x2E007799: jne 0x2e0077d7 */
   8660 L_2E00779B:
   8661     eax = ecx; /* 0x2E00779B: mov eax, ecx */
   8662     ecx = MEM32(eax); /* 0x2E00779D: mov ecx, dword ptr [eax] */
   8663     edx = MEM32(ecx + 0x8); /* 0x2E00779F: mov edx, dword ptr [ecx + 8] */
   8664     MEM32(eax) = edx; /* 0x2E0077A2: mov dword ptr [eax], edx */
   8665     edx = MEM32(ecx + 0x8); /* 0x2E0077A4: mov edx, dword ptr [ecx + 8] */
   8666     /* cmp edx, MEM32(esi + 0x8) */ /* 0x2E0077A7: cmp edx, dword ptr [esi + 8] */
   8667     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8668     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8669     _flag_k = FK_CMP;
   8670     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077AF; /* 0x2E0077AA: je 0x2e0077af */
   8671 L_2E0077AC:
   8672     MEM32(edx + 0x4) = eax; /* 0x2E0077AC: mov dword ptr [edx + 4], eax */
   8673 L_2E0077AF:
   8674     edx = MEM32(eax + 0x4); /* 0x2E0077AF: mov edx, dword ptr [eax + 4] */
   8675     MEM32(ecx + 0x4) = edx; /* 0x2E0077B2: mov dword ptr [ecx + 4], edx */
   8676     edx = MEM32(esi + 0x4); /* 0x2E0077B5: mov edx, dword ptr [esi + 4] */
   8677     /* cmp eax, MEM32(edx + 0x4) */ /* 0x2E0077B8: cmp eax, dword ptr [edx + 4] */
   8678     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   8679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8680     _flag_k = FK_CMP;
   8681     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077C2; /* 0x2E0077BB: jne 0x2e0077c2 */
   8682 L_2E0077BD:
   8683     MEM32(edx + 0x4) = ecx; /* 0x2E0077BD: mov dword ptr [edx + 4], ecx */
   8684     goto L_2E0077D1; /* 0x2E0077C0: jmp 0x2e0077d1 */
   8685 L_2E0077C2:
   8686     edx = MEM32(eax + 0x4); /* 0x2E0077C2: mov edx, dword ptr [eax + 4] */
   8687     /* cmp eax, MEM32(edx + 0x8) */ /* 0x2E0077C5: cmp eax, dword ptr [edx + 8] */
   8688     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   8689     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8690     _flag_k = FK_CMP;
   8691     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0077CF; /* 0x2E0077C8: jne 0x2e0077cf */
   8692 L_2E0077CA:
   8693     MEM32(edx + 0x8) = ecx; /* 0x2E0077CA: mov dword ptr [edx + 8], ecx */
   8694     goto L_2E0077D1; /* 0x2E0077CD: jmp 0x2e0077d1 */
   8695 L_2E0077CF:
   8696     MEM32(edx) = ecx; /* 0x2E0077CF: mov dword ptr [edx], ecx */
   8697 L_2E0077D1:
   8698     MEM32(ecx + 0x8) = eax; /* 0x2E0077D1: mov dword ptr [ecx + 8], eax */
   8699     MEM32(eax + 0x4) = ecx; /* 0x2E0077D4: mov dword ptr [eax + 4], ecx */
   8700 L_2E0077D7:
   8701     ecx = MEM32(eax + 0x4); /* 0x2E0077D7: mov ecx, dword ptr [eax + 4] */
   8702     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E0077DA: mov byte ptr [ecx + 0x14], bl */
   8703     edx = MEM32(eax + 0x4); /* 0x2E0077DD: mov edx, dword ptr [eax + 4] */
   8704     ecx = MEM32(edx + 0x4); /* 0x2E0077E0: mov ecx, dword ptr [edx + 4] */
   8705     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2E0077E3: mov byte ptr [ecx + 0x14], 0 */
   8706     edx = MEM32(eax + 0x4); /* 0x2E0077E7: mov edx, dword ptr [eax + 4] */
   8707     ecx = MEM32(edx + 0x4); /* 0x2E0077EA: mov ecx, dword ptr [edx + 4] */
   8708     edx = MEM32(ecx + 0x8); /* 0x2E0077ED: mov edx, dword ptr [ecx + 8] */
   8709     edi = MEM32(edx); /* 0x2E0077F0: mov edi, dword ptr [edx] */
   8710     MEM32(ecx + 0x8) = edi; /* 0x2E0077F2: mov dword ptr [ecx + 8], edi */
   8711     edi = MEM32(edx); /* 0x2E0077F5: mov edi, dword ptr [edx] */
   8712     /* cmp edi, MEM32(esi + 0x8) */ /* 0x2E0077F7: cmp edi, dword ptr [esi + 8] */
   8713     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8714     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8715     _flag_k = FK_CMP;
   8716     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0077FF; /* 0x2E0077FA: je 0x2e0077ff */
   8717 L_2E0077FC:
   8718     MEM32(edi + 0x4) = ecx; /* 0x2E0077FC: mov dword ptr [edi + 4], ecx */
   8719 L_2E0077FF:
   8720     edi = MEM32(ecx + 0x4); /* 0x2E0077FF: mov edi, dword ptr [ecx + 4] */
   8721     MEM32(edx + 0x4) = edi; /* 0x2E007802: mov dword ptr [edx + 4], edi */
   8722     edi = MEM32(esi + 0x4); /* 0x2E007805: mov edi, dword ptr [esi + 4] */
   8723     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2E007808: cmp ecx, dword ptr [edi + 4] */
   8724     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   8725     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8726     _flag_k = FK_CMP;
   8727     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007812; /* 0x2E00780B: jne 0x2e007812 */
   8728 L_2E00780D:
   8729     MEM32(edi + 0x4) = edx; /* 0x2E00780D: mov dword ptr [edi + 4], edx */
   8730     goto L_2E007820; /* 0x2E007810: jmp 0x2e007820 */
   8731 L_2E007812:
   8732     edi = MEM32(ecx + 0x4); /* 0x2E007812: mov edi, dword ptr [ecx + 4] */
   8733     /* cmp ecx, MEM32(edi) */ /* 0x2E007815: cmp ecx, dword ptr [edi] */
   8734     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   8735     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8736     _flag_k = FK_CMP;
   8737     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00781D; /* 0x2E007817: jne 0x2e00781d */
   8738 L_2E007819:
   8739     MEM32(edi) = edx; /* 0x2E007819: mov dword ptr [edi], edx */
   8740     goto L_2E007820; /* 0x2E00781B: jmp 0x2e007820 */
   8741 L_2E00781D:
   8742     MEM32(edi + 0x8) = edx; /* 0x2E00781D: mov dword ptr [edi + 8], edx */
   8743 L_2E007820:
   8744     MEM32(edx) = ecx; /* 0x2E007820: mov dword ptr [edx], ecx */
   8745 L_2E007822:
   8746     MEM32(ecx + 0x4) = edx; /* 0x2E007822: mov dword ptr [ecx + 4], edx */
   8747 L_2E007825:
   8748     ecx = MEM32(esi + 0x4); /* 0x2E007825: mov ecx, dword ptr [esi + 4] */
   8749     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2E007828: cmp eax, dword ptr [ecx + 4] */
   8750     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   8751     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8752     _flag_k = FK_CMP;
   8753     RECOMP_BACKEDGE();
   8754     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0076B1; /* 0x2E00782B: jne 0x2e0076b1 */
   8755 L_2E007831:
   8756     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   8757     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   8758     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   8759     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   8760     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   8761     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   8762     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   8763     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   8764     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   8765     esp = ebp; /* 0x2E007845: mov esp, ebp */
   8766     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   8767     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   8768     RECOMP_REGS_OUT();
   8769 }
   8770 
   8771 void sub_2E007831(void) {
   8772     int _fpu_cmp = 0;
   8773     uint32_t _cf = 0;
   8774     int _df = 1;
   8775     uint32_t _flag_k = FK_NONE;
   8776     uint32_t _flag_a = 0, _flag_b = 0;
   8777     uint32_t _itail_tgt = 0;
   8778     RECOMP_REGS_LOCALS
   8779     RECOMP_ENTER(0x2E007831u);
   8780 
   8781 L_2E007831:
   8782     edx = MEM32(esi + 0x4); /* 0x2E007831: mov edx, dword ptr [esi + 4] */
   8783     ecx = MEM32(ebp + (-0x4)); /* 0x2E007834: mov ecx, dword ptr [ebp - 4] */
   8784     edi = POP32_VAL(esp); /* 0x2E007837: pop edi */
   8785     esi = POP32_VAL(esp); /* 0x2E007838: pop esi */
   8786     eax = MEM32(edx + 0x4); /* 0x2E007839: mov eax, dword ptr [edx + 4] */
   8787     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2E00783C: mov byte ptr [eax + 0x14], bl */
   8788     eax = MEM32(ebp + 0x8); /* 0x2E00783F: mov eax, dword ptr [ebp + 8] */
   8789     ebx = POP32_VAL(esp); /* 0x2E007842: pop ebx */
   8790     MEM32(eax) = ecx; /* 0x2E007843: mov dword ptr [eax], ecx */
   8791     esp = ebp; /* 0x2E007845: mov esp, ebp */
   8792     ebp = POP32_VAL(esp); /* 0x2E007847: pop ebp */
   8793     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2E007848: ret 0x10 */
   8794     RECOMP_REGS_OUT();
   8795 }
   8796 
   8797 void sub_2E007850(void) {
   8798     int _fpu_cmp = 0;
   8799     uint32_t _cf = 0;
   8800     int _df = 1;
   8801     uint32_t _flag_k = FK_NONE;
   8802     uint32_t _flag_a = 0, _flag_b = 0;
   8803     uint32_t _itail_tgt = 0;
   8804     RECOMP_REGS_LOCALS
   8805     RECOMP_ENTER(0x2E007850u);
   8806 
   8807 L_2E007850:
   8808     eax = MEM32(ecx); /* 0x2E007850: mov eax, dword ptr [ecx] */
   8809     PUSH32(esp, ebx); /* 0x2E007852: push ebx */
   8810     SET_LO8(edx, MEM8(eax + 0x14)); /* 0x2E007853: mov dl, byte ptr [eax + 0x14] */
   8811     /* test LO8(edx), LO8(edx) */ /* 0x2E007856: test dl, dl */
   8812     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8813     _cf = 0;
   8814     _flag_k = FK_NARROW(FK_TEST, 24);
   8815     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007869; /* 0x2E007858: jne 0x2e007869 */
   8816 L_2E00785A:
   8817     edx = MEM32(eax + 0x4); /* 0x2E00785A: mov edx, dword ptr [eax + 4] */
   8818     /* cmp MEM32(edx + 0x4), eax */ /* 0x2E00785D: cmp dword ptr [edx + 4], eax */
   8819     _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax);
   8820     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8821     _flag_k = FK_CMP;
   8822     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007869; /* 0x2E007860: jne 0x2e007869 */
   8823 L_2E007862:
   8824     eax = MEM32(eax + 0x8); /* 0x2E007862: mov eax, dword ptr [eax + 8] */
   8825     MEM32(ecx) = eax; /* 0x2E007865: mov dword ptr [ecx], eax */
   8826     ebx = POP32_VAL(esp); /* 0x2E007867: pop ebx */
   8827     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E007868: ret  */
   8828 L_2E007869:
   8829     edx = MEM32(eax); /* 0x2E007869: mov edx, dword ptr [eax] */
   8830     SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x2E00786B: mov bl, byte ptr [edx + 0x15] */
   8831     /* test LO8(ebx), LO8(ebx) */ /* 0x2E00786E: test bl, bl */
   8832     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8833     _cf = 0;
   8834     _flag_k = FK_NARROW(FK_TEST, 24);
   8835     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E00788C; /* 0x2E007870: jne 0x2e00788c */
   8836 L_2E007872:
   8837     eax = MEM32(edx + 0x8); /* 0x2E007872: mov eax, dword ptr [edx + 8] */
   8838     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2E007875: mov bl, byte ptr [eax + 0x15] */
   8839     /* test LO8(ebx), LO8(ebx) */ /* 0x2E007878: test bl, bl */
   8840     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8841     _cf = 0;
   8842     _flag_k = FK_NARROW(FK_TEST, 24);
   8843     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007888; /* 0x2E00787A: jne 0x2e007888 */
   8844 L_2E00787C:
   8845     edx = eax; /* 0x2E00787C: mov edx, eax */
   8846     eax = MEM32(edx + 0x8); /* 0x2E00787E: mov eax, dword ptr [edx + 8] */
   8847     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2E007881: mov bl, byte ptr [eax + 0x15] */
   8848     /* test LO8(ebx), LO8(ebx) */ /* 0x2E007884: test bl, bl */
   8849     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8850     _cf = 0;
   8851     _flag_k = FK_NARROW(FK_TEST, 24);
   8852     RECOMP_BACKEDGE();
   8853     if (TEST_Z(_flag_a, _flag_b)) goto L_2E00787C; /* 0x2E007886: je 0x2e00787c */
   8854 L_2E007888:
   8855     MEM32(ecx) = edx; /* 0x2E007888: mov dword ptr [ecx], edx */
   8856     ebx = POP32_VAL(esp); /* 0x2E00788A: pop ebx */
   8857     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00788B: ret  */
   8858 L_2E00788C:
   8859     eax = MEM32(eax + 0x4); /* 0x2E00788C: mov eax, dword ptr [eax + 4] */
   8860     edx = MEM32(ecx); /* 0x2E00788F: mov edx, dword ptr [ecx] */
   8861     /* cmp edx, MEM32(eax) */ /* 0x2E007891: cmp edx, dword ptr [eax] */
   8862     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
   8863     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8864     _flag_k = FK_CMP;
   8865     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0078A0; /* 0x2E007893: jne 0x2e0078a0 */
   8866 L_2E007895:
   8867     MEM32(ecx) = eax; /* 0x2E007895: mov dword ptr [ecx], eax */
   8868     eax = MEM32(eax + 0x4); /* 0x2E007897: mov eax, dword ptr [eax + 4] */
   8869     edx = MEM32(ecx); /* 0x2E00789A: mov edx, dword ptr [ecx] */
   8870     /* cmp edx, MEM32(eax) */ /* 0x2E00789C: cmp edx, dword ptr [eax] */
   8871     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
   8872     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8873     _flag_k = FK_CMP;
   8874     RECOMP_BACKEDGE();
   8875     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007895; /* 0x2E00789E: je 0x2e007895 */
   8876 L_2E0078A0:
   8877     MEM32(ecx) = eax; /* 0x2E0078A0: mov dword ptr [ecx], eax */
   8878     ebx = POP32_VAL(esp); /* 0x2E0078A2: pop ebx */
   8879     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0078A3: ret  */
   8880     RECOMP_REGS_OUT();
   8881 }
   8882 
   8883 void sub_2E0078B0(void) {
   8884     int _fpu_cmp = 0;
   8885     uint32_t _cf = 0;
   8886     int _df = 1;
   8887     uint32_t _flag_k = FK_NONE;
   8888     uint32_t _flag_a = 0, _flag_b = 0;
   8889     uint32_t _itail_tgt = 0;
   8890     RECOMP_REGS_LOCALS
   8891     RECOMP_ENTER(0x2E0078B0u);
   8892 
   8893 L_2E0078B0:
   8894     PUSH32(esp, ebp); /* 0x2E0078B0: push ebp */
   8895     ebp = esp; /* 0x2E0078B1: mov ebp, esp */
   8896     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E0078B3: push -1 */
   8897     PUSH32(esp, 0x2E0119F0u); /* 0x2E0078B5: push 0x2e0119f0 */
   8898     eax = MEM32(FS_BASE + (0)); /* 0x2E0078BA: mov eax, dword ptr fs:[0] */
   8899     PUSH32(esp, eax); /* 0x2E0078C0: push eax */
   8900     MEM32(FS_BASE + (0)) = esp; /* 0x2E0078C1: mov dword ptr fs:[0], esp */
   8901     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   8902     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8903     esp = esp - 8; /* 0x2E0078C8: sub esp, 8 */
   8904     _flag_k = FK_CMP;
   8905     PUSH32(esp, ebx); /* 0x2E0078CB: push ebx */
   8906     PUSH32(esp, esi); /* 0x2E0078CC: push esi */
   8907     esi = ecx; /* 0x2E0078CD: mov esi, ecx */
   8908     PUSH32(esp, edi); /* 0x2E0078CF: push edi */
   8909     ebx = esi + 0x4; /* 0x2E0078D0: lea ebx, [esi + 4] */
   8910     MEM32(ebp + (-0x14)) = ebx; /* 0x2E0078D3: mov dword ptr [ebp - 0x14], ebx */
   8911     PUSH32(esp, 2); /* 0x2E0078D6: push 2 */
   8912     PUSH32(esp, 0); /* 0x2E0078D8: push 0 */
   8913     PUSH32(esp, 0); /* 0x2E0078DA: push 0 */
   8914     PUSH32(esp, 0); /* 0x2E0078DC: push 0 */
   8915     ecx = ebx; /* 0x2E0078DE: mov ecx, ebx */
   8916     MEM32(ebp + (-0x4)) = 0; /* 0x2E0078E0: mov dword ptr [ebp - 4], 0 */
   8917     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E0078E7: call dword ptr [0x2e01212c] */
   8918     RECOMP_FLAGS_IN();
   8919     edi = eax; /* 0x2E0078ED: mov edi, eax */
   8920     ecx = MEM32(ebp + 0x8); /* 0x2E0078EF: mov ecx, dword ptr [ebp + 8] */
   8921     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8922     edx = 0; /* 0x2E0078F2: xor edx, edx */
   8923     _cf = 0;
   8924     _flag_k = FK_TEST;
   8925     eax = ecx; /* 0x2E0078F4: mov eax, ecx */
   8926     MEM32(ebp + (-0x4)) = 1; /* 0x2E0078F6: mov dword ptr [ebp - 4], 1 */
   8927     { uint64_t _dividend = ((uint64_t)edx << 32) | eax; uint32_t _dv = (uint32_t)MEM32(ebp + 0xC); /* 0x2E0078FD: div dword ptr [ebp + 0xc] */
   8928       if (_dv) { eax = (uint32_t)(_dividend / _dv); edx = (uint32_t)(_dividend % _dv); }
   8929       else { eax = 0; edx = 0; } }
   8930     /* cmp eax, MEM32(esi + 0xF0) */ /* 0x2E007900: cmp eax, dword ptr [esi + 0xf0] */
   8931     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xF0));
   8932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8933     _flag_k = FK_CMP;
   8934     if (CMP_BE(_flag_a, _flag_b)) goto L_2E00790E; /* 0x2E007906: jbe 0x2e00790e */
   8935 L_2E007908:
   8936     MEM32(esi + 0xF0) = eax; /* 0x2E007908: mov dword ptr [esi + 0xf0], eax */
   8937 L_2E00790E:
   8938     edx = MEM32(esi + 0xEC); /* 0x2E00790E: mov edx, dword ptr [esi + 0xec] */
   8939     /* cmp eax, edx */ /* 0x2E007914: cmp eax, edx */
   8940     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   8941     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8942     _flag_k = FK_CMP;
   8943     if (CMP_B(_flag_a, _flag_b)) goto L_2E00791C; /* 0x2E007916: jb 0x2e00791c */
   8944 L_2E007918:
   8945     /* test edx, edx */ /* 0x2E007918: test edx, edx */
   8946     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   8947     _cf = 0;
   8948     _flag_k = FK_TEST;
   8949     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007922; /* 0x2E00791A: jne 0x2e007922 */
   8950 L_2E00791C:
   8951     MEM32(esi + 0xEC) = eax; /* 0x2E00791C: mov dword ptr [esi + 0xec], eax */
   8952 L_2E007922:
   8953     edx = MEM32(esi + 0xE4); /* 0x2E007922: mov edx, dword ptr [esi + 0xe4] */
   8954     MEM32(esi + 0xF4) = eax; /* 0x2E007928: mov dword ptr [esi + 0xf4], eax */
   8955     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   8956     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8957     edx = edx + ecx; /* 0x2E00792E: add edx, ecx */
   8958     _flag_k = FK_ADD;
   8959     ecx = MEM32(ebp + 0xC); /* 0x2E007930: mov ecx, dword ptr [ebp + 0xc] */
   8960     MEM32(esi + 0xE4) = edx; /* 0x2E007933: mov dword ptr [esi + 0xe4], edx */
   8961     edx = MEM32(esi + 0xF8); /* 0x2E007939: mov edx, dword ptr [esi + 0xf8] */
   8962     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   8963     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8964     edx = edx + ecx; /* 0x2E00793F: add edx, ecx */
   8965     _flag_k = FK_ADD;
   8966     /* cmp edi, 0xFFFFFFFFu */ /* 0x2E007941: cmp edi, -1 */
   8967     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
   8968     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8969     _flag_k = FK_CMP;
   8970     MEM32(esi + 0xF8) = edx; /* 0x2E007944: mov dword ptr [esi + 0xf8], edx */
   8971     esi = MEM32(0x2E0121A4); /* 0x2E00794A: mov esi, dword ptr [0x2e0121a4] */
   8972     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00795C; /* 0x2E007950: je 0x2e00795c */
   8973 L_2E007952:
   8974     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
   8975     edi = edi | 0xFFFFFFFFu; /* 0x2E007952: or edi, 0xffffffff */
   8976     _cf = 0;
   8977     _flag_k = FK_TEST;
   8978     ecx = ebx; /* 0x2E007955: mov ecx, ebx */
   8979     MEM32(ebp + (-0x10)) = edi; /* 0x2E007957: mov dword ptr [ebp - 0x10], edi */
   8980     RECOMP_ICALL(esi); /* 0x2E00795A: call esi */
   8981     RECOMP_FLAGS_IN();
   8982 L_2E00795C:
   8983     /* cmp edi, 0xFFFFFFFFu */ /* 0x2E00795C: cmp edi, -1 */
   8984     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
   8985     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8986     _flag_k = FK_CMP;
   8987     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E00795F: mov dword ptr [ebp - 4], 0xffffffff */
   8988     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E00796C; /* 0x2E007966: je 0x2e00796c */
   8989 L_2E007968:
   8990     ecx = ebx; /* 0x2E007968: mov ecx, ebx */
   8991     RECOMP_ICALL(esi); /* 0x2E00796A: call esi */
   8992     RECOMP_FLAGS_IN();
   8993 L_2E00796C:
   8994     ecx = MEM32(ebp + (-0xC)); /* 0x2E00796C: mov ecx, dword ptr [ebp - 0xc] */
   8995     edi = POP32_VAL(esp); /* 0x2E00796F: pop edi */
   8996     esi = POP32_VAL(esp); /* 0x2E007970: pop esi */
   8997     ebx = POP32_VAL(esp); /* 0x2E007971: pop ebx */
   8998     MEM32(FS_BASE + (0)) = ecx; /* 0x2E007972: mov dword ptr fs:[0], ecx */
   8999     esp = ebp; /* 0x2E007979: mov esp, ebp */
   9000     ebp = POP32_VAL(esp); /* 0x2E00797B: pop ebp */
   9001     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E00797C: ret 8 */
   9002     RECOMP_REGS_OUT();
   9003 }
   9004 
   9005 void sub_2E007980(void) {
   9006     int _fpu_cmp = 0;
   9007     uint32_t _cf = 0;
   9008     int _df = 1;
   9009     uint32_t _flag_k = FK_NONE;
   9010     uint32_t _flag_a = 0, _flag_b = 0;
   9011     uint32_t _itail_tgt = 0;
   9012     RECOMP_REGS_LOCALS
   9013     RECOMP_ENTER(0x2E007980u);
   9014 
   9015 L_2E007980:
   9016     PUSH32(esp, ebp); /* 0x2E007980: push ebp */
   9017     ebp = esp; /* 0x2E007981: mov ebp, esp */
   9018     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E007983: push -1 */
   9019     PUSH32(esp, 0x2E011A10u); /* 0x2E007985: push 0x2e011a10 */
   9020     eax = MEM32(FS_BASE + (0)); /* 0x2E00798A: mov eax, dword ptr fs:[0] */
   9021     PUSH32(esp, eax); /* 0x2E007990: push eax */
   9022     MEM32(FS_BASE + (0)) = esp; /* 0x2E007991: mov dword ptr fs:[0], esp */
   9023     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
   9024     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9025     esp = esp - 0x20u; /* 0x2E007998: sub esp, 0x20 */
   9026     _flag_k = FK_CMP;
   9027     PUSH32(esp, ebx); /* 0x2E00799B: push ebx */
   9028     PUSH32(esp, esi); /* 0x2E00799C: push esi */
   9029     esi = ecx; /* 0x2E00799D: mov esi, ecx */
   9030     PUSH32(esp, edi); /* 0x2E00799F: push edi */
   9031     ebx = esi + 0x4; /* 0x2E0079A0: lea ebx, [esi + 4] */
   9032     MEM32(ebp + (-0x1C)) = ebx; /* 0x2E0079A3: mov dword ptr [ebp - 0x1c], ebx */
   9033     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9034     edi = 0; /* 0x2E0079A6: xor edi, edi */
   9035     _cf = 0;
   9036     _flag_k = FK_TEST;
   9037     PUSH32(esp, 1); /* 0x2E0079A8: push 1 */
   9038     PUSH32(esp, edi); /* 0x2E0079AA: push edi */
   9039     PUSH32(esp, edi); /* 0x2E0079AB: push edi */
   9040     PUSH32(esp, edi); /* 0x2E0079AC: push edi */
   9041     ecx = ebx; /* 0x2E0079AD: mov ecx, ebx */
   9042     MEM32(ebp + (-0x4)) = edi; /* 0x2E0079AF: mov dword ptr [ebp - 4], edi */
   9043     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E0079B2: call dword ptr [0x2e01212c] */
   9044     RECOMP_FLAGS_IN();
   9045     MEM32(ebp + (-0x18)) = eax; /* 0x2E0079B8: mov dword ptr [ebp - 0x18], eax */
   9046     eax = esi + 0x94; /* 0x2E0079BB: lea eax, [esi + 0x94] */
   9047     MEM32(ebp + (-0x10)) = edi; /* 0x2E0079C1: mov dword ptr [ebp - 0x10], edi */
   9048     ecx = eax; /* 0x2E0079C4: mov ecx, eax */
   9049     edx = MEM32(ecx); /* 0x2E0079C6: mov edx, dword ptr [ecx] */
   9050     MEM32(ebp + (-0x2C)) = edx; /* 0x2E0079C8: mov dword ptr [ebp - 0x2c], edx */
   9051     edx = esi + 0x84; /* 0x2E0079CB: lea edx, [esi + 0x84] */
   9052     eax = MEM32(ecx + 0x4); /* 0x2E0079D1: mov eax, dword ptr [ecx + 4] */
   9053     MEM32(ebp + (-0x28)) = eax; /* 0x2E0079D4: mov dword ptr [ebp - 0x28], eax */
   9054     eax = MEM32(ecx + 0x8); /* 0x2E0079D7: mov eax, dword ptr [ecx + 8] */
   9055     ecx = MEM32(ecx + 0xC); /* 0x2E0079DA: mov ecx, dword ptr [ecx + 0xc] */
   9056     MEM32(ebp + (-0x20)) = ecx; /* 0x2E0079DD: mov dword ptr [ebp - 0x20], ecx */
   9057     ecx = MEM32(edx); /* 0x2E0079E0: mov ecx, dword ptr [edx] */
   9058     MEM32(ebp + (-0x2C)) = ecx; /* 0x2E0079E2: mov dword ptr [ebp - 0x2c], ecx */
   9059     edi = MEM32(edx + 0x4); /* 0x2E0079E5: mov edi, dword ptr [edx + 4] */
   9060     ecx = MEM32(edx + 0x8); /* 0x2E0079E8: mov ecx, dword ptr [edx + 8] */
   9061     /* cmp ecx, eax */ /* 0x2E0079EB: cmp ecx, eax */
   9062     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   9063     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9064     _flag_k = FK_CMP;
   9065     edx = MEM32(edx + 0xC); /* 0x2E0079ED: mov edx, dword ptr [edx + 0xc] */
   9066     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007ACD; /* 0x2E0079F0: je 0x2e007acd */
   9067 L_2E0079F6:
   9068     ebx = MEM32(ebp + (-0x10)); /* 0x2E0079F6: mov ebx, dword ptr [ebp - 0x10] */
   9069     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx));
   9070     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9071     ebx = ebx + MEM32(ecx); /* 0x2E0079F9: add ebx, dword ptr [ecx] */
   9072     _flag_k = FK_ADD;
   9073     /* cmp ecx, edi */ /* 0x2E0079FB: cmp ecx, edi */
   9074     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   9075     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9076     _flag_k = FK_CMP;
   9077     MEM32(ebp + (-0x10)) = ebx; /* 0x2E0079FD: mov dword ptr [ebp - 0x10], ebx */
   9078     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007A1B; /* 0x2E007A00: je 0x2e007a1b */
   9079 L_2E007A02:
   9080     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   9081     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9082     ecx = ecx + 4; /* 0x2E007A02: add ecx, 4 */
   9083     _flag_k = FK_ADD;
   9084     /* cmp ecx, edi */ /* 0x2E007A05: cmp ecx, edi */
   9085     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   9086     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9087     _flag_k = FK_CMP;
   9088     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007A1B; /* 0x2E007A07: jne 0x2e007a1b */
   9089 L_2E007A09:
   9090     /* cmp MEM32(edx + 0x4), 0 */ /* 0x2E007A09: cmp dword ptr [edx + 4], 0 */
   9091     _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(0);
   9092     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9093     _flag_k = FK_CMP;
   9094     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007A1B; /* 0x2E007A0D: je 0x2e007a1b */
   9095 L_2E007A0F:
   9096     ecx = MEM32(edx + 0x4); /* 0x2E007A0F: mov ecx, dword ptr [edx + 4] */
   9097     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4);
   9098     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9099     edx = edx + 4; /* 0x2E007A12: add edx, 4 */
   9100     _flag_k = FK_ADD;
   9101     edi = ecx + 0x1000; /* 0x2E007A15: lea edi, [ecx + 0x1000] */
   9102 L_2E007A1B:
   9103     /* cmp ecx, eax */ /* 0x2E007A1B: cmp ecx, eax */
   9104     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   9105     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9106     _flag_k = FK_CMP;
   9107     RECOMP_BACKEDGE();
   9108     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0079F6; /* 0x2E007A1D: jne 0x2e0079f6 */
   9109 L_2E007A1F:
   9110     /* test ebx, ebx */ /* 0x2E007A1F: test ebx, ebx */
   9111     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   9112     _cf = 0;
   9113     _flag_k = FK_TEST;
   9114     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007ACA; /* 0x2E007A21: jbe 0x2e007aca */
   9115 L_2E007A27:
   9116     edx = esi + 0x64; /* 0x2E007A27: lea edx, [esi + 0x64] */
   9117     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x54u);
   9118     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9119     esi = esi + 0x54u; /* 0x2E007A2A: add esi, 0x54 */
   9120     _flag_k = FK_ADD;
   9121     fp_push(*(float*)&MEM32(0x2E012250)); /* 0x2E007A2D: fld dword ptr [0x2e012250] */
   9122     eax = MEM32(edx); /* 0x2E007A33: mov eax, dword ptr [edx] */
   9123     MEM32(ebp + (-0x2C)) = eax; /* 0x2E007A35: mov dword ptr [ebp - 0x2c], eax */
   9124     ecx = MEM32(edx + 0x4); /* 0x2E007A38: mov ecx, dword ptr [edx + 4] */
   9125     MEM32(ebp + (-0x28)) = ecx; /* 0x2E007A3B: mov dword ptr [ebp - 0x28], ecx */
   9126     eax = MEM32(edx + 0x8); /* 0x2E007A3E: mov eax, dword ptr [edx + 8] */
   9127     edx = MEM32(edx + 0xC); /* 0x2E007A41: mov edx, dword ptr [edx + 0xc] */
   9128     MEM32(ebp + (-0x20)) = edx; /* 0x2E007A44: mov dword ptr [ebp - 0x20], edx */
   9129     edx = esi; /* 0x2E007A47: mov edx, esi */
   9130     ecx = MEM32(edx); /* 0x2E007A49: mov ecx, dword ptr [edx] */
   9131     MEM32(ebp + (-0x2C)) = ecx; /* 0x2E007A4B: mov dword ptr [ebp - 0x2c], ecx */
   9132     esi = MEM32(edx + 0x4); /* 0x2E007A4E: mov esi, dword ptr [edx + 4] */
   9133     ecx = MEM32(edx + 0x8); /* 0x2E007A51: mov ecx, dword ptr [edx + 8] */
   9134     /* cmp ecx, eax */ /* 0x2E007A54: cmp ecx, eax */
   9135     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   9136     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9137     _flag_k = FK_CMP;
   9138     edx = MEM32(edx + 0xC); /* 0x2E007A56: mov edx, dword ptr [edx + 0xc] */
   9139     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007A8C; /* 0x2E007A59: je 0x2e007a8c */
   9140 L_2E007A5B:
   9141     edi = MEM32(ecx); /* 0x2E007A5B: mov edi, dword ptr [ecx] */
   9142     MEM32(ebp + (-0x10)) = 0; /* 0x2E007A5D: mov dword ptr [ebp - 0x10], 0 */
   9143     MEM32(ebp + (-0x14)) = edi; /* 0x2E007A64: mov dword ptr [ebp - 0x14], edi */
   9144     /* cmp ecx, esi */ /* 0x2E007A67: cmp ecx, esi */
   9145     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
   9146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9147     _flag_k = FK_CMP;
   9148     _st[0] = _st[0] + (double)(int32_t)MEM32(ebp + (-0x14)); /* 0x2E007A69: fiadd dword ptr [ebp - 0x14] */
   9149     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007A88; /* 0x2E007A6C: je 0x2e007a88 */
   9150 L_2E007A6E:
   9151     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   9152     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9153     ecx = ecx + 4; /* 0x2E007A6E: add ecx, 4 */
   9154     _flag_k = FK_ADD;
   9155     /* cmp ecx, esi */ /* 0x2E007A71: cmp ecx, esi */
   9156     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
   9157     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9158     _flag_k = FK_CMP;
   9159     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007A88; /* 0x2E007A73: jne 0x2e007a88 */
   9160 L_2E007A75:
   9161     edi = MEM32(edx + 0x4); /* 0x2E007A75: mov edi, dword ptr [edx + 4] */
   9162     /* test edi, edi */ /* 0x2E007A78: test edi, edi */
   9163     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   9164     _cf = 0;
   9165     _flag_k = FK_TEST;
   9166     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007A88; /* 0x2E007A7A: je 0x2e007a88 */
   9167 L_2E007A7C:
   9168     ecx = MEM32(edx + 0x4); /* 0x2E007A7C: mov ecx, dword ptr [edx + 4] */
   9169     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4);
   9170     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9171     edx = edx + 4; /* 0x2E007A7F: add edx, 4 */
   9172     _flag_k = FK_ADD;
   9173     esi = ecx + 0x1000; /* 0x2E007A82: lea esi, [ecx + 0x1000] */
   9174 L_2E007A88:
   9175     /* cmp ecx, eax */ /* 0x2E007A88: cmp ecx, eax */
   9176     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   9177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9178     _flag_k = FK_CMP;
   9179     RECOMP_BACKEDGE();
   9180     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007A5B; /* 0x2E007A8A: jne 0x2e007a5b */
   9181 L_2E007A8C:
   9182     MEM32(ebp + (-0x14)) = ebx; /* 0x2E007A8C: mov dword ptr [ebp - 0x14], ebx */
   9183     MEM32(ebp + (-0x10)) = 0; /* 0x2E007A8F: mov dword ptr [ebp - 0x10], 0 */
   9184     fp_push_i64((int64_t)MEM64(ebp + (-0x14))); /* 0x2E007A96: fild qword ptr [ebp - 0x14] */
   9185     ecx = MEM32(ebp + (-0x18)); /* 0x2E007A99: mov ecx, dword ptr [ebp - 0x18] */
   9186     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9187     eax = eax | 0xFFFFFFFFu; /* 0x2E007A9C: or eax, 0xffffffff */
   9188     _cf = 0;
   9189     _flag_k = FK_TEST;
   9190     /* cmp ecx, eax */ /* 0x2E007A9F: cmp ecx, eax */
   9191     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   9192     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9193     _flag_k = FK_CMP;
   9194     MEM32(ebp + (-0x4)) = eax; /* 0x2E007AA1: mov dword ptr [ebp - 4], eax */
   9195     _st[0] = _st[1] / _st[0]; /* 0x2E007AA4: fdivr st(1) */
   9196     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2E007AA6: fstp dword ptr [ebp - 0x10] */
   9197     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2E007AA9: fstp st(0) */
   9198     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007AB6; /* 0x2E007AAB: je 0x2e007ab6 */
   9199 L_2E007AAD:
   9200     ecx = MEM32(ebp + (-0x1C)); /* 0x2E007AAD: mov ecx, dword ptr [ebp - 0x1c] */
   9201     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E007AB0: call dword ptr [0x2e0121a4] */
   9202     RECOMP_FLAGS_IN();
   9203 L_2E007AB6:
   9204     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2E007AB6: fld dword ptr [ebp - 0x10] */
   9205     edi = POP32_VAL(esp); /* 0x2E007AB9: pop edi */
   9206     esi = POP32_VAL(esp); /* 0x2E007ABA: pop esi */
   9207     ebx = POP32_VAL(esp); /* 0x2E007ABB: pop ebx */
   9208     ecx = MEM32(ebp + (-0xC)); /* 0x2E007ABC: mov ecx, dword ptr [ebp - 0xc] */
   9209     MEM32(FS_BASE + (0)) = ecx; /* 0x2E007ABF: mov dword ptr fs:[0], ecx */
   9210     esp = ebp; /* 0x2E007AC6: mov esp, ebp */
   9211     ebp = POP32_VAL(esp); /* 0x2E007AC8: pop ebp */
   9212     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E007AC9: ret  */
   9213 L_2E007ACA:
   9214     ebx = MEM32(ebp + (-0x1C)); /* 0x2E007ACA: mov ebx, dword ptr [ebp - 0x1c] */
   9215 L_2E007ACD:
   9216     ecx = MEM32(ebp + (-0x18)); /* 0x2E007ACD: mov ecx, dword ptr [ebp - 0x18] */
   9217     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   9218     eax = eax | 0xFFFFFFFFu; /* 0x2E007AD0: or eax, 0xffffffff */
   9219     _cf = 0;
   9220     _flag_k = FK_TEST;
   9221     /* cmp ecx, eax */ /* 0x2E007AD3: cmp ecx, eax */
   9222     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   9223     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9224     _flag_k = FK_CMP;
   9225     MEM32(ebp + (-0x4)) = eax; /* 0x2E007AD5: mov dword ptr [ebp - 4], eax */
   9226     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007AE2; /* 0x2E007AD8: je 0x2e007ae2 */
   9227 L_2E007ADA:
   9228     ecx = ebx; /* 0x2E007ADA: mov ecx, ebx */
   9229     RECOMP_ICALL(MEM32(0x2E0121A4)); /* 0x2E007ADC: call dword ptr [0x2e0121a4] */
   9230     RECOMP_FLAGS_IN();
   9231 L_2E007AE2:
   9232     ecx = MEM32(ebp + (-0xC)); /* 0x2E007AE2: mov ecx, dword ptr [ebp - 0xc] */
   9233     edi = POP32_VAL(esp); /* 0x2E007AE5: pop edi */
   9234     fp_push(*(float*)&MEM32(0x2E012250)); /* 0x2E007AE6: fld dword ptr [0x2e012250] */
   9235     esi = POP32_VAL(esp); /* 0x2E007AEC: pop esi */
   9236     ebx = POP32_VAL(esp); /* 0x2E007AED: pop ebx */
   9237     MEM32(FS_BASE + (0)) = ecx; /* 0x2E007AEE: mov dword ptr fs:[0], ecx */
   9238     esp = ebp; /* 0x2E007AF5: mov esp, ebp */
   9239     ebp = POP32_VAL(esp); /* 0x2E007AF7: pop ebp */
   9240     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E007AF8: ret  */
   9241     RECOMP_REGS_OUT();
   9242 }
   9243 
   9244 void sub_2E007B00(void) {
   9245     int _fpu_cmp = 0;
   9246     uint32_t _cf = 0;
   9247     int _df = 1;
   9248     uint32_t _flag_k = FK_NONE;
   9249     uint32_t _flag_a = 0, _flag_b = 0;
   9250     uint32_t _itail_tgt = 0;
   9251     RECOMP_REGS_LOCALS
   9252     RECOMP_ENTER(0x2E007B00u);
   9253 
   9254 L_2E007B00:
   9255     PUSH32(esp, ebp); /* 0x2E007B00: push ebp */
   9256     ebp = esp; /* 0x2E007B01: mov ebp, esp */
   9257     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E007B03: push -1 */
   9258     PUSH32(esp, 0x2E011A30u); /* 0x2E007B05: push 0x2e011a30 */
   9259     eax = MEM32(FS_BASE + (0)); /* 0x2E007B0A: mov eax, dword ptr fs:[0] */
   9260     PUSH32(esp, eax); /* 0x2E007B10: push eax */
   9261     MEM32(FS_BASE + (0)) = esp; /* 0x2E007B11: mov dword ptr fs:[0], esp */
   9262     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u);
   9263     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9264     esp = esp - 0x58u; /* 0x2E007B18: sub esp, 0x58 */
   9265     _flag_k = FK_CMP;
   9266     PUSH32(esp, ebx); /* 0x2E007B1B: push ebx */
   9267     PUSH32(esp, esi); /* 0x2E007B1C: push esi */
   9268     esi = ecx; /* 0x2E007B1D: mov esi, ecx */
   9269     PUSH32(esp, edi); /* 0x2E007B1F: push edi */
   9270     ecx = esi + 0x4; /* 0x2E007B20: lea ecx, [esi + 4] */
   9271     MEM32(ebp + (-0x14)) = ecx; /* 0x2E007B23: mov dword ptr [ebp - 0x14], ecx */
   9272     PUSH32(esp, 1); /* 0x2E007B26: push 1 */
   9273     PUSH32(esp, 0); /* 0x2E007B28: push 0 */
   9274     PUSH32(esp, 0); /* 0x2E007B2A: push 0 */
   9275     PUSH32(esp, 0); /* 0x2E007B2C: push 0 */
   9276     MEM32(ebp + (-0x4)) = 0; /* 0x2E007B2E: mov dword ptr [ebp - 4], 0 */
   9277     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E007B35: call dword ptr [0x2e01212c] */
   9278     RECOMP_FLAGS_IN();
   9279     MEM32(ebp + (-0x10)) = eax; /* 0x2E007B3B: mov dword ptr [ebp - 0x10], eax */
   9280     eax = MEM32(esi + 0x7C); /* 0x2E007B3E: mov eax, dword ptr [esi + 0x7c] */
   9281     edi = MEM32(ebp + 0x8); /* 0x2E007B41: mov edi, dword ptr [ebp + 8] */
   9282     ebx = MEM32(0x2E0121E8); /* 0x2E007B44: mov ebx, dword ptr [0x2e0121e8] */
   9283     PUSH32(esp, eax); /* 0x2E007B4A: push eax */
   9284     ecx = edi; /* 0x2E007B4B: mov ecx, edi */
   9285     MEM32(ebp + (-0x4)) = 1; /* 0x2E007B4D: mov dword ptr [ebp - 4], 1 */
   9286     RECOMP_ICALL(ebx); /* 0x2E007B54: call ebx */
   9287     RECOMP_FLAGS_IN();
   9288     eax = esi + 0x64; /* 0x2E007B56: lea eax, [esi + 0x64] */
   9289     ecx = MEM32(esi + 0x64); /* 0x2E007B59: mov ecx, dword ptr [esi + 0x64] */
   9290     MEM32(ebp + (-0x34)) = ecx; /* 0x2E007B5C: mov dword ptr [ebp - 0x34], ecx */
   9291     edx = MEM32(eax + 0x4); /* 0x2E007B5F: mov edx, dword ptr [eax + 4] */
   9292     MEM32(ebp + (-0x30)) = edx; /* 0x2E007B62: mov dword ptr [ebp - 0x30], edx */
   9293     ecx = MEM32(eax + 0x8); /* 0x2E007B65: mov ecx, dword ptr [eax + 8] */
   9294     MEM32(ebp + (-0x2C)) = ecx; /* 0x2E007B68: mov dword ptr [ebp - 0x2c], ecx */
   9295     edx = MEM32(eax + 0xC); /* 0x2E007B6B: mov edx, dword ptr [eax + 0xc] */
   9296     eax = esi + 0x54; /* 0x2E007B6E: lea eax, [esi + 0x54] */
   9297     MEM32(ebp + (-0x28)) = edx; /* 0x2E007B71: mov dword ptr [ebp - 0x28], edx */
   9298     ecx = MEM32(eax); /* 0x2E007B74: mov ecx, dword ptr [eax] */
   9299     MEM32(ebp + (-0x24)) = ecx; /* 0x2E007B76: mov dword ptr [ebp - 0x24], ecx */
   9300     edx = MEM32(eax + 0x4); /* 0x2E007B79: mov edx, dword ptr [eax + 4] */
   9301     MEM32(ebp + (-0x20)) = edx; /* 0x2E007B7C: mov dword ptr [ebp - 0x20], edx */
   9302     ecx = MEM32(eax + 0x8); /* 0x2E007B7F: mov ecx, dword ptr [eax + 8] */
   9303     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E007B82: mov dword ptr [ebp - 0x1c], ecx */
   9304     ecx = ebp + (-0x34); /* 0x2E007B85: lea ecx, [ebp - 0x34] */
   9305     edx = MEM32(eax + 0xC); /* 0x2E007B88: mov edx, dword ptr [eax + 0xc] */
   9306     eax = ebp + (-0x24); /* 0x2E007B8B: lea eax, [ebp - 0x24] */
   9307     PUSH32(esp, eax); /* 0x2E007B8E: push eax */
   9308     PUSH32(esp, ecx); /* 0x2E007B8F: push ecx */
   9309     MEM32(ebp + (-0x18)) = edx; /* 0x2E007B90: mov dword ptr [ebp - 0x18], edx */
   9310     RECOMP_ICALL(0x2E008620u); /* 0x2E007B93: call 0x2e008620 */ /* not lifted */
   9311     RECOMP_FLAGS_IN();
   9312     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   9313     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9314     esp = esp + 8; /* 0x2E007B98: add esp, 8 */
   9315     _flag_k = FK_ADD;
   9316     /* test LO8(eax), LO8(eax) */ /* 0x2E007B9B: test al, al */
   9317     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9318     _cf = 0;
   9319     _flag_k = FK_NARROW(FK_TEST, 24);
   9320     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007BEE; /* 0x2E007B9D: jne 0x2e007bee */
   9321 L_2E007B9F:
   9322     edx = ebp + (-0x64); /* 0x2E007B9F: lea edx, [ebp - 0x64] */
   9323     PUSH32(esp, 1); /* 0x2E007BA2: push 1 */
   9324     PUSH32(esp, edx); /* 0x2E007BA4: push edx */
   9325     ecx = ebp + (-0x34); /* 0x2E007BA5: lea ecx, [ebp - 0x34] */
   9326     RECOMP_ICALL(0x2E004870u); /* 0x2E007BA8: call 0x2e004870 */ /* not lifted */
   9327     RECOMP_FLAGS_IN();
   9328     eax = MEM32(eax + 0x8); /* 0x2E007BAD: mov eax, dword ptr [eax + 8] */
   9329     ecx = edi; /* 0x2E007BB0: mov ecx, edi */
   9330     eax = MEM32(eax); /* 0x2E007BB2: mov eax, dword ptr [eax] */
   9331     PUSH32(esp, eax); /* 0x2E007BB4: push eax */
   9332     RECOMP_ICALL(ebx); /* 0x2E007BB5: call ebx */
   9333     RECOMP_FLAGS_IN();
   9334     ecx = ebp + (-0x34); /* 0x2E007BB7: lea ecx, [ebp - 0x34] */
   9335     RECOMP_ICALL(0x2E0083D0u); /* 0x2E007BBA: call 0x2e0083d0 */ /* not lifted */
   9336     RECOMP_FLAGS_IN();
   9337     eax = esi + 0x54; /* 0x2E007BBF: lea eax, [esi + 0x54] */
   9338     ecx = MEM32(esi + 0x54); /* 0x2E007BC2: mov ecx, dword ptr [esi + 0x54] */
   9339     MEM32(ebp + (-0x24)) = ecx; /* 0x2E007BC5: mov dword ptr [ebp - 0x24], ecx */
   9340     edx = MEM32(eax + 0x4); /* 0x2E007BC8: mov edx, dword ptr [eax + 4] */
   9341     MEM32(ebp + (-0x20)) = edx; /* 0x2E007BCB: mov dword ptr [ebp - 0x20], edx */
   9342     ecx = MEM32(eax + 0x8); /* 0x2E007BCE: mov ecx, dword ptr [eax + 8] */
   9343     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E007BD1: mov dword ptr [ebp - 0x1c], ecx */
   9344     ecx = ebp + (-0x34); /* 0x2E007BD4: lea ecx, [ebp - 0x34] */
   9345     edx = MEM32(eax + 0xC); /* 0x2E007BD7: mov edx, dword ptr [eax + 0xc] */
   9346     eax = ebp + (-0x24); /* 0x2E007BDA: lea eax, [ebp - 0x24] */
   9347     PUSH32(esp, eax); /* 0x2E007BDD: push eax */
   9348     PUSH32(esp, ecx); /* 0x2E007BDE: push ecx */
   9349     MEM32(ebp + (-0x18)) = edx; /* 0x2E007BDF: mov dword ptr [ebp - 0x18], edx */
   9350     RECOMP_ICALL(0x2E008620u); /* 0x2E007BE2: call 0x2e008620 */ /* not lifted */
   9351     RECOMP_FLAGS_IN();
   9352     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   9353     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9354     esp = esp + 8; /* 0x2E007BE7: add esp, 8 */
   9355     _flag_k = FK_ADD;
   9356     /* test LO8(eax), LO8(eax) */ /* 0x2E007BEA: test al, al */
   9357     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9358     _cf = 0;
   9359     _flag_k = FK_NARROW(FK_TEST, 24);
   9360     RECOMP_BACKEDGE();
   9361     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007B9F; /* 0x2E007BEC: je 0x2e007b9f */
   9362 L_2E007BEE:
   9363     eax = MEM32(esi + 0x7C); /* 0x2E007BEE: mov eax, dword ptr [esi + 0x7c] */
   9364     ecx = edi; /* 0x2E007BF1: mov ecx, edi */
   9365     PUSH32(esp, eax); /* 0x2E007BF3: push eax */
   9366     RECOMP_ICALL(ebx); /* 0x2E007BF4: call ebx */
   9367     RECOMP_FLAGS_IN();
   9368     edx = esi + 0x94; /* 0x2E007BF6: lea edx, [esi + 0x94] */
   9369     eax = MEM32(esi + 0x94); /* 0x2E007BFC: mov eax, dword ptr [esi + 0x94] */
   9370     MEM32(ebp + (-0x44)) = eax; /* 0x2E007C02: mov dword ptr [ebp - 0x44], eax */
   9371     ecx = MEM32(edx + 0x4); /* 0x2E007C05: mov ecx, dword ptr [edx + 4] */
   9372     MEM32(ebp + (-0x40)) = ecx; /* 0x2E007C08: mov dword ptr [ebp - 0x40], ecx */
   9373     eax = MEM32(edx + 0x8); /* 0x2E007C0B: mov eax, dword ptr [edx + 8] */
   9374     MEM32(ebp + (-0x3C)) = eax; /* 0x2E007C0E: mov dword ptr [ebp - 0x3c], eax */
   9375     eax = esi + 0x84; /* 0x2E007C11: lea eax, [esi + 0x84] */
   9376     ecx = MEM32(edx + 0xC); /* 0x2E007C17: mov ecx, dword ptr [edx + 0xc] */
   9377     edx = MEM32(eax); /* 0x2E007C1A: mov edx, dword ptr [eax] */
   9378     MEM32(ebp + (-0x38)) = ecx; /* 0x2E007C1C: mov dword ptr [ebp - 0x38], ecx */
   9379     MEM32(ebp + (-0x24)) = edx; /* 0x2E007C1F: mov dword ptr [ebp - 0x24], edx */
   9380     ecx = MEM32(eax + 0x4); /* 0x2E007C22: mov ecx, dword ptr [eax + 4] */
   9381     MEM32(ebp + (-0x20)) = ecx; /* 0x2E007C25: mov dword ptr [ebp - 0x20], ecx */
   9382     ecx = ebp + (-0x24); /* 0x2E007C28: lea ecx, [ebp - 0x24] */
   9383     edx = MEM32(eax + 0x8); /* 0x2E007C2B: mov edx, dword ptr [eax + 8] */
   9384     PUSH32(esp, ecx); /* 0x2E007C2E: push ecx */
   9385     MEM32(ebp + (-0x1C)) = edx; /* 0x2E007C2F: mov dword ptr [ebp - 0x1c], edx */
   9386     edx = ebp + (-0x44); /* 0x2E007C32: lea edx, [ebp - 0x44] */
   9387     eax = MEM32(eax + 0xC); /* 0x2E007C35: mov eax, dword ptr [eax + 0xc] */
   9388     PUSH32(esp, edx); /* 0x2E007C38: push edx */
   9389     MEM32(ebp + (-0x18)) = eax; /* 0x2E007C39: mov dword ptr [ebp - 0x18], eax */
   9390     RECOMP_ICALL(0x2E008620u); /* 0x2E007C3C: call 0x2e008620 */ /* not lifted */
   9391     RECOMP_FLAGS_IN();
   9392     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   9393     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9394     esp = esp + 8; /* 0x2E007C41: add esp, 8 */
   9395     _flag_k = FK_ADD;
   9396     /* test LO8(eax), LO8(eax) */ /* 0x2E007C44: test al, al */
   9397     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9398     _cf = 0;
   9399     _flag_k = FK_NARROW(FK_TEST, 24);
   9400     if (TEST_NZ(_flag_a, _flag_b)) goto L_2E007C9D; /* 0x2E007C46: jne 0x2e007c9d */
   9401 L_2E007C48:
   9402     eax = ebp + (-0x64); /* 0x2E007C48: lea eax, [ebp - 0x64] */
   9403     PUSH32(esp, 1); /* 0x2E007C4B: push 1 */
   9404     PUSH32(esp, eax); /* 0x2E007C4D: push eax */
   9405     ecx = ebp + (-0x44); /* 0x2E007C4E: lea ecx, [ebp - 0x44] */
   9406     RECOMP_ICALL(0x2E004870u); /* 0x2E007C51: call 0x2e004870 */ /* not lifted */
   9407     RECOMP_FLAGS_IN();
   9408     eax = MEM32(eax + 0x8); /* 0x2E007C56: mov eax, dword ptr [eax + 8] */
   9409     ecx = edi; /* 0x2E007C59: mov ecx, edi */
   9410     eax = MEM32(eax); /* 0x2E007C5B: mov eax, dword ptr [eax] */
   9411     PUSH32(esp, eax); /* 0x2E007C5D: push eax */
   9412     RECOMP_ICALL(ebx); /* 0x2E007C5E: call ebx */
   9413     RECOMP_FLAGS_IN();
   9414     ecx = ebp + (-0x44); /* 0x2E007C60: lea ecx, [ebp - 0x44] */
   9415     RECOMP_ICALL(0x2E0083D0u); /* 0x2E007C63: call 0x2e0083d0 */ /* not lifted */
   9416     RECOMP_FLAGS_IN();
   9417     eax = esi + 0x84; /* 0x2E007C68: lea eax, [esi + 0x84] */
   9418     ecx = MEM32(esi + 0x84); /* 0x2E007C6E: mov ecx, dword ptr [esi + 0x84] */
   9419     MEM32(ebp + (-0x24)) = ecx; /* 0x2E007C74: mov dword ptr [ebp - 0x24], ecx */
   9420     edx = MEM32(eax + 0x4); /* 0x2E007C77: mov edx, dword ptr [eax + 4] */
   9421     MEM32(ebp + (-0x20)) = edx; /* 0x2E007C7A: mov dword ptr [ebp - 0x20], edx */
   9422     ecx = MEM32(eax + 0x8); /* 0x2E007C7D: mov ecx, dword ptr [eax + 8] */
   9423     MEM32(ebp + (-0x1C)) = ecx; /* 0x2E007C80: mov dword ptr [ebp - 0x1c], ecx */
   9424     ecx = ebp + (-0x44); /* 0x2E007C83: lea ecx, [ebp - 0x44] */
   9425     edx = MEM32(eax + 0xC); /* 0x2E007C86: mov edx, dword ptr [eax + 0xc] */
   9426     eax = ebp + (-0x24); /* 0x2E007C89: lea eax, [ebp - 0x24] */
   9427     PUSH32(esp, eax); /* 0x2E007C8C: push eax */
   9428     PUSH32(esp, ecx); /* 0x2E007C8D: push ecx */
   9429     MEM32(ebp + (-0x18)) = edx; /* 0x2E007C8E: mov dword ptr [ebp - 0x18], edx */
   9430     RECOMP_ICALL(0x2E008620u); /* 0x2E007C91: call 0x2e008620 */ /* not lifted */
   9431     RECOMP_FLAGS_IN();
   9432     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   9433     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9434     esp = esp + 8; /* 0x2E007C96: add esp, 8 */
   9435     _flag_k = FK_ADD;
   9436     /* test LO8(eax), LO8(eax) */ /* 0x2E007C99: test al, al */
   9437     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9438     _cf = 0;
   9439     _flag_k = FK_NARROW(FK_TEST, 24);
   9440     RECOMP_BACKEDGE();
   9441     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007C48; /* 0x2E007C9B: je 0x2e007c48 */
   9442 L_2E007C9D:
   9443     eax = MEM32(esi + 0xDC); /* 0x2E007C9D: mov eax, dword ptr [esi + 0xdc] */
   9444     ecx = edi; /* 0x2E007CA3: mov ecx, edi */
   9445     PUSH32(esp, eax); /* 0x2E007CA5: push eax */
   9446     RECOMP_ICALL(ebx); /* 0x2E007CA6: call ebx */
   9447     RECOMP_FLAGS_IN();
   9448     eax = esi + 0xC4; /* 0x2E007CA8: lea eax, [esi + 0xc4] */
   9449     edx = eax; /* 0x2E007CAE: mov edx, eax */
   9450     ecx = MEM32(edx); /* 0x2E007CB0: mov ecx, dword ptr [edx] */
   9451     MEM32(ebp + (-0x54)) = ecx; /* 0x2E007CB2: mov dword ptr [ebp - 0x54], ecx */
   9452     ecx = MEM32(edx + 0x4); /* 0x2E007CB5: mov ecx, dword ptr [edx + 4] */
   9453     MEM32(ebp + (-0x50)) = ecx; /* 0x2E007CB8: mov dword ptr [ebp - 0x50], ecx */
   9454     ecx = MEM32(edx + 0x8); /* 0x2E007CBB: mov ecx, dword ptr [edx + 8] */
   9455     MEM32(ebp + (-0x4C)) = ecx; /* 0x2E007CBE: mov dword ptr [ebp - 0x4c], ecx */
   9456     ecx = esi + 0xB4; /* 0x2E007CC1: lea ecx, [esi + 0xb4] */
   9457     edx = MEM32(edx + 0xC); /* 0x2E007CC7: mov edx, dword ptr [edx + 0xc] */
   9458     MEM32(ebp + (-0x48)) = edx; /* 0x2E007CCA: mov dword ptr [ebp - 0x48], edx */
   9459     edx = ecx; /* 0x2E007CCD: mov edx, ecx */
   9460     ecx = MEM32(edx); /* 0x2E007CCF: mov ecx, dword ptr [edx] */
   9461     MEM32(ebp + (-0x24)) = ecx; /* 0x2E007CD1: mov dword ptr [ebp - 0x24], ecx */
   9462     ecx = MEM32(edx + 0x4); /* 0x2E007CD4: mov ecx, dword ptr [edx + 4] */
   9463     MEM32(ebp + (-0x20)) = ecx; /* 0x2E007CD7: mov dword ptr [ebp - 0x20], ecx */
   9464     ecx = MEM32(edx + 0x8); /* 0x2E007CDA: mov ecx, dword ptr [edx + 8] */
   9465     edx = MEM32(edx + 0xC); /* 0x2E007CDD: mov edx, dword ptr [edx + 0xc] */
   9466     MEM32(ebp + (-0x18)) = edx; /* 0x2E007CE0: mov dword ptr [ebp - 0x18], edx */
   9467     edx = MEM32(eax); /* 0x2E007CE3: mov edx, dword ptr [eax] */
   9468     MEM32(ebp + (-0x24)) = edx; /* 0x2E007CE5: mov dword ptr [ebp - 0x24], edx */
   9469     edx = MEM32(eax + 0x4); /* 0x2E007CE8: mov edx, dword ptr [eax + 4] */
   9470     MEM32(ebp + (-0x20)) = edx; /* 0x2E007CEB: mov dword ptr [ebp - 0x20], edx */
   9471     edx = MEM32(eax + 0x8); /* 0x2E007CEE: mov edx, dword ptr [eax + 8] */
   9472     eax = MEM32(eax + 0xC); /* 0x2E007CF1: mov eax, dword ptr [eax + 0xc] */
   9473     /* cmp edx, ecx */ /* 0x2E007CF4: cmp edx, ecx */
   9474     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   9475     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9476     _flag_k = FK_CMP;
   9477     MEM32(ebp + (-0x18)) = eax; /* 0x2E007CF6: mov dword ptr [ebp - 0x18], eax */
   9478     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007D45; /* 0x2E007CF9: je 0x2e007d45 */
   9479 L_2E007CFB:
   9480     ecx = ebp + (-0x64); /* 0x2E007CFB: lea ecx, [ebp - 0x64] */
   9481     PUSH32(esp, 1); /* 0x2E007CFE: push 1 */
   9482     PUSH32(esp, ecx); /* 0x2E007D00: push ecx */
   9483     ecx = ebp + (-0x54); /* 0x2E007D01: lea ecx, [ebp - 0x54] */
   9484     RECOMP_ICALL(0x2E004870u); /* 0x2E007D04: call 0x2e004870 */ /* not lifted */
   9485     RECOMP_FLAGS_IN();
   9486     eax = MEM32(eax + 0x8); /* 0x2E007D09: mov eax, dword ptr [eax + 8] */
   9487     PUSH32(esp, ecx); /* 0x2E007D0C: push ecx */
   9488     ecx = edi; /* 0x2E007D0D: mov ecx, edi */
   9489     fp_push(*(float*)&MEM32(eax)); /* 0x2E007D0F: fld dword ptr [eax] */
   9490     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2E007D11: fstp dword ptr [esp] */
   9491     RECOMP_ICALL(MEM32(0x2E0121E0)); /* 0x2E007D14: call dword ptr [0x2e0121e0] */
   9492     RECOMP_FLAGS_IN();
   9493     ecx = ebp + (-0x54); /* 0x2E007D1A: lea ecx, [ebp - 0x54] */
   9494     RECOMP_ICALL(0x2E0083D0u); /* 0x2E007D1D: call 0x2e0083d0 */ /* not lifted */
   9495     RECOMP_FLAGS_IN();
   9496     eax = esi + 0xB4; /* 0x2E007D22: lea eax, [esi + 0xb4] */
   9497     edx = eax; /* 0x2E007D28: mov edx, eax */
   9498     eax = MEM32(edx); /* 0x2E007D2A: mov eax, dword ptr [edx] */
   9499     MEM32(ebp + (-0x24)) = eax; /* 0x2E007D2C: mov dword ptr [ebp - 0x24], eax */
   9500     ecx = MEM32(edx + 0x4); /* 0x2E007D2F: mov ecx, dword ptr [edx + 4] */
   9501     MEM32(ebp + (-0x20)) = ecx; /* 0x2E007D32: mov dword ptr [ebp - 0x20], ecx */
   9502     ecx = MEM32(ebp + (-0x4C)); /* 0x2E007D35: mov ecx, dword ptr [ebp - 0x4c] */
   9503     eax = MEM32(edx + 0x8); /* 0x2E007D38: mov eax, dword ptr [edx + 8] */
   9504     /* cmp ecx, eax */ /* 0x2E007D3B: cmp ecx, eax */
   9505     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   9506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9507     _flag_k = FK_CMP;
   9508     edx = MEM32(edx + 0xC); /* 0x2E007D3D: mov edx, dword ptr [edx + 0xc] */
   9509     MEM32(ebp + (-0x18)) = edx; /* 0x2E007D40: mov dword ptr [ebp - 0x18], edx */
   9510     RECOMP_BACKEDGE();
   9511     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007CFB; /* 0x2E007D43: jne 0x2e007cfb */
   9512 L_2E007D45:
   9513     eax = MEM32(esi + 0x4C); /* 0x2E007D45: mov eax, dword ptr [esi + 0x4c] */
   9514     ecx = edi; /* 0x2E007D48: mov ecx, edi */
   9515     PUSH32(esp, eax); /* 0x2E007D4A: push eax */
   9516     RECOMP_ICALL(MEM32(0x2E0121E0)); /* 0x2E007D4B: call dword ptr [0x2e0121e0] */
   9517     RECOMP_FLAGS_IN();
   9518     eax = MEM32(esi + 0xE0); /* 0x2E007D51: mov eax, dword ptr [esi + 0xe0] */
   9519     ecx = edi; /* 0x2E007D57: mov ecx, edi */
   9520     PUSH32(esp, eax); /* 0x2E007D59: push eax */
   9521     RECOMP_ICALL(ebx); /* 0x2E007D5A: call ebx */
   9522     RECOMP_FLAGS_IN();
   9523     eax = MEM32(esi + 0xE4); /* 0x2E007D5C: mov eax, dword ptr [esi + 0xe4] */
   9524     ecx = edi; /* 0x2E007D62: mov ecx, edi */
   9525     PUSH32(esp, eax); /* 0x2E007D64: push eax */
   9526     RECOMP_ICALL(ebx); /* 0x2E007D65: call ebx */
   9527     RECOMP_FLAGS_IN();
   9528     eax = MEM32(esi + 0xE8); /* 0x2E007D67: mov eax, dword ptr [esi + 0xe8] */
   9529     ecx = edi; /* 0x2E007D6D: mov ecx, edi */
   9530     PUSH32(esp, eax); /* 0x2E007D6F: push eax */
   9531     RECOMP_ICALL(ebx); /* 0x2E007D70: call ebx */
   9532     RECOMP_FLAGS_IN();
   9533     eax = MEM32(esi + 0xEC); /* 0x2E007D72: mov eax, dword ptr [esi + 0xec] */
   9534     ecx = edi; /* 0x2E007D78: mov ecx, edi */
   9535     PUSH32(esp, eax); /* 0x2E007D7A: push eax */
   9536     RECOMP_ICALL(ebx); /* 0x2E007D7B: call ebx */
   9537     RECOMP_FLAGS_IN();
   9538     eax = MEM32(esi + 0xF0); /* 0x2E007D7D: mov eax, dword ptr [esi + 0xf0] */
   9539     ecx = edi; /* 0x2E007D83: mov ecx, edi */
   9540     PUSH32(esp, eax); /* 0x2E007D85: push eax */
   9541     RECOMP_ICALL(ebx); /* 0x2E007D86: call ebx */
   9542     RECOMP_FLAGS_IN();
   9543     eax = MEM32(esi + 0xF8); /* 0x2E007D88: mov eax, dword ptr [esi + 0xf8] */
   9544     ecx = edi; /* 0x2E007D8E: mov ecx, edi */
   9545     PUSH32(esp, eax); /* 0x2E007D90: push eax */
   9546     RECOMP_ICALL(ebx); /* 0x2E007D91: call ebx */
   9547     RECOMP_FLAGS_IN();
   9548     esi = MEM32(esi + 0xF4); /* 0x2E007D93: mov esi, dword ptr [esi + 0xf4] */
   9549     ecx = edi; /* 0x2E007D99: mov ecx, edi */
   9550     PUSH32(esp, esi); /* 0x2E007D9B: push esi */
   9551     RECOMP_ICALL(ebx); /* 0x2E007D9C: call ebx */
   9552     RECOMP_FLAGS_IN();
   9553     eax = MEM32(ebp + (-0x10)); /* 0x2E007D9E: mov eax, dword ptr [ebp - 0x10] */
   9554     esi = MEM32(0x2E0121A4); /* 0x2E007DA1: mov esi, dword ptr [0x2e0121a4] */
   9555     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
   9556     edi = edi | 0xFFFFFFFFu; /* 0x2E007DA7: or edi, 0xffffffff */
   9557     _cf = 0;
   9558     _flag_k = FK_TEST;
   9559     /* cmp eax, edi */ /* 0x2E007DAA: cmp eax, edi */
   9560     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   9561     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9562     _flag_k = FK_CMP;
   9563     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007DB6; /* 0x2E007DAC: je 0x2e007db6 */
   9564 L_2E007DAE:
   9565     ecx = MEM32(ebp + (-0x14)); /* 0x2E007DAE: mov ecx, dword ptr [ebp - 0x14] */
   9566     MEM32(ebp + (-0x10)) = edi; /* 0x2E007DB1: mov dword ptr [ebp - 0x10], edi */
   9567     RECOMP_ICALL(esi); /* 0x2E007DB4: call esi */
   9568     RECOMP_FLAGS_IN();
   9569 L_2E007DB6:
   9570     eax = MEM32(ebp + (-0x10)); /* 0x2E007DB6: mov eax, dword ptr [ebp - 0x10] */
   9571     MEM32(ebp + (-0x4)) = edi; /* 0x2E007DB9: mov dword ptr [ebp - 4], edi */
   9572     /* cmp eax, edi */ /* 0x2E007DBC: cmp eax, edi */
   9573     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   9574     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9575     _flag_k = FK_CMP;
   9576     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007DC5; /* 0x2E007DBE: je 0x2e007dc5 */
   9577 L_2E007DC0:
   9578     ecx = MEM32(ebp + (-0x14)); /* 0x2E007DC0: mov ecx, dword ptr [ebp - 0x14] */
   9579     RECOMP_ICALL(esi); /* 0x2E007DC3: call esi */
   9580     RECOMP_FLAGS_IN();
   9581 L_2E007DC5:
   9582     ecx = MEM32(ebp + (-0xC)); /* 0x2E007DC5: mov ecx, dword ptr [ebp - 0xc] */
   9583     edi = POP32_VAL(esp); /* 0x2E007DC8: pop edi */
   9584     esi = POP32_VAL(esp); /* 0x2E007DC9: pop esi */
   9585     ebx = POP32_VAL(esp); /* 0x2E007DCA: pop ebx */
   9586     MEM32(FS_BASE + (0)) = ecx; /* 0x2E007DCB: mov dword ptr fs:[0], ecx */
   9587     esp = ebp; /* 0x2E007DD2: mov esp, ebp */
   9588     ebp = POP32_VAL(esp); /* 0x2E007DD4: pop ebp */
   9589     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E007DD5: ret 4 */
   9590     RECOMP_REGS_OUT();
   9591 }
   9592 
   9593 void sub_2E007DE0(void) {
   9594     int _fpu_cmp = 0;
   9595     uint32_t _cf = 0;
   9596     int _df = 1;
   9597     uint32_t _flag_k = FK_NONE;
   9598     uint32_t _flag_a = 0, _flag_b = 0;
   9599     uint32_t _itail_tgt = 0;
   9600     RECOMP_REGS_LOCALS
   9601     RECOMP_ENTER(0x2E007DE0u);
   9602 
   9603 L_2E007DE0:
   9604     PUSH32(esp, ebp); /* 0x2E007DE0: push ebp */
   9605     ebp = esp; /* 0x2E007DE1: mov ebp, esp */
   9606     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E007DE3: push -1 */
   9607     PUSH32(esp, 0x2E011A58u); /* 0x2E007DE5: push 0x2e011a58 */
   9608     eax = MEM32(FS_BASE + (0)); /* 0x2E007DEA: mov eax, dword ptr fs:[0] */
   9609     PUSH32(esp, eax); /* 0x2E007DF0: push eax */
   9610     MEM32(FS_BASE + (0)) = esp; /* 0x2E007DF1: mov dword ptr fs:[0], esp */
   9611     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u);
   9612     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9613     esp = esp - 0x58u; /* 0x2E007DF8: sub esp, 0x58 */
   9614     _flag_k = FK_CMP;
   9615     PUSH32(esp, ebx); /* 0x2E007DFB: push ebx */
   9616     PUSH32(esp, esi); /* 0x2E007DFC: push esi */
   9617     esi = ecx; /* 0x2E007DFD: mov esi, ecx */
   9618     PUSH32(esp, edi); /* 0x2E007DFF: push edi */
   9619     ecx = ebp + (-0x44); /* 0x2E007E00: lea ecx, [ebp - 0x44] */
   9620     edi = esi + 0x4; /* 0x2E007E03: lea edi, [esi + 4] */
   9621     PUSH32(esp, edi); /* 0x2E007E06: push edi */
   9622     RECOMP_ICALL(0x2E008130u); /* 0x2E007E07: call 0x2e008130 */ /* not lifted */
   9623     RECOMP_FLAGS_IN();
   9624     ebx = MEM32(esi + 0x7C); /* 0x2E007E0C: mov ebx, dword ptr [esi + 0x7c] */
   9625     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9626     ecx = 0; /* 0x2E007E0F: xor ecx, ecx */
   9627     _cf = 0;
   9628     _flag_k = FK_TEST;
   9629     /* cmp ebx, ecx */ /* 0x2E007E11: cmp ebx, ecx */
   9630     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx);
   9631     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9632     _flag_k = FK_CMP;
   9633     MEM32(ebp + (-0x4)) = ecx; /* 0x2E007E13: mov dword ptr [ebp - 4], ecx */
   9634     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E007E3B; /* 0x2E007E16: je 0x2e007e3b */
   9635 L_2E007E18:
   9636     ecx = esi + 0x50; /* 0x2E007E18: lea ecx, [esi + 0x50] */
   9637     RECOMP_ICALL(0x2E0081F0u); /* 0x2E007E1B: call 0x2e0081f0 */ /* not lifted */
   9638     RECOMP_FLAGS_IN();
   9639     ecx = esi + 0x80; /* 0x2E007E20: lea ecx, [esi + 0x80] */
   9640     RECOMP_ICALL(0x2E0081F0u); /* 0x2E007E26: call 0x2e0081f0 */ /* not lifted */
   9641     RECOMP_FLAGS_IN();
   9642     ecx = esi + 0xB0; /* 0x2E007E2B: lea ecx, [esi + 0xb0] */
   9643     RECOMP_ICALL(0x2E0081F0u); /* 0x2E007E31: call 0x2e0081f0 */ /* not lifted */
   9644     RECOMP_FLAGS_IN();
   9645     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   9646     ebx = ebx - 1; /* 0x2E007E36: dec ebx */
   9647     _flag_k = FK_DEC;
   9648     RECOMP_BACKEDGE();
   9649     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E007E18; /* 0x2E007E37: jne 0x2e007e18 */
   9650 L_2E007E39:
   9651     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9652     ecx = 0; /* 0x2E007E39: xor ecx, ecx */
   9653     _cf = 0;
   9654     _flag_k = FK_TEST;
   9655 L_2E007E3B:
   9656     eax = esi + 0xE4; /* 0x2E007E3B: lea eax, [esi + 0xe4] */
   9657     MEM32(esi + 0xE8) = ecx; /* 0x2E007E41: mov dword ptr [esi + 0xe8], ecx */
   9658     MEM32(ebp + (-0x28)) = eax; /* 0x2E007E47: mov dword ptr [ebp - 0x28], eax */
   9659     MEM32(esi + 0xF8) = ecx; /* 0x2E007E4A: mov dword ptr [esi + 0xf8], ecx */
   9660     MEM32(eax) = ecx; /* 0x2E007E50: mov dword ptr [eax], ecx */
   9661     eax = esi + 0xE8; /* 0x2E007E52: lea eax, [esi + 0xe8] */
   9662     MEM32(ebp + (-0x2C)) = eax; /* 0x2E007E58: mov dword ptr [ebp - 0x2c], eax */
   9663     eax = esi + 0xF8; /* 0x2E007E5B: lea eax, [esi + 0xf8] */
   9664     MEM32(ebp + (-0x38)) = eax; /* 0x2E007E61: mov dword ptr [ebp - 0x38], eax */
   9665     eax = esi + 0xEC; /* 0x2E007E64: lea eax, [esi + 0xec] */
   9666     MEM32(ebp + (-0x30)) = eax; /* 0x2E007E6A: mov dword ptr [ebp - 0x30], eax */
   9667     MEM32(esi + 0xF0) = ecx; /* 0x2E007E6D: mov dword ptr [esi + 0xf0], ecx */
   9668     MEM32(eax) = ecx; /* 0x2E007E73: mov dword ptr [eax], ecx */
   9669     eax = esi + 0xF0; /* 0x2E007E75: lea eax, [esi + 0xf0] */
   9670     MEM32(ebp + (-0x34)) = eax; /* 0x2E007E7B: mov dword ptr [ebp - 0x34], eax */
   9671     eax = esi + 0xF4; /* 0x2E007E7E: lea eax, [esi + 0xf4] */
   9672     MEM32(esi + 0x4C) = ecx; /* 0x2E007E84: mov dword ptr [esi + 0x4c], ecx */
   9673     MEM32(esi + 0xFC) = ecx; /* 0x2E007E87: mov dword ptr [esi + 0xfc], ecx */
   9674     MEM32(eax) = ecx; /* 0x2E007E8D: mov dword ptr [eax], ecx */
   9675     ecx = ebp + (-0x44); /* 0x2E007E8F: lea ecx, [ebp - 0x44] */
   9676     MEM32(ebp + (-0x3C)) = eax; /* 0x2E007E92: mov dword ptr [ebp - 0x3c], eax */
   9677     RECOMP_ICALL(0x2E0048E0u); /* 0x2E007E95: call 0x2e0048e0 */ /* not lifted */
   9678     RECOMP_FLAGS_IN();
   9679     ecx = ebp + (-0x44); /* 0x2E007E9A: lea ecx, [ebp - 0x44] */
   9680     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2E007E9D: mov dword ptr [ebp - 4], 0xffffffff */
   9681     RECOMP_ICALL(0x2E0048E0u); /* 0x2E007EA4: call 0x2e0048e0 */ /* not lifted */
   9682     RECOMP_FLAGS_IN();
   9683     ecx = edi; /* 0x2E007EA9: mov ecx, edi */
   9684     MEM32(ebp + (-0x44)) = ecx; /* 0x2E007EAB: mov dword ptr [ebp - 0x44], ecx */
   9685     PUSH32(esp, 2); /* 0x2E007EAE: push 2 */
   9686     PUSH32(esp, 0); /* 0x2E007EB0: push 0 */
   9687     PUSH32(esp, 0); /* 0x2E007EB2: push 0 */
   9688     PUSH32(esp, 0); /* 0x2E007EB4: push 0 */
   9689     MEM32(ebp + (-0x4)) = 1; /* 0x2E007EB6: mov dword ptr [ebp - 4], 1 */
   9690     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E007EBD: call dword ptr [0x2e01212c] */
   9691     RECOMP_FLAGS_IN();
   9692     MEM32(ebp + (-0x40)) = eax; /* 0x2E007EC3: mov dword ptr [ebp - 0x40], eax */
   9693     edi = MEM32(ebp + 0x8); /* 0x2E007EC6: mov edi, dword ptr [ebp + 8] */
   9694     ebx = MEM32(0x2E0121FC); /* 0x2E007EC9: mov ebx, dword ptr [0x2e0121fc] */
   9695     eax = ebp + (-0x10); /* 0x2E007ECF: lea eax, [ebp - 0x10] */
   9696     ecx = edi; /* 0x2E007ED2: mov ecx, edi */
   9697     PUSH32(esp, eax); /* 0x2E007ED4: push eax */
   9698     MEM32(ebp + (-0x4)) = 2; /* 0x2E007ED5: mov dword ptr [ebp - 4], 2 */
   9699     RECOMP_ICALL(ebx); /* 0x2E007EDC: call ebx */
   9700     RECOMP_FLAGS_IN();
   9701     eax = MEM32(ebp + (-0x10)); /* 0x2E007EDE: mov eax, dword ptr [ebp - 0x10] */
   9702     MEM32(ebp + 0x8) = 0; /* 0x2E007EE1: mov dword ptr [ebp + 8], 0 */
   9703     /* test eax, eax */ /* 0x2E007EE8: test eax, eax */
   9704     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9705     _cf = 0;
   9706     _flag_k = FK_TEST;
   9707     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007F5E; /* 0x2E007EEA: jbe 0x2e007f5e */
   9708 L_2E007EEC:
   9709     ecx = ebp + (-0x1C); /* 0x2E007EEC: lea ecx, [ebp - 0x1c] */
   9710     PUSH32(esp, ecx); /* 0x2E007EEF: push ecx */
   9711     ecx = edi; /* 0x2E007EF0: mov ecx, edi */
   9712     RECOMP_ICALL(ebx); /* 0x2E007EF2: call ebx */
   9713     RECOMP_FLAGS_IN();
   9714     eax = MEM32(esi + 0x7C); /* 0x2E007EF4: mov eax, dword ptr [esi + 0x7c] */
   9715     ecx = esi + 0x50; /* 0x2E007EF7: lea ecx, [esi + 0x50] */
   9716     /* test eax, eax */ /* 0x2E007EFA: test eax, eax */
   9717     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9718     _cf = 0;
   9719     _flag_k = FK_TEST;
   9720     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007F08; /* 0x2E007EFC: je 0x2e007f08 */
   9721 L_2E007EFE:
   9722     edx = MEM32(ecx + 0x1C); /* 0x2E007EFE: mov edx, dword ptr [ecx + 0x1c] */
   9723     eax = MEM32(ecx + 0x18); /* 0x2E007F01: mov eax, dword ptr [ecx + 0x18] */
   9724     /* cmp edx, eax */ /* 0x2E007F04: cmp edx, eax */
   9725     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9727     _flag_k = FK_CMP;
   9728     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007F0D; /* 0x2E007F06: jne 0x2e007f0d */
   9729 L_2E007F08:
   9730     RECOMP_ICALL(0x2E008400u); /* 0x2E007F08: call 0x2e008400 */ /* not lifted */
   9731     RECOMP_FLAGS_IN();
   9732 L_2E007F0D:
   9733     ecx = esi + 0x64; /* 0x2E007F0D: lea ecx, [esi + 0x64] */
   9734     MEM32(ebp + (-0x18)) = ecx; /* 0x2E007F10: mov dword ptr [ebp - 0x18], ecx */
   9735     RECOMP_ICALL(0x2E003A80u); /* 0x2E007F13: call 0x2e003a80 */ /* not lifted */
   9736     RECOMP_FLAGS_IN();
   9737     ecx = MEM32(ebp + (-0x18)); /* 0x2E007F18: mov ecx, dword ptr [ebp - 0x18] */
   9738     eax = ebp + (-0x64); /* 0x2E007F1B: lea eax, [ebp - 0x64] */
   9739     PUSH32(esp, 1); /* 0x2E007F1E: push 1 */
   9740     PUSH32(esp, eax); /* 0x2E007F20: push eax */
   9741     RECOMP_ICALL(0x2E004870u); /* 0x2E007F21: call 0x2e004870 */ /* not lifted */
   9742     RECOMP_FLAGS_IN();
   9743     ecx = eax; /* 0x2E007F26: mov ecx, eax */
   9744     edx = MEM32(ecx); /* 0x2E007F28: mov edx, dword ptr [ecx] */
   9745     MEM32(ebp + (-0x54)) = edx; /* 0x2E007F2A: mov dword ptr [ebp - 0x54], edx */
   9746     edx = ebp + (-0x1C); /* 0x2E007F2D: lea edx, [ebp - 0x1c] */
   9747     eax = MEM32(ecx + 0x4); /* 0x2E007F30: mov eax, dword ptr [ecx + 4] */
   9748     PUSH32(esp, edx); /* 0x2E007F33: push edx */
   9749     MEM32(ebp + (-0x50)) = eax; /* 0x2E007F34: mov dword ptr [ebp - 0x50], eax */
   9750     eax = MEM32(ecx + 0x8); /* 0x2E007F37: mov eax, dword ptr [ecx + 8] */
   9751     PUSH32(esp, eax); /* 0x2E007F3A: push eax */
   9752     ecx = MEM32(ecx + 0xC); /* 0x2E007F3B: mov ecx, dword ptr [ecx + 0xc] */
   9753     MEM32(ebp + (-0x48)) = ecx; /* 0x2E007F3E: mov dword ptr [ebp - 0x48], ecx */
   9754     RECOMP_ICALL(0x2E008600u); /* 0x2E007F41: call 0x2e008600 */ /* not lifted */
   9755     RECOMP_FLAGS_IN();
   9756     eax = MEM32(esi + 0x7C); /* 0x2E007F46: mov eax, dword ptr [esi + 0x7c] */
   9757     ecx = MEM32(ebp + (-0x10)); /* 0x2E007F49: mov ecx, dword ptr [ebp - 0x10] */
   9758     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   9759     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9760     esp = esp + 8; /* 0x2E007F4C: add esp, 8 */
   9761     _flag_k = FK_ADD;
   9762     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9763     eax = eax + 1; /* 0x2E007F4F: inc eax */
   9764     _flag_k = FK_INC;
   9765     MEM32(esi + 0x7C) = eax; /* 0x2E007F50: mov dword ptr [esi + 0x7c], eax */
   9766     eax = MEM32(ebp + 0x8); /* 0x2E007F53: mov eax, dword ptr [ebp + 8] */
   9767     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9768     eax = eax + 1; /* 0x2E007F56: inc eax */
   9769     _flag_k = FK_INC;
   9770     /* cmp eax, ecx */ /* 0x2E007F57: cmp eax, ecx */
   9771     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   9772     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9773     _flag_k = FK_CMP;
   9774     MEM32(ebp + 0x8) = eax; /* 0x2E007F59: mov dword ptr [ebp + 8], eax */
   9775     RECOMP_BACKEDGE();
   9776     if (CMP_B(_flag_a, _flag_b)) goto L_2E007EEC; /* 0x2E007F5C: jb 0x2e007eec */
   9777 L_2E007F5E:
   9778     eax = ebp + (-0x10); /* 0x2E007F5E: lea eax, [ebp - 0x10] */
   9779     ecx = edi; /* 0x2E007F61: mov ecx, edi */
   9780     PUSH32(esp, eax); /* 0x2E007F63: push eax */
   9781     RECOMP_ICALL(ebx); /* 0x2E007F64: call ebx */
   9782     RECOMP_FLAGS_IN();
   9783     eax = MEM32(ebp + (-0x10)); /* 0x2E007F66: mov eax, dword ptr [ebp - 0x10] */
   9784     MEM32(ebp + 0x8) = 0; /* 0x2E007F69: mov dword ptr [ebp + 8], 0 */
   9785     /* test eax, eax */ /* 0x2E007F70: test eax, eax */
   9786     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9787     _cf = 0;
   9788     _flag_k = FK_TEST;
   9789     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007FF1; /* 0x2E007F72: jbe 0x2e007ff1 */
   9790 L_2E007F74:
   9791     ecx = ebp + (-0x20); /* 0x2E007F74: lea ecx, [ebp - 0x20] */
   9792     PUSH32(esp, ecx); /* 0x2E007F77: push ecx */
   9793     ecx = edi; /* 0x2E007F78: mov ecx, edi */
   9794     RECOMP_ICALL(ebx); /* 0x2E007F7A: call ebx */
   9795     RECOMP_FLAGS_IN();
   9796     eax = MEM32(esi + 0xAC); /* 0x2E007F7C: mov eax, dword ptr [esi + 0xac] */
   9797     ecx = esi + 0x80; /* 0x2E007F82: lea ecx, [esi + 0x80] */
   9798     /* test eax, eax */ /* 0x2E007F88: test eax, eax */
   9799     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9800     _cf = 0;
   9801     _flag_k = FK_TEST;
   9802     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007F96; /* 0x2E007F8A: je 0x2e007f96 */
   9803 L_2E007F8C:
   9804     edx = MEM32(ecx + 0x1C); /* 0x2E007F8C: mov edx, dword ptr [ecx + 0x1c] */
   9805     eax = MEM32(ecx + 0x18); /* 0x2E007F8F: mov eax, dword ptr [ecx + 0x18] */
   9806     /* cmp edx, eax */ /* 0x2E007F92: cmp edx, eax */
   9807     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9808     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9809     _flag_k = FK_CMP;
   9810     if (CMP_NE(_flag_a, _flag_b)) goto L_2E007F9B; /* 0x2E007F94: jne 0x2e007f9b */
   9811 L_2E007F96:
   9812     RECOMP_ICALL(0x2E008400u); /* 0x2E007F96: call 0x2e008400 */ /* not lifted */
   9813     RECOMP_FLAGS_IN();
   9814 L_2E007F9B:
   9815     ecx = esi + 0x94; /* 0x2E007F9B: lea ecx, [esi + 0x94] */
   9816     MEM32(ebp + (-0x18)) = ecx; /* 0x2E007FA1: mov dword ptr [ebp - 0x18], ecx */
   9817     RECOMP_ICALL(0x2E003A80u); /* 0x2E007FA4: call 0x2e003a80 */ /* not lifted */
   9818     RECOMP_FLAGS_IN();
   9819     ecx = MEM32(ebp + (-0x18)); /* 0x2E007FA9: mov ecx, dword ptr [ebp - 0x18] */
   9820     eax = ebp + (-0x64); /* 0x2E007FAC: lea eax, [ebp - 0x64] */
   9821     PUSH32(esp, 1); /* 0x2E007FAF: push 1 */
   9822     PUSH32(esp, eax); /* 0x2E007FB1: push eax */
   9823     RECOMP_ICALL(0x2E004870u); /* 0x2E007FB2: call 0x2e004870 */ /* not lifted */
   9824     RECOMP_FLAGS_IN();
   9825     ecx = eax; /* 0x2E007FB7: mov ecx, eax */
   9826     edx = MEM32(ecx); /* 0x2E007FB9: mov edx, dword ptr [ecx] */
   9827     MEM32(ebp + (-0x54)) = edx; /* 0x2E007FBB: mov dword ptr [ebp - 0x54], edx */
   9828     eax = MEM32(ecx + 0x4); /* 0x2E007FBE: mov eax, dword ptr [ecx + 4] */
   9829     MEM32(ebp + (-0x50)) = eax; /* 0x2E007FC1: mov dword ptr [ebp - 0x50], eax */
   9830     eax = MEM32(ecx + 0x8); /* 0x2E007FC4: mov eax, dword ptr [ecx + 8] */
   9831     /* test eax, eax */ /* 0x2E007FC7: test eax, eax */
   9832     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9833     _cf = 0;
   9834     _flag_k = FK_TEST;
   9835     ecx = MEM32(ecx + 0xC); /* 0x2E007FC9: mov ecx, dword ptr [ecx + 0xc] */
   9836     MEM32(ebp + (-0x48)) = ecx; /* 0x2E007FCC: mov dword ptr [ebp - 0x48], ecx */
   9837     if (TEST_Z(_flag_a, _flag_b)) goto L_2E007FD6; /* 0x2E007FCF: je 0x2e007fd6 */
   9838 L_2E007FD1:
   9839     edx = MEM32(ebp + (-0x20)); /* 0x2E007FD1: mov edx, dword ptr [ebp - 0x20] */
   9840     MEM32(eax) = edx; /* 0x2E007FD4: mov dword ptr [eax], edx */
   9841 L_2E007FD6:
   9842     eax = MEM32(esi + 0xAC); /* 0x2E007FD6: mov eax, dword ptr [esi + 0xac] */
   9843     ecx = MEM32(ebp + (-0x10)); /* 0x2E007FDC: mov ecx, dword ptr [ebp - 0x10] */
   9844     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9845     eax = eax + 1; /* 0x2E007FDF: inc eax */
   9846     _flag_k = FK_INC;
   9847     MEM32(esi + 0xAC) = eax; /* 0x2E007FE0: mov dword ptr [esi + 0xac], eax */
   9848     eax = MEM32(ebp + 0x8); /* 0x2E007FE6: mov eax, dword ptr [ebp + 8] */
   9849     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9850     eax = eax + 1; /* 0x2E007FE9: inc eax */
   9851     _flag_k = FK_INC;
   9852     /* cmp eax, ecx */ /* 0x2E007FEA: cmp eax, ecx */
   9853     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   9854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9855     _flag_k = FK_CMP;
   9856     MEM32(ebp + 0x8) = eax; /* 0x2E007FEC: mov dword ptr [ebp + 8], eax */
   9857     RECOMP_BACKEDGE();
   9858     if (CMP_B(_flag_a, _flag_b)) goto L_2E007F74; /* 0x2E007FEF: jb 0x2e007f74 */
   9859 L_2E007FF1:
   9860     eax = ebp + (-0x10); /* 0x2E007FF1: lea eax, [ebp - 0x10] */
   9861     ecx = edi; /* 0x2E007FF4: mov ecx, edi */
   9862     PUSH32(esp, eax); /* 0x2E007FF6: push eax */
   9863     RECOMP_ICALL(ebx); /* 0x2E007FF7: call ebx */
   9864     RECOMP_FLAGS_IN();
   9865     eax = MEM32(ebp + (-0x10)); /* 0x2E007FF9: mov eax, dword ptr [ebp - 0x10] */
   9866     MEM32(ebp + 0x8) = 0; /* 0x2E007FFC: mov dword ptr [ebp + 8], 0 */
   9867     /* test eax, eax */ /* 0x2E008003: test eax, eax */
   9868     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9869     _cf = 0;
   9870     _flag_k = FK_TEST;
   9871     MEM32(ebp + (-0x18)) = 0; /* 0x2E008005: mov dword ptr [ebp - 0x18], 0 */
   9872     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0080A4; /* 0x2E00800C: jbe 0x2e0080a4 */
   9873 L_2E008012:
   9874     ecx = ebp + (-0x14); /* 0x2E008012: lea ecx, [ebp - 0x14] */
   9875     PUSH32(esp, ecx); /* 0x2E008015: push ecx */
   9876     ecx = edi; /* 0x2E008016: mov ecx, edi */
   9877     RECOMP_ICALL(MEM32(0x2E0121EC)); /* 0x2E008018: call dword ptr [0x2e0121ec] */
   9878     RECOMP_FLAGS_IN();
   9879     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2E00801E: fld dword ptr [ebp - 0x14] */
   9880     _st[0] += (double)*(float*)ADDR(ebp + 0x8); /* 0x2E008021: fadd dword ptr [ebp + 8] */
   9881     eax = MEM32(esi + 0xDC); /* 0x2E008024: mov eax, dword ptr [esi + 0xdc] */
   9882     ecx = esi + 0xB0; /* 0x2E00802A: lea ecx, [esi + 0xb0] */
   9883     /* test eax, eax */ /* 0x2E008030: test eax, eax */
   9884     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9885     _cf = 0;
   9886     _flag_k = FK_TEST;
   9887     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2E008032: fstp dword ptr [ebp + 8] */
   9888     if (TEST_Z(_flag_a, _flag_b)) goto L_2E008041; /* 0x2E008035: je 0x2e008041 */
   9889 L_2E008037:
   9890     edx = MEM32(ecx + 0x1C); /* 0x2E008037: mov edx, dword ptr [ecx + 0x1c] */
   9891     eax = MEM32(ecx + 0x18); /* 0x2E00803A: mov eax, dword ptr [ecx + 0x18] */
   9892     /* cmp edx, eax */ /* 0x2E00803D: cmp edx, eax */
   9893     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   9894     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9895     _flag_k = FK_CMP;
   9896     if (CMP_NE(_flag_a, _flag_b)) goto L_2E008046; /* 0x2E00803F: jne 0x2e008046 */
   9897 L_2E008041:
   9898     RECOMP_ICALL(0x2E008400u); /* 0x2E008041: call 0x2e008400 */ /* not lifted */
   9899     RECOMP_FLAGS_IN();
   9900 L_2E008046:
   9901     ecx = esi + 0xC4; /* 0x2E008046: lea ecx, [esi + 0xc4] */
   9902     MEM32(ebp + (-0x24)) = ecx; /* 0x2E00804C: mov dword ptr [ebp - 0x24], ecx */
   9903     RECOMP_ICALL(0x2E003A80u); /* 0x2E00804F: call 0x2e003a80 */ /* not lifted */
   9904     RECOMP_FLAGS_IN();
   9905     ecx = MEM32(ebp + (-0x24)); /* 0x2E008054: mov ecx, dword ptr [ebp - 0x24] */
   9906     eax = ebp + (-0x64); /* 0x2E008057: lea eax, [ebp - 0x64] */
   9907     PUSH32(esp, 1); /* 0x2E00805A: push 1 */
   9908     PUSH32(esp, eax); /* 0x2E00805C: push eax */
   9909     RECOMP_ICALL(0x2E004870u); /* 0x2E00805D: call 0x2e004870 */ /* not lifted */
   9910     RECOMP_FLAGS_IN();
   9911     ecx = eax; /* 0x2E008062: mov ecx, eax */
   9912     edx = MEM32(ecx); /* 0x2E008064: mov edx, dword ptr [ecx] */
   9913     MEM32(ebp + (-0x54)) = edx; /* 0x2E008066: mov dword ptr [ebp - 0x54], edx */
   9914     edx = ebp + (-0x14); /* 0x2E008069: lea edx, [ebp - 0x14] */
   9915     eax = MEM32(ecx + 0x4); /* 0x2E00806C: mov eax, dword ptr [ecx + 4] */
   9916     PUSH32(esp, edx); /* 0x2E00806F: push edx */
   9917     MEM32(ebp + (-0x50)) = eax; /* 0x2E008070: mov dword ptr [ebp - 0x50], eax */
   9918     eax = MEM32(ecx + 0x8); /* 0x2E008073: mov eax, dword ptr [ecx + 8] */
   9919     PUSH32(esp, eax); /* 0x2E008076: push eax */
   9920     ecx = MEM32(ecx + 0xC); /* 0x2E008077: mov ecx, dword ptr [ecx + 0xc] */
   9921     MEM32(ebp + (-0x48)) = ecx; /* 0x2E00807A: mov dword ptr [ebp - 0x48], ecx */
   9922     RECOMP_ICALL(0x2E008600u); /* 0x2E00807D: call 0x2e008600 */ /* not lifted */
   9923     RECOMP_FLAGS_IN();
   9924     eax = MEM32(esi + 0xDC); /* 0x2E008082: mov eax, dword ptr [esi + 0xdc] */
   9925     ecx = MEM32(ebp + (-0x10)); /* 0x2E008088: mov ecx, dword ptr [ebp - 0x10] */
   9926     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   9927     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9928     esp = esp + 8; /* 0x2E00808B: add esp, 8 */
   9929     _flag_k = FK_ADD;
   9930     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9931     eax = eax + 1; /* 0x2E00808E: inc eax */
   9932     _flag_k = FK_INC;
   9933     MEM32(esi + 0xDC) = eax; /* 0x2E00808F: mov dword ptr [esi + 0xdc], eax */
   9934     eax = MEM32(ebp + (-0x18)); /* 0x2E008095: mov eax, dword ptr [ebp - 0x18] */
   9935     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9936     eax = eax + 1; /* 0x2E008098: inc eax */
   9937     _flag_k = FK_INC;
   9938     /* cmp eax, ecx */ /* 0x2E008099: cmp eax, ecx */
   9939     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   9940     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9941     _flag_k = FK_CMP;
   9942     MEM32(ebp + (-0x18)) = eax; /* 0x2E00809B: mov dword ptr [ebp - 0x18], eax */
   9943     RECOMP_BACKEDGE();
   9944     if (CMP_B(_flag_a, _flag_b)) goto L_2E008012; /* 0x2E00809E: jb 0x2e008012 */
   9945 L_2E0080A4:
   9946     eax = esi + 0x4C; /* 0x2E0080A4: lea eax, [esi + 0x4c] */
   9947     ecx = edi; /* 0x2E0080A7: mov ecx, edi */
   9948     PUSH32(esp, eax); /* 0x2E0080A9: push eax */
   9949     RECOMP_ICALL(MEM32(0x2E0121EC)); /* 0x2E0080AA: call dword ptr [0x2e0121ec] */
   9950     RECOMP_FLAGS_IN();
   9951     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xE0u);
   9952     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9953     esi = esi + 0xE0u; /* 0x2E0080B0: add esi, 0xe0 */
   9954     _flag_k = FK_ADD;
   9955     ecx = edi; /* 0x2E0080B6: mov ecx, edi */
   9956     PUSH32(esp, esi); /* 0x2E0080B8: push esi */
   9957     RECOMP_ICALL(ebx); /* 0x2E0080B9: call ebx */
   9958     RECOMP_FLAGS_IN();
   9959     eax = MEM32(ebp + (-0x28)); /* 0x2E0080BB: mov eax, dword ptr [ebp - 0x28] */
   9960     ecx = edi; /* 0x2E0080BE: mov ecx, edi */
   9961     PUSH32(esp, eax); /* 0x2E0080C0: push eax */
   9962     RECOMP_ICALL(ebx); /* 0x2E0080C1: call ebx */
   9963     RECOMP_FLAGS_IN();
   9964     ecx = MEM32(ebp + (-0x2C)); /* 0x2E0080C3: mov ecx, dword ptr [ebp - 0x2c] */
   9965     PUSH32(esp, ecx); /* 0x2E0080C6: push ecx */
   9966     ecx = edi; /* 0x2E0080C7: mov ecx, edi */
   9967     RECOMP_ICALL(ebx); /* 0x2E0080C9: call ebx */
   9968     RECOMP_FLAGS_IN();
   9969     edx = MEM32(ebp + (-0x30)); /* 0x2E0080CB: mov edx, dword ptr [ebp - 0x30] */
   9970     ecx = edi; /* 0x2E0080CE: mov ecx, edi */
   9971     PUSH32(esp, edx); /* 0x2E0080D0: push edx */
   9972     RECOMP_ICALL(ebx); /* 0x2E0080D1: call ebx */
   9973     RECOMP_FLAGS_IN();
   9974     eax = MEM32(ebp + (-0x34)); /* 0x2E0080D3: mov eax, dword ptr [ebp - 0x34] */
   9975     ecx = edi; /* 0x2E0080D6: mov ecx, edi */
   9976     PUSH32(esp, eax); /* 0x2E0080D8: push eax */
   9977     RECOMP_ICALL(ebx); /* 0x2E0080D9: call ebx */
   9978     RECOMP_FLAGS_IN();
   9979     ecx = MEM32(ebp + (-0x38)); /* 0x2E0080DB: mov ecx, dword ptr [ebp - 0x38] */
   9980     PUSH32(esp, ecx); /* 0x2E0080DE: push ecx */
   9981     ecx = edi; /* 0x2E0080DF: mov ecx, edi */
   9982     RECOMP_ICALL(ebx); /* 0x2E0080E1: call ebx */
   9983     RECOMP_FLAGS_IN();
   9984     edx = MEM32(ebp + (-0x3C)); /* 0x2E0080E3: mov edx, dword ptr [ebp - 0x3c] */
   9985     ecx = edi; /* 0x2E0080E6: mov ecx, edi */
   9986     PUSH32(esp, edx); /* 0x2E0080E8: push edx */
   9987     RECOMP_ICALL(ebx); /* 0x2E0080E9: call ebx */
   9988     RECOMP_FLAGS_IN();
   9989     eax = MEM32(ebp + (-0x40)); /* 0x2E0080EB: mov eax, dword ptr [ebp - 0x40] */
   9990     esi = MEM32(0x2E0121A4); /* 0x2E0080EE: mov esi, dword ptr [0x2e0121a4] */
   9991     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
   9992     edi = edi | 0xFFFFFFFFu; /* 0x2E0080F4: or edi, 0xffffffff */
   9993     _cf = 0;
   9994     _flag_k = FK_TEST;
   9995     /* cmp eax, edi */ /* 0x2E0080F7: cmp eax, edi */
   9996     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   9997     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9998     _flag_k = FK_CMP;
   9999     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E008103; /* 0x2E0080F9: je 0x2e008103 */
  10000 L_2E0080FB:
  10001     ecx = MEM32(ebp + (-0x44)); /* 0x2E0080FB: mov ecx, dword ptr [ebp - 0x44] */
  10002     MEM32(ebp + (-0x40)) = edi; /* 0x2E0080FE: mov dword ptr [ebp - 0x40], edi */
  10003     RECOMP_ICALL(esi); /* 0x2E008101: call esi */
  10004     RECOMP_FLAGS_IN();
  10005 L_2E008103:
  10006     eax = MEM32(ebp + (-0x40)); /* 0x2E008103: mov eax, dword ptr [ebp - 0x40] */
  10007     MEM32(ebp + (-0x4)) = edi; /* 0x2E008106: mov dword ptr [ebp - 4], edi */
  10008     /* cmp eax, edi */ /* 0x2E008109: cmp eax, edi */
  10009     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  10010     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10011     _flag_k = FK_CMP;
  10012     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E008112; /* 0x2E00810B: je 0x2e008112 */
  10013 L_2E00810D:
  10014     ecx = MEM32(ebp + (-0x44)); /* 0x2E00810D: mov ecx, dword ptr [ebp - 0x44] */
  10015     RECOMP_ICALL(esi); /* 0x2E008110: call esi */
  10016     RECOMP_FLAGS_IN();
  10017 L_2E008112:
  10018     ecx = MEM32(ebp + (-0xC)); /* 0x2E008112: mov ecx, dword ptr [ebp - 0xc] */
  10019     edi = POP32_VAL(esp); /* 0x2E008115: pop edi */
  10020     esi = POP32_VAL(esp); /* 0x2E008116: pop esi */
  10021     ebx = POP32_VAL(esp); /* 0x2E008117: pop ebx */
  10022     MEM32(FS_BASE + (0)) = ecx; /* 0x2E008118: mov dword ptr fs:[0], ecx */
  10023     esp = ebp; /* 0x2E00811F: mov esp, ebp */
  10024     ebp = POP32_VAL(esp); /* 0x2E008121: pop ebp */
  10025     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008122: ret 4 */
  10026     RECOMP_REGS_OUT();
  10027 }
  10028 
  10029 void sub_2E00800C(void) {
  10030     int _fpu_cmp = 0;
  10031     uint32_t _cf = 0;
  10032     int _df = 1;
  10033     uint32_t _flag_k = FK_NONE;
  10034     uint32_t _flag_a = 0, _flag_b = 0;
  10035     uint32_t _itail_tgt = 0;
  10036     RECOMP_REGS_LOCALS
  10037     RECOMP_ENTER(0x2E00800Cu);
  10038 
  10039 L_2E00800C:
  10040     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_BE, _cf)) goto L_2E0080A4; /* 0x2E00800C: jbe 0x2e0080a4 */
  10041 L_2E008012:
  10042     ecx = ebp + (-0x14); /* 0x2E008012: lea ecx, [ebp - 0x14] */
  10043     PUSH32(esp, ecx); /* 0x2E008015: push ecx */
  10044     ecx = edi; /* 0x2E008016: mov ecx, edi */
  10045     RECOMP_ICALL(MEM32(0x2E0121EC)); /* 0x2E008018: call dword ptr [0x2e0121ec] */
  10046     RECOMP_FLAGS_IN();
  10047     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2E00801E: fld dword ptr [ebp - 0x14] */
  10048     _st[0] += (double)*(float*)ADDR(ebp + 0x8); /* 0x2E008021: fadd dword ptr [ebp + 8] */
  10049     eax = MEM32(esi + 0xDC); /* 0x2E008024: mov eax, dword ptr [esi + 0xdc] */
  10050     ecx = esi + 0xB0; /* 0x2E00802A: lea ecx, [esi + 0xb0] */
  10051     /* test eax, eax */ /* 0x2E008030: test eax, eax */
  10052     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  10053     _cf = 0;
  10054     _flag_k = FK_TEST;
  10055     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2E008032: fstp dword ptr [ebp + 8] */
  10056     if (TEST_Z(_flag_a, _flag_b)) goto L_2E008041; /* 0x2E008035: je 0x2e008041 */
  10057 L_2E008037:
  10058     edx = MEM32(ecx + 0x1C); /* 0x2E008037: mov edx, dword ptr [ecx + 0x1c] */
  10059     eax = MEM32(ecx + 0x18); /* 0x2E00803A: mov eax, dword ptr [ecx + 0x18] */
  10060     /* cmp edx, eax */ /* 0x2E00803D: cmp edx, eax */
  10061     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  10062     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10063     _flag_k = FK_CMP;
  10064     if (CMP_NE(_flag_a, _flag_b)) goto L_2E008046; /* 0x2E00803F: jne 0x2e008046 */
  10065 L_2E008041:
  10066     RECOMP_ICALL(0x2E008400u); /* 0x2E008041: call 0x2e008400 */ /* not lifted */
  10067     RECOMP_FLAGS_IN();
  10068 L_2E008046:
  10069     ecx = esi + 0xC4; /* 0x2E008046: lea ecx, [esi + 0xc4] */
  10070     MEM32(ebp + (-0x24)) = ecx; /* 0x2E00804C: mov dword ptr [ebp - 0x24], ecx */
  10071     RECOMP_ICALL(0x2E003A80u); /* 0x2E00804F: call 0x2e003a80 */ /* not lifted */
  10072     RECOMP_FLAGS_IN();
  10073     ecx = MEM32(ebp + (-0x24)); /* 0x2E008054: mov ecx, dword ptr [ebp - 0x24] */
  10074     eax = ebp + (-0x64); /* 0x2E008057: lea eax, [ebp - 0x64] */
  10075     PUSH32(esp, 1); /* 0x2E00805A: push 1 */
  10076     PUSH32(esp, eax); /* 0x2E00805C: push eax */
  10077     RECOMP_ICALL(0x2E004870u); /* 0x2E00805D: call 0x2e004870 */ /* not lifted */
  10078     RECOMP_FLAGS_IN();
  10079     ecx = eax; /* 0x2E008062: mov ecx, eax */
  10080     edx = MEM32(ecx); /* 0x2E008064: mov edx, dword ptr [ecx] */
  10081     MEM32(ebp + (-0x54)) = edx; /* 0x2E008066: mov dword ptr [ebp - 0x54], edx */
  10082     edx = ebp + (-0x14); /* 0x2E008069: lea edx, [ebp - 0x14] */
  10083     eax = MEM32(ecx + 0x4); /* 0x2E00806C: mov eax, dword ptr [ecx + 4] */
  10084     PUSH32(esp, edx); /* 0x2E00806F: push edx */
  10085     MEM32(ebp + (-0x50)) = eax; /* 0x2E008070: mov dword ptr [ebp - 0x50], eax */
  10086     eax = MEM32(ecx + 0x8); /* 0x2E008073: mov eax, dword ptr [ecx + 8] */
  10087     PUSH32(esp, eax); /* 0x2E008076: push eax */
  10088     ecx = MEM32(ecx + 0xC); /* 0x2E008077: mov ecx, dword ptr [ecx + 0xc] */
  10089     MEM32(ebp + (-0x48)) = ecx; /* 0x2E00807A: mov dword ptr [ebp - 0x48], ecx */
  10090     RECOMP_ICALL(0x2E008600u); /* 0x2E00807D: call 0x2e008600 */ /* not lifted */
  10091     RECOMP_FLAGS_IN();
  10092     eax = MEM32(esi + 0xDC); /* 0x2E008082: mov eax, dword ptr [esi + 0xdc] */
  10093     ecx = MEM32(ebp + (-0x10)); /* 0x2E008088: mov ecx, dword ptr [ebp - 0x10] */
  10094     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  10095     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10096     esp = esp + 8; /* 0x2E00808B: add esp, 8 */
  10097     _flag_k = FK_ADD;
  10098     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  10099     eax = eax + 1; /* 0x2E00808E: inc eax */
  10100     _flag_k = FK_INC;
  10101     MEM32(esi + 0xDC) = eax; /* 0x2E00808F: mov dword ptr [esi + 0xdc], eax */
  10102     eax = MEM32(ebp + (-0x18)); /* 0x2E008095: mov eax, dword ptr [ebp - 0x18] */
  10103     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  10104     eax = eax + 1; /* 0x2E008098: inc eax */
  10105     _flag_k = FK_INC;
  10106     /* cmp eax, ecx */ /* 0x2E008099: cmp eax, ecx */
  10107     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10108     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10109     _flag_k = FK_CMP;
  10110     MEM32(ebp + (-0x18)) = eax; /* 0x2E00809B: mov dword ptr [ebp - 0x18], eax */
  10111     RECOMP_BACKEDGE();
  10112     if (CMP_B(_flag_a, _flag_b)) goto L_2E008012; /* 0x2E00809E: jb 0x2e008012 */
  10113 L_2E0080A4:
  10114     eax = esi + 0x4C; /* 0x2E0080A4: lea eax, [esi + 0x4c] */
  10115     ecx = edi; /* 0x2E0080A7: mov ecx, edi */
  10116     PUSH32(esp, eax); /* 0x2E0080A9: push eax */
  10117     RECOMP_ICALL(MEM32(0x2E0121EC)); /* 0x2E0080AA: call dword ptr [0x2e0121ec] */
  10118     RECOMP_FLAGS_IN();
  10119     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xE0u);
  10120     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10121     esi = esi + 0xE0u; /* 0x2E0080B0: add esi, 0xe0 */
  10122     _flag_k = FK_ADD;
  10123     ecx = edi; /* 0x2E0080B6: mov ecx, edi */
  10124     PUSH32(esp, esi); /* 0x2E0080B8: push esi */
  10125     RECOMP_ICALL(ebx); /* 0x2E0080B9: call ebx */
  10126     RECOMP_FLAGS_IN();
  10127     eax = MEM32(ebp + (-0x28)); /* 0x2E0080BB: mov eax, dword ptr [ebp - 0x28] */
  10128     ecx = edi; /* 0x2E0080BE: mov ecx, edi */
  10129     PUSH32(esp, eax); /* 0x2E0080C0: push eax */
  10130     RECOMP_ICALL(ebx); /* 0x2E0080C1: call ebx */
  10131     RECOMP_FLAGS_IN();
  10132     ecx = MEM32(ebp + (-0x2C)); /* 0x2E0080C3: mov ecx, dword ptr [ebp - 0x2c] */
  10133     PUSH32(esp, ecx); /* 0x2E0080C6: push ecx */
  10134     ecx = edi; /* 0x2E0080C7: mov ecx, edi */
  10135     RECOMP_ICALL(ebx); /* 0x2E0080C9: call ebx */
  10136     RECOMP_FLAGS_IN();
  10137     edx = MEM32(ebp + (-0x30)); /* 0x2E0080CB: mov edx, dword ptr [ebp - 0x30] */
  10138     ecx = edi; /* 0x2E0080CE: mov ecx, edi */
  10139     PUSH32(esp, edx); /* 0x2E0080D0: push edx */
  10140     RECOMP_ICALL(ebx); /* 0x2E0080D1: call ebx */
  10141     RECOMP_FLAGS_IN();
  10142     eax = MEM32(ebp + (-0x34)); /* 0x2E0080D3: mov eax, dword ptr [ebp - 0x34] */
  10143     ecx = edi; /* 0x2E0080D6: mov ecx, edi */
  10144     PUSH32(esp, eax); /* 0x2E0080D8: push eax */
  10145     RECOMP_ICALL(ebx); /* 0x2E0080D9: call ebx */
  10146     RECOMP_FLAGS_IN();
  10147     ecx = MEM32(ebp + (-0x38)); /* 0x2E0080DB: mov ecx, dword ptr [ebp - 0x38] */
  10148     PUSH32(esp, ecx); /* 0x2E0080DE: push ecx */
  10149     ecx = edi; /* 0x2E0080DF: mov ecx, edi */
  10150     RECOMP_ICALL(ebx); /* 0x2E0080E1: call ebx */
  10151     RECOMP_FLAGS_IN();
  10152     edx = MEM32(ebp + (-0x3C)); /* 0x2E0080E3: mov edx, dword ptr [ebp - 0x3c] */
  10153     ecx = edi; /* 0x2E0080E6: mov ecx, edi */
  10154     PUSH32(esp, edx); /* 0x2E0080E8: push edx */
  10155     RECOMP_ICALL(ebx); /* 0x2E0080E9: call ebx */
  10156     RECOMP_FLAGS_IN();
  10157     eax = MEM32(ebp + (-0x40)); /* 0x2E0080EB: mov eax, dword ptr [ebp - 0x40] */
  10158     esi = MEM32(0x2E0121A4); /* 0x2E0080EE: mov esi, dword ptr [0x2e0121a4] */
  10159     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
  10160     edi = edi | 0xFFFFFFFFu; /* 0x2E0080F4: or edi, 0xffffffff */
  10161     _cf = 0;
  10162     _flag_k = FK_TEST;
  10163     /* cmp eax, edi */ /* 0x2E0080F7: cmp eax, edi */
  10164     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  10165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10166     _flag_k = FK_CMP;
  10167     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E008103; /* 0x2E0080F9: je 0x2e008103 */
  10168 L_2E0080FB:
  10169     ecx = MEM32(ebp + (-0x44)); /* 0x2E0080FB: mov ecx, dword ptr [ebp - 0x44] */
  10170     MEM32(ebp + (-0x40)) = edi; /* 0x2E0080FE: mov dword ptr [ebp - 0x40], edi */
  10171     RECOMP_ICALL(esi); /* 0x2E008101: call esi */
  10172     RECOMP_FLAGS_IN();
  10173 L_2E008103:
  10174     eax = MEM32(ebp + (-0x40)); /* 0x2E008103: mov eax, dword ptr [ebp - 0x40] */
  10175     MEM32(ebp + (-0x4)) = edi; /* 0x2E008106: mov dword ptr [ebp - 4], edi */
  10176     /* cmp eax, edi */ /* 0x2E008109: cmp eax, edi */
  10177     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  10178     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10179     _flag_k = FK_CMP;
  10180     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E008112; /* 0x2E00810B: je 0x2e008112 */
  10181 L_2E00810D:
  10182     ecx = MEM32(ebp + (-0x44)); /* 0x2E00810D: mov ecx, dword ptr [ebp - 0x44] */
  10183     RECOMP_ICALL(esi); /* 0x2E008110: call esi */
  10184     RECOMP_FLAGS_IN();
  10185 L_2E008112:
  10186     ecx = MEM32(ebp + (-0xC)); /* 0x2E008112: mov ecx, dword ptr [ebp - 0xc] */
  10187     edi = POP32_VAL(esp); /* 0x2E008115: pop edi */
  10188     esi = POP32_VAL(esp); /* 0x2E008116: pop esi */
  10189     ebx = POP32_VAL(esp); /* 0x2E008117: pop ebx */
  10190     MEM32(FS_BASE + (0)) = ecx; /* 0x2E008118: mov dword ptr fs:[0], ecx */
  10191     esp = ebp; /* 0x2E00811F: mov esp, ebp */
  10192     ebp = POP32_VAL(esp); /* 0x2E008121: pop ebp */
  10193     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008122: ret 4 */
  10194     RECOMP_REGS_OUT();
  10195 }
  10196 
  10197 void sub_2E008130(void) {
  10198     int _fpu_cmp = 0;
  10199     uint32_t _cf = 0;
  10200     int _df = 1;
  10201     uint32_t _flag_k = FK_NONE;
  10202     uint32_t _flag_a = 0, _flag_b = 0;
  10203     uint32_t _itail_tgt = 0;
  10204     RECOMP_REGS_LOCALS
  10205     RECOMP_ENTER(0x2E008130u);
  10206 
  10207 L_2E008130:
  10208     PUSH32(esp, ebp); /* 0x2E008130: push ebp */
  10209     ebp = esp; /* 0x2E008131: mov ebp, esp */
  10210     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E008133: push -1 */
  10211     PUSH32(esp, 0x2E011A78u); /* 0x2E008135: push 0x2e011a78 */
  10212     eax = MEM32(FS_BASE + (0)); /* 0x2E00813A: mov eax, dword ptr fs:[0] */
  10213     PUSH32(esp, eax); /* 0x2E008140: push eax */
  10214     MEM32(FS_BASE + (0)) = esp; /* 0x2E008141: mov dword ptr fs:[0], esp */
  10215     PUSH32(esp, ecx); /* 0x2E008148: push ecx */
  10216     PUSH32(esp, esi); /* 0x2E008149: push esi */
  10217     esi = ecx; /* 0x2E00814A: mov esi, ecx */
  10218     ecx = MEM32(ebp + 0x8); /* 0x2E00814C: mov ecx, dword ptr [ebp + 8] */
  10219     MEM32(ebp + (-0x10)) = esi; /* 0x2E00814F: mov dword ptr [ebp - 0x10], esi */
  10220     MEM32(esi) = ecx; /* 0x2E008152: mov dword ptr [esi], ecx */
  10221     PUSH32(esp, 2); /* 0x2E008154: push 2 */
  10222     PUSH32(esp, 0); /* 0x2E008156: push 0 */
  10223     PUSH32(esp, 0); /* 0x2E008158: push 0 */
  10224     PUSH32(esp, 0); /* 0x2E00815A: push 0 */
  10225     MEM32(ebp + (-0x4)) = 0; /* 0x2E00815C: mov dword ptr [ebp - 4], 0 */
  10226     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E008163: call dword ptr [0x2e01212c] */
  10227     RECOMP_FLAGS_IN();
  10228     ecx = MEM32(ebp + (-0xC)); /* 0x2E008169: mov ecx, dword ptr [ebp - 0xc] */
  10229     MEM32(esi + 0x4) = eax; /* 0x2E00816C: mov dword ptr [esi + 4], eax */
  10230     eax = esi; /* 0x2E00816F: mov eax, esi */
  10231     esi = POP32_VAL(esp); /* 0x2E008171: pop esi */
  10232     MEM32(FS_BASE + (0)) = ecx; /* 0x2E008172: mov dword ptr fs:[0], ecx */
  10233     esp = ebp; /* 0x2E008179: mov esp, ebp */
  10234     ebp = POP32_VAL(esp); /* 0x2E00817B: pop ebp */
  10235     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E00817C: ret 4 */
  10236     RECOMP_REGS_OUT();
  10237 }
  10238 
  10239 void sub_2E008180(void) {
  10240     int _fpu_cmp = 0;
  10241     uint32_t _cf = 0;
  10242     int _df = 1;
  10243     uint32_t _flag_k = FK_NONE;
  10244     uint32_t _flag_a = 0, _flag_b = 0;
  10245     uint32_t _itail_tgt = 0;
  10246     RECOMP_REGS_LOCALS
  10247     RECOMP_ENTER(0x2E008180u);
  10248 
  10249 L_2E008180:
  10250     PUSH32(esp, ebp); /* 0x2E008180: push ebp */
  10251     ebp = esp; /* 0x2E008181: mov ebp, esp */
  10252     PUSH32(esp, 0xFFFFFFFFu); /* 0x2E008183: push -1 */
  10253     PUSH32(esp, 0x2E011A98u); /* 0x2E008185: push 0x2e011a98 */
  10254     eax = MEM32(FS_BASE + (0)); /* 0x2E00818A: mov eax, dword ptr fs:[0] */
  10255     PUSH32(esp, eax); /* 0x2E008190: push eax */
  10256     MEM32(FS_BASE + (0)) = esp; /* 0x2E008191: mov dword ptr fs:[0], esp */
  10257     PUSH32(esp, ecx); /* 0x2E008198: push ecx */
  10258     PUSH32(esp, esi); /* 0x2E008199: push esi */
  10259     esi = ecx; /* 0x2E00819A: mov esi, ecx */
  10260     ecx = MEM32(ebp + 0x8); /* 0x2E00819C: mov ecx, dword ptr [ebp + 8] */
  10261     MEM32(ebp + (-0x10)) = esi; /* 0x2E00819F: mov dword ptr [ebp - 0x10], esi */
  10262     MEM32(esi) = ecx; /* 0x2E0081A2: mov dword ptr [esi], ecx */
  10263     PUSH32(esp, 1); /* 0x2E0081A4: push 1 */
  10264     PUSH32(esp, 0); /* 0x2E0081A6: push 0 */
  10265     PUSH32(esp, 0); /* 0x2E0081A8: push 0 */
  10266     PUSH32(esp, 0); /* 0x2E0081AA: push 0 */
  10267     MEM32(ebp + (-0x4)) = 0; /* 0x2E0081AC: mov dword ptr [ebp - 4], 0 */
  10268     RECOMP_ICALL(MEM32(0x2E01212C)); /* 0x2E0081B3: call dword ptr [0x2e01212c] */
  10269     RECOMP_FLAGS_IN();
  10270     ecx = MEM32(ebp + (-0xC)); /* 0x2E0081B9: mov ecx, dword ptr [ebp - 0xc] */
  10271     MEM32(esi + 0x4) = eax; /* 0x2E0081BC: mov dword ptr [esi + 4], eax */
  10272     eax = esi; /* 0x2E0081BF: mov eax, esi */
  10273     esi = POP32_VAL(esp); /* 0x2E0081C1: pop esi */
  10274     MEM32(FS_BASE + (0)) = ecx; /* 0x2E0081C2: mov dword ptr fs:[0], ecx */
  10275     esp = ebp; /* 0x2E0081C9: mov esp, ebp */
  10276     ebp = POP32_VAL(esp); /* 0x2E0081CB: pop ebp */
  10277     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E0081CC: ret 4 */
  10278     RECOMP_REGS_OUT();
  10279 }
  10280 
  10281 void sub_2E0081D0(void) {
  10282     int _fpu_cmp = 0;
  10283     uint32_t _cf = 0;
  10284     int _df = 1;
  10285     uint32_t _flag_k = FK_NONE;
  10286     uint32_t _flag_a = 0, _flag_b = 0;
  10287     uint32_t _itail_tgt = 0;
  10288     RECOMP_REGS_LOCALS
  10289     RECOMP_ENTER(0x2E0081D0u);
  10290 
  10291 L_2E0081D0:
  10292     PUSH32(esp, ebp); /* 0x2E0081D0: push ebp */
  10293     ebp = esp; /* 0x2E0081D1: mov ebp, esp */
  10294     eax = MEM32(ebp + 0x8); /* 0x2E0081D3: mov eax, dword ptr [ebp + 8] */
  10295     /* test eax, eax */ /* 0x2E0081D6: test eax, eax */
  10296     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  10297     _cf = 0;
  10298     _flag_k = FK_TEST;
  10299     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0081E7; /* 0x2E0081D8: je 0x2e0081e7 */
  10300 L_2E0081DA:
  10301     ecx = MEM32(ebp + 0xC); /* 0x2E0081DA: mov ecx, dword ptr [ebp + 0xc] */
  10302     edx = MEM32(ecx); /* 0x2E0081DD: mov edx, dword ptr [ecx] */
  10303     MEM32(eax) = edx; /* 0x2E0081DF: mov dword ptr [eax], edx */
  10304     ecx = MEM32(ecx + 0x4); /* 0x2E0081E1: mov ecx, dword ptr [ecx + 4] */
  10305     MEM32(eax + 0x4) = ecx; /* 0x2E0081E4: mov dword ptr [eax + 4], ecx */
  10306 L_2E0081E7:
  10307     ebp = POP32_VAL(esp); /* 0x2E0081E7: pop ebp */
  10308     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0081E8: ret  */
  10309     RECOMP_REGS_OUT();
  10310 }
  10311 
  10312 void sub_2E0081F0(void) {
  10313     int _fpu_cmp = 0;
  10314     uint32_t _cf = 0;
  10315     int _df = 1;
  10316     uint32_t _flag_k = FK_NONE;
  10317     uint32_t _flag_a = 0, _flag_b = 0;
  10318     uint32_t _itail_tgt = 0;
  10319     RECOMP_REGS_LOCALS
  10320     RECOMP_ENTER(0x2E0081F0u);
  10321 
  10322 L_2E0081F0:
  10323     PUSH32(esp, ebp); /* 0x2E0081F0: push ebp */
  10324     ebp = esp; /* 0x2E0081F1: mov ebp, esp */
  10325     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
  10326     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10327     esp = esp - 0x14u; /* 0x2E0081F3: sub esp, 0x14 */
  10328     _flag_k = FK_CMP;
  10329     PUSH32(esp, ebx); /* 0x2E0081F6: push ebx */
  10330     PUSH32(esp, esi); /* 0x2E0081F7: push esi */
  10331     PUSH32(esp, edi); /* 0x2E0081F8: push edi */
  10332     edi = ecx; /* 0x2E0081F9: mov edi, ecx */
  10333     eax = MEM32(edi + 0x2C); /* 0x2E0081FB: mov eax, dword ptr [edi + 0x2c] */
  10334     /* test eax, eax */ /* 0x2E0081FE: test eax, eax */
  10335     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  10336     _cf = 0;
  10337     _flag_k = FK_TEST;
  10338     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0082E0; /* 0x2E008200: je 0x2e0082e0 */
  10339 L_2E008206:
  10340     esi = edi + 0x14; /* 0x2E008206: lea esi, [edi + 0x14] */
  10341     edx = esi; /* 0x2E008209: mov edx, esi */
  10342     ecx = MEM32(edx); /* 0x2E00820B: mov ecx, dword ptr [edx] */
  10343     eax = MEM32(edx + 0x4); /* 0x2E00820D: mov eax, dword ptr [edx + 4] */
  10344     MEM32(ebp + (-0x10)) = eax; /* 0x2E008210: mov dword ptr [ebp - 0x10], eax */
  10345     eax = MEM32(edx + 0x8); /* 0x2E008213: mov eax, dword ptr [edx + 8] */
  10346     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10347     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10348     eax = eax - ecx; /* 0x2E008216: sub eax, ecx */
  10349     _flag_k = FK_CMP;
  10350     edx = MEM32(edx + 0xC); /* 0x2E008218: mov edx, dword ptr [edx + 0xc] */
  10351     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  10352     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10353     eax = eax - 4; /* 0x2E00821B: sub eax, 4 */
  10354     _flag_k = FK_CMP;
  10355     if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2E00821E: sar eax, 2 */
  10356     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  10357     eax = (uint32_t)((int32_t)eax >> 2u);
  10358     MEM32(ebp + (-0x8)) = edx; /* 0x2E008221: mov dword ptr [ebp - 8], edx */
  10359     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_S, _cf)) goto L_2E00822E; /* 0x2E008224: js 0x2e00822e */
  10360 L_2E008226:
  10361     if (10u) _cf = (((eax) >> 9) & 1u); /* 0x2E008226: shr eax, 0xa */
  10362     if (10u) { _flag_a = recomp_flags_pack((eax >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  10363     eax = eax >> 10u; /* 0x2E008226: shr eax, 0xa */
  10364     MEM32(ebp + (-0x4)) = eax; /* 0x2E008229: mov dword ptr [ebp - 4], eax */
  10365     goto L_2E00823D; /* 0x2E00822C: jmp 0x2e00823d */
  10366 L_2E00822E:
  10367     ecx = 0x3FFu; /* 0x2E00822E: mov ecx, 0x3ff */
  10368     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  10369     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10370     ecx = ecx - eax; /* 0x2E008233: sub ecx, eax */
  10371     _flag_k = FK_CMP;
  10372     if (10u) _cf = (((ecx) >> 9) & 1u); /* 0x2E008235: shr ecx, 0xa */
  10373     if (10u) { _flag_a = recomp_flags_pack((ecx >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  10374     ecx = ecx >> 10u; /* 0x2E008235: shr ecx, 0xa */
  10375     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(ecx);
  10376     _cf = (ecx) != 0;
  10377     ecx = (uint32_t)(-(int32_t)ecx); /* 0x2E008238: neg ecx */
  10378     _flag_k = FK_CMP;
  10379     MEM32(ebp + (-0x4)) = ecx; /* 0x2E00823A: mov dword ptr [ebp - 4], ecx */
  10380 L_2E00823D:
  10381     eax = MEM32(esi + 0x8); /* 0x2E00823D: mov eax, dword ptr [esi + 8] */
  10382     ecx = MEM32(esi); /* 0x2E008240: mov ecx, dword ptr [esi] */
  10383     ebx = MEM32(edi + 0x20); /* 0x2E008242: mov ebx, dword ptr [edi + 0x20] */
  10384     /* cmp eax, ecx */ /* 0x2E008245: cmp eax, ecx */
  10385     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10386     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10387     _flag_k = FK_CMP;
  10388     if (CMP_NE(_flag_a, _flag_b)) goto L_2E008263; /* 0x2E008247: jne 0x2e008263 */
  10389 L_2E008249:
  10390     eax = MEM32(esi + 0xC); /* 0x2E008249: mov eax, dword ptr [esi + 0xc] */
  10391     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu);
  10392     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10393     eax = eax + 0xFFFFFFFCu; /* 0x2E00824C: add eax, -4 */
  10394     _flag_k = FK_ADD;
  10395     /* cmp MEM32(eax), 0 */ /* 0x2E00824F: cmp dword ptr [eax], 0 */
  10396     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
  10397     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10398     _flag_k = FK_CMP;
  10399     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E008269; /* 0x2E008252: je 0x2e008269 */
  10400 L_2E008254:
  10401     MEM32(esi + 0xC) = eax; /* 0x2E008254: mov dword ptr [esi + 0xc], eax */
  10402     eax = MEM32(eax); /* 0x2E008257: mov eax, dword ptr [eax] */
  10403     MEM32(esi) = eax; /* 0x2E008259: mov dword ptr [esi], eax */
  10404     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
  10405     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10406     eax = eax + 0x1000u; /* 0x2E00825B: add eax, 0x1000 */
  10407     _flag_k = FK_ADD;
  10408     MEM32(esi + 0x4) = eax; /* 0x2E008260: mov dword ptr [esi + 4], eax */
  10409 L_2E008263:
  10410     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu);
  10411     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10412     eax = eax + 0xFFFFFFFCu; /* 0x2E008263: add eax, -4 */
  10413     _flag_k = FK_ADD;
  10414     MEM32(esi + 0x8) = eax; /* 0x2E008266: mov dword ptr [esi + 8], eax */
  10415 L_2E008269:
  10416     eax = MEM32(edi + 0x2C); /* 0x2E008269: mov eax, dword ptr [edi + 0x2c] */
  10417     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  10418     eax = eax - 1; /* 0x2E00826C: dec eax */
  10419     _flag_k = FK_DEC;
  10420     MEM32(edi + 0x2C) = eax; /* 0x2E00826D: mov dword ptr [edi + 0x2c], eax */
  10421     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2E0082CA; /* 0x2E008270: jne 0x2e0082ca */
  10422 L_2E008272:
  10423     edx = MEM32(edi + 0x10); /* 0x2E008272: mov edx, dword ptr [edi + 0x10] */
  10424     eax = MEM32(edx + (-0x4)); /* 0x2E008275: mov eax, dword ptr [edx - 4] */
  10425     PUSH32(esp, eax); /* 0x2E008278: push eax */
  10426     RECOMP_ICALL(0x2E010E90u); /* 0x2E008279: call 0x2e010e90 */ /* not lifted */
  10427     RECOMP_FLAGS_IN();
  10428     ecx = MEM32(edi + 0x10); /* 0x2E00827E: mov ecx, dword ptr [edi + 0x10] */
  10429     edx = MEM32(ecx); /* 0x2E008281: mov edx, dword ptr [ecx] */
  10430     PUSH32(esp, edx); /* 0x2E008283: push edx */
  10431     RECOMP_ICALL(0x2E010E90u); /* 0x2E008284: call 0x2e010e90 */ /* not lifted */
  10432     RECOMP_FLAGS_IN();
  10433     eax = MEM32(edi + 0x10); /* 0x2E008289: mov eax, dword ptr [edi + 0x10] */
  10434     ecx = MEM32(eax + 0x4); /* 0x2E00828C: mov ecx, dword ptr [eax + 4] */
  10435     PUSH32(esp, ecx); /* 0x2E00828F: push ecx */
  10436     RECOMP_ICALL(0x2E010E90u); /* 0x2E008290: call 0x2e010e90 */ /* not lifted */
  10437     RECOMP_FLAGS_IN();
  10438     ebx = edi + 0x4; /* 0x2E008295: lea ebx, [edi + 4] */
  10439     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10440     eax = 0; /* 0x2E008298: xor eax, eax */
  10441     _cf = 0;
  10442     _flag_k = FK_TEST;
  10443     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10444     ecx = 0; /* 0x2E00829A: xor ecx, ecx */
  10445     _cf = 0;
  10446     _flag_k = FK_TEST;
  10447     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10448     edx = 0; /* 0x2E00829C: xor edx, edx */
  10449     _cf = 0;
  10450     _flag_k = FK_TEST;
  10451     MEM32(ebx) = eax; /* 0x2E00829E: mov dword ptr [ebx], eax */
  10452     MEM32(esi) = eax; /* 0x2E0082A0: mov dword ptr [esi], eax */
  10453     MEM32(esi + 0x4) = ecx; /* 0x2E0082A2: mov dword ptr [esi + 4], ecx */
  10454     MEM32(esi + 0x8) = eax; /* 0x2E0082A5: mov dword ptr [esi + 8], eax */
  10455     MEM32(ebx + 0x4) = ecx; /* 0x2E0082A8: mov dword ptr [ebx + 4], ecx */
  10456     MEM32(ebp + (-0x8)) = edx; /* 0x2E0082AB: mov dword ptr [ebp - 8], edx */
  10457     MEM32(esi + 0xC) = edx; /* 0x2E0082AE: mov dword ptr [esi + 0xc], edx */
  10458     MEM32(ebx + 0x8) = edx; /* 0x2E0082B1: mov dword ptr [ebx + 8], edx */
  10459     MEM32(ebx + 0xC) = edx; /* 0x2E0082B4: mov dword ptr [ebx + 0xc], edx */
  10460     edx = MEM32(edi + 0x24); /* 0x2E0082B7: mov edx, dword ptr [edi + 0x24] */
  10461     PUSH32(esp, edx); /* 0x2E0082BA: push edx */
  10462     RECOMP_ICALL(0x2E010E90u); /* 0x2E0082BB: call 0x2e010e90 */ /* not lifted */
  10463     RECOMP_FLAGS_IN();
  10464     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
  10465     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10466     esp = esp + 0x10u; /* 0x2E0082C0: add esp, 0x10 */
  10467     _flag_k = FK_ADD;
  10468     edi = POP32_VAL(esp); /* 0x2E0082C3: pop edi */
  10469     esi = POP32_VAL(esp); /* 0x2E0082C4: pop esi */
  10470     ebx = POP32_VAL(esp); /* 0x2E0082C5: pop ebx */
  10471     esp = ebp; /* 0x2E0082C6: mov esp, ebp */
  10472     ebp = POP32_VAL(esp); /* 0x2E0082C8: pop ebp */
  10473     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0082C9: ret  */
  10474 L_2E0082CA:
  10475     /* cmp ebx, MEM32(edi + 0x20) */ /* 0x2E0082CA: cmp ebx, dword ptr [edi + 0x20] */
  10476     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x20));
  10477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10478     _flag_k = FK_CMP;
  10479     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0082E0; /* 0x2E0082CD: je 0x2e0082e0 */
  10480 L_2E0082CF:
  10481     eax = MEM32(ebx); /* 0x2E0082CF: mov eax, dword ptr [ebx] */
  10482     PUSH32(esp, eax); /* 0x2E0082D1: push eax */
  10483     RECOMP_ICALL(0x2E010E90u); /* 0x2E0082D2: call 0x2e010e90 */ /* not lifted */
  10484     RECOMP_FLAGS_IN();
  10485     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10486     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10487     esp = esp + 4; /* 0x2E0082D7: add esp, 4 */
  10488     _flag_k = FK_ADD;
  10489     MEM32(ebx) = 0; /* 0x2E0082DA: mov dword ptr [ebx], 0 */
  10490 L_2E0082E0:
  10491     edi = POP32_VAL(esp); /* 0x2E0082E0: pop edi */
  10492     esi = POP32_VAL(esp); /* 0x2E0082E1: pop esi */
  10493     ebx = POP32_VAL(esp); /* 0x2E0082E2: pop ebx */
  10494     esp = ebp; /* 0x2E0082E3: mov esp, ebp */
  10495     ebp = POP32_VAL(esp); /* 0x2E0082E5: pop ebp */
  10496     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0082E6: ret  */
  10497     RECOMP_REGS_OUT();
  10498 }
  10499 
  10500 void sub_2E0082F0(void) {
  10501     int _fpu_cmp = 0;
  10502     uint32_t _cf = 0;
  10503     int _df = 1;
  10504     uint32_t _flag_k = FK_NONE;
  10505     uint32_t _flag_a = 0, _flag_b = 0;
  10506     uint32_t _itail_tgt = 0;
  10507     RECOMP_REGS_LOCALS
  10508     RECOMP_ENTER(0x2E0082F0u);
  10509 
  10510 L_2E0082F0:
  10511     PUSH32(esp, ebp); /* 0x2E0082F0: push ebp */
  10512     ebp = esp; /* 0x2E0082F1: mov ebp, esp */
  10513     eax = MEM32(ebp + 0x8); /* 0x2E0082F3: mov eax, dword ptr [ebp + 8] */
  10514     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u);
  10515     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10516     ecx = ecx + 0x14u; /* 0x2E0082F6: add ecx, 0x14 */
  10517     _flag_k = FK_ADD;
  10518     PUSH32(esp, esi); /* 0x2E0082F9: push esi */
  10519     edx = eax; /* 0x2E0082FA: mov edx, eax */
  10520     esi = MEM32(ecx); /* 0x2E0082FC: mov esi, dword ptr [ecx] */
  10521     MEM32(edx) = esi; /* 0x2E0082FE: mov dword ptr [edx], esi */
  10522     esi = MEM32(ecx + 0x4); /* 0x2E008300: mov esi, dword ptr [ecx + 4] */
  10523     MEM32(edx + 0x4) = esi; /* 0x2E008303: mov dword ptr [edx + 4], esi */
  10524     esi = MEM32(ecx + 0x8); /* 0x2E008306: mov esi, dword ptr [ecx + 8] */
  10525     MEM32(edx + 0x8) = esi; /* 0x2E008309: mov dword ptr [edx + 8], esi */
  10526     esi = POP32_VAL(esp); /* 0x2E00830C: pop esi */
  10527     ecx = MEM32(ecx + 0xC); /* 0x2E00830D: mov ecx, dword ptr [ecx + 0xc] */
  10528     MEM32(edx + 0xC) = ecx; /* 0x2E008310: mov dword ptr [edx + 0xc], ecx */
  10529     ebp = POP32_VAL(esp); /* 0x2E008313: pop ebp */
  10530     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008314: ret 4 */
  10531     RECOMP_REGS_OUT();
  10532 }
  10533 
  10534 void sub_2E008320(void) {
  10535     int _fpu_cmp = 0;
  10536     uint32_t _cf = 0;
  10537     int _df = 1;
  10538     uint32_t _flag_k = FK_NONE;
  10539     uint32_t _flag_a = 0, _flag_b = 0;
  10540     uint32_t _itail_tgt = 0;
  10541     RECOMP_REGS_LOCALS
  10542     RECOMP_ENTER(0x2E008320u);
  10543 
  10544 L_2E008320:
  10545     PUSH32(esp, ebp); /* 0x2E008320: push ebp */
  10546     ebp = esp; /* 0x2E008321: mov ebp, esp */
  10547     eax = MEM32(ebp + 0x8); /* 0x2E008323: mov eax, dword ptr [ebp + 8] */
  10548     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
  10549     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10550     ecx = ecx + 4; /* 0x2E008326: add ecx, 4 */
  10551     _flag_k = FK_ADD;
  10552     PUSH32(esp, esi); /* 0x2E008329: push esi */
  10553     edx = eax; /* 0x2E00832A: mov edx, eax */
  10554     esi = MEM32(ecx); /* 0x2E00832C: mov esi, dword ptr [ecx] */
  10555     MEM32(edx) = esi; /* 0x2E00832E: mov dword ptr [edx], esi */
  10556     esi = MEM32(ecx + 0x4); /* 0x2E008330: mov esi, dword ptr [ecx + 4] */
  10557     MEM32(edx + 0x4) = esi; /* 0x2E008333: mov dword ptr [edx + 4], esi */
  10558     esi = MEM32(ecx + 0x8); /* 0x2E008336: mov esi, dword ptr [ecx + 8] */
  10559     MEM32(edx + 0x8) = esi; /* 0x2E008339: mov dword ptr [edx + 8], esi */
  10560     esi = POP32_VAL(esp); /* 0x2E00833C: pop esi */
  10561     ecx = MEM32(ecx + 0xC); /* 0x2E00833D: mov ecx, dword ptr [ecx + 0xc] */
  10562     MEM32(edx + 0xC) = ecx; /* 0x2E008340: mov dword ptr [edx + 0xc], ecx */
  10563     ebp = POP32_VAL(esp); /* 0x2E008343: pop ebp */
  10564     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008344: ret 4 */
  10565     RECOMP_REGS_OUT();
  10566 }
  10567 
  10568 void sub_2E008350(void) {
  10569     int _fpu_cmp = 0;
  10570     uint32_t _cf = 0;
  10571     int _df = 1;
  10572     uint32_t _flag_k = FK_NONE;
  10573     uint32_t _flag_a = 0, _flag_b = 0;
  10574     uint32_t _itail_tgt = 0;
  10575     RECOMP_REGS_LOCALS
  10576     RECOMP_ENTER(0x2E008350u);
  10577 
  10578 L_2E008350:
  10579     goto L_2E008360; /* 0x2E008350: jmp 0x2e008360 */
  10580 L_2E008360:
  10581     MEM32(0x2E01AB60) = 0x2E019220u; /* 0x2E008360: mov dword ptr [0x2e01ab60], 0x2e019220 */
  10582     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00836A: ret  */
  10583     RECOMP_REGS_OUT();
  10584 }
  10585 
  10586 void sub_2E008360(void) {
  10587     int _fpu_cmp = 0;
  10588     uint32_t _cf = 0;
  10589     int _df = 1;
  10590     uint32_t _flag_k = FK_NONE;
  10591     uint32_t _flag_a = 0, _flag_b = 0;
  10592     uint32_t _itail_tgt = 0;
  10593     RECOMP_REGS_LOCALS
  10594     RECOMP_ENTER(0x2E008360u);
  10595 
  10596 L_2E008360:
  10597     MEM32(0x2E01AB60) = 0x2E019220u; /* 0x2E008360: mov dword ptr [0x2e01ab60], 0x2e019220 */
  10598     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00836A: ret  */
  10599     RECOMP_REGS_OUT();
  10600 }
  10601 
  10602 void sub_2E008370(void) {
  10603     int _fpu_cmp = 0;
  10604     uint32_t _cf = 0;
  10605     int _df = 1;
  10606     uint32_t _flag_k = FK_NONE;
  10607     uint32_t _flag_a = 0, _flag_b = 0;
  10608     uint32_t _itail_tgt = 0;
  10609     RECOMP_REGS_LOCALS
  10610     RECOMP_ENTER(0x2E008370u);
  10611 
  10612 L_2E008370:
  10613     PUSH32(esp, ebp); /* 0x2E008370: push ebp */
  10614     ebp = esp; /* 0x2E008371: mov ebp, esp */
  10615     eax = ecx; /* 0x2E008373: mov eax, ecx */
  10616     PUSH32(esp, ebx); /* 0x2E008375: push ebx */
  10617     PUSH32(esp, esi); /* 0x2E008376: push esi */
  10618     PUSH32(esp, edi); /* 0x2E008377: push edi */
  10619     edx = MEM32(eax); /* 0x2E008378: mov edx, dword ptr [eax] */
  10620     esi = MEM32(eax + 0x4); /* 0x2E00837A: mov esi, dword ptr [eax + 4] */
  10621     edi = MEM32(eax + 0x8); /* 0x2E00837D: mov edi, dword ptr [eax + 8] */
  10622     ebx = MEM32(eax + 0xC); /* 0x2E008380: mov ebx, dword ptr [eax + 0xc] */
  10623     eax = MEM32(ecx + 0x8); /* 0x2E008383: mov eax, dword ptr [ecx + 8] */
  10624     /* cmp eax, MEM32(ecx) */ /* 0x2E008386: cmp eax, dword ptr [ecx] */
  10625     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10626     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10627     _flag_k = FK_CMP;
  10628     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0083A4; /* 0x2E008388: jne 0x2e0083a4 */
  10629 L_2E00838A:
  10630     eax = MEM32(ecx + 0xC); /* 0x2E00838A: mov eax, dword ptr [ecx + 0xc] */
  10631     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu);
  10632     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10633     eax = eax + 0xFFFFFFFCu; /* 0x2E00838D: add eax, -4 */
  10634     _flag_k = FK_ADD;
  10635     /* cmp MEM32(eax), 0 */ /* 0x2E008390: cmp dword ptr [eax], 0 */
  10636     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
  10637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10638     _flag_k = FK_CMP;
  10639     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0083AA; /* 0x2E008393: je 0x2e0083aa */
  10640 L_2E008395:
  10641     MEM32(ecx + 0xC) = eax; /* 0x2E008395: mov dword ptr [ecx + 0xc], eax */
  10642     eax = MEM32(eax); /* 0x2E008398: mov eax, dword ptr [eax] */
  10643     MEM32(ecx) = eax; /* 0x2E00839A: mov dword ptr [ecx], eax */
  10644     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u);
  10645     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10646     eax = eax + 0x1000u; /* 0x2E00839C: add eax, 0x1000 */
  10647     _flag_k = FK_ADD;
  10648     MEM32(ecx + 0x4) = eax; /* 0x2E0083A1: mov dword ptr [ecx + 4], eax */
  10649 L_2E0083A4:
  10650     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu);
  10651     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10652     eax = eax + 0xFFFFFFFCu; /* 0x2E0083A4: add eax, -4 */
  10653     _flag_k = FK_ADD;
  10654     MEM32(ecx + 0x8) = eax; /* 0x2E0083A7: mov dword ptr [ecx + 8], eax */
  10655 L_2E0083AA:
  10656     eax = MEM32(ebp + 0x8); /* 0x2E0083AA: mov eax, dword ptr [ebp + 8] */
  10657     ecx = eax; /* 0x2E0083AD: mov ecx, eax */
  10658     MEM32(ecx) = edx; /* 0x2E0083AF: mov dword ptr [ecx], edx */
  10659     MEM32(ecx + 0x4) = esi; /* 0x2E0083B1: mov dword ptr [ecx + 4], esi */
  10660     MEM32(ecx + 0x8) = edi; /* 0x2E0083B4: mov dword ptr [ecx + 8], edi */
  10661     edi = POP32_VAL(esp); /* 0x2E0083B7: pop edi */
  10662     esi = POP32_VAL(esp); /* 0x2E0083B8: pop esi */
  10663     MEM32(ecx + 0xC) = ebx; /* 0x2E0083B9: mov dword ptr [ecx + 0xc], ebx */
  10664     ebx = POP32_VAL(esp); /* 0x2E0083BC: pop ebx */
  10665     ebp = POP32_VAL(esp); /* 0x2E0083BD: pop ebp */
  10666     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E0083BE: ret 8 */
  10667     RECOMP_REGS_OUT();
  10668 }
  10669 
  10670 void sub_2E0083D0(void) {
  10671     int _fpu_cmp = 0;
  10672     uint32_t _cf = 0;
  10673     int _df = 1;
  10674     uint32_t _flag_k = FK_NONE;
  10675     uint32_t _flag_a = 0, _flag_b = 0;
  10676     uint32_t _itail_tgt = 0;
  10677     RECOMP_REGS_LOCALS
  10678     RECOMP_ENTER(0x2E0083D0u);
  10679 
  10680 L_2E0083D0:
  10681     eax = ecx; /* 0x2E0083D0: mov eax, ecx */
  10682     ecx = MEM32(eax + 0x8); /* 0x2E0083D2: mov ecx, dword ptr [eax + 8] */
  10683     edx = MEM32(eax); /* 0x2E0083D5: mov edx, dword ptr [eax] */
  10684     /* cmp ecx, edx */ /* 0x2E0083D7: cmp ecx, edx */
  10685     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  10686     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10687     _flag_k = FK_CMP;
  10688     if (CMP_NE(_flag_a, _flag_b)) goto L_2E0083F6; /* 0x2E0083D9: jne 0x2e0083f6 */
  10689 L_2E0083DB:
  10690     ecx = MEM32(eax + 0xC); /* 0x2E0083DB: mov ecx, dword ptr [eax + 0xc] */
  10691     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFCu);
  10692     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10693     ecx = ecx + 0xFFFFFFFCu; /* 0x2E0083DE: add ecx, -4 */
  10694     _flag_k = FK_ADD;
  10695     /* cmp MEM32(ecx), 0 */ /* 0x2E0083E1: cmp dword ptr [ecx], 0 */
  10696     _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(0);
  10697     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10698     _flag_k = FK_CMP;
  10699     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0083FC; /* 0x2E0083E4: je 0x2e0083fc */
  10700 L_2E0083E6:
  10701     MEM32(eax + 0xC) = ecx; /* 0x2E0083E6: mov dword ptr [eax + 0xc], ecx */
  10702     ecx = MEM32(ecx); /* 0x2E0083E9: mov ecx, dword ptr [ecx] */
  10703     MEM32(eax) = ecx; /* 0x2E0083EB: mov dword ptr [eax], ecx */
  10704     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1000u);
  10705     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10706     ecx = ecx + 0x1000u; /* 0x2E0083ED: add ecx, 0x1000 */
  10707     _flag_k = FK_ADD;
  10708     MEM32(eax + 0x4) = ecx; /* 0x2E0083F3: mov dword ptr [eax + 4], ecx */
  10709 L_2E0083F6:
  10710     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFCu);
  10711     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10712     ecx = ecx + 0xFFFFFFFCu; /* 0x2E0083F6: add ecx, -4 */
  10713     _flag_k = FK_ADD;
  10714     MEM32(eax + 0x8) = ecx; /* 0x2E0083F9: mov dword ptr [eax + 8], ecx */
  10715 L_2E0083FC:
  10716     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0083FC: ret  */
  10717     RECOMP_REGS_OUT();
  10718 }
  10719 
  10720 void sub_2E008400(void) {
  10721     int _fpu_cmp = 0;
  10722     uint32_t _cf = 0;
  10723     int _df = 1;
  10724     uint32_t _flag_k = FK_NONE;
  10725     uint32_t _flag_a = 0, _flag_b = 0;
  10726     uint32_t _itail_tgt = 0;
  10727     RECOMP_REGS_LOCALS
  10728     RECOMP_ENTER(0x2E008400u);
  10729 
  10730 L_2E008400:
  10731     PUSH32(esp, ebp); /* 0x2E008400: push ebp */
  10732     ebp = esp; /* 0x2E008401: mov ebp, esp */
  10733     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
  10734     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10735     esp = esp - 0x20u; /* 0x2E008403: sub esp, 0x20 */
  10736     _flag_k = FK_CMP;
  10737     PUSH32(esp, ebx); /* 0x2E008406: push ebx */
  10738     PUSH32(esp, esi); /* 0x2E008407: push esi */
  10739     PUSH32(esp, edi); /* 0x2E008408: push edi */
  10740     esi = ecx; /* 0x2E008409: mov esi, ecx */
  10741     PUSH32(esp, 0x1000u); /* 0x2E00840B: push 0x1000 */
  10742     RECOMP_ICALL(0x2E010FAAu); /* 0x2E008410: call 0x2e010faa */ /* not lifted */
  10743     RECOMP_FLAGS_IN();
  10744     ebx = eax; /* 0x2E008415: mov ebx, eax */
  10745     eax = MEM32(esi + 0x2C); /* 0x2E008417: mov eax, dword ptr [esi + 0x2c] */
  10746     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10747     edi = 0; /* 0x2E00841A: xor edi, edi */
  10748     _cf = 0;
  10749     _flag_k = FK_TEST;
  10750     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10751     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10752     esp = esp + 4; /* 0x2E00841C: add esp, 4 */
  10753     _flag_k = FK_ADD;
  10754     /* cmp eax, edi */ /* 0x2E00841F: cmp eax, edi */
  10755     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  10756     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10757     _flag_k = FK_CMP;
  10758     MEM32(ebp + (-0x8)) = ebx; /* 0x2E008421: mov dword ptr [ebp - 8], ebx */
  10759     if (CMP_NE(_flag_a, _flag_b)) goto L_2E008480; /* 0x2E008424: jne 0x2e008480 */
  10760 L_2E008426:
  10761     PUSH32(esp, 0x20u); /* 0x2E008426: push 0x20 */
  10762     RECOMP_ICALL(0x2E010FAAu); /* 0x2E008428: call 0x2e010faa */ /* not lifted */
  10763     RECOMP_FLAGS_IN();
  10764     MEM32(esi + 0x24) = eax; /* 0x2E00842D: mov dword ptr [esi + 0x24], eax */
  10765     MEM32(esi + 0x28) = 8; /* 0x2E008430: mov dword ptr [esi + 0x28], 8 */
  10766     MEM32(eax + 0xC) = edi; /* 0x2E008437: mov dword ptr [eax + 0xc], edi */
  10767     eax = MEM32(esi + 0x24); /* 0x2E00843A: mov eax, dword ptr [esi + 0x24] */
  10768     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10769     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10770     esp = esp + 4; /* 0x2E00843D: add esp, 4 */
  10771     _flag_k = FK_ADD;
  10772     MEM32(eax + 0x10) = ebx; /* 0x2E008440: mov dword ptr [eax + 0x10], ebx */
  10773     ecx = MEM32(esi + 0x24); /* 0x2E008443: mov ecx, dword ptr [esi + 0x24] */
  10774     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x800u);
  10775     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10776     ebx = ebx + 0x800u; /* 0x2E008446: add ebx, 0x800 */
  10777     _flag_k = FK_ADD;
  10778     MEM32(ecx + 0x14) = edi; /* 0x2E00844C: mov dword ptr [ecx + 0x14], edi */
  10779     eax = MEM32(esi + 0x24); /* 0x2E00844F: mov eax, dword ptr [esi + 0x24] */
  10780     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u);
  10781     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10782     eax = eax + 0x10u; /* 0x2E008452: add eax, 0x10 */
  10783     _flag_k = FK_ADD;
  10784     edi = esi + 0x4; /* 0x2E008455: lea edi, [esi + 4] */
  10785     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u);
  10786     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10787     esi = esi + 0x14u; /* 0x2E008458: add esi, 0x14 */
  10788     _flag_k = FK_ADD;
  10789     ecx = MEM32(eax); /* 0x2E00845B: mov ecx, dword ptr [eax] */
  10790     MEM32(edi) = ecx; /* 0x2E00845D: mov dword ptr [edi], ecx */
  10791     MEM32(esi) = ecx; /* 0x2E00845F: mov dword ptr [esi], ecx */
  10792     edx = ecx + 0x1000; /* 0x2E008461: lea edx, [ecx + 0x1000] */
  10793     MEM32(edi + 0x4) = edx; /* 0x2E008467: mov dword ptr [edi + 4], edx */
  10794     MEM32(esi + 0x4) = edx; /* 0x2E00846A: mov dword ptr [esi + 4], edx */
  10795     MEM32(edi + 0x8) = ebx; /* 0x2E00846D: mov dword ptr [edi + 8], ebx */
  10796     MEM32(esi + 0x8) = ebx; /* 0x2E008470: mov dword ptr [esi + 8], ebx */
  10797     MEM32(edi + 0xC) = eax; /* 0x2E008473: mov dword ptr [edi + 0xc], eax */
  10798     MEM32(esi + 0xC) = eax; /* 0x2E008476: mov dword ptr [esi + 0xc], eax */
  10799     edi = POP32_VAL(esp); /* 0x2E008479: pop edi */
  10800     esi = POP32_VAL(esp); /* 0x2E00847A: pop esi */
  10801     ebx = POP32_VAL(esp); /* 0x2E00847B: pop ebx */
  10802     esp = ebp; /* 0x2E00847C: mov esp, ebp */
  10803     ebp = POP32_VAL(esp); /* 0x2E00847E: pop ebp */
  10804     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00847F: ret  */
  10805 L_2E008480:
  10806     edx = MEM32(esi + 0x28); /* 0x2E008480: mov edx, dword ptr [esi + 0x28] */
  10807     ecx = MEM32(esi + 0x24); /* 0x2E008483: mov ecx, dword ptr [esi + 0x24] */
  10808     eax = MEM32(esi + 0x20); /* 0x2E008486: mov eax, dword ptr [esi + 0x20] */
  10809     ecx = ecx + edx * 4 + (-0x8); /* 0x2E008489: lea ecx, [ecx + edx*4 - 8] */
  10810     /* cmp eax, ecx */ /* 0x2E00848D: cmp eax, ecx */
  10811     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10812     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10813     _flag_k = FK_CMP;
  10814     if (CMP_AE(_flag_a, _flag_b)) goto L_2E0084BF; /* 0x2E00848F: jae 0x2e0084bf */
  10815 L_2E008491:
  10816     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  10817     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10818     eax = eax + 4; /* 0x2E008491: add eax, 4 */
  10819     _flag_k = FK_ADD;
  10820     MEM32(esi + 0x20) = eax; /* 0x2E008494: mov dword ptr [esi + 0x20], eax */
  10821     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u);
  10822     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10823     esi = esi + 0x14u; /* 0x2E008497: add esi, 0x14 */
  10824     _flag_k = FK_ADD;
  10825     MEM32(eax) = ebx; /* 0x2E00849A: mov dword ptr [eax], ebx */
  10826     edx = MEM32(esi + 0xC); /* 0x2E00849C: mov edx, dword ptr [esi + 0xc] */
  10827     MEM32(edx + 0x4) = edi; /* 0x2E00849F: mov dword ptr [edx + 4], edi */
  10828     eax = MEM32(esi + 0xC); /* 0x2E0084A2: mov eax, dword ptr [esi + 0xc] */
  10829     edi = POP32_VAL(esp); /* 0x2E0084A5: pop edi */
  10830     ecx = MEM32(eax); /* 0x2E0084A6: mov ecx, dword ptr [eax] */
  10831     MEM32(esi) = ecx; /* 0x2E0084A8: mov dword ptr [esi], ecx */
  10832     edx = ecx + 0x1000; /* 0x2E0084AA: lea edx, [ecx + 0x1000] */
  10833     MEM32(esi + 0x4) = edx; /* 0x2E0084B0: mov dword ptr [esi + 4], edx */
  10834     MEM32(esi + 0x8) = ebx; /* 0x2E0084B3: mov dword ptr [esi + 8], ebx */
  10835     MEM32(esi + 0xC) = eax; /* 0x2E0084B6: mov dword ptr [esi + 0xc], eax */
  10836     esi = POP32_VAL(esp); /* 0x2E0084B9: pop esi */
  10837     ebx = POP32_VAL(esp); /* 0x2E0084BA: pop ebx */
  10838     esp = ebp; /* 0x2E0084BB: mov esp, ebp */
  10839     ebp = POP32_VAL(esp); /* 0x2E0084BD: pop ebp */
  10840     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0084BE: ret  */
  10841 L_2E0084BF:
  10842     ecx = MEM32(esi + 0x10); /* 0x2E0084BF: mov ecx, dword ptr [esi + 0x10] */
  10843     ebx = eax; /* 0x2E0084C2: mov ebx, eax */
  10844     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx);
  10845     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10846     ebx = ebx - ecx; /* 0x2E0084C4: sub ebx, ecx */
  10847     _flag_k = FK_CMP;
  10848     if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2E0084C6: sar ebx, 2 */
  10849     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  10850     ebx = (uint32_t)((int32_t)ebx >> 2u);
  10851     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
  10852     ebx = ebx + 1; /* 0x2E0084C9: inc ebx */
  10853     _flag_k = FK_INC;
  10854     MEM32(ebp + (-0xC)) = ebx; /* 0x2E0084CA: mov dword ptr [ebp - 0xc], ebx */
  10855     edi = ebx + ebx + 0x2; /* 0x2E0084CD: lea edi, [ebx + ebx + 2] */
  10856     /* cmp edi, 8 */ /* 0x2E0084D1: cmp edi, 8 */
  10857     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8);
  10858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10859     _flag_k = FK_CMP;
  10860     MEM32(ebp + (-0x4)) = edi; /* 0x2E0084D4: mov dword ptr [ebp - 4], edi */
  10861     if (CMP_AE(_flag_a, _flag_b)) goto L_2E0084E3; /* 0x2E0084D7: jae 0x2e0084e3 */
  10862 L_2E0084D9:
  10863     MEM32(ebp + (-0x4)) = 8; /* 0x2E0084D9: mov dword ptr [ebp - 4], 8 */
  10864     edi = MEM32(ebp + (-0x4)); /* 0x2E0084E0: mov edi, dword ptr [ebp - 4] */
  10865 L_2E0084E3:
  10866     /* cmp edi, edx */ /* 0x2E0084E3: cmp edi, edx */
  10867     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  10868     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10869     _flag_k = FK_CMP;
  10870     if (CMP_A(_flag_a, _flag_b)) goto L_2E008547; /* 0x2E0084E5: ja 0x2e008547 */
  10871 L_2E0084E7:
  10872     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2E0084E7: shr edx, 2 */
  10873     if (2u) { _flag_a = recomp_flags_pack((edx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  10874     edx = edx >> 2u; /* 0x2E0084E7: shr edx, 2 */
  10875     /* cmp edx, edi */ /* 0x2E0084EA: cmp edx, edi */
  10876     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  10877     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10878     _flag_k = FK_CMP;
  10879     if (CMP_AE(_flag_a, _flag_b)) goto L_2E008547; /* 0x2E0084EC: jae 0x2e008547 */
  10880 L_2E0084EE:
  10881     edi = MEM32(esi + 0x24); /* 0x2E0084EE: mov edi, dword ptr [esi + 0x24] */
  10882     edi = edi + edx * 4; /* 0x2E0084F1: lea edi, [edi + edx*4] */
  10883     edx = ecx + (-0x4); /* 0x2E0084F4: lea edx, [ecx - 4] */
  10884     /* cmp edi, edx */ /* 0x2E0084F7: cmp edi, edx */
  10885     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  10886     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10887     _flag_k = FK_CMP;
  10888     if (CMP_AE(_flag_a, _flag_b)) goto L_2E008522; /* 0x2E0084F9: jae 0x2e008522 */
  10889 L_2E0084FB:
  10890     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
  10891     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10892     eax = eax + 8; /* 0x2E0084FB: add eax, 8 */
  10893     _flag_k = FK_ADD;
  10894     edx = edi; /* 0x2E0084FE: mov edx, edi */
  10895     MEM32(ebp + (-0x4)) = eax; /* 0x2E008500: mov dword ptr [ebp - 4], eax */
  10896     eax = ecx + (-0x4); /* 0x2E008503: lea eax, [ecx - 4] */
  10897     /* cmp eax, MEM32(ebp + (-0x4)) */ /* 0x2E008506: cmp eax, dword ptr [ebp - 4] */
  10898     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x4)));
  10899     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10900     _flag_k = FK_CMP;
  10901     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0085A1; /* 0x2E008509: je 0x2e0085a1 */
  10902 L_2E00850F:
  10903     ecx = MEM32(eax); /* 0x2E00850F: mov ecx, dword ptr [eax] */
  10904     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  10905     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10906     eax = eax + 4; /* 0x2E008511: add eax, 4 */
  10907     _flag_k = FK_ADD;
  10908     MEM32(edx) = ecx; /* 0x2E008514: mov dword ptr [edx], ecx */
  10909     ecx = MEM32(ebp + (-0x4)); /* 0x2E008516: mov ecx, dword ptr [ebp - 4] */
  10910     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4);
  10911     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10912     edx = edx + 4; /* 0x2E008519: add edx, 4 */
  10913     _flag_k = FK_ADD;
  10914     /* cmp eax, ecx */ /* 0x2E00851C: cmp eax, ecx */
  10915     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10916     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10917     _flag_k = FK_CMP;
  10918     RECOMP_BACKEDGE();
  10919     if (CMP_NE(_flag_a, _flag_b)) goto L_2E00850F; /* 0x2E00851E: jne 0x2e00850f */
  10920 L_2E008520:
  10921     goto L_2E0085A1; /* 0x2E008520: jmp 0x2e0085a1 */
  10922 L_2E008522:
  10923     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
  10924     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10925     eax = eax + 8; /* 0x2E008522: add eax, 8 */
  10926     _flag_k = FK_ADD;
  10927     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFCu);
  10928     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10929     ecx = ecx + 0xFFFFFFFCu; /* 0x2E008525: add ecx, -4 */
  10930     _flag_k = FK_ADD;
  10931     /* cmp ecx, eax */ /* 0x2E008528: cmp ecx, eax */
  10932     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  10933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10934     _flag_k = FK_CMP;
  10935     edx = edi + ebx * 4 + 0x8; /* 0x2E00852A: lea edx, [edi + ebx*4 + 8] */
  10936     MEM32(ebp + (-0x4)) = ecx; /* 0x2E00852E: mov dword ptr [ebp - 4], ecx */
  10937     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E0085A1; /* 0x2E008531: je 0x2e0085a1 */
  10938 L_2E008533:
  10939     ecx = MEM32(eax + (-0x4)); /* 0x2E008533: mov ecx, dword ptr [eax - 4] */
  10940     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  10941     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10942     eax = eax - 4; /* 0x2E008536: sub eax, 4 */
  10943     _flag_k = FK_CMP;
  10944     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4);
  10945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10946     edx = edx - 4; /* 0x2E008539: sub edx, 4 */
  10947     _flag_k = FK_CMP;
  10948     MEM32(edx) = ecx; /* 0x2E00853C: mov dword ptr [edx], ecx */
  10949     ecx = MEM32(ebp + (-0x4)); /* 0x2E00853E: mov ecx, dword ptr [ebp - 4] */
  10950     /* cmp eax, ecx */ /* 0x2E008541: cmp eax, ecx */
  10951     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10952     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10953     _flag_k = FK_CMP;
  10954     RECOMP_BACKEDGE();
  10955     if (CMP_NE(_flag_a, _flag_b)) goto L_2E008533; /* 0x2E008543: jne 0x2e008533 */
  10956 L_2E008545:
  10957     goto L_2E0085A1; /* 0x2E008545: jmp 0x2e0085a1 */
  10958 L_2E008547:
  10959     eax = edi * 4; /* 0x2E008547: lea eax, [edi*4] */
  10960     /* test eax, eax */ /* 0x2E00854E: test eax, eax */
  10961     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  10962     _cf = 0;
  10963     _flag_k = FK_TEST;
  10964     if (TEST_NS(_flag_a, _flag_b)) goto L_2E008554; /* 0x2E008550: jge 0x2e008554 */
  10965 L_2E008552:
  10966     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10967     eax = 0; /* 0x2E008552: xor eax, eax */
  10968     _cf = 0;
  10969     _flag_k = FK_TEST;
  10970 L_2E008554:
  10971     PUSH32(esp, eax); /* 0x2E008554: push eax */
  10972     RECOMP_ICALL(0x2E010FAAu); /* 0x2E008555: call 0x2e010faa */ /* not lifted */
  10973     RECOMP_FLAGS_IN();
  10974     ecx = MEM32(esi + 0x20); /* 0x2E00855A: mov ecx, dword ptr [esi + 0x20] */
  10975     MEM32(ebp + (-0x10)) = eax; /* 0x2E00855D: mov dword ptr [ebp - 0x10], eax */
  10976     if (2u) _cf = (((edi) >> 1) & 1u); /* 0x2E008560: shr edi, 2 */
  10977     if (2u) { _flag_a = recomp_flags_pack((edi >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  10978     edi = edi >> 2u; /* 0x2E008560: shr edi, 2 */
  10979     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
  10980     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10981     ecx = ecx + 8; /* 0x2E008563: add ecx, 8 */
  10982     _flag_k = FK_ADD;
  10983     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10984     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10985     esp = esp + 4; /* 0x2E008566: add esp, 4 */
  10986     _flag_k = FK_ADD;
  10987     edi = eax + edi * 4; /* 0x2E008569: lea edi, [eax + edi*4] */
  10988     eax = MEM32(esi + 0x10); /* 0x2E00856C: mov eax, dword ptr [esi + 0x10] */
  10989     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  10990     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10991     eax = eax - 4; /* 0x2E00856F: sub eax, 4 */
  10992     _flag_k = FK_CMP;
  10993     edx = edi; /* 0x2E008572: mov edx, edi */
  10994     /* cmp eax, ecx */ /* 0x2E008574: cmp eax, ecx */
  10995     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10997     _flag_k = FK_CMP;
  10998     if (CMP_EQ(_flag_a, _flag_b)) goto L_2E008589; /* 0x2E008576: je 0x2e008589 */
  10999 L_2E008578:
  11000     ebx = MEM32(eax); /* 0x2E008578: mov ebx, dword ptr [eax] */
  11001     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  11002     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11003     eax = eax + 4; /* 0x2E00857A: add eax, 4 */
  11004     _flag_k = FK_ADD;
  11005     MEM32(edx) = ebx; /* 0x2E00857D: mov dword ptr [edx], ebx */
  11006     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4);
  11007     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11008     edx = edx + 4; /* 0x2E00857F: add edx, 4 */
  11009     _flag_k = FK_ADD;
  11010     /* cmp eax, ecx */ /* 0x2E008582: cmp eax, ecx */
  11011     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  11012     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11013     _flag_k = FK_CMP;
  11014     RECOMP_BACKEDGE();
  11015     if (CMP_NE(_flag_a, _flag_b)) goto L_2E008578; /* 0x2E008584: jne 0x2e008578 */
  11016 L_2E008586:
  11017     ebx = MEM32(ebp + (-0xC)); /* 0x2E008586: mov ebx, dword ptr [ebp - 0xc] */
  11018 L_2E008589:
  11019     edx = MEM32(esi + 0x24); /* 0x2E008589: mov edx, dword ptr [esi + 0x24] */
  11020     PUSH32(esp, edx); /* 0x2E00858C: push edx */
  11021     RECOMP_ICALL(0x2E010E90u); /* 0x2E00858D: call 0x2e010e90 */ /* not lifted */
  11022     RECOMP_FLAGS_IN();
  11023     eax = MEM32(ebp + (-0x10)); /* 0x2E008592: mov eax, dword ptr [ebp - 0x10] */
  11024     ecx = MEM32(ebp + (-0x4)); /* 0x2E008595: mov ecx, dword ptr [ebp - 4] */
  11025     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11026     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11027     esp = esp + 4; /* 0x2E008598: add esp, 4 */
  11028     _flag_k = FK_ADD;
  11029     MEM32(esi + 0x24) = eax; /* 0x2E00859B: mov dword ptr [esi + 0x24], eax */
  11030     MEM32(esi + 0x28) = ecx; /* 0x2E00859E: mov dword ptr [esi + 0x28], ecx */
  11031 L_2E0085A1:
  11032     edx = MEM32(ebp + (-0x8)); /* 0x2E0085A1: mov edx, dword ptr [ebp - 8] */
  11033     eax = edi + 0x4; /* 0x2E0085A4: lea eax, [edi + 4] */
  11034     ecx = eax + ebx * 4; /* 0x2E0085A7: lea ecx, [eax + ebx*4] */
  11035     MEM32(ecx) = edx; /* 0x2E0085AA: mov dword ptr [ecx], edx */
  11036     MEM32(eax + ebx * 4 + 0x4) = 0; /* 0x2E0085AC: mov dword ptr [eax + ebx*4 + 4], 0 */
  11037     edi = MEM32(esi + 0xC); /* 0x2E0085B4: mov edi, dword ptr [esi + 0xc] */
  11038     edx = MEM32(eax); /* 0x2E0085B7: mov edx, dword ptr [eax] */
  11039     MEM32(ebp + (-0x18)) = edi; /* 0x2E0085B9: mov dword ptr [ebp - 0x18], edi */
  11040     edi = esi + 0x4; /* 0x2E0085BC: lea edi, [esi + 4] */
  11041     ebx = edx + 0x1000; /* 0x2E0085BF: lea ebx, [edx + 0x1000] */
  11042     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u);
  11043     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11044     esi = esi + 0x14u; /* 0x2E0085C5: add esi, 0x14 */
  11045     _flag_k = FK_ADD;
  11046     MEM32(edi) = edx; /* 0x2E0085C8: mov dword ptr [edi], edx */
  11047     edx = MEM32(ebp + (-0x18)); /* 0x2E0085CA: mov edx, dword ptr [ebp - 0x18] */
  11048     MEM32(edi + 0x4) = ebx; /* 0x2E0085CD: mov dword ptr [edi + 4], ebx */
  11049     MEM32(edi + 0x8) = edx; /* 0x2E0085D0: mov dword ptr [edi + 8], edx */
  11050     MEM32(edi + 0xC) = eax; /* 0x2E0085D3: mov dword ptr [edi + 0xc], eax */
  11051     eax = MEM32(ecx); /* 0x2E0085D6: mov eax, dword ptr [ecx] */
  11052     MEM32(esi) = eax; /* 0x2E0085D8: mov dword ptr [esi], eax */
  11053     edi = POP32_VAL(esp); /* 0x2E0085DA: pop edi */
  11054     edx = eax + 0x1000; /* 0x2E0085DB: lea edx, [eax + 0x1000] */
  11055     eax = MEM32(ebp + (-0x8)); /* 0x2E0085E1: mov eax, dword ptr [ebp - 8] */
  11056     MEM32(esi + 0x4) = edx; /* 0x2E0085E4: mov dword ptr [esi + 4], edx */
  11057     MEM32(esi + 0x8) = eax; /* 0x2E0085E7: mov dword ptr [esi + 8], eax */
  11058     MEM32(esi + 0xC) = ecx; /* 0x2E0085EA: mov dword ptr [esi + 0xc], ecx */
  11059     esi = POP32_VAL(esp); /* 0x2E0085ED: pop esi */
  11060     ebx = POP32_VAL(esp); /* 0x2E0085EE: pop ebx */
  11061     esp = ebp; /* 0x2E0085EF: mov esp, ebp */
  11062     ebp = POP32_VAL(esp); /* 0x2E0085F1: pop ebp */
  11063     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0085F2: ret  */
  11064     RECOMP_REGS_OUT();
  11065 }
  11066 
  11067 void sub_2E008600(void) {
  11068     int _fpu_cmp = 0;
  11069     uint32_t _cf = 0;
  11070     int _df = 1;
  11071     uint32_t _flag_k = FK_NONE;
  11072     uint32_t _flag_a = 0, _flag_b = 0;
  11073     uint32_t _itail_tgt = 0;
  11074     RECOMP_REGS_LOCALS
  11075     RECOMP_ENTER(0x2E008600u);
  11076 
  11077 L_2E008600:
  11078     PUSH32(esp, ebp); /* 0x2E008600: push ebp */
  11079     ebp = esp; /* 0x2E008601: mov ebp, esp */
  11080     eax = MEM32(ebp + 0x8); /* 0x2E008603: mov eax, dword ptr [ebp + 8] */
  11081     /* test eax, eax */ /* 0x2E008606: test eax, eax */
  11082     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  11083     _cf = 0;
  11084     _flag_k = FK_TEST;
  11085     if (TEST_Z(_flag_a, _flag_b)) goto L_2E008611; /* 0x2E008608: je 0x2e008611 */
  11086 L_2E00860A:
  11087     ecx = MEM32(ebp + 0xC); /* 0x2E00860A: mov ecx, dword ptr [ebp + 0xc] */
  11088     edx = MEM32(ecx); /* 0x2E00860D: mov edx, dword ptr [ecx] */
  11089     MEM32(eax) = edx; /* 0x2E00860F: mov dword ptr [eax], edx */
  11090 L_2E008611:
  11091     ebp = POP32_VAL(esp); /* 0x2E008611: pop ebp */
  11092     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E008612: ret  */
  11093     RECOMP_REGS_OUT();
  11094 }
  11095 
  11096 void sub_2E008620(void) {
  11097     int _fpu_cmp = 0;
  11098     uint32_t _cf = 0;
  11099     int _df = 1;
  11100     uint32_t _flag_k = FK_NONE;
  11101     uint32_t _flag_a = 0, _flag_b = 0;
  11102     uint32_t _itail_tgt = 0;
  11103     RECOMP_REGS_LOCALS
  11104     RECOMP_ENTER(0x2E008620u);
  11105 
  11106 L_2E008620:
  11107     PUSH32(esp, ebp); /* 0x2E008620: push ebp */
  11108     ebp = esp; /* 0x2E008621: mov ebp, esp */
  11109     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
  11110     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11111     esp = esp - 0x10u; /* 0x2E008623: sub esp, 0x10 */
  11112     _flag_k = FK_CMP;
  11113     ecx = MEM32(ebp + 0xC); /* 0x2E008626: mov ecx, dword ptr [ebp + 0xc] */
  11114     edx = MEM32(ecx); /* 0x2E008629: mov edx, dword ptr [ecx] */
  11115     MEM32(ebp + (-0x10)) = edx; /* 0x2E00862B: mov dword ptr [ebp - 0x10], edx */
  11116     edx = MEM32(ebp + 0x8); /* 0x2E00862E: mov edx, dword ptr [ebp + 8] */
  11117     eax = MEM32(ecx + 0x4); /* 0x2E008631: mov eax, dword ptr [ecx + 4] */
  11118     MEM32(ebp + (-0xC)) = eax; /* 0x2E008634: mov dword ptr [ebp - 0xc], eax */
  11119     eax = MEM32(ecx + 0x8); /* 0x2E008637: mov eax, dword ptr [ecx + 8] */
  11120     ecx = MEM32(ecx + 0xC); /* 0x2E00863A: mov ecx, dword ptr [ecx + 0xc] */
  11121     MEM32(ebp + (-0x4)) = ecx; /* 0x2E00863D: mov dword ptr [ebp - 4], ecx */
  11122     ecx = MEM32(edx); /* 0x2E008640: mov ecx, dword ptr [edx] */
  11123     MEM32(ebp + (-0x10)) = ecx; /* 0x2E008642: mov dword ptr [ebp - 0x10], ecx */
  11124     ecx = MEM32(edx + 0x4); /* 0x2E008645: mov ecx, dword ptr [edx + 4] */
  11125     MEM32(ebp + (-0xC)) = ecx; /* 0x2E008648: mov dword ptr [ebp - 0xc], ecx */
  11126     ecx = MEM32(edx + 0x8); /* 0x2E00864B: mov ecx, dword ptr [edx + 8] */
  11127     edx = MEM32(edx + 0xC); /* 0x2E00864E: mov edx, dword ptr [edx + 0xc] */
  11128     MEM32(ebp + (-0x4)) = edx; /* 0x2E008651: mov dword ptr [ebp - 4], edx */
  11129     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11130     edx = 0; /* 0x2E008654: xor edx, edx */
  11131     _cf = 0;
  11132     _flag_k = FK_TEST;
  11133     /* cmp ecx, eax */ /* 0x2E008656: cmp ecx, eax */
  11134     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  11135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11136     _flag_k = FK_CMP;
  11137     SET_LO8(edx, (CMP_EQ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2E008658: sete dl */
  11138     SET_LO8(eax, LO8(edx)); /* 0x2E00865B: mov al, dl */
  11139     esp = ebp; /* 0x2E00865D: mov esp, ebp */
  11140     ebp = POP32_VAL(esp); /* 0x2E00865F: pop ebp */
  11141     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E008660: ret  */
  11142     RECOMP_REGS_OUT();
  11143 }
  11144 
  11145 void sub_2E008670(void) {
  11146     int _fpu_cmp = 0;
  11147     uint32_t _cf = 0;
  11148     int _df = 1;
  11149     uint32_t _flag_k = FK_NONE;
  11150     uint32_t _flag_a = 0, _flag_b = 0;
  11151     uint32_t _itail_tgt = 0;
  11152     RECOMP_REGS_LOCALS
  11153     RECOMP_ENTER(0x2E008670u);
  11154 
  11155 L_2E008670:
  11156     PUSH32(esp, ebp); /* 0x2E008670: push ebp */
  11157     ebp = esp; /* 0x2E008671: mov ebp, esp */
  11158     PUSH32(esp, esi); /* 0x2E008673: push esi */
  11159     PUSH32(esp, edi); /* 0x2E008674: push edi */
  11160     PUSH32(esp, 0); /* 0x2E008675: push 0 */
  11161     esi = ecx; /* 0x2E008677: mov esi, ecx */
  11162     PUSH32(esp, 0); /* 0x2E008679: push 0 */
  11163     RECOMP_ICALL(MEM32(0x2E012154)); /* 0x2E00867B: call dword ptr [0x2e012154] */
  11164     RECOMP_FLAGS_IN();
  11165     MEM32(esi) = 0x2E012268u; /* 0x2E008681: mov dword ptr [esi], 0x2e012268 */
  11166     eax = MEM32(0x2E01B310); /* 0x2E008687: mov eax, dword ptr [0x2e01b310] */
  11167     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  11168     eax = eax + 1; /* 0x2E00868C: inc eax */
  11169     _flag_k = FK_INC;
  11170     ecx = 0x800u; /* 0x2E00868D: mov ecx, 0x800 */
  11171     MEM32(0x2E01B310) = eax; /* 0x2E008692: mov dword ptr [0x2e01b310], eax */
  11172     eax = MEM32(ebp + 0x8); /* 0x2E008697: mov eax, dword ptr [ebp + 8] */
  11173     MEM32(esi + 0xC) = eax; /* 0x2E00869A: mov dword ptr [esi + 0xc], eax */
  11174     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11175     eax = 0; /* 0x2E00869D: xor eax, eax */
  11176     _cf = 0;
  11177     _flag_k = FK_TEST;
  11178     edi = esi + 0x10; /* 0x2E00869F: lea edi, [esi + 0x10] */
  11179     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2E0086A2: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; }
  11180     eax = esi; /* 0x2E0086A4: mov eax, esi */
  11181     edi = POP32_VAL(esp); /* 0x2E0086A6: pop edi */
  11182     esi = POP32_VAL(esp); /* 0x2E0086A7: pop esi */
  11183     ebp = POP32_VAL(esp); /* 0x2E0086A8: pop ebp */
  11184     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E0086A9: ret 4 */
  11185     RECOMP_REGS_OUT();
  11186 }
  11187 
  11188 void sub_2E0086B0(void) {
  11189     int _fpu_cmp = 0;
  11190     uint32_t _cf = 0;
  11191     int _df = 1;
  11192     uint32_t _flag_k = FK_NONE;
  11193     uint32_t _flag_a = 0, _flag_b = 0;
  11194     uint32_t _itail_tgt = 0;
  11195     RECOMP_REGS_LOCALS
  11196     RECOMP_ENTER(0x2E0086B0u);
  11197 
  11198 L_2E0086B0:
  11199     MEM32(ecx) = 0x2E012268u; /* 0x2E0086B0: mov dword ptr [ecx], 0x2e012268 */
  11200 L_2E0086B6:
  11201     edx = MEM32(0x2E01B314); /* 0x2E0086B6: mov edx, dword ptr [0x2e01b314] */
  11202 L_2E0086BC:
  11203     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  11204     edx = edx + 1; /* 0x2E0086BC: inc edx */
  11205     _flag_k = FK_INC;
  11206 L_2E0086BD:
  11207     MEM32(0x2E01B314) = edx; /* 0x2E0086BD: mov dword ptr [0x2e01b314], edx */
  11208 L_2E0086C3:
  11209     eax = MEM32(ecx + 0xC); /* 0x2E0086C3: mov eax, dword ptr [ecx + 0xc] */
  11210 L_2E0086C6:
  11211     /* test eax, eax */ /* 0x2E0086C6: test eax, eax */
  11212     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  11213     _cf = 0;
  11214     _flag_k = FK_TEST;
  11215 L_2E0086C8:
  11216     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0086D1; /* 0x2E0086C8: je 0x2e0086d1 */
  11217 L_2E0086CA:
  11218     MEM32(ecx + 0xC) = 0; /* 0x2E0086CA: mov dword ptr [ecx + 0xc], 0 */
  11219 L_2E0086D1:
  11220     { _itail_tgt = (uint32_t)(MEM32(0x2E012150)); goto _ljump; }
  11221     { RECOMP_REGS_OUT(); return; } /* end of function */
  11222   _ljump:
  11223     switch (_itail_tgt) {
  11224       case 0x2E0086B0u: goto L_2E0086B0;
  11225       case 0x2E0086B6u: goto L_2E0086B6;
  11226       case 0x2E0086BCu: goto L_2E0086BC;
  11227       case 0x2E0086BDu: goto L_2E0086BD;
  11228       case 0x2E0086C3u: goto L_2E0086C3;
  11229       case 0x2E0086C6u: goto L_2E0086C6;
  11230       case 0x2E0086C8u: goto L_2E0086C8;
  11231       case 0x2E0086CAu: goto L_2E0086CA;
  11232       case 0x2E0086D1u: goto L_2E0086D1;
  11233       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  11234     }
  11235     RECOMP_REGS_OUT();
  11236 }
  11237 
  11238 void sub_2E0086E0(void) {
  11239     int _fpu_cmp = 0;
  11240     uint32_t _cf = 0;
  11241     int _df = 1;
  11242     uint32_t _flag_k = FK_NONE;
  11243     uint32_t _flag_a = 0, _flag_b = 0;
  11244     uint32_t _itail_tgt = 0;
  11245     RECOMP_REGS_LOCALS
  11246     RECOMP_ENTER(0x2E0086E0u);
  11247 
  11248 L_2E0086E0:
  11249     PUSH32(esp, 0); /* 0x2E0086E0: push 0 */
  11250     RECOMP_ICALL(0x2E008700u); /* 0x2E0086E2: call 0x2e008700 */ /* not lifted */
  11251     RECOMP_FLAGS_IN();
  11252     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11253     eax = 0; /* 0x2E0086E7: xor eax, eax */
  11254     _cf = 0;
  11255     _flag_k = FK_TEST;
  11256     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0086E9: ret  */
  11257     RECOMP_REGS_OUT();
  11258 }
  11259 
  11260 void sub_2E0086F0(void) {
  11261     int _fpu_cmp = 0;
  11262     uint32_t _cf = 0;
  11263     int _df = 1;
  11264     uint32_t _flag_k = FK_NONE;
  11265     uint32_t _flag_a = 0, _flag_b = 0;
  11266     uint32_t _itail_tgt = 0;
  11267     RECOMP_REGS_LOCALS
  11268     RECOMP_ENTER(0x2E0086F0u);
  11269 
  11270 L_2E0086F0:
  11271     /* test ecx, ecx */ /* 0x2E0086F0: test ecx, ecx */
  11272     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  11273     _cf = 0;
  11274     _flag_k = FK_TEST;
  11275     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0086FA; /* 0x2E0086F2: je 0x2e0086fa */
  11276 L_2E0086F4:
  11277     eax = MEM32(ecx); /* 0x2E0086F4: mov eax, dword ptr [ecx] */
  11278     PUSH32(esp, 1); /* 0x2E0086F6: push 1 */
  11279     RECOMP_ICALL(MEM32(eax)); /* 0x2E0086F8: call dword ptr [eax] */
  11280     RECOMP_FLAGS_IN();
  11281 L_2E0086FA:
  11282     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0086FA: ret  */
  11283     RECOMP_REGS_OUT();
  11284 }
  11285 
  11286 void sub_2E008700(void) {
  11287     int _fpu_cmp = 0;
  11288     uint32_t _cf = 0;
  11289     int _df = 1;
  11290     uint32_t _flag_k = FK_NONE;
  11291     uint32_t _flag_a = 0, _flag_b = 0;
  11292     uint32_t _itail_tgt = 0;
  11293     RECOMP_REGS_LOCALS
  11294     RECOMP_ENTER(0x2E008700u);
  11295 
  11296 L_2E008700:
  11297     PUSH32(esp, ebp); /* 0x2E008700: push ebp */
  11298     ebp = esp; /* 0x2E008701: mov ebp, esp */
  11299     eax = MEM32(ebp + 0x8); /* 0x2E008703: mov eax, dword ptr [ebp + 8] */
  11300     MEM32(ecx + 0xC) = eax; /* 0x2E008706: mov dword ptr [ecx + 0xc], eax */
  11301     ebp = POP32_VAL(esp); /* 0x2E008709: pop ebp */
  11302     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E00870A: ret 4 */
  11303     RECOMP_REGS_OUT();
  11304 }
  11305 
  11306 void sub_2E008710(void) {
  11307     int _fpu_cmp = 0;
  11308     uint32_t _cf = 0;
  11309     int _df = 1;
  11310     uint32_t _flag_k = FK_NONE;
  11311     uint32_t _flag_a = 0, _flag_b = 0;
  11312     uint32_t _itail_tgt = 0;
  11313     RECOMP_REGS_LOCALS
  11314     RECOMP_ENTER(0x2E008710u);
  11315 
  11316 L_2E008710:
  11317     eax = MEM32(0x2E01B314); /* 0x2E008710: mov eax, dword ptr [0x2e01b314] */
  11318     ecx = MEM32(0x2E01B310); /* 0x2E008715: mov ecx, dword ptr [0x2e01b310] */
  11319     PUSH32(esp, esi); /* 0x2E00871B: push esi */
  11320     esi = MEM32(0x2E0120A8); /* 0x2E00871C: mov esi, dword ptr [0x2e0120a8] */
  11321     PUSH32(esp, eax); /* 0x2E008722: push eax */
  11322     PUSH32(esp, ecx); /* 0x2E008723: push ecx */
  11323     PUSH32(esp, 0x2E019254u); /* 0x2E008724: push 0x2e019254 */
  11324     RECOMP_ICALL(esi); /* 0x2E008729: call esi */
  11325     RECOMP_FLAGS_IN();
  11326     edx = MEM32(0x2E01B310); /* 0x2E00872B: mov edx, dword ptr [0x2e01b310] */
  11327     eax = MEM32(0x2E01B314); /* 0x2E008731: mov eax, dword ptr [0x2e01b314] */
  11328     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  11329     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11330     esp = esp + 0xCu; /* 0x2E008736: add esp, 0xc */
  11331     _flag_k = FK_ADD;
  11332     /* cmp edx, eax */ /* 0x2E008739: cmp edx, eax */
  11333     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  11334     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11335     _flag_k = FK_CMP;
  11336     if (CMP_NE(_flag_a, _flag_b)) goto L_2E008749; /* 0x2E00873B: jne 0x2e008749 */
  11337 L_2E00873D:
  11338     PUSH32(esp, 0x2E0191F4u); /* 0x2E00873D: push 0x2e0191f4 */
  11339     RECOMP_ICALL(esi); /* 0x2E008742: call esi */
  11340     RECOMP_FLAGS_IN();
  11341     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11342     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11343     esp = esp + 4; /* 0x2E008744: add esp, 4 */
  11344     _flag_k = FK_ADD;
  11345     esi = POP32_VAL(esp); /* 0x2E008747: pop esi */
  11346     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E008748: ret  */
  11347 L_2E008749:
  11348     PUSH32(esp, 0x2E0191ECu); /* 0x2E008749: push 0x2e0191ec */
  11349     RECOMP_ICALL(esi); /* 0x2E00874E: call esi */
  11350     RECOMP_FLAGS_IN();
  11351     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11352     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11353     esp = esp + 4; /* 0x2E008750: add esp, 4 */
  11354     _flag_k = FK_ADD;
  11355     esi = POP32_VAL(esp); /* 0x2E008753: pop esi */
  11356     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E008754: ret  */
  11357     RECOMP_REGS_OUT();
  11358 }
  11359 
  11360 void sub_2E008760(void) {
  11361     int _fpu_cmp = 0;
  11362     uint32_t _cf = 0;
  11363     int _df = 1;
  11364     uint32_t _flag_k = FK_NONE;
  11365     uint32_t _flag_a = 0, _flag_b = 0;
  11366     uint32_t _itail_tgt = 0;
  11367     RECOMP_REGS_LOCALS
  11368     RECOMP_ENTER(0x2E008760u);
  11369 
  11370 L_2E008760:
  11371     RECOMP_ICALL(0x2E008770u); /* 0x2E008760: call 0x2e008770 */ /* not lifted */
  11372     RECOMP_FLAGS_IN();
  11373     goto L_2E008780; /* 0x2E008765: jmp 0x2e008780 */
  11374 L_2E008780:
  11375     PUSH32(esp, 0x2E008790u); /* 0x2E008780: push 0x2e008790 */
  11376     RECOMP_ICALL(0x2E010FDCu); /* 0x2E008785: call 0x2e010fdc */ /* not lifted */
  11377     RECOMP_FLAGS_IN();
  11378     ecx = POP32_VAL(esp); /* 0x2E00878A: pop ecx */
  11379     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00878B: ret  */
  11380     RECOMP_REGS_OUT();
  11381 }
  11382 
  11383 void sub_2E008770(void) {
  11384     int _fpu_cmp = 0;
  11385     uint32_t _cf = 0;
  11386     int _df = 1;
  11387     uint32_t _flag_k = FK_NONE;
  11388     uint32_t _flag_a = 0, _flag_b = 0;
  11389     uint32_t _itail_tgt = 0;
  11390     RECOMP_REGS_LOCALS
  11391     RECOMP_ENTER(0x2E008770u);
  11392 
  11393 L_2E008770:
  11394     ecx = 0x2E01B30Du; /* 0x2E008770: mov ecx, 0x2e01b30d */
  11395 L_2E008775:
  11396     { _itail_tgt = (uint32_t)(MEM32(0x2E012074)); goto _ljump; }
  11397     { RECOMP_REGS_OUT(); return; } /* end of function */
  11398   _ljump:
  11399     switch (_itail_tgt) {
  11400       case 0x2E008770u: goto L_2E008770;
  11401       case 0x2E008775u: goto L_2E008775;
  11402       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  11403     }
  11404     RECOMP_REGS_OUT();
  11405 }
  11406 
  11407 void sub_2E008780(void) {
  11408     int _fpu_cmp = 0;
  11409     uint32_t _cf = 0;
  11410     int _df = 1;
  11411     uint32_t _flag_k = FK_NONE;
  11412     uint32_t _flag_a = 0, _flag_b = 0;
  11413     uint32_t _itail_tgt = 0;
  11414     RECOMP_REGS_LOCALS
  11415     RECOMP_ENTER(0x2E008780u);
  11416 
  11417 L_2E008780:
  11418     PUSH32(esp, 0x2E008790u); /* 0x2E008780: push 0x2e008790 */
  11419     RECOMP_ICALL(0x2E010FDCu); /* 0x2E008785: call 0x2e010fdc */ /* not lifted */
  11420     RECOMP_FLAGS_IN();
  11421     ecx = POP32_VAL(esp); /* 0x2E00878A: pop ecx */
  11422     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E00878B: ret  */
  11423     RECOMP_REGS_OUT();
  11424 }
  11425 
  11426 void sub_2E008790(void) {
  11427     int _fpu_cmp = 0;
  11428     uint32_t _cf = 0;
  11429     int _df = 1;
  11430     uint32_t _flag_k = FK_NONE;
  11431     uint32_t _flag_a = 0, _flag_b = 0;
  11432     uint32_t _itail_tgt = 0;
  11433     RECOMP_REGS_LOCALS
  11434     RECOMP_ENTER(0x2E008790u);
  11435 
  11436 L_2E008790:
  11437     ecx = 0x2E01B30Du; /* 0x2E008790: mov ecx, 0x2e01b30d */
  11438 L_2E008795:
  11439     { _itail_tgt = (uint32_t)(MEM32(0x2E012070)); goto _ljump; }
  11440     { RECOMP_REGS_OUT(); return; } /* end of function */
  11441   _ljump:
  11442     switch (_itail_tgt) {
  11443       case 0x2E008790u: goto L_2E008790;
  11444       case 0x2E008795u: goto L_2E008795;
  11445       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  11446     }
  11447     RECOMP_REGS_OUT();
  11448 }
  11449 
  11450 void sub_2E0087A0(void) {
  11451     int _fpu_cmp = 0;
  11452     uint32_t _cf = 0;
  11453     int _df = 1;
  11454     uint32_t _flag_k = FK_NONE;
  11455     uint32_t _flag_a = 0, _flag_b = 0;
  11456     uint32_t _itail_tgt = 0;
  11457     RECOMP_REGS_LOCALS
  11458     RECOMP_ENTER(0x2E0087A0u);
  11459 
  11460 L_2E0087A0:
  11461     RECOMP_ICALL(0x2E0087B0u); /* 0x2E0087A0: call 0x2e0087b0 */ /* not lifted */
  11462     RECOMP_FLAGS_IN();
  11463     goto L_2E0087C0; /* 0x2E0087A5: jmp 0x2e0087c0 */
  11464 L_2E0087C0:
  11465     PUSH32(esp, 0x2E0087D0u); /* 0x2E0087C0: push 0x2e0087d0 */
  11466     RECOMP_ICALL(0x2E010FDCu); /* 0x2E0087C5: call 0x2e010fdc */ /* not lifted */
  11467     RECOMP_FLAGS_IN();
  11468     ecx = POP32_VAL(esp); /* 0x2E0087CA: pop ecx */
  11469     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0087CB: ret  */
  11470     RECOMP_REGS_OUT();
  11471 }
  11472 
  11473 void sub_2E0087B0(void) {
  11474     int _fpu_cmp = 0;
  11475     uint32_t _cf = 0;
  11476     int _df = 1;
  11477     uint32_t _flag_k = FK_NONE;
  11478     uint32_t _flag_a = 0, _flag_b = 0;
  11479     uint32_t _itail_tgt = 0;
  11480     RECOMP_REGS_LOCALS
  11481     RECOMP_ENTER(0x2E0087B0u);
  11482 
  11483 L_2E0087B0:
  11484     ecx = 0x2E01B30Cu; /* 0x2E0087B0: mov ecx, 0x2e01b30c */
  11485 L_2E0087B5:
  11486     { _itail_tgt = (uint32_t)(MEM32(0x2E01206C)); goto _ljump; }
  11487     { RECOMP_REGS_OUT(); return; } /* end of function */
  11488   _ljump:
  11489     switch (_itail_tgt) {
  11490       case 0x2E0087B0u: goto L_2E0087B0;
  11491       case 0x2E0087B5u: goto L_2E0087B5;
  11492       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  11493     }
  11494     RECOMP_REGS_OUT();
  11495 }
  11496 
  11497 void sub_2E0087C0(void) {
  11498     int _fpu_cmp = 0;
  11499     uint32_t _cf = 0;
  11500     int _df = 1;
  11501     uint32_t _flag_k = FK_NONE;
  11502     uint32_t _flag_a = 0, _flag_b = 0;
  11503     uint32_t _itail_tgt = 0;
  11504     RECOMP_REGS_LOCALS
  11505     RECOMP_ENTER(0x2E0087C0u);
  11506 
  11507 L_2E0087C0:
  11508     PUSH32(esp, 0x2E0087D0u); /* 0x2E0087C0: push 0x2e0087d0 */
  11509     RECOMP_ICALL(0x2E010FDCu); /* 0x2E0087C5: call 0x2e010fdc */ /* not lifted */
  11510     RECOMP_FLAGS_IN();
  11511     ecx = POP32_VAL(esp); /* 0x2E0087CA: pop ecx */
  11512     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0087CB: ret  */
  11513     RECOMP_REGS_OUT();
  11514 }
  11515 
  11516 void sub_2E0087D0(void) {
  11517     int _fpu_cmp = 0;
  11518     uint32_t _cf = 0;
  11519     int _df = 1;
  11520     uint32_t _flag_k = FK_NONE;
  11521     uint32_t _flag_a = 0, _flag_b = 0;
  11522     uint32_t _itail_tgt = 0;
  11523     RECOMP_REGS_LOCALS
  11524     RECOMP_ENTER(0x2E0087D0u);
  11525 
  11526 L_2E0087D0:
  11527     ecx = 0x2E01B30Cu; /* 0x2E0087D0: mov ecx, 0x2e01b30c */
  11528 L_2E0087D5:
  11529     { _itail_tgt = (uint32_t)(MEM32(0x2E012068)); goto _ljump; }
  11530     { RECOMP_REGS_OUT(); return; } /* end of function */
  11531   _ljump:
  11532     switch (_itail_tgt) {
  11533       case 0x2E0087D0u: goto L_2E0087D0;
  11534       case 0x2E0087D5u: goto L_2E0087D5;
  11535       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  11536     }
  11537     RECOMP_REGS_OUT();
  11538 }
  11539 
  11540 void sub_2E0087E0(void) {
  11541     int _fpu_cmp = 0;
  11542     uint32_t _cf = 0;
  11543     int _df = 1;
  11544     uint32_t _flag_k = FK_NONE;
  11545     uint32_t _flag_a = 0, _flag_b = 0;
  11546     uint32_t _itail_tgt = 0;
  11547     RECOMP_REGS_LOCALS
  11548     RECOMP_ENTER(0x2E0087E0u);
  11549 
  11550 L_2E0087E0:
  11551     goto L_2E0087F0; /* 0x2E0087E0: jmp 0x2e0087f0 */
  11552 L_2E0087F0:
  11553     MEM32(0x2E01B308) = 0x2E019220u; /* 0x2E0087F0: mov dword ptr [0x2e01b308], 0x2e019220 */
  11554     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0087FA: ret  */
  11555     RECOMP_REGS_OUT();
  11556 }
  11557 
  11558 void sub_2E0087F0(void) {
  11559     int _fpu_cmp = 0;
  11560     uint32_t _cf = 0;
  11561     int _df = 1;
  11562     uint32_t _flag_k = FK_NONE;
  11563     uint32_t _flag_a = 0, _flag_b = 0;
  11564     uint32_t _itail_tgt = 0;
  11565     RECOMP_REGS_LOCALS
  11566     RECOMP_ENTER(0x2E0087F0u);
  11567 
  11568 L_2E0087F0:
  11569     MEM32(0x2E01B308) = 0x2E019220u; /* 0x2E0087F0: mov dword ptr [0x2e01b308], 0x2e019220 */
  11570     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0087FA: ret  */
  11571     RECOMP_REGS_OUT();
  11572 }
  11573 
  11574 void sub_2E008800(void) {
  11575     int _fpu_cmp = 0;
  11576     uint32_t _cf = 0;
  11577     int _df = 1;
  11578     uint32_t _flag_k = FK_NONE;
  11579     uint32_t _flag_a = 0, _flag_b = 0;
  11580     uint32_t _itail_tgt = 0;
  11581     RECOMP_REGS_LOCALS
  11582     RECOMP_ENTER(0x2E008800u);
  11583 
  11584 L_2E008800:
  11585     eax = MEM32(ecx + 0xC); /* 0x2E008800: mov eax, dword ptr [ecx + 0xc] */
  11586     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E008803: ret  */
  11587     RECOMP_REGS_OUT();
  11588 }
  11589 
  11590 void sub_2E008810(void) {
  11591     int _fpu_cmp = 0;
  11592     uint32_t _cf = 0;
  11593     int _df = 1;
  11594     uint32_t _flag_k = FK_NONE;
  11595     uint32_t _flag_a = 0, _flag_b = 0;
  11596     uint32_t _itail_tgt = 0;
  11597     RECOMP_REGS_LOCALS
  11598     RECOMP_ENTER(0x2E008810u);
  11599 
  11600 L_2E008810:
  11601     PUSH32(esp, ebp); /* 0x2E008810: push ebp */
  11602     ebp = esp; /* 0x2E008811: mov ebp, esp */
  11603     edx = MEM32(ebp + 0x8); /* 0x2E008813: mov edx, dword ptr [ebp + 8] */
  11604     eax = ecx; /* 0x2E008816: mov eax, ecx */
  11605     PUSH32(esp, esi); /* 0x2E008818: push esi */
  11606     PUSH32(esp, edi); /* 0x2E008819: push edi */
  11607     ecx = MEM32(edx + 0x4); /* 0x2E00881A: mov ecx, dword ptr [edx + 4] */
  11608     esi = edx + 0x10; /* 0x2E00881D: lea esi, [edx + 0x10] */
  11609     MEM32(eax + 0x4) = ecx; /* 0x2E008820: mov dword ptr [eax + 4], ecx */
  11610     ecx = MEM32(edx + 0x8); /* 0x2E008823: mov ecx, dword ptr [edx + 8] */
  11611     MEM32(eax + 0x8) = ecx; /* 0x2E008826: mov dword ptr [eax + 8], ecx */
  11612     ecx = MEM32(0x2E01214C); /* 0x2E008829: mov ecx, dword ptr [0x2e01214c] */
  11613     MEM32(eax) = ecx; /* 0x2E00882F: mov dword ptr [eax], ecx */
  11614     ecx = MEM32(edx + 0xC); /* 0x2E008831: mov ecx, dword ptr [edx + 0xc] */
  11615     MEM32(eax + 0xC) = ecx; /* 0x2E008834: mov dword ptr [eax + 0xc], ecx */
  11616     ecx = 0x800u; /* 0x2E008837: mov ecx, 0x800 */
  11617     edi = eax + 0x10; /* 0x2E00883C: lea edi, [eax + 0x10] */
  11618     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2E00883F: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
  11619     edi = POP32_VAL(esp); /* 0x2E008841: pop edi */
  11620     MEM32(eax) = 0x2E012268u; /* 0x2E008842: mov dword ptr [eax], 0x2e012268 */
  11621     esi = POP32_VAL(esp); /* 0x2E008848: pop esi */
  11622     ebp = POP32_VAL(esp); /* 0x2E008849: pop ebp */
  11623     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E00884A: ret 4 */
  11624     RECOMP_REGS_OUT();
  11625 }
  11626 
  11627 void sub_2E008850(void) {
  11628     int _fpu_cmp = 0;
  11629     uint32_t _cf = 0;
  11630     int _df = 1;
  11631     uint32_t _flag_k = FK_NONE;
  11632     uint32_t _flag_a = 0, _flag_b = 0;
  11633     uint32_t _itail_tgt = 0;
  11634     RECOMP_REGS_LOCALS
  11635     RECOMP_ENTER(0x2E008850u);
  11636 
  11637 L_2E008850:
  11638     PUSH32(esp, ebp); /* 0x2E008850: push ebp */
  11639     ebp = esp; /* 0x2E008851: mov ebp, esp */
  11640     eax = ecx; /* 0x2E008853: mov eax, ecx */
  11641     PUSH32(esp, esi); /* 0x2E008855: push esi */
  11642     ecx = MEM32(ebp + 0x8); /* 0x2E008856: mov ecx, dword ptr [ebp + 8] */
  11643     PUSH32(esp, edi); /* 0x2E008859: push edi */
  11644     esi = ecx; /* 0x2E00885A: mov esi, ecx */
  11645     edi = 0xFFFFFFF0u; /* 0x2E00885C: mov edi, 0xfffffff0 */
  11646     edx = MEM32(ecx + 0x4); /* 0x2E008861: mov edx, dword ptr [ecx + 4] */
  11647     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
  11648     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11649     esi = esi - eax; /* 0x2E008864: sub esi, eax */
  11650     _flag_k = FK_CMP;
  11651     MEM32(eax + 0x4) = edx; /* 0x2E008866: mov dword ptr [eax + 4], edx */
  11652     edx = MEM32(ecx + 0x8); /* 0x2E008869: mov edx, dword ptr [ecx + 8] */
  11653     MEM32(eax + 0x8) = edx; /* 0x2E00886C: mov dword ptr [eax + 8], edx */
  11654     edx = MEM32(ecx + 0xC); /* 0x2E00886F: mov edx, dword ptr [ecx + 0xc] */
  11655     MEM32(eax + 0xC) = edx; /* 0x2E008872: mov dword ptr [eax + 0xc], edx */
  11656     edx = eax + 0x10; /* 0x2E008875: lea edx, [eax + 0x10] */
  11657     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  11658     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11659     edi = edi - eax; /* 0x2E008878: sub edi, eax */
  11660     _flag_k = FK_CMP;
  11661 L_2E00887A:
  11662     SET_LO8(ecx, MEM8(esi + edx)); /* 0x2E00887A: mov cl, byte ptr [esi + edx] */
  11663     MEM8(edx) = (uint8_t)(LO8(ecx)); /* 0x2E00887D: mov byte ptr [edx], cl */
  11664     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  11665     edx = edx + 1; /* 0x2E00887F: inc edx */
  11666     _flag_k = FK_INC;
  11667     ecx = edi + edx; /* 0x2E008880: lea ecx, [edi + edx] */
  11668     /* cmp ecx, 0x2000u */ /* 0x2E008883: cmp ecx, 0x2000 */
  11669     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2000u);
  11670     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11671     _flag_k = FK_CMP;
  11672     RECOMP_BACKEDGE();
  11673     if (CMP_B(_flag_a, _flag_b)) goto L_2E00887A; /* 0x2E008889: jb 0x2e00887a */
  11674 L_2E00888B:
  11675     edi = POP32_VAL(esp); /* 0x2E00888B: pop edi */
  11676     esi = POP32_VAL(esp); /* 0x2E00888C: pop esi */
  11677     ebp = POP32_VAL(esp); /* 0x2E00888D: pop ebp */
  11678     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E00888E: ret 4 */
  11679     RECOMP_REGS_OUT();
  11680 }
  11681 
  11682 void sub_2E0088A0(void) {
  11683     int _fpu_cmp = 0;
  11684     uint32_t _cf = 0;
  11685     int _df = 1;
  11686     uint32_t _flag_k = FK_NONE;
  11687     uint32_t _flag_a = 0, _flag_b = 0;
  11688     uint32_t _itail_tgt = 0;
  11689     RECOMP_REGS_LOCALS
  11690     RECOMP_ENTER(0x2E0088A0u);
  11691 
  11692 L_2E0088A0:
  11693     PUSH32(esp, 0); /* 0x2E0088A0: push 0 */
  11694     RECOMP_ICALL(0x2E008670u); /* 0x2E0088A2: call 0x2e008670 */ /* not lifted */
  11695     RECOMP_FLAGS_IN();
  11696     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E0088A7: ret  */
  11697     RECOMP_REGS_OUT();
  11698 }
  11699 
  11700 void sub_2E0088B0(void) {
  11701     int _fpu_cmp = 0;
  11702     uint32_t _cf = 0;
  11703     int _df = 1;
  11704     uint32_t _flag_k = FK_NONE;
  11705     uint32_t _flag_a = 0, _flag_b = 0;
  11706     uint32_t _itail_tgt = 0;
  11707     RECOMP_REGS_LOCALS
  11708     RECOMP_ENTER(0x2E0088B0u);
  11709 
  11710 L_2E0088B0:
  11711     PUSH32(esp, ebp); /* 0x2E0088B0: push ebp */
  11712     ebp = esp; /* 0x2E0088B1: mov ebp, esp */
  11713     PUSH32(esp, ebx); /* 0x2E0088B3: push ebx */
  11714     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2E0088B4: mov bl, byte ptr [ebp + 8] */
  11715     PUSH32(esp, esi); /* 0x2E0088B7: push esi */
  11716     esi = ecx; /* 0x2E0088B8: mov esi, ecx */
  11717     /* test LO8(ebx), 2 */ /* 0x2E0088BA: test bl, 2 */
  11718     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  11719     _cf = 0;
  11720     _flag_k = FK_NARROW(FK_TEST, 24);
  11721     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0088EE; /* 0x2E0088BD: je 0x2e0088ee */
  11722 L_2E0088BF:
  11723     eax = MEM32(esi + (-0x4)); /* 0x2E0088BF: mov eax, dword ptr [esi - 4] */
  11724     PUSH32(esp, edi); /* 0x2E0088C2: push edi */
  11725     edi = esi + (-0x4); /* 0x2E0088C3: lea edi, [esi - 4] */
  11726     PUSH32(esp, 0x2E0086B0u); /* 0x2E0088C6: push 0x2e0086b0 */
  11727     PUSH32(esp, eax); /* 0x2E0088CB: push eax */
  11728     PUSH32(esp, 0x2010u); /* 0x2E0088CC: push 0x2010 */
  11729     PUSH32(esp, esi); /* 0x2E0088D1: push esi */
  11730     RECOMP_ICALL(0x2E010EB0u); /* 0x2E0088D2: call 0x2e010eb0 */ /* not lifted */
  11731     RECOMP_FLAGS_IN();
  11732     /* test LO8(ebx), 1 */ /* 0x2E0088D7: test bl, 1 */
  11733     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  11734     _cf = 0;
  11735     _flag_k = FK_NARROW(FK_TEST, 24);
  11736     if (TEST_Z(_flag_a, _flag_b)) goto L_2E0088E5; /* 0x2E0088DA: je 0x2e0088e5 */
  11737 L_2E0088DC:
  11738     PUSH32(esp, edi); /* 0x2E0088DC: push edi */
  11739     RECOMP_ICALL(0x2E010E90u); /* 0x2E0088DD: call 0x2e010e90 */ /* not lifted */
  11740     RECOMP_FLAGS_IN();
  11741     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11742     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11743     esp = esp + 4; /* 0x2E0088E2: add esp, 4 */
  11744     _flag_k = FK_ADD;
  11745 L_2E0088E5:
  11746     eax = edi; /* 0x2E0088E5: mov eax, edi */
  11747     edi = POP32_VAL(esp); /* 0x2E0088E7: pop edi */
  11748     esi = POP32_VAL(esp); /* 0x2E0088E8: pop esi */
  11749     ebx = POP32_VAL(esp); /* 0x2E0088E9: pop ebx */
  11750     ebp = POP32_VAL(esp); /* 0x2E0088EA: pop ebp */
  11751     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E0088EB: ret 4 */
  11752 L_2E0088EE:
  11753     ecx = esi; /* 0x2E0088EE: mov ecx, esi */
  11754     RECOMP_ICALL(0x2E0086B0u); /* 0x2E0088F0: call 0x2e0086b0 */ /* not lifted */
  11755     RECOMP_FLAGS_IN();
  11756     /* test LO8(ebx), 1 */ /* 0x2E0088F5: test bl, 1 */
  11757     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  11758     _cf = 0;
  11759     _flag_k = FK_NARROW(FK_TEST, 24);
  11760     if (TEST_Z(_flag_a, _flag_b)) goto L_2E008903; /* 0x2E0088F8: je 0x2e008903 */
  11761 L_2E0088FA:
  11762     PUSH32(esp, esi); /* 0x2E0088FA: push esi */
  11763     RECOMP_ICALL(0x2E010E90u); /* 0x2E0088FB: call 0x2e010e90 */ /* not lifted */
  11764     RECOMP_FLAGS_IN();
  11765     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11766     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11767     esp = esp + 4; /* 0x2E008900: add esp, 4 */
  11768     _flag_k = FK_ADD;
  11769 L_2E008903:
  11770     eax = esi; /* 0x2E008903: mov eax, esi */
  11771     esi = POP32_VAL(esp); /* 0x2E008905: pop esi */
  11772     ebx = POP32_VAL(esp); /* 0x2E008906: pop ebx */
  11773     ebp = POP32_VAL(esp); /* 0x2E008907: pop ebp */
  11774     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008908: ret 4 */
  11775     RECOMP_REGS_OUT();
  11776 }
  11777 
  11778 void sub_2E008910(void) {
  11779     int _fpu_cmp = 0;
  11780     uint32_t _cf = 0;
  11781     int _df = 1;
  11782     uint32_t _flag_k = FK_NONE;
  11783     uint32_t _flag_a = 0, _flag_b = 0;
  11784     uint32_t _itail_tgt = 0;
  11785     RECOMP_REGS_LOCALS
  11786     RECOMP_ENTER(0x2E008910u);
  11787 
  11788 L_2E008910:
  11789     PUSH32(esp, ebp); /* 0x2E008910: push ebp */
  11790     ebp = esp; /* 0x2E008911: mov ebp, esp */
  11791     eax = ecx; /* 0x2E008913: mov eax, ecx */
  11792     ecx = MEM32(ebp + 0x8); /* 0x2E008915: mov ecx, dword ptr [ebp + 8] */
  11793     MEM32(eax + 0x4) = ecx; /* 0x2E008918: mov dword ptr [eax + 4], ecx */
  11794     MEM32(eax) = 0; /* 0x2E00891B: mov dword ptr [eax], 0 */
  11795     ebp = POP32_VAL(esp); /* 0x2E008921: pop ebp */
  11796     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008922: ret 4 */
  11797     RECOMP_REGS_OUT();
  11798 }
  11799 
  11800 void sub_2E008930(void) {
  11801     int _fpu_cmp = 0;
  11802     uint32_t _cf = 0;
  11803     int _df = 1;
  11804     uint32_t _flag_k = FK_NONE;
  11805     uint32_t _flag_a = 0, _flag_b = 0;
  11806     uint32_t _itail_tgt = 0;
  11807     RECOMP_REGS_LOCALS
  11808     RECOMP_ENTER(0x2E008930u);
  11809 
  11810 L_2E008930:
  11811     PUSH32(esp, ebp); /* 0x2E008930: push ebp */
  11812 L_2E008931:
  11813     ebp = esp; /* 0x2E008931: mov ebp, esp */
  11814 L_2E008933:
  11815     PUSH32(esp, esi); /* 0x2E008933: push esi */
  11816 L_2E008934:
  11817     esi = MEM32(ebp + 0x8); /* 0x2E008934: mov esi, dword ptr [ebp + 8] */
  11818 L_2E008937:
  11819     PUSH32(esp, edi); /* 0x2E008937: push edi */
  11820 L_2E008938:
  11821     edi = ecx; /* 0x2E008938: mov edi, ecx */
  11822 L_2E00893A:
  11823     eax = MEM32(esi + 0xC); /* 0x2E00893A: mov eax, dword ptr [esi + 0xc] */
  11824 L_2E00893D:
  11825     /* cmp eax, MEM32(edi + 0x4) */ /* 0x2E00893D: cmp eax, dword ptr [edi + 4] */
  11826     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11828     _flag_k = FK_CMP;
  11829 L_2E008940:
  11830     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2E008975; /* 0x2E008940: jne 0x2e008975 */
  11831 L_2E008942:
  11832     eax = MEM32(esi + 0x20); /* 0x2E008942: mov eax, dword ptr [esi + 0x20] */
  11833 L_2E008945:
  11834     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  11835     eax = eax - 1; /* 0x2E008945: dec eax */
  11836     _flag_k = FK_DEC;
  11837 L_2E008946:
  11838     /* cmp eax, 7 */ /* 0x2E008946: cmp eax, 7 */
  11839     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7);
  11840     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11841     _flag_k = FK_CMP;
  11842 L_2E008949:
  11843     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2E00898A; /* 0x2E008949: ja 0x2e00898a */
  11844 L_2E00894B:
  11845     { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2E008994)); goto _ljump; }
  11846 L_2E008952:
  11847     ecx = edi; /* 0x2E008952: mov ecx, edi */
  11848 L_2E008954:
  11849     RECOMP_ICALL(0x2E008AE0u); /* 0x2E008954: call 0x2e008ae0 */ /* not lifted */
  11850     RECOMP_FLAGS_IN();
  11851 L_2E008959:
  11852     MEM32(esi + 0x2C) = eax; /* 0x2E008959: mov dword ptr [esi + 0x2c], eax */
  11853 L_2E00895C:
  11854     goto L_2E008968; /* 0x2E00895C: jmp 0x2e008968 */
  11855 L_2E00895E:
  11856     ecx = edi; /* 0x2E00895E: mov ecx, edi */
  11857 L_2E008960:
  11858     RECOMP_ICALL(0x2E008AE0u); /* 0x2E008960: call 0x2e008ae0 */ /* not lifted */
  11859     RECOMP_FLAGS_IN();
  11860 L_2E008965:
  11861     MEM32(esi + 0x34) = eax; /* 0x2E008965: mov dword ptr [esi + 0x34], eax */
  11862 L_2E008968:
  11863     eax = MEM32(esi + 0x3C); /* 0x2E008968: mov eax, dword ptr [esi + 0x3c] */
  11864 L_2E00896B:
  11865     /* test eax, eax */ /* 0x2E00896B: test eax, eax */
  11866     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  11867     _cf = 0;
  11868     _flag_k = FK_TEST;
  11869 L_2E00896D:
  11870     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2E00897D; /* 0x2E00896D: jne 0x2e00897d */
  11871 L_2E00896F:
  11872     MEM32(edi) = 0; /* 0x2E00896F: mov dword ptr [edi], 0 */
  11873 L_2E008975:
  11874     edi = POP32_VAL(esp); /* 0x2E008975: pop edi */
  11875 L_2E008976:
  11876     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11877     eax = 0; /* 0x2E008976: xor eax, eax */
  11878     _cf = 0;
  11879     _flag_k = FK_TEST;
  11880 L_2E008978:
  11881     esi = POP32_VAL(esp); /* 0x2E008978: pop esi */
  11882 L_2E008979:
  11883     ebp = POP32_VAL(esp); /* 0x2E008979: pop ebp */
  11884 L_2E00897A:
  11885     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E00897A: ret 4 */
  11886 L_2E00897D:
  11887     eax = MEM32(edi); /* 0x2E00897D: mov eax, dword ptr [edi] */
  11888 L_2E00897F:
  11889     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  11890     eax = eax + 1; /* 0x2E00897F: inc eax */
  11891     _flag_k = FK_INC;
  11892 L_2E008980:
  11893     MEM32(edi) = eax; /* 0x2E008980: mov dword ptr [edi], eax */
  11894 L_2E008982:
  11895     edi = POP32_VAL(esp); /* 0x2E008982: pop edi */
  11896 L_2E008983:
  11897     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11898     eax = 0; /* 0x2E008983: xor eax, eax */
  11899     _cf = 0;
  11900     _flag_k = FK_TEST;
  11901 L_2E008985:
  11902     esi = POP32_VAL(esp); /* 0x2E008985: pop esi */
  11903 L_2E008986:
  11904     ebp = POP32_VAL(esp); /* 0x2E008986: pop ebp */
  11905 L_2E008987:
  11906     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008987: ret 4 */
  11907 L_2E00898A:
  11908     edi = POP32_VAL(esp); /* 0x2E00898A: pop edi */
  11909 L_2E00898B:
  11910     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
  11911     eax = eax | 0xFFFFFFFFu; /* 0x2E00898B: or eax, 0xffffffff */
  11912     _cf = 0;
  11913     _flag_k = FK_TEST;
  11914 L_2E00898E:
  11915     esi = POP32_VAL(esp); /* 0x2E00898E: pop esi */
  11916 L_2E00898F:
  11917     ebp = POP32_VAL(esp); /* 0x2E00898F: pop ebp */
  11918 L_2E008990:
  11919     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008990: ret 4 */
  11920   _ljump:
  11921     switch (_itail_tgt) {
  11922       case 0x2E008930u: goto L_2E008930;
  11923       case 0x2E008931u: goto L_2E008931;
  11924       case 0x2E008933u: goto L_2E008933;
  11925       case 0x2E008934u: goto L_2E008934;
  11926       case 0x2E008937u: goto L_2E008937;
  11927       case 0x2E008938u: goto L_2E008938;
  11928       case 0x2E00893Au: goto L_2E00893A;
  11929       case 0x2E00893Du: goto L_2E00893D;
  11930       case 0x2E008940u: goto L_2E008940;
  11931       case 0x2E008942u: goto L_2E008942;
  11932       case 0x2E008945u: goto L_2E008945;
  11933       case 0x2E008946u: goto L_2E008946;
  11934       case 0x2E008949u: goto L_2E008949;
  11935       case 0x2E00894Bu: goto L_2E00894B;
  11936       case 0x2E008952u: goto L_2E008952;
  11937       case 0x2E008954u: goto L_2E008954;
  11938       case 0x2E008959u: goto L_2E008959;
  11939       case 0x2E00895Cu: goto L_2E00895C;
  11940       case 0x2E00895Eu: goto L_2E00895E;
  11941       case 0x2E008960u: goto L_2E008960;
  11942       case 0x2E008965u: goto L_2E008965;
  11943       case 0x2E008968u: goto L_2E008968;
  11944       case 0x2E00896Bu: goto L_2E00896B;
  11945       case 0x2E00896Du: goto L_2E00896D;
  11946       case 0x2E00896Fu: goto L_2E00896F;
  11947       case 0x2E008975u: goto L_2E008975;
  11948       case 0x2E008976u: goto L_2E008976;
  11949       case 0x2E008978u: goto L_2E008978;
  11950       case 0x2E008979u: goto L_2E008979;
  11951       case 0x2E00897Au: goto L_2E00897A;
  11952       case 0x2E00897Du: goto L_2E00897D;
  11953       case 0x2E00897Fu: goto L_2E00897F;
  11954       case 0x2E008980u: goto L_2E008980;
  11955       case 0x2E008982u: goto L_2E008982;
  11956       case 0x2E008983u: goto L_2E008983;
  11957       case 0x2E008985u: goto L_2E008985;
  11958       case 0x2E008986u: goto L_2E008986;
  11959       case 0x2E008987u: goto L_2E008987;
  11960       case 0x2E00898Au: goto L_2E00898A;
  11961       case 0x2E00898Bu: goto L_2E00898B;
  11962       case 0x2E00898Eu: goto L_2E00898E;
  11963       case 0x2E00898Fu: goto L_2E00898F;
  11964       case 0x2E008990u: goto L_2E008990;
  11965       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  11966     }
  11967     RECOMP_REGS_OUT();
  11968 }
  11969 
  11970 void sub_2E0089C0(void) {
  11971     int _fpu_cmp = 0;
  11972     uint32_t _cf = 0;
  11973     int _df = 1;
  11974     uint32_t _flag_k = FK_NONE;
  11975     uint32_t _flag_a = 0, _flag_b = 0;
  11976     uint32_t _itail_tgt = 0;
  11977     RECOMP_REGS_LOCALS
  11978     RECOMP_ENTER(0x2E0089C0u);
  11979 
  11980 L_2E0089C0:
  11981     PUSH32(esp, ebp); /* 0x2E0089C0: push ebp */
  11982 L_2E0089C1:
  11983     ebp = esp; /* 0x2E0089C1: mov ebp, esp */
  11984 L_2E0089C3:
  11985     edx = MEM32(ecx + 0x4); /* 0x2E0089C3: mov edx, dword ptr [ecx + 4] */
  11986 L_2E0089C6:
  11987     PUSH32(esp, esi); /* 0x2E0089C6: push esi */
  11988 L_2E0089C7:
  11989     esi = MEM32(ebp + 0x8); /* 0x2E0089C7: mov esi, dword ptr [ebp + 8] */
  11990 L_2E0089CA:
  11991     eax = MEM32(esi + 0x10); /* 0x2E0089CA: mov eax, dword ptr [esi + 0x10] */
  11992 L_2E0089CD:
  11993     /* cmp eax, edx */ /* 0x2E0089CD: cmp eax, edx */
  11994     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  11995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11996     _flag_k = FK_CMP;
  11997 L_2E0089CF:
  11998     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2E0089ED; /* 0x2E0089CF: jne 0x2e0089ed */
  11999 L_2E0089D1:
  12000     eax = MEM32(esi + 0x20); /* 0x2E0089D1: mov eax, dword ptr [esi + 0x20] */
  12001 L_2E0089D4:
  12002     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  12003     eax = eax - 1; /* 0x2E0089D4: dec eax */
  12004     _flag_k = FK_DEC;
  12005 L_2E0089D5:
  12006     /* cmp eax, 7 */ /* 0x2E0089D5: cmp eax, 7 */
  12007     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7);
  12008     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12009     _flag_k = FK_CMP;
  12010 L_2E0089D8:
  12011     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2E008A8F; /* 0x2E0089D8: ja 0x2e008a8f */
  12012 L_2E0089DE:
  12013     { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2E008A98)); goto _ljump; }
  12014 L_2E0089E5:
  12015     RECOMP_ICALL(0x2E008AE0u); /* 0x2E0089E5: call 0x2e008ae0 */ /* not lifted */
  12016     RECOMP_FLAGS_IN();
  12017 L_2E0089EA:
  12018     MEM32(esi + 0x30) = eax; /* 0x2E0089EA: mov dword ptr [esi + 0x30], eax */
  12019 L_2E0089ED:
  12020     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12021     eax = 0; /* 0x2E0089ED: xor eax, eax */
  12022     _cf = 0;
  12023     _flag_k = FK_TEST;
  12024 L_2E0089EF:
  12025     esi = POP32_VAL(esp); /* 0x2E0089EF: pop esi */
  12026 L_2E0089F0:
  12027     ebp = POP32_VAL(esp); /* 0x2E0089F0: pop ebp */
  12028 L_2E0089F1:
  12029     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E0089F1: ret 8 */
  12030 L_2E0089F4:
  12031     PUSH32(esp, edi); /* 0x2E0089F4: push edi */
  12032 L_2E0089F5:
  12033     RECOMP_ICALL(0x2E008AE0u); /* 0x2E0089F5: call 0x2e008ae0 */ /* not lifted */
  12034     RECOMP_FLAGS_IN();
  12035 L_2E0089FA:
  12036     edx = MEM32(esi + 0x34); /* 0x2E0089FA: mov edx, dword ptr [esi + 0x34] */
  12037 L_2E0089FD:
  12038     ecx = MEM32(esi + 0x30); /* 0x2E0089FD: mov ecx, dword ptr [esi + 0x30] */
  12039 L_2E008A00:
  12040     edi = MEM32(esi + 0x2C); /* 0x2E008A00: mov edi, dword ptr [esi + 0x2c] */
  12041 L_2E008A03:
  12042     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  12043     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12044     edx = edx - ecx; /* 0x2E008A03: sub edx, ecx */
  12045     _flag_k = FK_CMP;
  12046 L_2E008A05:
  12047     ecx = eax; /* 0x2E008A05: mov ecx, eax */
  12048 L_2E008A07:
  12049     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  12050     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12051     ecx = ecx - edi; /* 0x2E008A07: sub ecx, edi */
  12052     _flag_k = FK_CMP;
  12053 L_2E008A09:
  12054     /* cmp eax, edi */ /* 0x2E008A09: cmp eax, edi */
  12055     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  12056     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12057     _flag_k = FK_CMP;
  12058 L_2E008A0B:
  12059     edi = POP32_VAL(esp); /* 0x2E008A0B: pop edi */
  12060 L_2E008A0C:
  12061     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_BE, _cf)) goto L_2E008A16; /* 0x2E008A0C: jbe 0x2e008a16 */
  12062 L_2E008A0E:
  12063     /* cmp ecx, edx */ /* 0x2E008A0E: cmp ecx, edx */
  12064     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  12065     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12066     _flag_k = FK_CMP;
  12067 L_2E008A10:
  12068     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_BE, _cf)) goto L_2E008A16; /* 0x2E008A10: jbe 0x2e008a16 */
  12069 L_2E008A12:
  12070     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  12071     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12072     ecx = ecx - edx; /* 0x2E008A12: sub ecx, edx */
  12073     _flag_k = FK_CMP;
  12074 L_2E008A14:
  12075     goto L_2E008A1B; /* 0x2E008A14: jmp 0x2e008a1b */
  12076 L_2E008A16:
  12077     ecx = 0x14u; /* 0x2E008A16: mov ecx, 0x14 */
  12078 L_2E008A1B:
  12079     edx = MEM32(ebp + 0xC); /* 0x2E008A1B: mov edx, dword ptr [ebp + 0xc] */
  12080 L_2E008A1E:
  12081     /* test edx, edx */ /* 0x2E008A1E: test edx, edx */
  12082     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
  12083     _cf = 0;
  12084     _flag_k = FK_TEST;
  12085 L_2E008A20:
  12086     RECOMP_BACKEDGE();
  12087     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2E0089ED; /* 0x2E008A20: je 0x2e0089ed */
  12088 L_2E008A22:
  12089     esi = MEM32(esi + 0x20); /* 0x2E008A22: mov esi, dword ptr [esi + 0x20] */
  12090 L_2E008A25:
  12091     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12092     eax = 0; /* 0x2E008A25: xor eax, eax */
  12093     _cf = 0;
  12094     _flag_k = FK_TEST;
  12095 L_2E008A27:
  12096     /* cmp esi, 5 */ /* 0x2E008A27: cmp esi, 5 */
  12097     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(5);
  12098     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12099     _flag_k = FK_CMP;
  12100 L_2E008A2A:
  12101     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2E008A41; /* 0x2E008A2A: jne 0x2e008a41 */
  12102 L_2E008A2C:
  12103     eax = 1; /* 0x2E008A2C: mov eax, 1 */
  12104 L_2E008A31:
  12105     PUSH32(esp, eax); /* 0x2E008A31: push eax */
  12106 L_2E008A32:
  12107     PUSH32(esp, ecx); /* 0x2E008A32: push ecx */
  12108 L_2E008A33:
  12109     ecx = edx; /* 0x2E008A33: mov ecx, edx */
  12110 L_2E008A35:
  12111     RECOMP_ICALL(0x2E0057F0u); /* 0x2E008A35: call 0x2e0057f0 */ /* not lifted */
  12112     RECOMP_FLAGS_IN();
  12113 L_2E008A3A:
  12114     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12115     eax = 0; /* 0x2E008A3A: xor eax, eax */
  12116     _cf = 0;
  12117     _flag_k = FK_TEST;
  12118 L_2E008A3C:
  12119     esi = POP32_VAL(esp); /* 0x2E008A3C: pop esi */
  12120 L_2E008A3D:
  12121     ebp = POP32_VAL(esp); /* 0x2E008A3D: pop ebp */
  12122 L_2E008A3E:
  12123     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E008A3E: ret 8 */
  12124 L_2E008A41:
  12125     /* cmp esi, 6 */ /* 0x2E008A41: cmp esi, 6 */
  12126     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(6);
  12127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12128     _flag_k = FK_CMP;
  12129 L_2E008A44:
  12130     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2E008A5B; /* 0x2E008A44: jne 0x2e008a5b */
  12131 L_2E008A46:
  12132     eax = 2; /* 0x2E008A46: mov eax, 2 */
  12133 L_2E008A4B:
  12134     PUSH32(esp, eax); /* 0x2E008A4B: push eax */
  12135 L_2E008A4C:
  12136     PUSH32(esp, ecx); /* 0x2E008A4C: push ecx */
  12137 L_2E008A4D:
  12138     ecx = edx; /* 0x2E008A4D: mov ecx, edx */
  12139 L_2E008A4F:
  12140     RECOMP_ICALL(0x2E0057F0u); /* 0x2E008A4F: call 0x2e0057f0 */ /* not lifted */
  12141     RECOMP_FLAGS_IN();
  12142 L_2E008A54:
  12143     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12144     eax = 0; /* 0x2E008A54: xor eax, eax */
  12145     _cf = 0;
  12146     _flag_k = FK_TEST;
  12147 L_2E008A56:
  12148     esi = POP32_VAL(esp); /* 0x2E008A56: pop esi */
  12149 L_2E008A57:
  12150     ebp = POP32_VAL(esp); /* 0x2E008A57: pop ebp */
  12151 L_2E008A58:
  12152     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E008A58: ret 8 */
  12153 L_2E008A5B:
  12154     /* cmp esi, 7 */ /* 0x2E008A5B: cmp esi, 7 */
  12155     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(7);
  12156     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12157     _flag_k = FK_CMP;
  12158 L_2E008A5E:
  12159     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2E008A75; /* 0x2E008A5E: jne 0x2e008a75 */
  12160 L_2E008A60:
  12161     eax = 3; /* 0x2E008A60: mov eax, 3 */
  12162 L_2E008A65:
  12163     PUSH32(esp, eax); /* 0x2E008A65: push eax */
  12164 L_2E008A66:
  12165     PUSH32(esp, ecx); /* 0x2E008A66: push ecx */
  12166 L_2E008A67:
  12167     ecx = edx; /* 0x2E008A67: mov ecx, edx */
  12168 L_2E008A69:
  12169     RECOMP_ICALL(0x2E0057F0u); /* 0x2E008A69: call 0x2e0057f0 */ /* not lifted */
  12170     RECOMP_FLAGS_IN();
  12171 L_2E008A6E:
  12172     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12173     eax = 0; /* 0x2E008A6E: xor eax, eax */
  12174     _cf = 0;
  12175     _flag_k = FK_TEST;
  12176 L_2E008A70:
  12177     esi = POP32_VAL(esp); /* 0x2E008A70: pop esi */
  12178 L_2E008A71:
  12179     ebp = POP32_VAL(esp); /* 0x2E008A71: pop ebp */
  12180 L_2E008A72:
  12181     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E008A72: ret 8 */
  12182 L_2E008A75:
  12183     /* cmp esi, 8 */ /* 0x2E008A75: cmp esi, 8 */
  12184     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(8);
  12185     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12186     _flag_k = FK_CMP;
  12187 L_2E008A78:
  12188     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2E008A7F; /* 0x2E008A78: jne 0x2e008a7f */
  12189 L_2E008A7A:
  12190     eax = 4; /* 0x2E008A7A: mov eax, 4 */
  12191 L_2E008A7F:
  12192     PUSH32(esp, eax); /* 0x2E008A7F: push eax */
  12193 L_2E008A80:
  12194     PUSH32(esp, ecx); /* 0x2E008A80: push ecx */
  12195 L_2E008A81:
  12196     ecx = edx; /* 0x2E008A81: mov ecx, edx */
  12197 L_2E008A83:
  12198     RECOMP_ICALL(0x2E0057F0u); /* 0x2E008A83: call 0x2e0057f0 */ /* not lifted */
  12199     RECOMP_FLAGS_IN();
  12200 L_2E008A88:
  12201     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12202     eax = 0; /* 0x2E008A88: xor eax, eax */
  12203     _cf = 0;
  12204     _flag_k = FK_TEST;
  12205 L_2E008A8A:
  12206     esi = POP32_VAL(esp); /* 0x2E008A8A: pop esi */
  12207 L_2E008A8B:
  12208     ebp = POP32_VAL(esp); /* 0x2E008A8B: pop ebp */
  12209 L_2E008A8C:
  12210     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E008A8C: ret 8 */
  12211 L_2E008A8F:
  12212     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
  12213     eax = eax | 0xFFFFFFFFu; /* 0x2E008A8F: or eax, 0xffffffff */
  12214     _cf = 0;
  12215     _flag_k = FK_TEST;
  12216 L_2E008A92:
  12217     esi = POP32_VAL(esp); /* 0x2E008A92: pop esi */
  12218 L_2E008A93:
  12219     ebp = POP32_VAL(esp); /* 0x2E008A93: pop ebp */
  12220 L_2E008A94:
  12221     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2E008A94: ret 8 */
  12222   _ljump:
  12223     switch (_itail_tgt) {
  12224       case 0x2E0089C0u: goto L_2E0089C0;
  12225       case 0x2E0089C1u: goto L_2E0089C1;
  12226       case 0x2E0089C3u: goto L_2E0089C3;
  12227       case 0x2E0089C6u: goto L_2E0089C6;
  12228       case 0x2E0089C7u: goto L_2E0089C7;
  12229       case 0x2E0089CAu: goto L_2E0089CA;
  12230       case 0x2E0089CDu: goto L_2E0089CD;
  12231       case 0x2E0089CFu: goto L_2E0089CF;
  12232       case 0x2E0089D1u: goto L_2E0089D1;
  12233       case 0x2E0089D4u: goto L_2E0089D4;
  12234       case 0x2E0089D5u: goto L_2E0089D5;
  12235       case 0x2E0089D8u: goto L_2E0089D8;
  12236       case 0x2E0089DEu: goto L_2E0089DE;
  12237       case 0x2E0089E5u: goto L_2E0089E5;
  12238       case 0x2E0089EAu: goto L_2E0089EA;
  12239       case 0x2E0089EDu: goto L_2E0089ED;
  12240       case 0x2E0089EFu: goto L_2E0089EF;
  12241       case 0x2E0089F0u: goto L_2E0089F0;
  12242       case 0x2E0089F1u: goto L_2E0089F1;
  12243       case 0x2E0089F4u: goto L_2E0089F4;
  12244       case 0x2E0089F5u: goto L_2E0089F5;
  12245       case 0x2E0089FAu: goto L_2E0089FA;
  12246       case 0x2E0089FDu: goto L_2E0089FD;
  12247       case 0x2E008A00u: goto L_2E008A00;
  12248       case 0x2E008A03u: goto L_2E008A03;
  12249       case 0x2E008A05u: goto L_2E008A05;
  12250       case 0x2E008A07u: goto L_2E008A07;
  12251       case 0x2E008A09u: goto L_2E008A09;
  12252       case 0x2E008A0Bu: goto L_2E008A0B;
  12253       case 0x2E008A0Cu: goto L_2E008A0C;
  12254       case 0x2E008A0Eu: goto L_2E008A0E;
  12255       case 0x2E008A10u: goto L_2E008A10;
  12256       case 0x2E008A12u: goto L_2E008A12;
  12257       case 0x2E008A14u: goto L_2E008A14;
  12258       case 0x2E008A16u: goto L_2E008A16;
  12259       case 0x2E008A1Bu: goto L_2E008A1B;
  12260       case 0x2E008A1Eu: goto L_2E008A1E;
  12261       case 0x2E008A20u: goto L_2E008A20;
  12262       case 0x2E008A22u: goto L_2E008A22;
  12263       case 0x2E008A25u: goto L_2E008A25;
  12264       case 0x2E008A27u: goto L_2E008A27;
  12265       case 0x2E008A2Au: goto L_2E008A2A;
  12266       case 0x2E008A2Cu: goto L_2E008A2C;
  12267       case 0x2E008A31u: goto L_2E008A31;
  12268       case 0x2E008A32u: goto L_2E008A32;
  12269       case 0x2E008A33u: goto L_2E008A33;
  12270       case 0x2E008A35u: goto L_2E008A35;
  12271       case 0x2E008A3Au: goto L_2E008A3A;
  12272       case 0x2E008A3Cu: goto L_2E008A3C;
  12273       case 0x2E008A3Du: goto L_2E008A3D;
  12274       case 0x2E008A3Eu: goto L_2E008A3E;
  12275       case 0x2E008A41u: goto L_2E008A41;
  12276       case 0x2E008A44u: goto L_2E008A44;
  12277       case 0x2E008A46u: goto L_2E008A46;
  12278       case 0x2E008A4Bu: goto L_2E008A4B;
  12279       case 0x2E008A4Cu: goto L_2E008A4C;
  12280       case 0x2E008A4Du: goto L_2E008A4D;
  12281       case 0x2E008A4Fu: goto L_2E008A4F;
  12282       case 0x2E008A54u: goto L_2E008A54;
  12283       case 0x2E008A56u: goto L_2E008A56;
  12284       case 0x2E008A57u: goto L_2E008A57;
  12285       case 0x2E008A58u: goto L_2E008A58;
  12286       case 0x2E008A5Bu: goto L_2E008A5B;
  12287       case 0x2E008A5Eu: goto L_2E008A5E;
  12288       case 0x2E008A60u: goto L_2E008A60;
  12289       case 0x2E008A65u: goto L_2E008A65;
  12290       case 0x2E008A66u: goto L_2E008A66;
  12291       case 0x2E008A67u: goto L_2E008A67;
  12292       case 0x2E008A69u: goto L_2E008A69;
  12293       case 0x2E008A6Eu: goto L_2E008A6E;
  12294       case 0x2E008A70u: goto L_2E008A70;
  12295       case 0x2E008A71u: goto L_2E008A71;
  12296       case 0x2E008A72u: goto L_2E008A72;
  12297       case 0x2E008A75u: goto L_2E008A75;
  12298       case 0x2E008A78u: goto L_2E008A78;
  12299       case 0x2E008A7Au: goto L_2E008A7A;
  12300       case 0x2E008A7Fu: goto L_2E008A7F;
  12301       case 0x2E008A80u: goto L_2E008A80;
  12302       case 0x2E008A81u: goto L_2E008A81;
  12303       case 0x2E008A83u: goto L_2E008A83;
  12304       case 0x2E008A88u: goto L_2E008A88;
  12305       case 0x2E008A8Au: goto L_2E008A8A;
  12306       case 0x2E008A8Bu: goto L_2E008A8B;
  12307       case 0x2E008A8Cu: goto L_2E008A8C;
  12308       case 0x2E008A8Fu: goto L_2E008A8F;
  12309       case 0x2E008A92u: goto L_2E008A92;
  12310       case 0x2E008A93u: goto L_2E008A93;
  12311       case 0x2E008A94u: goto L_2E008A94;
  12312       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  12313     }
  12314     RECOMP_REGS_OUT();
  12315 }
  12316 
  12317 void sub_2E008AC0(void) {
  12318     int _fpu_cmp = 0;
  12319     uint32_t _cf = 0;
  12320     int _df = 1;
  12321     uint32_t _flag_k = FK_NONE;
  12322     uint32_t _flag_a = 0, _flag_b = 0;
  12323     uint32_t _itail_tgt = 0;
  12324     RECOMP_REGS_LOCALS
  12325     RECOMP_ENTER(0x2E008AC0u);
  12326 
  12327 L_2E008AC0:
  12328     PUSH32(esp, ebp); /* 0x2E008AC0: push ebp */
  12329     ebp = esp; /* 0x2E008AC1: mov ebp, esp */
  12330     eax = ecx; /* 0x2E008AC3: mov eax, ecx */
  12331     ecx = MEM32(ebp + 0x8); /* 0x2E008AC5: mov ecx, dword ptr [ebp + 8] */
  12332     edx = MEM32(ecx); /* 0x2E008AC8: mov edx, dword ptr [ecx] */
  12333     MEM32(eax) = edx; /* 0x2E008ACA: mov dword ptr [eax], edx */
  12334     ecx = MEM32(ecx + 0x4); /* 0x2E008ACC: mov ecx, dword ptr [ecx + 4] */
  12335     MEM32(eax + 0x4) = ecx; /* 0x2E008ACF: mov dword ptr [eax + 4], ecx */
  12336     ebp = POP32_VAL(esp); /* 0x2E008AD2: pop ebp */
  12337     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008AD3: ret 4 */
  12338     RECOMP_REGS_OUT();
  12339 }
  12340 
  12341 void sub_2E008AE0(void) {
  12342     int _fpu_cmp = 0;
  12343     uint32_t _cf = 0;
  12344     int _df = 1;
  12345     uint32_t _flag_k = FK_NONE;
  12346     uint32_t _flag_a = 0, _flag_b = 0;
  12347     uint32_t _itail_tgt = 0;
  12348     RECOMP_REGS_LOCALS
  12349     RECOMP_ENTER(0x2E008AE0u);
  12350 
  12351 L_2E008AE0:
  12352     RECOMP_ICALL(MEM32(0x2E0120DC)); /* 0x2E008AE0: call dword ptr [0x2e0120dc] */
  12353     RECOMP_FLAGS_IN();
  12354     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12355     edx = 0; /* 0x2E008AE6: xor edx, edx */
  12356     _cf = 0;
  12357     _flag_k = FK_TEST;
  12358     ecx = 0x05265C00u; /* 0x2E008AE8: mov ecx, 0x5265c00 */
  12359     { uint64_t _dividend = ((uint64_t)edx << 32) | eax; uint32_t _dv = (uint32_t)ecx; /* 0x2E008AED: div ecx */
  12360       if (_dv) { eax = (uint32_t)(_dividend / _dv); edx = (uint32_t)(_dividend % _dv); }
  12361       else { eax = 0; edx = 0; } }
  12362     eax = edx; /* 0x2E008AEF: mov eax, edx */
  12363     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E008AF1: ret  */
  12364     RECOMP_REGS_OUT();
  12365 }
  12366 
  12367 void sub_2E008B00(void) {
  12368     int _fpu_cmp = 0;
  12369     uint32_t _cf = 0;
  12370     int _df = 1;
  12371     uint32_t _flag_k = FK_NONE;
  12372     uint32_t _flag_a = 0, _flag_b = 0;
  12373     uint32_t _itail_tgt = 0;
  12374     RECOMP_REGS_LOCALS
  12375     RECOMP_ENTER(0x2E008B00u);
  12376 
  12377 L_2E008B00:
  12378     PUSH32(esp, ebp); /* 0x2E008B00: push ebp */
  12379     ebp = esp; /* 0x2E008B01: mov ebp, esp */
  12380     eax = MEM32(ebp + 0x8); /* 0x2E008B03: mov eax, dword ptr [ebp + 8] */
  12381     MEM32(ecx + 0x4) = eax; /* 0x2E008B06: mov dword ptr [ecx + 4], eax */
  12382     ebp = POP32_VAL(esp); /* 0x2E008B09: pop ebp */
  12383     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2E008B0A: ret 4 */
  12384     RECOMP_REGS_OUT();
  12385 }
  12386 
  12387 void sub_2E008B10(void) {
  12388     int _fpu_cmp = 0;
  12389     uint32_t _cf = 0;
  12390     int _df = 1;
  12391     uint32_t _flag_k = FK_NONE;
  12392     uint32_t _flag_a = 0, _flag_b = 0;
  12393     uint32_t _itail_tgt = 0;
  12394     RECOMP_REGS_LOCALS
  12395     RECOMP_ENTER(0x2E008B10u);
  12396 
  12397 L_2E008B10:
  12398     RECOMP_ICALL(0x2E008B20u); /* 0x2E008B10: call 0x2e008b20 */ /* not lifted */
  12399     RECOMP_FLAGS_IN();
  12400     goto L_2E008B30; /* 0x2E008B15: jmp 0x2e008b30 */
  12401 L_2E008B30:
  12402     PUSH32(esp, 0x2E008B40u); /* 0x2E008B30: push 0x2e008b40 */
  12403     RECOMP_ICALL(0x2E010FDCu); /* 0x2E008B35: call 0x2e010fdc */ /* not lifted */
  12404     RECOMP_FLAGS_IN();
  12405     ecx = POP32_VAL(esp); /* 0x2E008B3A: pop ecx */
  12406     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E008B3B: ret  */
  12407     RECOMP_REGS_OUT();
  12408 }
  12409 
  12410 void sub_2E008B20(void) {
  12411     int _fpu_cmp = 0;
  12412     uint32_t _cf = 0;
  12413     int _df = 1;
  12414     uint32_t _flag_k = FK_NONE;
  12415     uint32_t _flag_a = 0, _flag_b = 0;
  12416     uint32_t _itail_tgt = 0;
  12417     RECOMP_REGS_LOCALS
  12418     RECOMP_ENTER(0x2E008B20u);
  12419 
  12420 L_2E008B20:
  12421     ecx = 0x2E01B31Du; /* 0x2E008B20: mov ecx, 0x2e01b31d */
  12422 L_2E008B25:
  12423     { _itail_tgt = (uint32_t)(MEM32(0x2E012074)); goto _ljump; }
  12424     { RECOMP_REGS_OUT(); return; } /* end of function */
  12425   _ljump:
  12426     switch (_itail_tgt) {
  12427       case 0x2E008B20u: goto L_2E008B20;
  12428       case 0x2E008B25u: goto L_2E008B25;
  12429       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  12430     }
  12431     RECOMP_REGS_OUT();
  12432 }
  12433 
  12434 void sub_2E008B30(void) {
  12435     int _fpu_cmp = 0;
  12436     uint32_t _cf = 0;
  12437     int _df = 1;
  12438     uint32_t _flag_k = FK_NONE;
  12439     uint32_t _flag_a = 0, _flag_b = 0;
  12440     uint32_t _itail_tgt = 0;
  12441     RECOMP_REGS_LOCALS
  12442     RECOMP_ENTER(0x2E008B30u);
  12443 
  12444 L_2E008B30:
  12445     PUSH32(esp, 0x2E008B40u); /* 0x2E008B30: push 0x2e008b40 */
  12446     RECOMP_ICALL(0x2E010FDCu); /* 0x2E008B35: call 0x2e010fdc */ /* not lifted */
  12447     RECOMP_FLAGS_IN();
  12448     ecx = POP32_VAL(esp); /* 0x2E008B3A: pop ecx */
  12449     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2E008B3B: ret  */
  12450     RECOMP_REGS_OUT();
  12451 }
  12452 
  12453 void sub_2E008B40(void) {
  12454     int _fpu_cmp = 0;
  12455     uint32_t _cf = 0;
  12456     int _df = 1;
  12457     uint32_t _flag_k = FK_NONE;
  12458     uint32_t _flag_a = 0, _flag_b = 0;
  12459     uint32_t _itail_tgt = 0;
  12460     RECOMP_REGS_LOCALS
  12461     RECOMP_ENTER(0x2E008B40u);
  12462 
  12463 L_2E008B40:
  12464     ecx = 0x2E01B31Du; /* 0x2E008B40: mov ecx, 0x2e01b31d */
  12465 L_2E008B45:
  12466     { _itail_tgt = (uint32_t)(MEM32(0x2E012070)); goto _ljump; }
  12467     { RECOMP_REGS_OUT(); return; } /* end of function */
  12468   _ljump:
  12469     switch (_itail_tgt) {
  12470       case 0x2E008B40u: goto L_2E008B40;
  12471       case 0x2E008B45u: goto L_2E008B45;
  12472       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  12473     }
  12474     RECOMP_REGS_OUT();
  12475 }